1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915419164191741918419194192041921419224192341924419254192641927419284192941930419314193241933419344193541936419374193841939419404194141942419434194441945419464194741948419494195041951419524195341954419554195641957419584195941960419614196241963419644196541966419674196841969419704197141972419734197441975419764197741978419794198041981419824198341984419854198641987419884198941990419914199241993419944199541996419974199841999420004200142002420034200442005420064200742008420094201042011420124201342014420154201642017420184201942020420214202242023420244202542026420274202842029420304203142032420334203442035420364203742038420394204042041420424204342044420454204642047420484204942050420514205242053420544205542056420574205842059420604206142062420634206442065420664206742068420694207042071420724207342074420754207642077420784207942080420814208242083420844208542086420874208842089420904209142092420934209442095420964209742098420994210042101421024210342104421054210642107421084210942110421114211242113421144211542116421174211842119421204212142122421234212442125421264212742128421294213042131421324213342134421354213642137421384213942140421414214242143421444214542146421474214842149421504215142152421534215442155421564215742158421594216042161421624216342164421654216642167421684216942170421714217242173421744217542176421774217842179421804218142182421834218442185421864218742188421894219042191421924219342194421954219642197421984219942200422014220242203422044220542206422074220842209422104221142212422134221442215422164221742218422194222042221422224222342224422254222642227422284222942230422314223242233422344223542236422374223842239422404224142242422434224442245422464224742248422494225042251422524225342254422554225642257422584225942260422614226242263422644226542266422674226842269422704227142272422734227442275422764227742278422794228042281422824228342284422854228642287422884228942290422914229242293422944229542296422974229842299423004230142302423034230442305423064230742308423094231042311423124231342314423154231642317423184231942320423214232242323423244232542326423274232842329423304233142332423334233442335423364233742338423394234042341423424234342344423454234642347423484234942350423514235242353423544235542356423574235842359423604236142362423634236442365423664236742368423694237042371423724237342374423754237642377423784237942380423814238242383423844238542386423874238842389423904239142392423934239442395423964239742398423994240042401424024240342404424054240642407424084240942410424114241242413424144241542416424174241842419424204242142422424234242442425424264242742428424294243042431424324243342434424354243642437424384243942440424414244242443424444244542446424474244842449424504245142452424534245442455424564245742458424594246042461424624246342464424654246642467424684246942470424714247242473424744247542476424774247842479424804248142482424834248442485424864248742488424894249042491424924249342494424954249642497424984249942500425014250242503425044250542506425074250842509425104251142512425134251442515425164251742518425194252042521425224252342524425254252642527425284252942530425314253242533425344253542536425374253842539425404254142542425434254442545425464254742548425494255042551425524255342554425554255642557425584255942560425614256242563425644256542566425674256842569425704257142572425734257442575425764257742578425794258042581425824258342584425854258642587425884258942590425914259242593425944259542596425974259842599426004260142602426034260442605426064260742608426094261042611426124261342614426154261642617426184261942620426214262242623426244262542626426274262842629426304263142632426334263442635426364263742638426394264042641426424264342644426454264642647426484264942650426514265242653426544265542656426574265842659426604266142662426634266442665426664266742668426694267042671426724267342674426754267642677426784267942680426814268242683426844268542686426874268842689426904269142692426934269442695426964269742698426994270042701427024270342704427054270642707427084270942710427114271242713427144271542716427174271842719427204272142722427234272442725427264272742728427294273042731427324273342734427354273642737427384273942740427414274242743427444274542746427474274842749427504275142752427534275442755427564275742758427594276042761427624276342764427654276642767427684276942770427714277242773427744277542776427774277842779427804278142782427834278442785427864278742788427894279042791427924279342794427954279642797427984279942800428014280242803428044280542806428074280842809428104281142812428134281442815428164281742818428194282042821428224282342824428254282642827428284282942830428314283242833428344283542836428374283842839428404284142842428434284442845428464284742848428494285042851428524285342854428554285642857428584285942860428614286242863428644286542866428674286842869428704287142872428734287442875428764287742878428794288042881428824288342884428854288642887428884288942890428914289242893428944289542896428974289842899429004290142902429034290442905429064290742908429094291042911429124291342914429154291642917429184291942920429214292242923429244292542926429274292842929429304293142932429334293442935429364293742938429394294042941429424294342944429454294642947429484294942950429514295242953429544295542956429574295842959429604296142962429634296442965429664296742968429694297042971429724297342974429754297642977429784297942980429814298242983429844298542986429874298842989429904299142992429934299442995429964299742998429994300043001430024300343004430054300643007430084300943010430114301243013430144301543016430174301843019430204302143022430234302443025430264302743028430294303043031430324303343034430354303643037430384303943040430414304243043430444304543046430474304843049430504305143052430534305443055430564305743058430594306043061430624306343064430654306643067430684306943070430714307243073430744307543076430774307843079430804308143082430834308443085430864308743088430894309043091430924309343094430954309643097430984309943100431014310243103431044310543106431074310843109431104311143112431134311443115431164311743118431194312043121431224312343124431254312643127431284312943130431314313243133431344313543136431374313843139431404314143142431434314443145431464314743148431494315043151431524315343154431554315643157431584315943160431614316243163431644316543166431674316843169431704317143172431734317443175431764317743178431794318043181431824318343184431854318643187431884318943190431914319243193431944319543196431974319843199432004320143202432034320443205432064320743208432094321043211432124321343214432154321643217432184321943220432214322243223432244322543226432274322843229432304323143232432334323443235432364323743238432394324043241432424324343244432454324643247432484324943250432514325243253432544325543256432574325843259432604326143262432634326443265432664326743268432694327043271432724327343274432754327643277432784327943280432814328243283432844328543286432874328843289432904329143292432934329443295432964329743298432994330043301433024330343304433054330643307433084330943310433114331243313433144331543316433174331843319433204332143322433234332443325433264332743328433294333043331433324333343334433354333643337433384333943340433414334243343433444334543346433474334843349433504335143352433534335443355433564335743358433594336043361433624336343364433654336643367433684336943370433714337243373433744337543376433774337843379433804338143382433834338443385433864338743388433894339043391433924339343394433954339643397433984339943400434014340243403434044340543406434074340843409434104341143412434134341443415434164341743418434194342043421434224342343424434254342643427434284342943430434314343243433434344343543436434374343843439434404344143442434434344443445434464344743448434494345043451434524345343454434554345643457434584345943460434614346243463434644346543466434674346843469434704347143472434734347443475434764347743478434794348043481434824348343484434854348643487434884348943490434914349243493434944349543496434974349843499435004350143502435034350443505435064350743508435094351043511435124351343514435154351643517435184351943520435214352243523435244352543526435274352843529435304353143532435334353443535435364353743538435394354043541435424354343544435454354643547435484354943550435514355243553435544355543556435574355843559435604356143562435634356443565435664356743568435694357043571435724357343574435754357643577435784357943580435814358243583435844358543586435874358843589435904359143592435934359443595435964359743598435994360043601436024360343604436054360643607436084360943610436114361243613436144361543616436174361843619436204362143622436234362443625436264362743628436294363043631436324363343634436354363643637436384363943640436414364243643436444364543646436474364843649436504365143652436534365443655436564365743658436594366043661436624366343664436654366643667436684366943670436714367243673436744367543676436774367843679436804368143682436834368443685436864368743688436894369043691436924369343694436954369643697436984369943700437014370243703437044370543706437074370843709437104371143712437134371443715437164371743718437194372043721437224372343724437254372643727437284372943730437314373243733437344373543736437374373843739437404374143742437434374443745437464374743748437494375043751437524375343754437554375643757437584375943760437614376243763437644376543766437674376843769437704377143772437734377443775437764377743778437794378043781437824378343784437854378643787437884378943790437914379243793437944379543796437974379843799438004380143802438034380443805438064380743808438094381043811438124381343814438154381643817438184381943820438214382243823438244382543826438274382843829438304383143832438334383443835438364383743838438394384043841438424384343844438454384643847438484384943850438514385243853438544385543856438574385843859438604386143862438634386443865438664386743868438694387043871438724387343874438754387643877438784387943880438814388243883438844388543886438874388843889438904389143892438934389443895438964389743898438994390043901439024390343904439054390643907439084390943910439114391243913439144391543916439174391843919439204392143922439234392443925439264392743928439294393043931439324393343934439354393643937439384393943940439414394243943439444394543946439474394843949439504395143952439534395443955439564395743958439594396043961439624396343964439654396643967439684396943970439714397243973439744397543976439774397843979439804398143982439834398443985439864398743988439894399043991439924399343994439954399643997439984399944000440014400244003440044400544006440074400844009440104401144012440134401444015440164401744018440194402044021440224402344024440254402644027440284402944030440314403244033440344403544036440374403844039440404404144042440434404444045440464404744048440494405044051440524405344054440554405644057440584405944060440614406244063440644406544066440674406844069440704407144072440734407444075440764407744078440794408044081440824408344084440854408644087440884408944090440914409244093440944409544096440974409844099441004410144102441034410444105441064410744108441094411044111441124411344114441154411644117441184411944120441214412244123441244412544126441274412844129441304413144132441334413444135441364413744138441394414044141441424414344144441454414644147441484414944150441514415244153441544415544156441574415844159441604416144162441634416444165441664416744168441694417044171441724417344174441754417644177441784417944180441814418244183441844418544186441874418844189441904419144192441934419444195441964419744198441994420044201442024420344204442054420644207442084420944210442114421244213442144421544216442174421844219442204422144222442234422444225442264422744228442294423044231442324423344234442354423644237442384423944240442414424244243442444424544246442474424844249442504425144252442534425444255442564425744258442594426044261442624426344264442654426644267442684426944270442714427244273442744427544276442774427844279442804428144282442834428444285442864428744288442894429044291442924429344294442954429644297442984429944300443014430244303443044430544306443074430844309443104431144312443134431444315443164431744318443194432044321443224432344324443254432644327443284432944330443314433244333443344433544336443374433844339443404434144342443434434444345443464434744348443494435044351443524435344354443554435644357443584435944360443614436244363443644436544366443674436844369443704437144372443734437444375443764437744378443794438044381443824438344384443854438644387443884438944390443914439244393443944439544396443974439844399444004440144402444034440444405444064440744408444094441044411444124441344414444154441644417444184441944420444214442244423444244442544426444274442844429444304443144432444334443444435444364443744438444394444044441444424444344444444454444644447444484444944450444514445244453444544445544456444574445844459444604446144462444634446444465444664446744468444694447044471444724447344474444754447644477444784447944480444814448244483444844448544486444874448844489444904449144492444934449444495444964449744498444994450044501445024450344504445054450644507445084450944510445114451244513445144451544516445174451844519445204452144522445234452444525445264452744528445294453044531445324453344534445354453644537445384453944540445414454244543445444454544546445474454844549445504455144552445534455444555445564455744558445594456044561445624456344564445654456644567445684456944570445714457244573445744457544576445774457844579445804458144582445834458444585445864458744588445894459044591445924459344594445954459644597445984459944600446014460244603446044460544606446074460844609446104461144612446134461444615446164461744618446194462044621446224462344624446254462644627446284462944630446314463244633446344463544636446374463844639446404464144642446434464444645446464464744648446494465044651446524465344654446554465644657446584465944660446614466244663446644466544666446674466844669446704467144672446734467444675446764467744678446794468044681446824468344684446854468644687446884468944690446914469244693446944469544696446974469844699447004470144702447034470444705447064470744708447094471044711447124471344714447154471644717447184471944720447214472244723447244472544726447274472844729447304473144732447334473444735447364473744738447394474044741447424474344744447454474644747447484474944750447514475244753447544475544756447574475844759447604476144762447634476444765447664476744768447694477044771447724477344774447754477644777447784477944780447814478244783447844478544786447874478844789447904479144792447934479444795447964479744798447994480044801448024480344804448054480644807448084480944810448114481244813448144481544816448174481844819448204482144822448234482444825448264482744828448294483044831448324483344834448354483644837448384483944840448414484244843448444484544846448474484844849448504485144852448534485444855448564485744858448594486044861448624486344864448654486644867448684486944870448714487244873448744487544876448774487844879448804488144882448834488444885448864488744888448894489044891448924489344894448954489644897448984489944900449014490244903449044490544906449074490844909449104491144912449134491444915449164491744918449194492044921449224492344924449254492644927449284492944930449314493244933449344493544936449374493844939449404494144942449434494444945449464494744948449494495044951449524495344954449554495644957449584495944960449614496244963449644496544966449674496844969449704497144972449734497444975449764497744978449794498044981449824498344984449854498644987449884498944990449914499244993449944499544996449974499844999450004500145002450034500445005450064500745008450094501045011450124501345014450154501645017450184501945020450214502245023450244502545026450274502845029450304503145032450334503445035450364503745038450394504045041450424504345044450454504645047450484504945050450514505245053450544505545056450574505845059450604506145062450634506445065450664506745068450694507045071450724507345074450754507645077450784507945080450814508245083450844508545086450874508845089450904509145092450934509445095450964509745098450994510045101451024510345104451054510645107451084510945110451114511245113451144511545116451174511845119451204512145122451234512445125451264512745128451294513045131451324513345134451354513645137451384513945140451414514245143451444514545146451474514845149451504515145152451534515445155451564515745158451594516045161451624516345164451654516645167451684516945170451714517245173451744517545176451774517845179451804518145182451834518445185451864518745188451894519045191451924519345194451954519645197451984519945200452014520245203452044520545206452074520845209452104521145212452134521445215452164521745218452194522045221452224522345224452254522645227452284522945230452314523245233452344523545236452374523845239452404524145242452434524445245452464524745248452494525045251452524525345254452554525645257452584525945260452614526245263452644526545266452674526845269452704527145272452734527445275452764527745278452794528045281452824528345284452854528645287452884528945290452914529245293452944529545296452974529845299453004530145302453034530445305453064530745308453094531045311453124531345314453154531645317453184531945320453214532245323453244532545326453274532845329453304533145332453334533445335453364533745338453394534045341453424534345344453454534645347453484534945350453514535245353453544535545356453574535845359453604536145362453634536445365453664536745368453694537045371453724537345374453754537645377453784537945380453814538245383453844538545386453874538845389453904539145392453934539445395453964539745398453994540045401454024540345404454054540645407454084540945410454114541245413454144541545416454174541845419454204542145422454234542445425454264542745428454294543045431454324543345434454354543645437454384543945440454414544245443454444544545446454474544845449454504545145452454534545445455454564545745458454594546045461454624546345464454654546645467454684546945470454714547245473454744547545476454774547845479454804548145482454834548445485454864548745488454894549045491454924549345494454954549645497454984549945500455014550245503455044550545506455074550845509455104551145512455134551445515455164551745518455194552045521455224552345524455254552645527455284552945530455314553245533455344553545536455374553845539455404554145542455434554445545455464554745548455494555045551455524555345554455554555645557455584555945560455614556245563455644556545566455674556845569455704557145572455734557445575455764557745578455794558045581455824558345584455854558645587455884558945590455914559245593455944559545596455974559845599456004560145602456034560445605456064560745608456094561045611456124561345614456154561645617456184561945620456214562245623456244562545626456274562845629456304563145632456334563445635456364563745638456394564045641456424564345644456454564645647456484564945650456514565245653456544565545656456574565845659456604566145662456634566445665456664566745668456694567045671456724567345674456754567645677456784567945680456814568245683456844568545686456874568845689456904569145692456934569445695456964569745698456994570045701457024570345704457054570645707457084570945710457114571245713457144571545716457174571845719457204572145722457234572445725457264572745728457294573045731457324573345734457354573645737457384573945740457414574245743457444574545746457474574845749457504575145752457534575445755457564575745758457594576045761457624576345764457654576645767457684576945770457714577245773457744577545776457774577845779457804578145782457834578445785457864578745788457894579045791457924579345794457954579645797457984579945800458014580245803458044580545806458074580845809458104581145812458134581445815458164581745818458194582045821458224582345824458254582645827458284582945830458314583245833458344583545836458374583845839458404584145842458434584445845458464584745848458494585045851458524585345854458554585645857458584585945860458614586245863458644586545866458674586845869458704587145872458734587445875458764587745878458794588045881458824588345884458854588645887458884588945890458914589245893458944589545896458974589845899459004590145902459034590445905459064590745908459094591045911459124591345914459154591645917459184591945920459214592245923459244592545926459274592845929459304593145932459334593445935459364593745938459394594045941459424594345944459454594645947459484594945950459514595245953459544595545956459574595845959459604596145962459634596445965459664596745968459694597045971459724597345974459754597645977459784597945980459814598245983459844598545986459874598845989459904599145992459934599445995459964599745998459994600046001460024600346004460054600646007460084600946010460114601246013460144601546016460174601846019460204602146022460234602446025460264602746028460294603046031460324603346034460354603646037460384603946040460414604246043460444604546046460474604846049460504605146052460534605446055460564605746058460594606046061460624606346064460654606646067460684606946070460714607246073460744607546076460774607846079460804608146082460834608446085460864608746088460894609046091460924609346094460954609646097460984609946100461014610246103461044610546106461074610846109461104611146112461134611446115461164611746118461194612046121461224612346124461254612646127461284612946130461314613246133461344613546136461374613846139461404614146142461434614446145461464614746148461494615046151461524615346154461554615646157461584615946160461614616246163461644616546166461674616846169461704617146172461734617446175461764617746178461794618046181461824618346184461854618646187461884618946190461914619246193461944619546196461974619846199462004620146202462034620446205462064620746208462094621046211462124621346214462154621646217462184621946220462214622246223462244622546226462274622846229462304623146232462334623446235462364623746238462394624046241462424624346244462454624646247462484624946250462514625246253462544625546256462574625846259462604626146262462634626446265462664626746268462694627046271462724627346274462754627646277462784627946280462814628246283462844628546286462874628846289462904629146292462934629446295462964629746298462994630046301463024630346304463054630646307463084630946310463114631246313463144631546316463174631846319463204632146322463234632446325463264632746328463294633046331463324633346334463354633646337463384633946340463414634246343463444634546346463474634846349463504635146352463534635446355463564635746358463594636046361463624636346364463654636646367463684636946370463714637246373463744637546376463774637846379463804638146382463834638446385463864638746388463894639046391463924639346394463954639646397463984639946400464014640246403464044640546406464074640846409464104641146412464134641446415464164641746418464194642046421464224642346424464254642646427464284642946430464314643246433464344643546436464374643846439464404644146442464434644446445464464644746448464494645046451464524645346454464554645646457464584645946460464614646246463464644646546466464674646846469464704647146472464734647446475464764647746478464794648046481464824648346484464854648646487464884648946490464914649246493464944649546496464974649846499465004650146502465034650446505465064650746508465094651046511465124651346514465154651646517465184651946520465214652246523465244652546526465274652846529465304653146532465334653446535465364653746538465394654046541465424654346544465454654646547465484654946550465514655246553465544655546556465574655846559465604656146562465634656446565465664656746568465694657046571465724657346574465754657646577465784657946580465814658246583465844658546586465874658846589465904659146592465934659446595465964659746598465994660046601466024660346604466054660646607466084660946610466114661246613466144661546616466174661846619466204662146622466234662446625466264662746628466294663046631466324663346634466354663646637466384663946640466414664246643466444664546646466474664846649466504665146652466534665446655466564665746658466594666046661466624666346664466654666646667466684666946670466714667246673466744667546676466774667846679466804668146682466834668446685466864668746688466894669046691466924669346694466954669646697466984669946700467014670246703467044670546706467074670846709467104671146712467134671446715467164671746718467194672046721467224672346724467254672646727467284672946730467314673246733467344673546736467374673846739467404674146742467434674446745467464674746748467494675046751467524675346754467554675646757467584675946760467614676246763467644676546766467674676846769467704677146772467734677446775467764677746778467794678046781467824678346784467854678646787467884678946790467914679246793467944679546796467974679846799468004680146802468034680446805468064680746808468094681046811468124681346814468154681646817468184681946820468214682246823468244682546826468274682846829468304683146832468334683446835468364683746838468394684046841468424684346844468454684646847468484684946850468514685246853468544685546856468574685846859468604686146862468634686446865468664686746868468694687046871468724687346874468754687646877468784687946880468814688246883468844688546886468874688846889468904689146892468934689446895468964689746898468994690046901469024690346904469054690646907469084690946910469114691246913469144691546916469174691846919469204692146922469234692446925469264692746928469294693046931469324693346934469354693646937469384693946940469414694246943469444694546946469474694846949469504695146952469534695446955469564695746958469594696046961469624696346964469654696646967469684696946970469714697246973469744697546976469774697846979469804698146982469834698446985469864698746988469894699046991469924699346994469954699646997469984699947000470014700247003470044700547006470074700847009470104701147012470134701447015470164701747018470194702047021470224702347024470254702647027470284702947030470314703247033470344703547036470374703847039470404704147042470434704447045470464704747048470494705047051470524705347054470554705647057470584705947060470614706247063470644706547066470674706847069470704707147072470734707447075470764707747078470794708047081470824708347084470854708647087470884708947090470914709247093470944709547096470974709847099471004710147102471034710447105471064710747108471094711047111471124711347114471154711647117471184711947120471214712247123471244712547126471274712847129471304713147132471334713447135471364713747138471394714047141471424714347144471454714647147471484714947150471514715247153471544715547156471574715847159471604716147162471634716447165471664716747168471694717047171471724717347174471754717647177471784717947180471814718247183471844718547186471874718847189471904719147192471934719447195471964719747198471994720047201472024720347204472054720647207472084720947210472114721247213472144721547216472174721847219472204722147222472234722447225472264722747228472294723047231472324723347234472354723647237472384723947240472414724247243472444724547246472474724847249472504725147252472534725447255472564725747258472594726047261472624726347264472654726647267472684726947270472714727247273472744727547276472774727847279472804728147282472834728447285472864728747288472894729047291472924729347294472954729647297472984729947300473014730247303473044730547306473074730847309473104731147312473134731447315473164731747318473194732047321473224732347324473254732647327473284732947330473314733247333473344733547336473374733847339473404734147342473434734447345473464734747348473494735047351473524735347354473554735647357473584735947360473614736247363473644736547366473674736847369473704737147372473734737447375473764737747378473794738047381473824738347384473854738647387473884738947390473914739247393473944739547396473974739847399474004740147402474034740447405474064740747408474094741047411474124741347414474154741647417474184741947420474214742247423474244742547426474274742847429474304743147432474334743447435474364743747438474394744047441474424744347444474454744647447474484744947450474514745247453474544745547456474574745847459474604746147462474634746447465474664746747468474694747047471474724747347474474754747647477474784747947480474814748247483474844748547486474874748847489474904749147492474934749447495474964749747498474994750047501475024750347504475054750647507475084750947510475114751247513475144751547516475174751847519475204752147522475234752447525475264752747528475294753047531475324753347534475354753647537475384753947540475414754247543475444754547546475474754847549475504755147552475534755447555475564755747558475594756047561475624756347564475654756647567475684756947570475714757247573475744757547576475774757847579475804758147582475834758447585475864758747588475894759047591475924759347594475954759647597475984759947600476014760247603476044760547606476074760847609476104761147612476134761447615476164761747618476194762047621476224762347624476254762647627476284762947630476314763247633476344763547636476374763847639476404764147642476434764447645476464764747648476494765047651476524765347654476554765647657476584765947660476614766247663476644766547666476674766847669476704767147672476734767447675476764767747678476794768047681476824768347684476854768647687476884768947690476914769247693476944769547696476974769847699477004770147702477034770447705477064770747708477094771047711477124771347714477154771647717477184771947720477214772247723477244772547726477274772847729477304773147732477334773447735477364773747738477394774047741477424774347744477454774647747477484774947750477514775247753477544775547756477574775847759477604776147762477634776447765477664776747768477694777047771477724777347774477754777647777477784777947780477814778247783477844778547786477874778847789477904779147792477934779447795477964779747798477994780047801478024780347804478054780647807478084780947810478114781247813478144781547816478174781847819478204782147822478234782447825478264782747828478294783047831478324783347834478354783647837478384783947840478414784247843478444784547846478474784847849478504785147852478534785447855478564785747858478594786047861478624786347864478654786647867478684786947870478714787247873478744787547876478774787847879478804788147882478834788447885478864788747888478894789047891478924789347894478954789647897478984789947900479014790247903479044790547906479074790847909479104791147912479134791447915479164791747918479194792047921479224792347924479254792647927479284792947930479314793247933479344793547936479374793847939479404794147942479434794447945479464794747948479494795047951479524795347954479554795647957479584795947960479614796247963479644796547966479674796847969479704797147972479734797447975479764797747978479794798047981479824798347984479854798647987479884798947990479914799247993479944799547996479974799847999480004800148002480034800448005480064800748008480094801048011480124801348014480154801648017480184801948020480214802248023480244802548026480274802848029480304803148032480334803448035480364803748038480394804048041480424804348044480454804648047480484804948050480514805248053480544805548056480574805848059480604806148062480634806448065480664806748068480694807048071480724807348074480754807648077480784807948080480814808248083480844808548086480874808848089480904809148092480934809448095480964809748098480994810048101481024810348104481054810648107481084810948110481114811248113481144811548116481174811848119481204812148122481234812448125481264812748128481294813048131481324813348134481354813648137481384813948140481414814248143481444814548146481474814848149481504815148152481534815448155481564815748158481594816048161481624816348164481654816648167481684816948170481714817248173481744817548176481774817848179481804818148182481834818448185481864818748188481894819048191481924819348194481954819648197481984819948200482014820248203482044820548206482074820848209482104821148212482134821448215482164821748218482194822048221482224822348224482254822648227482284822948230482314823248233482344823548236482374823848239482404824148242482434824448245482464824748248482494825048251482524825348254482554825648257482584825948260482614826248263482644826548266482674826848269482704827148272482734827448275482764827748278482794828048281482824828348284482854828648287482884828948290482914829248293482944829548296482974829848299483004830148302483034830448305483064830748308483094831048311483124831348314483154831648317483184831948320483214832248323483244832548326483274832848329483304833148332483334833448335483364833748338483394834048341483424834348344483454834648347483484834948350483514835248353483544835548356483574835848359483604836148362483634836448365483664836748368483694837048371483724837348374483754837648377483784837948380483814838248383483844838548386483874838848389483904839148392483934839448395483964839748398483994840048401484024840348404484054840648407484084840948410484114841248413484144841548416484174841848419484204842148422484234842448425484264842748428484294843048431484324843348434484354843648437484384843948440484414844248443484444844548446484474844848449484504845148452484534845448455484564845748458484594846048461484624846348464484654846648467484684846948470484714847248473484744847548476484774847848479484804848148482484834848448485484864848748488484894849048491484924849348494484954849648497484984849948500485014850248503485044850548506485074850848509485104851148512485134851448515485164851748518485194852048521485224852348524485254852648527485284852948530485314853248533485344853548536485374853848539485404854148542485434854448545485464854748548485494855048551485524855348554485554855648557485584855948560485614856248563485644856548566485674856848569485704857148572485734857448575485764857748578485794858048581485824858348584485854858648587485884858948590485914859248593485944859548596485974859848599486004860148602486034860448605486064860748608486094861048611486124861348614486154861648617486184861948620486214862248623486244862548626486274862848629486304863148632486334863448635486364863748638486394864048641486424864348644486454864648647486484864948650486514865248653486544865548656486574865848659486604866148662486634866448665486664866748668486694867048671486724867348674486754867648677486784867948680486814868248683486844868548686486874868848689486904869148692486934869448695486964869748698486994870048701487024870348704487054870648707487084870948710487114871248713487144871548716487174871848719487204872148722487234872448725487264872748728487294873048731487324873348734487354873648737487384873948740487414874248743487444874548746487474874848749487504875148752487534875448755487564875748758487594876048761487624876348764487654876648767487684876948770487714877248773487744877548776487774877848779487804878148782487834878448785487864878748788487894879048791487924879348794487954879648797487984879948800488014880248803488044880548806488074880848809488104881148812488134881448815488164881748818488194882048821488224882348824488254882648827488284882948830488314883248833488344883548836488374883848839488404884148842488434884448845488464884748848488494885048851488524885348854488554885648857488584885948860488614886248863488644886548866488674886848869488704887148872488734887448875488764887748878488794888048881488824888348884488854888648887488884888948890488914889248893488944889548896488974889848899489004890148902489034890448905489064890748908489094891048911489124891348914489154891648917489184891948920489214892248923489244892548926489274892848929489304893148932489334893448935489364893748938489394894048941489424894348944489454894648947489484894948950489514895248953489544895548956489574895848959489604896148962489634896448965489664896748968489694897048971489724897348974489754897648977489784897948980489814898248983489844898548986489874898848989489904899148992489934899448995489964899748998489994900049001490024900349004490054900649007490084900949010490114901249013490144901549016490174901849019490204902149022490234902449025490264902749028490294903049031490324903349034490354903649037490384903949040490414904249043490444904549046490474904849049490504905149052490534905449055490564905749058490594906049061490624906349064490654906649067490684906949070490714907249073490744907549076490774907849079490804908149082490834908449085490864908749088490894909049091490924909349094490954909649097490984909949100491014910249103491044910549106491074910849109491104911149112491134911449115491164911749118491194912049121491224912349124491254912649127491284912949130491314913249133491344913549136491374913849139491404914149142491434914449145491464914749148491494915049151491524915349154491554915649157491584915949160491614916249163491644916549166491674916849169491704917149172491734917449175491764917749178491794918049181491824918349184491854918649187491884918949190491914919249193491944919549196491974919849199492004920149202492034920449205492064920749208492094921049211492124921349214492154921649217492184921949220492214922249223492244922549226492274922849229492304923149232492334923449235492364923749238492394924049241492424924349244492454924649247492484924949250492514925249253492544925549256492574925849259492604926149262492634926449265492664926749268492694927049271492724927349274492754927649277492784927949280492814928249283492844928549286492874928849289492904929149292492934929449295492964929749298492994930049301493024930349304493054930649307493084930949310493114931249313493144931549316493174931849319493204932149322493234932449325493264932749328493294933049331493324933349334493354933649337493384933949340493414934249343493444934549346493474934849349493504935149352493534935449355493564935749358493594936049361493624936349364493654936649367493684936949370493714937249373493744937549376493774937849379493804938149382493834938449385493864938749388493894939049391493924939349394493954939649397493984939949400494014940249403494044940549406494074940849409494104941149412494134941449415494164941749418494194942049421494224942349424494254942649427494284942949430494314943249433494344943549436494374943849439494404944149442494434944449445494464944749448494494945049451494524945349454494554945649457494584945949460494614946249463494644946549466494674946849469494704947149472494734947449475494764947749478494794948049481494824948349484494854948649487494884948949490494914949249493494944949549496494974949849499495004950149502495034950449505495064950749508495094951049511495124951349514495154951649517495184951949520495214952249523495244952549526495274952849529495304953149532495334953449535495364953749538495394954049541495424954349544495454954649547495484954949550495514955249553495544955549556495574955849559495604956149562495634956449565495664956749568495694957049571495724957349574495754957649577495784957949580495814958249583495844958549586495874958849589495904959149592495934959449595495964959749598495994960049601496024960349604496054960649607496084960949610496114961249613496144961549616496174961849619496204962149622496234962449625496264962749628496294963049631496324963349634496354963649637496384963949640496414964249643496444964549646496474964849649496504965149652496534965449655496564965749658496594966049661496624966349664496654966649667496684966949670496714967249673496744967549676496774967849679496804968149682496834968449685496864968749688496894969049691496924969349694496954969649697496984969949700497014970249703497044970549706497074970849709497104971149712497134971449715497164971749718497194972049721497224972349724497254972649727497284972949730497314973249733497344973549736497374973849739497404974149742497434974449745497464974749748497494975049751497524975349754497554975649757497584975949760497614976249763497644976549766497674976849769497704977149772497734977449775497764977749778497794978049781497824978349784497854978649787497884978949790497914979249793497944979549796497974979849799498004980149802498034980449805498064980749808498094981049811498124981349814498154981649817498184981949820498214982249823498244982549826498274982849829498304983149832498334983449835498364983749838498394984049841498424984349844498454984649847498484984949850498514985249853498544985549856498574985849859498604986149862498634986449865498664986749868498694987049871498724987349874498754987649877498784987949880498814988249883498844988549886498874988849889498904989149892498934989449895498964989749898498994990049901499024990349904499054990649907499084990949910499114991249913499144991549916499174991849919499204992149922499234992449925499264992749928499294993049931499324993349934499354993649937499384993949940499414994249943499444994549946499474994849949499504995149952499534995449955499564995749958499594996049961499624996349964499654996649967499684996949970499714997249973499744997549976499774997849979499804998149982499834998449985499864998749988499894999049991499924999349994499954999649997499984999950000500015000250003500045000550006500075000850009500105001150012500135001450015500165001750018500195002050021500225002350024500255002650027500285002950030500315003250033500345003550036500375003850039500405004150042500435004450045500465004750048500495005050051500525005350054500555005650057500585005950060500615006250063500645006550066500675006850069500705007150072500735007450075500765007750078500795008050081500825008350084500855008650087500885008950090500915009250093500945009550096500975009850099501005010150102501035010450105501065010750108501095011050111501125011350114501155011650117501185011950120501215012250123501245012550126501275012850129501305013150132501335013450135501365013750138501395014050141501425014350144501455014650147501485014950150501515015250153501545015550156501575015850159501605016150162501635016450165501665016750168501695017050171501725017350174501755017650177501785017950180501815018250183501845018550186501875018850189501905019150192501935019450195501965019750198501995020050201502025020350204502055020650207502085020950210502115021250213502145021550216502175021850219502205022150222502235022450225502265022750228502295023050231502325023350234502355023650237502385023950240502415024250243502445024550246502475024850249502505025150252502535025450255502565025750258502595026050261502625026350264502655026650267502685026950270502715027250273502745027550276502775027850279502805028150282502835028450285502865028750288502895029050291502925029350294502955029650297502985029950300503015030250303503045030550306503075030850309503105031150312503135031450315503165031750318503195032050321503225032350324503255032650327503285032950330503315033250333503345033550336503375033850339503405034150342503435034450345503465034750348503495035050351503525035350354503555035650357503585035950360503615036250363503645036550366503675036850369503705037150372503735037450375503765037750378503795038050381503825038350384503855038650387503885038950390503915039250393503945039550396503975039850399504005040150402504035040450405504065040750408504095041050411504125041350414504155041650417504185041950420504215042250423504245042550426504275042850429504305043150432504335043450435504365043750438504395044050441504425044350444504455044650447504485044950450504515045250453504545045550456504575045850459504605046150462504635046450465504665046750468504695047050471504725047350474504755047650477504785047950480504815048250483504845048550486504875048850489504905049150492504935049450495504965049750498504995050050501505025050350504505055050650507505085050950510505115051250513505145051550516505175051850519505205052150522505235052450525505265052750528505295053050531505325053350534505355053650537505385053950540505415054250543505445054550546505475054850549505505055150552505535055450555505565055750558505595056050561505625056350564505655056650567505685056950570505715057250573505745057550576505775057850579505805058150582505835058450585505865058750588505895059050591505925059350594505955059650597505985059950600506015060250603506045060550606506075060850609506105061150612506135061450615506165061750618506195062050621506225062350624506255062650627506285062950630506315063250633506345063550636506375063850639506405064150642506435064450645506465064750648506495065050651506525065350654506555065650657506585065950660506615066250663506645066550666506675066850669506705067150672506735067450675506765067750678506795068050681506825068350684506855068650687506885068950690506915069250693506945069550696506975069850699507005070150702507035070450705507065070750708507095071050711507125071350714507155071650717507185071950720507215072250723507245072550726507275072850729507305073150732507335073450735507365073750738507395074050741507425074350744507455074650747507485074950750507515075250753507545075550756507575075850759507605076150762507635076450765507665076750768507695077050771507725077350774507755077650777507785077950780507815078250783507845078550786507875078850789507905079150792507935079450795507965079750798507995080050801508025080350804508055080650807508085080950810508115081250813508145081550816508175081850819508205082150822508235082450825508265082750828508295083050831508325083350834508355083650837508385083950840508415084250843508445084550846508475084850849508505085150852508535085450855508565085750858508595086050861508625086350864508655086650867508685086950870508715087250873508745087550876508775087850879508805088150882508835088450885508865088750888508895089050891508925089350894508955089650897508985089950900509015090250903509045090550906509075090850909509105091150912509135091450915509165091750918509195092050921509225092350924509255092650927509285092950930509315093250933509345093550936509375093850939509405094150942509435094450945509465094750948509495095050951509525095350954509555095650957509585095950960509615096250963509645096550966509675096850969509705097150972509735097450975509765097750978509795098050981509825098350984509855098650987509885098950990509915099250993509945099550996509975099850999510005100151002510035100451005510065100751008510095101051011510125101351014510155101651017510185101951020510215102251023510245102551026510275102851029510305103151032510335103451035510365103751038510395104051041510425104351044510455104651047510485104951050510515105251053510545105551056510575105851059510605106151062510635106451065510665106751068510695107051071510725107351074510755107651077510785107951080510815108251083510845108551086510875108851089510905109151092510935109451095510965109751098510995110051101511025110351104511055110651107511085110951110511115111251113511145111551116511175111851119511205112151122511235112451125511265112751128511295113051131511325113351134511355113651137511385113951140511415114251143511445114551146511475114851149511505115151152511535115451155511565115751158511595116051161511625116351164511655116651167511685116951170511715117251173511745117551176511775117851179511805118151182511835118451185511865118751188511895119051191511925119351194511955119651197511985119951200512015120251203512045120551206512075120851209512105121151212512135121451215512165121751218512195122051221512225122351224512255122651227512285122951230512315123251233512345123551236512375123851239512405124151242512435124451245512465124751248512495125051251512525125351254512555125651257512585125951260512615126251263512645126551266512675126851269512705127151272512735127451275512765127751278512795128051281512825128351284512855128651287512885128951290512915129251293512945129551296512975129851299513005130151302513035130451305513065130751308513095131051311513125131351314513155131651317513185131951320513215132251323513245132551326513275132851329513305133151332513335133451335513365133751338513395134051341513425134351344513455134651347513485134951350513515135251353513545135551356513575135851359513605136151362513635136451365 |
- /*@WebApiFunc@*/
- var varList = ['GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0323','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0326','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0327','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0007','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0010','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0011','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0154','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0001','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0002','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0003','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0004','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0031','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0149','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0150','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0151','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0152','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0019','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0020','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0183','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0180','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0181','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0182','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0316','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0260','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0261','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0262','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0263','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0226','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0137','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0145','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0146','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0115','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0112','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0113','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0104','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0126','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0134','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0135','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0082','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0090','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0091','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0093','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0101','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0102','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0049','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0057','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0058','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0060','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0068','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0069','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0237','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0234','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0235','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0021','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0022','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0071','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0079','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0080','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0215','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0223','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0224','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0204','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0212','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0213','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0193','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0201','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0202','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0272','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0280','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0281','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0283','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0291','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0292','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0294','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0302','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0303','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0305','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0313','GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0314','GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0196','GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0188','GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0126','GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0192','GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0004','GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0009','GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0129','GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0130','GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0131','GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0171','GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0144','GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0140','GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0168','GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0164','GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0160','GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0038','GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0034','GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0065','GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0054','GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0061','GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0124','GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0077','GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0089','GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0085','GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0116','GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0112','GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0108','GS_JCD.LN_GD_GJB_JS_XX_XX_XXX_CI0003','GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0125'];
- var varListObj = {};
- var tagInfoDic={};
- // 用于保存所有的lib
- var mouseX=0,mouseY=0;
- var zoomNodeList = zoomNodeList || [];
- zoomNodeList.length = 0;
- var contextMenuOnViewList = contextMenuOnViewList || [];
- var globalVarNameList = globalVarNameList || [];
- var ratio = {ratioX: 1, ratioY: 1};
- // 保存加上图形旋转之后的缩放比例
- var _ratio = {ratioX: 1, ratioY: 1};
- var autoAdaptive = '@autoAdaptive@';
- var browserSize = {
- width: window.innerWidth || $window.innerWidth(),
- height: window.innerHeight || $window.innerHeight()
- }
- var globalVarObj = {};
- var globarParamsObj = {};
- var globalAliasObj = {};
- var pageSizeRatioValue;
- var PAGESCALABLE; // 页面是否可通过滚轮缩放
- var PageAdaptMode = {
- value: 'originSize',
- minWidth: 1366,
- minHeight: 768
- };
- function calcRatio (backSize, browserSize, ratio) {
- var value = GD.getParams('pageSizeRatioValue') || {}, rt;
- function cr(adaptMode) {
- var rx=1, ry=1, w, h;
- switch (adaptMode) {
- case 'adaptWidth':
- rx = ry = browserSize.width / backSize.width;
- break;
- case 'adaptHeight':
- rx = ry = browserSize.width / backSize.width;
- break;
- case 'adaptBrowser':
- rx = browserSize.width / backSize.width;
- ry = browserSize.height / backSize.height;
- break;
- case 'originSize':
- rx = ry = 1;
- break;
- case 'autoResize':
- w = browserSize.width < PageAdaptMode.minWidth ? PageAdaptMode.minWidth : browserSize.width;
- h = browserSize.height < PageAdaptMode.minHeight ? PageAdaptMode.minHeight : browserSize.height;
- rx = w / backSize.width;
- ry = h / backSize.height;
- rx > ry ? rx = ry : ry = rx;
- break;
- }
- return {rx: rx,ry: ry}
- }
-
- value = value.value || PageAdaptMode.value;
- pageSizeRatioValue = value;
-
- if ($.isNumeric(value)) {
- rt = cr(PageAdaptMode.value);
- ratio.ratioX = value*rt.rx;
- ratio.ratioY = value*rt.ry;
- } else {
- rt = cr(value);
- ratio.ratioX = rt.rx;
- ratio.ratioY = rt.ry;
- }
- ratio.originRatioX = rt.rx;
- ratio.originRatioY = rt.ry;
- window.backSize = backSize;
- }
- // 页面的依赖
- (function (W, GD) {
- W.GD = GD = GD || {};
- GD.relationship = {
- // hash: ['a.js', 'b.js', 'c.js'],
- '1234/syz_yy': ['lib/接地.js','lib/紫箭头.js','lib/pt接地.js','lib/pt2.js','lib/紫黄双圆.js','lib/1345.js','lib/矩形箭头上.js','lib/黄色向上接地.js','lib/56.js','lib/黄色接地.js','lib/img.js','lib/黄双园.js','lib/rr.js','lib/倒置 接地刀闸通用图元.js','lib/开关通用图元.js','lib/断路器通用图元.js','lib/手车通用图元.js'],
- }
- })(window, window.GD);
- (function () {
- for (var i = 0, len = varList.length; i < len; i++) {
- var varStr = varList[i];
- varStr = varStr && varStr.toLowerCase && varStr.toLowerCase();
- varStr && (varListObj[varStr] = 0);
- }
- })();
- jQuery.support.cors = true;
- ht.Default.appendTimeStamp = function(url) { return url };
- function init() {
- initPage();
- // dataModel._libModel = _libModel;
- try {
- VarValue = JSON.parse(sessionStorage.getItem(location.pathname)) || VarValue;
- } catch (err) {}
- for(var i=0;i< 108 ;i++){VarValue[i] =0;}
- graphView.handleScroll = function () {}; graphView.setPannable(false); graphView.setMovableFunc(function(data){return false});PAGESCALABLE = false
- view.style.background = 'rgba(255,255,255,1)';
- anniu=0;
- sy=0;
- ldjsc=0;
- ztjs=0;
- sbjz=0;
- xnfx=0;
- pjgl=0;
- zbph=0;
- dbgl=0;
- bjzx=0;
- jrjs=0;
- sxxny=0;
- uugjb=0;
- plhts=0;
- tqwns=0;
- gljf=0;
- hyfy=0;
- llbts=0;
- ygcls=0;
- fs=0;
- sjgl=0;
- yfgl=0;
- rfdl=0;
- yfdl=0;
- ylyxx=0;
- nfdl=0;
- nlyxs=0;
- llfdl=0;
- whssdl=0;
- gzssdl=0;
- xdssdl=0;
- slssdl=0;
- xnssdl=0;
- yygjb=0;
- A=0;
- B=0;
- C=0;
- D=0;
- E=0;
- F=0;
- gonglv=0;
- fengsu=0;
- Node331_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1202";
- Node332_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1204";
- Node333_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1200";
- Node334_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0401";
- Node335_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0403";
- Node336_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0399";
- Node337_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0451";
- Node338_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0453";
- Node339_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0540";
- Node340_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0880";
- Node341_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0881";
- Node342_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0551";
- Node343_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1009";
- Node344_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1011";
- Node345_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1012";
- Node346_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1013";
- Node347_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0856";
- Node438_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0796";
- Node439_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0769";
- Node440_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0822";
- Node441_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0707";
- Node442_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0742";
- Node443_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0628";
- Node444_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0655";
- Node445_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0682";
- Node446_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1003";
- Node447_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0983";
- Node448_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0959";
- Node449_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0936";
- Node450_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0913";
- Node451_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1184";
- Node452_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1135";
- Node453_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1157";
- Node454_xianshi4="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1178";
- Node455_xianshi="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1197";
- Node456_xianshi="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1194";
- Node457_xianshi="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0396";
- Node458_xianshi="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0393";
- Node459_xianshi="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0448";
- Node460_xianshi="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0534";
- Node461_xianshi="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0537";
- Node462_xianshi="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0458";
- Node463_xianshi="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1008";
- Node464_xianshi="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1010";
- Node465_xianshi="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0884";
- Node466_xianshi1="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1188";
- Node467_xianshi1="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0387";
- Node468_xianshi1="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0528";
- Node469_xianshi1="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0574";
- Node470_xianshi1="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1007";
- Node471_xianshi1="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1062";
- Node472_xianshi1="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0852";
- Node473_xianshi1="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0792";
- Node474_xianshi1="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0765";
- Node475_xianshi1="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0818";
- Node476_xianshi1="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0704";
- Node477_xianshi1="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0379";
- Node478_xianshi1="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0380";
- Node479_xianshi1="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0738";
- Node480_xianshi1="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0624";
- Node481_xianshi1="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0651";
- Node482_xianshi1="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0678";
- Node483_xianshi1="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1185";
- Node484_xianshi1="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1001";
- Node485_xianshi1="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0981";
- Node486_xianshi1="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0957";
- Node487_xianshi1="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0934";
- Node488_xianshi1="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0911";
- Node489_xianshi1="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1182";
- Node490_xianshi1="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1133";
- Node491_xianshi1="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1155";
- Node492_xianshi1="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1176";
- Node493_xianshi2="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0577";
- Node494_xianshi2="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0581";
- Node495_xianshi2="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1065";
- Node496_xianshi2="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0855";
- Node497_xianshi2="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0795";
- Node498_xianshi2="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0768";
- Node499_xianshi2="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0821";
- Node500_xianshi2="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0705";
- Node501_xianshi2="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0741";
- Node502_xianshi2="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0627";
- Node503_xianshi2="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0654";
- Node504_xianshi2="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0681";
- Node505_xianshi2="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1187";
- Node506_xianshi2="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1186";
- Node507_xianshi2="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1002";
- Node508_xianshi2="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0982";
- Node509_xianshi2="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0958";
- Node510_xianshi2="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0935";
- Node511_xianshi2="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0912";
- Node512_xianshi2="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1183";
- Node513_xianshi2="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1134";
- Node514_xianshi2="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1156";
- Node515_xianshi2="GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1177";
- /*@PageBeforeInit@*/
- ;(function () {
- var GD = window.GD;
- if (!GD || typeof GD.useParams !== 'function') return ;
- GD.useParams();
- })();
- var backSize = {width: 1899, height: 944};calcRatio(backSize, browserSize, ratio);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var PageBackgroundtype = 'rect';
- var PageBackground = new ht.Node(),
- PageBackgroundBorderWidth = 0*2;
- if (PageBackgroundtype === 'arc') {
- PageBackgroundBorderWidth *= 0;
- }
- PageBackground.setImage(GD.getRectJSON(1899*_ratio.ratioX, 944*_ratio.ratioY, PageBackgroundtype, '@arcFrom@', '@arcTo@', '@arcClose@'));
- PageBackground.setPosition(949*ratio.ratioX, 472*ratio.ratioY);
- PageBackground.setSize(1899*_ratio.ratioX, 944*_ratio.ratioY);
- PageBackground.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- PageBackground.a('node.width', 1899*_ratio.ratioX);
- PageBackground.a('node.height', 944*_ratio.ratioY);
- PageBackground.a('node.type', PageBackgroundtype);
- PageBackground.a('node.rect', [0, 0, 1899*_ratio.ratioX, 944*_ratio.ratioY]);
- PageBackground.a('node.background', 'rgba(255,255,255,1)');
- PageBackground.a('node.gradientcolor', 'rgba(255,255,255,1)');
- PageBackground.a('node.gradient', '');
- PageBackground.a('node.borderwidth', PageBackgroundBorderWidth);
- PageBackground.a('node.color', 'rgba(0,0,0,1)');
- PageBackground.a('node.fillrect', [0,0,0,0]);
- PageBackground.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- PageBackground.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- PageBackground.a('node.fillgradient', '');
- if (PageBackgroundtype !== 'rect') {
- PageBackground.a('node.arcFrom', parseFloat('@arcFrom@'));
- PageBackground.a('node.arcTo', parseFloat('@arcTo@'));
- PageBackground.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (PageBackgroundtype === 'arc') {
- PageBackground.a('node.arcOval', true);
- }
- PageBackground.setRotation(0*Math.PI/180);
- PageBackground.borderWidth = PageBackgroundBorderWidth;
- PageBackground.borderFillwidth = PageBackgroundBorderWidth;
- dataModel.add(PageBackground);
- PageBackground._nodename = 'PageBackground'
- PageBackground._nodeType = 'rect';
- zoomNodeList.push({
- node: PageBackground,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(PageBackground, PageBackground.getImage());PageBackground.s({'2d.selectable': false,'2d.movable': false});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0type = 'rect';
- var Node0 = new ht.Node(),
- Node0BorderWidth = 1*2;
- if (Node0type === 'arc') {
- Node0BorderWidth *= 1;
- }
- Node0.setImage(GD.getRectJSON(1890*_ratio.ratioX, 10*_ratio.ratioY, Node0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0.setPosition(955*ratio.ratioX, 1026*ratio.ratioY);
- Node0.setSize(1890*_ratio.ratioX, 10*_ratio.ratioY);
- Node0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0.a('node.width', 1890*_ratio.ratioX);
- Node0.a('node.height', 10*_ratio.ratioY);
- Node0.a('node.type', Node0type);
- Node0.a('node.rect', [0, 0, 1890*_ratio.ratioX, 10*_ratio.ratioY]);
- Node0.a('node.background', 'rgba(234,234,234,1)');
- Node0.a('node.gradientcolor', 'rgba(234,234,234,1)');
- Node0.a('node.gradient', '');
- Node0.a('node.borderwidth', Node0BorderWidth);
- Node0.a('node.color', 'rgba(234,234,234,1)');
- Node0.a('node.fillrect', [0,0,0,0]);
- Node0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0.a('node.fillgradient', '');
- if (Node0type !== 'rect') {
- Node0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0.a('node.arcTo', parseFloat('@arcTo@'));
- Node0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0type === 'arc') {
- Node0.a('node.arcOval', true);
- }
- Node0.setRotation(0*Math.PI/180);
- Node0.borderWidth = Node0BorderWidth;
- Node0.borderFillwidth = Node0BorderWidth;
- dataModel.add(Node0);
- Node0._nodename = 'Node0'
- Node0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node0, Node0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node1 = new ht.Node();
- var Node1textStart, Node1textWidth, Node1lineStart, Node1align = 'center', Node1fontSize = 14.66663*_ratio.ratioY,Node1width = 67*_ratio.ratioX, Node1height = 26*_ratio.ratioY;
- (function () {
- if (Node1align === 'left') {
- Node1textStart = Node1fontSize * 0.2 > 2 ? Node1fontSize * 0.2 - 4 : Node1fontSize * 0.2 - 9;
- Node1textWidth = Node1width;
- Node1lineStart = 1;
- } else if (Node1align === 'right') {
- Node1textStart = 0;
- Node1textWidth =Node1fontSize <= 8 ? Node1width + Node1fontSize * 0.2 + 6 : Node1width - Node1fontSize * 0.2;
- Node1lineStart = (Node1width - (ht.Default.getTextSize('台', ' '+ Node1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node1align === 'center') {
- Node1textStart = -3;
- Node1textWidth = Node1width;
- Node1lineStart = Node1width - ht.Default.getTextSize('台', ' '+ Node1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node1.setImage(GD.getTextJSON(Node1width, Node1height, true, false, false, ' '+ Node1fontSize + 'px "Arial"'))
- Node1.setPosition(1860*ratio.ratioX, 165*ratio.ratioY);
- Node1.setWidth(Node1width);
- Node1.setHeight(Node1height);
- Node1._nodeType = 'text';
- Node1._disallowEvert = true;
- Node1.setRotation(0*Math.PI/180);
- Node1.a('node.width', Node1width);
- Node1.a('node.height', Node1height);
- Node1.a('node.rect', [0, 0, Node1width, Node1height]);
- Node1.a('node.bordercolor','rgba(105,105,105,1)');
- Node1.a('node.borderwidth', 0);
- Node1.a('node.background','' || 'rgba(0,0,0,0)');
- Node1.a('node.gradient','');
- Node1.a('node.gradientcolor','');
- Node1.a('node.text','台');
- Node1.a('node.textalign','center');
- Node1.a('node.textvAlign','middle');
- Node1.a('node.textrect', [Node1textStart, 0, Node1textWidth, Node1height]);
- Node1.a('node.color','rgba(105,105,105,1)');
- Node1.a('node.font',' '+ Node1fontSize + 'px "Arial"');
- Node1.a('node.textvisible',true);
- Node1.a('node.linefeed',false);
- if (false) {
- Node1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node1.a('node.text') || '台';
- var color=Node1.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node1width,Node1height,14.66663*_ratio.ratioY,"center",color,' '+ Node1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node1.a('node.underlinepoints',[Node1lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node1fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node1fontSize + 'px "Arial"').width + 6, (Node1height - Node1fontSize) * 0.5*_ratio.ratioY + Node1fontSize + 2 ]);
- Node1.a('node.underlinevisible',false);
- Node1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node1);
- zoomNodeList.push({
- node: Node1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node2 = new ht.Node();
- var Node2textStart, Node2textWidth, Node2lineStart, Node2align = 'center', Node2fontSize = 14.66663*_ratio.ratioY,Node2width = 67*_ratio.ratioX, Node2height = 26*_ratio.ratioY;
- (function () {
- if (Node2align === 'left') {
- Node2textStart = Node2fontSize * 0.2 > 2 ? Node2fontSize * 0.2 - 4 : Node2fontSize * 0.2 - 9;
- Node2textWidth = Node2width;
- Node2lineStart = 1;
- } else if (Node2align === 'right') {
- Node2textStart = 0;
- Node2textWidth =Node2fontSize <= 8 ? Node2width + Node2fontSize * 0.2 + 6 : Node2width - Node2fontSize * 0.2;
- Node2lineStart = (Node2width - (ht.Default.getTextSize('台', ' '+ Node2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node2align === 'center') {
- Node2textStart = -3;
- Node2textWidth = Node2width;
- Node2lineStart = Node2width - ht.Default.getTextSize('台', ' '+ Node2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node2.setImage(GD.getTextJSON(Node2width, Node2height, true, false, false, ' '+ Node2fontSize + 'px "Arial"'))
- Node2.setPosition(1860*ratio.ratioX, 226*ratio.ratioY);
- Node2.setWidth(Node2width);
- Node2.setHeight(Node2height);
- Node2._nodeType = 'text';
- Node2._disallowEvert = true;
- Node2.setRotation(0*Math.PI/180);
- Node2.a('node.width', Node2width);
- Node2.a('node.height', Node2height);
- Node2.a('node.rect', [0, 0, Node2width, Node2height]);
- Node2.a('node.bordercolor','rgba(105,105,105,1)');
- Node2.a('node.borderwidth', 0);
- Node2.a('node.background','' || 'rgba(0,0,0,0)');
- Node2.a('node.gradient','');
- Node2.a('node.gradientcolor','');
- Node2.a('node.text','台');
- Node2.a('node.textalign','center');
- Node2.a('node.textvAlign','middle');
- Node2.a('node.textrect', [Node2textStart, 0, Node2textWidth, Node2height]);
- Node2.a('node.color','rgba(105,105,105,1)');
- Node2.a('node.font',' '+ Node2fontSize + 'px "Arial"');
- Node2.a('node.textvisible',true);
- Node2.a('node.linefeed',false);
- if (false) {
- Node2.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node2.a('node.text') || '台';
- var color=Node2.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node2width,Node2height,14.66663*_ratio.ratioY,"center",color,' '+ Node2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node2.a('node.underlinepoints',[Node2lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node2fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node2fontSize + 'px "Arial"').width + 6, (Node2height - Node2fontSize) * 0.5*_ratio.ratioY + Node2fontSize + 2 ]);
- Node2.a('node.underlinevisible',false);
- Node2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node2);
- zoomNodeList.push({
- node: Node2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node3 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 60*ratio.ratioX, 19*ratio.ratioY, 0, {text:'山西新能源',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node4 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 60*ratio.ratioX, 19*ratio.ratioY, 0, {text:'山西新能源',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node5 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 170*ratio.ratioX, 19*ratio.ratioY, 0, {text:'右玉高家堡',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node6 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 170*ratio.ratioX, 19*ratio.ratioY, 0, {text:'右玉高家堡',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node7 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 280*ratio.ratioX, 19*ratio.ratioY, 0, {text:'平鲁虎头山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node8 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 280*ratio.ratioX, 19*ratio.ratioY, 0, {text:'平鲁虎头山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node9 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 389*ratio.ratioX, 19*ratio.ratioY, 0, {text:'太旗卧牛山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node10 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 389*ratio.ratioX, 19*ratio.ratioY, 0, {text:'太旗卧牛山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node11 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 500*ratio.ratioX, 19*ratio.ratioY, 0, {text:'广灵劲风',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node12 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 500*ratio.ratioX, 19*ratio.ratioY, 0, {text:'广灵劲风',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node13 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 610*ratio.ratioX, 19*ratio.ratioY, 0, {text:'浑源峰岳',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node14 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 610*ratio.ratioX, 19*ratio.ratioY, 0, {text:'浑源峰岳',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node15 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 720*ratio.ratioX, 19*ratio.ratioY, 0, {text:'吕梁宝塔山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node16 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 720*ratio.ratioX, 19*ratio.ratioY, 0, {text:'吕梁宝塔山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node17 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 830*ratio.ratioX, 19*ratio.ratioY, 0, {text:'阳高采凉山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node18 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 830*ratio.ratioX, 19*ratio.ratioY, 0, {text:'阳高采凉山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node19 = new ht.Node();
- var Node19textStart, Node19textWidth, Node19lineStart, Node19align = 'left', Node19fontSize = 13.3333*_ratio.ratioY,Node19width = 109*_ratio.ratioX, Node19height = 30*_ratio.ratioY;
- (function () {
- if (Node19align === 'left') {
- Node19textStart = Node19fontSize * 0.2 > 2 ? Node19fontSize * 0.2 - 4 : Node19fontSize * 0.2 - 9;
- Node19textWidth = Node19width;
- Node19lineStart = 1;
- } else if (Node19align === 'right') {
- Node19textStart = 0;
- Node19textWidth =Node19fontSize <= 8 ? Node19width + Node19fontSize * 0.2 + 6 : Node19width - Node19fontSize * 0.2;
- Node19lineStart = (Node19width - (ht.Default.getTextSize('劲 泉 线', ' '+ Node19fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node19align === 'center') {
- Node19textStart = -3;
- Node19textWidth = Node19width;
- Node19lineStart = Node19width - ht.Default.getTextSize('劲 泉 线', ' '+ Node19fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node19.setImage(GD.getTextJSON(Node19width, Node19height, true, false, false, ' '+ Node19fontSize + 'px "微软雅黑"'))
- Node19.setPosition(1024*ratio.ratioX, 186*ratio.ratioY);
- Node19.setWidth(Node19width);
- Node19.setHeight(Node19height);
- Node19._nodeType = 'text';
- Node19._disallowEvert = true;
- Node19.setRotation(0*Math.PI/180);
- Node19.a('node.width', Node19width);
- Node19.a('node.height', Node19height);
- Node19.a('node.rect', [0, 0, Node19width, Node19height]);
- Node19.a('node.bordercolor','rgba(255,255,255,1)');
- Node19.a('node.borderwidth', 0);
- Node19.a('node.background','' || 'rgba(0,0,0,0)');
- Node19.a('node.gradient','');
- Node19.a('node.gradientcolor','');
- Node19.a('node.text','劲 泉 线');
- Node19.a('node.textalign','left');
- Node19.a('node.textvAlign','middle');
- Node19.a('node.textrect', [Node19textStart, 0, Node19textWidth, Node19height]);
- Node19.a('node.color','rgba(255,255,255,1)');
- Node19.a('node.font',' '+ Node19fontSize + 'px "微软雅黑"');
- Node19.a('node.textvisible',true);
- Node19.a('node.linefeed',false);
- if (false) {
- Node19.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node19.a('node.text') || '劲 泉 线';
- var color=Node19.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node19width,Node19height,13.3333*_ratio.ratioY,"left",color,' '+ Node19fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node19.a('node.underlinepoints',[Node19lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node19fontSize + 2 , ht.Default.getTextSize('劲 泉 线', ' '+ Node19fontSize + 'px "微软雅黑"').width + 6, (Node19height - Node19fontSize) * 0.5*_ratio.ratioY + Node19fontSize + 2 ]);
- Node19.a('node.underlinevisible',false);
- Node19.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node19);
- zoomNodeList.push({
- node: Node19,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node20points=[80, 341,1790, 341],
- Node20rect=ht.Default.unionPoint([{x:80,y:341},{x:1790,y:341}]),
- Node20compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node20points.length;i++){
- if(i%2==0){
- Node20compspts.push(Node20points[i]-Node20rect.x);
- }else{
- Node20compspts.push(Node20points[i]-Node20rect.y);
- }
- }
- var Node20ptslength=Node20compspts.length;
- if (Node20rect.height === 0) {
- Node20compspts[0] -= 0;
- Node20compspts[Node20ptslength-2] += 0;
- } else if (Node20rect.width === 0){
- Node20compspts[1] -= 0;
- Node20compspts[Node20ptslength-1] += 0;
- } else {
- Node20compspts[0] -= 0;
- Node20compspts[1] -= 0;
- Node20compspts[Node20ptslength-2] += 0;
- Node20compspts[Node20ptslength-1] += 0;
- }
- Node20 = new ht.Node();
- Node20.borderWidth = 3;
- Node20rect.width = Node20rect.width === 0 ? 0.0001 : Node20rect.width;
- Node20rect.height = Node20rect.height === 0 ? 0.0001 : Node20rect.height;
- var Node20endCompspts = [Node20compspts[Node20ptslength-2],Node20compspts[Node20ptslength-1],0,0];
- var Node20startCompspts = [Node20compspts[0],Node20compspts[1],0,0];
- Node20.setImage(GD.getPolyLineJSON());
- Node20.setPosition(Node20rect.x+Node20rect.width/2,Node20rect.y+Node20rect.height/2);
- Node20.setSize(Node20rect.width,Node20rect.height);
- Node20.setStyle("opacity",1);
- Node20.s({'pixelPerfect':true});
- Node20borderwidth=3;
- Node20.setRotation(0);
- dataModel.add(Node20);
- Node20.a('node.points',Node20compspts);
- Node20.a('node.segments',[1,2]);
- Node20.a('node.color','rgba(255,0,255,1)');
- Node20.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node20.a('node.borderColor','rgba(255,0,255,1)');
- Node20.a('node.background','rgba(255,0,255,1)');
- Node20.a('node.gradient','');
- Node20.a('node.gradientcolor','rgba(255,0,255,1)');
- Node20.a('node.endCompspts',Node20endCompspts);
- Node20.a('node.startCompspts',Node20startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 3;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node20';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node20, Node20.getImage(), Node20compspts, Node20endCompspts, Node20startCompspts);
- var Node21points=[50, 581,920, 581],
- Node21rect=ht.Default.unionPoint([{x:50,y:581},{x:920,y:581}]),
- Node21compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node21points.length;i++){
- if(i%2==0){
- Node21compspts.push(Node21points[i]-Node21rect.x);
- }else{
- Node21compspts.push(Node21points[i]-Node21rect.y);
- }
- }
- var Node21ptslength=Node21compspts.length;
- if (Node21rect.height === 0) {
- Node21compspts[0] -= 0;
- Node21compspts[Node21ptslength-2] += 0;
- } else if (Node21rect.width === 0){
- Node21compspts[1] -= 0;
- Node21compspts[Node21ptslength-1] += 0;
- } else {
- Node21compspts[0] -= 0;
- Node21compspts[1] -= 0;
- Node21compspts[Node21ptslength-2] += 0;
- Node21compspts[Node21ptslength-1] += 0;
- }
- Node21 = new ht.Node();
- Node21.borderWidth = 3;
- Node21rect.width = Node21rect.width === 0 ? 0.0001 : Node21rect.width;
- Node21rect.height = Node21rect.height === 0 ? 0.0001 : Node21rect.height;
- var Node21endCompspts = [Node21compspts[Node21ptslength-2],Node21compspts[Node21ptslength-1],0,0];
- var Node21startCompspts = [Node21compspts[0],Node21compspts[1],0,0];
- Node21.setImage(GD.getPolyLineJSON());
- Node21.setPosition(Node21rect.x+Node21rect.width/2,Node21rect.y+Node21rect.height/2);
- Node21.setSize(Node21rect.width,Node21rect.height);
- Node21.setStyle("opacity",1);
- Node21.s({'pixelPerfect':true});
- Node21borderwidth=3;
- Node21.setRotation(0);
- dataModel.add(Node21);
- Node21.a('node.points',Node21compspts);
- Node21.a('node.segments',[1,2]);
- Node21.a('node.color','rgba(255,128,0,1)');
- Node21.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node21.a('node.borderColor','rgba(255,128,0,1)');
- Node21.a('node.background','rgba(255,128,0,1)');
- Node21.a('node.gradient','');
- Node21.a('node.gradientcolor','rgba(255,128,0,1)');
- Node21.a('node.endCompspts',Node21endCompspts);
- Node21.a('node.startCompspts',Node21startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 3;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node21';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node21, Node21.getImage(), Node21compspts, Node21endCompspts, Node21startCompspts);
- var Node22points=[970, 581,970, 581],
- Node22rect=ht.Default.unionPoint([{x:970,y:581},{x:970,y:581}]),
- Node22compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node22points.length;i++){
- if(i%2==0){
- Node22compspts.push(Node22points[i]-Node22rect.x);
- }else{
- Node22compspts.push(Node22points[i]-Node22rect.y);
- }
- }
- var Node22ptslength=Node22compspts.length;
- if (Node22rect.height === 0) {
- Node22compspts[0] -= 0;
- Node22compspts[Node22ptslength-2] += 0;
- } else if (Node22rect.width === 0){
- Node22compspts[1] -= 0;
- Node22compspts[Node22ptslength-1] += 0;
- } else {
- Node22compspts[0] -= 0;
- Node22compspts[1] -= 0;
- Node22compspts[Node22ptslength-2] += 0;
- Node22compspts[Node22ptslength-1] += 0;
- }
- Node22 = new ht.Node();
- Node22.borderWidth = 1;
- Node22rect.width = Node22rect.width === 0 ? 0.0001 : Node22rect.width;
- Node22rect.height = Node22rect.height === 0 ? 0.0001 : Node22rect.height;
- var Node22endCompspts = [Node22compspts[Node22ptslength-2],Node22compspts[Node22ptslength-1],0,0];
- var Node22startCompspts = [Node22compspts[0],Node22compspts[1],0,0];
- Node22.setImage(GD.getPolyLineJSON());
- Node22.setPosition(Node22rect.x+Node22rect.width/2,Node22rect.y+Node22rect.height/2);
- Node22.setSize(Node22rect.width,Node22rect.height);
- Node22.setStyle("opacity",1);
- Node22.s({'pixelPerfect':true});
- Node22borderwidth=1;
- Node22.setRotation(0);
- dataModel.add(Node22);
- Node22.a('node.points',Node22compspts);
- Node22.a('node.segments',[1,2]);
- Node22.a('node.color','rgba(0,0,0,1)');
- Node22.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node22.a('node.borderColor','rgba(0,0,0,1)');
- Node22.a('node.background','rgba(0,0,0,1)');
- Node22.a('node.gradient','');
- Node22.a('node.gradientcolor','rgba(0,0,0,1)');
- Node22.a('node.endCompspts',Node22endCompspts);
- Node22.a('node.startCompspts',Node22startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node22';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node22, Node22.getImage(), Node22compspts, Node22endCompspts, Node22startCompspts);
- var Node23points=[970, 581,970, 581],
- Node23rect=ht.Default.unionPoint([{x:970,y:581},{x:970,y:581}]),
- Node23compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node23points.length;i++){
- if(i%2==0){
- Node23compspts.push(Node23points[i]-Node23rect.x);
- }else{
- Node23compspts.push(Node23points[i]-Node23rect.y);
- }
- }
- var Node23ptslength=Node23compspts.length;
- if (Node23rect.height === 0) {
- Node23compspts[0] -= 0;
- Node23compspts[Node23ptslength-2] += 0;
- } else if (Node23rect.width === 0){
- Node23compspts[1] -= 0;
- Node23compspts[Node23ptslength-1] += 0;
- } else {
- Node23compspts[0] -= 0;
- Node23compspts[1] -= 0;
- Node23compspts[Node23ptslength-2] += 0;
- Node23compspts[Node23ptslength-1] += 0;
- }
- Node23 = new ht.Node();
- Node23.borderWidth = 1;
- Node23rect.width = Node23rect.width === 0 ? 0.0001 : Node23rect.width;
- Node23rect.height = Node23rect.height === 0 ? 0.0001 : Node23rect.height;
- var Node23endCompspts = [Node23compspts[Node23ptslength-2],Node23compspts[Node23ptslength-1],0,0];
- var Node23startCompspts = [Node23compspts[0],Node23compspts[1],0,0];
- Node23.setImage(GD.getPolyLineJSON());
- Node23.setPosition(Node23rect.x+Node23rect.width/2,Node23rect.y+Node23rect.height/2);
- Node23.setSize(Node23rect.width,Node23rect.height);
- Node23.setStyle("opacity",1);
- Node23.s({'pixelPerfect':true});
- Node23borderwidth=1;
- Node23.setRotation(0);
- dataModel.add(Node23);
- Node23.a('node.points',Node23compspts);
- Node23.a('node.segments',[1,2]);
- Node23.a('node.color','rgba(0,0,0,1)');
- Node23.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node23.a('node.borderColor','rgba(0,0,0,1)');
- Node23.a('node.background','rgba(0,0,0,1)');
- Node23.a('node.gradient','');
- Node23.a('node.gradientcolor','rgba(0,0,0,1)');
- Node23.a('node.endCompspts',Node23endCompspts);
- Node23.a('node.startCompspts',Node23startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node23';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node23, Node23.getImage(), Node23compspts, Node23endCompspts, Node23startCompspts);
- var Node24points=[970, 581,970, 581],
- Node24rect=ht.Default.unionPoint([{x:970,y:581},{x:970,y:581}]),
- Node24compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node24points.length;i++){
- if(i%2==0){
- Node24compspts.push(Node24points[i]-Node24rect.x);
- }else{
- Node24compspts.push(Node24points[i]-Node24rect.y);
- }
- }
- var Node24ptslength=Node24compspts.length;
- if (Node24rect.height === 0) {
- Node24compspts[0] -= 0;
- Node24compspts[Node24ptslength-2] += 0;
- } else if (Node24rect.width === 0){
- Node24compspts[1] -= 0;
- Node24compspts[Node24ptslength-1] += 0;
- } else {
- Node24compspts[0] -= 0;
- Node24compspts[1] -= 0;
- Node24compspts[Node24ptslength-2] += 0;
- Node24compspts[Node24ptslength-1] += 0;
- }
- Node24 = new ht.Node();
- Node24.borderWidth = 1;
- Node24rect.width = Node24rect.width === 0 ? 0.0001 : Node24rect.width;
- Node24rect.height = Node24rect.height === 0 ? 0.0001 : Node24rect.height;
- var Node24endCompspts = [Node24compspts[Node24ptslength-2],Node24compspts[Node24ptslength-1],0,0];
- var Node24startCompspts = [Node24compspts[0],Node24compspts[1],0,0];
- Node24.setImage(GD.getPolyLineJSON());
- Node24.setPosition(Node24rect.x+Node24rect.width/2,Node24rect.y+Node24rect.height/2);
- Node24.setSize(Node24rect.width,Node24rect.height);
- Node24.setStyle("opacity",1);
- Node24.s({'pixelPerfect':true});
- Node24borderwidth=1;
- Node24.setRotation(0);
- dataModel.add(Node24);
- Node24.a('node.points',Node24compspts);
- Node24.a('node.segments',[1,2]);
- Node24.a('node.color','rgba(0,0,0,1)');
- Node24.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node24.a('node.borderColor','rgba(0,0,0,1)');
- Node24.a('node.background','rgba(0,0,0,1)');
- Node24.a('node.gradient','');
- Node24.a('node.gradientcolor','rgba(0,0,0,1)');
- Node24.a('node.endCompspts',Node24endCompspts);
- Node24.a('node.startCompspts',Node24startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node24';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node24, Node24.getImage(), Node24compspts, Node24endCompspts, Node24startCompspts);
- var Node25points=[970, 581,1860, 581],
- Node25rect=ht.Default.unionPoint([{x:970,y:581},{x:1860,y:581}]),
- Node25compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node25points.length;i++){
- if(i%2==0){
- Node25compspts.push(Node25points[i]-Node25rect.x);
- }else{
- Node25compspts.push(Node25points[i]-Node25rect.y);
- }
- }
- var Node25ptslength=Node25compspts.length;
- if (Node25rect.height === 0) {
- Node25compspts[0] -= 0;
- Node25compspts[Node25ptslength-2] += 0;
- } else if (Node25rect.width === 0){
- Node25compspts[1] -= 0;
- Node25compspts[Node25ptslength-1] += 0;
- } else {
- Node25compspts[0] -= 0;
- Node25compspts[1] -= 0;
- Node25compspts[Node25ptslength-2] += 0;
- Node25compspts[Node25ptslength-1] += 0;
- }
- Node25 = new ht.Node();
- Node25.borderWidth = 3;
- Node25rect.width = Node25rect.width === 0 ? 0.0001 : Node25rect.width;
- Node25rect.height = Node25rect.height === 0 ? 0.0001 : Node25rect.height;
- var Node25endCompspts = [Node25compspts[Node25ptslength-2],Node25compspts[Node25ptslength-1],0,0];
- var Node25startCompspts = [Node25compspts[0],Node25compspts[1],0,0];
- Node25.setImage(GD.getPolyLineJSON());
- Node25.setPosition(Node25rect.x+Node25rect.width/2,Node25rect.y+Node25rect.height/2);
- Node25.setSize(Node25rect.width,Node25rect.height);
- Node25.setStyle("opacity",1);
- Node25.s({'pixelPerfect':true});
- Node25borderwidth=3;
- Node25.setRotation(0);
- dataModel.add(Node25);
- Node25.a('node.points',Node25compspts);
- Node25.a('node.segments',[1,2]);
- Node25.a('node.color','rgba(255,128,0,1)');
- Node25.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node25.a('node.borderColor','rgba(255,128,0,1)');
- Node25.a('node.background','rgba(255,128,0,1)');
- Node25.a('node.gradient','');
- Node25.a('node.gradientcolor','rgba(255,128,0,1)');
- Node25.a('node.endCompspts',Node25endCompspts);
- Node25.a('node.startCompspts',Node25startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 3;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node25';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node25, Node25.getImage(), Node25compspts, Node25endCompspts, Node25startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node26 = new ht.Node();
- var Node26textStart, Node26textWidth, Node26lineStart, Node26align = 'left', Node26fontSize = 13.3333*_ratio.ratioY,Node26width = 82*_ratio.ratioX, Node26height = 50*_ratio.ratioY;
- (function () {
- if (Node26align === 'left') {
- Node26textStart = Node26fontSize * 0.2 > 2 ? Node26fontSize * 0.2 - 4 : Node26fontSize * 0.2 - 9;
- Node26textWidth = Node26width;
- Node26lineStart = 1;
- } else if (Node26align === 'right') {
- Node26textStart = 0;
- Node26textWidth =Node26fontSize <= 8 ? Node26width + Node26fontSize * 0.2 + 6 : Node26width - Node26fontSize * 0.2;
- Node26lineStart = (Node26width - (ht.Default.getTextSize('220kV 母线', 'bold '+ Node26fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node26align === 'center') {
- Node26textStart = -3;
- Node26textWidth = Node26width;
- Node26lineStart = Node26width - ht.Default.getTextSize('220kV 母线', 'bold '+ Node26fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node26.setImage(GD.getTextJSON(Node26width, Node26height, true, false, false, 'bold '+ Node26fontSize + 'px "Arial"'))
- Node26.setPosition(131*ratio.ratioX, 322*ratio.ratioY);
- Node26.setWidth(Node26width);
- Node26.setHeight(Node26height);
- Node26._nodeType = 'text';
- Node26._disallowEvert = true;
- Node26.setRotation(0*Math.PI/180);
- Node26.a('node.width', Node26width);
- Node26.a('node.height', Node26height);
- Node26.a('node.rect', [0, 0, Node26width, Node26height]);
- Node26.a('node.bordercolor','rgba(0,0,0,1)');
- Node26.a('node.borderwidth', 0);
- Node26.a('node.background','' || 'rgba(0,0,0,0)');
- Node26.a('node.gradient','');
- Node26.a('node.gradientcolor','');
- Node26.a('node.text','220kV 母线');
- Node26.a('node.textalign','left');
- Node26.a('node.textvAlign','middle');
- Node26.a('node.textrect', [Node26textStart, 0, Node26textWidth, Node26height]);
- Node26.a('node.color','rgba(0,0,0,1)');
- Node26.a('node.font','bold '+ Node26fontSize + 'px "Arial"');
- Node26.a('node.textvisible',true);
- Node26.a('node.linefeed',false);
- if (false) {
- Node26.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node26.a('node.text') || '220kV 母线';
- var color=Node26.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node26width,Node26height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node26fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node26.a('node.underlinepoints',[Node26lineStart, (50 - 13.3333) * 0.5 * _ratio.ratioY + Node26fontSize + 2 , ht.Default.getTextSize('220kV 母线', 'bold '+ Node26fontSize + 'px "Arial"').width + 6, (Node26height - Node26fontSize) * 0.5*_ratio.ratioY + Node26fontSize + 2 ]);
- Node26.a('node.underlinevisible',false);
- Node26.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node26);
- zoomNodeList.push({
- node: Node26,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node27points=[540, 321,540, 361],
- Node27rect=ht.Default.unionPoint([{x:540,y:321},{x:540,y:361}]),
- Node27compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node27points.length;i++){
- if(i%2==0){
- Node27compspts.push(Node27points[i]-Node27rect.x);
- }else{
- Node27compspts.push(Node27points[i]-Node27rect.y);
- }
- }
- var Node27ptslength=Node27compspts.length;
- if (Node27rect.height === 0) {
- Node27compspts[0] -= 0;
- Node27compspts[Node27ptslength-2] += 0;
- } else if (Node27rect.width === 0){
- Node27compspts[1] -= 0;
- Node27compspts[Node27ptslength-1] += 0;
- } else {
- Node27compspts[0] -= 0;
- Node27compspts[1] -= 0;
- Node27compspts[Node27ptslength-2] += 0;
- Node27compspts[Node27ptslength-1] += 0;
- }
- Node27 = new ht.Node();
- Node27.borderWidth = 1;
- Node27rect.width = Node27rect.width === 0 ? 0.0001 : Node27rect.width;
- Node27rect.height = Node27rect.height === 0 ? 0.0001 : Node27rect.height;
- var Node27endCompspts = [Node27compspts[Node27ptslength-2],Node27compspts[Node27ptslength-1],0,0];
- var Node27startCompspts = [Node27compspts[0],Node27compspts[1],0,0];
- Node27.setImage(GD.getPolyLineJSON());
- Node27.setPosition(Node27rect.x+Node27rect.width/2,Node27rect.y+Node27rect.height/2);
- Node27.setSize(Node27rect.width,Node27rect.height);
- Node27.setStyle("opacity",1);
- Node27.s({'pixelPerfect':true});
- Node27borderwidth=1;
- Node27.setRotation(0);
- dataModel.add(Node27);
- Node27.a('node.points',Node27compspts);
- Node27.a('node.segments',[1,2]);
- Node27.a('node.color','rgba(255,0,255,1)');
- Node27.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node27.a('node.borderColor','rgba(255,0,255,1)');
- Node27.a('node.background','rgba(255,0,255,1)');
- Node27.a('node.gradient','');
- Node27.a('node.gradientcolor','rgba(255,0,255,1)');
- Node27.a('node.endCompspts',Node27endCompspts);
- Node27.a('node.startCompspts',Node27startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node27';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node27, Node27.getImage(), Node27compspts, Node27endCompspts, Node27startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node28_0 = new ht.lib['接地'](7*ratio.ratioX, 6*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node28_0');
- _libModel.add("Node28_0", Node28_0);
- Node28_0.setRotation(0*Math.PI/180);
- ;
- ;
- Node28DataModel = new ht.DataModel();
- globalVarNameList.push('Node28DataModel');
- //Node28graphPane = new GraphPaneContainer(Node28DataModel,602,329,20,20,'rgba(255,255,255,0)');
- //document.body.appendChild(Node28graphPane.getView());
- //Node28graphPane.getGraphView().setEditable(true);
- Node28graphPane= new ht.graph.GraphView(Node28DataModel);
- globalVarNameList.push('Node28graphPane');
- jQuery.isArray(graphView.graphViewList) && graphView.graphViewList.push(Node28graphPane);
- Node28graphPane.setScrollBarSize(6);
- $(Node28graphPane.getView()).css({
- border: "1px solid rgba(255,255,255,0)",
- boxSizing: 'content-box'
-
- });
- var Node28 = new ht.HtmlNode();
- Node28.setScalable(false);
- Node28.s({
- '2d.selectable': true,
- '2d.movable': false
- });
- Node28.setHtml(Node28graphPane);
- Node28.setPosition({x:602*ratio.ratioX,y:329*ratio.ratioY});
- Node28.setWidth(20*ratio.ratioX);
- Node28.setHeight(20*ratio.ratioY);
- Node28.setPadding(0);
- dataModel.add(Node28);
- globalAliasObj['Node28Alias'] = Node28;
- Node28._allowChildScale = false;
- (function () {
- var s = Node28.s;
- Node28.s = function () {
- var args = Array.prototype.slice.call(arguments, 0);
- var paneView = Node28graphPane.getView();
- if (args[0] === '2d.visible' && args[1] !== undefined) {
- if (args[1] === false) {
- paneView.style.display = 'none';
- } else {
- paneView.style.display = 'block';
- }
- }
- return s.apply(Node28, args);
- }
- })();
- var Node28timer = setTimeout(function setFanContainer() {
- var graphPane = Node28graphPane,
- hNode = Node28,
- zoomValue = graphView.getZoom();
- function resetZoomAndPosition(zoom) {
- graphPane.setZoom(zoom);
- graphPane.tx(0);
- graphPane.ty(0);
- }
- function resizeOverEvent (e) {
- var blockList = graphPane.blockList;
- var bw = blockList[0].getWidth(),
- bh = blockList[0].getHeight(),
- halfBw = bw * 0.5,
- halfBh = bh * 0.5,
- verticalInterval = 1;
- if (graphPane.ty() !== 0) {
- graphPane.ty(0);
- }
- if (graphPane.tx() !== 0) {
- graphPane.tx(0);
- }
-
- function reArrange() {
- var w = $(graphPane.getView()).width()-10,
- h = $(graphPane.getView()).height();
- var block, index, count, hInterval, totalInterval, rowIndex = -1, px, py, ox, oy, fx, fy, fp;
-
- if (blockList.length === 1) {
- graphPane.adjustTranslateY = function () {
- return 0;
- }
- // graphPane.setScrollBarColor('rgba(122, 122, 122, 0)');
- graphPane.setScrollBarColor('rgba(211,211,211,1)');
- } else {
- graphPane.adjustTranslateY = adjustTranslateY;
- //graphPane.setScrollBarColor('rgba(122, 122, 122, 0.4)');
- graphPane.setScrollBarColor('rgba(211,211,211,1)');
- }
- graphPane.totalWidth = w;
- count = Math.floor(w / bw) || 1;
- totalInterval = w % bw;
- totalInterval = totalInterval < 0 ? 0 : totalInterval;
- hInterval = Math.floor(totalInterval/count);
- for ( var i = 0, len = blockList.length; i < len; i++) {
- block = blockList[i];
- index = i % count;
- if (index === 0) {
- rowIndex++;
- }
- px = index * (bw + hInterval) + halfBw;
- py = rowIndex * (bh + verticalInterval) + halfBh;
- fp = block.getPosition();
- fx = fp.x;
- fy = fp.y;
- ox = px - fx;
- oy = py - fy;
- // 如果容器内有多个图元,则位置加1,防止过于靠近上部我左侧而出现滚动条
- if (len > 1) {
- ox += 1;
- oy += 1;
- }
- if (hNode._allowChildScale) { // 图元可缩放时按原来位置排列
- block.setPosition(px, py);
- } else {
- block.setPosition(fx + ox, fy + oy); // 图元不可绽放时按计算的位置排列
- }
- }
- }
- reArrange();
- setTimeout(reArrange, 50);
- }
- function adjustTranslateY (value) {
- var contentSize = graphPane.getContentRect();
- var min = graphPane.getHeight() - contentSize.height - 50;
-
- value = value > 0 ? 0 : value;
- value = value < min ? min : value;
- return value;
- }
- function adjustTranslateX (value) {
- return 0;
- }
- graphView.mp(function(e) {
- if (e.property !== 'zoom') {
- return ;
- }
- resetZoomAndPosition(e.newValue);
- })
- graphPane.getView().addEventListener('mouseover', function (e) {
- e.preventDefault();
- e.stopPropagation();
- graphView.setInteractors(null);
- });
- graphPane.getView().addEventListener('mouseleave', function (e) {
- e.preventDefault();
- e.stopPropagation();
- graphView.setEditable(false);
- })
- graphPane.getView().addEventListener('mousedown', function (e) {
- e.preventDefault();
- e.stopPropagation();
- graphView.setEditable(true);
- })
- // graphPane.getView().addEventListener('mouseup', function (e) {
- // e.preventDefault();
- // e.stopPropagation();
- // graphView.setEditable(false);
- // })
- graphPane.setZoom(zoomValue);
- resetZoomAndPosition(zoomValue);
- // graphPane.setAutoHideScrollBar(false);
- graphPane.setAutoHideScrollBar(true);
- graphPane.setScrollBarSize(6);
- graphPane.setScrollBarColor('rgba(122, 122, 122, 0.4)');
- graphPane.setInteractors(null);
- graphPane.setInteractors([
- // new ht.graph.ScrollBarInteractor(graphPane),
- new ht.graph.DefaultInteractor(graphPane)
- ]);
- graphPane.adjustTranslateY = adjustTranslateY;
- graphPane.adjustTranslateX = adjustTranslateX;
- graphPane.handleScroll = function(data) {
- var t = graphPane.ty() - data.deltaY;
- var contentSize = graphPane.getContentRect();
- var min = contentSize.height - graphPane.getHeight() + 50;
- if (min <= 50)
- return ;
- graphPane.setTranslate(0, t, true);
- }
- graphPane.setPannable(false);
- graphPane.setMovableFunc(function(data){return false});
- resizeOverEvent();
- $window.off('resizeOver', resizeOverEvent).on('resizeOver', resizeOverEvent);
- clearTimeout(Node28timer);
- }, 80);addNodeToContainer(dataModel,Node28,Node28graphPane,[Node28_0]);var Node29points=[1080, 281,1080, 304],
- Node29rect=ht.Default.unionPoint([{x:1080,y:281},{x:1080,y:304}]),
- Node29compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node29points.length;i++){
- if(i%2==0){
- Node29compspts.push(Node29points[i]-Node29rect.x);
- }else{
- Node29compspts.push(Node29points[i]-Node29rect.y);
- }
- }
- var Node29ptslength=Node29compspts.length;
- if (Node29rect.height === 0) {
- Node29compspts[0] -= 0;
- Node29compspts[Node29ptslength-2] += 0;
- } else if (Node29rect.width === 0){
- Node29compspts[1] -= 0;
- Node29compspts[Node29ptslength-1] += 0;
- } else {
- Node29compspts[0] -= 0;
- Node29compspts[1] -= 0;
- Node29compspts[Node29ptslength-2] += 0;
- Node29compspts[Node29ptslength-1] += 0;
- }
- Node29 = new ht.Node();
- Node29.borderWidth = 1;
- Node29rect.width = Node29rect.width === 0 ? 0.0001 : Node29rect.width;
- Node29rect.height = Node29rect.height === 0 ? 0.0001 : Node29rect.height;
- var Node29endCompspts = [Node29compspts[Node29ptslength-2],Node29compspts[Node29ptslength-1],0,0];
- var Node29startCompspts = [Node29compspts[0],Node29compspts[1],0,0];
- Node29.setImage(GD.getPolyLineJSON());
- Node29.setPosition(Node29rect.x+Node29rect.width/2,Node29rect.y+Node29rect.height/2);
- Node29.setSize(Node29rect.width,Node29rect.height);
- Node29.setStyle("opacity",1);
- Node29.s({'pixelPerfect':true});
- Node29borderwidth=1;
- Node29.setRotation(0);
- dataModel.add(Node29);
- Node29.a('node.points',Node29compspts);
- Node29.a('node.segments',[1,2]);
- Node29.a('node.color','rgba(255,0,255,1)');
- Node29.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node29.a('node.borderColor','rgba(255,0,255,1)');
- Node29.a('node.background','rgba(255,0,255,1)');
- Node29.a('node.gradient','');
- Node29.a('node.gradientcolor','rgba(255,0,255,1)');
- Node29.a('node.endCompspts',Node29endCompspts);
- Node29.a('node.startCompspts',Node29startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node29';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node29, Node29.getImage(), Node29compspts, Node29endCompspts, Node29startCompspts);
- var Node30points=[1080, 237,1080, 265],
- Node30rect=ht.Default.unionPoint([{x:1080,y:237},{x:1080,y:265}]),
- Node30compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node30points.length;i++){
- if(i%2==0){
- Node30compspts.push(Node30points[i]-Node30rect.x);
- }else{
- Node30compspts.push(Node30points[i]-Node30rect.y);
- }
- }
- var Node30ptslength=Node30compspts.length;
- if (Node30rect.height === 0) {
- Node30compspts[0] -= 0;
- Node30compspts[Node30ptslength-2] += 0;
- } else if (Node30rect.width === 0){
- Node30compspts[1] -= 0;
- Node30compspts[Node30ptslength-1] += 0;
- } else {
- Node30compspts[0] -= 0;
- Node30compspts[1] -= 0;
- Node30compspts[Node30ptslength-2] += 0;
- Node30compspts[Node30ptslength-1] += 0;
- }
- Node30 = new ht.Node();
- Node30.borderWidth = 1;
- Node30rect.width = Node30rect.width === 0 ? 0.0001 : Node30rect.width;
- Node30rect.height = Node30rect.height === 0 ? 0.0001 : Node30rect.height;
- var Node30endCompspts = [Node30compspts[Node30ptslength-2],Node30compspts[Node30ptslength-1],0,0];
- var Node30startCompspts = [Node30compspts[0],Node30compspts[1],0,0];
- Node30.setImage(GD.getPolyLineJSON());
- Node30.setPosition(Node30rect.x+Node30rect.width/2,Node30rect.y+Node30rect.height/2);
- Node30.setSize(Node30rect.width,Node30rect.height);
- Node30.setStyle("opacity",1);
- Node30.s({'pixelPerfect':true});
- Node30borderwidth=1;
- Node30.setRotation(0);
- dataModel.add(Node30);
- Node30.a('node.points',Node30compspts);
- Node30.a('node.segments',[1,2]);
- Node30.a('node.color','rgba(255,0,255,1)');
- Node30.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node30.a('node.borderColor','rgba(255,0,255,1)');
- Node30.a('node.background','rgba(255,0,255,1)');
- Node30.a('node.gradient','');
- Node30.a('node.gradientcolor','rgba(255,0,255,1)');
- Node30.a('node.endCompspts',Node30endCompspts);
- Node30.a('node.startCompspts',Node30startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node30';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node30, Node30.getImage(), Node30compspts, Node30endCompspts, Node30startCompspts);
- var Node31points=[1080, 291,1140, 291],
- Node31rect=ht.Default.unionPoint([{x:1080,y:291},{x:1140,y:291}]),
- Node31compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node31points.length;i++){
- if(i%2==0){
- Node31compspts.push(Node31points[i]-Node31rect.x);
- }else{
- Node31compspts.push(Node31points[i]-Node31rect.y);
- }
- }
- var Node31ptslength=Node31compspts.length;
- if (Node31rect.height === 0) {
- Node31compspts[0] -= 0;
- Node31compspts[Node31ptslength-2] += 0;
- } else if (Node31rect.width === 0){
- Node31compspts[1] -= 0;
- Node31compspts[Node31ptslength-1] += 0;
- } else {
- Node31compspts[0] -= 0;
- Node31compspts[1] -= 0;
- Node31compspts[Node31ptslength-2] += 0;
- Node31compspts[Node31ptslength-1] += 0;
- }
- Node31 = new ht.Node();
- Node31.borderWidth = 1;
- Node31rect.width = Node31rect.width === 0 ? 0.0001 : Node31rect.width;
- Node31rect.height = Node31rect.height === 0 ? 0.0001 : Node31rect.height;
- var Node31endCompspts = [Node31compspts[Node31ptslength-2],Node31compspts[Node31ptslength-1],0,0];
- var Node31startCompspts = [Node31compspts[0],Node31compspts[1],0,0];
- Node31.setImage(GD.getPolyLineJSON());
- Node31.setPosition(Node31rect.x+Node31rect.width/2,Node31rect.y+Node31rect.height/2);
- Node31.setSize(Node31rect.width,Node31rect.height);
- Node31.setStyle("opacity",1);
- Node31.s({'pixelPerfect':true});
- Node31borderwidth=1;
- Node31.setRotation(0);
- dataModel.add(Node31);
- Node31.a('node.points',Node31compspts);
- Node31.a('node.segments',[1,2]);
- Node31.a('node.color','rgba(255,0,255,1)');
- Node31.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node31.a('node.borderColor','rgba(255,0,255,1)');
- Node31.a('node.background','rgba(255,0,255,1)');
- Node31.a('node.gradient','');
- Node31.a('node.gradientcolor','rgba(255,0,255,1)');
- Node31.a('node.endCompspts',Node31endCompspts);
- Node31.a('node.startCompspts',Node31startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node31';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node31, Node31.getImage(), Node31compspts, Node31endCompspts, Node31startCompspts);
- var Node32points=[1140, 291,1140, 300],
- Node32rect=ht.Default.unionPoint([{x:1140,y:291},{x:1140,y:300}]),
- Node32compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node32points.length;i++){
- if(i%2==0){
- Node32compspts.push(Node32points[i]-Node32rect.x);
- }else{
- Node32compspts.push(Node32points[i]-Node32rect.y);
- }
- }
- var Node32ptslength=Node32compspts.length;
- if (Node32rect.height === 0) {
- Node32compspts[0] -= 0;
- Node32compspts[Node32ptslength-2] += 0;
- } else if (Node32rect.width === 0){
- Node32compspts[1] -= 0;
- Node32compspts[Node32ptslength-1] += 0;
- } else {
- Node32compspts[0] -= 0;
- Node32compspts[1] -= 0;
- Node32compspts[Node32ptslength-2] += 0;
- Node32compspts[Node32ptslength-1] += 0;
- }
- Node32 = new ht.Node();
- Node32.borderWidth = 1;
- Node32rect.width = Node32rect.width === 0 ? 0.0001 : Node32rect.width;
- Node32rect.height = Node32rect.height === 0 ? 0.0001 : Node32rect.height;
- var Node32endCompspts = [Node32compspts[Node32ptslength-2],Node32compspts[Node32ptslength-1],0,0];
- var Node32startCompspts = [Node32compspts[0],Node32compspts[1],0,0];
- Node32.setImage(GD.getPolyLineJSON());
- Node32.setPosition(Node32rect.x+Node32rect.width/2,Node32rect.y+Node32rect.height/2);
- Node32.setSize(Node32rect.width,Node32rect.height);
- Node32.setStyle("opacity",1);
- Node32.s({'pixelPerfect':true});
- Node32borderwidth=1;
- Node32.setRotation(0);
- dataModel.add(Node32);
- Node32.a('node.points',Node32compspts);
- Node32.a('node.segments',[1,2]);
- Node32.a('node.color','rgba(255,0,255,1)');
- Node32.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node32.a('node.borderColor','rgba(255,0,255,1)');
- Node32.a('node.background','rgba(255,0,255,1)');
- Node32.a('node.gradient','');
- Node32.a('node.gradientcolor','rgba(255,0,255,1)');
- Node32.a('node.endCompspts',Node32endCompspts);
- Node32.a('node.startCompspts',Node32startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node32';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node32, Node32.getImage(), Node32compspts, Node32endCompspts, Node32startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node33 = new ht.Node();
- var Node33textStart, Node33textWidth, Node33lineStart, Node33align = 'left', Node33fontSize = 13.3333*_ratio.ratioY,Node33width = 30*_ratio.ratioX, Node33height = 16*_ratio.ratioY;
- (function () {
- if (Node33align === 'left') {
- Node33textStart = Node33fontSize * 0.2 > 2 ? Node33fontSize * 0.2 - 4 : Node33fontSize * 0.2 - 9;
- Node33textWidth = Node33width;
- Node33lineStart = 1;
- } else if (Node33align === 'right') {
- Node33textStart = 0;
- Node33textWidth =Node33fontSize <= 8 ? Node33width + Node33fontSize * 0.2 + 6 : Node33width - Node33fontSize * 0.2;
- Node33lineStart = (Node33width - (ht.Default.getTextSize('211', ' '+ Node33fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node33align === 'center') {
- Node33textStart = -3;
- Node33textWidth = Node33width;
- Node33lineStart = Node33width - ht.Default.getTextSize('211', ' '+ Node33fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node33.setImage(GD.getTextJSON(Node33width, Node33height, true, false, false, ' '+ Node33fontSize + 'px "Arial"'))
- Node33.setPosition(1049*ratio.ratioX, 279*ratio.ratioY);
- Node33.setWidth(Node33width);
- Node33.setHeight(Node33height);
- Node33._nodeType = 'text';
- Node33._disallowEvert = true;
- Node33.setRotation(0*Math.PI/180);
- Node33.a('node.width', Node33width);
- Node33.a('node.height', Node33height);
- Node33.a('node.rect', [0, 0, Node33width, Node33height]);
- Node33.a('node.bordercolor','rgba(0,0,0,1)');
- Node33.a('node.borderwidth', 0);
- Node33.a('node.background','' || 'rgba(0,0,0,0)');
- Node33.a('node.gradient','');
- Node33.a('node.gradientcolor','');
- Node33.a('node.text','211');
- Node33.a('node.textalign','left');
- Node33.a('node.textvAlign','middle');
- Node33.a('node.textrect', [Node33textStart, 0, Node33textWidth, Node33height]);
- Node33.a('node.color','rgba(0,0,0,1)');
- Node33.a('node.font',' '+ Node33fontSize + 'px "Arial"');
- Node33.a('node.textvisible',true);
- Node33.a('node.linefeed',false);
- if (false) {
- Node33.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node33.a('node.text') || '211';
- var color=Node33.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node33width,Node33height,13.3333*_ratio.ratioY,"left",color,' '+ Node33fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node33.a('node.underlinepoints',[Node33lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node33fontSize + 2 , ht.Default.getTextSize('211', ' '+ Node33fontSize + 'px "Arial"').width + 6, (Node33height - Node33fontSize) * 0.5*_ratio.ratioY + Node33fontSize + 2 ]);
- Node33.a('node.underlinevisible',false);
- Node33.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node33);
- zoomNodeList.push({
- node: Node33,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node34 = new ht.Node();
- var Node34textStart, Node34textWidth, Node34lineStart, Node34align = 'left', Node34fontSize = 13.3333*_ratio.ratioY,Node34width = 41*_ratio.ratioX, Node34height = 16*_ratio.ratioY;
- (function () {
- if (Node34align === 'left') {
- Node34textStart = Node34fontSize * 0.2 > 2 ? Node34fontSize * 0.2 - 4 : Node34fontSize * 0.2 - 9;
- Node34textWidth = Node34width;
- Node34lineStart = 1;
- } else if (Node34align === 'right') {
- Node34textStart = 0;
- Node34textWidth =Node34fontSize <= 8 ? Node34width + Node34fontSize * 0.2 + 6 : Node34width - Node34fontSize * 0.2;
- Node34lineStart = (Node34width - (ht.Default.getTextSize('211-A', ' '+ Node34fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node34align === 'center') {
- Node34textStart = -3;
- Node34textWidth = Node34width;
- Node34lineStart = Node34width - ht.Default.getTextSize('211-A', ' '+ Node34fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node34.setImage(GD.getTextJSON(Node34width, Node34height, true, false, false, ' '+ Node34fontSize + 'px "Arial"'))
- Node34.setPosition(1054*ratio.ratioX, 313*ratio.ratioY);
- Node34.setWidth(Node34width);
- Node34.setHeight(Node34height);
- Node34._nodeType = 'text';
- Node34._disallowEvert = true;
- Node34.setRotation(0*Math.PI/180);
- Node34.a('node.width', Node34width);
- Node34.a('node.height', Node34height);
- Node34.a('node.rect', [0, 0, Node34width, Node34height]);
- Node34.a('node.bordercolor','rgba(0,0,0,1)');
- Node34.a('node.borderwidth', 0);
- Node34.a('node.background','' || 'rgba(0,0,0,0)');
- Node34.a('node.gradient','');
- Node34.a('node.gradientcolor','');
- Node34.a('node.text','211-A');
- Node34.a('node.textalign','left');
- Node34.a('node.textvAlign','middle');
- Node34.a('node.textrect', [Node34textStart, 0, Node34textWidth, Node34height]);
- Node34.a('node.color','rgba(0,0,0,1)');
- Node34.a('node.font',' '+ Node34fontSize + 'px "Arial"');
- Node34.a('node.textvisible',true);
- Node34.a('node.linefeed',false);
- if (false) {
- Node34.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node34.a('node.text') || '211-A';
- var color=Node34.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node34width,Node34height,13.3333*_ratio.ratioY,"left",color,' '+ Node34fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node34.a('node.underlinepoints',[Node34lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node34fontSize + 2 , ht.Default.getTextSize('211-A', ' '+ Node34fontSize + 'px "Arial"').width + 6, (Node34height - Node34fontSize) * 0.5*_ratio.ratioY + Node34fontSize + 2 ]);
- Node34.a('node.underlinevisible',false);
- Node34.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node34);
- zoomNodeList.push({
- node: Node34,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node35points=[1080, 251,1020, 251],
- Node35rect=ht.Default.unionPoint([{x:1080,y:251},{x:1020,y:251}]),
- Node35compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(0, ratio),
- _endratio = GD.getRatioWithRotation(3.14159265358979, ratio);
- for(var i=0;i<Node35points.length;i++){
- if(i%2==0){
- Node35compspts.push(Node35points[i]-Node35rect.x);
- }else{
- Node35compspts.push(Node35points[i]-Node35rect.y);
- }
- }
- var Node35ptslength=Node35compspts.length;
- if (Node35rect.height === 0) {
- Node35compspts[0] -= 0;
- Node35compspts[Node35ptslength-2] += 0;
- } else if (Node35rect.width === 0){
- Node35compspts[1] -= 0;
- Node35compspts[Node35ptslength-1] += 0;
- } else {
- Node35compspts[0] -= 0;
- Node35compspts[1] -= 0;
- Node35compspts[Node35ptslength-2] += 0;
- Node35compspts[Node35ptslength-1] += 0;
- }
- Node35 = new ht.Node();
- Node35.borderWidth = 1;
- Node35rect.width = Node35rect.width === 0 ? 0.0001 : Node35rect.width;
- Node35rect.height = Node35rect.height === 0 ? 0.0001 : Node35rect.height;
- var Node35endCompspts = [Node35compspts[Node35ptslength-2],Node35compspts[Node35ptslength-1],0,0];
- var Node35startCompspts = [Node35compspts[0],Node35compspts[1],0,0];
- Node35.setImage(GD.getPolyLineJSON());
- Node35.setPosition(Node35rect.x+Node35rect.width/2,Node35rect.y+Node35rect.height/2);
- Node35.setSize(Node35rect.width,Node35rect.height);
- Node35.setStyle("opacity",1);
- Node35.s({'pixelPerfect':true});
- Node35borderwidth=1;
- Node35.setRotation(0);
- dataModel.add(Node35);
- Node35.a('node.points',Node35compspts);
- Node35.a('node.segments',[1,2]);
- Node35.a('node.color','rgba(255,0,255,1)');
- Node35.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node35.a('node.borderColor','rgba(255,0,255,1)');
- Node35.a('node.background','rgba(255,0,255,1)');
- Node35.a('node.gradient','');
- Node35.a('node.gradientcolor','rgba(255,0,255,1)');
- Node35.a('node.endCompspts',Node35endCompspts);
- Node35.a('node.startCompspts',Node35startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node35';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node35, Node35.getImage(), Node35compspts, Node35endCompspts, Node35startCompspts);
- var Node36points=[1020, 251,1020, 241],
- Node36rect=ht.Default.unionPoint([{x:1020,y:251},{x:1020,y:241}]),
- Node36compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node36points.length;i++){
- if(i%2==0){
- Node36compspts.push(Node36points[i]-Node36rect.x);
- }else{
- Node36compspts.push(Node36points[i]-Node36rect.y);
- }
- }
- var Node36ptslength=Node36compspts.length;
- if (Node36rect.height === 0) {
- Node36compspts[0] -= 0;
- Node36compspts[Node36ptslength-2] += 0;
- } else if (Node36rect.width === 0){
- Node36compspts[1] -= 0;
- Node36compspts[Node36ptslength-1] += 0;
- } else {
- Node36compspts[0] -= 0;
- Node36compspts[1] -= 0;
- Node36compspts[Node36ptslength-2] += 0;
- Node36compspts[Node36ptslength-1] += 0;
- }
- Node36 = new ht.Node();
- Node36.borderWidth = 1;
- Node36rect.width = Node36rect.width === 0 ? 0.0001 : Node36rect.width;
- Node36rect.height = Node36rect.height === 0 ? 0.0001 : Node36rect.height;
- var Node36endCompspts = [Node36compspts[Node36ptslength-2],Node36compspts[Node36ptslength-1],0,0];
- var Node36startCompspts = [Node36compspts[0],Node36compspts[1],0,0];
- Node36.setImage(GD.getPolyLineJSON());
- Node36.setPosition(Node36rect.x+Node36rect.width/2,Node36rect.y+Node36rect.height/2);
- Node36.setSize(Node36rect.width,Node36rect.height);
- Node36.setStyle("opacity",1);
- Node36.s({'pixelPerfect':true});
- Node36borderwidth=1;
- Node36.setRotation(0);
- dataModel.add(Node36);
- Node36.a('node.points',Node36compspts);
- Node36.a('node.segments',[1,2]);
- Node36.a('node.color','rgba(255,0,255,1)');
- Node36.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node36.a('node.borderColor','rgba(255,0,255,1)');
- Node36.a('node.background','rgba(255,0,255,1)');
- Node36.a('node.gradient','');
- Node36.a('node.gradientcolor','rgba(255,0,255,1)');
- Node36.a('node.endCompspts',Node36endCompspts);
- Node36.a('node.startCompspts',Node36startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node36';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node36, Node36.getImage(), Node36compspts, Node36endCompspts, Node36startCompspts);
- var Node37points=[1080, 221,1080, 191],
- Node37rect=ht.Default.unionPoint([{x:1080,y:221},{x:1080,y:191}]),
- Node37compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node37points.length;i++){
- if(i%2==0){
- Node37compspts.push(Node37points[i]-Node37rect.x);
- }else{
- Node37compspts.push(Node37points[i]-Node37rect.y);
- }
- }
- var Node37ptslength=Node37compspts.length;
- if (Node37rect.height === 0) {
- Node37compspts[0] -= 0;
- Node37compspts[Node37ptslength-2] += 0;
- } else if (Node37rect.width === 0){
- Node37compspts[1] -= 0;
- Node37compspts[Node37ptslength-1] += 0;
- } else {
- Node37compspts[0] -= 0;
- Node37compspts[1] -= 0;
- Node37compspts[Node37ptslength-2] += 0;
- Node37compspts[Node37ptslength-1] += 0;
- }
- Node37 = new ht.Node();
- Node37.borderWidth = 1;
- Node37rect.width = Node37rect.width === 0 ? 0.0001 : Node37rect.width;
- Node37rect.height = Node37rect.height === 0 ? 0.0001 : Node37rect.height;
- var Node37endCompspts = [Node37compspts[Node37ptslength-2],Node37compspts[Node37ptslength-1],0,0];
- var Node37startCompspts = [Node37compspts[0],Node37compspts[1],0,0];
- Node37.setImage(GD.getPolyLineJSON());
- Node37.setPosition(Node37rect.x+Node37rect.width/2,Node37rect.y+Node37rect.height/2);
- Node37.setSize(Node37rect.width,Node37rect.height);
- Node37.setStyle("opacity",1);
- Node37.s({'pixelPerfect':true});
- Node37borderwidth=1;
- Node37.setRotation(0);
- dataModel.add(Node37);
- Node37.a('node.points',Node37compspts);
- Node37.a('node.segments',[1,2]);
- Node37.a('node.color','rgba(255,0,255,1)');
- Node37.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node37.a('node.borderColor','rgba(255,0,255,1)');
- Node37.a('node.background','rgba(255,0,255,1)');
- Node37.a('node.gradient','');
- Node37.a('node.gradientcolor','rgba(255,0,255,1)');
- Node37.a('node.endCompspts',Node37endCompspts);
- Node37.a('node.startCompspts',Node37startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node37';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node37, Node37.getImage(), Node37compspts, Node37endCompspts, Node37startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node38 = new ht.Node();
- var Node38textStart, Node38textWidth, Node38lineStart, Node38align = 'left', Node38fontSize = 13.3333*_ratio.ratioY,Node38width = 47*_ratio.ratioX, Node38height = 24*_ratio.ratioY;
- (function () {
- if (Node38align === 'left') {
- Node38textStart = Node38fontSize * 0.2 > 2 ? Node38fontSize * 0.2 - 4 : Node38fontSize * 0.2 - 9;
- Node38textWidth = Node38width;
- Node38lineStart = 1;
- } else if (Node38align === 'right') {
- Node38textStart = 0;
- Node38textWidth =Node38fontSize <= 8 ? Node38width + Node38fontSize * 0.2 + 6 : Node38width - Node38fontSize * 0.2;
- Node38lineStart = (Node38width - (ht.Default.getTextSize('211-10', ' '+ Node38fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node38align === 'center') {
- Node38textStart = -3;
- Node38textWidth = Node38width;
- Node38lineStart = Node38width - ht.Default.getTextSize('211-10', ' '+ Node38fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node38.setImage(GD.getTextJSON(Node38width, Node38height, true, false, false, ' '+ Node38fontSize + 'px "Arial"'))
- Node38.setPosition(983*ratio.ratioX, 229*ratio.ratioY);
- Node38.setWidth(Node38width);
- Node38.setHeight(Node38height);
- Node38._nodeType = 'text';
- Node38._disallowEvert = true;
- Node38.setRotation(0*Math.PI/180);
- Node38.a('node.width', Node38width);
- Node38.a('node.height', Node38height);
- Node38.a('node.rect', [0, 0, Node38width, Node38height]);
- Node38.a('node.bordercolor','rgba(0,0,0,1)');
- Node38.a('node.borderwidth', 0);
- Node38.a('node.background','' || 'rgba(0,0,0,0)');
- Node38.a('node.gradient','');
- Node38.a('node.gradientcolor','');
- Node38.a('node.text','211-10');
- Node38.a('node.textalign','left');
- Node38.a('node.textvAlign','middle');
- Node38.a('node.textrect', [Node38textStart, 0, Node38textWidth, Node38height]);
- Node38.a('node.color','rgba(0,0,0,1)');
- Node38.a('node.font',' '+ Node38fontSize + 'px "Arial"');
- Node38.a('node.textvisible',true);
- Node38.a('node.linefeed',false);
- if (false) {
- Node38.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node38.a('node.text') || '211-10';
- var color=Node38.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node38width,Node38height,13.3333*_ratio.ratioY,"left",color,' '+ Node38fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node38.a('node.underlinepoints',[Node38lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node38fontSize + 2 , ht.Default.getTextSize('211-10', ' '+ Node38fontSize + 'px "Arial"').width + 6, (Node38height - Node38fontSize) * 0.5*_ratio.ratioY + Node38fontSize + 2 ]);
- Node38.a('node.underlinevisible',false);
- Node38.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node38);
- zoomNodeList.push({
- node: Node38,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node39 = new ht.Node();
- var Node39textStart, Node39textWidth, Node39lineStart, Node39align = 'left', Node39fontSize = 13.3333*_ratio.ratioY,Node39width = 39*_ratio.ratioX, Node39height = 16*_ratio.ratioY;
- (function () {
- if (Node39align === 'left') {
- Node39textStart = Node39fontSize * 0.2 > 2 ? Node39fontSize * 0.2 - 4 : Node39fontSize * 0.2 - 9;
- Node39textWidth = Node39width;
- Node39lineStart = 1;
- } else if (Node39align === 'right') {
- Node39textStart = 0;
- Node39textWidth =Node39fontSize <= 8 ? Node39width + Node39fontSize * 0.2 + 6 : Node39width - Node39fontSize * 0.2;
- Node39lineStart = (Node39width - (ht.Default.getTextSize('211-1', ' '+ Node39fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node39align === 'center') {
- Node39textStart = -3;
- Node39textWidth = Node39width;
- Node39lineStart = Node39width - ht.Default.getTextSize('211-1', ' '+ Node39fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node39.setImage(GD.getTextJSON(Node39width, Node39height, true, false, false, ' '+ Node39fontSize + 'px "Arial"'))
- Node39.setPosition(1053*ratio.ratioX, 229*ratio.ratioY);
- Node39.setWidth(Node39width);
- Node39.setHeight(Node39height);
- Node39._nodeType = 'text';
- Node39._disallowEvert = true;
- Node39.setRotation(0*Math.PI/180);
- Node39.a('node.width', Node39width);
- Node39.a('node.height', Node39height);
- Node39.a('node.rect', [0, 0, Node39width, Node39height]);
- Node39.a('node.bordercolor','rgba(0,0,0,1)');
- Node39.a('node.borderwidth', 0);
- Node39.a('node.background','' || 'rgba(0,0,0,0)');
- Node39.a('node.gradient','');
- Node39.a('node.gradientcolor','');
- Node39.a('node.text','211-1');
- Node39.a('node.textalign','left');
- Node39.a('node.textvAlign','middle');
- Node39.a('node.textrect', [Node39textStart, 0, Node39textWidth, Node39height]);
- Node39.a('node.color','rgba(0,0,0,1)');
- Node39.a('node.font',' '+ Node39fontSize + 'px "Arial"');
- Node39.a('node.textvisible',true);
- Node39.a('node.linefeed',false);
- if (false) {
- Node39.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node39.a('node.text') || '211-1';
- var color=Node39.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node39width,Node39height,13.3333*_ratio.ratioY,"left",color,' '+ Node39fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node39.a('node.underlinepoints',[Node39lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node39fontSize + 2 , ht.Default.getTextSize('211-1', ' '+ Node39fontSize + 'px "Arial"').width + 6, (Node39height - Node39fontSize) * 0.5*_ratio.ratioY + Node39fontSize + 2 ]);
- Node39.a('node.underlinevisible',false);
- Node39.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node39);
- zoomNodeList.push({
- node: Node39,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node40 = new ht.Node();
- var Node40textStart, Node40textWidth, Node40lineStart, Node40align = 'left', Node40fontSize = 13.3333*_ratio.ratioY,Node40width = 54*_ratio.ratioX, Node40height = 16*_ratio.ratioY;
- (function () {
- if (Node40align === 'left') {
- Node40textStart = Node40fontSize * 0.2 > 2 ? Node40fontSize * 0.2 - 4 : Node40fontSize * 0.2 - 9;
- Node40textWidth = Node40width;
- Node40lineStart = 1;
- } else if (Node40align === 'right') {
- Node40textStart = 0;
- Node40textWidth =Node40fontSize <= 8 ? Node40width + Node40fontSize * 0.2 + 6 : Node40width - Node40fontSize * 0.2;
- Node40lineStart = (Node40width - (ht.Default.getTextSize('211-线0', ' '+ Node40fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node40align === 'center') {
- Node40textStart = -3;
- Node40textWidth = Node40width;
- Node40lineStart = Node40width - ht.Default.getTextSize('211-线0', ' '+ Node40fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node40.setImage(GD.getTextJSON(Node40width, Node40height, true, false, false, ' '+ Node40fontSize + 'px "Arial"'))
- Node40.setPosition(1181*ratio.ratioX, 229*ratio.ratioY);
- Node40.setWidth(Node40width);
- Node40.setHeight(Node40height);
- Node40._nodeType = 'text';
- Node40._disallowEvert = true;
- Node40.setRotation(0*Math.PI/180);
- Node40.a('node.width', Node40width);
- Node40.a('node.height', Node40height);
- Node40.a('node.rect', [0, 0, Node40width, Node40height]);
- Node40.a('node.bordercolor','rgba(0,0,0,1)');
- Node40.a('node.borderwidth', 0);
- Node40.a('node.background','' || 'rgba(0,0,0,0)');
- Node40.a('node.gradient','');
- Node40.a('node.gradientcolor','');
- Node40.a('node.text','211-线0');
- Node40.a('node.textalign','left');
- Node40.a('node.textvAlign','middle');
- Node40.a('node.textrect', [Node40textStart, 0, Node40textWidth, Node40height]);
- Node40.a('node.color','rgba(0,0,0,1)');
- Node40.a('node.font',' '+ Node40fontSize + 'px "Arial"');
- Node40.a('node.textvisible',true);
- Node40.a('node.linefeed',false);
- if (false) {
- Node40.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node40.a('node.text') || '211-线0';
- var color=Node40.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node40width,Node40height,13.3333*_ratio.ratioY,"left",color,' '+ Node40fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node40.a('node.underlinepoints',[Node40lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node40fontSize + 2 , ht.Default.getTextSize('211-线0', ' '+ Node40fontSize + 'px "Arial"').width + 6, (Node40height - Node40fontSize) * 0.5*_ratio.ratioY + Node40fontSize + 2 ]);
- Node40.a('node.underlinevisible',false);
- Node40.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node40);
- zoomNodeList.push({
- node: Node40,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node41 = new ht.lib['紫箭头'](1079*ratio.ratioX, 186*ratio.ratioY, 10*_ratio.ratioX, 10*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node41');
- _libModel.add("Node41", Node41);
- Node41.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node42 = new ht.lib['pt接地'](1020*ratio.ratioX, 216*ratio.ratioY, 16*_ratio.ratioX, 14*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node42');
- _libModel.add("Node42", Node42);
- Node42.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node43 = new ht.Node();
- var Node43textStart, Node43textWidth, Node43lineStart, Node43align = 'left', Node43fontSize = 13.3333*_ratio.ratioY,Node43width = 54*_ratio.ratioX, Node43height = 16*_ratio.ratioY;
- (function () {
- if (Node43align === 'left') {
- Node43textStart = Node43fontSize * 0.2 > 2 ? Node43fontSize * 0.2 - 4 : Node43fontSize * 0.2 - 9;
- Node43textWidth = Node43width;
- Node43lineStart = 1;
- } else if (Node43align === 'right') {
- Node43textStart = 0;
- Node43textWidth =Node43fontSize <= 8 ? Node43width + Node43fontSize * 0.2 + 6 : Node43width - Node43fontSize * 0.2;
- Node43lineStart = (Node43width - (ht.Default.getTextSize('211-A0', ' '+ Node43fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node43align === 'center') {
- Node43textStart = -3;
- Node43textWidth = Node43width;
- Node43lineStart = Node43width - ht.Default.getTextSize('211-A0', ' '+ Node43fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node43.setImage(GD.getTextJSON(Node43width, Node43height, true, false, false, ' '+ Node43fontSize + 'px "Arial"'))
- Node43.setPosition(1181*ratio.ratioX, 310*ratio.ratioY);
- Node43.setWidth(Node43width);
- Node43.setHeight(Node43height);
- Node43._nodeType = 'text';
- Node43._disallowEvert = true;
- Node43.setRotation(0*Math.PI/180);
- Node43.a('node.width', Node43width);
- Node43.a('node.height', Node43height);
- Node43.a('node.rect', [0, 0, Node43width, Node43height]);
- Node43.a('node.bordercolor','rgba(0,0,0,1)');
- Node43.a('node.borderwidth', 0);
- Node43.a('node.background','' || 'rgba(0,0,0,0)');
- Node43.a('node.gradient','');
- Node43.a('node.gradientcolor','');
- Node43.a('node.text','211-A0');
- Node43.a('node.textalign','left');
- Node43.a('node.textvAlign','middle');
- Node43.a('node.textrect', [Node43textStart, 0, Node43textWidth, Node43height]);
- Node43.a('node.color','rgba(0,0,0,1)');
- Node43.a('node.font',' '+ Node43fontSize + 'px "Arial"');
- Node43.a('node.textvisible',true);
- Node43.a('node.linefeed',false);
- if (false) {
- Node43.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node43.a('node.text') || '211-A0';
- var color=Node43.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node43width,Node43height,13.3333*_ratio.ratioY,"left",color,' '+ Node43fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node43.a('node.underlinepoints',[Node43lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node43fontSize + 2 , ht.Default.getTextSize('211-A0', ' '+ Node43fontSize + 'px "Arial"').width + 6, (Node43height - Node43fontSize) * 0.5*_ratio.ratioY + Node43fontSize + 2 ]);
- Node43.a('node.underlinevisible',false);
- Node43.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node43);
- zoomNodeList.push({
- node: Node43,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node44points=[1080, 321,1080, 361],
- Node44rect=ht.Default.unionPoint([{x:1080,y:321},{x:1080,y:361}]),
- Node44compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node44points.length;i++){
- if(i%2==0){
- Node44compspts.push(Node44points[i]-Node44rect.x);
- }else{
- Node44compspts.push(Node44points[i]-Node44rect.y);
- }
- }
- var Node44ptslength=Node44compspts.length;
- if (Node44rect.height === 0) {
- Node44compspts[0] -= 0;
- Node44compspts[Node44ptslength-2] += 0;
- } else if (Node44rect.width === 0){
- Node44compspts[1] -= 0;
- Node44compspts[Node44ptslength-1] += 0;
- } else {
- Node44compspts[0] -= 0;
- Node44compspts[1] -= 0;
- Node44compspts[Node44ptslength-2] += 0;
- Node44compspts[Node44ptslength-1] += 0;
- }
- Node44 = new ht.Node();
- Node44.borderWidth = 1;
- Node44rect.width = Node44rect.width === 0 ? 0.0001 : Node44rect.width;
- Node44rect.height = Node44rect.height === 0 ? 0.0001 : Node44rect.height;
- var Node44endCompspts = [Node44compspts[Node44ptslength-2],Node44compspts[Node44ptslength-1],0,0];
- var Node44startCompspts = [Node44compspts[0],Node44compspts[1],0,0];
- Node44.setImage(GD.getPolyLineJSON());
- Node44.setPosition(Node44rect.x+Node44rect.width/2,Node44rect.y+Node44rect.height/2);
- Node44.setSize(Node44rect.width,Node44rect.height);
- Node44.setStyle("opacity",1);
- Node44.s({'pixelPerfect':true});
- Node44borderwidth=1;
- Node44.setRotation(0);
- dataModel.add(Node44);
- Node44.a('node.points',Node44compspts);
- Node44.a('node.segments',[1,2]);
- Node44.a('node.color','rgba(255,0,255,1)');
- Node44.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node44.a('node.borderColor','rgba(255,0,255,1)');
- Node44.a('node.background','rgba(255,0,255,1)');
- Node44.a('node.gradient','');
- Node44.a('node.gradientcolor','rgba(255,0,255,1)');
- Node44.a('node.endCompspts',Node44endCompspts);
- Node44.a('node.startCompspts',Node44startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node44';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node44, Node44.getImage(), Node44compspts, Node44endCompspts, Node44startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node45_0 = new ht.lib['接地'](7*ratio.ratioX, 6*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node45_0');
- _libModel.add("Node45_0", Node45_0);
- Node45_0.setRotation(0*Math.PI/180);
- ;
- ;
- Node45DataModel = new ht.DataModel();
- globalVarNameList.push('Node45DataModel');
- //Node45graphPane = new GraphPaneContainer(Node45DataModel,1142,329,20,20,'rgba(255,255,255,0)');
- //document.body.appendChild(Node45graphPane.getView());
- //Node45graphPane.getGraphView().setEditable(true);
- Node45graphPane= new ht.graph.GraphView(Node45DataModel);
- globalVarNameList.push('Node45graphPane');
- jQuery.isArray(graphView.graphViewList) && graphView.graphViewList.push(Node45graphPane);
- Node45graphPane.setScrollBarSize(6);
- $(Node45graphPane.getView()).css({
- border: "1px solid rgba(255,255,255,0)",
- boxSizing: 'content-box'
-
- });
- var Node45 = new ht.HtmlNode();
- Node45.setScalable(false);
- Node45.s({
- '2d.selectable': true,
- '2d.movable': false
- });
- Node45.setHtml(Node45graphPane);
- Node45.setPosition({x:1142*ratio.ratioX,y:329*ratio.ratioY});
- Node45.setWidth(20*ratio.ratioX);
- Node45.setHeight(20*ratio.ratioY);
- Node45.setPadding(0);
- dataModel.add(Node45);
- globalAliasObj['Node45Alias'] = Node45;
- Node45._allowChildScale = false;
- (function () {
- var s = Node45.s;
- Node45.s = function () {
- var args = Array.prototype.slice.call(arguments, 0);
- var paneView = Node45graphPane.getView();
- if (args[0] === '2d.visible' && args[1] !== undefined) {
- if (args[1] === false) {
- paneView.style.display = 'none';
- } else {
- paneView.style.display = 'block';
- }
- }
- return s.apply(Node45, args);
- }
- })();
- var Node45timer = setTimeout(function setFanContainer() {
- var graphPane = Node45graphPane,
- hNode = Node45,
- zoomValue = graphView.getZoom();
- function resetZoomAndPosition(zoom) {
- graphPane.setZoom(zoom);
- graphPane.tx(0);
- graphPane.ty(0);
- }
- function resizeOverEvent (e) {
- var blockList = graphPane.blockList;
- var bw = blockList[0].getWidth(),
- bh = blockList[0].getHeight(),
- halfBw = bw * 0.5,
- halfBh = bh * 0.5,
- verticalInterval = 1;
- if (graphPane.ty() !== 0) {
- graphPane.ty(0);
- }
- if (graphPane.tx() !== 0) {
- graphPane.tx(0);
- }
-
- function reArrange() {
- var w = $(graphPane.getView()).width()-10,
- h = $(graphPane.getView()).height();
- var block, index, count, hInterval, totalInterval, rowIndex = -1, px, py, ox, oy, fx, fy, fp;
-
- if (blockList.length === 1) {
- graphPane.adjustTranslateY = function () {
- return 0;
- }
- // graphPane.setScrollBarColor('rgba(122, 122, 122, 0)');
- graphPane.setScrollBarColor('rgba(211,211,211,1)');
- } else {
- graphPane.adjustTranslateY = adjustTranslateY;
- //graphPane.setScrollBarColor('rgba(122, 122, 122, 0.4)');
- graphPane.setScrollBarColor('rgba(211,211,211,1)');
- }
- graphPane.totalWidth = w;
- count = Math.floor(w / bw) || 1;
- totalInterval = w % bw;
- totalInterval = totalInterval < 0 ? 0 : totalInterval;
- hInterval = Math.floor(totalInterval/count);
- for ( var i = 0, len = blockList.length; i < len; i++) {
- block = blockList[i];
- index = i % count;
- if (index === 0) {
- rowIndex++;
- }
- px = index * (bw + hInterval) + halfBw;
- py = rowIndex * (bh + verticalInterval) + halfBh;
- fp = block.getPosition();
- fx = fp.x;
- fy = fp.y;
- ox = px - fx;
- oy = py - fy;
- // 如果容器内有多个图元,则位置加1,防止过于靠近上部我左侧而出现滚动条
- if (len > 1) {
- ox += 1;
- oy += 1;
- }
- if (hNode._allowChildScale) { // 图元可缩放时按原来位置排列
- block.setPosition(px, py);
- } else {
- block.setPosition(fx + ox, fy + oy); // 图元不可绽放时按计算的位置排列
- }
- }
- }
- reArrange();
- setTimeout(reArrange, 50);
- }
- function adjustTranslateY (value) {
- var contentSize = graphPane.getContentRect();
- var min = graphPane.getHeight() - contentSize.height - 50;
-
- value = value > 0 ? 0 : value;
- value = value < min ? min : value;
- return value;
- }
- function adjustTranslateX (value) {
- return 0;
- }
- graphView.mp(function(e) {
- if (e.property !== 'zoom') {
- return ;
- }
- resetZoomAndPosition(e.newValue);
- })
- graphPane.getView().addEventListener('mouseover', function (e) {
- e.preventDefault();
- e.stopPropagation();
- graphView.setInteractors(null);
- });
- graphPane.getView().addEventListener('mouseleave', function (e) {
- e.preventDefault();
- e.stopPropagation();
- graphView.setEditable(false);
- })
- graphPane.getView().addEventListener('mousedown', function (e) {
- e.preventDefault();
- e.stopPropagation();
- graphView.setEditable(true);
- })
- // graphPane.getView().addEventListener('mouseup', function (e) {
- // e.preventDefault();
- // e.stopPropagation();
- // graphView.setEditable(false);
- // })
- graphPane.setZoom(zoomValue);
- resetZoomAndPosition(zoomValue);
- // graphPane.setAutoHideScrollBar(false);
- graphPane.setAutoHideScrollBar(true);
- graphPane.setScrollBarSize(6);
- graphPane.setScrollBarColor('rgba(122, 122, 122, 0.4)');
- graphPane.setInteractors(null);
- graphPane.setInteractors([
- // new ht.graph.ScrollBarInteractor(graphPane),
- new ht.graph.DefaultInteractor(graphPane)
- ]);
- graphPane.adjustTranslateY = adjustTranslateY;
- graphPane.adjustTranslateX = adjustTranslateX;
- graphPane.handleScroll = function(data) {
- var t = graphPane.ty() - data.deltaY;
- var contentSize = graphPane.getContentRect();
- var min = contentSize.height - graphPane.getHeight() + 50;
- if (min <= 50)
- return ;
- graphPane.setTranslate(0, t, true);
- }
- graphPane.setPannable(false);
- graphPane.setMovableFunc(function(data){return false});
- resizeOverEvent();
- $window.off('resizeOver', resizeOverEvent).on('resizeOver', resizeOverEvent);
- clearTimeout(Node45timer);
- }, 80);addNodeToContainer(dataModel,Node45,Node45graphPane,[Node45_0]);var Node46points=[540, 281,540, 304],
- Node46rect=ht.Default.unionPoint([{x:540,y:281},{x:540,y:304}]),
- Node46compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node46points.length;i++){
- if(i%2==0){
- Node46compspts.push(Node46points[i]-Node46rect.x);
- }else{
- Node46compspts.push(Node46points[i]-Node46rect.y);
- }
- }
- var Node46ptslength=Node46compspts.length;
- if (Node46rect.height === 0) {
- Node46compspts[0] -= 0;
- Node46compspts[Node46ptslength-2] += 0;
- } else if (Node46rect.width === 0){
- Node46compspts[1] -= 0;
- Node46compspts[Node46ptslength-1] += 0;
- } else {
- Node46compspts[0] -= 0;
- Node46compspts[1] -= 0;
- Node46compspts[Node46ptslength-2] += 0;
- Node46compspts[Node46ptslength-1] += 0;
- }
- Node46 = new ht.Node();
- Node46.borderWidth = 1;
- Node46rect.width = Node46rect.width === 0 ? 0.0001 : Node46rect.width;
- Node46rect.height = Node46rect.height === 0 ? 0.0001 : Node46rect.height;
- var Node46endCompspts = [Node46compspts[Node46ptslength-2],Node46compspts[Node46ptslength-1],0,0];
- var Node46startCompspts = [Node46compspts[0],Node46compspts[1],0,0];
- Node46.setImage(GD.getPolyLineJSON());
- Node46.setPosition(Node46rect.x+Node46rect.width/2,Node46rect.y+Node46rect.height/2);
- Node46.setSize(Node46rect.width,Node46rect.height);
- Node46.setStyle("opacity",1);
- Node46.s({'pixelPerfect':true});
- Node46borderwidth=1;
- Node46.setRotation(0);
- dataModel.add(Node46);
- Node46.a('node.points',Node46compspts);
- Node46.a('node.segments',[1,2]);
- Node46.a('node.color','rgba(255,0,255,1)');
- Node46.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node46.a('node.borderColor','rgba(255,0,255,1)');
- Node46.a('node.background','rgba(255,0,255,1)');
- Node46.a('node.gradient','');
- Node46.a('node.gradientcolor','rgba(255,0,255,1)');
- Node46.a('node.endCompspts',Node46endCompspts);
- Node46.a('node.startCompspts',Node46startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node46';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node46, Node46.getImage(), Node46compspts, Node46endCompspts, Node46startCompspts);
- var Node47points=[540, 237,540, 265],
- Node47rect=ht.Default.unionPoint([{x:540,y:237},{x:540,y:265}]),
- Node47compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node47points.length;i++){
- if(i%2==0){
- Node47compspts.push(Node47points[i]-Node47rect.x);
- }else{
- Node47compspts.push(Node47points[i]-Node47rect.y);
- }
- }
- var Node47ptslength=Node47compspts.length;
- if (Node47rect.height === 0) {
- Node47compspts[0] -= 0;
- Node47compspts[Node47ptslength-2] += 0;
- } else if (Node47rect.width === 0){
- Node47compspts[1] -= 0;
- Node47compspts[Node47ptslength-1] += 0;
- } else {
- Node47compspts[0] -= 0;
- Node47compspts[1] -= 0;
- Node47compspts[Node47ptslength-2] += 0;
- Node47compspts[Node47ptslength-1] += 0;
- }
- Node47 = new ht.Node();
- Node47.borderWidth = 1;
- Node47rect.width = Node47rect.width === 0 ? 0.0001 : Node47rect.width;
- Node47rect.height = Node47rect.height === 0 ? 0.0001 : Node47rect.height;
- var Node47endCompspts = [Node47compspts[Node47ptslength-2],Node47compspts[Node47ptslength-1],0,0];
- var Node47startCompspts = [Node47compspts[0],Node47compspts[1],0,0];
- Node47.setImage(GD.getPolyLineJSON());
- Node47.setPosition(Node47rect.x+Node47rect.width/2,Node47rect.y+Node47rect.height/2);
- Node47.setSize(Node47rect.width,Node47rect.height);
- Node47.setStyle("opacity",1);
- Node47.s({'pixelPerfect':true});
- Node47borderwidth=1;
- Node47.setRotation(0);
- dataModel.add(Node47);
- Node47.a('node.points',Node47compspts);
- Node47.a('node.segments',[1,2]);
- Node47.a('node.color','rgba(255,0,255,1)');
- Node47.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node47.a('node.borderColor','rgba(255,0,255,1)');
- Node47.a('node.background','rgba(255,0,255,1)');
- Node47.a('node.gradient','');
- Node47.a('node.gradientcolor','rgba(255,0,255,1)');
- Node47.a('node.endCompspts',Node47endCompspts);
- Node47.a('node.startCompspts',Node47startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node47';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node47, Node47.getImage(), Node47compspts, Node47endCompspts, Node47startCompspts);
- var Node48points=[540, 291,600, 291],
- Node48rect=ht.Default.unionPoint([{x:540,y:291},{x:600,y:291}]),
- Node48compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node48points.length;i++){
- if(i%2==0){
- Node48compspts.push(Node48points[i]-Node48rect.x);
- }else{
- Node48compspts.push(Node48points[i]-Node48rect.y);
- }
- }
- var Node48ptslength=Node48compspts.length;
- if (Node48rect.height === 0) {
- Node48compspts[0] -= 0;
- Node48compspts[Node48ptslength-2] += 0;
- } else if (Node48rect.width === 0){
- Node48compspts[1] -= 0;
- Node48compspts[Node48ptslength-1] += 0;
- } else {
- Node48compspts[0] -= 0;
- Node48compspts[1] -= 0;
- Node48compspts[Node48ptslength-2] += 0;
- Node48compspts[Node48ptslength-1] += 0;
- }
- Node48 = new ht.Node();
- Node48.borderWidth = 1;
- Node48rect.width = Node48rect.width === 0 ? 0.0001 : Node48rect.width;
- Node48rect.height = Node48rect.height === 0 ? 0.0001 : Node48rect.height;
- var Node48endCompspts = [Node48compspts[Node48ptslength-2],Node48compspts[Node48ptslength-1],0,0];
- var Node48startCompspts = [Node48compspts[0],Node48compspts[1],0,0];
- Node48.setImage(GD.getPolyLineJSON());
- Node48.setPosition(Node48rect.x+Node48rect.width/2,Node48rect.y+Node48rect.height/2);
- Node48.setSize(Node48rect.width,Node48rect.height);
- Node48.setStyle("opacity",1);
- Node48.s({'pixelPerfect':true});
- Node48borderwidth=1;
- Node48.setRotation(0);
- dataModel.add(Node48);
- Node48.a('node.points',Node48compspts);
- Node48.a('node.segments',[1,2]);
- Node48.a('node.color','rgba(255,0,255,1)');
- Node48.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node48.a('node.borderColor','rgba(255,0,255,1)');
- Node48.a('node.background','rgba(255,0,255,1)');
- Node48.a('node.gradient','');
- Node48.a('node.gradientcolor','rgba(255,0,255,1)');
- Node48.a('node.endCompspts',Node48endCompspts);
- Node48.a('node.startCompspts',Node48startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node48';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node48, Node48.getImage(), Node48compspts, Node48endCompspts, Node48startCompspts);
- var Node49points=[600, 291,600, 300],
- Node49rect=ht.Default.unionPoint([{x:600,y:291},{x:600,y:300}]),
- Node49compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node49points.length;i++){
- if(i%2==0){
- Node49compspts.push(Node49points[i]-Node49rect.x);
- }else{
- Node49compspts.push(Node49points[i]-Node49rect.y);
- }
- }
- var Node49ptslength=Node49compspts.length;
- if (Node49rect.height === 0) {
- Node49compspts[0] -= 0;
- Node49compspts[Node49ptslength-2] += 0;
- } else if (Node49rect.width === 0){
- Node49compspts[1] -= 0;
- Node49compspts[Node49ptslength-1] += 0;
- } else {
- Node49compspts[0] -= 0;
- Node49compspts[1] -= 0;
- Node49compspts[Node49ptslength-2] += 0;
- Node49compspts[Node49ptslength-1] += 0;
- }
- Node49 = new ht.Node();
- Node49.borderWidth = 1;
- Node49rect.width = Node49rect.width === 0 ? 0.0001 : Node49rect.width;
- Node49rect.height = Node49rect.height === 0 ? 0.0001 : Node49rect.height;
- var Node49endCompspts = [Node49compspts[Node49ptslength-2],Node49compspts[Node49ptslength-1],0,0];
- var Node49startCompspts = [Node49compspts[0],Node49compspts[1],0,0];
- Node49.setImage(GD.getPolyLineJSON());
- Node49.setPosition(Node49rect.x+Node49rect.width/2,Node49rect.y+Node49rect.height/2);
- Node49.setSize(Node49rect.width,Node49rect.height);
- Node49.setStyle("opacity",1);
- Node49.s({'pixelPerfect':true});
- Node49borderwidth=1;
- Node49.setRotation(0);
- dataModel.add(Node49);
- Node49.a('node.points',Node49compspts);
- Node49.a('node.segments',[1,2]);
- Node49.a('node.color','rgba(255,0,255,1)');
- Node49.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node49.a('node.borderColor','rgba(255,0,255,1)');
- Node49.a('node.background','rgba(255,0,255,1)');
- Node49.a('node.gradient','');
- Node49.a('node.gradientcolor','rgba(255,0,255,1)');
- Node49.a('node.endCompspts',Node49endCompspts);
- Node49.a('node.startCompspts',Node49startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node49';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node49, Node49.getImage(), Node49compspts, Node49endCompspts, Node49startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node50 = new ht.Node();
- var Node50textStart, Node50textWidth, Node50lineStart, Node50align = 'left', Node50fontSize = 13.3333*_ratio.ratioY,Node50width = 30*_ratio.ratioX, Node50height = 16*_ratio.ratioY;
- (function () {
- if (Node50align === 'left') {
- Node50textStart = Node50fontSize * 0.2 > 2 ? Node50fontSize * 0.2 - 4 : Node50fontSize * 0.2 - 9;
- Node50textWidth = Node50width;
- Node50lineStart = 1;
- } else if (Node50align === 'right') {
- Node50textStart = 0;
- Node50textWidth =Node50fontSize <= 8 ? Node50width + Node50fontSize * 0.2 + 6 : Node50width - Node50fontSize * 0.2;
- Node50lineStart = (Node50width - (ht.Default.getTextSize('212', ' '+ Node50fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node50align === 'center') {
- Node50textStart = -3;
- Node50textWidth = Node50width;
- Node50lineStart = Node50width - ht.Default.getTextSize('212', ' '+ Node50fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node50.setImage(GD.getTextJSON(Node50width, Node50height, true, false, false, ' '+ Node50fontSize + 'px "Arial"'))
- Node50.setPosition(509*ratio.ratioX, 279*ratio.ratioY);
- Node50.setWidth(Node50width);
- Node50.setHeight(Node50height);
- Node50._nodeType = 'text';
- Node50._disallowEvert = true;
- Node50.setRotation(0*Math.PI/180);
- Node50.a('node.width', Node50width);
- Node50.a('node.height', Node50height);
- Node50.a('node.rect', [0, 0, Node50width, Node50height]);
- Node50.a('node.bordercolor','rgba(0,0,0,1)');
- Node50.a('node.borderwidth', 0);
- Node50.a('node.background','' || 'rgba(0,0,0,0)');
- Node50.a('node.gradient','');
- Node50.a('node.gradientcolor','');
- Node50.a('node.text','212');
- Node50.a('node.textalign','left');
- Node50.a('node.textvAlign','middle');
- Node50.a('node.textrect', [Node50textStart, 0, Node50textWidth, Node50height]);
- Node50.a('node.color','rgba(0,0,0,1)');
- Node50.a('node.font',' '+ Node50fontSize + 'px "Arial"');
- Node50.a('node.textvisible',true);
- Node50.a('node.linefeed',false);
- if (false) {
- Node50.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node50.a('node.text') || '212';
- var color=Node50.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node50width,Node50height,13.3333*_ratio.ratioY,"left",color,' '+ Node50fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node50.a('node.underlinepoints',[Node50lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node50fontSize + 2 , ht.Default.getTextSize('212', ' '+ Node50fontSize + 'px "Arial"').width + 6, (Node50height - Node50fontSize) * 0.5*_ratio.ratioY + Node50fontSize + 2 ]);
- Node50.a('node.underlinevisible',false);
- Node50.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node50);
- zoomNodeList.push({
- node: Node50,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node51 = new ht.Node();
- var Node51textStart, Node51textWidth, Node51lineStart, Node51align = 'left', Node51fontSize = 13.3333*_ratio.ratioY,Node51width = 41*_ratio.ratioX, Node51height = 16*_ratio.ratioY;
- (function () {
- if (Node51align === 'left') {
- Node51textStart = Node51fontSize * 0.2 > 2 ? Node51fontSize * 0.2 - 4 : Node51fontSize * 0.2 - 9;
- Node51textWidth = Node51width;
- Node51lineStart = 1;
- } else if (Node51align === 'right') {
- Node51textStart = 0;
- Node51textWidth =Node51fontSize <= 8 ? Node51width + Node51fontSize * 0.2 + 6 : Node51width - Node51fontSize * 0.2;
- Node51lineStart = (Node51width - (ht.Default.getTextSize('212-A', ' '+ Node51fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node51align === 'center') {
- Node51textStart = -3;
- Node51textWidth = Node51width;
- Node51lineStart = Node51width - ht.Default.getTextSize('212-A', ' '+ Node51fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node51.setImage(GD.getTextJSON(Node51width, Node51height, true, false, false, ' '+ Node51fontSize + 'px "Arial"'))
- Node51.setPosition(514*ratio.ratioX, 313*ratio.ratioY);
- Node51.setWidth(Node51width);
- Node51.setHeight(Node51height);
- Node51._nodeType = 'text';
- Node51._disallowEvert = true;
- Node51.setRotation(0*Math.PI/180);
- Node51.a('node.width', Node51width);
- Node51.a('node.height', Node51height);
- Node51.a('node.rect', [0, 0, Node51width, Node51height]);
- Node51.a('node.bordercolor','rgba(0,0,0,1)');
- Node51.a('node.borderwidth', 0);
- Node51.a('node.background','' || 'rgba(0,0,0,0)');
- Node51.a('node.gradient','');
- Node51.a('node.gradientcolor','');
- Node51.a('node.text','212-A');
- Node51.a('node.textalign','left');
- Node51.a('node.textvAlign','middle');
- Node51.a('node.textrect', [Node51textStart, 0, Node51textWidth, Node51height]);
- Node51.a('node.color','rgba(0,0,0,1)');
- Node51.a('node.font',' '+ Node51fontSize + 'px "Arial"');
- Node51.a('node.textvisible',true);
- Node51.a('node.linefeed',false);
- if (false) {
- Node51.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node51.a('node.text') || '212-A';
- var color=Node51.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node51width,Node51height,13.3333*_ratio.ratioY,"left",color,' '+ Node51fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node51.a('node.underlinepoints',[Node51lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node51fontSize + 2 , ht.Default.getTextSize('212-A', ' '+ Node51fontSize + 'px "Arial"').width + 6, (Node51height - Node51fontSize) * 0.5*_ratio.ratioY + Node51fontSize + 2 ]);
- Node51.a('node.underlinevisible',false);
- Node51.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node51);
- zoomNodeList.push({
- node: Node51,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node52points=[540, 251,480, 251],
- Node52rect=ht.Default.unionPoint([{x:540,y:251},{x:480,y:251}]),
- Node52compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(0, ratio),
- _endratio = GD.getRatioWithRotation(3.14159265358979, ratio);
- for(var i=0;i<Node52points.length;i++){
- if(i%2==0){
- Node52compspts.push(Node52points[i]-Node52rect.x);
- }else{
- Node52compspts.push(Node52points[i]-Node52rect.y);
- }
- }
- var Node52ptslength=Node52compspts.length;
- if (Node52rect.height === 0) {
- Node52compspts[0] -= 0;
- Node52compspts[Node52ptslength-2] += 0;
- } else if (Node52rect.width === 0){
- Node52compspts[1] -= 0;
- Node52compspts[Node52ptslength-1] += 0;
- } else {
- Node52compspts[0] -= 0;
- Node52compspts[1] -= 0;
- Node52compspts[Node52ptslength-2] += 0;
- Node52compspts[Node52ptslength-1] += 0;
- }
- Node52 = new ht.Node();
- Node52.borderWidth = 1;
- Node52rect.width = Node52rect.width === 0 ? 0.0001 : Node52rect.width;
- Node52rect.height = Node52rect.height === 0 ? 0.0001 : Node52rect.height;
- var Node52endCompspts = [Node52compspts[Node52ptslength-2],Node52compspts[Node52ptslength-1],0,0];
- var Node52startCompspts = [Node52compspts[0],Node52compspts[1],0,0];
- Node52.setImage(GD.getPolyLineJSON());
- Node52.setPosition(Node52rect.x+Node52rect.width/2,Node52rect.y+Node52rect.height/2);
- Node52.setSize(Node52rect.width,Node52rect.height);
- Node52.setStyle("opacity",1);
- Node52.s({'pixelPerfect':true});
- Node52borderwidth=1;
- Node52.setRotation(0);
- dataModel.add(Node52);
- Node52.a('node.points',Node52compspts);
- Node52.a('node.segments',[1,2]);
- Node52.a('node.color','rgba(255,0,255,1)');
- Node52.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node52.a('node.borderColor','rgba(255,0,255,1)');
- Node52.a('node.background','rgba(255,0,255,1)');
- Node52.a('node.gradient','');
- Node52.a('node.gradientcolor','rgba(255,0,255,1)');
- Node52.a('node.endCompspts',Node52endCompspts);
- Node52.a('node.startCompspts',Node52startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node52';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node52, Node52.getImage(), Node52compspts, Node52endCompspts, Node52startCompspts);
- var Node53points=[480, 251,480, 241],
- Node53rect=ht.Default.unionPoint([{x:480,y:251},{x:480,y:241}]),
- Node53compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node53points.length;i++){
- if(i%2==0){
- Node53compspts.push(Node53points[i]-Node53rect.x);
- }else{
- Node53compspts.push(Node53points[i]-Node53rect.y);
- }
- }
- var Node53ptslength=Node53compspts.length;
- if (Node53rect.height === 0) {
- Node53compspts[0] -= 0;
- Node53compspts[Node53ptslength-2] += 0;
- } else if (Node53rect.width === 0){
- Node53compspts[1] -= 0;
- Node53compspts[Node53ptslength-1] += 0;
- } else {
- Node53compspts[0] -= 0;
- Node53compspts[1] -= 0;
- Node53compspts[Node53ptslength-2] += 0;
- Node53compspts[Node53ptslength-1] += 0;
- }
- Node53 = new ht.Node();
- Node53.borderWidth = 1;
- Node53rect.width = Node53rect.width === 0 ? 0.0001 : Node53rect.width;
- Node53rect.height = Node53rect.height === 0 ? 0.0001 : Node53rect.height;
- var Node53endCompspts = [Node53compspts[Node53ptslength-2],Node53compspts[Node53ptslength-1],0,0];
- var Node53startCompspts = [Node53compspts[0],Node53compspts[1],0,0];
- Node53.setImage(GD.getPolyLineJSON());
- Node53.setPosition(Node53rect.x+Node53rect.width/2,Node53rect.y+Node53rect.height/2);
- Node53.setSize(Node53rect.width,Node53rect.height);
- Node53.setStyle("opacity",1);
- Node53.s({'pixelPerfect':true});
- Node53borderwidth=1;
- Node53.setRotation(0);
- dataModel.add(Node53);
- Node53.a('node.points',Node53compspts);
- Node53.a('node.segments',[1,2]);
- Node53.a('node.color','rgba(255,0,255,1)');
- Node53.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node53.a('node.borderColor','rgba(255,0,255,1)');
- Node53.a('node.background','rgba(255,0,255,1)');
- Node53.a('node.gradient','');
- Node53.a('node.gradientcolor','rgba(255,0,255,1)');
- Node53.a('node.endCompspts',Node53endCompspts);
- Node53.a('node.startCompspts',Node53startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node53';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node53, Node53.getImage(), Node53compspts, Node53endCompspts, Node53startCompspts);
- var Node54points=[540, 221,540, 191],
- Node54rect=ht.Default.unionPoint([{x:540,y:221},{x:540,y:191}]),
- Node54compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node54points.length;i++){
- if(i%2==0){
- Node54compspts.push(Node54points[i]-Node54rect.x);
- }else{
- Node54compspts.push(Node54points[i]-Node54rect.y);
- }
- }
- var Node54ptslength=Node54compspts.length;
- if (Node54rect.height === 0) {
- Node54compspts[0] -= 0;
- Node54compspts[Node54ptslength-2] += 0;
- } else if (Node54rect.width === 0){
- Node54compspts[1] -= 0;
- Node54compspts[Node54ptslength-1] += 0;
- } else {
- Node54compspts[0] -= 0;
- Node54compspts[1] -= 0;
- Node54compspts[Node54ptslength-2] += 0;
- Node54compspts[Node54ptslength-1] += 0;
- }
- Node54 = new ht.Node();
- Node54.borderWidth = 1;
- Node54rect.width = Node54rect.width === 0 ? 0.0001 : Node54rect.width;
- Node54rect.height = Node54rect.height === 0 ? 0.0001 : Node54rect.height;
- var Node54endCompspts = [Node54compspts[Node54ptslength-2],Node54compspts[Node54ptslength-1],0,0];
- var Node54startCompspts = [Node54compspts[0],Node54compspts[1],0,0];
- Node54.setImage(GD.getPolyLineJSON());
- Node54.setPosition(Node54rect.x+Node54rect.width/2,Node54rect.y+Node54rect.height/2);
- Node54.setSize(Node54rect.width,Node54rect.height);
- Node54.setStyle("opacity",1);
- Node54.s({'pixelPerfect':true});
- Node54borderwidth=1;
- Node54.setRotation(0);
- dataModel.add(Node54);
- Node54.a('node.points',Node54compspts);
- Node54.a('node.segments',[1,2]);
- Node54.a('node.color','rgba(255,0,255,1)');
- Node54.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node54.a('node.borderColor','rgba(255,0,255,1)');
- Node54.a('node.background','rgba(255,0,255,1)');
- Node54.a('node.gradient','');
- Node54.a('node.gradientcolor','rgba(255,0,255,1)');
- Node54.a('node.endCompspts',Node54endCompspts);
- Node54.a('node.startCompspts',Node54startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node54';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node54, Node54.getImage(), Node54compspts, Node54endCompspts, Node54startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node55 = new ht.Node();
- var Node55textStart, Node55textWidth, Node55lineStart, Node55align = 'left', Node55fontSize = 13.3333*_ratio.ratioY,Node55width = 47*_ratio.ratioX, Node55height = 24*_ratio.ratioY;
- (function () {
- if (Node55align === 'left') {
- Node55textStart = Node55fontSize * 0.2 > 2 ? Node55fontSize * 0.2 - 4 : Node55fontSize * 0.2 - 9;
- Node55textWidth = Node55width;
- Node55lineStart = 1;
- } else if (Node55align === 'right') {
- Node55textStart = 0;
- Node55textWidth =Node55fontSize <= 8 ? Node55width + Node55fontSize * 0.2 + 6 : Node55width - Node55fontSize * 0.2;
- Node55lineStart = (Node55width - (ht.Default.getTextSize('212-10', ' '+ Node55fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node55align === 'center') {
- Node55textStart = -3;
- Node55textWidth = Node55width;
- Node55lineStart = Node55width - ht.Default.getTextSize('212-10', ' '+ Node55fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node55.setImage(GD.getTextJSON(Node55width, Node55height, true, false, false, ' '+ Node55fontSize + 'px "Arial"'))
- Node55.setPosition(433*ratio.ratioX, 229*ratio.ratioY);
- Node55.setWidth(Node55width);
- Node55.setHeight(Node55height);
- Node55._nodeType = 'text';
- Node55._disallowEvert = true;
- Node55.setRotation(0*Math.PI/180);
- Node55.a('node.width', Node55width);
- Node55.a('node.height', Node55height);
- Node55.a('node.rect', [0, 0, Node55width, Node55height]);
- Node55.a('node.bordercolor','rgba(0,0,0,1)');
- Node55.a('node.borderwidth', 0);
- Node55.a('node.background','' || 'rgba(0,0,0,0)');
- Node55.a('node.gradient','');
- Node55.a('node.gradientcolor','');
- Node55.a('node.text','212-10');
- Node55.a('node.textalign','left');
- Node55.a('node.textvAlign','middle');
- Node55.a('node.textrect', [Node55textStart, 0, Node55textWidth, Node55height]);
- Node55.a('node.color','rgba(0,0,0,1)');
- Node55.a('node.font',' '+ Node55fontSize + 'px "Arial"');
- Node55.a('node.textvisible',true);
- Node55.a('node.linefeed',false);
- if (false) {
- Node55.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node55.a('node.text') || '212-10';
- var color=Node55.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node55width,Node55height,13.3333*_ratio.ratioY,"left",color,' '+ Node55fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node55.a('node.underlinepoints',[Node55lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node55fontSize + 2 , ht.Default.getTextSize('212-10', ' '+ Node55fontSize + 'px "Arial"').width + 6, (Node55height - Node55fontSize) * 0.5*_ratio.ratioY + Node55fontSize + 2 ]);
- Node55.a('node.underlinevisible',false);
- Node55.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node55);
- zoomNodeList.push({
- node: Node55,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node56 = new ht.Node();
- var Node56textStart, Node56textWidth, Node56lineStart, Node56align = 'left', Node56fontSize = 13.3333*_ratio.ratioY,Node56width = 39*_ratio.ratioX, Node56height = 16*_ratio.ratioY;
- (function () {
- if (Node56align === 'left') {
- Node56textStart = Node56fontSize * 0.2 > 2 ? Node56fontSize * 0.2 - 4 : Node56fontSize * 0.2 - 9;
- Node56textWidth = Node56width;
- Node56lineStart = 1;
- } else if (Node56align === 'right') {
- Node56textStart = 0;
- Node56textWidth =Node56fontSize <= 8 ? Node56width + Node56fontSize * 0.2 + 6 : Node56width - Node56fontSize * 0.2;
- Node56lineStart = (Node56width - (ht.Default.getTextSize('212-1', ' '+ Node56fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node56align === 'center') {
- Node56textStart = -3;
- Node56textWidth = Node56width;
- Node56lineStart = Node56width - ht.Default.getTextSize('212-1', ' '+ Node56fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node56.setImage(GD.getTextJSON(Node56width, Node56height, true, false, false, ' '+ Node56fontSize + 'px "Arial"'))
- Node56.setPosition(513*ratio.ratioX, 229*ratio.ratioY);
- Node56.setWidth(Node56width);
- Node56.setHeight(Node56height);
- Node56._nodeType = 'text';
- Node56._disallowEvert = true;
- Node56.setRotation(0*Math.PI/180);
- Node56.a('node.width', Node56width);
- Node56.a('node.height', Node56height);
- Node56.a('node.rect', [0, 0, Node56width, Node56height]);
- Node56.a('node.bordercolor','rgba(0,0,0,1)');
- Node56.a('node.borderwidth', 0);
- Node56.a('node.background','' || 'rgba(0,0,0,0)');
- Node56.a('node.gradient','');
- Node56.a('node.gradientcolor','');
- Node56.a('node.text','212-1');
- Node56.a('node.textalign','left');
- Node56.a('node.textvAlign','middle');
- Node56.a('node.textrect', [Node56textStart, 0, Node56textWidth, Node56height]);
- Node56.a('node.color','rgba(0,0,0,1)');
- Node56.a('node.font',' '+ Node56fontSize + 'px "Arial"');
- Node56.a('node.textvisible',true);
- Node56.a('node.linefeed',false);
- if (false) {
- Node56.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node56.a('node.text') || '212-1';
- var color=Node56.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node56width,Node56height,13.3333*_ratio.ratioY,"left",color,' '+ Node56fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node56.a('node.underlinepoints',[Node56lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node56fontSize + 2 , ht.Default.getTextSize('212-1', ' '+ Node56fontSize + 'px "Arial"').width + 6, (Node56height - Node56fontSize) * 0.5*_ratio.ratioY + Node56fontSize + 2 ]);
- Node56.a('node.underlinevisible',false);
- Node56.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node56);
- zoomNodeList.push({
- node: Node56,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node57 = new ht.Node();
- var Node57textStart, Node57textWidth, Node57lineStart, Node57align = 'left', Node57fontSize = 13.3333*_ratio.ratioY,Node57width = 54*_ratio.ratioX, Node57height = 16*_ratio.ratioY;
- (function () {
- if (Node57align === 'left') {
- Node57textStart = Node57fontSize * 0.2 > 2 ? Node57fontSize * 0.2 - 4 : Node57fontSize * 0.2 - 9;
- Node57textWidth = Node57width;
- Node57lineStart = 1;
- } else if (Node57align === 'right') {
- Node57textStart = 0;
- Node57textWidth =Node57fontSize <= 8 ? Node57width + Node57fontSize * 0.2 + 6 : Node57width - Node57fontSize * 0.2;
- Node57lineStart = (Node57width - (ht.Default.getTextSize('212-线0', ' '+ Node57fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node57align === 'center') {
- Node57textStart = -3;
- Node57textWidth = Node57width;
- Node57lineStart = Node57width - ht.Default.getTextSize('212-线0', ' '+ Node57fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node57.setImage(GD.getTextJSON(Node57width, Node57height, true, false, false, ' '+ Node57fontSize + 'px "Arial"'))
- Node57.setPosition(641*ratio.ratioX, 229*ratio.ratioY);
- Node57.setWidth(Node57width);
- Node57.setHeight(Node57height);
- Node57._nodeType = 'text';
- Node57._disallowEvert = true;
- Node57.setRotation(0*Math.PI/180);
- Node57.a('node.width', Node57width);
- Node57.a('node.height', Node57height);
- Node57.a('node.rect', [0, 0, Node57width, Node57height]);
- Node57.a('node.bordercolor','rgba(0,0,0,1)');
- Node57.a('node.borderwidth', 0);
- Node57.a('node.background','' || 'rgba(0,0,0,0)');
- Node57.a('node.gradient','');
- Node57.a('node.gradientcolor','');
- Node57.a('node.text','212-线0');
- Node57.a('node.textalign','left');
- Node57.a('node.textvAlign','middle');
- Node57.a('node.textrect', [Node57textStart, 0, Node57textWidth, Node57height]);
- Node57.a('node.color','rgba(0,0,0,1)');
- Node57.a('node.font',' '+ Node57fontSize + 'px "Arial"');
- Node57.a('node.textvisible',true);
- Node57.a('node.linefeed',false);
- if (false) {
- Node57.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node57.a('node.text') || '212-线0';
- var color=Node57.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node57width,Node57height,13.3333*_ratio.ratioY,"left",color,' '+ Node57fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node57.a('node.underlinepoints',[Node57lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node57fontSize + 2 , ht.Default.getTextSize('212-线0', ' '+ Node57fontSize + 'px "Arial"').width + 6, (Node57height - Node57fontSize) * 0.5*_ratio.ratioY + Node57fontSize + 2 ]);
- Node57.a('node.underlinevisible',false);
- Node57.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node57);
- zoomNodeList.push({
- node: Node57,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node58 = new ht.lib['紫箭头'](539*ratio.ratioX, 186*ratio.ratioY, 9*_ratio.ratioX, 10*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node58');
- _libModel.add("Node58", Node58);
- Node58.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node59 = new ht.lib['pt接地'](480*ratio.ratioX, 216*ratio.ratioY, 16*_ratio.ratioX, 14*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node59');
- _libModel.add("Node59", Node59);
- Node59.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node60 = new ht.Node();
- var Node60textStart, Node60textWidth, Node60lineStart, Node60align = 'left', Node60fontSize = 13.3333*_ratio.ratioY,Node60width = 54*_ratio.ratioX, Node60height = 16*_ratio.ratioY;
- (function () {
- if (Node60align === 'left') {
- Node60textStart = Node60fontSize * 0.2 > 2 ? Node60fontSize * 0.2 - 4 : Node60fontSize * 0.2 - 9;
- Node60textWidth = Node60width;
- Node60lineStart = 1;
- } else if (Node60align === 'right') {
- Node60textStart = 0;
- Node60textWidth =Node60fontSize <= 8 ? Node60width + Node60fontSize * 0.2 + 6 : Node60width - Node60fontSize * 0.2;
- Node60lineStart = (Node60width - (ht.Default.getTextSize('212-A0', ' '+ Node60fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node60align === 'center') {
- Node60textStart = -3;
- Node60textWidth = Node60width;
- Node60lineStart = Node60width - ht.Default.getTextSize('212-A0', ' '+ Node60fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node60.setImage(GD.getTextJSON(Node60width, Node60height, true, false, false, ' '+ Node60fontSize + 'px "Arial"'))
- Node60.setPosition(641*ratio.ratioX, 310*ratio.ratioY);
- Node60.setWidth(Node60width);
- Node60.setHeight(Node60height);
- Node60._nodeType = 'text';
- Node60._disallowEvert = true;
- Node60.setRotation(0*Math.PI/180);
- Node60.a('node.width', Node60width);
- Node60.a('node.height', Node60height);
- Node60.a('node.rect', [0, 0, Node60width, Node60height]);
- Node60.a('node.bordercolor','rgba(0,0,0,1)');
- Node60.a('node.borderwidth', 0);
- Node60.a('node.background','' || 'rgba(0,0,0,0)');
- Node60.a('node.gradient','');
- Node60.a('node.gradientcolor','');
- Node60.a('node.text','212-A0');
- Node60.a('node.textalign','left');
- Node60.a('node.textvAlign','middle');
- Node60.a('node.textrect', [Node60textStart, 0, Node60textWidth, Node60height]);
- Node60.a('node.color','rgba(0,0,0,1)');
- Node60.a('node.font',' '+ Node60fontSize + 'px "Arial"');
- Node60.a('node.textvisible',true);
- Node60.a('node.linefeed',false);
- if (false) {
- Node60.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node60.a('node.text') || '212-A0';
- var color=Node60.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node60width,Node60height,13.3333*_ratio.ratioY,"left",color,' '+ Node60fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node60.a('node.underlinepoints',[Node60lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node60fontSize + 2 , ht.Default.getTextSize('212-A0', ' '+ Node60fontSize + 'px "Arial"').width + 6, (Node60height - Node60fontSize) * 0.5*_ratio.ratioY + Node60fontSize + 2 ]);
- Node60.a('node.underlinevisible',false);
- Node60.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node60);
- zoomNodeList.push({
- node: Node60,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node61_0 = new ht.lib['接地'](7*ratio.ratioX, 6*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node61_0');
- _libModel.add("Node61_0", Node61_0);
- Node61_0.setRotation(0*Math.PI/180);
- ;
- ;
- Node61DataModel = new ht.DataModel();
- globalVarNameList.push('Node61DataModel');
- //Node61graphPane = new GraphPaneContainer(Node61DataModel,602,248,20,20,'rgba(255,255,255,0)');
- //document.body.appendChild(Node61graphPane.getView());
- //Node61graphPane.getGraphView().setEditable(true);
- Node61graphPane= new ht.graph.GraphView(Node61DataModel);
- globalVarNameList.push('Node61graphPane');
- jQuery.isArray(graphView.graphViewList) && graphView.graphViewList.push(Node61graphPane);
- Node61graphPane.setScrollBarSize(6);
- $(Node61graphPane.getView()).css({
- border: "1px solid rgba(255,255,255,0)",
- boxSizing: 'content-box'
-
- });
- var Node61 = new ht.HtmlNode();
- Node61.setScalable(false);
- Node61.s({
- '2d.selectable': true,
- '2d.movable': false
- });
- Node61.setHtml(Node61graphPane);
- Node61.setPosition({x:602*ratio.ratioX,y:248*ratio.ratioY});
- Node61.setWidth(20*ratio.ratioX);
- Node61.setHeight(20*ratio.ratioY);
- Node61.setPadding(0);
- dataModel.add(Node61);
- globalAliasObj['Node61Alias'] = Node61;
- Node61._allowChildScale = false;
- (function () {
- var s = Node61.s;
- Node61.s = function () {
- var args = Array.prototype.slice.call(arguments, 0);
- var paneView = Node61graphPane.getView();
- if (args[0] === '2d.visible' && args[1] !== undefined) {
- if (args[1] === false) {
- paneView.style.display = 'none';
- } else {
- paneView.style.display = 'block';
- }
- }
- return s.apply(Node61, args);
- }
- })();
- var Node61timer = setTimeout(function setFanContainer() {
- var graphPane = Node61graphPane,
- hNode = Node61,
- zoomValue = graphView.getZoom();
- function resetZoomAndPosition(zoom) {
- graphPane.setZoom(zoom);
- graphPane.tx(0);
- graphPane.ty(0);
- }
- function resizeOverEvent (e) {
- var blockList = graphPane.blockList;
- var bw = blockList[0].getWidth(),
- bh = blockList[0].getHeight(),
- halfBw = bw * 0.5,
- halfBh = bh * 0.5,
- verticalInterval = 1;
- if (graphPane.ty() !== 0) {
- graphPane.ty(0);
- }
- if (graphPane.tx() !== 0) {
- graphPane.tx(0);
- }
-
- function reArrange() {
- var w = $(graphPane.getView()).width()-10,
- h = $(graphPane.getView()).height();
- var block, index, count, hInterval, totalInterval, rowIndex = -1, px, py, ox, oy, fx, fy, fp;
-
- if (blockList.length === 1) {
- graphPane.adjustTranslateY = function () {
- return 0;
- }
- // graphPane.setScrollBarColor('rgba(122, 122, 122, 0)');
- graphPane.setScrollBarColor('rgba(211,211,211,1)');
- } else {
- graphPane.adjustTranslateY = adjustTranslateY;
- //graphPane.setScrollBarColor('rgba(122, 122, 122, 0.4)');
- graphPane.setScrollBarColor('rgba(211,211,211,1)');
- }
- graphPane.totalWidth = w;
- count = Math.floor(w / bw) || 1;
- totalInterval = w % bw;
- totalInterval = totalInterval < 0 ? 0 : totalInterval;
- hInterval = Math.floor(totalInterval/count);
- for ( var i = 0, len = blockList.length; i < len; i++) {
- block = blockList[i];
- index = i % count;
- if (index === 0) {
- rowIndex++;
- }
- px = index * (bw + hInterval) + halfBw;
- py = rowIndex * (bh + verticalInterval) + halfBh;
- fp = block.getPosition();
- fx = fp.x;
- fy = fp.y;
- ox = px - fx;
- oy = py - fy;
- // 如果容器内有多个图元,则位置加1,防止过于靠近上部我左侧而出现滚动条
- if (len > 1) {
- ox += 1;
- oy += 1;
- }
- if (hNode._allowChildScale) { // 图元可缩放时按原来位置排列
- block.setPosition(px, py);
- } else {
- block.setPosition(fx + ox, fy + oy); // 图元不可绽放时按计算的位置排列
- }
- }
- }
- reArrange();
- setTimeout(reArrange, 50);
- }
- function adjustTranslateY (value) {
- var contentSize = graphPane.getContentRect();
- var min = graphPane.getHeight() - contentSize.height - 50;
-
- value = value > 0 ? 0 : value;
- value = value < min ? min : value;
- return value;
- }
- function adjustTranslateX (value) {
- return 0;
- }
- graphView.mp(function(e) {
- if (e.property !== 'zoom') {
- return ;
- }
- resetZoomAndPosition(e.newValue);
- })
- graphPane.getView().addEventListener('mouseover', function (e) {
- e.preventDefault();
- e.stopPropagation();
- graphView.setInteractors(null);
- });
- graphPane.getView().addEventListener('mouseleave', function (e) {
- e.preventDefault();
- e.stopPropagation();
- graphView.setEditable(false);
- })
- graphPane.getView().addEventListener('mousedown', function (e) {
- e.preventDefault();
- e.stopPropagation();
- graphView.setEditable(true);
- })
- // graphPane.getView().addEventListener('mouseup', function (e) {
- // e.preventDefault();
- // e.stopPropagation();
- // graphView.setEditable(false);
- // })
- graphPane.setZoom(zoomValue);
- resetZoomAndPosition(zoomValue);
- // graphPane.setAutoHideScrollBar(false);
- graphPane.setAutoHideScrollBar(true);
- graphPane.setScrollBarSize(6);
- graphPane.setScrollBarColor('rgba(122, 122, 122, 0.4)');
- graphPane.setInteractors(null);
- graphPane.setInteractors([
- // new ht.graph.ScrollBarInteractor(graphPane),
- new ht.graph.DefaultInteractor(graphPane)
- ]);
- graphPane.adjustTranslateY = adjustTranslateY;
- graphPane.adjustTranslateX = adjustTranslateX;
- graphPane.handleScroll = function(data) {
- var t = graphPane.ty() - data.deltaY;
- var contentSize = graphPane.getContentRect();
- var min = contentSize.height - graphPane.getHeight() + 50;
- if (min <= 50)
- return ;
- graphPane.setTranslate(0, t, true);
- }
- graphPane.setPannable(false);
- graphPane.setMovableFunc(function(data){return false});
- resizeOverEvent();
- $window.off('resizeOver', resizeOverEvent).on('resizeOver', resizeOverEvent);
- clearTimeout(Node61timer);
- }, 80);addNodeToContainer(dataModel,Node61,Node61graphPane,[Node61_0]);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node62_0 = new ht.lib['接地'](7*ratio.ratioX, 6*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node62_0');
- _libModel.add("Node62_0", Node62_0);
- Node62_0.setRotation(0*Math.PI/180);
- ;
- ;
- Node62DataModel = new ht.DataModel();
- globalVarNameList.push('Node62DataModel');
- //Node62graphPane = new GraphPaneContainer(Node62DataModel,1142,247,20,20,'rgba(255,255,255,0)');
- //document.body.appendChild(Node62graphPane.getView());
- //Node62graphPane.getGraphView().setEditable(true);
- Node62graphPane= new ht.graph.GraphView(Node62DataModel);
- globalVarNameList.push('Node62graphPane');
- jQuery.isArray(graphView.graphViewList) && graphView.graphViewList.push(Node62graphPane);
- Node62graphPane.setScrollBarSize(6);
- $(Node62graphPane.getView()).css({
- border: "1px solid rgba(255,255,255,0)",
- boxSizing: 'content-box'
-
- });
- var Node62 = new ht.HtmlNode();
- Node62.setScalable(false);
- Node62.s({
- '2d.selectable': true,
- '2d.movable': false
- });
- Node62.setHtml(Node62graphPane);
- Node62.setPosition({x:1142*ratio.ratioX,y:247*ratio.ratioY});
- Node62.setWidth(20*ratio.ratioX);
- Node62.setHeight(20*ratio.ratioY);
- Node62.setPadding(0);
- dataModel.add(Node62);
- globalAliasObj['Node62Alias'] = Node62;
- Node62._allowChildScale = false;
- (function () {
- var s = Node62.s;
- Node62.s = function () {
- var args = Array.prototype.slice.call(arguments, 0);
- var paneView = Node62graphPane.getView();
- if (args[0] === '2d.visible' && args[1] !== undefined) {
- if (args[1] === false) {
- paneView.style.display = 'none';
- } else {
- paneView.style.display = 'block';
- }
- }
- return s.apply(Node62, args);
- }
- })();
- var Node62timer = setTimeout(function setFanContainer() {
- var graphPane = Node62graphPane,
- hNode = Node62,
- zoomValue = graphView.getZoom();
- function resetZoomAndPosition(zoom) {
- graphPane.setZoom(zoom);
- graphPane.tx(0);
- graphPane.ty(0);
- }
- function resizeOverEvent (e) {
- var blockList = graphPane.blockList;
- var bw = blockList[0].getWidth(),
- bh = blockList[0].getHeight(),
- halfBw = bw * 0.5,
- halfBh = bh * 0.5,
- verticalInterval = 1;
- if (graphPane.ty() !== 0) {
- graphPane.ty(0);
- }
- if (graphPane.tx() !== 0) {
- graphPane.tx(0);
- }
-
- function reArrange() {
- var w = $(graphPane.getView()).width()-10,
- h = $(graphPane.getView()).height();
- var block, index, count, hInterval, totalInterval, rowIndex = -1, px, py, ox, oy, fx, fy, fp;
-
- if (blockList.length === 1) {
- graphPane.adjustTranslateY = function () {
- return 0;
- }
- // graphPane.setScrollBarColor('rgba(122, 122, 122, 0)');
- graphPane.setScrollBarColor('rgba(211,211,211,1)');
- } else {
- graphPane.adjustTranslateY = adjustTranslateY;
- //graphPane.setScrollBarColor('rgba(122, 122, 122, 0.4)');
- graphPane.setScrollBarColor('rgba(211,211,211,1)');
- }
- graphPane.totalWidth = w;
- count = Math.floor(w / bw) || 1;
- totalInterval = w % bw;
- totalInterval = totalInterval < 0 ? 0 : totalInterval;
- hInterval = Math.floor(totalInterval/count);
- for ( var i = 0, len = blockList.length; i < len; i++) {
- block = blockList[i];
- index = i % count;
- if (index === 0) {
- rowIndex++;
- }
- px = index * (bw + hInterval) + halfBw;
- py = rowIndex * (bh + verticalInterval) + halfBh;
- fp = block.getPosition();
- fx = fp.x;
- fy = fp.y;
- ox = px - fx;
- oy = py - fy;
- // 如果容器内有多个图元,则位置加1,防止过于靠近上部我左侧而出现滚动条
- if (len > 1) {
- ox += 1;
- oy += 1;
- }
- if (hNode._allowChildScale) { // 图元可缩放时按原来位置排列
- block.setPosition(px, py);
- } else {
- block.setPosition(fx + ox, fy + oy); // 图元不可绽放时按计算的位置排列
- }
- }
- }
- reArrange();
- setTimeout(reArrange, 50);
- }
- function adjustTranslateY (value) {
- var contentSize = graphPane.getContentRect();
- var min = graphPane.getHeight() - contentSize.height - 50;
-
- value = value > 0 ? 0 : value;
- value = value < min ? min : value;
- return value;
- }
- function adjustTranslateX (value) {
- return 0;
- }
- graphView.mp(function(e) {
- if (e.property !== 'zoom') {
- return ;
- }
- resetZoomAndPosition(e.newValue);
- })
- graphPane.getView().addEventListener('mouseover', function (e) {
- e.preventDefault();
- e.stopPropagation();
- graphView.setInteractors(null);
- });
- graphPane.getView().addEventListener('mouseleave', function (e) {
- e.preventDefault();
- e.stopPropagation();
- graphView.setEditable(false);
- })
- graphPane.getView().addEventListener('mousedown', function (e) {
- e.preventDefault();
- e.stopPropagation();
- graphView.setEditable(true);
- })
- // graphPane.getView().addEventListener('mouseup', function (e) {
- // e.preventDefault();
- // e.stopPropagation();
- // graphView.setEditable(false);
- // })
- graphPane.setZoom(zoomValue);
- resetZoomAndPosition(zoomValue);
- // graphPane.setAutoHideScrollBar(false);
- graphPane.setAutoHideScrollBar(true);
- graphPane.setScrollBarSize(6);
- graphPane.setScrollBarColor('rgba(122, 122, 122, 0.4)');
- graphPane.setInteractors(null);
- graphPane.setInteractors([
- // new ht.graph.ScrollBarInteractor(graphPane),
- new ht.graph.DefaultInteractor(graphPane)
- ]);
- graphPane.adjustTranslateY = adjustTranslateY;
- graphPane.adjustTranslateX = adjustTranslateX;
- graphPane.handleScroll = function(data) {
- var t = graphPane.ty() - data.deltaY;
- var contentSize = graphPane.getContentRect();
- var min = contentSize.height - graphPane.getHeight() + 50;
- if (min <= 50)
- return ;
- graphPane.setTranslate(0, t, true);
- }
- graphPane.setPannable(false);
- graphPane.setMovableFunc(function(data){return false});
- resizeOverEvent();
- $window.off('resizeOver', resizeOverEvent).on('resizeOver', resizeOverEvent);
- clearTimeout(Node62timer);
- }, 80);addNodeToContainer(dataModel,Node62,Node62graphPane,[Node62_0]);var Node63points=[1540, 341,1540, 341],
- Node63rect=ht.Default.unionPoint([{x:1540,y:341},{x:1540,y:341}]),
- Node63compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node63points.length;i++){
- if(i%2==0){
- Node63compspts.push(Node63points[i]-Node63rect.x);
- }else{
- Node63compspts.push(Node63points[i]-Node63rect.y);
- }
- }
- var Node63ptslength=Node63compspts.length;
- if (Node63rect.height === 0) {
- Node63compspts[0] -= 0;
- Node63compspts[Node63ptslength-2] += 0;
- } else if (Node63rect.width === 0){
- Node63compspts[1] -= 0;
- Node63compspts[Node63ptslength-1] += 0;
- } else {
- Node63compspts[0] -= 0;
- Node63compspts[1] -= 0;
- Node63compspts[Node63ptslength-2] += 0;
- Node63compspts[Node63ptslength-1] += 0;
- }
- Node63 = new ht.Node();
- Node63.borderWidth = 1;
- Node63rect.width = Node63rect.width === 0 ? 0.0001 : Node63rect.width;
- Node63rect.height = Node63rect.height === 0 ? 0.0001 : Node63rect.height;
- var Node63endCompspts = [Node63compspts[Node63ptslength-2],Node63compspts[Node63ptslength-1],0,0];
- var Node63startCompspts = [Node63compspts[0],Node63compspts[1],0,0];
- Node63.setImage(GD.getPolyLineJSON());
- Node63.setPosition(Node63rect.x+Node63rect.width/2,Node63rect.y+Node63rect.height/2);
- Node63.setSize(Node63rect.width,Node63rect.height);
- Node63.setStyle("opacity",1);
- Node63.s({'pixelPerfect':true});
- Node63borderwidth=1;
- Node63.setRotation(0);
- dataModel.add(Node63);
- Node63.a('node.points',Node63compspts);
- Node63.a('node.segments',[1,2]);
- Node63.a('node.color','rgba(0,0,0,1)');
- Node63.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node63.a('node.borderColor','rgba(0,0,0,1)');
- Node63.a('node.background','rgba(0,0,0,1)');
- Node63.a('node.gradient','');
- Node63.a('node.gradientcolor','rgba(0,0,0,1)');
- Node63.a('node.endCompspts',Node63endCompspts);
- Node63.a('node.startCompspts',Node63startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node63';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node63, Node63.getImage(), Node63compspts, Node63endCompspts, Node63startCompspts);
- var Node64points=[1540, 341,1540, 341],
- Node64rect=ht.Default.unionPoint([{x:1540,y:341},{x:1540,y:341}]),
- Node64compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node64points.length;i++){
- if(i%2==0){
- Node64compspts.push(Node64points[i]-Node64rect.x);
- }else{
- Node64compspts.push(Node64points[i]-Node64rect.y);
- }
- }
- var Node64ptslength=Node64compspts.length;
- if (Node64rect.height === 0) {
- Node64compspts[0] -= 0;
- Node64compspts[Node64ptslength-2] += 0;
- } else if (Node64rect.width === 0){
- Node64compspts[1] -= 0;
- Node64compspts[Node64ptslength-1] += 0;
- } else {
- Node64compspts[0] -= 0;
- Node64compspts[1] -= 0;
- Node64compspts[Node64ptslength-2] += 0;
- Node64compspts[Node64ptslength-1] += 0;
- }
- Node64 = new ht.Node();
- Node64.borderWidth = 1;
- Node64rect.width = Node64rect.width === 0 ? 0.0001 : Node64rect.width;
- Node64rect.height = Node64rect.height === 0 ? 0.0001 : Node64rect.height;
- var Node64endCompspts = [Node64compspts[Node64ptslength-2],Node64compspts[Node64ptslength-1],0,0];
- var Node64startCompspts = [Node64compspts[0],Node64compspts[1],0,0];
- Node64.setImage(GD.getPolyLineJSON());
- Node64.setPosition(Node64rect.x+Node64rect.width/2,Node64rect.y+Node64rect.height/2);
- Node64.setSize(Node64rect.width,Node64rect.height);
- Node64.setStyle("opacity",1);
- Node64.s({'pixelPerfect':true});
- Node64borderwidth=1;
- Node64.setRotation(0);
- dataModel.add(Node64);
- Node64.a('node.points',Node64compspts);
- Node64.a('node.segments',[1,2]);
- Node64.a('node.color','rgba(0,0,0,1)');
- Node64.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node64.a('node.borderColor','rgba(0,0,0,1)');
- Node64.a('node.background','rgba(0,0,0,1)');
- Node64.a('node.gradient','');
- Node64.a('node.gradientcolor','rgba(0,0,0,1)');
- Node64.a('node.endCompspts',Node64endCompspts);
- Node64.a('node.startCompspts',Node64startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node64';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node64, Node64.getImage(), Node64compspts, Node64endCompspts, Node64startCompspts);
- var Node65points=[1540, 341,1540, 301],
- Node65rect=ht.Default.unionPoint([{x:1540,y:341},{x:1540,y:301}]),
- Node65compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node65points.length;i++){
- if(i%2==0){
- Node65compspts.push(Node65points[i]-Node65rect.x);
- }else{
- Node65compspts.push(Node65points[i]-Node65rect.y);
- }
- }
- var Node65ptslength=Node65compspts.length;
- if (Node65rect.height === 0) {
- Node65compspts[0] -= 0;
- Node65compspts[Node65ptslength-2] += 0;
- } else if (Node65rect.width === 0){
- Node65compspts[1] -= 0;
- Node65compspts[Node65ptslength-1] += 0;
- } else {
- Node65compspts[0] -= 0;
- Node65compspts[1] -= 0;
- Node65compspts[Node65ptslength-2] += 0;
- Node65compspts[Node65ptslength-1] += 0;
- }
- Node65 = new ht.Node();
- Node65.borderWidth = 1;
- Node65rect.width = Node65rect.width === 0 ? 0.0001 : Node65rect.width;
- Node65rect.height = Node65rect.height === 0 ? 0.0001 : Node65rect.height;
- var Node65endCompspts = [Node65compspts[Node65ptslength-2],Node65compspts[Node65ptslength-1],0,0];
- var Node65startCompspts = [Node65compspts[0],Node65compspts[1],0,0];
- Node65.setImage(GD.getPolyLineJSON());
- Node65.setPosition(Node65rect.x+Node65rect.width/2,Node65rect.y+Node65rect.height/2);
- Node65.setSize(Node65rect.width,Node65rect.height);
- Node65.setStyle("opacity",1);
- Node65.s({'pixelPerfect':true});
- Node65borderwidth=1;
- Node65.setRotation(0);
- dataModel.add(Node65);
- Node65.a('node.points',Node65compspts);
- Node65.a('node.segments',[1,2]);
- Node65.a('node.color','rgba(255,0,255,1)');
- Node65.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node65.a('node.borderColor','rgba(255,0,255,1)');
- Node65.a('node.background','rgba(255,0,255,1)');
- Node65.a('node.gradient','');
- Node65.a('node.gradientcolor','rgba(255,0,255,1)');
- Node65.a('node.endCompspts',Node65endCompspts);
- Node65.a('node.startCompspts',Node65startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node65';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node65, Node65.getImage(), Node65compspts, Node65endCompspts, Node65startCompspts);
- var Node66points=[1540, 328,1480, 327],
- Node66rect=ht.Default.unionPoint([{x:1540,y:328},{x:1480,y:327}]),
- Node66compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(0.0166651245829338, ratio),
- _endratio = GD.getRatioWithRotation(3.15825777817273, ratio);
- for(var i=0;i<Node66points.length;i++){
- if(i%2==0){
- Node66compspts.push(Node66points[i]-Node66rect.x);
- }else{
- Node66compspts.push(Node66points[i]-Node66rect.y);
- }
- }
- var Node66ptslength=Node66compspts.length;
- if (Node66rect.height === 0) {
- Node66compspts[0] -= 0;
- Node66compspts[Node66ptslength-2] += 0;
- } else if (Node66rect.width === 0){
- Node66compspts[1] -= 0;
- Node66compspts[Node66ptslength-1] += 0;
- } else {
- Node66compspts[0] -= 0;
- Node66compspts[1] -= 0;
- Node66compspts[Node66ptslength-2] += 0;
- Node66compspts[Node66ptslength-1] += 0;
- }
- Node66 = new ht.Node();
- Node66.borderWidth = 1;
- Node66rect.width = Node66rect.width === 0 ? 0.0001 : Node66rect.width;
- Node66rect.height = Node66rect.height === 0 ? 0.0001 : Node66rect.height;
- var Node66endCompspts = [Node66compspts[Node66ptslength-2],Node66compspts[Node66ptslength-1],0,0];
- var Node66startCompspts = [Node66compspts[0],Node66compspts[1],0,0];
- Node66.setImage(GD.getPolyLineJSON());
- Node66.setPosition(Node66rect.x+Node66rect.width/2,Node66rect.y+Node66rect.height/2);
- Node66.setSize(Node66rect.width,Node66rect.height);
- Node66.setStyle("opacity",1);
- Node66.s({'pixelPerfect':true});
- Node66borderwidth=1;
- Node66.setRotation(0);
- dataModel.add(Node66);
- Node66.a('node.points',Node66compspts);
- Node66.a('node.segments',[1,2]);
- Node66.a('node.color','rgba(255,0,255,1)');
- Node66.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node66.a('node.borderColor','rgba(255,0,255,1)');
- Node66.a('node.background','rgba(255,0,255,1)');
- Node66.a('node.gradient','');
- Node66.a('node.gradientcolor','rgba(255,0,255,1)');
- Node66.a('node.endCompspts',Node66endCompspts);
- Node66.a('node.startCompspts',Node66startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node66';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node66, Node66.getImage(), Node66compspts, Node66endCompspts, Node66startCompspts);
- var Node67points=[1480, 301,1480, 328],
- Node67rect=ht.Default.unionPoint([{x:1480,y:301},{x:1480,y:328}]),
- Node67compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node67points.length;i++){
- if(i%2==0){
- Node67compspts.push(Node67points[i]-Node67rect.x);
- }else{
- Node67compspts.push(Node67points[i]-Node67rect.y);
- }
- }
- var Node67ptslength=Node67compspts.length;
- if (Node67rect.height === 0) {
- Node67compspts[0] -= 0;
- Node67compspts[Node67ptslength-2] += 0;
- } else if (Node67rect.width === 0){
- Node67compspts[1] -= 0;
- Node67compspts[Node67ptslength-1] += 0;
- } else {
- Node67compspts[0] -= 0;
- Node67compspts[1] -= 0;
- Node67compspts[Node67ptslength-2] += 0;
- Node67compspts[Node67ptslength-1] += 0;
- }
- Node67 = new ht.Node();
- Node67.borderWidth = 1;
- Node67rect.width = Node67rect.width === 0 ? 0.0001 : Node67rect.width;
- Node67rect.height = Node67rect.height === 0 ? 0.0001 : Node67rect.height;
- var Node67endCompspts = [Node67compspts[Node67ptslength-2],Node67compspts[Node67ptslength-1],0,0];
- var Node67startCompspts = [Node67compspts[0],Node67compspts[1],0,0];
- Node67.setImage(GD.getPolyLineJSON());
- Node67.setPosition(Node67rect.x+Node67rect.width/2,Node67rect.y+Node67rect.height/2);
- Node67.setSize(Node67rect.width,Node67rect.height);
- Node67.setStyle("opacity",1);
- Node67.s({'pixelPerfect':true});
- Node67borderwidth=1;
- Node67.setRotation(0);
- dataModel.add(Node67);
- Node67.a('node.points',Node67compspts);
- Node67.a('node.segments',[1,2]);
- Node67.a('node.color','rgba(255,0,255,1)');
- Node67.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node67.a('node.borderColor','rgba(255,0,255,1)');
- Node67.a('node.background','rgba(255,0,255,1)');
- Node67.a('node.gradient','');
- Node67.a('node.gradientcolor','rgba(255,0,255,1)');
- Node67.a('node.endCompspts',Node67endCompspts);
- Node67.a('node.startCompspts',Node67startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node67';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node67, Node67.getImage(), Node67compspts, Node67endCompspts, Node67startCompspts);
- var Node68points=[1540, 281,1540, 238],
- Node68rect=ht.Default.unionPoint([{x:1540,y:281},{x:1540,y:238}]),
- Node68compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node68points.length;i++){
- if(i%2==0){
- Node68compspts.push(Node68points[i]-Node68rect.x);
- }else{
- Node68compspts.push(Node68points[i]-Node68rect.y);
- }
- }
- var Node68ptslength=Node68compspts.length;
- if (Node68rect.height === 0) {
- Node68compspts[0] -= 0;
- Node68compspts[Node68ptslength-2] += 0;
- } else if (Node68rect.width === 0){
- Node68compspts[1] -= 0;
- Node68compspts[Node68ptslength-1] += 0;
- } else {
- Node68compspts[0] -= 0;
- Node68compspts[1] -= 0;
- Node68compspts[Node68ptslength-2] += 0;
- Node68compspts[Node68ptslength-1] += 0;
- }
- Node68 = new ht.Node();
- Node68.borderWidth = 1;
- Node68rect.width = Node68rect.width === 0 ? 0.0001 : Node68rect.width;
- Node68rect.height = Node68rect.height === 0 ? 0.0001 : Node68rect.height;
- var Node68endCompspts = [Node68compspts[Node68ptslength-2],Node68compspts[Node68ptslength-1],0,0];
- var Node68startCompspts = [Node68compspts[0],Node68compspts[1],0,0];
- Node68.setImage(GD.getPolyLineJSON());
- Node68.setPosition(Node68rect.x+Node68rect.width/2,Node68rect.y+Node68rect.height/2);
- Node68.setSize(Node68rect.width,Node68rect.height);
- Node68.setStyle("opacity",1);
- Node68.s({'pixelPerfect':true});
- Node68borderwidth=1;
- Node68.setRotation(0);
- dataModel.add(Node68);
- Node68.a('node.points',Node68compspts);
- Node68.a('node.segments',[1,2]);
- Node68.a('node.color','rgba(255,0,255,1)');
- Node68.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node68.a('node.borderColor','rgba(255,0,255,1)');
- Node68.a('node.background','rgba(255,0,255,1)');
- Node68.a('node.gradient','');
- Node68.a('node.gradientcolor','rgba(255,0,255,1)');
- Node68.a('node.endCompspts',Node68endCompspts);
- Node68.a('node.startCompspts',Node68startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node68';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node68, Node68.getImage(), Node68compspts, Node68endCompspts, Node68startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node69 = new ht.lib['pt接地'](1480*ratio.ratioX, 273*ratio.ratioY, 16*_ratio.ratioX, 14*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node69');
- _libModel.add("Node69", Node69);
- Node69.setRotation(0*Math.PI/180);
- ;
- ;
- var Node70points=[1540, 271,1590, 271],
- Node70rect=ht.Default.unionPoint([{x:1540,y:271},{x:1590,y:271}]),
- Node70compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node70points.length;i++){
- if(i%2==0){
- Node70compspts.push(Node70points[i]-Node70rect.x);
- }else{
- Node70compspts.push(Node70points[i]-Node70rect.y);
- }
- }
- var Node70ptslength=Node70compspts.length;
- if (Node70rect.height === 0) {
- Node70compspts[0] -= 0;
- Node70compspts[Node70ptslength-2] += 0;
- } else if (Node70rect.width === 0){
- Node70compspts[1] -= 0;
- Node70compspts[Node70ptslength-1] += 0;
- } else {
- Node70compspts[0] -= 0;
- Node70compspts[1] -= 0;
- Node70compspts[Node70ptslength-2] += 0;
- Node70compspts[Node70ptslength-1] += 0;
- }
- Node70 = new ht.Node();
- Node70.borderWidth = 1;
- Node70rect.width = Node70rect.width === 0 ? 0.0001 : Node70rect.width;
- Node70rect.height = Node70rect.height === 0 ? 0.0001 : Node70rect.height;
- var Node70endCompspts = [Node70compspts[Node70ptslength-2],Node70compspts[Node70ptslength-1],0,0];
- var Node70startCompspts = [Node70compspts[0],Node70compspts[1],0,0];
- Node70.setImage(GD.getPolyLineJSON());
- Node70.setPosition(Node70rect.x+Node70rect.width/2,Node70rect.y+Node70rect.height/2);
- Node70.setSize(Node70rect.width,Node70rect.height);
- Node70.setStyle("opacity",1);
- Node70.s({'pixelPerfect':true});
- Node70borderwidth=1;
- Node70.setRotation(0);
- dataModel.add(Node70);
- Node70.a('node.points',Node70compspts);
- Node70.a('node.segments',[1,2]);
- Node70.a('node.color','rgba(255,0,255,1)');
- Node70.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node70.a('node.borderColor','rgba(255,0,255,1)');
- Node70.a('node.background','rgba(255,0,255,1)');
- Node70.a('node.gradient','');
- Node70.a('node.gradientcolor','rgba(255,0,255,1)');
- Node70.a('node.endCompspts',Node70endCompspts);
- Node70.a('node.startCompspts',Node70startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node70';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node70, Node70.getImage(), Node70compspts, Node70endCompspts, Node70startCompspts);
- var Node71points=[1590, 271,1590, 280],
- Node71rect=ht.Default.unionPoint([{x:1590,y:271},{x:1590,y:280}]),
- Node71compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node71points.length;i++){
- if(i%2==0){
- Node71compspts.push(Node71points[i]-Node71rect.x);
- }else{
- Node71compspts.push(Node71points[i]-Node71rect.y);
- }
- }
- var Node71ptslength=Node71compspts.length;
- if (Node71rect.height === 0) {
- Node71compspts[0] -= 0;
- Node71compspts[Node71ptslength-2] += 0;
- } else if (Node71rect.width === 0){
- Node71compspts[1] -= 0;
- Node71compspts[Node71ptslength-1] += 0;
- } else {
- Node71compspts[0] -= 0;
- Node71compspts[1] -= 0;
- Node71compspts[Node71ptslength-2] += 0;
- Node71compspts[Node71ptslength-1] += 0;
- }
- Node71 = new ht.Node();
- Node71.borderWidth = 1;
- Node71rect.width = Node71rect.width === 0 ? 0.0001 : Node71rect.width;
- Node71rect.height = Node71rect.height === 0 ? 0.0001 : Node71rect.height;
- var Node71endCompspts = [Node71compspts[Node71ptslength-2],Node71compspts[Node71ptslength-1],0,0];
- var Node71startCompspts = [Node71compspts[0],Node71compspts[1],0,0];
- Node71.setImage(GD.getPolyLineJSON());
- Node71.setPosition(Node71rect.x+Node71rect.width/2,Node71rect.y+Node71rect.height/2);
- Node71.setSize(Node71rect.width,Node71rect.height);
- Node71.setStyle("opacity",1);
- Node71.s({'pixelPerfect':true});
- Node71borderwidth=1;
- Node71.setRotation(0);
- dataModel.add(Node71);
- Node71.a('node.points',Node71compspts);
- Node71.a('node.segments',[1,2]);
- Node71.a('node.color','rgba(255,0,255,1)');
- Node71.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node71.a('node.borderColor','rgba(255,0,255,1)');
- Node71.a('node.background','rgba(255,0,255,1)');
- Node71.a('node.gradient','');
- Node71.a('node.gradientcolor','rgba(255,0,255,1)');
- Node71.a('node.endCompspts',Node71endCompspts);
- Node71.a('node.startCompspts',Node71startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node71';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node71, Node71.getImage(), Node71compspts, Node71endCompspts, Node71startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node72_0 = new ht.lib['接地'](7*ratio.ratioX, 6*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node72_0');
- _libModel.add("Node72_0", Node72_0);
- Node72_0.setRotation(0*Math.PI/180);
- ;
- ;
- Node72DataModel = new ht.DataModel();
- globalVarNameList.push('Node72DataModel');
- //Node72graphPane = new GraphPaneContainer(Node72DataModel,1593,311,20,20,'rgba(255,255,255,0)');
- //document.body.appendChild(Node72graphPane.getView());
- //Node72graphPane.getGraphView().setEditable(true);
- Node72graphPane= new ht.graph.GraphView(Node72DataModel);
- globalVarNameList.push('Node72graphPane');
- jQuery.isArray(graphView.graphViewList) && graphView.graphViewList.push(Node72graphPane);
- Node72graphPane.setScrollBarSize(6);
- $(Node72graphPane.getView()).css({
- border: "1px solid rgba(255,255,255,0)",
- boxSizing: 'content-box'
-
- });
- var Node72 = new ht.HtmlNode();
- Node72.setScalable(false);
- Node72.s({
- '2d.selectable': true,
- '2d.movable': false
- });
- Node72.setHtml(Node72graphPane);
- Node72.setPosition({x:1593*ratio.ratioX,y:311*ratio.ratioY});
- Node72.setWidth(20*ratio.ratioX);
- Node72.setHeight(20*ratio.ratioY);
- Node72.setPadding(0);
- dataModel.add(Node72);
- globalAliasObj['Node72Alias'] = Node72;
- Node72._allowChildScale = false;
- (function () {
- var s = Node72.s;
- Node72.s = function () {
- var args = Array.prototype.slice.call(arguments, 0);
- var paneView = Node72graphPane.getView();
- if (args[0] === '2d.visible' && args[1] !== undefined) {
- if (args[1] === false) {
- paneView.style.display = 'none';
- } else {
- paneView.style.display = 'block';
- }
- }
- return s.apply(Node72, args);
- }
- })();
- var Node72timer = setTimeout(function setFanContainer() {
- var graphPane = Node72graphPane,
- hNode = Node72,
- zoomValue = graphView.getZoom();
- function resetZoomAndPosition(zoom) {
- graphPane.setZoom(zoom);
- graphPane.tx(0);
- graphPane.ty(0);
- }
- function resizeOverEvent (e) {
- var blockList = graphPane.blockList;
- var bw = blockList[0].getWidth(),
- bh = blockList[0].getHeight(),
- halfBw = bw * 0.5,
- halfBh = bh * 0.5,
- verticalInterval = 1;
- if (graphPane.ty() !== 0) {
- graphPane.ty(0);
- }
- if (graphPane.tx() !== 0) {
- graphPane.tx(0);
- }
-
- function reArrange() {
- var w = $(graphPane.getView()).width()-10,
- h = $(graphPane.getView()).height();
- var block, index, count, hInterval, totalInterval, rowIndex = -1, px, py, ox, oy, fx, fy, fp;
-
- if (blockList.length === 1) {
- graphPane.adjustTranslateY = function () {
- return 0;
- }
- // graphPane.setScrollBarColor('rgba(122, 122, 122, 0)');
- graphPane.setScrollBarColor('rgba(211,211,211,1)');
- } else {
- graphPane.adjustTranslateY = adjustTranslateY;
- //graphPane.setScrollBarColor('rgba(122, 122, 122, 0.4)');
- graphPane.setScrollBarColor('rgba(211,211,211,1)');
- }
- graphPane.totalWidth = w;
- count = Math.floor(w / bw) || 1;
- totalInterval = w % bw;
- totalInterval = totalInterval < 0 ? 0 : totalInterval;
- hInterval = Math.floor(totalInterval/count);
- for ( var i = 0, len = blockList.length; i < len; i++) {
- block = blockList[i];
- index = i % count;
- if (index === 0) {
- rowIndex++;
- }
- px = index * (bw + hInterval) + halfBw;
- py = rowIndex * (bh + verticalInterval) + halfBh;
- fp = block.getPosition();
- fx = fp.x;
- fy = fp.y;
- ox = px - fx;
- oy = py - fy;
- // 如果容器内有多个图元,则位置加1,防止过于靠近上部我左侧而出现滚动条
- if (len > 1) {
- ox += 1;
- oy += 1;
- }
- if (hNode._allowChildScale) { // 图元可缩放时按原来位置排列
- block.setPosition(px, py);
- } else {
- block.setPosition(fx + ox, fy + oy); // 图元不可绽放时按计算的位置排列
- }
- }
- }
- reArrange();
- setTimeout(reArrange, 50);
- }
- function adjustTranslateY (value) {
- var contentSize = graphPane.getContentRect();
- var min = graphPane.getHeight() - contentSize.height - 50;
-
- value = value > 0 ? 0 : value;
- value = value < min ? min : value;
- return value;
- }
- function adjustTranslateX (value) {
- return 0;
- }
- graphView.mp(function(e) {
- if (e.property !== 'zoom') {
- return ;
- }
- resetZoomAndPosition(e.newValue);
- })
- graphPane.getView().addEventListener('mouseover', function (e) {
- e.preventDefault();
- e.stopPropagation();
- graphView.setInteractors(null);
- });
- graphPane.getView().addEventListener('mouseleave', function (e) {
- e.preventDefault();
- e.stopPropagation();
- graphView.setEditable(false);
- })
- graphPane.getView().addEventListener('mousedown', function (e) {
- e.preventDefault();
- e.stopPropagation();
- graphView.setEditable(true);
- })
- // graphPane.getView().addEventListener('mouseup', function (e) {
- // e.preventDefault();
- // e.stopPropagation();
- // graphView.setEditable(false);
- // })
- graphPane.setZoom(zoomValue);
- resetZoomAndPosition(zoomValue);
- // graphPane.setAutoHideScrollBar(false);
- graphPane.setAutoHideScrollBar(true);
- graphPane.setScrollBarSize(6);
- graphPane.setScrollBarColor('rgba(122, 122, 122, 0.4)');
- graphPane.setInteractors(null);
- graphPane.setInteractors([
- // new ht.graph.ScrollBarInteractor(graphPane),
- new ht.graph.DefaultInteractor(graphPane)
- ]);
- graphPane.adjustTranslateY = adjustTranslateY;
- graphPane.adjustTranslateX = adjustTranslateX;
- graphPane.handleScroll = function(data) {
- var t = graphPane.ty() - data.deltaY;
- var contentSize = graphPane.getContentRect();
- var min = contentSize.height - graphPane.getHeight() + 50;
- if (min <= 50)
- return ;
- graphPane.setTranslate(0, t, true);
- }
- graphPane.setPannable(false);
- graphPane.setMovableFunc(function(data){return false});
- resizeOverEvent();
- $window.off('resizeOver', resizeOverEvent).on('resizeOver', resizeOverEvent);
- clearTimeout(Node72timer);
- }, 80);addNodeToContainer(dataModel,Node72,Node72graphPane,[Node72_0]);var Node73points=[1546, 220,1576, 220],
- Node73rect=ht.Default.unionPoint([{x:1546,y:220},{x:1576,y:220}]),
- Node73compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node73points.length;i++){
- if(i%2==0){
- Node73compspts.push(Node73points[i]-Node73rect.x);
- }else{
- Node73compspts.push(Node73points[i]-Node73rect.y);
- }
- }
- var Node73ptslength=Node73compspts.length;
- if (Node73rect.height === 0) {
- Node73compspts[0] -= 0;
- Node73compspts[Node73ptslength-2] += 0;
- } else if (Node73rect.width === 0){
- Node73compspts[1] -= 0;
- Node73compspts[Node73ptslength-1] += 0;
- } else {
- Node73compspts[0] -= 0;
- Node73compspts[1] -= 0;
- Node73compspts[Node73ptslength-2] += 0;
- Node73compspts[Node73ptslength-1] += 0;
- }
- Node73 = new ht.Node();
- Node73.borderWidth = 1;
- Node73rect.width = Node73rect.width === 0 ? 0.0001 : Node73rect.width;
- Node73rect.height = Node73rect.height === 0 ? 0.0001 : Node73rect.height;
- var Node73endCompspts = [Node73compspts[Node73ptslength-2],Node73compspts[Node73ptslength-1],0,0];
- var Node73startCompspts = [Node73compspts[0],Node73compspts[1],0,0];
- Node73.setImage(GD.getPolyLineJSON());
- Node73.setPosition(Node73rect.x+Node73rect.width/2,Node73rect.y+Node73rect.height/2);
- Node73.setSize(Node73rect.width,Node73rect.height);
- Node73.setStyle("opacity",1);
- Node73.s({'pixelPerfect':true});
- Node73borderwidth=1;
- Node73.setRotation(0);
- dataModel.add(Node73);
- Node73.a('node.points',Node73compspts);
- Node73.a('node.segments',[1,2]);
- Node73.a('node.color','rgba(255,0,255,1)');
- Node73.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node73.a('node.borderColor','rgba(255,0,255,1)');
- Node73.a('node.background','rgba(255,0,255,1)');
- Node73.a('node.gradient','');
- Node73.a('node.gradientcolor','rgba(255,0,255,1)');
- Node73.a('node.endCompspts',Node73endCompspts);
- Node73.a('node.startCompspts',Node73startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node73';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node73, Node73.getImage(), Node73compspts, Node73endCompspts, Node73startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node74 = new ht.Node();
- var Node74textStart, Node74textWidth, Node74lineStart, Node74align = 'left', Node74fontSize = 13.3333*_ratio.ratioY,Node74width = 36*_ratio.ratioX, Node74height = 16*_ratio.ratioY;
- (function () {
- if (Node74align === 'left') {
- Node74textStart = Node74fontSize * 0.2 > 2 ? Node74fontSize * 0.2 - 4 : Node74fontSize * 0.2 - 9;
- Node74textWidth = Node74width;
- Node74lineStart = 1;
- } else if (Node74align === 'right') {
- Node74textStart = 0;
- Node74textWidth =Node74fontSize <= 8 ? Node74width + Node74fontSize * 0.2 + 6 : Node74width - Node74fontSize * 0.2;
- Node74lineStart = (Node74width - (ht.Default.getTextSize('2A10', ' '+ Node74fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node74align === 'center') {
- Node74textStart = -3;
- Node74textWidth = Node74width;
- Node74lineStart = Node74width - ht.Default.getTextSize('2A10', ' '+ Node74fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node74.setImage(GD.getTextJSON(Node74width, Node74height, true, false, false, ' '+ Node74fontSize + 'px "Arial"'))
- Node74.setPosition(1446*ratio.ratioX, 290*ratio.ratioY);
- Node74.setWidth(Node74width);
- Node74.setHeight(Node74height);
- Node74._nodeType = 'text';
- Node74._disallowEvert = true;
- Node74.setRotation(0*Math.PI/180);
- Node74.a('node.width', Node74width);
- Node74.a('node.height', Node74height);
- Node74.a('node.rect', [0, 0, Node74width, Node74height]);
- Node74.a('node.bordercolor','rgba(0,0,0,1)');
- Node74.a('node.borderwidth', 0);
- Node74.a('node.background','' || 'rgba(0,0,0,0)');
- Node74.a('node.gradient','');
- Node74.a('node.gradientcolor','');
- Node74.a('node.text','2A10');
- Node74.a('node.textalign','left');
- Node74.a('node.textvAlign','middle');
- Node74.a('node.textrect', [Node74textStart, 0, Node74textWidth, Node74height]);
- Node74.a('node.color','rgba(0,0,0,1)');
- Node74.a('node.font',' '+ Node74fontSize + 'px "Arial"');
- Node74.a('node.textvisible',true);
- Node74.a('node.linefeed',false);
- if (false) {
- Node74.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node74.a('node.text') || '2A10';
- var color=Node74.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node74width,Node74height,13.3333*_ratio.ratioY,"left",color,' '+ Node74fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node74.a('node.underlinepoints',[Node74lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node74fontSize + 2 , ht.Default.getTextSize('2A10', ' '+ Node74fontSize + 'px "Arial"').width + 6, (Node74height - Node74fontSize) * 0.5*_ratio.ratioY + Node74fontSize + 2 ]);
- Node74.a('node.underlinevisible',false);
- Node74.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node74);
- zoomNodeList.push({
- node: Node74,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node75 = new ht.Node();
- var Node75textStart, Node75textWidth, Node75lineStart, Node75align = 'left', Node75fontSize = 13.3333*_ratio.ratioY,Node75width = 28*_ratio.ratioX, Node75height = 16*_ratio.ratioY;
- (function () {
- if (Node75align === 'left') {
- Node75textStart = Node75fontSize * 0.2 > 2 ? Node75fontSize * 0.2 - 4 : Node75fontSize * 0.2 - 9;
- Node75textWidth = Node75width;
- Node75lineStart = 1;
- } else if (Node75align === 'right') {
- Node75textStart = 0;
- Node75textWidth =Node75fontSize <= 8 ? Node75width + Node75fontSize * 0.2 + 6 : Node75width - Node75fontSize * 0.2;
- Node75lineStart = (Node75width - (ht.Default.getTextSize('2A9', ' '+ Node75fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node75align === 'center') {
- Node75textStart = -3;
- Node75textWidth = Node75width;
- Node75lineStart = Node75width - ht.Default.getTextSize('2A9', ' '+ Node75fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node75.setImage(GD.getTextJSON(Node75width, Node75height, true, false, false, ' '+ Node75fontSize + 'px "Arial"'))
- Node75.setPosition(1515*ratio.ratioX, 290*ratio.ratioY);
- Node75.setWidth(Node75width);
- Node75.setHeight(Node75height);
- Node75._nodeType = 'text';
- Node75._disallowEvert = true;
- Node75.setRotation(0*Math.PI/180);
- Node75.a('node.width', Node75width);
- Node75.a('node.height', Node75height);
- Node75.a('node.rect', [0, 0, Node75width, Node75height]);
- Node75.a('node.bordercolor','rgba(0,0,0,1)');
- Node75.a('node.borderwidth', 0);
- Node75.a('node.background','' || 'rgba(0,0,0,0)');
- Node75.a('node.gradient','');
- Node75.a('node.gradientcolor','');
- Node75.a('node.text','2A9');
- Node75.a('node.textalign','left');
- Node75.a('node.textvAlign','middle');
- Node75.a('node.textrect', [Node75textStart, 0, Node75textWidth, Node75height]);
- Node75.a('node.color','rgba(0,0,0,1)');
- Node75.a('node.font',' '+ Node75fontSize + 'px "Arial"');
- Node75.a('node.textvisible',true);
- Node75.a('node.linefeed',false);
- if (false) {
- Node75.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node75.a('node.text') || '2A9';
- var color=Node75.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node75width,Node75height,13.3333*_ratio.ratioY,"left",color,' '+ Node75fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node75.a('node.underlinepoints',[Node75lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node75fontSize + 2 , ht.Default.getTextSize('2A9', ' '+ Node75fontSize + 'px "Arial"').width + 6, (Node75height - Node75fontSize) * 0.5*_ratio.ratioY + Node75fontSize + 2 ]);
- Node75.a('node.underlinevisible',false);
- Node75.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node75);
- zoomNodeList.push({
- node: Node75,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node76 = new ht.Node();
- var Node76textStart, Node76textWidth, Node76lineStart, Node76align = 'left', Node76fontSize = 13.3333*_ratio.ratioY,Node76width = 36*_ratio.ratioX, Node76height = 16*_ratio.ratioY;
- (function () {
- if (Node76align === 'left') {
- Node76textStart = Node76fontSize * 0.2 > 2 ? Node76fontSize * 0.2 - 4 : Node76fontSize * 0.2 - 9;
- Node76textWidth = Node76width;
- Node76lineStart = 1;
- } else if (Node76align === 'right') {
- Node76textStart = 0;
- Node76textWidth =Node76fontSize <= 8 ? Node76width + Node76fontSize * 0.2 + 6 : Node76width - Node76fontSize * 0.2;
- Node76lineStart = (Node76width - (ht.Default.getTextSize('2A90', ' '+ Node76fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node76align === 'center') {
- Node76textStart = -3;
- Node76textWidth = Node76width;
- Node76lineStart = Node76width - ht.Default.getTextSize('2A90', ' '+ Node76fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node76.setImage(GD.getTextJSON(Node76width, Node76height, true, false, false, ' '+ Node76fontSize + 'px "Arial"'))
- Node76.setPosition(1619*ratio.ratioX, 290*ratio.ratioY);
- Node76.setWidth(Node76width);
- Node76.setHeight(Node76height);
- Node76._nodeType = 'text';
- Node76._disallowEvert = true;
- Node76.setRotation(0*Math.PI/180);
- Node76.a('node.width', Node76width);
- Node76.a('node.height', Node76height);
- Node76.a('node.rect', [0, 0, Node76width, Node76height]);
- Node76.a('node.bordercolor','rgba(0,0,0,1)');
- Node76.a('node.borderwidth', 0);
- Node76.a('node.background','' || 'rgba(0,0,0,0)');
- Node76.a('node.gradient','');
- Node76.a('node.gradientcolor','');
- Node76.a('node.text','2A90');
- Node76.a('node.textalign','left');
- Node76.a('node.textvAlign','middle');
- Node76.a('node.textrect', [Node76textStart, 0, Node76textWidth, Node76height]);
- Node76.a('node.color','rgba(0,0,0,1)');
- Node76.a('node.font',' '+ Node76fontSize + 'px "Arial"');
- Node76.a('node.textvisible',true);
- Node76.a('node.linefeed',false);
- if (false) {
- Node76.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node76.a('node.text') || '2A90';
- var color=Node76.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node76width,Node76height,13.3333*_ratio.ratioY,"left",color,' '+ Node76fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node76.a('node.underlinepoints',[Node76lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node76fontSize + 2 , ht.Default.getTextSize('2A90', ' '+ Node76fontSize + 'px "Arial"').width + 6, (Node76height - Node76fontSize) * 0.5*_ratio.ratioY + Node76fontSize + 2 ]);
- Node76.a('node.underlinevisible',false);
- Node76.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node76);
- zoomNodeList.push({
- node: Node76,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node77 = new ht.Node();
- var Node77textStart, Node77textWidth, Node77lineStart, Node77align = 'left', Node77fontSize = 13.3333*_ratio.ratioY,Node77width = 65*_ratio.ratioX, Node77height = 26*_ratio.ratioY;
- (function () {
- if (Node77align === 'left') {
- Node77textStart = Node77fontSize * 0.2 > 2 ? Node77fontSize * 0.2 - 4 : Node77fontSize * 0.2 - 9;
- Node77textWidth = Node77width;
- Node77lineStart = 1;
- } else if (Node77align === 'right') {
- Node77textStart = 0;
- Node77textWidth =Node77fontSize <= 8 ? Node77width + Node77fontSize * 0.2 + 6 : Node77width - Node77fontSize * 0.2;
- Node77lineStart = (Node77width - (ht.Default.getTextSize('A 母线PT', ' '+ Node77fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node77align === 'center') {
- Node77textStart = -3;
- Node77textWidth = Node77width;
- Node77lineStart = Node77width - ht.Default.getTextSize('A 母线PT', ' '+ Node77fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node77.setImage(GD.getTextJSON(Node77width, Node77height, true, false, false, ' '+ Node77fontSize + 'px "Arial"'))
- Node77.setPosition(1533*ratio.ratioX, 188*ratio.ratioY);
- Node77.setWidth(Node77width);
- Node77.setHeight(Node77height);
- Node77._nodeType = 'text';
- Node77._disallowEvert = true;
- Node77.setRotation(0*Math.PI/180);
- Node77.a('node.width', Node77width);
- Node77.a('node.height', Node77height);
- Node77.a('node.rect', [0, 0, Node77width, Node77height]);
- Node77.a('node.bordercolor','rgba(0,0,0,1)');
- Node77.a('node.borderwidth', 0);
- Node77.a('node.background','' || 'rgba(0,0,0,0)');
- Node77.a('node.gradient','');
- Node77.a('node.gradientcolor','');
- Node77.a('node.text','A 母线PT');
- Node77.a('node.textalign','left');
- Node77.a('node.textvAlign','middle');
- Node77.a('node.textrect', [Node77textStart, 0, Node77textWidth, Node77height]);
- Node77.a('node.color','rgba(0,0,0,1)');
- Node77.a('node.font',' '+ Node77fontSize + 'px "Arial"');
- Node77.a('node.textvisible',true);
- Node77.a('node.linefeed',false);
- if (false) {
- Node77.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node77.a('node.text') || 'A 母线PT';
- var color=Node77.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node77width,Node77height,13.3333*_ratio.ratioY,"left",color,' '+ Node77fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node77.a('node.underlinepoints',[Node77lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node77fontSize + 2 , ht.Default.getTextSize('A 母线PT', ' '+ Node77fontSize + 'px "Arial"').width + 6, (Node77height - Node77fontSize) * 0.5*_ratio.ratioY + Node77fontSize + 2 ]);
- Node77.a('node.underlinevisible',false);
- Node77.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node77);
- zoomNodeList.push({
- node: Node77,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node78points=[1540, 261,1500, 261],
- Node78rect=ht.Default.unionPoint([{x:1540,y:261},{x:1500,y:261}]),
- Node78compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(0, ratio),
- _endratio = GD.getRatioWithRotation(3.14159265358979, ratio);
- for(var i=0;i<Node78points.length;i++){
- if(i%2==0){
- Node78compspts.push(Node78points[i]-Node78rect.x);
- }else{
- Node78compspts.push(Node78points[i]-Node78rect.y);
- }
- }
- var Node78ptslength=Node78compspts.length;
- if (Node78rect.height === 0) {
- Node78compspts[0] -= 0;
- Node78compspts[Node78ptslength-2] += 0;
- } else if (Node78rect.width === 0){
- Node78compspts[1] -= 0;
- Node78compspts[Node78ptslength-1] += 0;
- } else {
- Node78compspts[0] -= 0;
- Node78compspts[1] -= 0;
- Node78compspts[Node78ptslength-2] += 0;
- Node78compspts[Node78ptslength-1] += 0;
- }
- Node78 = new ht.Node();
- Node78.borderWidth = 1;
- Node78rect.width = Node78rect.width === 0 ? 0.0001 : Node78rect.width;
- Node78rect.height = Node78rect.height === 0 ? 0.0001 : Node78rect.height;
- var Node78endCompspts = [Node78compspts[Node78ptslength-2],Node78compspts[Node78ptslength-1],0,0];
- var Node78startCompspts = [Node78compspts[0],Node78compspts[1],0,0];
- Node78.setImage(GD.getPolyLineJSON());
- Node78.setPosition(Node78rect.x+Node78rect.width/2,Node78rect.y+Node78rect.height/2);
- Node78.setSize(Node78rect.width,Node78rect.height);
- Node78.setStyle("opacity",1);
- Node78.s({'pixelPerfect':true});
- Node78borderwidth=1;
- Node78.setRotation(0);
- dataModel.add(Node78);
- Node78.a('node.points',Node78compspts);
- Node78.a('node.segments',[1,2]);
- Node78.a('node.color','rgba(255,0,255,1)');
- Node78.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node78.a('node.borderColor','rgba(255,0,255,1)');
- Node78.a('node.background','rgba(255,0,255,1)');
- Node78.a('node.gradient','');
- Node78.a('node.gradientcolor','rgba(255,0,255,1)');
- Node78.a('node.endCompspts',Node78endCompspts);
- Node78.a('node.startCompspts',Node78startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node78';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node78, Node78.getImage(), Node78compspts, Node78endCompspts, Node78startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node79type = 'rect';
- var Node79 = new ht.Node(),
- Node79BorderWidth = 2*2;
- if (Node79type === 'arc') {
- Node79BorderWidth *= 2;
- }
- Node79.setImage(GD.getRectJSON(10*_ratio.ratioX, 24*_ratio.ratioY, Node79type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node79.setPosition(1500*ratio.ratioX, 242*ratio.ratioY);
- Node79.setSize(10*_ratio.ratioX, 24*_ratio.ratioY);
- Node79.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node79.a('node.width', 10*_ratio.ratioX);
- Node79.a('node.height', 24*_ratio.ratioY);
- Node79.a('node.type', Node79type);
- Node79.a('node.rect', [0, 0, 10*_ratio.ratioX, 24*_ratio.ratioY]);
- Node79.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node79.a('node.gradientcolor', '');
- Node79.a('node.gradient', '');
- Node79.a('node.borderwidth', Node79BorderWidth);
- Node79.a('node.color', 'rgba(255,0,255,1)');
- Node79.a('node.fillrect', [0,0,0,0]);
- Node79.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node79.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node79.a('node.fillgradient', '');
- if (Node79type !== 'rect') {
- Node79.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node79.a('node.arcTo', parseFloat('@arcTo@'));
- Node79.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node79type === 'arc') {
- Node79.a('node.arcOval', true);
- }
- Node79.setRotation(0*Math.PI/180);
- Node79.borderWidth = Node79BorderWidth;
- Node79.borderFillwidth = Node79BorderWidth;
- dataModel.add(Node79);
- Node79._nodename = 'Node79'
- Node79._nodeType = 'rect';
- zoomNodeList.push({
- node: Node79,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node79, Node79.getImage());var Node80points=[1500, 261,1500, 247],
- Node80rect=ht.Default.unionPoint([{x:1500,y:261},{x:1500,y:247}]),
- Node80compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node80points.length;i++){
- if(i%2==0){
- Node80compspts.push(Node80points[i]-Node80rect.x);
- }else{
- Node80compspts.push(Node80points[i]-Node80rect.y);
- }
- }
- var Node80ptslength=Node80compspts.length;
- if (Node80rect.height === 0) {
- Node80compspts[0] -= 0;
- Node80compspts[Node80ptslength-2] += 0;
- } else if (Node80rect.width === 0){
- Node80compspts[1] -= 0;
- Node80compspts[Node80ptslength-1] += 0;
- } else {
- Node80compspts[0] -= 0;
- Node80compspts[1] -= 0;
- Node80compspts[Node80ptslength-2] += 0;
- Node80compspts[Node80ptslength-1] += 0;
- }
- Node80 = new ht.Node();
- Node80.borderWidth = 2;
- Node80rect.width = Node80rect.width === 0 ? 0.0001 : Node80rect.width;
- Node80rect.height = Node80rect.height === 0 ? 0.0001 : Node80rect.height;
- var Node80endCompspts = [Node80compspts[Node80ptslength-2],Node80compspts[Node80ptslength-1],0,0];
- var Node80startCompspts = [Node80compspts[0],Node80compspts[1],0,0];
- Node80.setImage(GD.getPolyLineJSON());
- Node80.setPosition(Node80rect.x+Node80rect.width/2,Node80rect.y+Node80rect.height/2);
- Node80.setSize(Node80rect.width,Node80rect.height);
- Node80.setStyle("opacity",1);
- Node80.s({'pixelPerfect':true});
- Node80borderwidth=2;
- Node80.setRotation(0);
- dataModel.add(Node80);
- Node80.a('node.points',Node80compspts);
- Node80.a('node.segments',[1,2]);
- Node80.a('node.color','rgba(255,0,255,1)');
- Node80.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node80.a('node.borderColor','rgba(255,0,255,1)');
- Node80.a('node.background','rgba(255,0,255,1)');
- Node80.a('node.gradient','');
- Node80.a('node.gradientcolor','rgba(255,0,255,1)');
- Node80.a('node.endCompspts',Node80endCompspts);
- Node80.a('node.startCompspts',Node80startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 2;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node80';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node80, Node80.getImage(), Node80compspts, Node80endCompspts, Node80startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node81 = new ht.lib['紫箭头'](1500*ratio.ratioX, 241*ratio.ratioY, 10*_ratio.ratioX, 10*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node81');
- _libModel.add("Node81", Node81);
- Node81.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node82 = new ht.lib['pt接地'](1499*ratio.ratioX, 217*ratio.ratioY, 16*_ratio.ratioX, 14*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node82');
- _libModel.add("Node82", Node82);
- Node82.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node83 = new ht.Node();
- var Node83textStart, Node83textWidth, Node83lineStart, Node83align = 'left', Node83fontSize = 13.3333*_ratio.ratioY,Node83width = 71*_ratio.ratioX, Node83height = 24*_ratio.ratioY;
- (function () {
- if (Node83align === 'left') {
- Node83textStart = Node83fontSize * 0.2 > 2 ? Node83fontSize * 0.2 - 4 : Node83fontSize * 0.2 - 9;
- Node83textWidth = Node83width;
- Node83lineStart = 1;
- } else if (Node83align === 'right') {
- Node83textStart = 0;
- Node83textWidth =Node83fontSize <= 8 ? Node83width + Node83fontSize * 0.2 + 6 : Node83width - Node83fontSize * 0.2;
- Node83lineStart = (Node83width - (ht.Default.getTextSize('3U0(V):', ' '+ Node83fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node83align === 'center') {
- Node83textStart = -3;
- Node83textWidth = Node83width;
- Node83lineStart = Node83width - ht.Default.getTextSize('3U0(V):', ' '+ Node83fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node83.setImage(GD.getTextJSON(Node83width, Node83height, true, false, false, ' '+ Node83fontSize + 'px "Arial"'))
- Node83.setPosition(1689*ratio.ratioX, 235*ratio.ratioY);
- Node83.setWidth(Node83width);
- Node83.setHeight(Node83height);
- Node83._nodeType = 'text';
- Node83._disallowEvert = true;
- Node83.setRotation(0*Math.PI/180);
- Node83.a('node.width', Node83width);
- Node83.a('node.height', Node83height);
- Node83.a('node.rect', [0, 0, Node83width, Node83height]);
- Node83.a('node.bordercolor','rgba(0,0,0,1)');
- Node83.a('node.borderwidth', 0);
- Node83.a('node.background','' || 'rgba(0,0,0,0)');
- Node83.a('node.gradient','');
- Node83.a('node.gradientcolor','');
- Node83.a('node.text','3U0(V):');
- Node83.a('node.textalign','left');
- Node83.a('node.textvAlign','middle');
- Node83.a('node.textrect', [Node83textStart, 0, Node83textWidth, Node83height]);
- Node83.a('node.color','rgba(0,0,0,1)');
- Node83.a('node.font',' '+ Node83fontSize + 'px "Arial"');
- Node83.a('node.textvisible',true);
- Node83.a('node.linefeed',false);
- if (false) {
- Node83.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node83.a('node.text') || '3U0(V):';
- var color=Node83.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node83width,Node83height,13.3333*_ratio.ratioY,"left",color,' '+ Node83fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node83.a('node.underlinepoints',[Node83lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node83fontSize + 2 , ht.Default.getTextSize('3U0(V):', ' '+ Node83fontSize + 'px "Arial"').width + 6, (Node83height - Node83fontSize) * 0.5*_ratio.ratioY + Node83fontSize + 2 ]);
- Node83.a('node.underlinevisible',false);
- Node83.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node83);
- zoomNodeList.push({
- node: Node83,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node84 = new ht.Node();
- var Node84textStart, Node84textWidth, Node84lineStart, Node84align = 'left', Node84fontSize = 13.3333*_ratio.ratioY,Node84width = 71*_ratio.ratioX, Node84height = 24*_ratio.ratioY;
- (function () {
- if (Node84align === 'left') {
- Node84textStart = Node84fontSize * 0.2 > 2 ? Node84fontSize * 0.2 - 4 : Node84fontSize * 0.2 - 9;
- Node84textWidth = Node84width;
- Node84lineStart = 1;
- } else if (Node84align === 'right') {
- Node84textStart = 0;
- Node84textWidth =Node84fontSize <= 8 ? Node84width + Node84fontSize * 0.2 + 6 : Node84width - Node84fontSize * 0.2;
- Node84lineStart = (Node84width - (ht.Default.getTextSize('Ua(kV):', ' '+ Node84fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node84align === 'center') {
- Node84textStart = -3;
- Node84textWidth = Node84width;
- Node84lineStart = Node84width - ht.Default.getTextSize('Ua(kV):', ' '+ Node84fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node84.setImage(GD.getTextJSON(Node84width, Node84height, true, false, false, ' '+ Node84fontSize + 'px "Arial"'))
- Node84.setPosition(1690*ratio.ratioX, 257*ratio.ratioY);
- Node84.setWidth(Node84width);
- Node84.setHeight(Node84height);
- Node84._nodeType = 'text';
- Node84._disallowEvert = true;
- Node84.setRotation(0*Math.PI/180);
- Node84.a('node.width', Node84width);
- Node84.a('node.height', Node84height);
- Node84.a('node.rect', [0, 0, Node84width, Node84height]);
- Node84.a('node.bordercolor','rgba(0,0,0,1)');
- Node84.a('node.borderwidth', 0);
- Node84.a('node.background','' || 'rgba(0,0,0,0)');
- Node84.a('node.gradient','');
- Node84.a('node.gradientcolor','');
- Node84.a('node.text','Ua(kV):');
- Node84.a('node.textalign','left');
- Node84.a('node.textvAlign','middle');
- Node84.a('node.textrect', [Node84textStart, 0, Node84textWidth, Node84height]);
- Node84.a('node.color','rgba(0,0,0,1)');
- Node84.a('node.font',' '+ Node84fontSize + 'px "Arial"');
- Node84.a('node.textvisible',true);
- Node84.a('node.linefeed',false);
- if (false) {
- Node84.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node84.a('node.text') || 'Ua(kV):';
- var color=Node84.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node84width,Node84height,13.3333*_ratio.ratioY,"left",color,' '+ Node84fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node84.a('node.underlinepoints',[Node84lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node84fontSize + 2 , ht.Default.getTextSize('Ua(kV):', ' '+ Node84fontSize + 'px "Arial"').width + 6, (Node84height - Node84fontSize) * 0.5*_ratio.ratioY + Node84fontSize + 2 ]);
- Node84.a('node.underlinevisible',false);
- Node84.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node84);
- zoomNodeList.push({
- node: Node84,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node85 = new ht.Node();
- var Node85textStart, Node85textWidth, Node85lineStart, Node85align = 'left', Node85fontSize = 13.3333*_ratio.ratioY,Node85width = 71*_ratio.ratioX, Node85height = 24*_ratio.ratioY;
- (function () {
- if (Node85align === 'left') {
- Node85textStart = Node85fontSize * 0.2 > 2 ? Node85fontSize * 0.2 - 4 : Node85fontSize * 0.2 - 9;
- Node85textWidth = Node85width;
- Node85lineStart = 1;
- } else if (Node85align === 'right') {
- Node85textStart = 0;
- Node85textWidth =Node85fontSize <= 8 ? Node85width + Node85fontSize * 0.2 + 6 : Node85width - Node85fontSize * 0.2;
- Node85lineStart = (Node85width - (ht.Default.getTextSize('Ub(kV):', ' '+ Node85fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node85align === 'center') {
- Node85textStart = -3;
- Node85textWidth = Node85width;
- Node85lineStart = Node85width - ht.Default.getTextSize('Ub(kV):', ' '+ Node85fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node85.setImage(GD.getTextJSON(Node85width, Node85height, true, false, false, ' '+ Node85fontSize + 'px "Arial"'))
- Node85.setPosition(1689*ratio.ratioX, 280*ratio.ratioY);
- Node85.setWidth(Node85width);
- Node85.setHeight(Node85height);
- Node85._nodeType = 'text';
- Node85._disallowEvert = true;
- Node85.setRotation(0*Math.PI/180);
- Node85.a('node.width', Node85width);
- Node85.a('node.height', Node85height);
- Node85.a('node.rect', [0, 0, Node85width, Node85height]);
- Node85.a('node.bordercolor','rgba(0,0,0,1)');
- Node85.a('node.borderwidth', 0);
- Node85.a('node.background','' || 'rgba(0,0,0,0)');
- Node85.a('node.gradient','');
- Node85.a('node.gradientcolor','');
- Node85.a('node.text','Ub(kV):');
- Node85.a('node.textalign','left');
- Node85.a('node.textvAlign','middle');
- Node85.a('node.textrect', [Node85textStart, 0, Node85textWidth, Node85height]);
- Node85.a('node.color','rgba(0,0,0,1)');
- Node85.a('node.font',' '+ Node85fontSize + 'px "Arial"');
- Node85.a('node.textvisible',true);
- Node85.a('node.linefeed',false);
- if (false) {
- Node85.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node85.a('node.text') || 'Ub(kV):';
- var color=Node85.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node85width,Node85height,13.3333*_ratio.ratioY,"left",color,' '+ Node85fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node85.a('node.underlinepoints',[Node85lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node85fontSize + 2 , ht.Default.getTextSize('Ub(kV):', ' '+ Node85fontSize + 'px "Arial"').width + 6, (Node85height - Node85fontSize) * 0.5*_ratio.ratioY + Node85fontSize + 2 ]);
- Node85.a('node.underlinevisible',false);
- Node85.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node85);
- zoomNodeList.push({
- node: Node85,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node86 = new ht.Node();
- var Node86textStart, Node86textWidth, Node86lineStart, Node86align = 'left', Node86fontSize = 13.3333*_ratio.ratioY,Node86width = 71*_ratio.ratioX, Node86height = 24*_ratio.ratioY;
- (function () {
- if (Node86align === 'left') {
- Node86textStart = Node86fontSize * 0.2 > 2 ? Node86fontSize * 0.2 - 4 : Node86fontSize * 0.2 - 9;
- Node86textWidth = Node86width;
- Node86lineStart = 1;
- } else if (Node86align === 'right') {
- Node86textStart = 0;
- Node86textWidth =Node86fontSize <= 8 ? Node86width + Node86fontSize * 0.2 + 6 : Node86width - Node86fontSize * 0.2;
- Node86lineStart = (Node86width - (ht.Default.getTextSize('Uc(kV):', ' '+ Node86fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node86align === 'center') {
- Node86textStart = -3;
- Node86textWidth = Node86width;
- Node86lineStart = Node86width - ht.Default.getTextSize('Uc(kV):', ' '+ Node86fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node86.setImage(GD.getTextJSON(Node86width, Node86height, true, false, false, ' '+ Node86fontSize + 'px "Arial"'))
- Node86.setPosition(1690*ratio.ratioX, 303*ratio.ratioY);
- Node86.setWidth(Node86width);
- Node86.setHeight(Node86height);
- Node86._nodeType = 'text';
- Node86._disallowEvert = true;
- Node86.setRotation(0*Math.PI/180);
- Node86.a('node.width', Node86width);
- Node86.a('node.height', Node86height);
- Node86.a('node.rect', [0, 0, Node86width, Node86height]);
- Node86.a('node.bordercolor','rgba(0,0,0,1)');
- Node86.a('node.borderwidth', 0);
- Node86.a('node.background','' || 'rgba(0,0,0,0)');
- Node86.a('node.gradient','');
- Node86.a('node.gradientcolor','');
- Node86.a('node.text','Uc(kV):');
- Node86.a('node.textalign','left');
- Node86.a('node.textvAlign','middle');
- Node86.a('node.textrect', [Node86textStart, 0, Node86textWidth, Node86height]);
- Node86.a('node.color','rgba(0,0,0,1)');
- Node86.a('node.font',' '+ Node86fontSize + 'px "Arial"');
- Node86.a('node.textvisible',true);
- Node86.a('node.linefeed',false);
- if (false) {
- Node86.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node86.a('node.text') || 'Uc(kV):';
- var color=Node86.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node86width,Node86height,13.3333*_ratio.ratioY,"left",color,' '+ Node86fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node86.a('node.underlinepoints',[Node86lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node86fontSize + 2 , ht.Default.getTextSize('Uc(kV):', ' '+ Node86fontSize + 'px "Arial"').width + 6, (Node86height - Node86fontSize) * 0.5*_ratio.ratioY + Node86fontSize + 2 ]);
- Node86.a('node.underlinevisible',false);
- Node86.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node86);
- zoomNodeList.push({
- node: Node86,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node87 = new ht.Node();
- var Node87textStart, Node87textWidth, Node87lineStart, Node87align = 'left', Node87fontSize = 13.3333*_ratio.ratioY,Node87width = 71*_ratio.ratioX, Node87height = 24*_ratio.ratioY;
- (function () {
- if (Node87align === 'left') {
- Node87textStart = Node87fontSize * 0.2 > 2 ? Node87fontSize * 0.2 - 4 : Node87fontSize * 0.2 - 9;
- Node87textWidth = Node87width;
- Node87lineStart = 1;
- } else if (Node87align === 'right') {
- Node87textStart = 0;
- Node87textWidth =Node87fontSize <= 8 ? Node87width + Node87fontSize * 0.2 + 6 : Node87width - Node87fontSize * 0.2;
- Node87lineStart = (Node87width - (ht.Default.getTextSize('Uab(kV):', ' '+ Node87fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node87align === 'center') {
- Node87textStart = -3;
- Node87textWidth = Node87width;
- Node87lineStart = Node87width - ht.Default.getTextSize('Uab(kV):', ' '+ Node87fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node87.setImage(GD.getTextJSON(Node87width, Node87height, true, false, false, ' '+ Node87fontSize + 'px "Arial"'))
- Node87.setPosition(1681*ratio.ratioX, 324*ratio.ratioY);
- Node87.setWidth(Node87width);
- Node87.setHeight(Node87height);
- Node87._nodeType = 'text';
- Node87._disallowEvert = true;
- Node87.setRotation(0*Math.PI/180);
- Node87.a('node.width', Node87width);
- Node87.a('node.height', Node87height);
- Node87.a('node.rect', [0, 0, Node87width, Node87height]);
- Node87.a('node.bordercolor','rgba(0,0,0,1)');
- Node87.a('node.borderwidth', 0);
- Node87.a('node.background','' || 'rgba(0,0,0,0)');
- Node87.a('node.gradient','');
- Node87.a('node.gradientcolor','');
- Node87.a('node.text','Uab(kV):');
- Node87.a('node.textalign','left');
- Node87.a('node.textvAlign','middle');
- Node87.a('node.textrect', [Node87textStart, 0, Node87textWidth, Node87height]);
- Node87.a('node.color','rgba(0,0,0,1)');
- Node87.a('node.font',' '+ Node87fontSize + 'px "Arial"');
- Node87.a('node.textvisible',true);
- Node87.a('node.linefeed',false);
- if (false) {
- Node87.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node87.a('node.text') || 'Uab(kV):';
- var color=Node87.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node87width,Node87height,13.3333*_ratio.ratioY,"left",color,' '+ Node87fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node87.a('node.underlinepoints',[Node87lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node87fontSize + 2 , ht.Default.getTextSize('Uab(kV):', ' '+ Node87fontSize + 'px "Arial"').width + 6, (Node87height - Node87fontSize) * 0.5*_ratio.ratioY + Node87fontSize + 2 ]);
- Node87.a('node.underlinevisible',false);
- Node87.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node87);
- zoomNodeList.push({
- node: Node87,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node88 = new ht.Node();
- var Node88textStart, Node88textWidth, Node88lineStart, Node88align = 'left', Node88fontSize = 13.3333*_ratio.ratioY,Node88width = 49*_ratio.ratioX, Node88height = 25*_ratio.ratioY;
- (function () {
- if (Node88align === 'left') {
- Node88textStart = Node88fontSize * 0.2 > 2 ? Node88fontSize * 0.2 - 4 : Node88fontSize * 0.2 - 9;
- Node88textWidth = Node88width;
- Node88lineStart = 1;
- } else if (Node88align === 'right') {
- Node88textStart = 0;
- Node88textWidth =Node88fontSize <= 8 ? Node88width + Node88fontSize * 0.2 + 6 : Node88width - Node88fontSize * 0.2;
- Node88lineStart = (Node88width - (ht.Default.getTextSize('Ia(A):', ' '+ Node88fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node88align === 'center') {
- Node88textStart = -3;
- Node88textWidth = Node88width;
- Node88lineStart = Node88width - ht.Default.getTextSize('Ia(A):', ' '+ Node88fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node88.setImage(GD.getTextJSON(Node88width, Node88height, true, false, false, ' '+ Node88fontSize + 'px "Arial"'))
- Node88.setPosition(332*ratio.ratioX, 280*ratio.ratioY);
- Node88.setWidth(Node88width);
- Node88.setHeight(Node88height);
- Node88._nodeType = 'text';
- Node88._disallowEvert = true;
- Node88.setRotation(0*Math.PI/180);
- Node88.a('node.width', Node88width);
- Node88.a('node.height', Node88height);
- Node88.a('node.rect', [0, 0, Node88width, Node88height]);
- Node88.a('node.bordercolor','rgba(255,0,255,1)');
- Node88.a('node.borderwidth', 0);
- Node88.a('node.background','' || 'rgba(0,0,0,0)');
- Node88.a('node.gradient','');
- Node88.a('node.gradientcolor','');
- Node88.a('node.text','Ia(A):');
- Node88.a('node.textalign','left');
- Node88.a('node.textvAlign','middle');
- Node88.a('node.textrect', [Node88textStart, 0, Node88textWidth, Node88height]);
- Node88.a('node.color','rgba(255,0,255,1)');
- Node88.a('node.font',' '+ Node88fontSize + 'px "Arial"');
- Node88.a('node.textvisible',true);
- Node88.a('node.linefeed',false);
- if (false) {
- Node88.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node88.a('node.text') || 'Ia(A):';
- var color=Node88.a('node.color') || 'rgba(255,0,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node88width,Node88height,13.3333*_ratio.ratioY,"left",color,' '+ Node88fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node88.a('node.underlinepoints',[Node88lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node88fontSize + 2 , ht.Default.getTextSize('Ia(A):', ' '+ Node88fontSize + 'px "Arial"').width + 6, (Node88height - Node88fontSize) * 0.5*_ratio.ratioY + Node88fontSize + 2 ]);
- Node88.a('node.underlinevisible',false);
- Node88.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node88);
- zoomNodeList.push({
- node: Node88,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node89 = new ht.Node();
- var Node89textStart, Node89textWidth, Node89lineStart, Node89align = 'left', Node89fontSize = 13.3333*_ratio.ratioY,Node89width = 62*_ratio.ratioX, Node89height = 25*_ratio.ratioY;
- (function () {
- if (Node89align === 'left') {
- Node89textStart = Node89fontSize * 0.2 > 2 ? Node89fontSize * 0.2 - 4 : Node89fontSize * 0.2 - 9;
- Node89textWidth = Node89width;
- Node89lineStart = 1;
- } else if (Node89align === 'right') {
- Node89textStart = 0;
- Node89textWidth =Node89fontSize <= 8 ? Node89width + Node89fontSize * 0.2 + 6 : Node89width - Node89fontSize * 0.2;
- Node89lineStart = (Node89width - (ht.Default.getTextSize('P(MW):', ' '+ Node89fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node89align === 'center') {
- Node89textStart = -3;
- Node89textWidth = Node89width;
- Node89lineStart = Node89width - ht.Default.getTextSize('P(MW):', ' '+ Node89fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node89.setImage(GD.getTextJSON(Node89width, Node89height, true, false, false, ' '+ Node89fontSize + 'px "Arial"'))
- Node89.setPosition(326*ratio.ratioX, 303*ratio.ratioY);
- Node89.setWidth(Node89width);
- Node89.setHeight(Node89height);
- Node89._nodeType = 'text';
- Node89._disallowEvert = true;
- Node89.setRotation(0*Math.PI/180);
- Node89.a('node.width', Node89width);
- Node89.a('node.height', Node89height);
- Node89.a('node.rect', [0, 0, Node89width, Node89height]);
- Node89.a('node.bordercolor','rgba(0,0,0,1)');
- Node89.a('node.borderwidth', 0);
- Node89.a('node.background','' || 'rgba(0,0,0,0)');
- Node89.a('node.gradient','');
- Node89.a('node.gradientcolor','');
- Node89.a('node.text','P(MW):');
- Node89.a('node.textalign','left');
- Node89.a('node.textvAlign','middle');
- Node89.a('node.textrect', [Node89textStart, 0, Node89textWidth, Node89height]);
- Node89.a('node.color','rgba(0,0,0,1)');
- Node89.a('node.font',' '+ Node89fontSize + 'px "Arial"');
- Node89.a('node.textvisible',true);
- Node89.a('node.linefeed',false);
- if (false) {
- Node89.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node89.a('node.text') || 'P(MW):';
- var color=Node89.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node89width,Node89height,13.3333*_ratio.ratioY,"left",color,' '+ Node89fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node89.a('node.underlinepoints',[Node89lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node89fontSize + 2 , ht.Default.getTextSize('P(MW):', ' '+ Node89fontSize + 'px "Arial"').width + 6, (Node89height - Node89fontSize) * 0.5*_ratio.ratioY + Node89fontSize + 2 ]);
- Node89.a('node.underlinevisible',false);
- Node89.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node89);
- zoomNodeList.push({
- node: Node89,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node90 = new ht.Node();
- var Node90textStart, Node90textWidth, Node90lineStart, Node90align = 'left', Node90fontSize = 13.3333*_ratio.ratioY,Node90width = 72*_ratio.ratioX, Node90height = 25*_ratio.ratioY;
- (function () {
- if (Node90align === 'left') {
- Node90textStart = Node90fontSize * 0.2 > 2 ? Node90fontSize * 0.2 - 4 : Node90fontSize * 0.2 - 9;
- Node90textWidth = Node90width;
- Node90lineStart = 1;
- } else if (Node90align === 'right') {
- Node90textStart = 0;
- Node90textWidth =Node90fontSize <= 8 ? Node90width + Node90fontSize * 0.2 + 6 : Node90width - Node90fontSize * 0.2;
- Node90lineStart = (Node90width - (ht.Default.getTextSize('Q(MVar):', ' '+ Node90fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node90align === 'center') {
- Node90textStart = -3;
- Node90textWidth = Node90width;
- Node90lineStart = Node90width - ht.Default.getTextSize('Q(MVar):', ' '+ Node90fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node90.setImage(GD.getTextJSON(Node90width, Node90height, true, false, false, ' '+ Node90fontSize + 'px "Arial"'))
- Node90.setPosition(322*ratio.ratioX, 325*ratio.ratioY);
- Node90.setWidth(Node90width);
- Node90.setHeight(Node90height);
- Node90._nodeType = 'text';
- Node90._disallowEvert = true;
- Node90.setRotation(0*Math.PI/180);
- Node90.a('node.width', Node90width);
- Node90.a('node.height', Node90height);
- Node90.a('node.rect', [0, 0, Node90width, Node90height]);
- Node90.a('node.bordercolor','rgba(0,0,0,1)');
- Node90.a('node.borderwidth', 0);
- Node90.a('node.background','' || 'rgba(0,0,0,0)');
- Node90.a('node.gradient','');
- Node90.a('node.gradientcolor','');
- Node90.a('node.text','Q(MVar):');
- Node90.a('node.textalign','left');
- Node90.a('node.textvAlign','middle');
- Node90.a('node.textrect', [Node90textStart, 0, Node90textWidth, Node90height]);
- Node90.a('node.color','rgba(0,0,0,1)');
- Node90.a('node.font',' '+ Node90fontSize + 'px "Arial"');
- Node90.a('node.textvisible',true);
- Node90.a('node.linefeed',false);
- if (false) {
- Node90.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node90.a('node.text') || 'Q(MVar):';
- var color=Node90.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node90width,Node90height,13.3333*_ratio.ratioY,"left",color,' '+ Node90fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node90.a('node.underlinepoints',[Node90lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node90fontSize + 2 , ht.Default.getTextSize('Q(MVar):', ' '+ Node90fontSize + 'px "Arial"').width + 6, (Node90height - Node90fontSize) * 0.5*_ratio.ratioY + Node90fontSize + 2 ]);
- Node90.a('node.underlinevisible',false);
- Node90.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node90);
- zoomNodeList.push({
- node: Node90,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node91 = new ht.Node();
- var Node91textStart, Node91textWidth, Node91lineStart, Node91align = 'left', Node91fontSize = 13.3333*_ratio.ratioY,Node91width = 49*_ratio.ratioX, Node91height = 25*_ratio.ratioY;
- (function () {
- if (Node91align === 'left') {
- Node91textStart = Node91fontSize * 0.2 > 2 ? Node91fontSize * 0.2 - 4 : Node91fontSize * 0.2 - 9;
- Node91textWidth = Node91width;
- Node91lineStart = 1;
- } else if (Node91align === 'right') {
- Node91textStart = 0;
- Node91textWidth =Node91fontSize <= 8 ? Node91width + Node91fontSize * 0.2 + 6 : Node91width - Node91fontSize * 0.2;
- Node91lineStart = (Node91width - (ht.Default.getTextSize('Ia(A):', ' '+ Node91fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node91align === 'center') {
- Node91textStart = -3;
- Node91textWidth = Node91width;
- Node91lineStart = Node91width - ht.Default.getTextSize('Ia(A):', ' '+ Node91fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node91.setImage(GD.getTextJSON(Node91width, Node91height, true, false, false, ' '+ Node91fontSize + 'px "Arial"'))
- Node91.setPosition(333*ratio.ratioX, 356*ratio.ratioY);
- Node91.setWidth(Node91width);
- Node91.setHeight(Node91height);
- Node91._nodeType = 'text';
- Node91._disallowEvert = true;
- Node91.setRotation(0*Math.PI/180);
- Node91.a('node.width', Node91width);
- Node91.a('node.height', Node91height);
- Node91.a('node.rect', [0, 0, Node91width, Node91height]);
- Node91.a('node.bordercolor','rgba(255,0,255,1)');
- Node91.a('node.borderwidth', 0);
- Node91.a('node.background','' || 'rgba(0,0,0,0)');
- Node91.a('node.gradient','');
- Node91.a('node.gradientcolor','');
- Node91.a('node.text','Ia(A):');
- Node91.a('node.textalign','left');
- Node91.a('node.textvAlign','middle');
- Node91.a('node.textrect', [Node91textStart, 0, Node91textWidth, Node91height]);
- Node91.a('node.color','rgba(255,0,255,1)');
- Node91.a('node.font',' '+ Node91fontSize + 'px "Arial"');
- Node91.a('node.textvisible',true);
- Node91.a('node.linefeed',false);
- if (false) {
- Node91.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node91.a('node.text') || 'Ia(A):';
- var color=Node91.a('node.color') || 'rgba(255,0,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node91width,Node91height,13.3333*_ratio.ratioY,"left",color,' '+ Node91fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node91.a('node.underlinepoints',[Node91lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node91fontSize + 2 , ht.Default.getTextSize('Ia(A):', ' '+ Node91fontSize + 'px "Arial"').width + 6, (Node91height - Node91fontSize) * 0.5*_ratio.ratioY + Node91fontSize + 2 ]);
- Node91.a('node.underlinevisible',false);
- Node91.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node91);
- zoomNodeList.push({
- node: Node91,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node92 = new ht.Node();
- var Node92textStart, Node92textWidth, Node92lineStart, Node92align = 'left', Node92fontSize = 13.3333*_ratio.ratioY,Node92width = 62*_ratio.ratioX, Node92height = 26*_ratio.ratioY;
- (function () {
- if (Node92align === 'left') {
- Node92textStart = Node92fontSize * 0.2 > 2 ? Node92fontSize * 0.2 - 4 : Node92fontSize * 0.2 - 9;
- Node92textWidth = Node92width;
- Node92lineStart = 1;
- } else if (Node92align === 'right') {
- Node92textStart = 0;
- Node92textWidth =Node92fontSize <= 8 ? Node92width + Node92fontSize * 0.2 + 6 : Node92width - Node92fontSize * 0.2;
- Node92lineStart = (Node92width - (ht.Default.getTextSize('P(MW):', ' '+ Node92fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node92align === 'center') {
- Node92textStart = -3;
- Node92textWidth = Node92width;
- Node92lineStart = Node92width - ht.Default.getTextSize('P(MW):', ' '+ Node92fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node92.setImage(GD.getTextJSON(Node92width, Node92height, true, false, false, ' '+ Node92fontSize + 'px "Arial"'))
- Node92.setPosition(327*ratio.ratioX, 374*ratio.ratioY);
- Node92.setWidth(Node92width);
- Node92.setHeight(Node92height);
- Node92._nodeType = 'text';
- Node92._disallowEvert = true;
- Node92.setRotation(0*Math.PI/180);
- Node92.a('node.width', Node92width);
- Node92.a('node.height', Node92height);
- Node92.a('node.rect', [0, 0, Node92width, Node92height]);
- Node92.a('node.bordercolor','rgba(0,0,0,1)');
- Node92.a('node.borderwidth', 0);
- Node92.a('node.background','' || 'rgba(0,0,0,0)');
- Node92.a('node.gradient','');
- Node92.a('node.gradientcolor','');
- Node92.a('node.text','P(MW):');
- Node92.a('node.textalign','left');
- Node92.a('node.textvAlign','middle');
- Node92.a('node.textrect', [Node92textStart, 0, Node92textWidth, Node92height]);
- Node92.a('node.color','rgba(0,0,0,1)');
- Node92.a('node.font',' '+ Node92fontSize + 'px "Arial"');
- Node92.a('node.textvisible',true);
- Node92.a('node.linefeed',false);
- if (false) {
- Node92.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node92.a('node.text') || 'P(MW):';
- var color=Node92.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node92width,Node92height,13.3333*_ratio.ratioY,"left",color,' '+ Node92fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node92.a('node.underlinepoints',[Node92lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node92fontSize + 2 , ht.Default.getTextSize('P(MW):', ' '+ Node92fontSize + 'px "Arial"').width + 6, (Node92height - Node92fontSize) * 0.5*_ratio.ratioY + Node92fontSize + 2 ]);
- Node92.a('node.underlinevisible',false);
- Node92.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node92);
- zoomNodeList.push({
- node: Node92,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node93 = new ht.Node();
- var Node93textStart, Node93textWidth, Node93lineStart, Node93align = 'left', Node93fontSize = 13.3333*_ratio.ratioY,Node93width = 72*_ratio.ratioX, Node93height = 26*_ratio.ratioY;
- (function () {
- if (Node93align === 'left') {
- Node93textStart = Node93fontSize * 0.2 > 2 ? Node93fontSize * 0.2 - 4 : Node93fontSize * 0.2 - 9;
- Node93textWidth = Node93width;
- Node93lineStart = 1;
- } else if (Node93align === 'right') {
- Node93textStart = 0;
- Node93textWidth =Node93fontSize <= 8 ? Node93width + Node93fontSize * 0.2 + 6 : Node93width - Node93fontSize * 0.2;
- Node93lineStart = (Node93width - (ht.Default.getTextSize('Q(MVar):', ' '+ Node93fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node93align === 'center') {
- Node93textStart = -3;
- Node93textWidth = Node93width;
- Node93lineStart = Node93width - ht.Default.getTextSize('Q(MVar):', ' '+ Node93fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node93.setImage(GD.getTextJSON(Node93width, Node93height, true, false, false, ' '+ Node93fontSize + 'px "Arial"'))
- Node93.setPosition(323*ratio.ratioX, 393*ratio.ratioY);
- Node93.setWidth(Node93width);
- Node93.setHeight(Node93height);
- Node93._nodeType = 'text';
- Node93._disallowEvert = true;
- Node93.setRotation(0*Math.PI/180);
- Node93.a('node.width', Node93width);
- Node93.a('node.height', Node93height);
- Node93.a('node.rect', [0, 0, Node93width, Node93height]);
- Node93.a('node.bordercolor','rgba(0,0,0,1)');
- Node93.a('node.borderwidth', 0);
- Node93.a('node.background','' || 'rgba(0,0,0,0)');
- Node93.a('node.gradient','');
- Node93.a('node.gradientcolor','');
- Node93.a('node.text','Q(MVar):');
- Node93.a('node.textalign','left');
- Node93.a('node.textvAlign','middle');
- Node93.a('node.textrect', [Node93textStart, 0, Node93textWidth, Node93height]);
- Node93.a('node.color','rgba(0,0,0,1)');
- Node93.a('node.font',' '+ Node93fontSize + 'px "Arial"');
- Node93.a('node.textvisible',true);
- Node93.a('node.linefeed',false);
- if (false) {
- Node93.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node93.a('node.text') || 'Q(MVar):';
- var color=Node93.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node93width,Node93height,13.3333*_ratio.ratioY,"left",color,' '+ Node93fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node93.a('node.underlinepoints',[Node93lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node93fontSize + 2 , ht.Default.getTextSize('Q(MVar):', ' '+ Node93fontSize + 'px "Arial"').width + 6, (Node93height - Node93fontSize) * 0.5*_ratio.ratioY + Node93fontSize + 2 ]);
- Node93.a('node.underlinevisible',false);
- Node93.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node93);
- zoomNodeList.push({
- node: Node93,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node94 = new ht.Node();
- var Node94textStart, Node94textWidth, Node94lineStart, Node94align = 'left', Node94fontSize = 13.3333*_ratio.ratioY,Node94width = 62*_ratio.ratioX, Node94height = 26*_ratio.ratioY;
- (function () {
- if (Node94align === 'left') {
- Node94textStart = Node94fontSize * 0.2 > 2 ? Node94fontSize * 0.2 - 4 : Node94fontSize * 0.2 - 9;
- Node94textWidth = Node94width;
- Node94lineStart = 1;
- } else if (Node94align === 'right') {
- Node94textStart = 0;
- Node94textWidth =Node94fontSize <= 8 ? Node94width + Node94fontSize * 0.2 + 6 : Node94width - Node94fontSize * 0.2;
- Node94lineStart = (Node94width - (ht.Default.getTextSize('档位:', ' '+ Node94fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node94align === 'center') {
- Node94textStart = -3;
- Node94textWidth = Node94width;
- Node94lineStart = Node94width - ht.Default.getTextSize('档位:', ' '+ Node94fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node94.setImage(GD.getTextJSON(Node94width, Node94height, true, false, false, ' '+ Node94fontSize + 'px "Arial"'))
- Node94.setPosition(340*ratio.ratioX, 413*ratio.ratioY);
- Node94.setWidth(Node94width);
- Node94.setHeight(Node94height);
- Node94._nodeType = 'text';
- Node94._disallowEvert = true;
- Node94.setRotation(0*Math.PI/180);
- Node94.a('node.width', Node94width);
- Node94.a('node.height', Node94height);
- Node94.a('node.rect', [0, 0, Node94width, Node94height]);
- Node94.a('node.bordercolor','rgba(0,0,0,1)');
- Node94.a('node.borderwidth', 0);
- Node94.a('node.background','' || 'rgba(0,0,0,0)');
- Node94.a('node.gradient','');
- Node94.a('node.gradientcolor','');
- Node94.a('node.text','档位:');
- Node94.a('node.textalign','left');
- Node94.a('node.textvAlign','middle');
- Node94.a('node.textrect', [Node94textStart, 0, Node94textWidth, Node94height]);
- Node94.a('node.color','rgba(0,0,0,1)');
- Node94.a('node.font',' '+ Node94fontSize + 'px "Arial"');
- Node94.a('node.textvisible',true);
- Node94.a('node.linefeed',false);
- if (false) {
- Node94.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node94.a('node.text') || '档位:';
- var color=Node94.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node94width,Node94height,13.3333*_ratio.ratioY,"left",color,' '+ Node94fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node94.a('node.underlinepoints',[Node94lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node94fontSize + 2 , ht.Default.getTextSize('档位:', ' '+ Node94fontSize + 'px "Arial"').width + 6, (Node94height - Node94fontSize) * 0.5*_ratio.ratioY + Node94fontSize + 2 ]);
- Node94.a('node.underlinevisible',false);
- Node94.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node94);
- zoomNodeList.push({
- node: Node94,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node95 = new ht.Node();
- var Node95textStart, Node95textWidth, Node95lineStart, Node95align = 'left', Node95fontSize = 13.3333*_ratio.ratioY,Node95width = 62*_ratio.ratioX, Node95height = 26*_ratio.ratioY;
- (function () {
- if (Node95align === 'left') {
- Node95textStart = Node95fontSize * 0.2 > 2 ? Node95fontSize * 0.2 - 4 : Node95fontSize * 0.2 - 9;
- Node95textWidth = Node95width;
- Node95lineStart = 1;
- } else if (Node95align === 'right') {
- Node95textStart = 0;
- Node95textWidth =Node95fontSize <= 8 ? Node95width + Node95fontSize * 0.2 + 6 : Node95width - Node95fontSize * 0.2;
- Node95lineStart = (Node95width - (ht.Default.getTextSize('油温1:', ' '+ Node95fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node95align === 'center') {
- Node95textStart = -3;
- Node95textWidth = Node95width;
- Node95lineStart = Node95width - ht.Default.getTextSize('油温1:', ' '+ Node95fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node95.setImage(GD.getTextJSON(Node95width, Node95height, true, false, false, ' '+ Node95fontSize + 'px "Arial"'))
- Node95.setPosition(332*ratio.ratioX, 432*ratio.ratioY);
- Node95.setWidth(Node95width);
- Node95.setHeight(Node95height);
- Node95._nodeType = 'text';
- Node95._disallowEvert = true;
- Node95.setRotation(0*Math.PI/180);
- Node95.a('node.width', Node95width);
- Node95.a('node.height', Node95height);
- Node95.a('node.rect', [0, 0, Node95width, Node95height]);
- Node95.a('node.bordercolor','rgba(0,0,0,1)');
- Node95.a('node.borderwidth', 0);
- Node95.a('node.background','' || 'rgba(0,0,0,0)');
- Node95.a('node.gradient','');
- Node95.a('node.gradientcolor','');
- Node95.a('node.text','油温1:');
- Node95.a('node.textalign','left');
- Node95.a('node.textvAlign','middle');
- Node95.a('node.textrect', [Node95textStart, 0, Node95textWidth, Node95height]);
- Node95.a('node.color','rgba(0,0,0,1)');
- Node95.a('node.font',' '+ Node95fontSize + 'px "Arial"');
- Node95.a('node.textvisible',true);
- Node95.a('node.linefeed',false);
- if (false) {
- Node95.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node95.a('node.text') || '油温1:';
- var color=Node95.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node95width,Node95height,13.3333*_ratio.ratioY,"left",color,' '+ Node95fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node95.a('node.underlinepoints',[Node95lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node95fontSize + 2 , ht.Default.getTextSize('油温1:', ' '+ Node95fontSize + 'px "Arial"').width + 6, (Node95height - Node95fontSize) * 0.5*_ratio.ratioY + Node95fontSize + 2 ]);
- Node95.a('node.underlinevisible',false);
- Node95.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node95);
- zoomNodeList.push({
- node: Node95,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node96 = new ht.Node();
- var Node96textStart, Node96textWidth, Node96lineStart, Node96align = 'left', Node96fontSize = 13.3333*_ratio.ratioY,Node96width = 62*_ratio.ratioX, Node96height = 26*_ratio.ratioY;
- (function () {
- if (Node96align === 'left') {
- Node96textStart = Node96fontSize * 0.2 > 2 ? Node96fontSize * 0.2 - 4 : Node96fontSize * 0.2 - 9;
- Node96textWidth = Node96width;
- Node96lineStart = 1;
- } else if (Node96align === 'right') {
- Node96textStart = 0;
- Node96textWidth =Node96fontSize <= 8 ? Node96width + Node96fontSize * 0.2 + 6 : Node96width - Node96fontSize * 0.2;
- Node96lineStart = (Node96width - (ht.Default.getTextSize('油温2:', ' '+ Node96fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node96align === 'center') {
- Node96textStart = -3;
- Node96textWidth = Node96width;
- Node96lineStart = Node96width - ht.Default.getTextSize('油温2:', ' '+ Node96fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node96.setImage(GD.getTextJSON(Node96width, Node96height, true, false, false, ' '+ Node96fontSize + 'px "Arial"'))
- Node96.setPosition(332*ratio.ratioX, 452*ratio.ratioY);
- Node96.setWidth(Node96width);
- Node96.setHeight(Node96height);
- Node96._nodeType = 'text';
- Node96._disallowEvert = true;
- Node96.setRotation(0*Math.PI/180);
- Node96.a('node.width', Node96width);
- Node96.a('node.height', Node96height);
- Node96.a('node.rect', [0, 0, Node96width, Node96height]);
- Node96.a('node.bordercolor','rgba(0,0,0,1)');
- Node96.a('node.borderwidth', 0);
- Node96.a('node.background','' || 'rgba(0,0,0,0)');
- Node96.a('node.gradient','');
- Node96.a('node.gradientcolor','');
- Node96.a('node.text','油温2:');
- Node96.a('node.textalign','left');
- Node96.a('node.textvAlign','middle');
- Node96.a('node.textrect', [Node96textStart, 0, Node96textWidth, Node96height]);
- Node96.a('node.color','rgba(0,0,0,1)');
- Node96.a('node.font',' '+ Node96fontSize + 'px "Arial"');
- Node96.a('node.textvisible',true);
- Node96.a('node.linefeed',false);
- if (false) {
- Node96.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node96.a('node.text') || '油温2:';
- var color=Node96.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node96width,Node96height,13.3333*_ratio.ratioY,"left",color,' '+ Node96fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node96.a('node.underlinepoints',[Node96lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node96fontSize + 2 , ht.Default.getTextSize('油温2:', ' '+ Node96fontSize + 'px "Arial"').width + 6, (Node96height - Node96fontSize) * 0.5*_ratio.ratioY + Node96fontSize + 2 ]);
- Node96.a('node.underlinevisible',false);
- Node96.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node96);
- zoomNodeList.push({
- node: Node96,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node97 = new ht.Node();
- var Node97textStart, Node97textWidth, Node97lineStart, Node97align = 'left', Node97fontSize = 13.3333*_ratio.ratioY,Node97width = 79*_ratio.ratioX, Node97height = 26*_ratio.ratioY;
- (function () {
- if (Node97align === 'left') {
- Node97textStart = Node97fontSize * 0.2 > 2 ? Node97fontSize * 0.2 - 4 : Node97fontSize * 0.2 - 9;
- Node97textWidth = Node97width;
- Node97lineStart = 1;
- } else if (Node97align === 'right') {
- Node97textStart = 0;
- Node97textWidth =Node97fontSize <= 8 ? Node97width + Node97fontSize * 0.2 + 6 : Node97width - Node97fontSize * 0.2;
- Node97lineStart = (Node97width - (ht.Default.getTextSize('绕组油温:', ' '+ Node97fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node97align === 'center') {
- Node97textStart = -3;
- Node97textWidth = Node97width;
- Node97lineStart = Node97width - ht.Default.getTextSize('绕组油温:', ' '+ Node97fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node97.setImage(GD.getTextJSON(Node97width, Node97height, true, false, false, ' '+ Node97fontSize + 'px "Arial"'))
- Node97.setPosition(318*ratio.ratioX, 471*ratio.ratioY);
- Node97.setWidth(Node97width);
- Node97.setHeight(Node97height);
- Node97._nodeType = 'text';
- Node97._disallowEvert = true;
- Node97.setRotation(0*Math.PI/180);
- Node97.a('node.width', Node97width);
- Node97.a('node.height', Node97height);
- Node97.a('node.rect', [0, 0, Node97width, Node97height]);
- Node97.a('node.bordercolor','rgba(0,0,0,1)');
- Node97.a('node.borderwidth', 0);
- Node97.a('node.background','' || 'rgba(0,0,0,0)');
- Node97.a('node.gradient','');
- Node97.a('node.gradientcolor','');
- Node97.a('node.text','绕组油温:');
- Node97.a('node.textalign','left');
- Node97.a('node.textvAlign','middle');
- Node97.a('node.textrect', [Node97textStart, 0, Node97textWidth, Node97height]);
- Node97.a('node.color','rgba(0,0,0,1)');
- Node97.a('node.font',' '+ Node97fontSize + 'px "Arial"');
- Node97.a('node.textvisible',true);
- Node97.a('node.linefeed',false);
- if (false) {
- Node97.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node97.a('node.text') || '绕组油温:';
- var color=Node97.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node97width,Node97height,13.3333*_ratio.ratioY,"left",color,' '+ Node97fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node97.a('node.underlinepoints',[Node97lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node97fontSize + 2 , ht.Default.getTextSize('绕组油温:', ' '+ Node97fontSize + 'px "Arial"').width + 6, (Node97height - Node97fontSize) * 0.5*_ratio.ratioY + Node97fontSize + 2 ]);
- Node97.a('node.underlinevisible',false);
- Node97.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node97);
- zoomNodeList.push({
- node: Node97,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node98type = 'rect';
- var Node98 = new ht.Node(),
- Node98BorderWidth = 1*2;
- if (Node98type === 'arc') {
- Node98BorderWidth *= 1;
- }
- Node98.setImage(GD.getRectJSON(100*_ratio.ratioX, 20*_ratio.ratioY, Node98type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node98.setPosition(610*ratio.ratioX, 191*ratio.ratioY);
- Node98.setSize(100*_ratio.ratioX, 20*_ratio.ratioY);
- Node98.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node98.a('node.width', 100*_ratio.ratioX);
- Node98.a('node.height', 20*_ratio.ratioY);
- Node98.a('node.type', Node98type);
- Node98.a('node.rect', [0, 0, 100*_ratio.ratioX, 20*_ratio.ratioY]);
- Node98.a('node.background', 'rgba(0,0,192,1)');
- Node98.a('node.gradientcolor', 'rgba(0,0,192,1)');
- Node98.a('node.gradient', '');
- Node98.a('node.borderwidth', Node98BorderWidth);
- Node98.a('node.color', 'rgba(0,0,192,1)');
- Node98.a('node.fillrect', [0,0,0,0]);
- Node98.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node98.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node98.a('node.fillgradient', '');
- if (Node98type !== 'rect') {
- Node98.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node98.a('node.arcTo', parseFloat('@arcTo@'));
- Node98.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node98type === 'arc') {
- Node98.a('node.arcOval', true);
- }
- Node98.setRotation(0*Math.PI/180);
- Node98.borderWidth = Node98BorderWidth;
- Node98.borderFillwidth = Node98BorderWidth;
- dataModel.add(Node98);
- Node98._nodename = 'Node98'
- Node98._nodeType = 'rect';
- zoomNodeList.push({
- node: Node98,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node98, Node98.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node99 = new ht.Node();
- var Node99textStart, Node99textWidth, Node99lineStart, Node99align = 'left', Node99fontSize = 13.3333*_ratio.ratioY,Node99width = 115*_ratio.ratioX, Node99height = 24*_ratio.ratioY;
- (function () {
- if (Node99align === 'left') {
- Node99textStart = Node99fontSize * 0.2 > 2 ? Node99fontSize * 0.2 - 4 : Node99fontSize * 0.2 - 9;
- Node99textWidth = Node99width;
- Node99lineStart = 1;
- } else if (Node99align === 'right') {
- Node99textStart = 0;
- Node99textWidth =Node99fontSize <= 8 ? Node99width + Node99fontSize * 0.2 + 6 : Node99width - Node99fontSize * 0.2;
- Node99lineStart = (Node99width - (ht.Default.getTextSize('220kV圣高线', ' '+ Node99fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node99align === 'center') {
- Node99textStart = -3;
- Node99textWidth = Node99width;
- Node99lineStart = Node99width - ht.Default.getTextSize('220kV圣高线', ' '+ Node99fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node99.setImage(GD.getTextJSON(Node99width, Node99height, true, false, false, ' '+ Node99fontSize + 'px "Arial"'))
- Node99.setPosition(623*ratio.ratioX, 193*ratio.ratioY);
- Node99.setWidth(Node99width);
- Node99.setHeight(Node99height);
- Node99._nodeType = 'text';
- Node99._disallowEvert = true;
- Node99.setRotation(0*Math.PI/180);
- Node99.a('node.width', Node99width);
- Node99.a('node.height', Node99height);
- Node99.a('node.rect', [0, 0, Node99width, Node99height]);
- Node99.a('node.bordercolor','rgba(255,255,255,1)');
- Node99.a('node.borderwidth', 0);
- Node99.a('node.background','' || 'rgba(0,0,0,0)');
- Node99.a('node.gradient','');
- Node99.a('node.gradientcolor','');
- Node99.a('node.text','220kV圣高线');
- Node99.a('node.textalign','left');
- Node99.a('node.textvAlign','middle');
- Node99.a('node.textrect', [Node99textStart, 0, Node99textWidth, Node99height]);
- Node99.a('node.color','rgba(255,255,255,1)');
- Node99.a('node.font',' '+ Node99fontSize + 'px "Arial"');
- Node99.a('node.textvisible',true);
- Node99.a('node.linefeed',false);
- if (false) {
- Node99.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node99.a('node.text') || '220kV圣高线';
- var color=Node99.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node99width,Node99height,13.3333*_ratio.ratioY,"left",color,' '+ Node99fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node99.a('node.underlinepoints',[Node99lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node99fontSize + 2 , ht.Default.getTextSize('220kV圣高线', ' '+ Node99fontSize + 'px "Arial"').width + 6, (Node99height - Node99fontSize) * 0.5*_ratio.ratioY + Node99fontSize + 2 ]);
- Node99.a('node.underlinevisible',false);
- Node99.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node99);
- zoomNodeList.push({
- node: Node99,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node100type = 'rect';
- var Node100 = new ht.Node(),
- Node100BorderWidth = 1*2;
- if (Node100type === 'arc') {
- Node100BorderWidth *= 1;
- }
- Node100.setImage(GD.getRectJSON(70*_ratio.ratioX, 20*_ratio.ratioY, Node100type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node100.setPosition(1135*ratio.ratioX, 191*ratio.ratioY);
- Node100.setSize(70*_ratio.ratioX, 20*_ratio.ratioY);
- Node100.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node100.a('node.width', 70*_ratio.ratioX);
- Node100.a('node.height', 20*_ratio.ratioY);
- Node100.a('node.type', Node100type);
- Node100.a('node.rect', [0, 0, 70*_ratio.ratioX, 20*_ratio.ratioY]);
- Node100.a('node.background', 'rgba(0,0,197,1)');
- Node100.a('node.gradientcolor', 'rgba(0,0,197,1)');
- Node100.a('node.gradient', '');
- Node100.a('node.borderwidth', Node100BorderWidth);
- Node100.a('node.color', 'rgba(0,0,197,1)');
- Node100.a('node.fillrect', [0,0,0,0]);
- Node100.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node100.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node100.a('node.fillgradient', '');
- if (Node100type !== 'rect') {
- Node100.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node100.a('node.arcTo', parseFloat('@arcTo@'));
- Node100.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node100type === 'arc') {
- Node100.a('node.arcOval', true);
- }
- Node100.setRotation(0*Math.PI/180);
- Node100.borderWidth = Node100BorderWidth;
- Node100.borderFillwidth = Node100BorderWidth;
- dataModel.add(Node100);
- Node100._nodename = 'Node100'
- Node100._nodeType = 'rect';
- zoomNodeList.push({
- node: Node100,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node100, Node100.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node101 = new ht.Node();
- var Node101textStart, Node101textWidth, Node101lineStart, Node101align = 'left', Node101fontSize = 13.3333*_ratio.ratioY,Node101width = 74*_ratio.ratioX, Node101height = 25*_ratio.ratioY;
- (function () {
- if (Node101align === 'left') {
- Node101textStart = Node101fontSize * 0.2 > 2 ? Node101fontSize * 0.2 - 4 : Node101fontSize * 0.2 - 9;
- Node101textWidth = Node101width;
- Node101lineStart = 1;
- } else if (Node101align === 'right') {
- Node101textStart = 0;
- Node101textWidth =Node101fontSize <= 8 ? Node101width + Node101fontSize * 0.2 + 6 : Node101width - Node101fontSize * 0.2;
- Node101lineStart = (Node101width - (ht.Default.getTextSize('高右线', ' '+ Node101fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node101align === 'center') {
- Node101textStart = -3;
- Node101textWidth = Node101width;
- Node101lineStart = Node101width - ht.Default.getTextSize('高右线', ' '+ Node101fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node101.setImage(GD.getTextJSON(Node101width, Node101height, true, false, false, ' '+ Node101fontSize + 'px "Arial"'))
- Node101.setPosition(1148*ratio.ratioX, 193*ratio.ratioY);
- Node101.setWidth(Node101width);
- Node101.setHeight(Node101height);
- Node101._nodeType = 'text';
- Node101._disallowEvert = true;
- Node101.setRotation(0*Math.PI/180);
- Node101.a('node.width', Node101width);
- Node101.a('node.height', Node101height);
- Node101.a('node.rect', [0, 0, Node101width, Node101height]);
- Node101.a('node.bordercolor','rgba(255,255,255,1)');
- Node101.a('node.borderwidth', 0);
- Node101.a('node.background','' || 'rgba(0,0,0,0)');
- Node101.a('node.gradient','');
- Node101.a('node.gradientcolor','');
- Node101.a('node.text','高右线');
- Node101.a('node.textalign','left');
- Node101.a('node.textvAlign','middle');
- Node101.a('node.textrect', [Node101textStart, 0, Node101textWidth, Node101height]);
- Node101.a('node.color','rgba(255,255,255,1)');
- Node101.a('node.font',' '+ Node101fontSize + 'px "Arial"');
- Node101.a('node.textvisible',true);
- Node101.a('node.linefeed',false);
- if (false) {
- Node101.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node101.a('node.text') || '高右线';
- var color=Node101.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node101width,Node101height,13.3333*_ratio.ratioY,"left",color,' '+ Node101fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node101.a('node.underlinepoints',[Node101lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node101fontSize + 2 , ht.Default.getTextSize('高右线', ' '+ Node101fontSize + 'px "Arial"').width + 6, (Node101height - Node101fontSize) * 0.5*_ratio.ratioY + Node101fontSize + 2 ]);
- Node101.a('node.underlinevisible',false);
- Node101.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node101);
- zoomNodeList.push({
- node: Node101,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node102points=[80, 581,80, 591],
- Node102rect=ht.Default.unionPoint([{x:80,y:581},{x:80,y:591}]),
- Node102compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node102points.length;i++){
- if(i%2==0){
- Node102compspts.push(Node102points[i]-Node102rect.x);
- }else{
- Node102compspts.push(Node102points[i]-Node102rect.y);
- }
- }
- var Node102ptslength=Node102compspts.length;
- if (Node102rect.height === 0) {
- Node102compspts[0] -= 0;
- Node102compspts[Node102ptslength-2] += 0;
- } else if (Node102rect.width === 0){
- Node102compspts[1] -= 0;
- Node102compspts[Node102ptslength-1] += 0;
- } else {
- Node102compspts[0] -= 0;
- Node102compspts[1] -= 0;
- Node102compspts[Node102ptslength-2] += 0;
- Node102compspts[Node102ptslength-1] += 0;
- }
- Node102 = new ht.Node();
- Node102.borderWidth = 1;
- Node102rect.width = Node102rect.width === 0 ? 0.0001 : Node102rect.width;
- Node102rect.height = Node102rect.height === 0 ? 0.0001 : Node102rect.height;
- var Node102endCompspts = [Node102compspts[Node102ptslength-2],Node102compspts[Node102ptslength-1],0,0];
- var Node102startCompspts = [Node102compspts[0],Node102compspts[1],0,0];
- Node102.setImage(GD.getPolyLineJSON());
- Node102.setPosition(Node102rect.x+Node102rect.width/2,Node102rect.y+Node102rect.height/2);
- Node102.setSize(Node102rect.width,Node102rect.height);
- Node102.setStyle("opacity",1);
- Node102.s({'pixelPerfect':true});
- Node102borderwidth=1;
- Node102.setRotation(0);
- dataModel.add(Node102);
- Node102.a('node.points',Node102compspts);
- Node102.a('node.segments',[1,2]);
- Node102.a('node.color','rgba(255,128,0,1)');
- Node102.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node102.a('node.borderColor','rgba(255,128,0,1)');
- Node102.a('node.background','rgba(255,128,0,1)');
- Node102.a('node.gradient','');
- Node102.a('node.gradientcolor','rgba(255,128,0,1)');
- Node102.a('node.endCompspts',Node102endCompspts);
- Node102.a('node.startCompspts',Node102startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node102';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node102, Node102.getImage(), Node102compspts, Node102endCompspts, Node102startCompspts);
- var Node103points=[170, 581,170, 591],
- Node103rect=ht.Default.unionPoint([{x:170,y:581},{x:170,y:591}]),
- Node103compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node103points.length;i++){
- if(i%2==0){
- Node103compspts.push(Node103points[i]-Node103rect.x);
- }else{
- Node103compspts.push(Node103points[i]-Node103rect.y);
- }
- }
- var Node103ptslength=Node103compspts.length;
- if (Node103rect.height === 0) {
- Node103compspts[0] -= 0;
- Node103compspts[Node103ptslength-2] += 0;
- } else if (Node103rect.width === 0){
- Node103compspts[1] -= 0;
- Node103compspts[Node103ptslength-1] += 0;
- } else {
- Node103compspts[0] -= 0;
- Node103compspts[1] -= 0;
- Node103compspts[Node103ptslength-2] += 0;
- Node103compspts[Node103ptslength-1] += 0;
- }
- Node103 = new ht.Node();
- Node103.borderWidth = 1;
- Node103rect.width = Node103rect.width === 0 ? 0.0001 : Node103rect.width;
- Node103rect.height = Node103rect.height === 0 ? 0.0001 : Node103rect.height;
- var Node103endCompspts = [Node103compspts[Node103ptslength-2],Node103compspts[Node103ptslength-1],0,0];
- var Node103startCompspts = [Node103compspts[0],Node103compspts[1],0,0];
- Node103.setImage(GD.getPolyLineJSON());
- Node103.setPosition(Node103rect.x+Node103rect.width/2,Node103rect.y+Node103rect.height/2);
- Node103.setSize(Node103rect.width,Node103rect.height);
- Node103.setStyle("opacity",1);
- Node103.s({'pixelPerfect':true});
- Node103borderwidth=1;
- Node103.setRotation(0);
- dataModel.add(Node103);
- Node103.a('node.points',Node103compspts);
- Node103.a('node.segments',[1,2]);
- Node103.a('node.color','rgba(255,128,0,1)');
- Node103.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node103.a('node.borderColor','rgba(255,128,0,1)');
- Node103.a('node.background','rgba(255,128,0,1)');
- Node103.a('node.gradient','');
- Node103.a('node.gradientcolor','rgba(255,128,0,1)');
- Node103.a('node.endCompspts',Node103endCompspts);
- Node103.a('node.startCompspts',Node103startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node103';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node103, Node103.getImage(), Node103compspts, Node103endCompspts, Node103startCompspts);
- var Node104points=[260, 581,260, 591],
- Node104rect=ht.Default.unionPoint([{x:260,y:581},{x:260,y:591}]),
- Node104compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node104points.length;i++){
- if(i%2==0){
- Node104compspts.push(Node104points[i]-Node104rect.x);
- }else{
- Node104compspts.push(Node104points[i]-Node104rect.y);
- }
- }
- var Node104ptslength=Node104compspts.length;
- if (Node104rect.height === 0) {
- Node104compspts[0] -= 0;
- Node104compspts[Node104ptslength-2] += 0;
- } else if (Node104rect.width === 0){
- Node104compspts[1] -= 0;
- Node104compspts[Node104ptslength-1] += 0;
- } else {
- Node104compspts[0] -= 0;
- Node104compspts[1] -= 0;
- Node104compspts[Node104ptslength-2] += 0;
- Node104compspts[Node104ptslength-1] += 0;
- }
- Node104 = new ht.Node();
- Node104.borderWidth = 1;
- Node104rect.width = Node104rect.width === 0 ? 0.0001 : Node104rect.width;
- Node104rect.height = Node104rect.height === 0 ? 0.0001 : Node104rect.height;
- var Node104endCompspts = [Node104compspts[Node104ptslength-2],Node104compspts[Node104ptslength-1],0,0];
- var Node104startCompspts = [Node104compspts[0],Node104compspts[1],0,0];
- Node104.setImage(GD.getPolyLineJSON());
- Node104.setPosition(Node104rect.x+Node104rect.width/2,Node104rect.y+Node104rect.height/2);
- Node104.setSize(Node104rect.width,Node104rect.height);
- Node104.setStyle("opacity",1);
- Node104.s({'pixelPerfect':true});
- Node104borderwidth=1;
- Node104.setRotation(0);
- dataModel.add(Node104);
- Node104.a('node.points',Node104compspts);
- Node104.a('node.segments',[1,2]);
- Node104.a('node.color','rgba(255,128,0,1)');
- Node104.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node104.a('node.borderColor','rgba(255,128,0,1)');
- Node104.a('node.background','rgba(255,128,0,1)');
- Node104.a('node.gradient','');
- Node104.a('node.gradientcolor','rgba(255,128,0,1)');
- Node104.a('node.endCompspts',Node104endCompspts);
- Node104.a('node.startCompspts',Node104startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node104';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node104, Node104.getImage(), Node104compspts, Node104endCompspts, Node104startCompspts);
- var Node105points=[350, 581,350, 591],
- Node105rect=ht.Default.unionPoint([{x:350,y:581},{x:350,y:591}]),
- Node105compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node105points.length;i++){
- if(i%2==0){
- Node105compspts.push(Node105points[i]-Node105rect.x);
- }else{
- Node105compspts.push(Node105points[i]-Node105rect.y);
- }
- }
- var Node105ptslength=Node105compspts.length;
- if (Node105rect.height === 0) {
- Node105compspts[0] -= 0;
- Node105compspts[Node105ptslength-2] += 0;
- } else if (Node105rect.width === 0){
- Node105compspts[1] -= 0;
- Node105compspts[Node105ptslength-1] += 0;
- } else {
- Node105compspts[0] -= 0;
- Node105compspts[1] -= 0;
- Node105compspts[Node105ptslength-2] += 0;
- Node105compspts[Node105ptslength-1] += 0;
- }
- Node105 = new ht.Node();
- Node105.borderWidth = 1;
- Node105rect.width = Node105rect.width === 0 ? 0.0001 : Node105rect.width;
- Node105rect.height = Node105rect.height === 0 ? 0.0001 : Node105rect.height;
- var Node105endCompspts = [Node105compspts[Node105ptslength-2],Node105compspts[Node105ptslength-1],0,0];
- var Node105startCompspts = [Node105compspts[0],Node105compspts[1],0,0];
- Node105.setImage(GD.getPolyLineJSON());
- Node105.setPosition(Node105rect.x+Node105rect.width/2,Node105rect.y+Node105rect.height/2);
- Node105.setSize(Node105rect.width,Node105rect.height);
- Node105.setStyle("opacity",1);
- Node105.s({'pixelPerfect':true});
- Node105borderwidth=1;
- Node105.setRotation(0);
- dataModel.add(Node105);
- Node105.a('node.points',Node105compspts);
- Node105.a('node.segments',[1,2]);
- Node105.a('node.color','rgba(255,128,0,1)');
- Node105.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node105.a('node.borderColor','rgba(255,128,0,1)');
- Node105.a('node.background','rgba(255,128,0,1)');
- Node105.a('node.gradient','');
- Node105.a('node.gradientcolor','rgba(255,128,0,1)');
- Node105.a('node.endCompspts',Node105endCompspts);
- Node105.a('node.startCompspts',Node105startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node105';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node105, Node105.getImage(), Node105compspts, Node105endCompspts, Node105startCompspts);
- var Node106points=[440, 581,440, 591],
- Node106rect=ht.Default.unionPoint([{x:440,y:581},{x:440,y:591}]),
- Node106compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node106points.length;i++){
- if(i%2==0){
- Node106compspts.push(Node106points[i]-Node106rect.x);
- }else{
- Node106compspts.push(Node106points[i]-Node106rect.y);
- }
- }
- var Node106ptslength=Node106compspts.length;
- if (Node106rect.height === 0) {
- Node106compspts[0] -= 0;
- Node106compspts[Node106ptslength-2] += 0;
- } else if (Node106rect.width === 0){
- Node106compspts[1] -= 0;
- Node106compspts[Node106ptslength-1] += 0;
- } else {
- Node106compspts[0] -= 0;
- Node106compspts[1] -= 0;
- Node106compspts[Node106ptslength-2] += 0;
- Node106compspts[Node106ptslength-1] += 0;
- }
- Node106 = new ht.Node();
- Node106.borderWidth = 1;
- Node106rect.width = Node106rect.width === 0 ? 0.0001 : Node106rect.width;
- Node106rect.height = Node106rect.height === 0 ? 0.0001 : Node106rect.height;
- var Node106endCompspts = [Node106compspts[Node106ptslength-2],Node106compspts[Node106ptslength-1],0,0];
- var Node106startCompspts = [Node106compspts[0],Node106compspts[1],0,0];
- Node106.setImage(GD.getPolyLineJSON());
- Node106.setPosition(Node106rect.x+Node106rect.width/2,Node106rect.y+Node106rect.height/2);
- Node106.setSize(Node106rect.width,Node106rect.height);
- Node106.setStyle("opacity",1);
- Node106.s({'pixelPerfect':true});
- Node106borderwidth=1;
- Node106.setRotation(0);
- dataModel.add(Node106);
- Node106.a('node.points',Node106compspts);
- Node106.a('node.segments',[1,2]);
- Node106.a('node.color','rgba(255,128,0,1)');
- Node106.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node106.a('node.borderColor','rgba(255,128,0,1)');
- Node106.a('node.background','rgba(255,128,0,1)');
- Node106.a('node.gradient','');
- Node106.a('node.gradientcolor','rgba(255,128,0,1)');
- Node106.a('node.endCompspts',Node106endCompspts);
- Node106.a('node.startCompspts',Node106startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node106';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node106, Node106.getImage(), Node106compspts, Node106endCompspts, Node106startCompspts);
- var Node107points=[550, 581,550, 591],
- Node107rect=ht.Default.unionPoint([{x:550,y:581},{x:550,y:591}]),
- Node107compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node107points.length;i++){
- if(i%2==0){
- Node107compspts.push(Node107points[i]-Node107rect.x);
- }else{
- Node107compspts.push(Node107points[i]-Node107rect.y);
- }
- }
- var Node107ptslength=Node107compspts.length;
- if (Node107rect.height === 0) {
- Node107compspts[0] -= 0;
- Node107compspts[Node107ptslength-2] += 0;
- } else if (Node107rect.width === 0){
- Node107compspts[1] -= 0;
- Node107compspts[Node107ptslength-1] += 0;
- } else {
- Node107compspts[0] -= 0;
- Node107compspts[1] -= 0;
- Node107compspts[Node107ptslength-2] += 0;
- Node107compspts[Node107ptslength-1] += 0;
- }
- Node107 = new ht.Node();
- Node107.borderWidth = 1;
- Node107rect.width = Node107rect.width === 0 ? 0.0001 : Node107rect.width;
- Node107rect.height = Node107rect.height === 0 ? 0.0001 : Node107rect.height;
- var Node107endCompspts = [Node107compspts[Node107ptslength-2],Node107compspts[Node107ptslength-1],0,0];
- var Node107startCompspts = [Node107compspts[0],Node107compspts[1],0,0];
- Node107.setImage(GD.getPolyLineJSON());
- Node107.setPosition(Node107rect.x+Node107rect.width/2,Node107rect.y+Node107rect.height/2);
- Node107.setSize(Node107rect.width,Node107rect.height);
- Node107.setStyle("opacity",1);
- Node107.s({'pixelPerfect':true});
- Node107borderwidth=1;
- Node107.setRotation(0);
- dataModel.add(Node107);
- Node107.a('node.points',Node107compspts);
- Node107.a('node.segments',[1,2]);
- Node107.a('node.color','rgba(255,128,0,1)');
- Node107.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node107.a('node.borderColor','rgba(255,128,0,1)');
- Node107.a('node.background','rgba(255,128,0,1)');
- Node107.a('node.gradient','');
- Node107.a('node.gradientcolor','rgba(255,128,0,1)');
- Node107.a('node.endCompspts',Node107endCompspts);
- Node107.a('node.startCompspts',Node107startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node107';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node107, Node107.getImage(), Node107compspts, Node107endCompspts, Node107startCompspts);
- var Node108points=[640, 581,640, 591],
- Node108rect=ht.Default.unionPoint([{x:640,y:581},{x:640,y:591}]),
- Node108compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node108points.length;i++){
- if(i%2==0){
- Node108compspts.push(Node108points[i]-Node108rect.x);
- }else{
- Node108compspts.push(Node108points[i]-Node108rect.y);
- }
- }
- var Node108ptslength=Node108compspts.length;
- if (Node108rect.height === 0) {
- Node108compspts[0] -= 0;
- Node108compspts[Node108ptslength-2] += 0;
- } else if (Node108rect.width === 0){
- Node108compspts[1] -= 0;
- Node108compspts[Node108ptslength-1] += 0;
- } else {
- Node108compspts[0] -= 0;
- Node108compspts[1] -= 0;
- Node108compspts[Node108ptslength-2] += 0;
- Node108compspts[Node108ptslength-1] += 0;
- }
- Node108 = new ht.Node();
- Node108.borderWidth = 1;
- Node108rect.width = Node108rect.width === 0 ? 0.0001 : Node108rect.width;
- Node108rect.height = Node108rect.height === 0 ? 0.0001 : Node108rect.height;
- var Node108endCompspts = [Node108compspts[Node108ptslength-2],Node108compspts[Node108ptslength-1],0,0];
- var Node108startCompspts = [Node108compspts[0],Node108compspts[1],0,0];
- Node108.setImage(GD.getPolyLineJSON());
- Node108.setPosition(Node108rect.x+Node108rect.width/2,Node108rect.y+Node108rect.height/2);
- Node108.setSize(Node108rect.width,Node108rect.height);
- Node108.setStyle("opacity",1);
- Node108.s({'pixelPerfect':true});
- Node108borderwidth=1;
- Node108.setRotation(0);
- dataModel.add(Node108);
- Node108.a('node.points',Node108compspts);
- Node108.a('node.segments',[1,2]);
- Node108.a('node.color','rgba(255,128,0,1)');
- Node108.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node108.a('node.borderColor','rgba(255,128,0,1)');
- Node108.a('node.background','rgba(255,128,0,1)');
- Node108.a('node.gradient','');
- Node108.a('node.gradientcolor','rgba(255,128,0,1)');
- Node108.a('node.endCompspts',Node108endCompspts);
- Node108.a('node.startCompspts',Node108startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node108';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node108, Node108.getImage(), Node108compspts, Node108endCompspts, Node108startCompspts);
- var Node109points=[730, 581,730, 591],
- Node109rect=ht.Default.unionPoint([{x:730,y:581},{x:730,y:591}]),
- Node109compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node109points.length;i++){
- if(i%2==0){
- Node109compspts.push(Node109points[i]-Node109rect.x);
- }else{
- Node109compspts.push(Node109points[i]-Node109rect.y);
- }
- }
- var Node109ptslength=Node109compspts.length;
- if (Node109rect.height === 0) {
- Node109compspts[0] -= 0;
- Node109compspts[Node109ptslength-2] += 0;
- } else if (Node109rect.width === 0){
- Node109compspts[1] -= 0;
- Node109compspts[Node109ptslength-1] += 0;
- } else {
- Node109compspts[0] -= 0;
- Node109compspts[1] -= 0;
- Node109compspts[Node109ptslength-2] += 0;
- Node109compspts[Node109ptslength-1] += 0;
- }
- Node109 = new ht.Node();
- Node109.borderWidth = 1;
- Node109rect.width = Node109rect.width === 0 ? 0.0001 : Node109rect.width;
- Node109rect.height = Node109rect.height === 0 ? 0.0001 : Node109rect.height;
- var Node109endCompspts = [Node109compspts[Node109ptslength-2],Node109compspts[Node109ptslength-1],0,0];
- var Node109startCompspts = [Node109compspts[0],Node109compspts[1],0,0];
- Node109.setImage(GD.getPolyLineJSON());
- Node109.setPosition(Node109rect.x+Node109rect.width/2,Node109rect.y+Node109rect.height/2);
- Node109.setSize(Node109rect.width,Node109rect.height);
- Node109.setStyle("opacity",1);
- Node109.s({'pixelPerfect':true});
- Node109borderwidth=1;
- Node109.setRotation(0);
- dataModel.add(Node109);
- Node109.a('node.points',Node109compspts);
- Node109.a('node.segments',[1,2]);
- Node109.a('node.color','rgba(255,128,0,1)');
- Node109.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node109.a('node.borderColor','rgba(255,128,0,1)');
- Node109.a('node.background','rgba(255,128,0,1)');
- Node109.a('node.gradient','');
- Node109.a('node.gradientcolor','rgba(255,128,0,1)');
- Node109.a('node.endCompspts',Node109endCompspts);
- Node109.a('node.startCompspts',Node109startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node109';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node109, Node109.getImage(), Node109compspts, Node109endCompspts, Node109startCompspts);
- var Node110points=[820, 581,820, 591],
- Node110rect=ht.Default.unionPoint([{x:820,y:581},{x:820,y:591}]),
- Node110compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node110points.length;i++){
- if(i%2==0){
- Node110compspts.push(Node110points[i]-Node110rect.x);
- }else{
- Node110compspts.push(Node110points[i]-Node110rect.y);
- }
- }
- var Node110ptslength=Node110compspts.length;
- if (Node110rect.height === 0) {
- Node110compspts[0] -= 0;
- Node110compspts[Node110ptslength-2] += 0;
- } else if (Node110rect.width === 0){
- Node110compspts[1] -= 0;
- Node110compspts[Node110ptslength-1] += 0;
- } else {
- Node110compspts[0] -= 0;
- Node110compspts[1] -= 0;
- Node110compspts[Node110ptslength-2] += 0;
- Node110compspts[Node110ptslength-1] += 0;
- }
- Node110 = new ht.Node();
- Node110.borderWidth = 1;
- Node110rect.width = Node110rect.width === 0 ? 0.0001 : Node110rect.width;
- Node110rect.height = Node110rect.height === 0 ? 0.0001 : Node110rect.height;
- var Node110endCompspts = [Node110compspts[Node110ptslength-2],Node110compspts[Node110ptslength-1],0,0];
- var Node110startCompspts = [Node110compspts[0],Node110compspts[1],0,0];
- Node110.setImage(GD.getPolyLineJSON());
- Node110.setPosition(Node110rect.x+Node110rect.width/2,Node110rect.y+Node110rect.height/2);
- Node110.setSize(Node110rect.width,Node110rect.height);
- Node110.setStyle("opacity",1);
- Node110.s({'pixelPerfect':true});
- Node110borderwidth=1;
- Node110.setRotation(0);
- dataModel.add(Node110);
- Node110.a('node.points',Node110compspts);
- Node110.a('node.segments',[1,2]);
- Node110.a('node.color','rgba(255,128,0,1)');
- Node110.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node110.a('node.borderColor','rgba(255,128,0,1)');
- Node110.a('node.background','rgba(255,128,0,1)');
- Node110.a('node.gradient','');
- Node110.a('node.gradientcolor','rgba(255,128,0,1)');
- Node110.a('node.endCompspts',Node110endCompspts);
- Node110.a('node.startCompspts',Node110startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node110';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node110, Node110.getImage(), Node110compspts, Node110endCompspts, Node110startCompspts);
- var Node111points=[890, 581,890, 591],
- Node111rect=ht.Default.unionPoint([{x:890,y:581},{x:890,y:591}]),
- Node111compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node111points.length;i++){
- if(i%2==0){
- Node111compspts.push(Node111points[i]-Node111rect.x);
- }else{
- Node111compspts.push(Node111points[i]-Node111rect.y);
- }
- }
- var Node111ptslength=Node111compspts.length;
- if (Node111rect.height === 0) {
- Node111compspts[0] -= 0;
- Node111compspts[Node111ptslength-2] += 0;
- } else if (Node111rect.width === 0){
- Node111compspts[1] -= 0;
- Node111compspts[Node111ptslength-1] += 0;
- } else {
- Node111compspts[0] -= 0;
- Node111compspts[1] -= 0;
- Node111compspts[Node111ptslength-2] += 0;
- Node111compspts[Node111ptslength-1] += 0;
- }
- Node111 = new ht.Node();
- Node111.borderWidth = 1;
- Node111rect.width = Node111rect.width === 0 ? 0.0001 : Node111rect.width;
- Node111rect.height = Node111rect.height === 0 ? 0.0001 : Node111rect.height;
- var Node111endCompspts = [Node111compspts[Node111ptslength-2],Node111compspts[Node111ptslength-1],0,0];
- var Node111startCompspts = [Node111compspts[0],Node111compspts[1],0,0];
- Node111.setImage(GD.getPolyLineJSON());
- Node111.setPosition(Node111rect.x+Node111rect.width/2,Node111rect.y+Node111rect.height/2);
- Node111.setSize(Node111rect.width,Node111rect.height);
- Node111.setStyle("opacity",1);
- Node111.s({'pixelPerfect':true});
- Node111borderwidth=1;
- Node111.setRotation(0);
- dataModel.add(Node111);
- Node111.a('node.points',Node111compspts);
- Node111.a('node.segments',[1,2]);
- Node111.a('node.color','rgba(255,128,0,1)');
- Node111.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node111.a('node.borderColor','rgba(255,128,0,1)');
- Node111.a('node.background','rgba(255,128,0,1)');
- Node111.a('node.gradient','');
- Node111.a('node.gradientcolor','rgba(255,128,0,1)');
- Node111.a('node.endCompspts',Node111endCompspts);
- Node111.a('node.startCompspts',Node111startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node111';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node111, Node111.getImage(), Node111compspts, Node111endCompspts, Node111startCompspts);
- var Node112points=[210, 581,210, 541],
- Node112rect=ht.Default.unionPoint([{x:210,y:581},{x:210,y:541}]),
- Node112compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node112points.length;i++){
- if(i%2==0){
- Node112compspts.push(Node112points[i]-Node112rect.x);
- }else{
- Node112compspts.push(Node112points[i]-Node112rect.y);
- }
- }
- var Node112ptslength=Node112compspts.length;
- if (Node112rect.height === 0) {
- Node112compspts[0] -= 0;
- Node112compspts[Node112ptslength-2] += 0;
- } else if (Node112rect.width === 0){
- Node112compspts[1] -= 0;
- Node112compspts[Node112ptslength-1] += 0;
- } else {
- Node112compspts[0] -= 0;
- Node112compspts[1] -= 0;
- Node112compspts[Node112ptslength-2] += 0;
- Node112compspts[Node112ptslength-1] += 0;
- }
- Node112 = new ht.Node();
- Node112.borderWidth = 1;
- Node112rect.width = Node112rect.width === 0 ? 0.0001 : Node112rect.width;
- Node112rect.height = Node112rect.height === 0 ? 0.0001 : Node112rect.height;
- var Node112endCompspts = [Node112compspts[Node112ptslength-2],Node112compspts[Node112ptslength-1],0,0];
- var Node112startCompspts = [Node112compspts[0],Node112compspts[1],0,0];
- Node112.setImage(GD.getPolyLineJSON());
- Node112.setPosition(Node112rect.x+Node112rect.width/2,Node112rect.y+Node112rect.height/2);
- Node112.setSize(Node112rect.width,Node112rect.height);
- Node112.setStyle("opacity",1);
- Node112.s({'pixelPerfect':true});
- Node112borderwidth=1;
- Node112.setRotation(0);
- dataModel.add(Node112);
- Node112.a('node.points',Node112compspts);
- Node112.a('node.segments',[1,2]);
- Node112.a('node.color','rgba(255,128,0,1)');
- Node112.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node112.a('node.borderColor','rgba(255,128,0,1)');
- Node112.a('node.background','rgba(255,128,0,1)');
- Node112.a('node.gradient','');
- Node112.a('node.gradientcolor','rgba(255,128,0,1)');
- Node112.a('node.endCompspts',Node112endCompspts);
- Node112.a('node.startCompspts',Node112startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node112';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node112, Node112.getImage(), Node112compspts, Node112endCompspts, Node112startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node113 = new ht.lib['pt2'](1531*ratio.ratioX, 222*ratio.ratioY, 36*_ratio.ratioX, 30*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node113');
- _libModel.add("Node113", Node113);
- Node113.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node114 = new ht.Node();
- var Node114textStart, Node114textWidth, Node114lineStart, Node114align = 'left', Node114fontSize = 13.3333*_ratio.ratioY,Node114width = 82*_ratio.ratioX, Node114height = 40*_ratio.ratioY;
- (function () {
- if (Node114align === 'left') {
- Node114textStart = Node114fontSize * 0.2 > 2 ? Node114fontSize * 0.2 - 4 : Node114fontSize * 0.2 - 9;
- Node114textWidth = Node114width;
- Node114lineStart = 1;
- } else if (Node114align === 'right') {
- Node114textStart = 0;
- Node114textWidth =Node114fontSize <= 8 ? Node114width + Node114fontSize * 0.2 + 6 : Node114width - Node114fontSize * 0.2;
- Node114lineStart = (Node114width - (ht.Default.getTextSize('35kV 母线', 'bold '+ Node114fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node114align === 'center') {
- Node114textStart = -3;
- Node114textWidth = Node114width;
- Node114lineStart = Node114width - ht.Default.getTextSize('35kV 母线', 'bold '+ Node114fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node114.setImage(GD.getTextJSON(Node114width, Node114height, true, false, false, 'bold '+ Node114fontSize + 'px "Arial"'))
- Node114.setPosition(101*ratio.ratioX, 563*ratio.ratioY);
- Node114.setWidth(Node114width);
- Node114.setHeight(Node114height);
- Node114._nodeType = 'text';
- Node114._disallowEvert = true;
- Node114.setRotation(0*Math.PI/180);
- Node114.a('node.width', Node114width);
- Node114.a('node.height', Node114height);
- Node114.a('node.rect', [0, 0, Node114width, Node114height]);
- Node114.a('node.bordercolor','rgba(0,0,0,1)');
- Node114.a('node.borderwidth', 0);
- Node114.a('node.background','' || 'rgba(0,0,0,0)');
- Node114.a('node.gradient','');
- Node114.a('node.gradientcolor','');
- Node114.a('node.text','35kV 母线');
- Node114.a('node.textalign','left');
- Node114.a('node.textvAlign','middle');
- Node114.a('node.textrect', [Node114textStart, 0, Node114textWidth, Node114height]);
- Node114.a('node.color','rgba(0,0,0,1)');
- Node114.a('node.font','bold '+ Node114fontSize + 'px "Arial"');
- Node114.a('node.textvisible',true);
- Node114.a('node.linefeed',false);
- if (false) {
- Node114.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node114.a('node.text') || '35kV 母线';
- var color=Node114.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node114width,Node114height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node114fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node114.a('node.underlinepoints',[Node114lineStart, (40 - 13.3333) * 0.5 * _ratio.ratioY + Node114fontSize + 2 , ht.Default.getTextSize('35kV 母线', 'bold '+ Node114fontSize + 'px "Arial"').width + 6, (Node114height - Node114fontSize) * 0.5*_ratio.ratioY + Node114fontSize + 2 ]);
- Node114.a('node.underlinevisible',false);
- Node114.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node114);
- zoomNodeList.push({
- node: Node114,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node115points=[540, 210,600, 210],
- Node115rect=ht.Default.unionPoint([{x:540,y:210},{x:600,y:210}]),
- Node115compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node115points.length;i++){
- if(i%2==0){
- Node115compspts.push(Node115points[i]-Node115rect.x);
- }else{
- Node115compspts.push(Node115points[i]-Node115rect.y);
- }
- }
- var Node115ptslength=Node115compspts.length;
- if (Node115rect.height === 0) {
- Node115compspts[0] -= 0;
- Node115compspts[Node115ptslength-2] += 0;
- } else if (Node115rect.width === 0){
- Node115compspts[1] -= 0;
- Node115compspts[Node115ptslength-1] += 0;
- } else {
- Node115compspts[0] -= 0;
- Node115compspts[1] -= 0;
- Node115compspts[Node115ptslength-2] += 0;
- Node115compspts[Node115ptslength-1] += 0;
- }
- Node115 = new ht.Node();
- Node115.borderWidth = 1;
- Node115rect.width = Node115rect.width === 0 ? 0.0001 : Node115rect.width;
- Node115rect.height = Node115rect.height === 0 ? 0.0001 : Node115rect.height;
- var Node115endCompspts = [Node115compspts[Node115ptslength-2],Node115compspts[Node115ptslength-1],0,0];
- var Node115startCompspts = [Node115compspts[0],Node115compspts[1],0,0];
- Node115.setImage(GD.getPolyLineJSON());
- Node115.setPosition(Node115rect.x+Node115rect.width/2,Node115rect.y+Node115rect.height/2);
- Node115.setSize(Node115rect.width,Node115rect.height);
- Node115.setStyle("opacity",1);
- Node115.s({'pixelPerfect':true});
- Node115borderwidth=1;
- Node115.setRotation(0);
- dataModel.add(Node115);
- Node115.a('node.points',Node115compspts);
- Node115.a('node.segments',[1,2]);
- Node115.a('node.color','rgba(255,0,255,1)');
- Node115.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node115.a('node.borderColor','rgba(255,0,255,1)');
- Node115.a('node.background','rgba(255,0,255,1)');
- Node115.a('node.gradient','');
- Node115.a('node.gradientcolor','rgba(255,0,255,1)');
- Node115.a('node.endCompspts',Node115endCompspts);
- Node115.a('node.startCompspts',Node115startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node115';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node115, Node115.getImage(), Node115compspts, Node115endCompspts, Node115startCompspts);
- var Node116points=[600, 210,600, 219],
- Node116rect=ht.Default.unionPoint([{x:600,y:210},{x:600,y:219}]),
- Node116compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node116points.length;i++){
- if(i%2==0){
- Node116compspts.push(Node116points[i]-Node116rect.x);
- }else{
- Node116compspts.push(Node116points[i]-Node116rect.y);
- }
- }
- var Node116ptslength=Node116compspts.length;
- if (Node116rect.height === 0) {
- Node116compspts[0] -= 0;
- Node116compspts[Node116ptslength-2] += 0;
- } else if (Node116rect.width === 0){
- Node116compspts[1] -= 0;
- Node116compspts[Node116ptslength-1] += 0;
- } else {
- Node116compspts[0] -= 0;
- Node116compspts[1] -= 0;
- Node116compspts[Node116ptslength-2] += 0;
- Node116compspts[Node116ptslength-1] += 0;
- }
- Node116 = new ht.Node();
- Node116.borderWidth = 1;
- Node116rect.width = Node116rect.width === 0 ? 0.0001 : Node116rect.width;
- Node116rect.height = Node116rect.height === 0 ? 0.0001 : Node116rect.height;
- var Node116endCompspts = [Node116compspts[Node116ptslength-2],Node116compspts[Node116ptslength-1],0,0];
- var Node116startCompspts = [Node116compspts[0],Node116compspts[1],0,0];
- Node116.setImage(GD.getPolyLineJSON());
- Node116.setPosition(Node116rect.x+Node116rect.width/2,Node116rect.y+Node116rect.height/2);
- Node116.setSize(Node116rect.width,Node116rect.height);
- Node116.setStyle("opacity",1);
- Node116.s({'pixelPerfect':true});
- Node116borderwidth=1;
- Node116.setRotation(0);
- dataModel.add(Node116);
- Node116.a('node.points',Node116compspts);
- Node116.a('node.segments',[1,2]);
- Node116.a('node.color','rgba(255,0,255,1)');
- Node116.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node116.a('node.borderColor','rgba(255,0,255,1)');
- Node116.a('node.background','rgba(255,0,255,1)');
- Node116.a('node.gradient','');
- Node116.a('node.gradientcolor','rgba(255,0,255,1)');
- Node116.a('node.endCompspts',Node116endCompspts);
- Node116.a('node.startCompspts',Node116startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node116';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node116, Node116.getImage(), Node116compspts, Node116endCompspts, Node116startCompspts);
- var Node117points=[1080, 210,1140, 210],
- Node117rect=ht.Default.unionPoint([{x:1080,y:210},{x:1140,y:210}]),
- Node117compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node117points.length;i++){
- if(i%2==0){
- Node117compspts.push(Node117points[i]-Node117rect.x);
- }else{
- Node117compspts.push(Node117points[i]-Node117rect.y);
- }
- }
- var Node117ptslength=Node117compspts.length;
- if (Node117rect.height === 0) {
- Node117compspts[0] -= 0;
- Node117compspts[Node117ptslength-2] += 0;
- } else if (Node117rect.width === 0){
- Node117compspts[1] -= 0;
- Node117compspts[Node117ptslength-1] += 0;
- } else {
- Node117compspts[0] -= 0;
- Node117compspts[1] -= 0;
- Node117compspts[Node117ptslength-2] += 0;
- Node117compspts[Node117ptslength-1] += 0;
- }
- Node117 = new ht.Node();
- Node117.borderWidth = 1;
- Node117rect.width = Node117rect.width === 0 ? 0.0001 : Node117rect.width;
- Node117rect.height = Node117rect.height === 0 ? 0.0001 : Node117rect.height;
- var Node117endCompspts = [Node117compspts[Node117ptslength-2],Node117compspts[Node117ptslength-1],0,0];
- var Node117startCompspts = [Node117compspts[0],Node117compspts[1],0,0];
- Node117.setImage(GD.getPolyLineJSON());
- Node117.setPosition(Node117rect.x+Node117rect.width/2,Node117rect.y+Node117rect.height/2);
- Node117.setSize(Node117rect.width,Node117rect.height);
- Node117.setStyle("opacity",1);
- Node117.s({'pixelPerfect':true});
- Node117borderwidth=1;
- Node117.setRotation(0);
- dataModel.add(Node117);
- Node117.a('node.points',Node117compspts);
- Node117.a('node.segments',[1,2]);
- Node117.a('node.color','rgba(255,0,255,1)');
- Node117.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node117.a('node.borderColor','rgba(255,0,255,1)');
- Node117.a('node.background','rgba(255,0,255,1)');
- Node117.a('node.gradient','');
- Node117.a('node.gradientcolor','rgba(255,0,255,1)');
- Node117.a('node.endCompspts',Node117endCompspts);
- Node117.a('node.startCompspts',Node117startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node117';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node117, Node117.getImage(), Node117compspts, Node117endCompspts, Node117startCompspts);
- var Node118points=[1140, 210,1140, 219],
- Node118rect=ht.Default.unionPoint([{x:1140,y:210},{x:1140,y:219}]),
- Node118compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node118points.length;i++){
- if(i%2==0){
- Node118compspts.push(Node118points[i]-Node118rect.x);
- }else{
- Node118compspts.push(Node118points[i]-Node118rect.y);
- }
- }
- var Node118ptslength=Node118compspts.length;
- if (Node118rect.height === 0) {
- Node118compspts[0] -= 0;
- Node118compspts[Node118ptslength-2] += 0;
- } else if (Node118rect.width === 0){
- Node118compspts[1] -= 0;
- Node118compspts[Node118ptslength-1] += 0;
- } else {
- Node118compspts[0] -= 0;
- Node118compspts[1] -= 0;
- Node118compspts[Node118ptslength-2] += 0;
- Node118compspts[Node118ptslength-1] += 0;
- }
- Node118 = new ht.Node();
- Node118.borderWidth = 1;
- Node118rect.width = Node118rect.width === 0 ? 0.0001 : Node118rect.width;
- Node118rect.height = Node118rect.height === 0 ? 0.0001 : Node118rect.height;
- var Node118endCompspts = [Node118compspts[Node118ptslength-2],Node118compspts[Node118ptslength-1],0,0];
- var Node118startCompspts = [Node118compspts[0],Node118compspts[1],0,0];
- Node118.setImage(GD.getPolyLineJSON());
- Node118.setPosition(Node118rect.x+Node118rect.width/2,Node118rect.y+Node118rect.height/2);
- Node118.setSize(Node118rect.width,Node118rect.height);
- Node118.setStyle("opacity",1);
- Node118.s({'pixelPerfect':true});
- Node118borderwidth=1;
- Node118.setRotation(0);
- dataModel.add(Node118);
- Node118.a('node.points',Node118compspts);
- Node118.a('node.segments',[1,2]);
- Node118.a('node.color','rgba(255,0,255,1)');
- Node118.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node118.a('node.borderColor','rgba(255,0,255,1)');
- Node118.a('node.background','rgba(255,0,255,1)');
- Node118.a('node.gradient','');
- Node118.a('node.gradientcolor','rgba(255,0,255,1)');
- Node118.a('node.endCompspts',Node118endCompspts);
- Node118.a('node.startCompspts',Node118startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node118';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node118, Node118.getImage(), Node118compspts, Node118endCompspts, Node118startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node119 = new ht.lib['pt接地'](1576*ratio.ratioX, 211*ratio.ratioY, 16*_ratio.ratioX, 14*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node119');
- _libModel.add("Node119", Node119);
- Node119.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node120 = new ht.Node();
- var Node120textStart, Node120textWidth, Node120lineStart, Node120align = 'left', Node120fontSize = 13.3333*_ratio.ratioY,Node120width = 31*_ratio.ratioX, Node120height = 24*_ratio.ratioY;
- (function () {
- if (Node120align === 'left') {
- Node120textStart = Node120fontSize * 0.2 > 2 ? Node120fontSize * 0.2 - 4 : Node120fontSize * 0.2 - 9;
- Node120textWidth = Node120width;
- Node120lineStart = 1;
- } else if (Node120align === 'right') {
- Node120textStart = 0;
- Node120textWidth =Node120fontSize <= 8 ? Node120width + Node120fontSize * 0.2 + 6 : Node120width - Node120fontSize * 0.2;
- Node120lineStart = (Node120width - (ht.Default.getTextSize('301', ' '+ Node120fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node120align === 'center') {
- Node120textStart = -3;
- Node120textWidth = Node120width;
- Node120lineStart = Node120width - ht.Default.getTextSize('301', ' '+ Node120fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node120.setImage(GD.getTextJSON(Node120width, Node120height, true, false, false, ' '+ Node120fontSize + 'px "Arial"'))
- Node120.setPosition(516*ratio.ratioX, 544*ratio.ratioY);
- Node120.setWidth(Node120width);
- Node120.setHeight(Node120height);
- Node120._nodeType = 'text';
- Node120._disallowEvert = true;
- Node120.setRotation(0*Math.PI/180);
- Node120.a('node.width', Node120width);
- Node120.a('node.height', Node120height);
- Node120.a('node.rect', [0, 0, Node120width, Node120height]);
- Node120.a('node.bordercolor','rgba(0,0,0,1)');
- Node120.a('node.borderwidth', 0);
- Node120.a('node.background','' || 'rgba(0,0,0,0)');
- Node120.a('node.gradient','');
- Node120.a('node.gradientcolor','');
- Node120.a('node.text','301');
- Node120.a('node.textalign','left');
- Node120.a('node.textvAlign','middle');
- Node120.a('node.textrect', [Node120textStart, 0, Node120textWidth, Node120height]);
- Node120.a('node.color','rgba(0,0,0,1)');
- Node120.a('node.font',' '+ Node120fontSize + 'px "Arial"');
- Node120.a('node.textvisible',true);
- Node120.a('node.linefeed',false);
- if (false) {
- Node120.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node120.a('node.text') || '301';
- var color=Node120.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node120width,Node120height,13.3333*_ratio.ratioY,"left",color,' '+ Node120fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node120.a('node.underlinepoints',[Node120lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node120fontSize + 2 , ht.Default.getTextSize('301', ' '+ Node120fontSize + 'px "Arial"').width + 6, (Node120height - Node120fontSize) * 0.5*_ratio.ratioY + Node120fontSize + 2 ]);
- Node120.a('node.underlinevisible',false);
- Node120.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node120);
- zoomNodeList.push({
- node: Node120,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node121_0points=[540, 550,540, 560],
- Node121_0rect=ht.Default.unionPoint([{x:540,y:550},{x:540,y:560}]),
- Node121_0compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node121_0points.length;i++){
- if(i%2==0){
- Node121_0compspts.push(Node121_0points[i]-Node121_0rect.x);
- }else{
- Node121_0compspts.push(Node121_0points[i]-Node121_0rect.y);
- }
- }
- var Node121_0ptslength=Node121_0compspts.length;
- if (Node121_0rect.height === 0) {
- Node121_0compspts[0] -= 0;
- Node121_0compspts[Node121_0ptslength-2] += 0;
- } else if (Node121_0rect.width === 0){
- Node121_0compspts[1] -= 0;
- Node121_0compspts[Node121_0ptslength-1] += 0;
- } else {
- Node121_0compspts[0] -= 0;
- Node121_0compspts[1] -= 0;
- Node121_0compspts[Node121_0ptslength-2] += 0;
- Node121_0compspts[Node121_0ptslength-1] += 0;
- }
- Node121_0 = new ht.Node();
- Node121_0.borderWidth = 1;
- Node121_0rect.width = Node121_0rect.width === 0 ? 0.0001 : Node121_0rect.width;
- Node121_0rect.height = Node121_0rect.height === 0 ? 0.0001 : Node121_0rect.height;
- var Node121_0endCompspts = [Node121_0compspts[Node121_0ptslength-2],Node121_0compspts[Node121_0ptslength-1],0,0];
- var Node121_0startCompspts = [Node121_0compspts[0],Node121_0compspts[1],0,0];
- Node121_0.setImage(GD.getPolyLineJSON());
- Node121_0.setPosition(Node121_0rect.x+Node121_0rect.width/2,Node121_0rect.y+Node121_0rect.height/2);
- Node121_0.setSize(Node121_0rect.width,Node121_0rect.height);
- Node121_0.setStyle("opacity",1);
- Node121_0.s({'pixelPerfect':true});
- Node121_0borderwidth=1;
- Node121_0.setRotation(0);
- dataModel.add(Node121_0);
- Node121_0.a('node.points',Node121_0compspts);
- Node121_0.a('node.segments',[1,2]);
- Node121_0.a('node.color','rgba(255,128,0,1)');
- Node121_0.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node121_0.a('node.borderColor','rgba(255,128,0,1)');
- Node121_0.a('node.background','rgba(255,128,0,1)');
- Node121_0.a('node.gradient','');
- Node121_0.a('node.gradientcolor','rgba(255,128,0,1)');
- Node121_0.a('node.endCompspts',Node121_0endCompspts);
- Node121_0.a('node.startCompspts',Node121_0startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node121_0';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node121_0, Node121_0.getImage(), Node121_0compspts, Node121_0endCompspts, Node121_0startCompspts);
- var Node121_1points=[540, 560,570, 560],
- Node121_1rect=ht.Default.unionPoint([{x:540,y:560},{x:570,y:560}]),
- Node121_1compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node121_1points.length;i++){
- if(i%2==0){
- Node121_1compspts.push(Node121_1points[i]-Node121_1rect.x);
- }else{
- Node121_1compspts.push(Node121_1points[i]-Node121_1rect.y);
- }
- }
- var Node121_1ptslength=Node121_1compspts.length;
- if (Node121_1rect.height === 0) {
- Node121_1compspts[0] -= 0;
- Node121_1compspts[Node121_1ptslength-2] += 0;
- } else if (Node121_1rect.width === 0){
- Node121_1compspts[1] -= 0;
- Node121_1compspts[Node121_1ptslength-1] += 0;
- } else {
- Node121_1compspts[0] -= 0;
- Node121_1compspts[1] -= 0;
- Node121_1compspts[Node121_1ptslength-2] += 0;
- Node121_1compspts[Node121_1ptslength-1] += 0;
- }
- Node121_1 = new ht.Node();
- Node121_1.borderWidth = 1;
- Node121_1rect.width = Node121_1rect.width === 0 ? 0.0001 : Node121_1rect.width;
- Node121_1rect.height = Node121_1rect.height === 0 ? 0.0001 : Node121_1rect.height;
- var Node121_1endCompspts = [Node121_1compspts[Node121_1ptslength-2],Node121_1compspts[Node121_1ptslength-1],0,0];
- var Node121_1startCompspts = [Node121_1compspts[0],Node121_1compspts[1],0,0];
- Node121_1.setImage(GD.getPolyLineJSON());
- Node121_1.setPosition(Node121_1rect.x+Node121_1rect.width/2,Node121_1rect.y+Node121_1rect.height/2);
- Node121_1.setSize(Node121_1rect.width,Node121_1rect.height);
- Node121_1.setStyle("opacity",1);
- Node121_1.s({'pixelPerfect':true});
- Node121_1borderwidth=1;
- Node121_1.setRotation(0);
- dataModel.add(Node121_1);
- Node121_1.a('node.points',Node121_1compspts);
- Node121_1.a('node.segments',[1,2]);
- Node121_1.a('node.color','rgba(255,128,0,1)');
- Node121_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node121_1.a('node.borderColor','rgba(255,128,0,1)');
- Node121_1.a('node.background','rgba(255,128,0,1)');
- Node121_1.a('node.gradient','');
- Node121_1.a('node.gradientcolor','rgba(255,128,0,1)');
- Node121_1.a('node.endCompspts',Node121_1endCompspts);
- Node121_1.a('node.startCompspts',Node121_1startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node121_1';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node121_1, Node121_1.getImage(), Node121_1compspts, Node121_1endCompspts, Node121_1startCompspts);
- var Node122points=[610, 561,700, 561],
- Node122rect=ht.Default.unionPoint([{x:610,y:561},{x:700,y:561}]),
- Node122compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node122points.length;i++){
- if(i%2==0){
- Node122compspts.push(Node122points[i]-Node122rect.x);
- }else{
- Node122compspts.push(Node122points[i]-Node122rect.y);
- }
- }
- var Node122ptslength=Node122compspts.length;
- if (Node122rect.height === 0) {
- Node122compspts[0] -= 0;
- Node122compspts[Node122ptslength-2] += 0;
- } else if (Node122rect.width === 0){
- Node122compspts[1] -= 0;
- Node122compspts[Node122ptslength-1] += 0;
- } else {
- Node122compspts[0] -= 0;
- Node122compspts[1] -= 0;
- Node122compspts[Node122ptslength-2] += 0;
- Node122compspts[Node122ptslength-1] += 0;
- }
- Node122 = new ht.Node();
- Node122.borderWidth = 1;
- Node122rect.width = Node122rect.width === 0 ? 0.0001 : Node122rect.width;
- Node122rect.height = Node122rect.height === 0 ? 0.0001 : Node122rect.height;
- var Node122endCompspts = [Node122compspts[Node122ptslength-2],Node122compspts[Node122ptslength-1],0,0];
- var Node122startCompspts = [Node122compspts[0],Node122compspts[1],0,0];
- Node122.setImage(GD.getPolyLineJSON());
- Node122.setPosition(Node122rect.x+Node122rect.width/2,Node122rect.y+Node122rect.height/2);
- Node122.setSize(Node122rect.width,Node122rect.height);
- Node122.setStyle("opacity",1);
- Node122.s({'pixelPerfect':true});
- Node122borderwidth=1;
- Node122.setRotation(0);
- dataModel.add(Node122);
- Node122.a('node.points',Node122compspts);
- Node122.a('node.segments',[1,2]);
- Node122.a('node.color','rgba(255,128,0,1)');
- Node122.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node122.a('node.borderColor','rgba(255,128,0,1)');
- Node122.a('node.background','rgba(255,128,0,1)');
- Node122.a('node.gradient','');
- Node122.a('node.gradientcolor','rgba(255,128,0,1)');
- Node122.a('node.endCompspts',Node122endCompspts);
- Node122.a('node.startCompspts',Node122startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node122';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node122, Node122.getImage(), Node122compspts, Node122endCompspts, Node122startCompspts);
- var Node123points=[700, 561,700, 581],
- Node123rect=ht.Default.unionPoint([{x:700,y:561},{x:700,y:581}]),
- Node123compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node123points.length;i++){
- if(i%2==0){
- Node123compspts.push(Node123points[i]-Node123rect.x);
- }else{
- Node123compspts.push(Node123points[i]-Node123rect.y);
- }
- }
- var Node123ptslength=Node123compspts.length;
- if (Node123rect.height === 0) {
- Node123compspts[0] -= 0;
- Node123compspts[Node123ptslength-2] += 0;
- } else if (Node123rect.width === 0){
- Node123compspts[1] -= 0;
- Node123compspts[Node123ptslength-1] += 0;
- } else {
- Node123compspts[0] -= 0;
- Node123compspts[1] -= 0;
- Node123compspts[Node123ptslength-2] += 0;
- Node123compspts[Node123ptslength-1] += 0;
- }
- Node123 = new ht.Node();
- Node123.borderWidth = 1;
- Node123rect.width = Node123rect.width === 0 ? 0.0001 : Node123rect.width;
- Node123rect.height = Node123rect.height === 0 ? 0.0001 : Node123rect.height;
- var Node123endCompspts = [Node123compspts[Node123ptslength-2],Node123compspts[Node123ptslength-1],0,0];
- var Node123startCompspts = [Node123compspts[0],Node123compspts[1],0,0];
- Node123.setImage(GD.getPolyLineJSON());
- Node123.setPosition(Node123rect.x+Node123rect.width/2,Node123rect.y+Node123rect.height/2);
- Node123.setSize(Node123rect.width,Node123rect.height);
- Node123.setStyle("opacity",1);
- Node123.s({'pixelPerfect':true});
- Node123borderwidth=1;
- Node123.setRotation(0);
- dataModel.add(Node123);
- Node123.a('node.points',Node123compspts);
- Node123.a('node.segments',[1,2]);
- Node123.a('node.color','rgba(255,128,0,1)');
- Node123.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node123.a('node.borderColor','rgba(255,128,0,1)');
- Node123.a('node.background','rgba(255,128,0,1)');
- Node123.a('node.gradient','');
- Node123.a('node.gradientcolor','rgba(255,128,0,1)');
- Node123.a('node.endCompspts',Node123endCompspts);
- Node123.a('node.startCompspts',Node123startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node123';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node123, Node123.getImage(), Node123compspts, Node123endCompspts, Node123startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node124 = new ht.Node();
- var Node124textStart, Node124textWidth, Node124lineStart, Node124align = 'left', Node124fontSize = 13.3333*_ratio.ratioY,Node124width = 39*_ratio.ratioX, Node124height = 24*_ratio.ratioY;
- (function () {
- if (Node124align === 'left') {
- Node124textStart = Node124fontSize * 0.2 > 2 ? Node124fontSize * 0.2 - 4 : Node124fontSize * 0.2 - 9;
- Node124textWidth = Node124width;
- Node124lineStart = 1;
- } else if (Node124align === 'right') {
- Node124textStart = 0;
- Node124textWidth =Node124fontSize <= 8 ? Node124width + Node124fontSize * 0.2 + 6 : Node124width - Node124fontSize * 0.2;
- Node124lineStart = (Node124width - (ht.Default.getTextSize('301-1', ' '+ Node124fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node124align === 'center') {
- Node124textStart = -3;
- Node124textWidth = Node124width;
- Node124lineStart = Node124width - ht.Default.getTextSize('301-1', ' '+ Node124fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node124.setImage(GD.getTextJSON(Node124width, Node124height, true, false, false, ' '+ Node124fontSize + 'px "Arial"'))
- Node124.setPosition(590*ratio.ratioX, 545*ratio.ratioY);
- Node124.setWidth(Node124width);
- Node124.setHeight(Node124height);
- Node124._nodeType = 'text';
- Node124._disallowEvert = true;
- Node124.setRotation(0*Math.PI/180);
- Node124.a('node.width', Node124width);
- Node124.a('node.height', Node124height);
- Node124.a('node.rect', [0, 0, Node124width, Node124height]);
- Node124.a('node.bordercolor','rgba(0,0,0,1)');
- Node124.a('node.borderwidth', 0);
- Node124.a('node.background','' || 'rgba(0,0,0,0)');
- Node124.a('node.gradient','');
- Node124.a('node.gradientcolor','');
- Node124.a('node.text','301-1');
- Node124.a('node.textalign','left');
- Node124.a('node.textvAlign','middle');
- Node124.a('node.textrect', [Node124textStart, 0, Node124textWidth, Node124height]);
- Node124.a('node.color','rgba(0,0,0,1)');
- Node124.a('node.font',' '+ Node124fontSize + 'px "Arial"');
- Node124.a('node.textvisible',true);
- Node124.a('node.linefeed',false);
- if (false) {
- Node124.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node124.a('node.text') || '301-1';
- var color=Node124.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node124width,Node124height,13.3333*_ratio.ratioY,"left",color,' '+ Node124fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node124.a('node.underlinepoints',[Node124lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node124fontSize + 2 , ht.Default.getTextSize('301-1', ' '+ Node124fontSize + 'px "Arial"').width + 6, (Node124height - Node124fontSize) * 0.5*_ratio.ratioY + Node124fontSize + 2 ]);
- Node124.a('node.underlinevisible',false);
- Node124.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node124);
- zoomNodeList.push({
- node: Node124,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node125 = new ht.Node();
- var Node125textStart, Node125textWidth, Node125lineStart, Node125align = 'left', Node125fontSize = 13.3333*_ratio.ratioY,Node125width = 71*_ratio.ratioX, Node125height = 25*_ratio.ratioY;
- (function () {
- if (Node125align === 'left') {
- Node125textStart = Node125fontSize * 0.2 > 2 ? Node125fontSize * 0.2 - 4 : Node125fontSize * 0.2 - 9;
- Node125textWidth = Node125width;
- Node125lineStart = 1;
- } else if (Node125align === 'right') {
- Node125textStart = 0;
- Node125textWidth =Node125fontSize <= 8 ? Node125width + Node125fontSize * 0.2 + 6 : Node125width - Node125fontSize * 0.2;
- Node125lineStart = (Node125width - (ht.Default.getTextSize('Ia(A):', ' '+ Node125fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node125align === 'center') {
- Node125textStart = -3;
- Node125textWidth = Node125width;
- Node125lineStart = Node125width - ht.Default.getTextSize('Ia(A):', ' '+ Node125fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node125.setImage(GD.getTextJSON(Node125width, Node125height, true, false, false, ' '+ Node125fontSize + 'px "Arial"'))
- Node125.setPosition(812*ratio.ratioX, 356*ratio.ratioY);
- Node125.setWidth(Node125width);
- Node125.setHeight(Node125height);
- Node125._nodeType = 'text';
- Node125._disallowEvert = true;
- Node125.setRotation(0*Math.PI/180);
- Node125.a('node.width', Node125width);
- Node125.a('node.height', Node125height);
- Node125.a('node.rect', [0, 0, Node125width, Node125height]);
- Node125.a('node.bordercolor','rgba(255,0,255,1)');
- Node125.a('node.borderwidth', 0);
- Node125.a('node.background','' || 'rgba(0,0,0,0)');
- Node125.a('node.gradient','');
- Node125.a('node.gradientcolor','');
- Node125.a('node.text','Ia(A):');
- Node125.a('node.textalign','left');
- Node125.a('node.textvAlign','middle');
- Node125.a('node.textrect', [Node125textStart, 0, Node125textWidth, Node125height]);
- Node125.a('node.color','rgba(255,0,255,1)');
- Node125.a('node.font',' '+ Node125fontSize + 'px "Arial"');
- Node125.a('node.textvisible',true);
- Node125.a('node.linefeed',false);
- if (false) {
- Node125.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node125.a('node.text') || 'Ia(A):';
- var color=Node125.a('node.color') || 'rgba(255,0,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node125width,Node125height,13.3333*_ratio.ratioY,"left",color,' '+ Node125fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node125.a('node.underlinepoints',[Node125lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node125fontSize + 2 , ht.Default.getTextSize('Ia(A):', ' '+ Node125fontSize + 'px "Arial"').width + 6, (Node125height - Node125fontSize) * 0.5*_ratio.ratioY + Node125fontSize + 2 ]);
- Node125.a('node.underlinevisible',false);
- Node125.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node125);
- zoomNodeList.push({
- node: Node125,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node126 = new ht.Node();
- var Node126textStart, Node126textWidth, Node126lineStart, Node126align = 'left', Node126fontSize = 13.3333*_ratio.ratioY,Node126width = 71*_ratio.ratioX, Node126height = 30*_ratio.ratioY;
- (function () {
- if (Node126align === 'left') {
- Node126textStart = Node126fontSize * 0.2 > 2 ? Node126fontSize * 0.2 - 4 : Node126fontSize * 0.2 - 9;
- Node126textWidth = Node126width;
- Node126lineStart = 1;
- } else if (Node126align === 'right') {
- Node126textStart = 0;
- Node126textWidth =Node126fontSize <= 8 ? Node126width + Node126fontSize * 0.2 + 6 : Node126width - Node126fontSize * 0.2;
- Node126lineStart = (Node126width - (ht.Default.getTextSize('P(MW):', ' '+ Node126fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node126align === 'center') {
- Node126textStart = -3;
- Node126textWidth = Node126width;
- Node126lineStart = Node126width - ht.Default.getTextSize('P(MW):', ' '+ Node126fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node126.setImage(GD.getTextJSON(Node126width, Node126height, true, false, false, ' '+ Node126fontSize + 'px "Arial"'))
- Node126.setPosition(798*ratio.ratioX, 378*ratio.ratioY);
- Node126.setWidth(Node126width);
- Node126.setHeight(Node126height);
- Node126._nodeType = 'text';
- Node126._disallowEvert = true;
- Node126.setRotation(0*Math.PI/180);
- Node126.a('node.width', Node126width);
- Node126.a('node.height', Node126height);
- Node126.a('node.rect', [0, 0, Node126width, Node126height]);
- Node126.a('node.bordercolor','rgba(0,0,0,1)');
- Node126.a('node.borderwidth', 0);
- Node126.a('node.background','' || 'rgba(0,0,0,0)');
- Node126.a('node.gradient','');
- Node126.a('node.gradientcolor','');
- Node126.a('node.text','P(MW):');
- Node126.a('node.textalign','left');
- Node126.a('node.textvAlign','middle');
- Node126.a('node.textrect', [Node126textStart, 0, Node126textWidth, Node126height]);
- Node126.a('node.color','rgba(0,0,0,1)');
- Node126.a('node.font',' '+ Node126fontSize + 'px "Arial"');
- Node126.a('node.textvisible',true);
- Node126.a('node.linefeed',false);
- if (false) {
- Node126.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node126.a('node.text') || 'P(MW):';
- var color=Node126.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node126width,Node126height,13.3333*_ratio.ratioY,"left",color,' '+ Node126fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node126.a('node.underlinepoints',[Node126lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node126fontSize + 2 , ht.Default.getTextSize('P(MW):', ' '+ Node126fontSize + 'px "Arial"').width + 6, (Node126height - Node126fontSize) * 0.5*_ratio.ratioY + Node126fontSize + 2 ]);
- Node126.a('node.underlinevisible',false);
- Node126.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node126);
- zoomNodeList.push({
- node: Node126,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node127 = new ht.Node();
- var Node127textStart, Node127textWidth, Node127lineStart, Node127align = 'left', Node127fontSize = 13.3333*_ratio.ratioY,Node127width = 72*_ratio.ratioX, Node127height = 25*_ratio.ratioY;
- (function () {
- if (Node127align === 'left') {
- Node127textStart = Node127fontSize * 0.2 > 2 ? Node127fontSize * 0.2 - 4 : Node127fontSize * 0.2 - 9;
- Node127textWidth = Node127width;
- Node127lineStart = 1;
- } else if (Node127align === 'right') {
- Node127textStart = 0;
- Node127textWidth =Node127fontSize <= 8 ? Node127width + Node127fontSize * 0.2 + 6 : Node127width - Node127fontSize * 0.2;
- Node127lineStart = (Node127width - (ht.Default.getTextSize('Q(MVar):', ' '+ Node127fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node127align === 'center') {
- Node127textStart = -3;
- Node127textWidth = Node127width;
- Node127lineStart = Node127width - ht.Default.getTextSize('Q(MVar):', ' '+ Node127fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node127.setImage(GD.getTextJSON(Node127width, Node127height, true, false, false, ' '+ Node127fontSize + 'px "Arial"'))
- Node127.setPosition(792*ratio.ratioX, 399*ratio.ratioY);
- Node127.setWidth(Node127width);
- Node127.setHeight(Node127height);
- Node127._nodeType = 'text';
- Node127._disallowEvert = true;
- Node127.setRotation(0*Math.PI/180);
- Node127.a('node.width', Node127width);
- Node127.a('node.height', Node127height);
- Node127.a('node.rect', [0, 0, Node127width, Node127height]);
- Node127.a('node.bordercolor','rgba(0,0,0,1)');
- Node127.a('node.borderwidth', 0);
- Node127.a('node.background','' || 'rgba(0,0,0,0)');
- Node127.a('node.gradient','');
- Node127.a('node.gradientcolor','');
- Node127.a('node.text','Q(MVar):');
- Node127.a('node.textalign','left');
- Node127.a('node.textvAlign','middle');
- Node127.a('node.textrect', [Node127textStart, 0, Node127textWidth, Node127height]);
- Node127.a('node.color','rgba(0,0,0,1)');
- Node127.a('node.font',' '+ Node127fontSize + 'px "Arial"');
- Node127.a('node.textvisible',true);
- Node127.a('node.linefeed',false);
- if (false) {
- Node127.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node127.a('node.text') || 'Q(MVar):';
- var color=Node127.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node127width,Node127height,13.3333*_ratio.ratioY,"left",color,' '+ Node127fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node127.a('node.underlinepoints',[Node127lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node127fontSize + 2 , ht.Default.getTextSize('Q(MVar):', ' '+ Node127fontSize + 'px "Arial"').width + 6, (Node127height - Node127fontSize) * 0.5*_ratio.ratioY + Node127fontSize + 2 ]);
- Node127.a('node.underlinevisible',false);
- Node127.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node127);
- zoomNodeList.push({
- node: Node127,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node128 = new ht.Node();
- var Node128textStart, Node128textWidth, Node128lineStart, Node128align = 'left', Node128fontSize = 13.3333*_ratio.ratioY,Node128width = 71*_ratio.ratioX, Node128height = 25*_ratio.ratioY;
- (function () {
- if (Node128align === 'left') {
- Node128textStart = Node128fontSize * 0.2 > 2 ? Node128fontSize * 0.2 - 4 : Node128fontSize * 0.2 - 9;
- Node128textWidth = Node128width;
- Node128lineStart = 1;
- } else if (Node128align === 'right') {
- Node128textStart = 0;
- Node128textWidth =Node128fontSize <= 8 ? Node128width + Node128fontSize * 0.2 + 6 : Node128width - Node128fontSize * 0.2;
- Node128lineStart = (Node128width - (ht.Default.getTextSize('档位:', ' '+ Node128fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node128align === 'center') {
- Node128textStart = -3;
- Node128textWidth = Node128width;
- Node128lineStart = Node128width - ht.Default.getTextSize('档位:', ' '+ Node128fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node128.setImage(GD.getTextJSON(Node128width, Node128height, true, false, false, ' '+ Node128fontSize + 'px "Arial"'))
- Node128.setPosition(813*ratio.ratioX, 420*ratio.ratioY);
- Node128.setWidth(Node128width);
- Node128.setHeight(Node128height);
- Node128._nodeType = 'text';
- Node128._disallowEvert = true;
- Node128.setRotation(0*Math.PI/180);
- Node128.a('node.width', Node128width);
- Node128.a('node.height', Node128height);
- Node128.a('node.rect', [0, 0, Node128width, Node128height]);
- Node128.a('node.bordercolor','rgba(0,0,0,1)');
- Node128.a('node.borderwidth', 0);
- Node128.a('node.background','' || 'rgba(0,0,0,0)');
- Node128.a('node.gradient','');
- Node128.a('node.gradientcolor','');
- Node128.a('node.text','档位:');
- Node128.a('node.textalign','left');
- Node128.a('node.textvAlign','middle');
- Node128.a('node.textrect', [Node128textStart, 0, Node128textWidth, Node128height]);
- Node128.a('node.color','rgba(0,0,0,1)');
- Node128.a('node.font',' '+ Node128fontSize + 'px "Arial"');
- Node128.a('node.textvisible',true);
- Node128.a('node.linefeed',false);
- if (false) {
- Node128.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node128.a('node.text') || '档位:';
- var color=Node128.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node128width,Node128height,13.3333*_ratio.ratioY,"left",color,' '+ Node128fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node128.a('node.underlinepoints',[Node128lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node128fontSize + 2 , ht.Default.getTextSize('档位:', ' '+ Node128fontSize + 'px "Arial"').width + 6, (Node128height - Node128fontSize) * 0.5*_ratio.ratioY + Node128fontSize + 2 ]);
- Node128.a('node.underlinevisible',false);
- Node128.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node128);
- zoomNodeList.push({
- node: Node128,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node129 = new ht.Node();
- var Node129textStart, Node129textWidth, Node129lineStart, Node129align = 'left', Node129fontSize = 13.3333*_ratio.ratioY,Node129width = 71*_ratio.ratioX, Node129height = 30*_ratio.ratioY;
- (function () {
- if (Node129align === 'left') {
- Node129textStart = Node129fontSize * 0.2 > 2 ? Node129fontSize * 0.2 - 4 : Node129fontSize * 0.2 - 9;
- Node129textWidth = Node129width;
- Node129lineStart = 1;
- } else if (Node129align === 'right') {
- Node129textStart = 0;
- Node129textWidth =Node129fontSize <= 8 ? Node129width + Node129fontSize * 0.2 + 6 : Node129width - Node129fontSize * 0.2;
- Node129lineStart = (Node129width - (ht.Default.getTextSize('油温1:', ' '+ Node129fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node129align === 'center') {
- Node129textStart = -3;
- Node129textWidth = Node129width;
- Node129lineStart = Node129width - ht.Default.getTextSize('油温1:', ' '+ Node129fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node129.setImage(GD.getTextJSON(Node129width, Node129height, true, false, false, ' '+ Node129fontSize + 'px "Arial"'))
- Node129.setPosition(805*ratio.ratioX, 441*ratio.ratioY);
- Node129.setWidth(Node129width);
- Node129.setHeight(Node129height);
- Node129._nodeType = 'text';
- Node129._disallowEvert = true;
- Node129.setRotation(0*Math.PI/180);
- Node129.a('node.width', Node129width);
- Node129.a('node.height', Node129height);
- Node129.a('node.rect', [0, 0, Node129width, Node129height]);
- Node129.a('node.bordercolor','rgba(0,0,0,1)');
- Node129.a('node.borderwidth', 0);
- Node129.a('node.background','' || 'rgba(0,0,0,0)');
- Node129.a('node.gradient','');
- Node129.a('node.gradientcolor','');
- Node129.a('node.text','油温1:');
- Node129.a('node.textalign','left');
- Node129.a('node.textvAlign','middle');
- Node129.a('node.textrect', [Node129textStart, 0, Node129textWidth, Node129height]);
- Node129.a('node.color','rgba(0,0,0,1)');
- Node129.a('node.font',' '+ Node129fontSize + 'px "Arial"');
- Node129.a('node.textvisible',true);
- Node129.a('node.linefeed',false);
- if (false) {
- Node129.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node129.a('node.text') || '油温1:';
- var color=Node129.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node129width,Node129height,13.3333*_ratio.ratioY,"left",color,' '+ Node129fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node129.a('node.underlinepoints',[Node129lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node129fontSize + 2 , ht.Default.getTextSize('油温1:', ' '+ Node129fontSize + 'px "Arial"').width + 6, (Node129height - Node129fontSize) * 0.5*_ratio.ratioY + Node129fontSize + 2 ]);
- Node129.a('node.underlinevisible',false);
- Node129.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node129);
- zoomNodeList.push({
- node: Node129,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node130 = new ht.Node();
- var Node130textStart, Node130textWidth, Node130lineStart, Node130align = 'left', Node130fontSize = 13.3333*_ratio.ratioY,Node130width = 71*_ratio.ratioX, Node130height = 30*_ratio.ratioY;
- (function () {
- if (Node130align === 'left') {
- Node130textStart = Node130fontSize * 0.2 > 2 ? Node130fontSize * 0.2 - 4 : Node130fontSize * 0.2 - 9;
- Node130textWidth = Node130width;
- Node130lineStart = 1;
- } else if (Node130align === 'right') {
- Node130textStart = 0;
- Node130textWidth =Node130fontSize <= 8 ? Node130width + Node130fontSize * 0.2 + 6 : Node130width - Node130fontSize * 0.2;
- Node130lineStart = (Node130width - (ht.Default.getTextSize('油温2:', ' '+ Node130fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node130align === 'center') {
- Node130textStart = -3;
- Node130textWidth = Node130width;
- Node130lineStart = Node130width - ht.Default.getTextSize('油温2:', ' '+ Node130fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node130.setImage(GD.getTextJSON(Node130width, Node130height, true, false, false, ' '+ Node130fontSize + 'px "Arial"'))
- Node130.setPosition(805*ratio.ratioX, 462*ratio.ratioY);
- Node130.setWidth(Node130width);
- Node130.setHeight(Node130height);
- Node130._nodeType = 'text';
- Node130._disallowEvert = true;
- Node130.setRotation(0*Math.PI/180);
- Node130.a('node.width', Node130width);
- Node130.a('node.height', Node130height);
- Node130.a('node.rect', [0, 0, Node130width, Node130height]);
- Node130.a('node.bordercolor','rgba(0,0,0,1)');
- Node130.a('node.borderwidth', 0);
- Node130.a('node.background','' || 'rgba(0,0,0,0)');
- Node130.a('node.gradient','');
- Node130.a('node.gradientcolor','');
- Node130.a('node.text','油温2:');
- Node130.a('node.textalign','left');
- Node130.a('node.textvAlign','middle');
- Node130.a('node.textrect', [Node130textStart, 0, Node130textWidth, Node130height]);
- Node130.a('node.color','rgba(0,0,0,1)');
- Node130.a('node.font',' '+ Node130fontSize + 'px "Arial"');
- Node130.a('node.textvisible',true);
- Node130.a('node.linefeed',false);
- if (false) {
- Node130.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node130.a('node.text') || '油温2:';
- var color=Node130.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node130width,Node130height,13.3333*_ratio.ratioY,"left",color,' '+ Node130fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node130.a('node.underlinepoints',[Node130lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node130fontSize + 2 , ht.Default.getTextSize('油温2:', ' '+ Node130fontSize + 'px "Arial"').width + 6, (Node130height - Node130fontSize) * 0.5*_ratio.ratioY + Node130fontSize + 2 ]);
- Node130.a('node.underlinevisible',false);
- Node130.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node130);
- zoomNodeList.push({
- node: Node130,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node131 = new ht.Node();
- var Node131textStart, Node131textWidth, Node131lineStart, Node131align = 'left', Node131fontSize = 13.3333*_ratio.ratioY,Node131width = 79*_ratio.ratioX, Node131height = 30*_ratio.ratioY;
- (function () {
- if (Node131align === 'left') {
- Node131textStart = Node131fontSize * 0.2 > 2 ? Node131fontSize * 0.2 - 4 : Node131fontSize * 0.2 - 9;
- Node131textWidth = Node131width;
- Node131lineStart = 1;
- } else if (Node131align === 'right') {
- Node131textStart = 0;
- Node131textWidth =Node131fontSize <= 8 ? Node131width + Node131fontSize * 0.2 + 6 : Node131width - Node131fontSize * 0.2;
- Node131lineStart = (Node131width - (ht.Default.getTextSize('绕组温度:', ' '+ Node131fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node131align === 'center') {
- Node131textStart = -3;
- Node131textWidth = Node131width;
- Node131lineStart = Node131width - ht.Default.getTextSize('绕组温度:', ' '+ Node131fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node131.setImage(GD.getTextJSON(Node131width, Node131height, true, false, false, ' '+ Node131fontSize + 'px "Arial"'))
- Node131.setPosition(787*ratio.ratioX, 484*ratio.ratioY);
- Node131.setWidth(Node131width);
- Node131.setHeight(Node131height);
- Node131._nodeType = 'text';
- Node131._disallowEvert = true;
- Node131.setRotation(0*Math.PI/180);
- Node131.a('node.width', Node131width);
- Node131.a('node.height', Node131height);
- Node131.a('node.rect', [0, 0, Node131width, Node131height]);
- Node131.a('node.bordercolor','rgba(0,0,0,1)');
- Node131.a('node.borderwidth', 0);
- Node131.a('node.background','' || 'rgba(0,0,0,0)');
- Node131.a('node.gradient','');
- Node131.a('node.gradientcolor','');
- Node131.a('node.text','绕组温度:');
- Node131.a('node.textalign','left');
- Node131.a('node.textvAlign','middle');
- Node131.a('node.textrect', [Node131textStart, 0, Node131textWidth, Node131height]);
- Node131.a('node.color','rgba(0,0,0,1)');
- Node131.a('node.font',' '+ Node131fontSize + 'px "Arial"');
- Node131.a('node.textvisible',true);
- Node131.a('node.linefeed',false);
- if (false) {
- Node131.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node131.a('node.text') || '绕组温度:';
- var color=Node131.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node131width,Node131height,13.3333*_ratio.ratioY,"left",color,' '+ Node131fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node131.a('node.underlinepoints',[Node131lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node131fontSize + 2 , ht.Default.getTextSize('绕组温度:', ' '+ Node131fontSize + 'px "Arial"').width + 6, (Node131height - Node131fontSize) * 0.5*_ratio.ratioY + Node131fontSize + 2 ]);
- Node131.a('node.underlinevisible',false);
- Node131.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node131);
- zoomNodeList.push({
- node: Node131,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node132_0 = new ht.Node();
- var Node132_0textStart, Node132_0textWidth, Node132_0lineStart, Node132_0align = 'left', Node132_0fontSize = 13.3333*_ratio.ratioY,Node132_0width = 73*_ratio.ratioX, Node132_0height = 25*_ratio.ratioY;
- (function () {
- if (Node132_0align === 'left') {
- Node132_0textStart = Node132_0fontSize * 0.2 > 2 ? Node132_0fontSize * 0.2 - 4 : Node132_0fontSize * 0.2 - 9;
- Node132_0textWidth = Node132_0width;
- Node132_0lineStart = 1;
- } else if (Node132_0align === 'right') {
- Node132_0textStart = 0;
- Node132_0textWidth =Node132_0fontSize <= 8 ? Node132_0width + Node132_0fontSize * 0.2 + 6 : Node132_0width - Node132_0fontSize * 0.2;
- Node132_0lineStart = (Node132_0width - (ht.Default.getTextSize('Ia(A):', ' '+ Node132_0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node132_0align === 'center') {
- Node132_0textStart = -3;
- Node132_0textWidth = Node132_0width;
- Node132_0lineStart = Node132_0width - ht.Default.getTextSize('Ia(A):', ' '+ Node132_0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node132_0.setImage(GD.getTextJSON(Node132_0width, Node132_0height, true, false, false, ' '+ Node132_0fontSize + 'px "Arial"'))
- Node132_0.setPosition(815*ratio.ratioX, 278*ratio.ratioY);
- Node132_0.setWidth(Node132_0width);
- Node132_0.setHeight(Node132_0height);
- Node132_0._nodeType = 'text';
- Node132_0._disallowEvert = true;
- Node132_0.setRotation(0*Math.PI/180);
- Node132_0.a('node.width', Node132_0width);
- Node132_0.a('node.height', Node132_0height);
- Node132_0.a('node.rect', [0, 0, Node132_0width, Node132_0height]);
- Node132_0.a('node.bordercolor','rgba(255,0,255,1)');
- Node132_0.a('node.borderwidth', 0);
- Node132_0.a('node.background','' || 'rgba(0,0,0,0)');
- Node132_0.a('node.gradient','');
- Node132_0.a('node.gradientcolor','');
- Node132_0.a('node.text','Ia(A):');
- Node132_0.a('node.textalign','left');
- Node132_0.a('node.textvAlign','middle');
- Node132_0.a('node.textrect', [Node132_0textStart, 0, Node132_0textWidth, Node132_0height]);
- Node132_0.a('node.color','rgba(255,0,255,1)');
- Node132_0.a('node.font',' '+ Node132_0fontSize + 'px "Arial"');
- Node132_0.a('node.textvisible',true);
- Node132_0.a('node.linefeed',false);
- if (false) {
- Node132_0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node132_0.a('node.text') || 'Ia(A):';
- var color=Node132_0.a('node.color') || 'rgba(255,0,255,1)';
- 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);
- });
- }
- if (false) {
- Node132_0.a('node.underlinepoints',[Node132_0lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node132_0fontSize + 2 , ht.Default.getTextSize('Ia(A):', ' '+ Node132_0fontSize + 'px "Arial"').width + 6, (Node132_0height - Node132_0fontSize) * 0.5*_ratio.ratioY + Node132_0fontSize + 2 ]);
- Node132_0.a('node.underlinevisible',false);
- Node132_0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node132_0);
- zoomNodeList.push({
- node: Node132_0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node132_1 = new ht.Node();
- var Node132_1textStart, Node132_1textWidth, Node132_1lineStart, Node132_1align = 'left', Node132_1fontSize = 13.3333*_ratio.ratioY,Node132_1width = 93*_ratio.ratioX, Node132_1height = 25*_ratio.ratioY;
- (function () {
- if (Node132_1align === 'left') {
- Node132_1textStart = Node132_1fontSize * 0.2 > 2 ? Node132_1fontSize * 0.2 - 4 : Node132_1fontSize * 0.2 - 9;
- Node132_1textWidth = Node132_1width;
- Node132_1lineStart = 1;
- } else if (Node132_1align === 'right') {
- Node132_1textStart = 0;
- Node132_1textWidth =Node132_1fontSize <= 8 ? Node132_1width + Node132_1fontSize * 0.2 + 6 : Node132_1width - Node132_1fontSize * 0.2;
- Node132_1lineStart = (Node132_1width - (ht.Default.getTextSize('P(MW):', ' '+ Node132_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node132_1align === 'center') {
- Node132_1textStart = -3;
- Node132_1textWidth = Node132_1width;
- Node132_1lineStart = Node132_1width - ht.Default.getTextSize('P(MW):', ' '+ Node132_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node132_1.setImage(GD.getTextJSON(Node132_1width, Node132_1height, true, false, false, ' '+ Node132_1fontSize + 'px "Arial"'))
- Node132_1.setPosition(812*ratio.ratioX, 302*ratio.ratioY);
- Node132_1.setWidth(Node132_1width);
- Node132_1.setHeight(Node132_1height);
- Node132_1._nodeType = 'text';
- Node132_1._disallowEvert = true;
- Node132_1.setRotation(0*Math.PI/180);
- Node132_1.a('node.width', Node132_1width);
- Node132_1.a('node.height', Node132_1height);
- Node132_1.a('node.rect', [0, 0, Node132_1width, Node132_1height]);
- Node132_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node132_1.a('node.borderwidth', 0);
- Node132_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node132_1.a('node.gradient','');
- Node132_1.a('node.gradientcolor','');
- Node132_1.a('node.text','P(MW):');
- Node132_1.a('node.textalign','left');
- Node132_1.a('node.textvAlign','middle');
- Node132_1.a('node.textrect', [Node132_1textStart, 0, Node132_1textWidth, Node132_1height]);
- Node132_1.a('node.color','rgba(0,0,0,1)');
- Node132_1.a('node.font',' '+ Node132_1fontSize + 'px "Arial"');
- Node132_1.a('node.textvisible',true);
- Node132_1.a('node.linefeed',false);
- if (false) {
- Node132_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node132_1.a('node.text') || 'P(MW):';
- var color=Node132_1.a('node.color') || 'rgba(0,0,0,1)';
- 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);
- });
- }
- if (false) {
- Node132_1.a('node.underlinepoints',[Node132_1lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node132_1fontSize + 2 , ht.Default.getTextSize('P(MW):', ' '+ Node132_1fontSize + 'px "Arial"').width + 6, (Node132_1height - Node132_1fontSize) * 0.5*_ratio.ratioY + Node132_1fontSize + 2 ]);
- Node132_1.a('node.underlinevisible',false);
- Node132_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node132_1);
- zoomNodeList.push({
- node: Node132_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node132_2 = new ht.Node();
- var Node132_2textStart, Node132_2textWidth, Node132_2lineStart, Node132_2align = 'left', Node132_2fontSize = 13.3333*_ratio.ratioY,Node132_2width = 72*_ratio.ratioX, Node132_2height = 25*_ratio.ratioY;
- (function () {
- if (Node132_2align === 'left') {
- Node132_2textStart = Node132_2fontSize * 0.2 > 2 ? Node132_2fontSize * 0.2 - 4 : Node132_2fontSize * 0.2 - 9;
- Node132_2textWidth = Node132_2width;
- Node132_2lineStart = 1;
- } else if (Node132_2align === 'right') {
- Node132_2textStart = 0;
- Node132_2textWidth =Node132_2fontSize <= 8 ? Node132_2width + Node132_2fontSize * 0.2 + 6 : Node132_2width - Node132_2fontSize * 0.2;
- Node132_2lineStart = (Node132_2width - (ht.Default.getTextSize('Q(MVar):', ' '+ Node132_2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node132_2align === 'center') {
- Node132_2textStart = -3;
- Node132_2textWidth = Node132_2width;
- Node132_2lineStart = Node132_2width - ht.Default.getTextSize('Q(MVar):', ' '+ Node132_2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node132_2.setImage(GD.getTextJSON(Node132_2width, Node132_2height, true, false, false, ' '+ Node132_2fontSize + 'px "Arial"'))
- Node132_2.setPosition(793*ratio.ratioX, 326*ratio.ratioY);
- Node132_2.setWidth(Node132_2width);
- Node132_2.setHeight(Node132_2height);
- Node132_2._nodeType = 'text';
- Node132_2._disallowEvert = true;
- Node132_2.setRotation(0*Math.PI/180);
- Node132_2.a('node.width', Node132_2width);
- Node132_2.a('node.height', Node132_2height);
- Node132_2.a('node.rect', [0, 0, Node132_2width, Node132_2height]);
- Node132_2.a('node.bordercolor','rgba(0,0,0,1)');
- Node132_2.a('node.borderwidth', 0);
- Node132_2.a('node.background','' || 'rgba(0,0,0,0)');
- Node132_2.a('node.gradient','');
- Node132_2.a('node.gradientcolor','');
- Node132_2.a('node.text','Q(MVar):');
- Node132_2.a('node.textalign','left');
- Node132_2.a('node.textvAlign','middle');
- Node132_2.a('node.textrect', [Node132_2textStart, 0, Node132_2textWidth, Node132_2height]);
- Node132_2.a('node.color','rgba(0,0,0,1)');
- Node132_2.a('node.font',' '+ Node132_2fontSize + 'px "Arial"');
- Node132_2.a('node.textvisible',true);
- Node132_2.a('node.linefeed',false);
- if (false) {
- Node132_2.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node132_2.a('node.text') || 'Q(MVar):';
- var color=Node132_2.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node132_2width,Node132_2height,13.3333*_ratio.ratioY,"left",color,' '+ Node132_2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node132_2.a('node.underlinepoints',[Node132_2lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node132_2fontSize + 2 , ht.Default.getTextSize('Q(MVar):', ' '+ Node132_2fontSize + 'px "Arial"').width + 6, (Node132_2height - Node132_2fontSize) * 0.5*_ratio.ratioY + Node132_2fontSize + 2 ]);
- Node132_2.a('node.underlinevisible',false);
- Node132_2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node132_2);
- zoomNodeList.push({
- node: Node132_2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node133points=[1080, 371,1080, 395],
- Node133rect=ht.Default.unionPoint([{x:1080,y:371},{x:1080,y:395}]),
- Node133compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node133points.length;i++){
- if(i%2==0){
- Node133compspts.push(Node133points[i]-Node133rect.x);
- }else{
- Node133compspts.push(Node133points[i]-Node133rect.y);
- }
- }
- var Node133ptslength=Node133compspts.length;
- if (Node133rect.height === 0) {
- Node133compspts[0] -= 0;
- Node133compspts[Node133ptslength-2] += 0;
- } else if (Node133rect.width === 0){
- Node133compspts[1] -= 0;
- Node133compspts[Node133ptslength-1] += 0;
- } else {
- Node133compspts[0] -= 0;
- Node133compspts[1] -= 0;
- Node133compspts[Node133ptslength-2] += 0;
- Node133compspts[Node133ptslength-1] += 0;
- }
- Node133 = new ht.Node();
- Node133.borderWidth = 1;
- Node133rect.width = Node133rect.width === 0 ? 0.0001 : Node133rect.width;
- Node133rect.height = Node133rect.height === 0 ? 0.0001 : Node133rect.height;
- var Node133endCompspts = [Node133compspts[Node133ptslength-2],Node133compspts[Node133ptslength-1],0,0];
- var Node133startCompspts = [Node133compspts[0],Node133compspts[1],0,0];
- Node133.setImage(GD.getPolyLineJSON());
- Node133.setPosition(Node133rect.x+Node133rect.width/2,Node133rect.y+Node133rect.height/2);
- Node133.setSize(Node133rect.width,Node133rect.height);
- Node133.setStyle("opacity",1);
- Node133.s({'pixelPerfect':true});
- Node133borderwidth=1;
- Node133.setRotation(0);
- dataModel.add(Node133);
- Node133.a('node.points',Node133compspts);
- Node133.a('node.segments',[1,2]);
- Node133.a('node.color','rgba(255,0,255,1)');
- Node133.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node133.a('node.borderColor','rgba(255,0,255,1)');
- Node133.a('node.background','rgba(255,0,255,1)');
- Node133.a('node.gradient','');
- Node133.a('node.gradientcolor','rgba(255,0,255,1)');
- Node133.a('node.endCompspts',Node133endCompspts);
- Node133.a('node.startCompspts',Node133startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node133';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node133, Node133.getImage(), Node133compspts, Node133endCompspts, Node133startCompspts);
- var Node134points=[1080, 408,1080, 430],
- Node134rect=ht.Default.unionPoint([{x:1080,y:408},{x:1080,y:430}]),
- Node134compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node134points.length;i++){
- if(i%2==0){
- Node134compspts.push(Node134points[i]-Node134rect.x);
- }else{
- Node134compspts.push(Node134points[i]-Node134rect.y);
- }
- }
- var Node134ptslength=Node134compspts.length;
- if (Node134rect.height === 0) {
- Node134compspts[0] -= 0;
- Node134compspts[Node134ptslength-2] += 0;
- } else if (Node134rect.width === 0){
- Node134compspts[1] -= 0;
- Node134compspts[Node134ptslength-1] += 0;
- } else {
- Node134compspts[0] -= 0;
- Node134compspts[1] -= 0;
- Node134compspts[Node134ptslength-2] += 0;
- Node134compspts[Node134ptslength-1] += 0;
- }
- Node134 = new ht.Node();
- Node134.borderWidth = 1;
- Node134rect.width = Node134rect.width === 0 ? 0.0001 : Node134rect.width;
- Node134rect.height = Node134rect.height === 0 ? 0.0001 : Node134rect.height;
- var Node134endCompspts = [Node134compspts[Node134ptslength-2],Node134compspts[Node134ptslength-1],0,0];
- var Node134startCompspts = [Node134compspts[0],Node134compspts[1],0,0];
- Node134.setImage(GD.getPolyLineJSON());
- Node134.setPosition(Node134rect.x+Node134rect.width/2,Node134rect.y+Node134rect.height/2);
- Node134.setSize(Node134rect.width,Node134rect.height);
- Node134.setStyle("opacity",1);
- Node134.s({'pixelPerfect':true});
- Node134borderwidth=1;
- Node134.setRotation(0);
- dataModel.add(Node134);
- Node134.a('node.points',Node134compspts);
- Node134.a('node.segments',[1,2]);
- Node134.a('node.color','rgba(255,0,255,1)');
- Node134.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node134.a('node.borderColor','rgba(255,0,255,1)');
- Node134.a('node.background','rgba(255,0,255,1)');
- Node134.a('node.gradient','');
- Node134.a('node.gradientcolor','rgba(255,0,255,1)');
- Node134.a('node.endCompspts',Node134endCompspts);
- Node134.a('node.startCompspts',Node134startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node134';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node134, Node134.getImage(), Node134compspts, Node134endCompspts, Node134startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node135 = new ht.lib['pt接地'](1030*ratio.ratioX, 355*ratio.ratioY, 16*_ratio.ratioX, 14*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node135');
- _libModel.add("Node135", Node135);
- Node135.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node136 = new ht.Node();
- var Node136textStart, Node136textWidth, Node136lineStart, Node136align = 'left', Node136fontSize = 13.3333*_ratio.ratioY,Node136width = 51*_ratio.ratioX, Node136height = 24*_ratio.ratioY;
- (function () {
- if (Node136align === 'left') {
- Node136textStart = Node136fontSize * 0.2 > 2 ? Node136fontSize * 0.2 - 4 : Node136fontSize * 0.2 - 9;
- Node136textWidth = Node136width;
- Node136lineStart = 1;
- } else if (Node136align === 'right') {
- Node136textStart = 0;
- Node136textWidth =Node136fontSize <= 8 ? Node136width + Node136fontSize * 0.2 + 6 : Node136width - Node136fontSize * 0.2;
- Node136lineStart = (Node136width - (ht.Default.getTextSize('202-A0', ' '+ Node136fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node136align === 'center') {
- Node136textStart = -3;
- Node136textWidth = Node136width;
- Node136lineStart = Node136width - ht.Default.getTextSize('202-A0', ' '+ Node136fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node136.setImage(GD.getTextJSON(Node136width, Node136height, true, false, false, ' '+ Node136fontSize + 'px "Arial"'))
- Node136.setPosition(985*ratio.ratioX, 369*ratio.ratioY);
- Node136.setWidth(Node136width);
- Node136.setHeight(Node136height);
- Node136._nodeType = 'text';
- Node136._disallowEvert = true;
- Node136.setRotation(0*Math.PI/180);
- Node136.a('node.width', Node136width);
- Node136.a('node.height', Node136height);
- Node136.a('node.rect', [0, 0, Node136width, Node136height]);
- Node136.a('node.bordercolor','rgba(0,0,0,1)');
- Node136.a('node.borderwidth', 0);
- Node136.a('node.background','' || 'rgba(0,0,0,0)');
- Node136.a('node.gradient','');
- Node136.a('node.gradientcolor','');
- Node136.a('node.text','202-A0');
- Node136.a('node.textalign','left');
- Node136.a('node.textvAlign','middle');
- Node136.a('node.textrect', [Node136textStart, 0, Node136textWidth, Node136height]);
- Node136.a('node.color','rgba(0,0,0,1)');
- Node136.a('node.font',' '+ Node136fontSize + 'px "Arial"');
- Node136.a('node.textvisible',true);
- Node136.a('node.linefeed',false);
- if (false) {
- Node136.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node136.a('node.text') || '202-A0';
- var color=Node136.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node136width,Node136height,13.3333*_ratio.ratioY,"left",color,' '+ Node136fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node136.a('node.underlinepoints',[Node136lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node136fontSize + 2 , ht.Default.getTextSize('202-A0', ' '+ Node136fontSize + 'px "Arial"').width + 6, (Node136height - Node136fontSize) * 0.5*_ratio.ratioY + Node136fontSize + 2 ]);
- Node136.a('node.underlinevisible',false);
- Node136.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node136);
- zoomNodeList.push({
- node: Node136,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node137 = new ht.Node();
- var Node137textStart, Node137textWidth, Node137lineStart, Node137align = 'left', Node137fontSize = 13.3333*_ratio.ratioY,Node137width = 31*_ratio.ratioX, Node137height = 24*_ratio.ratioY;
- (function () {
- if (Node137align === 'left') {
- Node137textStart = Node137fontSize * 0.2 > 2 ? Node137fontSize * 0.2 - 4 : Node137fontSize * 0.2 - 9;
- Node137textWidth = Node137width;
- Node137lineStart = 1;
- } else if (Node137align === 'right') {
- Node137textStart = 0;
- Node137textWidth =Node137fontSize <= 8 ? Node137width + Node137fontSize * 0.2 + 6 : Node137width - Node137fontSize * 0.2;
- Node137lineStart = (Node137width - (ht.Default.getTextSize('202', ' '+ Node137fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node137align === 'center') {
- Node137textStart = -3;
- Node137textWidth = Node137width;
- Node137lineStart = Node137width - ht.Default.getTextSize('202', ' '+ Node137fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node137.setImage(GD.getTextJSON(Node137width, Node137height, true, false, false, ' '+ Node137fontSize + 'px "Arial"'))
- Node137.setPosition(1056*ratio.ratioX, 406*ratio.ratioY);
- Node137.setWidth(Node137width);
- Node137.setHeight(Node137height);
- Node137._nodeType = 'text';
- Node137._disallowEvert = true;
- Node137.setRotation(0*Math.PI/180);
- Node137.a('node.width', Node137width);
- Node137.a('node.height', Node137height);
- Node137.a('node.rect', [0, 0, Node137width, Node137height]);
- Node137.a('node.bordercolor','rgba(0,0,0,1)');
- Node137.a('node.borderwidth', 0);
- Node137.a('node.background','' || 'rgba(0,0,0,0)');
- Node137.a('node.gradient','');
- Node137.a('node.gradientcolor','');
- Node137.a('node.text','202');
- Node137.a('node.textalign','left');
- Node137.a('node.textvAlign','middle');
- Node137.a('node.textrect', [Node137textStart, 0, Node137textWidth, Node137height]);
- Node137.a('node.color','rgba(0,0,0,1)');
- Node137.a('node.font',' '+ Node137fontSize + 'px "Arial"');
- Node137.a('node.textvisible',true);
- Node137.a('node.linefeed',false);
- if (false) {
- Node137.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node137.a('node.text') || '202';
- var color=Node137.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node137width,Node137height,13.3333*_ratio.ratioY,"left",color,' '+ Node137fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node137.a('node.underlinepoints',[Node137lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node137fontSize + 2 , ht.Default.getTextSize('202', ' '+ Node137fontSize + 'px "Arial"').width + 6, (Node137height - Node137fontSize) * 0.5*_ratio.ratioY + Node137fontSize + 2 ]);
- Node137.a('node.underlinevisible',false);
- Node137.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node137);
- zoomNodeList.push({
- node: Node137,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node138 = new ht.Node();
- var Node138textStart, Node138textWidth, Node138lineStart, Node138align = 'left', Node138fontSize = 13.3333*_ratio.ratioY,Node138width = 51*_ratio.ratioX, Node138height = 24*_ratio.ratioY;
- (function () {
- if (Node138align === 'left') {
- Node138textStart = Node138fontSize * 0.2 > 2 ? Node138fontSize * 0.2 - 4 : Node138fontSize * 0.2 - 9;
- Node138textWidth = Node138width;
- Node138lineStart = 1;
- } else if (Node138align === 'right') {
- Node138textStart = 0;
- Node138textWidth =Node138fontSize <= 8 ? Node138width + Node138fontSize * 0.2 + 6 : Node138width - Node138fontSize * 0.2;
- Node138lineStart = (Node138width - (ht.Default.getTextSize('202-1', ' '+ Node138fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node138align === 'center') {
- Node138textStart = -3;
- Node138textWidth = Node138width;
- Node138lineStart = Node138width - ht.Default.getTextSize('202-1', ' '+ Node138fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node138.setImage(GD.getTextJSON(Node138width, Node138height, true, false, false, ' '+ Node138fontSize + 'px "Arial"'))
- Node138.setPosition(1053*ratio.ratioX, 438*ratio.ratioY);
- Node138.setWidth(Node138width);
- Node138.setHeight(Node138height);
- Node138._nodeType = 'text';
- Node138._disallowEvert = true;
- Node138.setRotation(0*Math.PI/180);
- Node138.a('node.width', Node138width);
- Node138.a('node.height', Node138height);
- Node138.a('node.rect', [0, 0, Node138width, Node138height]);
- Node138.a('node.bordercolor','rgba(0,0,0,1)');
- Node138.a('node.borderwidth', 0);
- Node138.a('node.background','' || 'rgba(0,0,0,0)');
- Node138.a('node.gradient','');
- Node138.a('node.gradientcolor','');
- Node138.a('node.text','202-1');
- Node138.a('node.textalign','left');
- Node138.a('node.textvAlign','middle');
- Node138.a('node.textrect', [Node138textStart, 0, Node138textWidth, Node138height]);
- Node138.a('node.color','rgba(0,0,0,1)');
- Node138.a('node.font',' '+ Node138fontSize + 'px "Arial"');
- Node138.a('node.textvisible',true);
- Node138.a('node.linefeed',false);
- if (false) {
- Node138.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node138.a('node.text') || '202-1';
- var color=Node138.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node138width,Node138height,13.3333*_ratio.ratioY,"left",color,' '+ Node138fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node138.a('node.underlinepoints',[Node138lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node138fontSize + 2 , ht.Default.getTextSize('202-1', ' '+ Node138fontSize + 'px "Arial"').width + 6, (Node138height - Node138fontSize) * 0.5*_ratio.ratioY + Node138fontSize + 2 ]);
- Node138.a('node.underlinevisible',false);
- Node138.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node138);
- zoomNodeList.push({
- node: Node138,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node139 = new ht.lib['紫黄双圆'](1083*ratio.ratioX, 495*ratio.ratioY, 55*_ratio.ratioX, 52*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node139');
- _libModel.add("Node139", Node139);
- Node139.setRotation(0*Math.PI/180);
- ;
- ;
- var Node140points=[1080, 443,1080, 473],
- Node140rect=ht.Default.unionPoint([{x:1080,y:443},{x:1080,y:473}]),
- Node140compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node140points.length;i++){
- if(i%2==0){
- Node140compspts.push(Node140points[i]-Node140rect.x);
- }else{
- Node140compspts.push(Node140points[i]-Node140rect.y);
- }
- }
- var Node140ptslength=Node140compspts.length;
- if (Node140rect.height === 0) {
- Node140compspts[0] -= 0;
- Node140compspts[Node140ptslength-2] += 0;
- } else if (Node140rect.width === 0){
- Node140compspts[1] -= 0;
- Node140compspts[Node140ptslength-1] += 0;
- } else {
- Node140compspts[0] -= 0;
- Node140compspts[1] -= 0;
- Node140compspts[Node140ptslength-2] += 0;
- Node140compspts[Node140ptslength-1] += 0;
- }
- Node140 = new ht.Node();
- Node140.borderWidth = 1;
- Node140rect.width = Node140rect.width === 0 ? 0.0001 : Node140rect.width;
- Node140rect.height = Node140rect.height === 0 ? 0.0001 : Node140rect.height;
- var Node140endCompspts = [Node140compspts[Node140ptslength-2],Node140compspts[Node140ptslength-1],0,0];
- var Node140startCompspts = [Node140compspts[0],Node140compspts[1],0,0];
- Node140.setImage(GD.getPolyLineJSON());
- Node140.setPosition(Node140rect.x+Node140rect.width/2,Node140rect.y+Node140rect.height/2);
- Node140.setSize(Node140rect.width,Node140rect.height);
- Node140.setStyle("opacity",1);
- Node140.s({'pixelPerfect':true});
- Node140borderwidth=1;
- Node140.setRotation(0);
- dataModel.add(Node140);
- Node140.a('node.points',Node140compspts);
- Node140.a('node.segments',[1,2]);
- Node140.a('node.color','rgba(255,0,255,1)');
- Node140.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node140.a('node.borderColor','rgba(255,0,255,1)');
- Node140.a('node.background','rgba(255,0,255,1)');
- Node140.a('node.gradient','');
- Node140.a('node.gradientcolor','rgba(255,0,255,1)');
- Node140.a('node.endCompspts',Node140endCompspts);
- Node140.a('node.startCompspts',Node140startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node140';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node140, Node140.getImage(), Node140compspts, Node140endCompspts, Node140startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node141 = new ht.Node();
- var Node141textStart, Node141textWidth, Node141lineStart, Node141align = 'left', Node141fontSize = 13.3333*_ratio.ratioY,Node141width = 51*_ratio.ratioX, Node141height = 24*_ratio.ratioY;
- (function () {
- if (Node141align === 'left') {
- Node141textStart = Node141fontSize * 0.2 > 2 ? Node141fontSize * 0.2 - 4 : Node141fontSize * 0.2 - 9;
- Node141textWidth = Node141width;
- Node141lineStart = 1;
- } else if (Node141align === 'right') {
- Node141textStart = 0;
- Node141textWidth =Node141fontSize <= 8 ? Node141width + Node141fontSize * 0.2 + 6 : Node141width - Node141fontSize * 0.2;
- Node141lineStart = (Node141width - (ht.Default.getTextSize('2#主变', 'bold '+ Node141fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node141align === 'center') {
- Node141textStart = -3;
- Node141textWidth = Node141width;
- Node141lineStart = Node141width - ht.Default.getTextSize('2#主变', 'bold '+ Node141fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node141.setImage(GD.getTextJSON(Node141width, Node141height, true, false, false, 'bold '+ Node141fontSize + 'px "Arial"'))
- Node141.setPosition(1023*ratio.ratioX, 497*ratio.ratioY);
- Node141.setWidth(Node141width);
- Node141.setHeight(Node141height);
- Node141._nodeType = 'text';
- Node141._disallowEvert = true;
- Node141.setRotation(0*Math.PI/180);
- Node141.a('node.width', Node141width);
- Node141.a('node.height', Node141height);
- Node141.a('node.rect', [0, 0, Node141width, Node141height]);
- Node141.a('node.bordercolor','rgba(0,0,0,1)');
- Node141.a('node.borderwidth', 0);
- Node141.a('node.background','' || 'rgba(0,0,0,0)');
- Node141.a('node.gradient','');
- Node141.a('node.gradientcolor','');
- Node141.a('node.text','2#主变');
- Node141.a('node.textalign','left');
- Node141.a('node.textvAlign','middle');
- Node141.a('node.textrect', [Node141textStart, 0, Node141textWidth, Node141height]);
- Node141.a('node.color','rgba(0,0,0,1)');
- Node141.a('node.font','bold '+ Node141fontSize + 'px "Arial"');
- Node141.a('node.textvisible',true);
- Node141.a('node.linefeed',false);
- if (false) {
- Node141.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node141.a('node.text') || '2#主变';
- var color=Node141.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node141width,Node141height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node141fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node141.a('node.underlinepoints',[Node141lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node141fontSize + 2 , ht.Default.getTextSize('2#主变', 'bold '+ Node141fontSize + 'px "Arial"').width + 6, (Node141height - Node141fontSize) * 0.5*_ratio.ratioY + Node141fontSize + 2 ]);
- Node141.a('node.underlinevisible',false);
- Node141.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node141);
- zoomNodeList.push({
- node: Node141,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node142points=[1080, 521,1080, 531],
- Node142rect=ht.Default.unionPoint([{x:1080,y:521},{x:1080,y:531}]),
- Node142compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node142points.length;i++){
- if(i%2==0){
- Node142compspts.push(Node142points[i]-Node142rect.x);
- }else{
- Node142compspts.push(Node142points[i]-Node142rect.y);
- }
- }
- var Node142ptslength=Node142compspts.length;
- if (Node142rect.height === 0) {
- Node142compspts[0] -= 0;
- Node142compspts[Node142ptslength-2] += 0;
- } else if (Node142rect.width === 0){
- Node142compspts[1] -= 0;
- Node142compspts[Node142ptslength-1] += 0;
- } else {
- Node142compspts[0] -= 0;
- Node142compspts[1] -= 0;
- Node142compspts[Node142ptslength-2] += 0;
- Node142compspts[Node142ptslength-1] += 0;
- }
- Node142 = new ht.Node();
- Node142.borderWidth = 1;
- Node142rect.width = Node142rect.width === 0 ? 0.0001 : Node142rect.width;
- Node142rect.height = Node142rect.height === 0 ? 0.0001 : Node142rect.height;
- var Node142endCompspts = [Node142compspts[Node142ptslength-2],Node142compspts[Node142ptslength-1],0,0];
- var Node142startCompspts = [Node142compspts[0],Node142compspts[1],0,0];
- Node142.setImage(GD.getPolyLineJSON());
- Node142.setPosition(Node142rect.x+Node142rect.width/2,Node142rect.y+Node142rect.height/2);
- Node142.setSize(Node142rect.width,Node142rect.height);
- Node142.setStyle("opacity",1);
- Node142.s({'pixelPerfect':true});
- Node142borderwidth=1;
- Node142.setRotation(0);
- dataModel.add(Node142);
- Node142.a('node.points',Node142compspts);
- Node142.a('node.segments',[1,2]);
- Node142.a('node.color','rgba(255,128,0,1)');
- Node142.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node142.a('node.borderColor','rgba(255,128,0,1)');
- Node142.a('node.background','rgba(255,128,0,1)');
- Node142.a('node.gradient','');
- Node142.a('node.gradientcolor','rgba(255,128,0,1)');
- Node142.a('node.endCompspts',Node142endCompspts);
- Node142.a('node.startCompspts',Node142startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node142';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node142, Node142.getImage(), Node142compspts, Node142endCompspts, Node142startCompspts);
- _ratio = GD.getRatioWithRotation(90*Math.PI/180, ratio);
- var Node143 = new ht.lib['pt接地'](1121*ratio.ratioX, 417*ratio.ratioY, 16*_ratio.ratioX, 14*_ratio.ratioY, 90*Math.PI/180, {}, function (){return {}}, 'Node143');
- _libModel.add("Node143", Node143);
- Node143.setRotation(90*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(90*Math.PI/180, ratio);
- var Node144 = new ht.lib['pt接地'](1123*ratio.ratioX, 453*ratio.ratioY, 16*_ratio.ratioX, 14*_ratio.ratioY, 90*Math.PI/180, {}, function (){return {}}, 'Node144');
- _libModel.add("Node144", Node144);
- Node144.setRotation(90*Math.PI/180);
- ;
- ;
- var Node145points=[1080, 386,1030, 386],
- Node145rect=ht.Default.unionPoint([{x:1080,y:386},{x:1030,y:386}]),
- Node145compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(0, ratio),
- _endratio = GD.getRatioWithRotation(3.14159265358979, ratio);
- for(var i=0;i<Node145points.length;i++){
- if(i%2==0){
- Node145compspts.push(Node145points[i]-Node145rect.x);
- }else{
- Node145compspts.push(Node145points[i]-Node145rect.y);
- }
- }
- var Node145ptslength=Node145compspts.length;
- if (Node145rect.height === 0) {
- Node145compspts[0] -= 0;
- Node145compspts[Node145ptslength-2] += 0;
- } else if (Node145rect.width === 0){
- Node145compspts[1] -= 0;
- Node145compspts[Node145ptslength-1] += 0;
- } else {
- Node145compspts[0] -= 0;
- Node145compspts[1] -= 0;
- Node145compspts[Node145ptslength-2] += 0;
- Node145compspts[Node145ptslength-1] += 0;
- }
- Node145 = new ht.Node();
- Node145.borderWidth = 1;
- Node145rect.width = Node145rect.width === 0 ? 0.0001 : Node145rect.width;
- Node145rect.height = Node145rect.height === 0 ? 0.0001 : Node145rect.height;
- var Node145endCompspts = [Node145compspts[Node145ptslength-2],Node145compspts[Node145ptslength-1],0,0];
- var Node145startCompspts = [Node145compspts[0],Node145compspts[1],0,0];
- Node145.setImage(GD.getPolyLineJSON());
- Node145.setPosition(Node145rect.x+Node145rect.width/2,Node145rect.y+Node145rect.height/2);
- Node145.setSize(Node145rect.width,Node145rect.height);
- Node145.setStyle("opacity",1);
- Node145.s({'pixelPerfect':true});
- Node145borderwidth=1;
- Node145.setRotation(0);
- dataModel.add(Node145);
- Node145.a('node.points',Node145compspts);
- Node145.a('node.segments',[1,2]);
- Node145.a('node.color','rgba(255,0,255,1)');
- Node145.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node145.a('node.borderColor','rgba(255,0,255,1)');
- Node145.a('node.background','rgba(255,0,255,1)');
- Node145.a('node.gradient','');
- Node145.a('node.gradientcolor','rgba(255,0,255,1)');
- Node145.a('node.endCompspts',Node145endCompspts);
- Node145.a('node.startCompspts',Node145startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node145';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node145, Node145.getImage(), Node145compspts, Node145endCompspts, Node145startCompspts);
- var Node146points=[1030, 386,1030, 376],
- Node146rect=ht.Default.unionPoint([{x:1030,y:386},{x:1030,y:376}]),
- Node146compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node146points.length;i++){
- if(i%2==0){
- Node146compspts.push(Node146points[i]-Node146rect.x);
- }else{
- Node146compspts.push(Node146points[i]-Node146rect.y);
- }
- }
- var Node146ptslength=Node146compspts.length;
- if (Node146rect.height === 0) {
- Node146compspts[0] -= 0;
- Node146compspts[Node146ptslength-2] += 0;
- } else if (Node146rect.width === 0){
- Node146compspts[1] -= 0;
- Node146compspts[Node146ptslength-1] += 0;
- } else {
- Node146compspts[0] -= 0;
- Node146compspts[1] -= 0;
- Node146compspts[Node146ptslength-2] += 0;
- Node146compspts[Node146ptslength-1] += 0;
- }
- Node146 = new ht.Node();
- Node146.borderWidth = 1;
- Node146rect.width = Node146rect.width === 0 ? 0.0001 : Node146rect.width;
- Node146rect.height = Node146rect.height === 0 ? 0.0001 : Node146rect.height;
- var Node146endCompspts = [Node146compspts[Node146ptslength-2],Node146compspts[Node146ptslength-1],0,0];
- var Node146startCompspts = [Node146compspts[0],Node146compspts[1],0,0];
- Node146.setImage(GD.getPolyLineJSON());
- Node146.setPosition(Node146rect.x+Node146rect.width/2,Node146rect.y+Node146rect.height/2);
- Node146.setSize(Node146rect.width,Node146rect.height);
- Node146.setStyle("opacity",1);
- Node146.s({'pixelPerfect':true});
- Node146borderwidth=1;
- Node146.setRotation(0);
- dataModel.add(Node146);
- Node146.a('node.points',Node146compspts);
- Node146.a('node.segments',[1,2]);
- Node146.a('node.color','rgba(255,0,255,1)');
- Node146.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node146.a('node.borderColor','rgba(255,0,255,1)');
- Node146.a('node.background','rgba(255,0,255,1)');
- Node146.a('node.gradient','');
- Node146.a('node.gradientcolor','rgba(255,0,255,1)');
- Node146.a('node.endCompspts',Node146endCompspts);
- Node146.a('node.startCompspts',Node146startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node146';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node146, Node146.getImage(), Node146compspts, Node146endCompspts, Node146startCompspts);
- var Node147points=[1081, 418,1091, 418],
- Node147rect=ht.Default.unionPoint([{x:1081,y:418},{x:1091,y:418}]),
- Node147compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node147points.length;i++){
- if(i%2==0){
- Node147compspts.push(Node147points[i]-Node147rect.x);
- }else{
- Node147compspts.push(Node147points[i]-Node147rect.y);
- }
- }
- var Node147ptslength=Node147compspts.length;
- if (Node147rect.height === 0) {
- Node147compspts[0] -= 0;
- Node147compspts[Node147ptslength-2] += 0;
- } else if (Node147rect.width === 0){
- Node147compspts[1] -= 0;
- Node147compspts[Node147ptslength-1] += 0;
- } else {
- Node147compspts[0] -= 0;
- Node147compspts[1] -= 0;
- Node147compspts[Node147ptslength-2] += 0;
- Node147compspts[Node147ptslength-1] += 0;
- }
- Node147 = new ht.Node();
- Node147.borderWidth = 1;
- Node147rect.width = Node147rect.width === 0 ? 0.0001 : Node147rect.width;
- Node147rect.height = Node147rect.height === 0 ? 0.0001 : Node147rect.height;
- var Node147endCompspts = [Node147compspts[Node147ptslength-2],Node147compspts[Node147ptslength-1],0,0];
- var Node147startCompspts = [Node147compspts[0],Node147compspts[1],0,0];
- Node147.setImage(GD.getPolyLineJSON());
- Node147.setPosition(Node147rect.x+Node147rect.width/2,Node147rect.y+Node147rect.height/2);
- Node147.setSize(Node147rect.width,Node147rect.height);
- Node147.setStyle("opacity",1);
- Node147.s({'pixelPerfect':true});
- Node147borderwidth=1;
- Node147.setRotation(0);
- dataModel.add(Node147);
- Node147.a('node.points',Node147compspts);
- Node147.a('node.segments',[1,2]);
- Node147.a('node.color','rgba(255,0,255,1)');
- Node147.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node147.a('node.borderColor','rgba(255,0,255,1)');
- Node147.a('node.background','rgba(255,0,255,1)');
- Node147.a('node.gradient','');
- Node147.a('node.gradientcolor','rgba(255,0,255,1)');
- Node147.a('node.endCompspts',Node147endCompspts);
- Node147.a('node.startCompspts',Node147startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node147';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node147, Node147.getImage(), Node147compspts, Node147endCompspts, Node147startCompspts);
- var Node148points=[1081, 454,1091, 454],
- Node148rect=ht.Default.unionPoint([{x:1081,y:454},{x:1091,y:454}]),
- Node148compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node148points.length;i++){
- if(i%2==0){
- Node148compspts.push(Node148points[i]-Node148rect.x);
- }else{
- Node148compspts.push(Node148points[i]-Node148rect.y);
- }
- }
- var Node148ptslength=Node148compspts.length;
- if (Node148rect.height === 0) {
- Node148compspts[0] -= 0;
- Node148compspts[Node148ptslength-2] += 0;
- } else if (Node148rect.width === 0){
- Node148compspts[1] -= 0;
- Node148compspts[Node148ptslength-1] += 0;
- } else {
- Node148compspts[0] -= 0;
- Node148compspts[1] -= 0;
- Node148compspts[Node148ptslength-2] += 0;
- Node148compspts[Node148ptslength-1] += 0;
- }
- Node148 = new ht.Node();
- Node148.borderWidth = 1;
- Node148rect.width = Node148rect.width === 0 ? 0.0001 : Node148rect.width;
- Node148rect.height = Node148rect.height === 0 ? 0.0001 : Node148rect.height;
- var Node148endCompspts = [Node148compspts[Node148ptslength-2],Node148compspts[Node148ptslength-1],0,0];
- var Node148startCompspts = [Node148compspts[0],Node148compspts[1],0,0];
- Node148.setImage(GD.getPolyLineJSON());
- Node148.setPosition(Node148rect.x+Node148rect.width/2,Node148rect.y+Node148rect.height/2);
- Node148.setSize(Node148rect.width,Node148rect.height);
- Node148.setStyle("opacity",1);
- Node148.s({'pixelPerfect':true});
- Node148borderwidth=1;
- Node148.setRotation(0);
- dataModel.add(Node148);
- Node148.a('node.points',Node148compspts);
- Node148.a('node.segments',[1,2]);
- Node148.a('node.color','rgba(255,0,255,1)');
- Node148.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node148.a('node.borderColor','rgba(255,0,255,1)');
- Node148.a('node.background','rgba(255,0,255,1)');
- Node148.a('node.gradient','');
- Node148.a('node.gradientcolor','rgba(255,0,255,1)');
- Node148.a('node.endCompspts',Node148endCompspts);
- Node148.a('node.startCompspts',Node148startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node148';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node148, Node148.getImage(), Node148compspts, Node148endCompspts, Node148startCompspts);
- var Node149points=[1100, 491,1180, 491],
- Node149rect=ht.Default.unionPoint([{x:1100,y:491},{x:1180,y:491}]),
- Node149compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node149points.length;i++){
- if(i%2==0){
- Node149compspts.push(Node149points[i]-Node149rect.x);
- }else{
- Node149compspts.push(Node149points[i]-Node149rect.y);
- }
- }
- var Node149ptslength=Node149compspts.length;
- if (Node149rect.height === 0) {
- Node149compspts[0] -= 0;
- Node149compspts[Node149ptslength-2] += 0;
- } else if (Node149rect.width === 0){
- Node149compspts[1] -= 0;
- Node149compspts[Node149ptslength-1] += 0;
- } else {
- Node149compspts[0] -= 0;
- Node149compspts[1] -= 0;
- Node149compspts[Node149ptslength-2] += 0;
- Node149compspts[Node149ptslength-1] += 0;
- }
- Node149 = new ht.Node();
- Node149.borderWidth = 1;
- Node149rect.width = Node149rect.width === 0 ? 0.0001 : Node149rect.width;
- Node149rect.height = Node149rect.height === 0 ? 0.0001 : Node149rect.height;
- var Node149endCompspts = [Node149compspts[Node149ptslength-2],Node149compspts[Node149ptslength-1],0,0];
- var Node149startCompspts = [Node149compspts[0],Node149compspts[1],0,0];
- Node149.setImage(GD.getPolyLineJSON());
- Node149.setPosition(Node149rect.x+Node149rect.width/2,Node149rect.y+Node149rect.height/2);
- Node149.setSize(Node149rect.width,Node149rect.height);
- Node149.setStyle("opacity",1);
- Node149.s({'pixelPerfect':true});
- Node149borderwidth=1;
- Node149.setRotation(0);
- dataModel.add(Node149);
- Node149.a('node.points',Node149compspts);
- Node149.a('node.segments',[1,2]);
- Node149.a('node.color','rgba(255,0,255,1)');
- Node149.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node149.a('node.borderColor','rgba(255,0,255,1)');
- Node149.a('node.background','rgba(255,0,255,1)');
- Node149.a('node.gradient','');
- Node149.a('node.gradientcolor','rgba(255,0,255,1)');
- Node149.a('node.endCompspts',Node149endCompspts);
- Node149.a('node.startCompspts',Node149startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node149';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node149, Node149.getImage(), Node149compspts, Node149endCompspts, Node149startCompspts);
- var Node150points=[1180, 501,1180, 491],
- Node150rect=ht.Default.unionPoint([{x:1180,y:501},{x:1180,y:491}]),
- Node150compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node150points.length;i++){
- if(i%2==0){
- Node150compspts.push(Node150points[i]-Node150rect.x);
- }else{
- Node150compspts.push(Node150points[i]-Node150rect.y);
- }
- }
- var Node150ptslength=Node150compspts.length;
- if (Node150rect.height === 0) {
- Node150compspts[0] -= 0;
- Node150compspts[Node150ptslength-2] += 0;
- } else if (Node150rect.width === 0){
- Node150compspts[1] -= 0;
- Node150compspts[Node150ptslength-1] += 0;
- } else {
- Node150compspts[0] -= 0;
- Node150compspts[1] -= 0;
- Node150compspts[Node150ptslength-2] += 0;
- Node150compspts[Node150ptslength-1] += 0;
- }
- Node150 = new ht.Node();
- Node150.borderWidth = 1;
- Node150rect.width = Node150rect.width === 0 ? 0.0001 : Node150rect.width;
- Node150rect.height = Node150rect.height === 0 ? 0.0001 : Node150rect.height;
- var Node150endCompspts = [Node150compspts[Node150ptslength-2],Node150compspts[Node150ptslength-1],0,0];
- var Node150startCompspts = [Node150compspts[0],Node150compspts[1],0,0];
- Node150.setImage(GD.getPolyLineJSON());
- Node150.setPosition(Node150rect.x+Node150rect.width/2,Node150rect.y+Node150rect.height/2);
- Node150.setSize(Node150rect.width,Node150rect.height);
- Node150.setStyle("opacity",1);
- Node150.s({'pixelPerfect':true});
- Node150borderwidth=1;
- Node150.setRotation(0);
- dataModel.add(Node150);
- Node150.a('node.points',Node150compspts);
- Node150.a('node.segments',[1,2]);
- Node150.a('node.color','rgba(255,0,255,1)');
- Node150.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node150.a('node.borderColor','rgba(255,0,255,1)');
- Node150.a('node.background','rgba(255,0,255,1)');
- Node150.a('node.gradient','');
- Node150.a('node.gradientcolor','rgba(255,0,255,1)');
- Node150.a('node.endCompspts',Node150endCompspts);
- Node150.a('node.startCompspts',Node150startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node150';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node150, Node150.getImage(), Node150compspts, Node150endCompspts, Node150startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node151 = new ht.Node();
- var Node151textStart, Node151textWidth, Node151lineStart, Node151align = 'left', Node151fontSize = 13.3333*_ratio.ratioY,Node151width = 40*_ratio.ratioX, Node151height = 16*_ratio.ratioY;
- (function () {
- if (Node151align === 'left') {
- Node151textStart = Node151fontSize * 0.2 > 2 ? Node151fontSize * 0.2 - 4 : Node151fontSize * 0.2 - 9;
- Node151textWidth = Node151width;
- Node151lineStart = 1;
- } else if (Node151align === 'right') {
- Node151textStart = 0;
- Node151textWidth =Node151fontSize <= 8 ? Node151width + Node151fontSize * 0.2 + 6 : Node151width - Node151fontSize * 0.2;
- Node151lineStart = (Node151width - (ht.Default.getTextSize('2020', ' '+ Node151fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node151align === 'center') {
- Node151textStart = -3;
- Node151textWidth = Node151width;
- Node151lineStart = Node151width - ht.Default.getTextSize('2020', ' '+ Node151fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node151.setImage(GD.getTextJSON(Node151width, Node151height, true, false, false, ' '+ Node151fontSize + 'px "Arial"'))
- Node151.setPosition(1208*ratio.ratioX, 512*ratio.ratioY);
- Node151.setWidth(Node151width);
- Node151.setHeight(Node151height);
- Node151._nodeType = 'text';
- Node151._disallowEvert = true;
- Node151.setRotation(0*Math.PI/180);
- Node151.a('node.width', Node151width);
- Node151.a('node.height', Node151height);
- Node151.a('node.rect', [0, 0, Node151width, Node151height]);
- Node151.a('node.bordercolor','rgba(0,0,0,1)');
- Node151.a('node.borderwidth', 0);
- Node151.a('node.background','' || 'rgba(0,0,0,0)');
- Node151.a('node.gradient','');
- Node151.a('node.gradientcolor','');
- Node151.a('node.text','2020');
- Node151.a('node.textalign','left');
- Node151.a('node.textvAlign','middle');
- Node151.a('node.textrect', [Node151textStart, 0, Node151textWidth, Node151height]);
- Node151.a('node.color','rgba(0,0,0,1)');
- Node151.a('node.font',' '+ Node151fontSize + 'px "Arial"');
- Node151.a('node.textvisible',true);
- Node151.a('node.linefeed',false);
- if (false) {
- Node151.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node151.a('node.text') || '2020';
- var color=Node151.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node151width,Node151height,13.3333*_ratio.ratioY,"left",color,' '+ Node151fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node151.a('node.underlinepoints',[Node151lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node151fontSize + 2 , ht.Default.getTextSize('2020', ' '+ Node151fontSize + 'px "Arial"').width + 6, (Node151height - Node151fontSize) * 0.5*_ratio.ratioY + Node151fontSize + 2 ]);
- Node151.a('node.underlinevisible',false);
- Node151.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node151);
- zoomNodeList.push({
- node: Node151,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node152 = new ht.lib['pt接地'](1179*ratio.ratioX, 530*ratio.ratioY, 16*_ratio.ratioX, 13*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node152');
- _libModel.add("Node152", Node152);
- Node152.setRotation(180*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node153 = new ht.lib['1345'](1141*ratio.ratioX, 511*ratio.ratioY, 15*_ratio.ratioX, 41*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node153');
- _libModel.add("Node153", Node153);
- Node153.setRotation(0*Math.PI/180);
- ;
- ;
- var Node154points=[540, 371,540, 395],
- Node154rect=ht.Default.unionPoint([{x:540,y:371},{x:540,y:395}]),
- Node154compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node154points.length;i++){
- if(i%2==0){
- Node154compspts.push(Node154points[i]-Node154rect.x);
- }else{
- Node154compspts.push(Node154points[i]-Node154rect.y);
- }
- }
- var Node154ptslength=Node154compspts.length;
- if (Node154rect.height === 0) {
- Node154compspts[0] -= 0;
- Node154compspts[Node154ptslength-2] += 0;
- } else if (Node154rect.width === 0){
- Node154compspts[1] -= 0;
- Node154compspts[Node154ptslength-1] += 0;
- } else {
- Node154compspts[0] -= 0;
- Node154compspts[1] -= 0;
- Node154compspts[Node154ptslength-2] += 0;
- Node154compspts[Node154ptslength-1] += 0;
- }
- Node154 = new ht.Node();
- Node154.borderWidth = 1;
- Node154rect.width = Node154rect.width === 0 ? 0.0001 : Node154rect.width;
- Node154rect.height = Node154rect.height === 0 ? 0.0001 : Node154rect.height;
- var Node154endCompspts = [Node154compspts[Node154ptslength-2],Node154compspts[Node154ptslength-1],0,0];
- var Node154startCompspts = [Node154compspts[0],Node154compspts[1],0,0];
- Node154.setImage(GD.getPolyLineJSON());
- Node154.setPosition(Node154rect.x+Node154rect.width/2,Node154rect.y+Node154rect.height/2);
- Node154.setSize(Node154rect.width,Node154rect.height);
- Node154.setStyle("opacity",1);
- Node154.s({'pixelPerfect':true});
- Node154borderwidth=1;
- Node154.setRotation(0);
- dataModel.add(Node154);
- Node154.a('node.points',Node154compspts);
- Node154.a('node.segments',[1,2]);
- Node154.a('node.color','rgba(255,0,255,1)');
- Node154.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node154.a('node.borderColor','rgba(255,0,255,1)');
- Node154.a('node.background','rgba(255,0,255,1)');
- Node154.a('node.gradient','');
- Node154.a('node.gradientcolor','rgba(255,0,255,1)');
- Node154.a('node.endCompspts',Node154endCompspts);
- Node154.a('node.startCompspts',Node154startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node154';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node154, Node154.getImage(), Node154compspts, Node154endCompspts, Node154startCompspts);
- var Node155points=[540, 408,540, 430],
- Node155rect=ht.Default.unionPoint([{x:540,y:408},{x:540,y:430}]),
- Node155compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node155points.length;i++){
- if(i%2==0){
- Node155compspts.push(Node155points[i]-Node155rect.x);
- }else{
- Node155compspts.push(Node155points[i]-Node155rect.y);
- }
- }
- var Node155ptslength=Node155compspts.length;
- if (Node155rect.height === 0) {
- Node155compspts[0] -= 0;
- Node155compspts[Node155ptslength-2] += 0;
- } else if (Node155rect.width === 0){
- Node155compspts[1] -= 0;
- Node155compspts[Node155ptslength-1] += 0;
- } else {
- Node155compspts[0] -= 0;
- Node155compspts[1] -= 0;
- Node155compspts[Node155ptslength-2] += 0;
- Node155compspts[Node155ptslength-1] += 0;
- }
- Node155 = new ht.Node();
- Node155.borderWidth = 1;
- Node155rect.width = Node155rect.width === 0 ? 0.0001 : Node155rect.width;
- Node155rect.height = Node155rect.height === 0 ? 0.0001 : Node155rect.height;
- var Node155endCompspts = [Node155compspts[Node155ptslength-2],Node155compspts[Node155ptslength-1],0,0];
- var Node155startCompspts = [Node155compspts[0],Node155compspts[1],0,0];
- Node155.setImage(GD.getPolyLineJSON());
- Node155.setPosition(Node155rect.x+Node155rect.width/2,Node155rect.y+Node155rect.height/2);
- Node155.setSize(Node155rect.width,Node155rect.height);
- Node155.setStyle("opacity",1);
- Node155.s({'pixelPerfect':true});
- Node155borderwidth=1;
- Node155.setRotation(0);
- dataModel.add(Node155);
- Node155.a('node.points',Node155compspts);
- Node155.a('node.segments',[1,2]);
- Node155.a('node.color','rgba(255,0,255,1)');
- Node155.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node155.a('node.borderColor','rgba(255,0,255,1)');
- Node155.a('node.background','rgba(255,0,255,1)');
- Node155.a('node.gradient','');
- Node155.a('node.gradientcolor','rgba(255,0,255,1)');
- Node155.a('node.endCompspts',Node155endCompspts);
- Node155.a('node.startCompspts',Node155startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node155';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node155, Node155.getImage(), Node155compspts, Node155endCompspts, Node155startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node156 = new ht.lib['pt接地'](490*ratio.ratioX, 355*ratio.ratioY, 16*_ratio.ratioX, 14*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node156');
- _libModel.add("Node156", Node156);
- Node156.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node157 = new ht.Node();
- var Node157textStart, Node157textWidth, Node157lineStart, Node157align = 'left', Node157fontSize = 13.3333*_ratio.ratioY,Node157width = 51*_ratio.ratioX, Node157height = 24*_ratio.ratioY;
- (function () {
- if (Node157align === 'left') {
- Node157textStart = Node157fontSize * 0.2 > 2 ? Node157fontSize * 0.2 - 4 : Node157fontSize * 0.2 - 9;
- Node157textWidth = Node157width;
- Node157lineStart = 1;
- } else if (Node157align === 'right') {
- Node157textStart = 0;
- Node157textWidth =Node157fontSize <= 8 ? Node157width + Node157fontSize * 0.2 + 6 : Node157width - Node157fontSize * 0.2;
- Node157lineStart = (Node157width - (ht.Default.getTextSize('201-A0', ' '+ Node157fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node157align === 'center') {
- Node157textStart = -3;
- Node157textWidth = Node157width;
- Node157lineStart = Node157width - ht.Default.getTextSize('201-A0', ' '+ Node157fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node157.setImage(GD.getTextJSON(Node157width, Node157height, true, false, false, ' '+ Node157fontSize + 'px "Arial"'))
- Node157.setPosition(445*ratio.ratioX, 369*ratio.ratioY);
- Node157.setWidth(Node157width);
- Node157.setHeight(Node157height);
- Node157._nodeType = 'text';
- Node157._disallowEvert = true;
- Node157.setRotation(0*Math.PI/180);
- Node157.a('node.width', Node157width);
- Node157.a('node.height', Node157height);
- Node157.a('node.rect', [0, 0, Node157width, Node157height]);
- Node157.a('node.bordercolor','rgba(0,0,0,1)');
- Node157.a('node.borderwidth', 0);
- Node157.a('node.background','' || 'rgba(0,0,0,0)');
- Node157.a('node.gradient','');
- Node157.a('node.gradientcolor','');
- Node157.a('node.text','201-A0');
- Node157.a('node.textalign','left');
- Node157.a('node.textvAlign','middle');
- Node157.a('node.textrect', [Node157textStart, 0, Node157textWidth, Node157height]);
- Node157.a('node.color','rgba(0,0,0,1)');
- Node157.a('node.font',' '+ Node157fontSize + 'px "Arial"');
- Node157.a('node.textvisible',true);
- Node157.a('node.linefeed',false);
- if (false) {
- Node157.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node157.a('node.text') || '201-A0';
- var color=Node157.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node157width,Node157height,13.3333*_ratio.ratioY,"left",color,' '+ Node157fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node157.a('node.underlinepoints',[Node157lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node157fontSize + 2 , ht.Default.getTextSize('201-A0', ' '+ Node157fontSize + 'px "Arial"').width + 6, (Node157height - Node157fontSize) * 0.5*_ratio.ratioY + Node157fontSize + 2 ]);
- Node157.a('node.underlinevisible',false);
- Node157.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node157);
- zoomNodeList.push({
- node: Node157,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node158 = new ht.Node();
- var Node158textStart, Node158textWidth, Node158lineStart, Node158align = 'left', Node158fontSize = 13.3333*_ratio.ratioY,Node158width = 31*_ratio.ratioX, Node158height = 24*_ratio.ratioY;
- (function () {
- if (Node158align === 'left') {
- Node158textStart = Node158fontSize * 0.2 > 2 ? Node158fontSize * 0.2 - 4 : Node158fontSize * 0.2 - 9;
- Node158textWidth = Node158width;
- Node158lineStart = 1;
- } else if (Node158align === 'right') {
- Node158textStart = 0;
- Node158textWidth =Node158fontSize <= 8 ? Node158width + Node158fontSize * 0.2 + 6 : Node158width - Node158fontSize * 0.2;
- Node158lineStart = (Node158width - (ht.Default.getTextSize('201', ' '+ Node158fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node158align === 'center') {
- Node158textStart = -3;
- Node158textWidth = Node158width;
- Node158lineStart = Node158width - ht.Default.getTextSize('201', ' '+ Node158fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node158.setImage(GD.getTextJSON(Node158width, Node158height, true, false, false, ' '+ Node158fontSize + 'px "Arial"'))
- Node158.setPosition(516*ratio.ratioX, 406*ratio.ratioY);
- Node158.setWidth(Node158width);
- Node158.setHeight(Node158height);
- Node158._nodeType = 'text';
- Node158._disallowEvert = true;
- Node158.setRotation(0*Math.PI/180);
- Node158.a('node.width', Node158width);
- Node158.a('node.height', Node158height);
- Node158.a('node.rect', [0, 0, Node158width, Node158height]);
- Node158.a('node.bordercolor','rgba(0,0,0,1)');
- Node158.a('node.borderwidth', 0);
- Node158.a('node.background','' || 'rgba(0,0,0,0)');
- Node158.a('node.gradient','');
- Node158.a('node.gradientcolor','');
- Node158.a('node.text','201');
- Node158.a('node.textalign','left');
- Node158.a('node.textvAlign','middle');
- Node158.a('node.textrect', [Node158textStart, 0, Node158textWidth, Node158height]);
- Node158.a('node.color','rgba(0,0,0,1)');
- Node158.a('node.font',' '+ Node158fontSize + 'px "Arial"');
- Node158.a('node.textvisible',true);
- Node158.a('node.linefeed',false);
- if (false) {
- Node158.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node158.a('node.text') || '201';
- var color=Node158.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node158width,Node158height,13.3333*_ratio.ratioY,"left",color,' '+ Node158fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node158.a('node.underlinepoints',[Node158lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node158fontSize + 2 , ht.Default.getTextSize('201', ' '+ Node158fontSize + 'px "Arial"').width + 6, (Node158height - Node158fontSize) * 0.5*_ratio.ratioY + Node158fontSize + 2 ]);
- Node158.a('node.underlinevisible',false);
- Node158.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node158);
- zoomNodeList.push({
- node: Node158,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node159 = new ht.Node();
- var Node159textStart, Node159textWidth, Node159lineStart, Node159align = 'left', Node159fontSize = 13.3333*_ratio.ratioY,Node159width = 51*_ratio.ratioX, Node159height = 24*_ratio.ratioY;
- (function () {
- if (Node159align === 'left') {
- Node159textStart = Node159fontSize * 0.2 > 2 ? Node159fontSize * 0.2 - 4 : Node159fontSize * 0.2 - 9;
- Node159textWidth = Node159width;
- Node159lineStart = 1;
- } else if (Node159align === 'right') {
- Node159textStart = 0;
- Node159textWidth =Node159fontSize <= 8 ? Node159width + Node159fontSize * 0.2 + 6 : Node159width - Node159fontSize * 0.2;
- Node159lineStart = (Node159width - (ht.Default.getTextSize('201-1', ' '+ Node159fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node159align === 'center') {
- Node159textStart = -3;
- Node159textWidth = Node159width;
- Node159lineStart = Node159width - ht.Default.getTextSize('201-1', ' '+ Node159fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node159.setImage(GD.getTextJSON(Node159width, Node159height, true, false, false, ' '+ Node159fontSize + 'px "Arial"'))
- Node159.setPosition(513*ratio.ratioX, 439*ratio.ratioY);
- Node159.setWidth(Node159width);
- Node159.setHeight(Node159height);
- Node159._nodeType = 'text';
- Node159._disallowEvert = true;
- Node159.setRotation(0*Math.PI/180);
- Node159.a('node.width', Node159width);
- Node159.a('node.height', Node159height);
- Node159.a('node.rect', [0, 0, Node159width, Node159height]);
- Node159.a('node.bordercolor','rgba(0,0,0,1)');
- Node159.a('node.borderwidth', 0);
- Node159.a('node.background','' || 'rgba(0,0,0,0)');
- Node159.a('node.gradient','');
- Node159.a('node.gradientcolor','');
- Node159.a('node.text','201-1');
- Node159.a('node.textalign','left');
- Node159.a('node.textvAlign','middle');
- Node159.a('node.textrect', [Node159textStart, 0, Node159textWidth, Node159height]);
- Node159.a('node.color','rgba(0,0,0,1)');
- Node159.a('node.font',' '+ Node159fontSize + 'px "Arial"');
- Node159.a('node.textvisible',true);
- Node159.a('node.linefeed',false);
- if (false) {
- Node159.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node159.a('node.text') || '201-1';
- var color=Node159.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node159width,Node159height,13.3333*_ratio.ratioY,"left",color,' '+ Node159fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node159.a('node.underlinepoints',[Node159lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node159fontSize + 2 , ht.Default.getTextSize('201-1', ' '+ Node159fontSize + 'px "Arial"').width + 6, (Node159height - Node159fontSize) * 0.5*_ratio.ratioY + Node159fontSize + 2 ]);
- Node159.a('node.underlinevisible',false);
- Node159.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node159);
- zoomNodeList.push({
- node: Node159,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node160 = new ht.lib['紫黄双圆'](543*ratio.ratioX, 495*ratio.ratioY, 55*_ratio.ratioX, 52*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node160');
- _libModel.add("Node160", Node160);
- Node160.setRotation(0*Math.PI/180);
- ;
- ;
- var Node161points=[540, 443,540, 473],
- Node161rect=ht.Default.unionPoint([{x:540,y:443},{x:540,y:473}]),
- Node161compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node161points.length;i++){
- if(i%2==0){
- Node161compspts.push(Node161points[i]-Node161rect.x);
- }else{
- Node161compspts.push(Node161points[i]-Node161rect.y);
- }
- }
- var Node161ptslength=Node161compspts.length;
- if (Node161rect.height === 0) {
- Node161compspts[0] -= 0;
- Node161compspts[Node161ptslength-2] += 0;
- } else if (Node161rect.width === 0){
- Node161compspts[1] -= 0;
- Node161compspts[Node161ptslength-1] += 0;
- } else {
- Node161compspts[0] -= 0;
- Node161compspts[1] -= 0;
- Node161compspts[Node161ptslength-2] += 0;
- Node161compspts[Node161ptslength-1] += 0;
- }
- Node161 = new ht.Node();
- Node161.borderWidth = 1;
- Node161rect.width = Node161rect.width === 0 ? 0.0001 : Node161rect.width;
- Node161rect.height = Node161rect.height === 0 ? 0.0001 : Node161rect.height;
- var Node161endCompspts = [Node161compspts[Node161ptslength-2],Node161compspts[Node161ptslength-1],0,0];
- var Node161startCompspts = [Node161compspts[0],Node161compspts[1],0,0];
- Node161.setImage(GD.getPolyLineJSON());
- Node161.setPosition(Node161rect.x+Node161rect.width/2,Node161rect.y+Node161rect.height/2);
- Node161.setSize(Node161rect.width,Node161rect.height);
- Node161.setStyle("opacity",1);
- Node161.s({'pixelPerfect':true});
- Node161borderwidth=1;
- Node161.setRotation(0);
- dataModel.add(Node161);
- Node161.a('node.points',Node161compspts);
- Node161.a('node.segments',[1,2]);
- Node161.a('node.color','rgba(255,0,255,1)');
- Node161.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node161.a('node.borderColor','rgba(255,0,255,1)');
- Node161.a('node.background','rgba(255,0,255,1)');
- Node161.a('node.gradient','');
- Node161.a('node.gradientcolor','rgba(255,0,255,1)');
- Node161.a('node.endCompspts',Node161endCompspts);
- Node161.a('node.startCompspts',Node161startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node161';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node161, Node161.getImage(), Node161compspts, Node161endCompspts, Node161startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node162 = new ht.Node();
- var Node162textStart, Node162textWidth, Node162lineStart, Node162align = 'left', Node162fontSize = 13.3333*_ratio.ratioY,Node162width = 51*_ratio.ratioX, Node162height = 24*_ratio.ratioY;
- (function () {
- if (Node162align === 'left') {
- Node162textStart = Node162fontSize * 0.2 > 2 ? Node162fontSize * 0.2 - 4 : Node162fontSize * 0.2 - 9;
- Node162textWidth = Node162width;
- Node162lineStart = 1;
- } else if (Node162align === 'right') {
- Node162textStart = 0;
- Node162textWidth =Node162fontSize <= 8 ? Node162width + Node162fontSize * 0.2 + 6 : Node162width - Node162fontSize * 0.2;
- Node162lineStart = (Node162width - (ht.Default.getTextSize('1#主变', 'bold '+ Node162fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node162align === 'center') {
- Node162textStart = -3;
- Node162textWidth = Node162width;
- Node162lineStart = Node162width - ht.Default.getTextSize('1#主变', 'bold '+ Node162fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node162.setImage(GD.getTextJSON(Node162width, Node162height, true, false, false, 'bold '+ Node162fontSize + 'px "Arial"'))
- Node162.setPosition(483*ratio.ratioX, 497*ratio.ratioY);
- Node162.setWidth(Node162width);
- Node162.setHeight(Node162height);
- Node162._nodeType = 'text';
- Node162._disallowEvert = true;
- Node162.setRotation(0*Math.PI/180);
- Node162.a('node.width', Node162width);
- Node162.a('node.height', Node162height);
- Node162.a('node.rect', [0, 0, Node162width, Node162height]);
- Node162.a('node.bordercolor','rgba(0,0,0,1)');
- Node162.a('node.borderwidth', 0);
- Node162.a('node.background','' || 'rgba(0,0,0,0)');
- Node162.a('node.gradient','');
- Node162.a('node.gradientcolor','');
- Node162.a('node.text','1#主变');
- Node162.a('node.textalign','left');
- Node162.a('node.textvAlign','middle');
- Node162.a('node.textrect', [Node162textStart, 0, Node162textWidth, Node162height]);
- Node162.a('node.color','rgba(0,0,0,1)');
- Node162.a('node.font','bold '+ Node162fontSize + 'px "Arial"');
- Node162.a('node.textvisible',true);
- Node162.a('node.linefeed',false);
- if (false) {
- Node162.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node162.a('node.text') || '1#主变';
- var color=Node162.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node162width,Node162height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node162fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node162.a('node.underlinepoints',[Node162lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node162fontSize + 2 , ht.Default.getTextSize('1#主变', 'bold '+ Node162fontSize + 'px "Arial"').width + 6, (Node162height - Node162fontSize) * 0.5*_ratio.ratioY + Node162fontSize + 2 ]);
- Node162.a('node.underlinevisible',false);
- Node162.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node162);
- zoomNodeList.push({
- node: Node162,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node163points=[540, 521,540, 531],
- Node163rect=ht.Default.unionPoint([{x:540,y:521},{x:540,y:531}]),
- Node163compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node163points.length;i++){
- if(i%2==0){
- Node163compspts.push(Node163points[i]-Node163rect.x);
- }else{
- Node163compspts.push(Node163points[i]-Node163rect.y);
- }
- }
- var Node163ptslength=Node163compspts.length;
- if (Node163rect.height === 0) {
- Node163compspts[0] -= 0;
- Node163compspts[Node163ptslength-2] += 0;
- } else if (Node163rect.width === 0){
- Node163compspts[1] -= 0;
- Node163compspts[Node163ptslength-1] += 0;
- } else {
- Node163compspts[0] -= 0;
- Node163compspts[1] -= 0;
- Node163compspts[Node163ptslength-2] += 0;
- Node163compspts[Node163ptslength-1] += 0;
- }
- Node163 = new ht.Node();
- Node163.borderWidth = 1;
- Node163rect.width = Node163rect.width === 0 ? 0.0001 : Node163rect.width;
- Node163rect.height = Node163rect.height === 0 ? 0.0001 : Node163rect.height;
- var Node163endCompspts = [Node163compspts[Node163ptslength-2],Node163compspts[Node163ptslength-1],0,0];
- var Node163startCompspts = [Node163compspts[0],Node163compspts[1],0,0];
- Node163.setImage(GD.getPolyLineJSON());
- Node163.setPosition(Node163rect.x+Node163rect.width/2,Node163rect.y+Node163rect.height/2);
- Node163.setSize(Node163rect.width,Node163rect.height);
- Node163.setStyle("opacity",1);
- Node163.s({'pixelPerfect':true});
- Node163borderwidth=1;
- Node163.setRotation(0);
- dataModel.add(Node163);
- Node163.a('node.points',Node163compspts);
- Node163.a('node.segments',[1,2]);
- Node163.a('node.color','rgba(255,128,0,1)');
- Node163.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node163.a('node.borderColor','rgba(255,128,0,1)');
- Node163.a('node.background','rgba(255,128,0,1)');
- Node163.a('node.gradient','');
- Node163.a('node.gradientcolor','rgba(255,128,0,1)');
- Node163.a('node.endCompspts',Node163endCompspts);
- Node163.a('node.startCompspts',Node163startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node163';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node163, Node163.getImage(), Node163compspts, Node163endCompspts, Node163startCompspts);
- _ratio = GD.getRatioWithRotation(90*Math.PI/180, ratio);
- var Node164 = new ht.lib['pt接地'](581*ratio.ratioX, 417*ratio.ratioY, 16*_ratio.ratioX, 14*_ratio.ratioY, 90*Math.PI/180, {}, function (){return {}}, 'Node164');
- _libModel.add("Node164", Node164);
- Node164.setRotation(90*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(90*Math.PI/180, ratio);
- var Node165 = new ht.lib['pt接地'](583*ratio.ratioX, 453*ratio.ratioY, 16*_ratio.ratioX, 14*_ratio.ratioY, 90*Math.PI/180, {}, function (){return {}}, 'Node165');
- _libModel.add("Node165", Node165);
- Node165.setRotation(90*Math.PI/180);
- ;
- ;
- var Node166points=[540, 386,490, 386],
- Node166rect=ht.Default.unionPoint([{x:540,y:386},{x:490,y:386}]),
- Node166compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(0, ratio),
- _endratio = GD.getRatioWithRotation(3.14159265358979, ratio);
- for(var i=0;i<Node166points.length;i++){
- if(i%2==0){
- Node166compspts.push(Node166points[i]-Node166rect.x);
- }else{
- Node166compspts.push(Node166points[i]-Node166rect.y);
- }
- }
- var Node166ptslength=Node166compspts.length;
- if (Node166rect.height === 0) {
- Node166compspts[0] -= 0;
- Node166compspts[Node166ptslength-2] += 0;
- } else if (Node166rect.width === 0){
- Node166compspts[1] -= 0;
- Node166compspts[Node166ptslength-1] += 0;
- } else {
- Node166compspts[0] -= 0;
- Node166compspts[1] -= 0;
- Node166compspts[Node166ptslength-2] += 0;
- Node166compspts[Node166ptslength-1] += 0;
- }
- Node166 = new ht.Node();
- Node166.borderWidth = 1;
- Node166rect.width = Node166rect.width === 0 ? 0.0001 : Node166rect.width;
- Node166rect.height = Node166rect.height === 0 ? 0.0001 : Node166rect.height;
- var Node166endCompspts = [Node166compspts[Node166ptslength-2],Node166compspts[Node166ptslength-1],0,0];
- var Node166startCompspts = [Node166compspts[0],Node166compspts[1],0,0];
- Node166.setImage(GD.getPolyLineJSON());
- Node166.setPosition(Node166rect.x+Node166rect.width/2,Node166rect.y+Node166rect.height/2);
- Node166.setSize(Node166rect.width,Node166rect.height);
- Node166.setStyle("opacity",1);
- Node166.s({'pixelPerfect':true});
- Node166borderwidth=1;
- Node166.setRotation(0);
- dataModel.add(Node166);
- Node166.a('node.points',Node166compspts);
- Node166.a('node.segments',[1,2]);
- Node166.a('node.color','rgba(255,0,255,1)');
- Node166.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node166.a('node.borderColor','rgba(255,0,255,1)');
- Node166.a('node.background','rgba(255,0,255,1)');
- Node166.a('node.gradient','');
- Node166.a('node.gradientcolor','rgba(255,0,255,1)');
- Node166.a('node.endCompspts',Node166endCompspts);
- Node166.a('node.startCompspts',Node166startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node166';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node166, Node166.getImage(), Node166compspts, Node166endCompspts, Node166startCompspts);
- var Node167points=[490, 386,490, 376],
- Node167rect=ht.Default.unionPoint([{x:490,y:386},{x:490,y:376}]),
- Node167compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node167points.length;i++){
- if(i%2==0){
- Node167compspts.push(Node167points[i]-Node167rect.x);
- }else{
- Node167compspts.push(Node167points[i]-Node167rect.y);
- }
- }
- var Node167ptslength=Node167compspts.length;
- if (Node167rect.height === 0) {
- Node167compspts[0] -= 0;
- Node167compspts[Node167ptslength-2] += 0;
- } else if (Node167rect.width === 0){
- Node167compspts[1] -= 0;
- Node167compspts[Node167ptslength-1] += 0;
- } else {
- Node167compspts[0] -= 0;
- Node167compspts[1] -= 0;
- Node167compspts[Node167ptslength-2] += 0;
- Node167compspts[Node167ptslength-1] += 0;
- }
- Node167 = new ht.Node();
- Node167.borderWidth = 1;
- Node167rect.width = Node167rect.width === 0 ? 0.0001 : Node167rect.width;
- Node167rect.height = Node167rect.height === 0 ? 0.0001 : Node167rect.height;
- var Node167endCompspts = [Node167compspts[Node167ptslength-2],Node167compspts[Node167ptslength-1],0,0];
- var Node167startCompspts = [Node167compspts[0],Node167compspts[1],0,0];
- Node167.setImage(GD.getPolyLineJSON());
- Node167.setPosition(Node167rect.x+Node167rect.width/2,Node167rect.y+Node167rect.height/2);
- Node167.setSize(Node167rect.width,Node167rect.height);
- Node167.setStyle("opacity",1);
- Node167.s({'pixelPerfect':true});
- Node167borderwidth=1;
- Node167.setRotation(0);
- dataModel.add(Node167);
- Node167.a('node.points',Node167compspts);
- Node167.a('node.segments',[1,2]);
- Node167.a('node.color','rgba(255,0,255,1)');
- Node167.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node167.a('node.borderColor','rgba(255,0,255,1)');
- Node167.a('node.background','rgba(255,0,255,1)');
- Node167.a('node.gradient','');
- Node167.a('node.gradientcolor','rgba(255,0,255,1)');
- Node167.a('node.endCompspts',Node167endCompspts);
- Node167.a('node.startCompspts',Node167startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node167';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node167, Node167.getImage(), Node167compspts, Node167endCompspts, Node167startCompspts);
- var Node168points=[541, 418,551, 418],
- Node168rect=ht.Default.unionPoint([{x:541,y:418},{x:551,y:418}]),
- Node168compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node168points.length;i++){
- if(i%2==0){
- Node168compspts.push(Node168points[i]-Node168rect.x);
- }else{
- Node168compspts.push(Node168points[i]-Node168rect.y);
- }
- }
- var Node168ptslength=Node168compspts.length;
- if (Node168rect.height === 0) {
- Node168compspts[0] -= 0;
- Node168compspts[Node168ptslength-2] += 0;
- } else if (Node168rect.width === 0){
- Node168compspts[1] -= 0;
- Node168compspts[Node168ptslength-1] += 0;
- } else {
- Node168compspts[0] -= 0;
- Node168compspts[1] -= 0;
- Node168compspts[Node168ptslength-2] += 0;
- Node168compspts[Node168ptslength-1] += 0;
- }
- Node168 = new ht.Node();
- Node168.borderWidth = 1;
- Node168rect.width = Node168rect.width === 0 ? 0.0001 : Node168rect.width;
- Node168rect.height = Node168rect.height === 0 ? 0.0001 : Node168rect.height;
- var Node168endCompspts = [Node168compspts[Node168ptslength-2],Node168compspts[Node168ptslength-1],0,0];
- var Node168startCompspts = [Node168compspts[0],Node168compspts[1],0,0];
- Node168.setImage(GD.getPolyLineJSON());
- Node168.setPosition(Node168rect.x+Node168rect.width/2,Node168rect.y+Node168rect.height/2);
- Node168.setSize(Node168rect.width,Node168rect.height);
- Node168.setStyle("opacity",1);
- Node168.s({'pixelPerfect':true});
- Node168borderwidth=1;
- Node168.setRotation(0);
- dataModel.add(Node168);
- Node168.a('node.points',Node168compspts);
- Node168.a('node.segments',[1,2]);
- Node168.a('node.color','rgba(255,0,255,1)');
- Node168.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node168.a('node.borderColor','rgba(255,0,255,1)');
- Node168.a('node.background','rgba(255,0,255,1)');
- Node168.a('node.gradient','');
- Node168.a('node.gradientcolor','rgba(255,0,255,1)');
- Node168.a('node.endCompspts',Node168endCompspts);
- Node168.a('node.startCompspts',Node168startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node168';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node168, Node168.getImage(), Node168compspts, Node168endCompspts, Node168startCompspts);
- var Node169points=[541, 454,551, 454],
- Node169rect=ht.Default.unionPoint([{x:541,y:454},{x:551,y:454}]),
- Node169compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node169points.length;i++){
- if(i%2==0){
- Node169compspts.push(Node169points[i]-Node169rect.x);
- }else{
- Node169compspts.push(Node169points[i]-Node169rect.y);
- }
- }
- var Node169ptslength=Node169compspts.length;
- if (Node169rect.height === 0) {
- Node169compspts[0] -= 0;
- Node169compspts[Node169ptslength-2] += 0;
- } else if (Node169rect.width === 0){
- Node169compspts[1] -= 0;
- Node169compspts[Node169ptslength-1] += 0;
- } else {
- Node169compspts[0] -= 0;
- Node169compspts[1] -= 0;
- Node169compspts[Node169ptslength-2] += 0;
- Node169compspts[Node169ptslength-1] += 0;
- }
- Node169 = new ht.Node();
- Node169.borderWidth = 1;
- Node169rect.width = Node169rect.width === 0 ? 0.0001 : Node169rect.width;
- Node169rect.height = Node169rect.height === 0 ? 0.0001 : Node169rect.height;
- var Node169endCompspts = [Node169compspts[Node169ptslength-2],Node169compspts[Node169ptslength-1],0,0];
- var Node169startCompspts = [Node169compspts[0],Node169compspts[1],0,0];
- Node169.setImage(GD.getPolyLineJSON());
- Node169.setPosition(Node169rect.x+Node169rect.width/2,Node169rect.y+Node169rect.height/2);
- Node169.setSize(Node169rect.width,Node169rect.height);
- Node169.setStyle("opacity",1);
- Node169.s({'pixelPerfect':true});
- Node169borderwidth=1;
- Node169.setRotation(0);
- dataModel.add(Node169);
- Node169.a('node.points',Node169compspts);
- Node169.a('node.segments',[1,2]);
- Node169.a('node.color','rgba(255,0,255,1)');
- Node169.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node169.a('node.borderColor','rgba(255,0,255,1)');
- Node169.a('node.background','rgba(255,0,255,1)');
- Node169.a('node.gradient','');
- Node169.a('node.gradientcolor','rgba(255,0,255,1)');
- Node169.a('node.endCompspts',Node169endCompspts);
- Node169.a('node.startCompspts',Node169startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node169';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node169, Node169.getImage(), Node169compspts, Node169endCompspts, Node169startCompspts);
- var Node170points=[560, 491,640, 491],
- Node170rect=ht.Default.unionPoint([{x:560,y:491},{x:640,y:491}]),
- Node170compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node170points.length;i++){
- if(i%2==0){
- Node170compspts.push(Node170points[i]-Node170rect.x);
- }else{
- Node170compspts.push(Node170points[i]-Node170rect.y);
- }
- }
- var Node170ptslength=Node170compspts.length;
- if (Node170rect.height === 0) {
- Node170compspts[0] -= 0;
- Node170compspts[Node170ptslength-2] += 0;
- } else if (Node170rect.width === 0){
- Node170compspts[1] -= 0;
- Node170compspts[Node170ptslength-1] += 0;
- } else {
- Node170compspts[0] -= 0;
- Node170compspts[1] -= 0;
- Node170compspts[Node170ptslength-2] += 0;
- Node170compspts[Node170ptslength-1] += 0;
- }
- Node170 = new ht.Node();
- Node170.borderWidth = 1;
- Node170rect.width = Node170rect.width === 0 ? 0.0001 : Node170rect.width;
- Node170rect.height = Node170rect.height === 0 ? 0.0001 : Node170rect.height;
- var Node170endCompspts = [Node170compspts[Node170ptslength-2],Node170compspts[Node170ptslength-1],0,0];
- var Node170startCompspts = [Node170compspts[0],Node170compspts[1],0,0];
- Node170.setImage(GD.getPolyLineJSON());
- Node170.setPosition(Node170rect.x+Node170rect.width/2,Node170rect.y+Node170rect.height/2);
- Node170.setSize(Node170rect.width,Node170rect.height);
- Node170.setStyle("opacity",1);
- Node170.s({'pixelPerfect':true});
- Node170borderwidth=1;
- Node170.setRotation(0);
- dataModel.add(Node170);
- Node170.a('node.points',Node170compspts);
- Node170.a('node.segments',[1,2]);
- Node170.a('node.color','rgba(255,0,255,1)');
- Node170.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node170.a('node.borderColor','rgba(255,0,255,1)');
- Node170.a('node.background','rgba(255,0,255,1)');
- Node170.a('node.gradient','');
- Node170.a('node.gradientcolor','rgba(255,0,255,1)');
- Node170.a('node.endCompspts',Node170endCompspts);
- Node170.a('node.startCompspts',Node170startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node170';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node170, Node170.getImage(), Node170compspts, Node170endCompspts, Node170startCompspts);
- var Node171points=[640, 501,640, 491],
- Node171rect=ht.Default.unionPoint([{x:640,y:501},{x:640,y:491}]),
- Node171compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node171points.length;i++){
- if(i%2==0){
- Node171compspts.push(Node171points[i]-Node171rect.x);
- }else{
- Node171compspts.push(Node171points[i]-Node171rect.y);
- }
- }
- var Node171ptslength=Node171compspts.length;
- if (Node171rect.height === 0) {
- Node171compspts[0] -= 0;
- Node171compspts[Node171ptslength-2] += 0;
- } else if (Node171rect.width === 0){
- Node171compspts[1] -= 0;
- Node171compspts[Node171ptslength-1] += 0;
- } else {
- Node171compspts[0] -= 0;
- Node171compspts[1] -= 0;
- Node171compspts[Node171ptslength-2] += 0;
- Node171compspts[Node171ptslength-1] += 0;
- }
- Node171 = new ht.Node();
- Node171.borderWidth = 1;
- Node171rect.width = Node171rect.width === 0 ? 0.0001 : Node171rect.width;
- Node171rect.height = Node171rect.height === 0 ? 0.0001 : Node171rect.height;
- var Node171endCompspts = [Node171compspts[Node171ptslength-2],Node171compspts[Node171ptslength-1],0,0];
- var Node171startCompspts = [Node171compspts[0],Node171compspts[1],0,0];
- Node171.setImage(GD.getPolyLineJSON());
- Node171.setPosition(Node171rect.x+Node171rect.width/2,Node171rect.y+Node171rect.height/2);
- Node171.setSize(Node171rect.width,Node171rect.height);
- Node171.setStyle("opacity",1);
- Node171.s({'pixelPerfect':true});
- Node171borderwidth=1;
- Node171.setRotation(0);
- dataModel.add(Node171);
- Node171.a('node.points',Node171compspts);
- Node171.a('node.segments',[1,2]);
- Node171.a('node.color','rgba(255,0,255,1)');
- Node171.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node171.a('node.borderColor','rgba(255,0,255,1)');
- Node171.a('node.background','rgba(255,0,255,1)');
- Node171.a('node.gradient','');
- Node171.a('node.gradientcolor','rgba(255,0,255,1)');
- Node171.a('node.endCompspts',Node171endCompspts);
- Node171.a('node.startCompspts',Node171startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node171';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node171, Node171.getImage(), Node171compspts, Node171endCompspts, Node171startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node172 = new ht.Node();
- var Node172textStart, Node172textWidth, Node172lineStart, Node172align = 'left', Node172fontSize = 13.3333*_ratio.ratioY,Node172width = 40*_ratio.ratioX, Node172height = 16*_ratio.ratioY;
- (function () {
- if (Node172align === 'left') {
- Node172textStart = Node172fontSize * 0.2 > 2 ? Node172fontSize * 0.2 - 4 : Node172fontSize * 0.2 - 9;
- Node172textWidth = Node172width;
- Node172lineStart = 1;
- } else if (Node172align === 'right') {
- Node172textStart = 0;
- Node172textWidth =Node172fontSize <= 8 ? Node172width + Node172fontSize * 0.2 + 6 : Node172width - Node172fontSize * 0.2;
- Node172lineStart = (Node172width - (ht.Default.getTextSize('2010', ' '+ Node172fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node172align === 'center') {
- Node172textStart = -3;
- Node172textWidth = Node172width;
- Node172lineStart = Node172width - ht.Default.getTextSize('2010', ' '+ Node172fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node172.setImage(GD.getTextJSON(Node172width, Node172height, true, false, false, ' '+ Node172fontSize + 'px "Arial"'))
- Node172.setPosition(672*ratio.ratioX, 515*ratio.ratioY);
- Node172.setWidth(Node172width);
- Node172.setHeight(Node172height);
- Node172._nodeType = 'text';
- Node172._disallowEvert = true;
- Node172.setRotation(0*Math.PI/180);
- Node172.a('node.width', Node172width);
- Node172.a('node.height', Node172height);
- Node172.a('node.rect', [0, 0, Node172width, Node172height]);
- Node172.a('node.bordercolor','rgba(0,0,0,1)');
- Node172.a('node.borderwidth', 0);
- Node172.a('node.background','' || 'rgba(0,0,0,0)');
- Node172.a('node.gradient','');
- Node172.a('node.gradientcolor','');
- Node172.a('node.text','2010');
- Node172.a('node.textalign','left');
- Node172.a('node.textvAlign','middle');
- Node172.a('node.textrect', [Node172textStart, 0, Node172textWidth, Node172height]);
- Node172.a('node.color','rgba(0,0,0,1)');
- Node172.a('node.font',' '+ Node172fontSize + 'px "Arial"');
- Node172.a('node.textvisible',true);
- Node172.a('node.linefeed',false);
- if (false) {
- Node172.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node172.a('node.text') || '2010';
- var color=Node172.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node172width,Node172height,13.3333*_ratio.ratioY,"left",color,' '+ Node172fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node172.a('node.underlinepoints',[Node172lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node172fontSize + 2 , ht.Default.getTextSize('2010', ' '+ Node172fontSize + 'px "Arial"').width + 6, (Node172height - Node172fontSize) * 0.5*_ratio.ratioY + Node172fontSize + 2 ]);
- Node172.a('node.underlinevisible',false);
- Node172.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node172);
- zoomNodeList.push({
- node: Node172,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node173 = new ht.lib['pt接地'](639*ratio.ratioX, 528*ratio.ratioY, 16*_ratio.ratioX, 13*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node173');
- _libModel.add("Node173", Node173);
- Node173.setRotation(180*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node174 = new ht.lib['1345'](601*ratio.ratioX, 511*ratio.ratioY, 15*_ratio.ratioX, 41*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node174');
- _libModel.add("Node174", Node174);
- Node174.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node175 = new ht.Node();
- var Node175textStart, Node175textWidth, Node175lineStart, Node175align = 'left', Node175fontSize = 13.3333*_ratio.ratioY,Node175width = 51*_ratio.ratioX, Node175height = 24*_ratio.ratioY;
- (function () {
- if (Node175align === 'left') {
- Node175textStart = Node175fontSize * 0.2 > 2 ? Node175fontSize * 0.2 - 4 : Node175fontSize * 0.2 - 9;
- Node175textWidth = Node175width;
- Node175lineStart = 1;
- } else if (Node175align === 'right') {
- Node175textStart = 0;
- Node175textWidth =Node175fontSize <= 8 ? Node175width + Node175fontSize * 0.2 + 6 : Node175width - Node175fontSize * 0.2;
- Node175lineStart = (Node175width - (ht.Default.getTextSize('201-A', ' '+ Node175fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node175align === 'center') {
- Node175textStart = -3;
- Node175textWidth = Node175width;
- Node175lineStart = Node175width - ht.Default.getTextSize('201-A', ' '+ Node175fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node175.setImage(GD.getTextJSON(Node175width, Node175height, true, false, false, ' '+ Node175fontSize + 'px "Arial"'))
- Node175.setPosition(585*ratio.ratioX, 371*ratio.ratioY);
- Node175.setWidth(Node175width);
- Node175.setHeight(Node175height);
- Node175._nodeType = 'text';
- Node175._disallowEvert = true;
- Node175.setRotation(0*Math.PI/180);
- Node175.a('node.width', Node175width);
- Node175.a('node.height', Node175height);
- Node175.a('node.rect', [0, 0, Node175width, Node175height]);
- Node175.a('node.bordercolor','rgba(0,0,0,1)');
- Node175.a('node.borderwidth', 0);
- Node175.a('node.background','' || 'rgba(0,0,0,0)');
- Node175.a('node.gradient','');
- Node175.a('node.gradientcolor','');
- Node175.a('node.text','201-A');
- Node175.a('node.textalign','left');
- Node175.a('node.textvAlign','middle');
- Node175.a('node.textrect', [Node175textStart, 0, Node175textWidth, Node175height]);
- Node175.a('node.color','rgba(0,0,0,1)');
- Node175.a('node.font',' '+ Node175fontSize + 'px "Arial"');
- Node175.a('node.textvisible',true);
- Node175.a('node.linefeed',false);
- if (false) {
- Node175.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node175.a('node.text') || '201-A';
- var color=Node175.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node175width,Node175height,13.3333*_ratio.ratioY,"left",color,' '+ Node175fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node175.a('node.underlinepoints',[Node175lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node175fontSize + 2 , ht.Default.getTextSize('201-A', ' '+ Node175fontSize + 'px "Arial"').width + 6, (Node175height - Node175fontSize) * 0.5*_ratio.ratioY + Node175fontSize + 2 ]);
- Node175.a('node.underlinevisible',false);
- Node175.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node175);
- zoomNodeList.push({
- node: Node175,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node176 = new ht.Node();
- var Node176textStart, Node176textWidth, Node176lineStart, Node176align = 'left', Node176fontSize = 13.3333*_ratio.ratioY,Node176width = 51*_ratio.ratioX, Node176height = 24*_ratio.ratioY;
- (function () {
- if (Node176align === 'left') {
- Node176textStart = Node176fontSize * 0.2 > 2 ? Node176fontSize * 0.2 - 4 : Node176fontSize * 0.2 - 9;
- Node176textWidth = Node176width;
- Node176lineStart = 1;
- } else if (Node176align === 'right') {
- Node176textStart = 0;
- Node176textWidth =Node176fontSize <= 8 ? Node176width + Node176fontSize * 0.2 + 6 : Node176width - Node176fontSize * 0.2;
- Node176lineStart = (Node176width - (ht.Default.getTextSize('202-A', ' '+ Node176fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node176align === 'center') {
- Node176textStart = -3;
- Node176textWidth = Node176width;
- Node176lineStart = Node176width - ht.Default.getTextSize('202-A', ' '+ Node176fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node176.setImage(GD.getTextJSON(Node176width, Node176height, true, false, false, ' '+ Node176fontSize + 'px "Arial"'))
- Node176.setPosition(1142*ratio.ratioX, 370*ratio.ratioY);
- Node176.setWidth(Node176width);
- Node176.setHeight(Node176height);
- Node176._nodeType = 'text';
- Node176._disallowEvert = true;
- Node176.setRotation(0*Math.PI/180);
- Node176.a('node.width', Node176width);
- Node176.a('node.height', Node176height);
- Node176.a('node.rect', [0, 0, Node176width, Node176height]);
- Node176.a('node.bordercolor','rgba(0,0,0,1)');
- Node176.a('node.borderwidth', 0);
- Node176.a('node.background','' || 'rgba(0,0,0,0)');
- Node176.a('node.gradient','');
- Node176.a('node.gradientcolor','');
- Node176.a('node.text','202-A');
- Node176.a('node.textalign','left');
- Node176.a('node.textvAlign','middle');
- Node176.a('node.textrect', [Node176textStart, 0, Node176textWidth, Node176height]);
- Node176.a('node.color','rgba(0,0,0,1)');
- Node176.a('node.font',' '+ Node176fontSize + 'px "Arial"');
- Node176.a('node.textvisible',true);
- Node176.a('node.linefeed',false);
- if (false) {
- Node176.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node176.a('node.text') || '202-A';
- var color=Node176.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node176width,Node176height,13.3333*_ratio.ratioY,"left",color,' '+ Node176fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node176.a('node.underlinepoints',[Node176lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node176fontSize + 2 , ht.Default.getTextSize('202-A', ' '+ Node176fontSize + 'px "Arial"').width + 6, (Node176height - Node176fontSize) * 0.5*_ratio.ratioY + Node176fontSize + 2 ]);
- Node176.a('node.underlinevisible',false);
- Node176.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node176);
- zoomNodeList.push({
- node: Node176,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node177 = new ht.Node();
- var Node177textStart, Node177textWidth, Node177lineStart, Node177align = 'left', Node177fontSize = 13.3333*_ratio.ratioY,Node177width = 51*_ratio.ratioX, Node177height = 24*_ratio.ratioY;
- (function () {
- if (Node177align === 'left') {
- Node177textStart = Node177fontSize * 0.2 > 2 ? Node177fontSize * 0.2 - 4 : Node177fontSize * 0.2 - 9;
- Node177textWidth = Node177width;
- Node177lineStart = 1;
- } else if (Node177align === 'right') {
- Node177textStart = 0;
- Node177textWidth =Node177fontSize <= 8 ? Node177width + Node177fontSize * 0.2 + 6 : Node177width - Node177fontSize * 0.2;
- Node177lineStart = (Node177width - (ht.Default.getTextSize('202-10', ' '+ Node177fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node177align === 'center') {
- Node177textStart = -3;
- Node177textWidth = Node177width;
- Node177lineStart = Node177width - ht.Default.getTextSize('202-10', ' '+ Node177fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node177.setImage(GD.getTextJSON(Node177width, Node177height, true, false, false, ' '+ Node177fontSize + 'px "Arial"'))
- Node177.setPosition(1180*ratio.ratioX, 419*ratio.ratioY);
- Node177.setWidth(Node177width);
- Node177.setHeight(Node177height);
- Node177._nodeType = 'text';
- Node177._disallowEvert = true;
- Node177.setRotation(0*Math.PI/180);
- Node177.a('node.width', Node177width);
- Node177.a('node.height', Node177height);
- Node177.a('node.rect', [0, 0, Node177width, Node177height]);
- Node177.a('node.bordercolor','rgba(0,0,0,1)');
- Node177.a('node.borderwidth', 0);
- Node177.a('node.background','' || 'rgba(0,0,0,0)');
- Node177.a('node.gradient','');
- Node177.a('node.gradientcolor','');
- Node177.a('node.text','202-10');
- Node177.a('node.textalign','left');
- Node177.a('node.textvAlign','middle');
- Node177.a('node.textrect', [Node177textStart, 0, Node177textWidth, Node177height]);
- Node177.a('node.color','rgba(0,0,0,1)');
- Node177.a('node.font',' '+ Node177fontSize + 'px "Arial"');
- Node177.a('node.textvisible',true);
- Node177.a('node.linefeed',false);
- if (false) {
- Node177.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node177.a('node.text') || '202-10';
- var color=Node177.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node177width,Node177height,13.3333*_ratio.ratioY,"left",color,' '+ Node177fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node177.a('node.underlinepoints',[Node177lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node177fontSize + 2 , ht.Default.getTextSize('202-10', ' '+ Node177fontSize + 'px "Arial"').width + 6, (Node177height - Node177fontSize) * 0.5*_ratio.ratioY + Node177fontSize + 2 ]);
- Node177.a('node.underlinevisible',false);
- Node177.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node177);
- zoomNodeList.push({
- node: Node177,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node178 = new ht.Node();
- var Node178textStart, Node178textWidth, Node178lineStart, Node178align = 'left', Node178fontSize = 13.3333*_ratio.ratioY,Node178width = 54*_ratio.ratioX, Node178height = 24*_ratio.ratioY;
- (function () {
- if (Node178align === 'left') {
- Node178textStart = Node178fontSize * 0.2 > 2 ? Node178fontSize * 0.2 - 4 : Node178fontSize * 0.2 - 9;
- Node178textWidth = Node178width;
- Node178lineStart = 1;
- } else if (Node178align === 'right') {
- Node178textStart = 0;
- Node178textWidth =Node178fontSize <= 8 ? Node178width + Node178fontSize * 0.2 + 6 : Node178width - Node178fontSize * 0.2;
- Node178lineStart = (Node178width - (ht.Default.getTextSize('202-变0', ' '+ Node178fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node178align === 'center') {
- Node178textStart = -3;
- Node178textWidth = Node178width;
- Node178lineStart = Node178width - ht.Default.getTextSize('202-变0', ' '+ Node178fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node178.setImage(GD.getTextJSON(Node178width, Node178height, true, false, false, ' '+ Node178fontSize + 'px "Arial"'))
- Node178.setPosition(1182*ratio.ratioX, 455*ratio.ratioY);
- Node178.setWidth(Node178width);
- Node178.setHeight(Node178height);
- Node178._nodeType = 'text';
- Node178._disallowEvert = true;
- Node178.setRotation(0*Math.PI/180);
- Node178.a('node.width', Node178width);
- Node178.a('node.height', Node178height);
- Node178.a('node.rect', [0, 0, Node178width, Node178height]);
- Node178.a('node.bordercolor','rgba(0,0,0,1)');
- Node178.a('node.borderwidth', 0);
- Node178.a('node.background','' || 'rgba(0,0,0,0)');
- Node178.a('node.gradient','');
- Node178.a('node.gradientcolor','');
- Node178.a('node.text','202-变0');
- Node178.a('node.textalign','left');
- Node178.a('node.textvAlign','middle');
- Node178.a('node.textrect', [Node178textStart, 0, Node178textWidth, Node178height]);
- Node178.a('node.color','rgba(0,0,0,1)');
- Node178.a('node.font',' '+ Node178fontSize + 'px "Arial"');
- Node178.a('node.textvisible',true);
- Node178.a('node.linefeed',false);
- if (false) {
- Node178.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node178.a('node.text') || '202-变0';
- var color=Node178.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node178width,Node178height,13.3333*_ratio.ratioY,"left",color,' '+ Node178fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node178.a('node.underlinepoints',[Node178lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node178fontSize + 2 , ht.Default.getTextSize('202-变0', ' '+ Node178fontSize + 'px "Arial"').width + 6, (Node178height - Node178fontSize) * 0.5*_ratio.ratioY + Node178fontSize + 2 ]);
- Node178.a('node.underlinevisible',false);
- Node178.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node178);
- zoomNodeList.push({
- node: Node178,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node179points=[1080, 551,1080, 581],
- Node179rect=ht.Default.unionPoint([{x:1080,y:551},{x:1080,y:581}]),
- Node179compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node179points.length;i++){
- if(i%2==0){
- Node179compspts.push(Node179points[i]-Node179rect.x);
- }else{
- Node179compspts.push(Node179points[i]-Node179rect.y);
- }
- }
- var Node179ptslength=Node179compspts.length;
- if (Node179rect.height === 0) {
- Node179compspts[0] -= 0;
- Node179compspts[Node179ptslength-2] += 0;
- } else if (Node179rect.width === 0){
- Node179compspts[1] -= 0;
- Node179compspts[Node179ptslength-1] += 0;
- } else {
- Node179compspts[0] -= 0;
- Node179compspts[1] -= 0;
- Node179compspts[Node179ptslength-2] += 0;
- Node179compspts[Node179ptslength-1] += 0;
- }
- Node179 = new ht.Node();
- Node179.borderWidth = 1;
- Node179rect.width = Node179rect.width === 0 ? 0.0001 : Node179rect.width;
- Node179rect.height = Node179rect.height === 0 ? 0.0001 : Node179rect.height;
- var Node179endCompspts = [Node179compspts[Node179ptslength-2],Node179compspts[Node179ptslength-1],0,0];
- var Node179startCompspts = [Node179compspts[0],Node179compspts[1],0,0];
- Node179.setImage(GD.getPolyLineJSON());
- Node179.setPosition(Node179rect.x+Node179rect.width/2,Node179rect.y+Node179rect.height/2);
- Node179.setSize(Node179rect.width,Node179rect.height);
- Node179.setStyle("opacity",1);
- Node179.s({'pixelPerfect':true});
- Node179borderwidth=1;
- Node179.setRotation(0);
- dataModel.add(Node179);
- Node179.a('node.points',Node179compspts);
- Node179.a('node.segments',[1,2]);
- Node179.a('node.color','rgba(255,128,0,1)');
- Node179.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node179.a('node.borderColor','rgba(255,128,0,1)');
- Node179.a('node.background','rgba(255,128,0,1)');
- Node179.a('node.gradient','');
- Node179.a('node.gradientcolor','rgba(255,128,0,1)');
- Node179.a('node.endCompspts',Node179endCompspts);
- Node179.a('node.startCompspts',Node179startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node179';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node179, Node179.getImage(), Node179compspts, Node179endCompspts, Node179startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node180 = new ht.Node();
- var Node180textStart, Node180textWidth, Node180lineStart, Node180align = 'left', Node180fontSize = 13.3333*_ratio.ratioY,Node180width = 31*_ratio.ratioX, Node180height = 24*_ratio.ratioY;
- (function () {
- if (Node180align === 'left') {
- Node180textStart = Node180fontSize * 0.2 > 2 ? Node180fontSize * 0.2 - 4 : Node180fontSize * 0.2 - 9;
- Node180textWidth = Node180width;
- Node180lineStart = 1;
- } else if (Node180align === 'right') {
- Node180textStart = 0;
- Node180textWidth =Node180fontSize <= 8 ? Node180width + Node180fontSize * 0.2 + 6 : Node180width - Node180fontSize * 0.2;
- Node180lineStart = (Node180width - (ht.Default.getTextSize('302', ' '+ Node180fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node180align === 'center') {
- Node180textStart = -3;
- Node180textWidth = Node180width;
- Node180lineStart = Node180width - ht.Default.getTextSize('302', ' '+ Node180fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node180.setImage(GD.getTextJSON(Node180width, Node180height, true, false, false, ' '+ Node180fontSize + 'px "Arial"'))
- Node180.setPosition(1056*ratio.ratioX, 546*ratio.ratioY);
- Node180.setWidth(Node180width);
- Node180.setHeight(Node180height);
- Node180._nodeType = 'text';
- Node180._disallowEvert = true;
- Node180.setRotation(0*Math.PI/180);
- Node180.a('node.width', Node180width);
- Node180.a('node.height', Node180height);
- Node180.a('node.rect', [0, 0, Node180width, Node180height]);
- Node180.a('node.bordercolor','rgba(0,0,0,1)');
- Node180.a('node.borderwidth', 0);
- Node180.a('node.background','' || 'rgba(0,0,0,0)');
- Node180.a('node.gradient','');
- Node180.a('node.gradientcolor','');
- Node180.a('node.text','302');
- Node180.a('node.textalign','left');
- Node180.a('node.textvAlign','middle');
- Node180.a('node.textrect', [Node180textStart, 0, Node180textWidth, Node180height]);
- Node180.a('node.color','rgba(0,0,0,1)');
- Node180.a('node.font',' '+ Node180fontSize + 'px "Arial"');
- Node180.a('node.textvisible',true);
- Node180.a('node.linefeed',false);
- if (false) {
- Node180.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node180.a('node.text') || '302';
- var color=Node180.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180width,Node180height,13.3333*_ratio.ratioY,"left",color,' '+ Node180fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node180.a('node.underlinepoints',[Node180lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node180fontSize + 2 , ht.Default.getTextSize('302', ' '+ Node180fontSize + 'px "Arial"').width + 6, (Node180height - Node180fontSize) * 0.5*_ratio.ratioY + Node180fontSize + 2 ]);
- Node180.a('node.underlinevisible',false);
- Node180.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node180);
- zoomNodeList.push({
- node: Node180,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(90*Math.PI/180, ratio);
- var Node181 = new ht.lib['矩形箭头上'](1108*ratio.ratioX, 558*ratio.ratioY, 20*_ratio.ratioX, 56*_ratio.ratioY, 90*Math.PI/180, {}, function (){return {}}, 'Node181');
- _libModel.add("Node181", Node181);
- Node181.setRotation(90*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node182_0 = new ht.Node();
- var Node182_0textStart, Node182_0textWidth, Node182_0lineStart, Node182_0align = 'left', Node182_0fontSize = 13.3333*_ratio.ratioY,Node182_0width = 73*_ratio.ratioX, Node182_0height = 25*_ratio.ratioY;
- (function () {
- if (Node182_0align === 'left') {
- Node182_0textStart = Node182_0fontSize * 0.2 > 2 ? Node182_0fontSize * 0.2 - 4 : Node182_0fontSize * 0.2 - 9;
- Node182_0textWidth = Node182_0width;
- Node182_0lineStart = 1;
- } else if (Node182_0align === 'right') {
- Node182_0textStart = 0;
- Node182_0textWidth =Node182_0fontSize <= 8 ? Node182_0width + Node182_0fontSize * 0.2 + 6 : Node182_0width - Node182_0fontSize * 0.2;
- Node182_0lineStart = (Node182_0width - (ht.Default.getTextSize('Ia(A):', ' '+ Node182_0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node182_0align === 'center') {
- Node182_0textStart = -3;
- Node182_0textWidth = Node182_0width;
- Node182_0lineStart = Node182_0width - ht.Default.getTextSize('Ia(A):', ' '+ Node182_0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node182_0.setImage(GD.getTextJSON(Node182_0width, Node182_0height, true, false, false, ' '+ Node182_0fontSize + 'px "Arial"'))
- Node182_0.setPosition(1265*ratio.ratioX, 518*ratio.ratioY);
- Node182_0.setWidth(Node182_0width);
- Node182_0.setHeight(Node182_0height);
- Node182_0._nodeType = 'text';
- Node182_0._disallowEvert = true;
- Node182_0.setRotation(0*Math.PI/180);
- Node182_0.a('node.width', Node182_0width);
- Node182_0.a('node.height', Node182_0height);
- Node182_0.a('node.rect', [0, 0, Node182_0width, Node182_0height]);
- Node182_0.a('node.bordercolor','rgba(255,0,255,1)');
- Node182_0.a('node.borderwidth', 0);
- Node182_0.a('node.background','' || 'rgba(0,0,0,0)');
- Node182_0.a('node.gradient','');
- Node182_0.a('node.gradientcolor','');
- Node182_0.a('node.text','Ia(A):');
- Node182_0.a('node.textalign','left');
- Node182_0.a('node.textvAlign','middle');
- Node182_0.a('node.textrect', [Node182_0textStart, 0, Node182_0textWidth, Node182_0height]);
- Node182_0.a('node.color','rgba(255,0,255,1)');
- Node182_0.a('node.font',' '+ Node182_0fontSize + 'px "Arial"');
- Node182_0.a('node.textvisible',true);
- Node182_0.a('node.linefeed',false);
- if (false) {
- Node182_0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node182_0.a('node.text') || 'Ia(A):';
- var color=Node182_0.a('node.color') || 'rgba(255,0,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node182_0width,Node182_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node182_0fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node182_0.a('node.underlinepoints',[Node182_0lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node182_0fontSize + 2 , ht.Default.getTextSize('Ia(A):', ' '+ Node182_0fontSize + 'px "Arial"').width + 6, (Node182_0height - Node182_0fontSize) * 0.5*_ratio.ratioY + Node182_0fontSize + 2 ]);
- Node182_0.a('node.underlinevisible',false);
- Node182_0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node182_0);
- zoomNodeList.push({
- node: Node182_0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node182_1 = new ht.Node();
- var Node182_1textStart, Node182_1textWidth, Node182_1lineStart, Node182_1align = 'left', Node182_1fontSize = 13.3333*_ratio.ratioY,Node182_1width = 93*_ratio.ratioX, Node182_1height = 25*_ratio.ratioY;
- (function () {
- if (Node182_1align === 'left') {
- Node182_1textStart = Node182_1fontSize * 0.2 > 2 ? Node182_1fontSize * 0.2 - 4 : Node182_1fontSize * 0.2 - 9;
- Node182_1textWidth = Node182_1width;
- Node182_1lineStart = 1;
- } else if (Node182_1align === 'right') {
- Node182_1textStart = 0;
- Node182_1textWidth =Node182_1fontSize <= 8 ? Node182_1width + Node182_1fontSize * 0.2 + 6 : Node182_1width - Node182_1fontSize * 0.2;
- Node182_1lineStart = (Node182_1width - (ht.Default.getTextSize('P(MW):', ' '+ Node182_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node182_1align === 'center') {
- Node182_1textStart = -3;
- Node182_1textWidth = Node182_1width;
- Node182_1lineStart = Node182_1width - ht.Default.getTextSize('P(MW):', ' '+ Node182_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node182_1.setImage(GD.getTextJSON(Node182_1width, Node182_1height, true, false, false, ' '+ Node182_1fontSize + 'px "Arial"'))
- Node182_1.setPosition(1262*ratio.ratioX, 542*ratio.ratioY);
- Node182_1.setWidth(Node182_1width);
- Node182_1.setHeight(Node182_1height);
- Node182_1._nodeType = 'text';
- Node182_1._disallowEvert = true;
- Node182_1.setRotation(0*Math.PI/180);
- Node182_1.a('node.width', Node182_1width);
- Node182_1.a('node.height', Node182_1height);
- Node182_1.a('node.rect', [0, 0, Node182_1width, Node182_1height]);
- Node182_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node182_1.a('node.borderwidth', 0);
- Node182_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node182_1.a('node.gradient','');
- Node182_1.a('node.gradientcolor','');
- Node182_1.a('node.text','P(MW):');
- Node182_1.a('node.textalign','left');
- Node182_1.a('node.textvAlign','middle');
- Node182_1.a('node.textrect', [Node182_1textStart, 0, Node182_1textWidth, Node182_1height]);
- Node182_1.a('node.color','rgba(0,0,0,1)');
- Node182_1.a('node.font',' '+ Node182_1fontSize + 'px "Arial"');
- Node182_1.a('node.textvisible',true);
- Node182_1.a('node.linefeed',false);
- if (false) {
- Node182_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node182_1.a('node.text') || 'P(MW):';
- var color=Node182_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node182_1width,Node182_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node182_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node182_1.a('node.underlinepoints',[Node182_1lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node182_1fontSize + 2 , ht.Default.getTextSize('P(MW):', ' '+ Node182_1fontSize + 'px "Arial"').width + 6, (Node182_1height - Node182_1fontSize) * 0.5*_ratio.ratioY + Node182_1fontSize + 2 ]);
- Node182_1.a('node.underlinevisible',false);
- Node182_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node182_1);
- zoomNodeList.push({
- node: Node182_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node182_2 = new ht.Node();
- var Node182_2textStart, Node182_2textWidth, Node182_2lineStart, Node182_2align = 'left', Node182_2fontSize = 13.3333*_ratio.ratioY,Node182_2width = 72*_ratio.ratioX, Node182_2height = 25*_ratio.ratioY;
- (function () {
- if (Node182_2align === 'left') {
- Node182_2textStart = Node182_2fontSize * 0.2 > 2 ? Node182_2fontSize * 0.2 - 4 : Node182_2fontSize * 0.2 - 9;
- Node182_2textWidth = Node182_2width;
- Node182_2lineStart = 1;
- } else if (Node182_2align === 'right') {
- Node182_2textStart = 0;
- Node182_2textWidth =Node182_2fontSize <= 8 ? Node182_2width + Node182_2fontSize * 0.2 + 6 : Node182_2width - Node182_2fontSize * 0.2;
- Node182_2lineStart = (Node182_2width - (ht.Default.getTextSize('Q(MVar):', ' '+ Node182_2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node182_2align === 'center') {
- Node182_2textStart = -3;
- Node182_2textWidth = Node182_2width;
- Node182_2lineStart = Node182_2width - ht.Default.getTextSize('Q(MVar):', ' '+ Node182_2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node182_2.setImage(GD.getTextJSON(Node182_2width, Node182_2height, true, false, false, ' '+ Node182_2fontSize + 'px "Arial"'))
- Node182_2.setPosition(1243*ratio.ratioX, 566*ratio.ratioY);
- Node182_2.setWidth(Node182_2width);
- Node182_2.setHeight(Node182_2height);
- Node182_2._nodeType = 'text';
- Node182_2._disallowEvert = true;
- Node182_2.setRotation(0*Math.PI/180);
- Node182_2.a('node.width', Node182_2width);
- Node182_2.a('node.height', Node182_2height);
- Node182_2.a('node.rect', [0, 0, Node182_2width, Node182_2height]);
- Node182_2.a('node.bordercolor','rgba(0,0,0,1)');
- Node182_2.a('node.borderwidth', 0);
- Node182_2.a('node.background','' || 'rgba(0,0,0,0)');
- Node182_2.a('node.gradient','');
- Node182_2.a('node.gradientcolor','');
- Node182_2.a('node.text','Q(MVar):');
- Node182_2.a('node.textalign','left');
- Node182_2.a('node.textvAlign','middle');
- Node182_2.a('node.textrect', [Node182_2textStart, 0, Node182_2textWidth, Node182_2height]);
- Node182_2.a('node.color','rgba(0,0,0,1)');
- Node182_2.a('node.font',' '+ Node182_2fontSize + 'px "Arial"');
- Node182_2.a('node.textvisible',true);
- Node182_2.a('node.linefeed',false);
- if (false) {
- Node182_2.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node182_2.a('node.text') || 'Q(MVar):';
- var color=Node182_2.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node182_2width,Node182_2height,13.3333*_ratio.ratioY,"left",color,' '+ Node182_2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node182_2.a('node.underlinepoints',[Node182_2lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node182_2fontSize + 2 , ht.Default.getTextSize('Q(MVar):', ' '+ Node182_2fontSize + 'px "Arial"').width + 6, (Node182_2height - Node182_2fontSize) * 0.5*_ratio.ratioY + Node182_2fontSize + 2 ]);
- Node182_2.a('node.underlinevisible',false);
- Node182_2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node182_2);
- zoomNodeList.push({
- node: Node182_2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node183points=[1540, 581,1540, 541],
- Node183rect=ht.Default.unionPoint([{x:1540,y:581},{x:1540,y:541}]),
- Node183compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node183points.length;i++){
- if(i%2==0){
- Node183compspts.push(Node183points[i]-Node183rect.x);
- }else{
- Node183compspts.push(Node183points[i]-Node183rect.y);
- }
- }
- var Node183ptslength=Node183compspts.length;
- if (Node183rect.height === 0) {
- Node183compspts[0] -= 0;
- Node183compspts[Node183ptslength-2] += 0;
- } else if (Node183rect.width === 0){
- Node183compspts[1] -= 0;
- Node183compspts[Node183ptslength-1] += 0;
- } else {
- Node183compspts[0] -= 0;
- Node183compspts[1] -= 0;
- Node183compspts[Node183ptslength-2] += 0;
- Node183compspts[Node183ptslength-1] += 0;
- }
- Node183 = new ht.Node();
- Node183.borderWidth = 1;
- Node183rect.width = Node183rect.width === 0 ? 0.0001 : Node183rect.width;
- Node183rect.height = Node183rect.height === 0 ? 0.0001 : Node183rect.height;
- var Node183endCompspts = [Node183compspts[Node183ptslength-2],Node183compspts[Node183ptslength-1],0,0];
- var Node183startCompspts = [Node183compspts[0],Node183compspts[1],0,0];
- Node183.setImage(GD.getPolyLineJSON());
- Node183.setPosition(Node183rect.x+Node183rect.width/2,Node183rect.y+Node183rect.height/2);
- Node183.setSize(Node183rect.width,Node183rect.height);
- Node183.setStyle("opacity",1);
- Node183.s({'pixelPerfect':true});
- Node183borderwidth=1;
- Node183.setRotation(0);
- dataModel.add(Node183);
- Node183.a('node.points',Node183compspts);
- Node183.a('node.segments',[1,2]);
- Node183.a('node.color','rgba(255,128,0,1)');
- Node183.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node183.a('node.borderColor','rgba(255,128,0,1)');
- Node183.a('node.background','rgba(255,128,0,1)');
- Node183.a('node.gradient','');
- Node183.a('node.gradientcolor','rgba(255,128,0,1)');
- Node183.a('node.endCompspts',Node183endCompspts);
- Node183.a('node.startCompspts',Node183startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node183';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node183, Node183.getImage(), Node183compspts, Node183endCompspts, Node183startCompspts);
- _ratio = GD.getRatioWithRotation(270*Math.PI/180, ratio);
- var Node184 = new ht.lib['矩形箭头上'](1510*ratio.ratioX, 557*ratio.ratioY, 20*_ratio.ratioX, 55*_ratio.ratioY, 270*Math.PI/180, {}, function (){return {}}, 'Node184');
- _libModel.add("Node184", Node184);
- Node184.setRotation(270*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node185 = new ht.lib['矩形箭头上'](1489*ratio.ratioX, 481*ratio.ratioY, 20*_ratio.ratioX, 55*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node185');
- _libModel.add("Node185", Node185);
- Node185.setRotation(0*Math.PI/180);
- ;
- ;
- var Node186points=[1490, 511,1540, 511],
- Node186rect=ht.Default.unionPoint([{x:1490,y:511},{x:1540,y:511}]),
- Node186compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node186points.length;i++){
- if(i%2==0){
- Node186compspts.push(Node186points[i]-Node186rect.x);
- }else{
- Node186compspts.push(Node186points[i]-Node186rect.y);
- }
- }
- var Node186ptslength=Node186compspts.length;
- if (Node186rect.height === 0) {
- Node186compspts[0] -= 0;
- Node186compspts[Node186ptslength-2] += 0;
- } else if (Node186rect.width === 0){
- Node186compspts[1] -= 0;
- Node186compspts[Node186ptslength-1] += 0;
- } else {
- Node186compspts[0] -= 0;
- Node186compspts[1] -= 0;
- Node186compspts[Node186ptslength-2] += 0;
- Node186compspts[Node186ptslength-1] += 0;
- }
- Node186 = new ht.Node();
- Node186.borderWidth = 1;
- Node186rect.width = Node186rect.width === 0 ? 0.0001 : Node186rect.width;
- Node186rect.height = Node186rect.height === 0 ? 0.0001 : Node186rect.height;
- var Node186endCompspts = [Node186compspts[Node186ptslength-2],Node186compspts[Node186ptslength-1],0,0];
- var Node186startCompspts = [Node186compspts[0],Node186compspts[1],0,0];
- Node186.setImage(GD.getPolyLineJSON());
- Node186.setPosition(Node186rect.x+Node186rect.width/2,Node186rect.y+Node186rect.height/2);
- Node186.setSize(Node186rect.width,Node186rect.height);
- Node186.setStyle("opacity",1);
- Node186.s({'pixelPerfect':true});
- Node186borderwidth=1;
- Node186.setRotation(0);
- dataModel.add(Node186);
- Node186.a('node.points',Node186compspts);
- Node186.a('node.segments',[1,2]);
- Node186.a('node.color','rgba(255,128,0,1)');
- Node186.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node186.a('node.borderColor','rgba(255,128,0,1)');
- Node186.a('node.background','rgba(255,128,0,1)');
- Node186.a('node.gradient','');
- Node186.a('node.gradientcolor','rgba(255,128,0,1)');
- Node186.a('node.endCompspts',Node186endCompspts);
- Node186.a('node.startCompspts',Node186startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node186';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node186, Node186.getImage(), Node186compspts, Node186endCompspts, Node186startCompspts);
- var Node187points=[1550, 491,1590, 491],
- Node187rect=ht.Default.unionPoint([{x:1550,y:491},{x:1590,y:491}]),
- Node187compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node187points.length;i++){
- if(i%2==0){
- Node187compspts.push(Node187points[i]-Node187rect.x);
- }else{
- Node187compspts.push(Node187points[i]-Node187rect.y);
- }
- }
- var Node187ptslength=Node187compspts.length;
- if (Node187rect.height === 0) {
- Node187compspts[0] -= 0;
- Node187compspts[Node187ptslength-2] += 0;
- } else if (Node187rect.width === 0){
- Node187compspts[1] -= 0;
- Node187compspts[Node187ptslength-1] += 0;
- } else {
- Node187compspts[0] -= 0;
- Node187compspts[1] -= 0;
- Node187compspts[Node187ptslength-2] += 0;
- Node187compspts[Node187ptslength-1] += 0;
- }
- Node187 = new ht.Node();
- Node187.borderWidth = 1;
- Node187rect.width = Node187rect.width === 0 ? 0.0001 : Node187rect.width;
- Node187rect.height = Node187rect.height === 0 ? 0.0001 : Node187rect.height;
- var Node187endCompspts = [Node187compspts[Node187ptslength-2],Node187compspts[Node187ptslength-1],0,0];
- var Node187startCompspts = [Node187compspts[0],Node187compspts[1],0,0];
- Node187.setImage(GD.getPolyLineJSON());
- Node187.setPosition(Node187rect.x+Node187rect.width/2,Node187rect.y+Node187rect.height/2);
- Node187.setSize(Node187rect.width,Node187rect.height);
- Node187.setStyle("opacity",1);
- Node187.s({'pixelPerfect':true});
- Node187borderwidth=1;
- Node187.setRotation(0);
- dataModel.add(Node187);
- Node187.a('node.points',Node187compspts);
- Node187.a('node.segments',[1,2]);
- Node187.a('node.color','rgba(255,128,0,1)');
- Node187.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node187.a('node.borderColor','rgba(255,128,0,1)');
- Node187.a('node.background','rgba(255,128,0,1)');
- Node187.a('node.gradient','');
- Node187.a('node.gradientcolor','rgba(255,128,0,1)');
- Node187.a('node.endCompspts',Node187endCompspts);
- Node187.a('node.startCompspts',Node187startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node187';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node187, Node187.getImage(), Node187compspts, Node187endCompspts, Node187startCompspts);
- var Node188points=[1590, 491,1590, 441],
- Node188rect=ht.Default.unionPoint([{x:1590,y:491},{x:1590,y:441}]),
- Node188compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node188points.length;i++){
- if(i%2==0){
- Node188compspts.push(Node188points[i]-Node188rect.x);
- }else{
- Node188compspts.push(Node188points[i]-Node188rect.y);
- }
- }
- var Node188ptslength=Node188compspts.length;
- if (Node188rect.height === 0) {
- Node188compspts[0] -= 0;
- Node188compspts[Node188ptslength-2] += 0;
- } else if (Node188rect.width === 0){
- Node188compspts[1] -= 0;
- Node188compspts[Node188ptslength-1] += 0;
- } else {
- Node188compspts[0] -= 0;
- Node188compspts[1] -= 0;
- Node188compspts[Node188ptslength-2] += 0;
- Node188compspts[Node188ptslength-1] += 0;
- }
- Node188 = new ht.Node();
- Node188.borderWidth = 1;
- Node188rect.width = Node188rect.width === 0 ? 0.0001 : Node188rect.width;
- Node188rect.height = Node188rect.height === 0 ? 0.0001 : Node188rect.height;
- var Node188endCompspts = [Node188compspts[Node188ptslength-2],Node188compspts[Node188ptslength-1],0,0];
- var Node188startCompspts = [Node188compspts[0],Node188compspts[1],0,0];
- Node188.setImage(GD.getPolyLineJSON());
- Node188.setPosition(Node188rect.x+Node188rect.width/2,Node188rect.y+Node188rect.height/2);
- Node188.setSize(Node188rect.width,Node188rect.height);
- Node188.setStyle("opacity",1);
- Node188.s({'pixelPerfect':true});
- Node188borderwidth=1;
- Node188.setRotation(0);
- dataModel.add(Node188);
- Node188.a('node.points',Node188compspts);
- Node188.a('node.segments',[1,2]);
- Node188.a('node.color','rgba(255,128,0,1)');
- Node188.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node188.a('node.borderColor','rgba(255,128,0,1)');
- Node188.a('node.background','rgba(255,128,0,1)');
- Node188.a('node.gradient','');
- Node188.a('node.gradientcolor','rgba(255,128,0,1)');
- Node188.a('node.endCompspts',Node188endCompspts);
- Node188.a('node.startCompspts',Node188startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node188';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node188, Node188.getImage(), Node188compspts, Node188endCompspts, Node188startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node189 = new ht.lib['黄色向上接地'](1590*ratio.ratioX, 437*ratio.ratioY, 16*_ratio.ratioX, 14*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node189');
- _libModel.add("Node189", Node189);
- Node189.setRotation(0*Math.PI/180);
- ;
- ;
- var Node190points=[1540, 526,1540, 506],
- Node190rect=ht.Default.unionPoint([{x:1540,y:526},{x:1540,y:506}]),
- Node190compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node190points.length;i++){
- if(i%2==0){
- Node190compspts.push(Node190points[i]-Node190rect.x);
- }else{
- Node190compspts.push(Node190points[i]-Node190rect.y);
- }
- }
- var Node190ptslength=Node190compspts.length;
- if (Node190rect.height === 0) {
- Node190compspts[0] -= 0;
- Node190compspts[Node190ptslength-2] += 0;
- } else if (Node190rect.width === 0){
- Node190compspts[1] -= 0;
- Node190compspts[Node190ptslength-1] += 0;
- } else {
- Node190compspts[0] -= 0;
- Node190compspts[1] -= 0;
- Node190compspts[Node190ptslength-2] += 0;
- Node190compspts[Node190ptslength-1] += 0;
- }
- Node190 = new ht.Node();
- Node190.borderWidth = 1;
- Node190rect.width = Node190rect.width === 0 ? 0.0001 : Node190rect.width;
- Node190rect.height = Node190rect.height === 0 ? 0.0001 : Node190rect.height;
- var Node190endCompspts = [Node190compspts[Node190ptslength-2],Node190compspts[Node190ptslength-1],0,0];
- var Node190startCompspts = [Node190compspts[0],Node190compspts[1],0,0];
- Node190.setImage(GD.getPolyLineJSON());
- Node190.setPosition(Node190rect.x+Node190rect.width/2,Node190rect.y+Node190rect.height/2);
- Node190.setSize(Node190rect.width,Node190rect.height);
- Node190.setStyle("opacity",1);
- Node190.s({'pixelPerfect':true});
- Node190borderwidth=1;
- Node190.setRotation(0);
- dataModel.add(Node190);
- Node190.a('node.points',Node190compspts);
- Node190.a('node.segments',[1,2]);
- Node190.a('node.color','rgba(255,128,0,1)');
- Node190.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node190.a('node.borderColor','rgba(255,128,0,1)');
- Node190.a('node.background','rgba(255,128,0,1)');
- Node190.a('node.gradient','');
- Node190.a('node.gradientcolor','rgba(255,128,0,1)');
- Node190.a('node.endCompspts',Node190endCompspts);
- Node190.a('node.startCompspts',Node190startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node190';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node190, Node190.getImage(), Node190compspts, Node190endCompspts, Node190startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node191 = new ht.lib['56'](1534*ratio.ratioX, 491*ratio.ratioY, 36*_ratio.ratioX, 30*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node191');
- _libModel.add("Node191", Node191);
- Node191.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node192 = new ht.Node();
- var Node192textStart, Node192textWidth, Node192lineStart, Node192align = 'left', Node192fontSize = 13.3333*_ratio.ratioY,Node192width = 82*_ratio.ratioX, Node192height = 50*_ratio.ratioY;
- (function () {
- if (Node192align === 'left') {
- Node192textStart = Node192fontSize * 0.2 > 2 ? Node192fontSize * 0.2 - 4 : Node192fontSize * 0.2 - 9;
- Node192textWidth = Node192width;
- Node192lineStart = 1;
- } else if (Node192align === 'right') {
- Node192textStart = 0;
- Node192textWidth =Node192fontSize <= 8 ? Node192width + Node192fontSize * 0.2 + 6 : Node192width - Node192fontSize * 0.2;
- Node192lineStart = (Node192width - (ht.Default.getTextSize('II段PT', 'bold '+ Node192fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node192align === 'center') {
- Node192textStart = -3;
- Node192textWidth = Node192width;
- Node192lineStart = Node192width - ht.Default.getTextSize('II段PT', 'bold '+ Node192fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node192.setImage(GD.getTextJSON(Node192width, Node192height, true, false, false, 'bold '+ Node192fontSize + 'px "Arial"'))
- Node192.setPosition(1551*ratio.ratioX, 432*ratio.ratioY);
- Node192.setWidth(Node192width);
- Node192.setHeight(Node192height);
- Node192._nodeType = 'text';
- Node192._disallowEvert = true;
- Node192.setRotation(0*Math.PI/180);
- Node192.a('node.width', Node192width);
- Node192.a('node.height', Node192height);
- Node192.a('node.rect', [0, 0, Node192width, Node192height]);
- Node192.a('node.bordercolor','rgba(0,0,0,1)');
- Node192.a('node.borderwidth', 0);
- Node192.a('node.background','' || 'rgba(0,0,0,0)');
- Node192.a('node.gradient','');
- Node192.a('node.gradientcolor','');
- Node192.a('node.text','II段PT');
- Node192.a('node.textalign','left');
- Node192.a('node.textvAlign','middle');
- Node192.a('node.textrect', [Node192textStart, 0, Node192textWidth, Node192height]);
- Node192.a('node.color','rgba(0,0,0,1)');
- Node192.a('node.font','bold '+ Node192fontSize + 'px "Arial"');
- Node192.a('node.textvisible',true);
- Node192.a('node.linefeed',false);
- if (false) {
- Node192.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node192.a('node.text') || 'II段PT';
- var color=Node192.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node192width,Node192height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node192fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node192.a('node.underlinepoints',[Node192lineStart, (50 - 13.3333) * 0.5 * _ratio.ratioY + Node192fontSize + 2 , ht.Default.getTextSize('II段PT', 'bold '+ Node192fontSize + 'px "Arial"').width + 6, (Node192height - Node192fontSize) * 0.5*_ratio.ratioY + Node192fontSize + 2 ]);
- Node192.a('node.underlinevisible',false);
- Node192.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node192);
- zoomNodeList.push({
- node: Node192,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node193 = new ht.Node();
- var Node193textStart, Node193textWidth, Node193lineStart, Node193align = 'left', Node193fontSize = 13.3333*_ratio.ratioY,Node193width = 51*_ratio.ratioX, Node193height = 24*_ratio.ratioY;
- (function () {
- if (Node193align === 'left') {
- Node193textStart = Node193fontSize * 0.2 > 2 ? Node193fontSize * 0.2 - 4 : Node193fontSize * 0.2 - 9;
- Node193textWidth = Node193width;
- Node193lineStart = 1;
- } else if (Node193align === 'right') {
- Node193textStart = 0;
- Node193textWidth =Node193fontSize <= 8 ? Node193width + Node193fontSize * 0.2 + 6 : Node193width - Node193fontSize * 0.2;
- Node193lineStart = (Node193width - (ht.Default.getTextSize('309', ' '+ Node193fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node193align === 'center') {
- Node193textStart = -3;
- Node193textWidth = Node193width;
- Node193lineStart = Node193width - ht.Default.getTextSize('309', ' '+ Node193fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node193.setImage(GD.getTextJSON(Node193width, Node193height, true, false, false, ' '+ Node193fontSize + 'px "Arial"'))
- Node193.setPosition(1525*ratio.ratioX, 533*ratio.ratioY);
- Node193.setWidth(Node193width);
- Node193.setHeight(Node193height);
- Node193._nodeType = 'text';
- Node193._disallowEvert = true;
- Node193.setRotation(0*Math.PI/180);
- Node193.a('node.width', Node193width);
- Node193.a('node.height', Node193height);
- Node193.a('node.rect', [0, 0, Node193width, Node193height]);
- Node193.a('node.bordercolor','rgba(0,0,0,1)');
- Node193.a('node.borderwidth', 0);
- Node193.a('node.background','' || 'rgba(0,0,0,0)');
- Node193.a('node.gradient','');
- Node193.a('node.gradientcolor','');
- Node193.a('node.text','309');
- Node193.a('node.textalign','left');
- Node193.a('node.textvAlign','middle');
- Node193.a('node.textrect', [Node193textStart, 0, Node193textWidth, Node193height]);
- Node193.a('node.color','rgba(0,0,0,1)');
- Node193.a('node.font',' '+ Node193fontSize + 'px "Arial"');
- Node193.a('node.textvisible',true);
- Node193.a('node.linefeed',false);
- if (false) {
- Node193.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node193.a('node.text') || '309';
- var color=Node193.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node193width,Node193height,13.3333*_ratio.ratioY,"left",color,' '+ Node193fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node193.a('node.underlinepoints',[Node193lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node193fontSize + 2 , ht.Default.getTextSize('309', ' '+ Node193fontSize + 'px "Arial"').width + 6, (Node193height - Node193fontSize) * 0.5*_ratio.ratioY + Node193fontSize + 2 ]);
- Node193.a('node.underlinevisible',false);
- Node193.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node193);
- zoomNodeList.push({
- node: Node193,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node194 = new ht.Node();
- var Node194textStart, Node194textWidth, Node194lineStart, Node194align = 'left', Node194fontSize = 13.3333*_ratio.ratioY,Node194width = 51*_ratio.ratioX, Node194height = 24*_ratio.ratioY;
- (function () {
- if (Node194align === 'left') {
- Node194textStart = Node194fontSize * 0.2 > 2 ? Node194fontSize * 0.2 - 4 : Node194fontSize * 0.2 - 9;
- Node194textWidth = Node194width;
- Node194lineStart = 1;
- } else if (Node194align === 'right') {
- Node194textStart = 0;
- Node194textWidth =Node194fontSize <= 8 ? Node194width + Node194fontSize * 0.2 + 6 : Node194width - Node194fontSize * 0.2;
- Node194lineStart = (Node194width - (ht.Default.getTextSize('319', ' '+ Node194fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node194align === 'center') {
- Node194textStart = -3;
- Node194textWidth = Node194width;
- Node194lineStart = Node194width - ht.Default.getTextSize('319', ' '+ Node194fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node194.setImage(GD.getTextJSON(Node194width, Node194height, true, false, false, ' '+ Node194fontSize + 'px "Arial"'))
- Node194.setPosition(193*ratio.ratioX, 531*ratio.ratioY);
- Node194.setWidth(Node194width);
- Node194.setHeight(Node194height);
- Node194._nodeType = 'text';
- Node194._disallowEvert = true;
- Node194.setRotation(0*Math.PI/180);
- Node194.a('node.width', Node194width);
- Node194.a('node.height', Node194height);
- Node194.a('node.rect', [0, 0, Node194width, Node194height]);
- Node194.a('node.bordercolor','rgba(0,0,0,1)');
- Node194.a('node.borderwidth', 0);
- Node194.a('node.background','' || 'rgba(0,0,0,0)');
- Node194.a('node.gradient','');
- Node194.a('node.gradientcolor','');
- Node194.a('node.text','319');
- Node194.a('node.textalign','left');
- Node194.a('node.textvAlign','middle');
- Node194.a('node.textrect', [Node194textStart, 0, Node194textWidth, Node194height]);
- Node194.a('node.color','rgba(0,0,0,1)');
- Node194.a('node.font',' '+ Node194fontSize + 'px "Arial"');
- Node194.a('node.textvisible',true);
- Node194.a('node.linefeed',false);
- if (false) {
- Node194.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node194.a('node.text') || '319';
- var color=Node194.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node194width,Node194height,13.3333*_ratio.ratioY,"left",color,' '+ Node194fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node194.a('node.underlinepoints',[Node194lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node194fontSize + 2 , ht.Default.getTextSize('319', ' '+ Node194fontSize + 'px "Arial"').width + 6, (Node194height - Node194fontSize) * 0.5*_ratio.ratioY + Node194fontSize + 2 ]);
- Node194.a('node.underlinevisible',false);
- Node194.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node194);
- zoomNodeList.push({
- node: Node194,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node195_0 = new ht.Node();
- var Node195_0textStart, Node195_0textWidth, Node195_0lineStart, Node195_0align = 'left', Node195_0fontSize = 13.3333*_ratio.ratioY,Node195_0width = 63*_ratio.ratioX, Node195_0height = 26*_ratio.ratioY;
- (function () {
- if (Node195_0align === 'left') {
- Node195_0textStart = Node195_0fontSize * 0.2 > 2 ? Node195_0fontSize * 0.2 - 4 : Node195_0fontSize * 0.2 - 9;
- Node195_0textWidth = Node195_0width;
- Node195_0lineStart = 1;
- } else if (Node195_0align === 'right') {
- Node195_0textStart = 0;
- Node195_0textWidth =Node195_0fontSize <= 8 ? Node195_0width + Node195_0fontSize * 0.2 + 6 : Node195_0width - Node195_0fontSize * 0.2;
- Node195_0lineStart = (Node195_0width - (ht.Default.getTextSize('3U0(V):', ' '+ Node195_0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node195_0align === 'center') {
- Node195_0textStart = -3;
- Node195_0textWidth = Node195_0width;
- Node195_0lineStart = Node195_0width - ht.Default.getTextSize('3U0(V):', ' '+ Node195_0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node195_0.setImage(GD.getTextJSON(Node195_0width, Node195_0height, true, false, false, ' '+ Node195_0fontSize + 'px "Arial"'))
- Node195_0.setPosition(326*ratio.ratioX, 491*ratio.ratioY);
- Node195_0.setWidth(Node195_0width);
- Node195_0.setHeight(Node195_0height);
- Node195_0._nodeType = 'text';
- Node195_0._disallowEvert = true;
- Node195_0.setRotation(0*Math.PI/180);
- Node195_0.a('node.width', Node195_0width);
- Node195_0.a('node.height', Node195_0height);
- Node195_0.a('node.rect', [0, 0, Node195_0width, Node195_0height]);
- Node195_0.a('node.bordercolor','rgba(0,0,0,1)');
- Node195_0.a('node.borderwidth', 0);
- Node195_0.a('node.background','' || 'rgba(0,0,0,0)');
- Node195_0.a('node.gradient','');
- Node195_0.a('node.gradientcolor','');
- Node195_0.a('node.text','3U0(V):');
- Node195_0.a('node.textalign','left');
- Node195_0.a('node.textvAlign','middle');
- Node195_0.a('node.textrect', [Node195_0textStart, 0, Node195_0textWidth, Node195_0height]);
- Node195_0.a('node.color','rgba(0,0,0,1)');
- Node195_0.a('node.font',' '+ Node195_0fontSize + 'px "Arial"');
- Node195_0.a('node.textvisible',true);
- Node195_0.a('node.linefeed',false);
- if (false) {
- Node195_0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node195_0.a('node.text') || '3U0(V):';
- var color=Node195_0.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node195_0width,Node195_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node195_0fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node195_0.a('node.underlinepoints',[Node195_0lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node195_0fontSize + 2 , ht.Default.getTextSize('3U0(V):', ' '+ Node195_0fontSize + 'px "Arial"').width + 6, (Node195_0height - Node195_0fontSize) * 0.5*_ratio.ratioY + Node195_0fontSize + 2 ]);
- Node195_0.a('node.underlinevisible',false);
- Node195_0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node195_0);
- zoomNodeList.push({
- node: Node195_0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node195_1 = new ht.Node();
- var Node195_1textStart, Node195_1textWidth, Node195_1lineStart, Node195_1align = 'left', Node195_1fontSize = 13.3333*_ratio.ratioY,Node195_1width = 62*_ratio.ratioX, Node195_1height = 26*_ratio.ratioY;
- (function () {
- if (Node195_1align === 'left') {
- Node195_1textStart = Node195_1fontSize * 0.2 > 2 ? Node195_1fontSize * 0.2 - 4 : Node195_1fontSize * 0.2 - 9;
- Node195_1textWidth = Node195_1width;
- Node195_1lineStart = 1;
- } else if (Node195_1align === 'right') {
- Node195_1textStart = 0;
- Node195_1textWidth =Node195_1fontSize <= 8 ? Node195_1width + Node195_1fontSize * 0.2 + 6 : Node195_1width - Node195_1fontSize * 0.2;
- Node195_1lineStart = (Node195_1width - (ht.Default.getTextSize('Ua(kV):', ' '+ Node195_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node195_1align === 'center') {
- Node195_1textStart = -3;
- Node195_1textWidth = Node195_1width;
- Node195_1lineStart = Node195_1width - ht.Default.getTextSize('Ua(kV):', ' '+ Node195_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node195_1.setImage(GD.getTextJSON(Node195_1width, Node195_1height, true, false, false, ' '+ Node195_1fontSize + 'px "Arial"'))
- Node195_1.setPosition(327*ratio.ratioX, 511*ratio.ratioY);
- Node195_1.setWidth(Node195_1width);
- Node195_1.setHeight(Node195_1height);
- Node195_1._nodeType = 'text';
- Node195_1._disallowEvert = true;
- Node195_1.setRotation(0*Math.PI/180);
- Node195_1.a('node.width', Node195_1width);
- Node195_1.a('node.height', Node195_1height);
- Node195_1.a('node.rect', [0, 0, Node195_1width, Node195_1height]);
- Node195_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node195_1.a('node.borderwidth', 0);
- Node195_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node195_1.a('node.gradient','');
- Node195_1.a('node.gradientcolor','');
- Node195_1.a('node.text','Ua(kV):');
- Node195_1.a('node.textalign','left');
- Node195_1.a('node.textvAlign','middle');
- Node195_1.a('node.textrect', [Node195_1textStart, 0, Node195_1textWidth, Node195_1height]);
- Node195_1.a('node.color','rgba(0,0,0,1)');
- Node195_1.a('node.font',' '+ Node195_1fontSize + 'px "Arial"');
- Node195_1.a('node.textvisible',true);
- Node195_1.a('node.linefeed',false);
- if (false) {
- Node195_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node195_1.a('node.text') || 'Ua(kV):';
- var color=Node195_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node195_1width,Node195_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node195_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node195_1.a('node.underlinepoints',[Node195_1lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node195_1fontSize + 2 , ht.Default.getTextSize('Ua(kV):', ' '+ Node195_1fontSize + 'px "Arial"').width + 6, (Node195_1height - Node195_1fontSize) * 0.5*_ratio.ratioY + Node195_1fontSize + 2 ]);
- Node195_1.a('node.underlinevisible',false);
- Node195_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node195_1);
- zoomNodeList.push({
- node: Node195_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node195_2 = new ht.Node();
- var Node195_2textStart, Node195_2textWidth, Node195_2lineStart, Node195_2align = 'left', Node195_2fontSize = 13.3333*_ratio.ratioY,Node195_2width = 62*_ratio.ratioX, Node195_2height = 26*_ratio.ratioY;
- (function () {
- if (Node195_2align === 'left') {
- Node195_2textStart = Node195_2fontSize * 0.2 > 2 ? Node195_2fontSize * 0.2 - 4 : Node195_2fontSize * 0.2 - 9;
- Node195_2textWidth = Node195_2width;
- Node195_2lineStart = 1;
- } else if (Node195_2align === 'right') {
- Node195_2textStart = 0;
- Node195_2textWidth =Node195_2fontSize <= 8 ? Node195_2width + Node195_2fontSize * 0.2 + 6 : Node195_2width - Node195_2fontSize * 0.2;
- Node195_2lineStart = (Node195_2width - (ht.Default.getTextSize('Ub(kV):', ' '+ Node195_2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node195_2align === 'center') {
- Node195_2textStart = -3;
- Node195_2textWidth = Node195_2width;
- Node195_2lineStart = Node195_2width - ht.Default.getTextSize('Ub(kV):', ' '+ Node195_2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node195_2.setImage(GD.getTextJSON(Node195_2width, Node195_2height, true, false, false, ' '+ Node195_2fontSize + 'px "Arial"'))
- Node195_2.setPosition(327*ratio.ratioX, 530*ratio.ratioY);
- Node195_2.setWidth(Node195_2width);
- Node195_2.setHeight(Node195_2height);
- Node195_2._nodeType = 'text';
- Node195_2._disallowEvert = true;
- Node195_2.setRotation(0*Math.PI/180);
- Node195_2.a('node.width', Node195_2width);
- Node195_2.a('node.height', Node195_2height);
- Node195_2.a('node.rect', [0, 0, Node195_2width, Node195_2height]);
- Node195_2.a('node.bordercolor','rgba(0,0,0,1)');
- Node195_2.a('node.borderwidth', 0);
- Node195_2.a('node.background','' || 'rgba(0,0,0,0)');
- Node195_2.a('node.gradient','');
- Node195_2.a('node.gradientcolor','');
- Node195_2.a('node.text','Ub(kV):');
- Node195_2.a('node.textalign','left');
- Node195_2.a('node.textvAlign','middle');
- Node195_2.a('node.textrect', [Node195_2textStart, 0, Node195_2textWidth, Node195_2height]);
- Node195_2.a('node.color','rgba(0,0,0,1)');
- Node195_2.a('node.font',' '+ Node195_2fontSize + 'px "Arial"');
- Node195_2.a('node.textvisible',true);
- Node195_2.a('node.linefeed',false);
- if (false) {
- Node195_2.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node195_2.a('node.text') || 'Ub(kV):';
- var color=Node195_2.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node195_2width,Node195_2height,13.3333*_ratio.ratioY,"left",color,' '+ Node195_2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node195_2.a('node.underlinepoints',[Node195_2lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node195_2fontSize + 2 , ht.Default.getTextSize('Ub(kV):', ' '+ Node195_2fontSize + 'px "Arial"').width + 6, (Node195_2height - Node195_2fontSize) * 0.5*_ratio.ratioY + Node195_2fontSize + 2 ]);
- Node195_2.a('node.underlinevisible',false);
- Node195_2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node195_2);
- zoomNodeList.push({
- node: Node195_2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node195_3 = new ht.Node();
- var Node195_3textStart, Node195_3textWidth, Node195_3lineStart, Node195_3align = 'left', Node195_3fontSize = 13.3333*_ratio.ratioY,Node195_3width = 62*_ratio.ratioX, Node195_3height = 26*_ratio.ratioY;
- (function () {
- if (Node195_3align === 'left') {
- Node195_3textStart = Node195_3fontSize * 0.2 > 2 ? Node195_3fontSize * 0.2 - 4 : Node195_3fontSize * 0.2 - 9;
- Node195_3textWidth = Node195_3width;
- Node195_3lineStart = 1;
- } else if (Node195_3align === 'right') {
- Node195_3textStart = 0;
- Node195_3textWidth =Node195_3fontSize <= 8 ? Node195_3width + Node195_3fontSize * 0.2 + 6 : Node195_3width - Node195_3fontSize * 0.2;
- Node195_3lineStart = (Node195_3width - (ht.Default.getTextSize('Uc(kV):', ' '+ Node195_3fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node195_3align === 'center') {
- Node195_3textStart = -3;
- Node195_3textWidth = Node195_3width;
- Node195_3lineStart = Node195_3width - ht.Default.getTextSize('Uc(kV):', ' '+ Node195_3fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node195_3.setImage(GD.getTextJSON(Node195_3width, Node195_3height, true, false, false, ' '+ Node195_3fontSize + 'px "Arial"'))
- Node195_3.setPosition(327*ratio.ratioX, 550*ratio.ratioY);
- Node195_3.setWidth(Node195_3width);
- Node195_3.setHeight(Node195_3height);
- Node195_3._nodeType = 'text';
- Node195_3._disallowEvert = true;
- Node195_3.setRotation(0*Math.PI/180);
- Node195_3.a('node.width', Node195_3width);
- Node195_3.a('node.height', Node195_3height);
- Node195_3.a('node.rect', [0, 0, Node195_3width, Node195_3height]);
- Node195_3.a('node.bordercolor','rgba(0,0,0,1)');
- Node195_3.a('node.borderwidth', 0);
- Node195_3.a('node.background','' || 'rgba(0,0,0,0)');
- Node195_3.a('node.gradient','');
- Node195_3.a('node.gradientcolor','');
- Node195_3.a('node.text','Uc(kV):');
- Node195_3.a('node.textalign','left');
- Node195_3.a('node.textvAlign','middle');
- Node195_3.a('node.textrect', [Node195_3textStart, 0, Node195_3textWidth, Node195_3height]);
- Node195_3.a('node.color','rgba(0,0,0,1)');
- Node195_3.a('node.font',' '+ Node195_3fontSize + 'px "Arial"');
- Node195_3.a('node.textvisible',true);
- Node195_3.a('node.linefeed',false);
- if (false) {
- Node195_3.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node195_3.a('node.text') || 'Uc(kV):';
- var color=Node195_3.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node195_3width,Node195_3height,13.3333*_ratio.ratioY,"left",color,' '+ Node195_3fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node195_3.a('node.underlinepoints',[Node195_3lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node195_3fontSize + 2 , ht.Default.getTextSize('Uc(kV):', ' '+ Node195_3fontSize + 'px "Arial"').width + 6, (Node195_3height - Node195_3fontSize) * 0.5*_ratio.ratioY + Node195_3fontSize + 2 ]);
- Node195_3.a('node.underlinevisible',false);
- Node195_3.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node195_3);
- zoomNodeList.push({
- node: Node195_3,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node195_4 = new ht.Node();
- var Node195_4textStart, Node195_4textWidth, Node195_4lineStart, Node195_4align = 'left', Node195_4fontSize = 13.3333*_ratio.ratioY,Node195_4width = 69*_ratio.ratioX, Node195_4height = 26*_ratio.ratioY;
- (function () {
- if (Node195_4align === 'left') {
- Node195_4textStart = Node195_4fontSize * 0.2 > 2 ? Node195_4fontSize * 0.2 - 4 : Node195_4fontSize * 0.2 - 9;
- Node195_4textWidth = Node195_4width;
- Node195_4lineStart = 1;
- } else if (Node195_4align === 'right') {
- Node195_4textStart = 0;
- Node195_4textWidth =Node195_4fontSize <= 8 ? Node195_4width + Node195_4fontSize * 0.2 + 6 : Node195_4width - Node195_4fontSize * 0.2;
- Node195_4lineStart = (Node195_4width - (ht.Default.getTextSize('Uab(kV):', ' '+ Node195_4fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node195_4align === 'center') {
- Node195_4textStart = -3;
- Node195_4textWidth = Node195_4width;
- Node195_4lineStart = Node195_4width - ht.Default.getTextSize('Uab(kV):', ' '+ Node195_4fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node195_4.setImage(GD.getTextJSON(Node195_4width, Node195_4height, true, false, false, ' '+ Node195_4fontSize + 'px "Arial"'))
- Node195_4.setPosition(321*ratio.ratioX, 569*ratio.ratioY);
- Node195_4.setWidth(Node195_4width);
- Node195_4.setHeight(Node195_4height);
- Node195_4._nodeType = 'text';
- Node195_4._disallowEvert = true;
- Node195_4.setRotation(0*Math.PI/180);
- Node195_4.a('node.width', Node195_4width);
- Node195_4.a('node.height', Node195_4height);
- Node195_4.a('node.rect', [0, 0, Node195_4width, Node195_4height]);
- Node195_4.a('node.bordercolor','rgba(0,0,0,1)');
- Node195_4.a('node.borderwidth', 0);
- Node195_4.a('node.background','' || 'rgba(0,0,0,0)');
- Node195_4.a('node.gradient','');
- Node195_4.a('node.gradientcolor','');
- Node195_4.a('node.text','Uab(kV):');
- Node195_4.a('node.textalign','left');
- Node195_4.a('node.textvAlign','middle');
- Node195_4.a('node.textrect', [Node195_4textStart, 0, Node195_4textWidth, Node195_4height]);
- Node195_4.a('node.color','rgba(0,0,0,1)');
- Node195_4.a('node.font',' '+ Node195_4fontSize + 'px "Arial"');
- Node195_4.a('node.textvisible',true);
- Node195_4.a('node.linefeed',false);
- if (false) {
- Node195_4.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node195_4.a('node.text') || 'Uab(kV):';
- var color=Node195_4.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node195_4width,Node195_4height,13.3333*_ratio.ratioY,"left",color,' '+ Node195_4fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node195_4.a('node.underlinepoints',[Node195_4lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node195_4fontSize + 2 , ht.Default.getTextSize('Uab(kV):', ' '+ Node195_4fontSize + 'px "Arial"').width + 6, (Node195_4height - Node195_4fontSize) * 0.5*_ratio.ratioY + Node195_4fontSize + 2 ]);
- Node195_4.a('node.underlinevisible',false);
- Node195_4.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node195_4);
- zoomNodeList.push({
- node: Node195_4,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node196_0 = new ht.Node();
- var Node196_0textStart, Node196_0textWidth, Node196_0lineStart, Node196_0align = 'left', Node196_0fontSize = 13.3333*_ratio.ratioY,Node196_0width = 63*_ratio.ratioX, Node196_0height = 26*_ratio.ratioY;
- (function () {
- if (Node196_0align === 'left') {
- Node196_0textStart = Node196_0fontSize * 0.2 > 2 ? Node196_0fontSize * 0.2 - 4 : Node196_0fontSize * 0.2 - 9;
- Node196_0textWidth = Node196_0width;
- Node196_0lineStart = 1;
- } else if (Node196_0align === 'right') {
- Node196_0textStart = 0;
- Node196_0textWidth =Node196_0fontSize <= 8 ? Node196_0width + Node196_0fontSize * 0.2 + 6 : Node196_0width - Node196_0fontSize * 0.2;
- Node196_0lineStart = (Node196_0width - (ht.Default.getTextSize('3U0(V):', ' '+ Node196_0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node196_0align === 'center') {
- Node196_0textStart = -3;
- Node196_0textWidth = Node196_0width;
- Node196_0lineStart = Node196_0width - ht.Default.getTextSize('3U0(V):', ' '+ Node196_0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node196_0.setImage(GD.getTextJSON(Node196_0width, Node196_0height, true, false, false, ' '+ Node196_0fontSize + 'px "Arial"'))
- Node196_0.setPosition(1684*ratio.ratioX, 491*ratio.ratioY);
- Node196_0.setWidth(Node196_0width);
- Node196_0.setHeight(Node196_0height);
- Node196_0._nodeType = 'text';
- Node196_0._disallowEvert = true;
- Node196_0.setRotation(0*Math.PI/180);
- Node196_0.a('node.width', Node196_0width);
- Node196_0.a('node.height', Node196_0height);
- Node196_0.a('node.rect', [0, 0, Node196_0width, Node196_0height]);
- Node196_0.a('node.bordercolor','rgba(0,0,0,1)');
- Node196_0.a('node.borderwidth', 0);
- Node196_0.a('node.background','' || 'rgba(0,0,0,0)');
- Node196_0.a('node.gradient','');
- Node196_0.a('node.gradientcolor','');
- Node196_0.a('node.text','3U0(V):');
- Node196_0.a('node.textalign','left');
- Node196_0.a('node.textvAlign','middle');
- Node196_0.a('node.textrect', [Node196_0textStart, 0, Node196_0textWidth, Node196_0height]);
- Node196_0.a('node.color','rgba(0,0,0,1)');
- Node196_0.a('node.font',' '+ Node196_0fontSize + 'px "Arial"');
- Node196_0.a('node.textvisible',true);
- Node196_0.a('node.linefeed',false);
- if (false) {
- Node196_0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node196_0.a('node.text') || '3U0(V):';
- var color=Node196_0.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node196_0width,Node196_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node196_0fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node196_0.a('node.underlinepoints',[Node196_0lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node196_0fontSize + 2 , ht.Default.getTextSize('3U0(V):', ' '+ Node196_0fontSize + 'px "Arial"').width + 6, (Node196_0height - Node196_0fontSize) * 0.5*_ratio.ratioY + Node196_0fontSize + 2 ]);
- Node196_0.a('node.underlinevisible',false);
- Node196_0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node196_0);
- zoomNodeList.push({
- node: Node196_0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node196_1 = new ht.Node();
- var Node196_1textStart, Node196_1textWidth, Node196_1lineStart, Node196_1align = 'left', Node196_1fontSize = 13.3333*_ratio.ratioY,Node196_1width = 62*_ratio.ratioX, Node196_1height = 26*_ratio.ratioY;
- (function () {
- if (Node196_1align === 'left') {
- Node196_1textStart = Node196_1fontSize * 0.2 > 2 ? Node196_1fontSize * 0.2 - 4 : Node196_1fontSize * 0.2 - 9;
- Node196_1textWidth = Node196_1width;
- Node196_1lineStart = 1;
- } else if (Node196_1align === 'right') {
- Node196_1textStart = 0;
- Node196_1textWidth =Node196_1fontSize <= 8 ? Node196_1width + Node196_1fontSize * 0.2 + 6 : Node196_1width - Node196_1fontSize * 0.2;
- Node196_1lineStart = (Node196_1width - (ht.Default.getTextSize('Ua(kV):', ' '+ Node196_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node196_1align === 'center') {
- Node196_1textStart = -3;
- Node196_1textWidth = Node196_1width;
- Node196_1lineStart = Node196_1width - ht.Default.getTextSize('Ua(kV):', ' '+ Node196_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node196_1.setImage(GD.getTextJSON(Node196_1width, Node196_1height, true, false, false, ' '+ Node196_1fontSize + 'px "Arial"'))
- Node196_1.setPosition(1685*ratio.ratioX, 511*ratio.ratioY);
- Node196_1.setWidth(Node196_1width);
- Node196_1.setHeight(Node196_1height);
- Node196_1._nodeType = 'text';
- Node196_1._disallowEvert = true;
- Node196_1.setRotation(0*Math.PI/180);
- Node196_1.a('node.width', Node196_1width);
- Node196_1.a('node.height', Node196_1height);
- Node196_1.a('node.rect', [0, 0, Node196_1width, Node196_1height]);
- Node196_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node196_1.a('node.borderwidth', 0);
- Node196_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node196_1.a('node.gradient','');
- Node196_1.a('node.gradientcolor','');
- Node196_1.a('node.text','Ua(kV):');
- Node196_1.a('node.textalign','left');
- Node196_1.a('node.textvAlign','middle');
- Node196_1.a('node.textrect', [Node196_1textStart, 0, Node196_1textWidth, Node196_1height]);
- Node196_1.a('node.color','rgba(0,0,0,1)');
- Node196_1.a('node.font',' '+ Node196_1fontSize + 'px "Arial"');
- Node196_1.a('node.textvisible',true);
- Node196_1.a('node.linefeed',false);
- if (false) {
- Node196_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node196_1.a('node.text') || 'Ua(kV):';
- var color=Node196_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node196_1width,Node196_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node196_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node196_1.a('node.underlinepoints',[Node196_1lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node196_1fontSize + 2 , ht.Default.getTextSize('Ua(kV):', ' '+ Node196_1fontSize + 'px "Arial"').width + 6, (Node196_1height - Node196_1fontSize) * 0.5*_ratio.ratioY + Node196_1fontSize + 2 ]);
- Node196_1.a('node.underlinevisible',false);
- Node196_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node196_1);
- zoomNodeList.push({
- node: Node196_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node196_2 = new ht.Node();
- var Node196_2textStart, Node196_2textWidth, Node196_2lineStart, Node196_2align = 'left', Node196_2fontSize = 13.3333*_ratio.ratioY,Node196_2width = 62*_ratio.ratioX, Node196_2height = 26*_ratio.ratioY;
- (function () {
- if (Node196_2align === 'left') {
- Node196_2textStart = Node196_2fontSize * 0.2 > 2 ? Node196_2fontSize * 0.2 - 4 : Node196_2fontSize * 0.2 - 9;
- Node196_2textWidth = Node196_2width;
- Node196_2lineStart = 1;
- } else if (Node196_2align === 'right') {
- Node196_2textStart = 0;
- Node196_2textWidth =Node196_2fontSize <= 8 ? Node196_2width + Node196_2fontSize * 0.2 + 6 : Node196_2width - Node196_2fontSize * 0.2;
- Node196_2lineStart = (Node196_2width - (ht.Default.getTextSize('Ub(kV):', ' '+ Node196_2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node196_2align === 'center') {
- Node196_2textStart = -3;
- Node196_2textWidth = Node196_2width;
- Node196_2lineStart = Node196_2width - ht.Default.getTextSize('Ub(kV):', ' '+ Node196_2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node196_2.setImage(GD.getTextJSON(Node196_2width, Node196_2height, true, false, false, ' '+ Node196_2fontSize + 'px "Arial"'))
- Node196_2.setPosition(1685*ratio.ratioX, 530*ratio.ratioY);
- Node196_2.setWidth(Node196_2width);
- Node196_2.setHeight(Node196_2height);
- Node196_2._nodeType = 'text';
- Node196_2._disallowEvert = true;
- Node196_2.setRotation(0*Math.PI/180);
- Node196_2.a('node.width', Node196_2width);
- Node196_2.a('node.height', Node196_2height);
- Node196_2.a('node.rect', [0, 0, Node196_2width, Node196_2height]);
- Node196_2.a('node.bordercolor','rgba(0,0,0,1)');
- Node196_2.a('node.borderwidth', 0);
- Node196_2.a('node.background','' || 'rgba(0,0,0,0)');
- Node196_2.a('node.gradient','');
- Node196_2.a('node.gradientcolor','');
- Node196_2.a('node.text','Ub(kV):');
- Node196_2.a('node.textalign','left');
- Node196_2.a('node.textvAlign','middle');
- Node196_2.a('node.textrect', [Node196_2textStart, 0, Node196_2textWidth, Node196_2height]);
- Node196_2.a('node.color','rgba(0,0,0,1)');
- Node196_2.a('node.font',' '+ Node196_2fontSize + 'px "Arial"');
- Node196_2.a('node.textvisible',true);
- Node196_2.a('node.linefeed',false);
- if (false) {
- Node196_2.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node196_2.a('node.text') || 'Ub(kV):';
- var color=Node196_2.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node196_2width,Node196_2height,13.3333*_ratio.ratioY,"left",color,' '+ Node196_2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node196_2.a('node.underlinepoints',[Node196_2lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node196_2fontSize + 2 , ht.Default.getTextSize('Ub(kV):', ' '+ Node196_2fontSize + 'px "Arial"').width + 6, (Node196_2height - Node196_2fontSize) * 0.5*_ratio.ratioY + Node196_2fontSize + 2 ]);
- Node196_2.a('node.underlinevisible',false);
- Node196_2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node196_2);
- zoomNodeList.push({
- node: Node196_2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node196_3 = new ht.Node();
- var Node196_3textStart, Node196_3textWidth, Node196_3lineStart, Node196_3align = 'left', Node196_3fontSize = 13.3333*_ratio.ratioY,Node196_3width = 62*_ratio.ratioX, Node196_3height = 26*_ratio.ratioY;
- (function () {
- if (Node196_3align === 'left') {
- Node196_3textStart = Node196_3fontSize * 0.2 > 2 ? Node196_3fontSize * 0.2 - 4 : Node196_3fontSize * 0.2 - 9;
- Node196_3textWidth = Node196_3width;
- Node196_3lineStart = 1;
- } else if (Node196_3align === 'right') {
- Node196_3textStart = 0;
- Node196_3textWidth =Node196_3fontSize <= 8 ? Node196_3width + Node196_3fontSize * 0.2 + 6 : Node196_3width - Node196_3fontSize * 0.2;
- Node196_3lineStart = (Node196_3width - (ht.Default.getTextSize('Uc(kV):', ' '+ Node196_3fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node196_3align === 'center') {
- Node196_3textStart = -3;
- Node196_3textWidth = Node196_3width;
- Node196_3lineStart = Node196_3width - ht.Default.getTextSize('Uc(kV):', ' '+ Node196_3fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node196_3.setImage(GD.getTextJSON(Node196_3width, Node196_3height, true, false, false, ' '+ Node196_3fontSize + 'px "Arial"'))
- Node196_3.setPosition(1685*ratio.ratioX, 550*ratio.ratioY);
- Node196_3.setWidth(Node196_3width);
- Node196_3.setHeight(Node196_3height);
- Node196_3._nodeType = 'text';
- Node196_3._disallowEvert = true;
- Node196_3.setRotation(0*Math.PI/180);
- Node196_3.a('node.width', Node196_3width);
- Node196_3.a('node.height', Node196_3height);
- Node196_3.a('node.rect', [0, 0, Node196_3width, Node196_3height]);
- Node196_3.a('node.bordercolor','rgba(0,0,0,1)');
- Node196_3.a('node.borderwidth', 0);
- Node196_3.a('node.background','' || 'rgba(0,0,0,0)');
- Node196_3.a('node.gradient','');
- Node196_3.a('node.gradientcolor','');
- Node196_3.a('node.text','Uc(kV):');
- Node196_3.a('node.textalign','left');
- Node196_3.a('node.textvAlign','middle');
- Node196_3.a('node.textrect', [Node196_3textStart, 0, Node196_3textWidth, Node196_3height]);
- Node196_3.a('node.color','rgba(0,0,0,1)');
- Node196_3.a('node.font',' '+ Node196_3fontSize + 'px "Arial"');
- Node196_3.a('node.textvisible',true);
- Node196_3.a('node.linefeed',false);
- if (false) {
- Node196_3.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node196_3.a('node.text') || 'Uc(kV):';
- var color=Node196_3.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node196_3width,Node196_3height,13.3333*_ratio.ratioY,"left",color,' '+ Node196_3fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node196_3.a('node.underlinepoints',[Node196_3lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node196_3fontSize + 2 , ht.Default.getTextSize('Uc(kV):', ' '+ Node196_3fontSize + 'px "Arial"').width + 6, (Node196_3height - Node196_3fontSize) * 0.5*_ratio.ratioY + Node196_3fontSize + 2 ]);
- Node196_3.a('node.underlinevisible',false);
- Node196_3.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node196_3);
- zoomNodeList.push({
- node: Node196_3,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node196_4 = new ht.Node();
- var Node196_4textStart, Node196_4textWidth, Node196_4lineStart, Node196_4align = 'left', Node196_4fontSize = 13.3333*_ratio.ratioY,Node196_4width = 69*_ratio.ratioX, Node196_4height = 26*_ratio.ratioY;
- (function () {
- if (Node196_4align === 'left') {
- Node196_4textStart = Node196_4fontSize * 0.2 > 2 ? Node196_4fontSize * 0.2 - 4 : Node196_4fontSize * 0.2 - 9;
- Node196_4textWidth = Node196_4width;
- Node196_4lineStart = 1;
- } else if (Node196_4align === 'right') {
- Node196_4textStart = 0;
- Node196_4textWidth =Node196_4fontSize <= 8 ? Node196_4width + Node196_4fontSize * 0.2 + 6 : Node196_4width - Node196_4fontSize * 0.2;
- Node196_4lineStart = (Node196_4width - (ht.Default.getTextSize('Uab(kV):', ' '+ Node196_4fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node196_4align === 'center') {
- Node196_4textStart = -3;
- Node196_4textWidth = Node196_4width;
- Node196_4lineStart = Node196_4width - ht.Default.getTextSize('Uab(kV):', ' '+ Node196_4fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node196_4.setImage(GD.getTextJSON(Node196_4width, Node196_4height, true, false, false, ' '+ Node196_4fontSize + 'px "Arial"'))
- Node196_4.setPosition(1679*ratio.ratioX, 569*ratio.ratioY);
- Node196_4.setWidth(Node196_4width);
- Node196_4.setHeight(Node196_4height);
- Node196_4._nodeType = 'text';
- Node196_4._disallowEvert = true;
- Node196_4.setRotation(0*Math.PI/180);
- Node196_4.a('node.width', Node196_4width);
- Node196_4.a('node.height', Node196_4height);
- Node196_4.a('node.rect', [0, 0, Node196_4width, Node196_4height]);
- Node196_4.a('node.bordercolor','rgba(0,0,0,1)');
- Node196_4.a('node.borderwidth', 0);
- Node196_4.a('node.background','' || 'rgba(0,0,0,0)');
- Node196_4.a('node.gradient','');
- Node196_4.a('node.gradientcolor','');
- Node196_4.a('node.text','Uab(kV):');
- Node196_4.a('node.textalign','left');
- Node196_4.a('node.textvAlign','middle');
- Node196_4.a('node.textrect', [Node196_4textStart, 0, Node196_4textWidth, Node196_4height]);
- Node196_4.a('node.color','rgba(0,0,0,1)');
- Node196_4.a('node.font',' '+ Node196_4fontSize + 'px "Arial"');
- Node196_4.a('node.textvisible',true);
- Node196_4.a('node.linefeed',false);
- if (false) {
- Node196_4.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node196_4.a('node.text') || 'Uab(kV):';
- var color=Node196_4.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node196_4width,Node196_4height,13.3333*_ratio.ratioY,"left",color,' '+ Node196_4fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node196_4.a('node.underlinepoints',[Node196_4lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node196_4fontSize + 2 , ht.Default.getTextSize('Uab(kV):', ' '+ Node196_4fontSize + 'px "Arial"').width + 6, (Node196_4height - Node196_4fontSize) * 0.5*_ratio.ratioY + Node196_4fontSize + 2 ]);
- Node196_4.a('node.underlinevisible',false);
- Node196_4.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node196_4);
- zoomNodeList.push({
- node: Node196_4,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node197 = new ht.Node();
- var Node197textStart, Node197textWidth, Node197lineStart, Node197align = 'left', Node197fontSize = 13.3333*_ratio.ratioY,Node197width = 93*_ratio.ratioX, Node197height = 25*_ratio.ratioY;
- (function () {
- if (Node197align === 'left') {
- Node197textStart = Node197fontSize * 0.2 > 2 ? Node197fontSize * 0.2 - 4 : Node197fontSize * 0.2 - 9;
- Node197textWidth = Node197width;
- Node197lineStart = 1;
- } else if (Node197align === 'right') {
- Node197textStart = 0;
- Node197textWidth =Node197fontSize <= 8 ? Node197width + Node197fontSize * 0.2 + 6 : Node197width - Node197fontSize * 0.2;
- Node197lineStart = (Node197width - (ht.Default.getTextSize('310', ' '+ Node197fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node197align === 'center') {
- Node197textStart = -3;
- Node197textWidth = Node197width;
- Node197lineStart = Node197width - ht.Default.getTextSize('310', ' '+ Node197fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node197.setImage(GD.getTextJSON(Node197width, Node197height, true, false, false, ' '+ Node197fontSize + 'px "Arial"'))
- Node197.setPosition(132*ratio.ratioX, 616*ratio.ratioY);
- Node197.setWidth(Node197width);
- Node197.setHeight(Node197height);
- Node197._nodeType = 'text';
- Node197._disallowEvert = true;
- Node197.setRotation(0*Math.PI/180);
- Node197.a('node.width', Node197width);
- Node197.a('node.height', Node197height);
- Node197.a('node.rect', [0, 0, Node197width, Node197height]);
- Node197.a('node.bordercolor','rgba(0,0,0,1)');
- Node197.a('node.borderwidth', 0);
- Node197.a('node.background','' || 'rgba(0,0,0,0)');
- Node197.a('node.gradient','');
- Node197.a('node.gradientcolor','');
- Node197.a('node.text','310');
- Node197.a('node.textalign','left');
- Node197.a('node.textvAlign','middle');
- Node197.a('node.textrect', [Node197textStart, 0, Node197textWidth, Node197height]);
- Node197.a('node.color','rgba(0,0,0,1)');
- Node197.a('node.font',' '+ Node197fontSize + 'px "Arial"');
- Node197.a('node.textvisible',true);
- Node197.a('node.linefeed',false);
- if (false) {
- Node197.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node197.a('node.text') || '310';
- var color=Node197.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node197width,Node197height,13.3333*_ratio.ratioY,"left",color,' '+ Node197fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node197.a('node.underlinepoints',[Node197lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node197fontSize + 2 , ht.Default.getTextSize('310', ' '+ Node197fontSize + 'px "Arial"').width + 6, (Node197height - Node197fontSize) * 0.5*_ratio.ratioY + Node197fontSize + 2 ]);
- Node197.a('node.underlinevisible',false);
- Node197.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node197);
- zoomNodeList.push({
- node: Node197,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node198 = new ht.Node();
- var Node198textStart, Node198textWidth, Node198lineStart, Node198align = 'left', Node198fontSize = 13.3333*_ratio.ratioY,Node198width = 43*_ratio.ratioX, Node198height = 25*_ratio.ratioY;
- (function () {
- if (Node198align === 'left') {
- Node198textStart = Node198fontSize * 0.2 > 2 ? Node198fontSize * 0.2 - 4 : Node198fontSize * 0.2 - 9;
- Node198textWidth = Node198width;
- Node198lineStart = 1;
- } else if (Node198align === 'right') {
- Node198textStart = 0;
- Node198textWidth =Node198fontSize <= 8 ? Node198width + Node198fontSize * 0.2 + 6 : Node198width - Node198fontSize * 0.2;
- Node198lineStart = (Node198width - (ht.Default.getTextSize('310-0', ' '+ Node198fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node198align === 'center') {
- Node198textStart = -3;
- Node198textWidth = Node198width;
- Node198lineStart = Node198width - ht.Default.getTextSize('310-0', ' '+ Node198fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node198.setImage(GD.getTextJSON(Node198width, Node198height, true, false, false, ' '+ Node198fontSize + 'px "Arial"'))
- Node198.setPosition(107*ratio.ratioX, 716*ratio.ratioY);
- Node198.setWidth(Node198width);
- Node198.setHeight(Node198height);
- Node198._nodeType = 'text';
- Node198._disallowEvert = true;
- Node198.setRotation(0*Math.PI/180);
- Node198.a('node.width', Node198width);
- Node198.a('node.height', Node198height);
- Node198.a('node.rect', [0, 0, Node198width, Node198height]);
- Node198.a('node.bordercolor','rgba(0,0,0,1)');
- Node198.a('node.borderwidth', 0);
- Node198.a('node.background','' || 'rgba(0,0,0,0)');
- Node198.a('node.gradient','');
- Node198.a('node.gradientcolor','');
- Node198.a('node.text','310-0');
- Node198.a('node.textalign','left');
- Node198.a('node.textvAlign','middle');
- Node198.a('node.textrect', [Node198textStart, 0, Node198textWidth, Node198height]);
- Node198.a('node.color','rgba(0,0,0,1)');
- Node198.a('node.font',' '+ Node198fontSize + 'px "Arial"');
- Node198.a('node.textvisible',true);
- Node198.a('node.linefeed',false);
- if (false) {
- Node198.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node198.a('node.text') || '310-0';
- var color=Node198.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node198width,Node198height,13.3333*_ratio.ratioY,"left",color,' '+ Node198fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node198.a('node.underlinepoints',[Node198lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node198fontSize + 2 , ht.Default.getTextSize('310-0', ' '+ Node198fontSize + 'px "Arial"').width + 6, (Node198height - Node198fontSize) * 0.5*_ratio.ratioY + Node198fontSize + 2 ]);
- Node198.a('node.underlinevisible',false);
- Node198.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node198);
- zoomNodeList.push({
- node: Node198,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node199 = new ht.Node();
- var Node199textStart, Node199textWidth, Node199lineStart, Node199align = 'left', Node199fontSize = 13.3333*_ratio.ratioY,Node199width = 43*_ratio.ratioX, Node199height = 25*_ratio.ratioY;
- (function () {
- if (Node199align === 'left') {
- Node199textStart = Node199fontSize * 0.2 > 2 ? Node199fontSize * 0.2 - 4 : Node199fontSize * 0.2 - 9;
- Node199textWidth = Node199width;
- Node199lineStart = 1;
- } else if (Node199align === 'right') {
- Node199textStart = 0;
- Node199textWidth =Node199fontSize <= 8 ? Node199width + Node199fontSize * 0.2 + 6 : Node199width - Node199fontSize * 0.2;
- Node199lineStart = (Node199width - (ht.Default.getTextSize('316', ' '+ Node199fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node199align === 'center') {
- Node199textStart = -3;
- Node199textWidth = Node199width;
- Node199lineStart = Node199width - ht.Default.getTextSize('316', ' '+ Node199fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node199.setImage(GD.getTextJSON(Node199width, Node199height, true, false, false, ' '+ Node199fontSize + 'px "Arial"'))
- Node199.setPosition(197*ratio.ratioX, 616*ratio.ratioY);
- Node199.setWidth(Node199width);
- Node199.setHeight(Node199height);
- Node199._nodeType = 'text';
- Node199._disallowEvert = true;
- Node199.setRotation(0*Math.PI/180);
- Node199.a('node.width', Node199width);
- Node199.a('node.height', Node199height);
- Node199.a('node.rect', [0, 0, Node199width, Node199height]);
- Node199.a('node.bordercolor','rgba(0,0,0,1)');
- Node199.a('node.borderwidth', 0);
- Node199.a('node.background','' || 'rgba(0,0,0,0)');
- Node199.a('node.gradient','');
- Node199.a('node.gradientcolor','');
- Node199.a('node.text','316');
- Node199.a('node.textalign','left');
- Node199.a('node.textvAlign','middle');
- Node199.a('node.textrect', [Node199textStart, 0, Node199textWidth, Node199height]);
- Node199.a('node.color','rgba(0,0,0,1)');
- Node199.a('node.font',' '+ Node199fontSize + 'px "Arial"');
- Node199.a('node.textvisible',true);
- Node199.a('node.linefeed',false);
- if (false) {
- Node199.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node199.a('node.text') || '316';
- var color=Node199.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node199width,Node199height,13.3333*_ratio.ratioY,"left",color,' '+ Node199fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node199.a('node.underlinepoints',[Node199lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node199fontSize + 2 , ht.Default.getTextSize('316', ' '+ Node199fontSize + 'px "Arial"').width + 6, (Node199height - Node199fontSize) * 0.5*_ratio.ratioY + Node199fontSize + 2 ]);
- Node199.a('node.underlinevisible',false);
- Node199.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node199);
- zoomNodeList.push({
- node: Node199,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node200 = new ht.Node();
- var Node200textStart, Node200textWidth, Node200lineStart, Node200align = 'left', Node200fontSize = 13.3333*_ratio.ratioY,Node200width = 43*_ratio.ratioX, Node200height = 25*_ratio.ratioY;
- (function () {
- if (Node200align === 'left') {
- Node200textStart = Node200fontSize * 0.2 > 2 ? Node200fontSize * 0.2 - 4 : Node200fontSize * 0.2 - 9;
- Node200textWidth = Node200width;
- Node200lineStart = 1;
- } else if (Node200align === 'right') {
- Node200textStart = 0;
- Node200textWidth =Node200fontSize <= 8 ? Node200width + Node200fontSize * 0.2 + 6 : Node200width - Node200fontSize * 0.2;
- Node200lineStart = (Node200width - (ht.Default.getTextSize('315', ' '+ Node200fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node200align === 'center') {
- Node200textStart = -3;
- Node200textWidth = Node200width;
- Node200lineStart = Node200width - ht.Default.getTextSize('315', ' '+ Node200fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node200.setImage(GD.getTextJSON(Node200width, Node200height, true, false, false, ' '+ Node200fontSize + 'px "Arial"'))
- Node200.setPosition(287*ratio.ratioX, 616*ratio.ratioY);
- Node200.setWidth(Node200width);
- Node200.setHeight(Node200height);
- Node200._nodeType = 'text';
- Node200._disallowEvert = true;
- Node200.setRotation(0*Math.PI/180);
- Node200.a('node.width', Node200width);
- Node200.a('node.height', Node200height);
- Node200.a('node.rect', [0, 0, Node200width, Node200height]);
- Node200.a('node.bordercolor','rgba(0,0,0,1)');
- Node200.a('node.borderwidth', 0);
- Node200.a('node.background','' || 'rgba(0,0,0,0)');
- Node200.a('node.gradient','');
- Node200.a('node.gradientcolor','');
- Node200.a('node.text','315');
- Node200.a('node.textalign','left');
- Node200.a('node.textvAlign','middle');
- Node200.a('node.textrect', [Node200textStart, 0, Node200textWidth, Node200height]);
- Node200.a('node.color','rgba(0,0,0,1)');
- Node200.a('node.font',' '+ Node200fontSize + 'px "Arial"');
- Node200.a('node.textvisible',true);
- Node200.a('node.linefeed',false);
- if (false) {
- Node200.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node200.a('node.text') || '315';
- var color=Node200.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node200width,Node200height,13.3333*_ratio.ratioY,"left",color,' '+ Node200fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node200.a('node.underlinepoints',[Node200lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node200fontSize + 2 , ht.Default.getTextSize('315', ' '+ Node200fontSize + 'px "Arial"').width + 6, (Node200height - Node200fontSize) * 0.5*_ratio.ratioY + Node200fontSize + 2 ]);
- Node200.a('node.underlinevisible',false);
- Node200.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node200);
- zoomNodeList.push({
- node: Node200,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node201 = new ht.Node();
- var Node201textStart, Node201textWidth, Node201lineStart, Node201align = 'left', Node201fontSize = 13.3333*_ratio.ratioY,Node201width = 43*_ratio.ratioX, Node201height = 25*_ratio.ratioY;
- (function () {
- if (Node201align === 'left') {
- Node201textStart = Node201fontSize * 0.2 > 2 ? Node201fontSize * 0.2 - 4 : Node201fontSize * 0.2 - 9;
- Node201textWidth = Node201width;
- Node201lineStart = 1;
- } else if (Node201align === 'right') {
- Node201textStart = 0;
- Node201textWidth =Node201fontSize <= 8 ? Node201width + Node201fontSize * 0.2 + 6 : Node201width - Node201fontSize * 0.2;
- Node201lineStart = (Node201width - (ht.Default.getTextSize('314', ' '+ Node201fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node201align === 'center') {
- Node201textStart = -3;
- Node201textWidth = Node201width;
- Node201lineStart = Node201width - ht.Default.getTextSize('314', ' '+ Node201fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node201.setImage(GD.getTextJSON(Node201width, Node201height, true, false, false, ' '+ Node201fontSize + 'px "Arial"'))
- Node201.setPosition(377*ratio.ratioX, 616*ratio.ratioY);
- Node201.setWidth(Node201width);
- Node201.setHeight(Node201height);
- Node201._nodeType = 'text';
- Node201._disallowEvert = true;
- Node201.setRotation(0*Math.PI/180);
- Node201.a('node.width', Node201width);
- Node201.a('node.height', Node201height);
- Node201.a('node.rect', [0, 0, Node201width, Node201height]);
- Node201.a('node.bordercolor','rgba(0,0,0,1)');
- Node201.a('node.borderwidth', 0);
- Node201.a('node.background','' || 'rgba(0,0,0,0)');
- Node201.a('node.gradient','');
- Node201.a('node.gradientcolor','');
- Node201.a('node.text','314');
- Node201.a('node.textalign','left');
- Node201.a('node.textvAlign','middle');
- Node201.a('node.textrect', [Node201textStart, 0, Node201textWidth, Node201height]);
- Node201.a('node.color','rgba(0,0,0,1)');
- Node201.a('node.font',' '+ Node201fontSize + 'px "Arial"');
- Node201.a('node.textvisible',true);
- Node201.a('node.linefeed',false);
- if (false) {
- Node201.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node201.a('node.text') || '314';
- var color=Node201.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node201width,Node201height,13.3333*_ratio.ratioY,"left",color,' '+ Node201fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node201.a('node.underlinepoints',[Node201lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node201fontSize + 2 , ht.Default.getTextSize('314', ' '+ Node201fontSize + 'px "Arial"').width + 6, (Node201height - Node201fontSize) * 0.5*_ratio.ratioY + Node201fontSize + 2 ]);
- Node201.a('node.underlinevisible',false);
- Node201.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node201);
- zoomNodeList.push({
- node: Node201,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node202 = new ht.Node();
- var Node202textStart, Node202textWidth, Node202lineStart, Node202align = 'left', Node202fontSize = 13.3333*_ratio.ratioY,Node202width = 43*_ratio.ratioX, Node202height = 25*_ratio.ratioY;
- (function () {
- if (Node202align === 'left') {
- Node202textStart = Node202fontSize * 0.2 > 2 ? Node202fontSize * 0.2 - 4 : Node202fontSize * 0.2 - 9;
- Node202textWidth = Node202width;
- Node202lineStart = 1;
- } else if (Node202align === 'right') {
- Node202textStart = 0;
- Node202textWidth =Node202fontSize <= 8 ? Node202width + Node202fontSize * 0.2 + 6 : Node202width - Node202fontSize * 0.2;
- Node202lineStart = (Node202width - (ht.Default.getTextSize('317', ' '+ Node202fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node202align === 'center') {
- Node202textStart = -3;
- Node202textWidth = Node202width;
- Node202lineStart = Node202width - ht.Default.getTextSize('317', ' '+ Node202fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node202.setImage(GD.getTextJSON(Node202width, Node202height, true, false, false, ' '+ Node202fontSize + 'px "Arial"'))
- Node202.setPosition(467*ratio.ratioX, 616*ratio.ratioY);
- Node202.setWidth(Node202width);
- Node202.setHeight(Node202height);
- Node202._nodeType = 'text';
- Node202._disallowEvert = true;
- Node202.setRotation(0*Math.PI/180);
- Node202.a('node.width', Node202width);
- Node202.a('node.height', Node202height);
- Node202.a('node.rect', [0, 0, Node202width, Node202height]);
- Node202.a('node.bordercolor','rgba(0,0,0,1)');
- Node202.a('node.borderwidth', 0);
- Node202.a('node.background','' || 'rgba(0,0,0,0)');
- Node202.a('node.gradient','');
- Node202.a('node.gradientcolor','');
- Node202.a('node.text','317');
- Node202.a('node.textalign','left');
- Node202.a('node.textvAlign','middle');
- Node202.a('node.textrect', [Node202textStart, 0, Node202textWidth, Node202height]);
- Node202.a('node.color','rgba(0,0,0,1)');
- Node202.a('node.font',' '+ Node202fontSize + 'px "Arial"');
- Node202.a('node.textvisible',true);
- Node202.a('node.linefeed',false);
- if (false) {
- Node202.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node202.a('node.text') || '317';
- var color=Node202.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node202width,Node202height,13.3333*_ratio.ratioY,"left",color,' '+ Node202fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node202.a('node.underlinepoints',[Node202lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node202fontSize + 2 , ht.Default.getTextSize('317', ' '+ Node202fontSize + 'px "Arial"').width + 6, (Node202height - Node202fontSize) * 0.5*_ratio.ratioY + Node202fontSize + 2 ]);
- Node202.a('node.underlinevisible',false);
- Node202.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node202);
- zoomNodeList.push({
- node: Node202,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node203 = new ht.Node();
- var Node203textStart, Node203textWidth, Node203lineStart, Node203align = 'left', Node203fontSize = 13.3333*_ratio.ratioY,Node203width = 43*_ratio.ratioX, Node203height = 25*_ratio.ratioY;
- (function () {
- if (Node203align === 'left') {
- Node203textStart = Node203fontSize * 0.2 > 2 ? Node203fontSize * 0.2 - 4 : Node203fontSize * 0.2 - 9;
- Node203textWidth = Node203width;
- Node203lineStart = 1;
- } else if (Node203align === 'right') {
- Node203textStart = 0;
- Node203textWidth =Node203fontSize <= 8 ? Node203width + Node203fontSize * 0.2 + 6 : Node203width - Node203fontSize * 0.2;
- Node203lineStart = (Node203width - (ht.Default.getTextSize('318', ' '+ Node203fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node203align === 'center') {
- Node203textStart = -3;
- Node203textWidth = Node203width;
- Node203lineStart = Node203width - ht.Default.getTextSize('318', ' '+ Node203fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node203.setImage(GD.getTextJSON(Node203width, Node203height, true, false, false, ' '+ Node203fontSize + 'px "Arial"'))
- Node203.setPosition(577*ratio.ratioX, 616*ratio.ratioY);
- Node203.setWidth(Node203width);
- Node203.setHeight(Node203height);
- Node203._nodeType = 'text';
- Node203._disallowEvert = true;
- Node203.setRotation(0*Math.PI/180);
- Node203.a('node.width', Node203width);
- Node203.a('node.height', Node203height);
- Node203.a('node.rect', [0, 0, Node203width, Node203height]);
- Node203.a('node.bordercolor','rgba(0,0,0,1)');
- Node203.a('node.borderwidth', 0);
- Node203.a('node.background','' || 'rgba(0,0,0,0)');
- Node203.a('node.gradient','');
- Node203.a('node.gradientcolor','');
- Node203.a('node.text','318');
- Node203.a('node.textalign','left');
- Node203.a('node.textvAlign','middle');
- Node203.a('node.textrect', [Node203textStart, 0, Node203textWidth, Node203height]);
- Node203.a('node.color','rgba(0,0,0,1)');
- Node203.a('node.font',' '+ Node203fontSize + 'px "Arial"');
- Node203.a('node.textvisible',true);
- Node203.a('node.linefeed',false);
- if (false) {
- Node203.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node203.a('node.text') || '318';
- var color=Node203.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node203width,Node203height,13.3333*_ratio.ratioY,"left",color,' '+ Node203fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node203.a('node.underlinepoints',[Node203lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node203fontSize + 2 , ht.Default.getTextSize('318', ' '+ Node203fontSize + 'px "Arial"').width + 6, (Node203height - Node203fontSize) * 0.5*_ratio.ratioY + Node203fontSize + 2 ]);
- Node203.a('node.underlinevisible',false);
- Node203.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node203);
- zoomNodeList.push({
- node: Node203,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node204 = new ht.Node();
- var Node204textStart, Node204textWidth, Node204lineStart, Node204align = 'left', Node204fontSize = 13.3333*_ratio.ratioY,Node204width = 43*_ratio.ratioX, Node204height = 25*_ratio.ratioY;
- (function () {
- if (Node204align === 'left') {
- Node204textStart = Node204fontSize * 0.2 > 2 ? Node204fontSize * 0.2 - 4 : Node204fontSize * 0.2 - 9;
- Node204textWidth = Node204width;
- Node204lineStart = 1;
- } else if (Node204align === 'right') {
- Node204textStart = 0;
- Node204textWidth =Node204fontSize <= 8 ? Node204width + Node204fontSize * 0.2 + 6 : Node204width - Node204fontSize * 0.2;
- Node204lineStart = (Node204width - (ht.Default.getTextSize('311', ' '+ Node204fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node204align === 'center') {
- Node204textStart = -3;
- Node204textWidth = Node204width;
- Node204lineStart = Node204width - ht.Default.getTextSize('311', ' '+ Node204fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node204.setImage(GD.getTextJSON(Node204width, Node204height, true, false, false, ' '+ Node204fontSize + 'px "Arial"'))
- Node204.setPosition(667*ratio.ratioX, 616*ratio.ratioY);
- Node204.setWidth(Node204width);
- Node204.setHeight(Node204height);
- Node204._nodeType = 'text';
- Node204._disallowEvert = true;
- Node204.setRotation(0*Math.PI/180);
- Node204.a('node.width', Node204width);
- Node204.a('node.height', Node204height);
- Node204.a('node.rect', [0, 0, Node204width, Node204height]);
- Node204.a('node.bordercolor','rgba(0,0,0,1)');
- Node204.a('node.borderwidth', 0);
- Node204.a('node.background','' || 'rgba(0,0,0,0)');
- Node204.a('node.gradient','');
- Node204.a('node.gradientcolor','');
- Node204.a('node.text','311');
- Node204.a('node.textalign','left');
- Node204.a('node.textvAlign','middle');
- Node204.a('node.textrect', [Node204textStart, 0, Node204textWidth, Node204height]);
- Node204.a('node.color','rgba(0,0,0,1)');
- Node204.a('node.font',' '+ Node204fontSize + 'px "Arial"');
- Node204.a('node.textvisible',true);
- Node204.a('node.linefeed',false);
- if (false) {
- Node204.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node204.a('node.text') || '311';
- var color=Node204.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node204width,Node204height,13.3333*_ratio.ratioY,"left",color,' '+ Node204fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node204.a('node.underlinepoints',[Node204lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node204fontSize + 2 , ht.Default.getTextSize('311', ' '+ Node204fontSize + 'px "Arial"').width + 6, (Node204height - Node204fontSize) * 0.5*_ratio.ratioY + Node204fontSize + 2 ]);
- Node204.a('node.underlinevisible',false);
- Node204.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node204);
- zoomNodeList.push({
- node: Node204,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node205 = new ht.Node();
- var Node205textStart, Node205textWidth, Node205lineStart, Node205align = 'left', Node205fontSize = 13.3333*_ratio.ratioY,Node205width = 43*_ratio.ratioX, Node205height = 25*_ratio.ratioY;
- (function () {
- if (Node205align === 'left') {
- Node205textStart = Node205fontSize * 0.2 > 2 ? Node205fontSize * 0.2 - 4 : Node205fontSize * 0.2 - 9;
- Node205textWidth = Node205width;
- Node205lineStart = 1;
- } else if (Node205align === 'right') {
- Node205textStart = 0;
- Node205textWidth =Node205fontSize <= 8 ? Node205width + Node205fontSize * 0.2 + 6 : Node205width - Node205fontSize * 0.2;
- Node205lineStart = (Node205width - (ht.Default.getTextSize('312', ' '+ Node205fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node205align === 'center') {
- Node205textStart = -3;
- Node205textWidth = Node205width;
- Node205lineStart = Node205width - ht.Default.getTextSize('312', ' '+ Node205fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node205.setImage(GD.getTextJSON(Node205width, Node205height, true, false, false, ' '+ Node205fontSize + 'px "Arial"'))
- Node205.setPosition(757*ratio.ratioX, 616*ratio.ratioY);
- Node205.setWidth(Node205width);
- Node205.setHeight(Node205height);
- Node205._nodeType = 'text';
- Node205._disallowEvert = true;
- Node205.setRotation(0*Math.PI/180);
- Node205.a('node.width', Node205width);
- Node205.a('node.height', Node205height);
- Node205.a('node.rect', [0, 0, Node205width, Node205height]);
- Node205.a('node.bordercolor','rgba(0,0,0,1)');
- Node205.a('node.borderwidth', 0);
- Node205.a('node.background','' || 'rgba(0,0,0,0)');
- Node205.a('node.gradient','');
- Node205.a('node.gradientcolor','');
- Node205.a('node.text','312');
- Node205.a('node.textalign','left');
- Node205.a('node.textvAlign','middle');
- Node205.a('node.textrect', [Node205textStart, 0, Node205textWidth, Node205height]);
- Node205.a('node.color','rgba(0,0,0,1)');
- Node205.a('node.font',' '+ Node205fontSize + 'px "Arial"');
- Node205.a('node.textvisible',true);
- Node205.a('node.linefeed',false);
- if (false) {
- Node205.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node205.a('node.text') || '312';
- var color=Node205.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node205width,Node205height,13.3333*_ratio.ratioY,"left",color,' '+ Node205fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node205.a('node.underlinepoints',[Node205lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node205fontSize + 2 , ht.Default.getTextSize('312', ' '+ Node205fontSize + 'px "Arial"').width + 6, (Node205height - Node205fontSize) * 0.5*_ratio.ratioY + Node205fontSize + 2 ]);
- Node205.a('node.underlinevisible',false);
- Node205.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node205);
- zoomNodeList.push({
- node: Node205,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node206 = new ht.Node();
- var Node206textStart, Node206textWidth, Node206lineStart, Node206align = 'left', Node206fontSize = 13.3333*_ratio.ratioY,Node206width = 43*_ratio.ratioX, Node206height = 25*_ratio.ratioY;
- (function () {
- if (Node206align === 'left') {
- Node206textStart = Node206fontSize * 0.2 > 2 ? Node206fontSize * 0.2 - 4 : Node206fontSize * 0.2 - 9;
- Node206textWidth = Node206width;
- Node206lineStart = 1;
- } else if (Node206align === 'right') {
- Node206textStart = 0;
- Node206textWidth =Node206fontSize <= 8 ? Node206width + Node206fontSize * 0.2 + 6 : Node206width - Node206fontSize * 0.2;
- Node206lineStart = (Node206width - (ht.Default.getTextSize('313', ' '+ Node206fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node206align === 'center') {
- Node206textStart = -3;
- Node206textWidth = Node206width;
- Node206lineStart = Node206width - ht.Default.getTextSize('313', ' '+ Node206fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node206.setImage(GD.getTextJSON(Node206width, Node206height, true, false, false, ' '+ Node206fontSize + 'px "Arial"'))
- Node206.setPosition(847*ratio.ratioX, 616*ratio.ratioY);
- Node206.setWidth(Node206width);
- Node206.setHeight(Node206height);
- Node206._nodeType = 'text';
- Node206._disallowEvert = true;
- Node206.setRotation(0*Math.PI/180);
- Node206.a('node.width', Node206width);
- Node206.a('node.height', Node206height);
- Node206.a('node.rect', [0, 0, Node206width, Node206height]);
- Node206.a('node.bordercolor','rgba(0,0,0,1)');
- Node206.a('node.borderwidth', 0);
- Node206.a('node.background','' || 'rgba(0,0,0,0)');
- Node206.a('node.gradient','');
- Node206.a('node.gradientcolor','');
- Node206.a('node.text','313');
- Node206.a('node.textalign','left');
- Node206.a('node.textvAlign','middle');
- Node206.a('node.textrect', [Node206textStart, 0, Node206textWidth, Node206height]);
- Node206.a('node.color','rgba(0,0,0,1)');
- Node206.a('node.font',' '+ Node206fontSize + 'px "Arial"');
- Node206.a('node.textvisible',true);
- Node206.a('node.linefeed',false);
- if (false) {
- Node206.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node206.a('node.text') || '313';
- var color=Node206.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node206width,Node206height,13.3333*_ratio.ratioY,"left",color,' '+ Node206fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node206.a('node.underlinepoints',[Node206lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node206fontSize + 2 , ht.Default.getTextSize('313', ' '+ Node206fontSize + 'px "Arial"').width + 6, (Node206height - Node206fontSize) * 0.5*_ratio.ratioY + Node206fontSize + 2 ]);
- Node206.a('node.underlinevisible',false);
- Node206.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node206);
- zoomNodeList.push({
- node: Node206,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node207 = new ht.Node();
- var Node207textStart, Node207textWidth, Node207lineStart, Node207align = 'left', Node207fontSize = 13.3333*_ratio.ratioY,Node207width = 43*_ratio.ratioX, Node207height = 25*_ratio.ratioY;
- (function () {
- if (Node207align === 'left') {
- Node207textStart = Node207fontSize * 0.2 > 2 ? Node207fontSize * 0.2 - 4 : Node207fontSize * 0.2 - 9;
- Node207textWidth = Node207width;
- Node207lineStart = 1;
- } else if (Node207align === 'right') {
- Node207textStart = 0;
- Node207textWidth =Node207fontSize <= 8 ? Node207width + Node207fontSize * 0.2 + 6 : Node207width - Node207fontSize * 0.2;
- Node207lineStart = (Node207width - (ht.Default.getTextSize('316-0', ' '+ Node207fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node207align === 'center') {
- Node207textStart = -3;
- Node207textWidth = Node207width;
- Node207lineStart = Node207width - ht.Default.getTextSize('316-0', ' '+ Node207fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node207.setImage(GD.getTextJSON(Node207width, Node207height, true, false, false, ' '+ Node207fontSize + 'px "Arial"'))
- Node207.setPosition(197*ratio.ratioX, 716*ratio.ratioY);
- Node207.setWidth(Node207width);
- Node207.setHeight(Node207height);
- Node207._nodeType = 'text';
- Node207._disallowEvert = true;
- Node207.setRotation(0*Math.PI/180);
- Node207.a('node.width', Node207width);
- Node207.a('node.height', Node207height);
- Node207.a('node.rect', [0, 0, Node207width, Node207height]);
- Node207.a('node.bordercolor','rgba(0,0,0,1)');
- Node207.a('node.borderwidth', 0);
- Node207.a('node.background','' || 'rgba(0,0,0,0)');
- Node207.a('node.gradient','');
- Node207.a('node.gradientcolor','');
- Node207.a('node.text','316-0');
- Node207.a('node.textalign','left');
- Node207.a('node.textvAlign','middle');
- Node207.a('node.textrect', [Node207textStart, 0, Node207textWidth, Node207height]);
- Node207.a('node.color','rgba(0,0,0,1)');
- Node207.a('node.font',' '+ Node207fontSize + 'px "Arial"');
- Node207.a('node.textvisible',true);
- Node207.a('node.linefeed',false);
- if (false) {
- Node207.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node207.a('node.text') || '316-0';
- var color=Node207.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node207width,Node207height,13.3333*_ratio.ratioY,"left",color,' '+ Node207fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node207.a('node.underlinepoints',[Node207lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node207fontSize + 2 , ht.Default.getTextSize('316-0', ' '+ Node207fontSize + 'px "Arial"').width + 6, (Node207height - Node207fontSize) * 0.5*_ratio.ratioY + Node207fontSize + 2 ]);
- Node207.a('node.underlinevisible',false);
- Node207.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node207);
- zoomNodeList.push({
- node: Node207,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node208 = new ht.Node();
- var Node208textStart, Node208textWidth, Node208lineStart, Node208align = 'left', Node208fontSize = 13.3333*_ratio.ratioY,Node208width = 43*_ratio.ratioX, Node208height = 25*_ratio.ratioY;
- (function () {
- if (Node208align === 'left') {
- Node208textStart = Node208fontSize * 0.2 > 2 ? Node208fontSize * 0.2 - 4 : Node208fontSize * 0.2 - 9;
- Node208textWidth = Node208width;
- Node208lineStart = 1;
- } else if (Node208align === 'right') {
- Node208textStart = 0;
- Node208textWidth =Node208fontSize <= 8 ? Node208width + Node208fontSize * 0.2 + 6 : Node208width - Node208fontSize * 0.2;
- Node208lineStart = (Node208width - (ht.Default.getTextSize('315-0', ' '+ Node208fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node208align === 'center') {
- Node208textStart = -3;
- Node208textWidth = Node208width;
- Node208lineStart = Node208width - ht.Default.getTextSize('315-0', ' '+ Node208fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node208.setImage(GD.getTextJSON(Node208width, Node208height, true, false, false, ' '+ Node208fontSize + 'px "Arial"'))
- Node208.setPosition(287*ratio.ratioX, 716*ratio.ratioY);
- Node208.setWidth(Node208width);
- Node208.setHeight(Node208height);
- Node208._nodeType = 'text';
- Node208._disallowEvert = true;
- Node208.setRotation(0*Math.PI/180);
- Node208.a('node.width', Node208width);
- Node208.a('node.height', Node208height);
- Node208.a('node.rect', [0, 0, Node208width, Node208height]);
- Node208.a('node.bordercolor','rgba(0,0,0,1)');
- Node208.a('node.borderwidth', 0);
- Node208.a('node.background','' || 'rgba(0,0,0,0)');
- Node208.a('node.gradient','');
- Node208.a('node.gradientcolor','');
- Node208.a('node.text','315-0');
- Node208.a('node.textalign','left');
- Node208.a('node.textvAlign','middle');
- Node208.a('node.textrect', [Node208textStart, 0, Node208textWidth, Node208height]);
- Node208.a('node.color','rgba(0,0,0,1)');
- Node208.a('node.font',' '+ Node208fontSize + 'px "Arial"');
- Node208.a('node.textvisible',true);
- Node208.a('node.linefeed',false);
- if (false) {
- Node208.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node208.a('node.text') || '315-0';
- var color=Node208.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node208width,Node208height,13.3333*_ratio.ratioY,"left",color,' '+ Node208fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node208.a('node.underlinepoints',[Node208lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node208fontSize + 2 , ht.Default.getTextSize('315-0', ' '+ Node208fontSize + 'px "Arial"').width + 6, (Node208height - Node208fontSize) * 0.5*_ratio.ratioY + Node208fontSize + 2 ]);
- Node208.a('node.underlinevisible',false);
- Node208.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node208);
- zoomNodeList.push({
- node: Node208,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node209 = new ht.Node();
- var Node209textStart, Node209textWidth, Node209lineStart, Node209align = 'left', Node209fontSize = 13.3333*_ratio.ratioY,Node209width = 43*_ratio.ratioX, Node209height = 25*_ratio.ratioY;
- (function () {
- if (Node209align === 'left') {
- Node209textStart = Node209fontSize * 0.2 > 2 ? Node209fontSize * 0.2 - 4 : Node209fontSize * 0.2 - 9;
- Node209textWidth = Node209width;
- Node209lineStart = 1;
- } else if (Node209align === 'right') {
- Node209textStart = 0;
- Node209textWidth =Node209fontSize <= 8 ? Node209width + Node209fontSize * 0.2 + 6 : Node209width - Node209fontSize * 0.2;
- Node209lineStart = (Node209width - (ht.Default.getTextSize('314-0', ' '+ Node209fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node209align === 'center') {
- Node209textStart = -3;
- Node209textWidth = Node209width;
- Node209lineStart = Node209width - ht.Default.getTextSize('314-0', ' '+ Node209fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node209.setImage(GD.getTextJSON(Node209width, Node209height, true, false, false, ' '+ Node209fontSize + 'px "Arial"'))
- Node209.setPosition(377*ratio.ratioX, 716*ratio.ratioY);
- Node209.setWidth(Node209width);
- Node209.setHeight(Node209height);
- Node209._nodeType = 'text';
- Node209._disallowEvert = true;
- Node209.setRotation(0*Math.PI/180);
- Node209.a('node.width', Node209width);
- Node209.a('node.height', Node209height);
- Node209.a('node.rect', [0, 0, Node209width, Node209height]);
- Node209.a('node.bordercolor','rgba(0,0,0,1)');
- Node209.a('node.borderwidth', 0);
- Node209.a('node.background','' || 'rgba(0,0,0,0)');
- Node209.a('node.gradient','');
- Node209.a('node.gradientcolor','');
- Node209.a('node.text','314-0');
- Node209.a('node.textalign','left');
- Node209.a('node.textvAlign','middle');
- Node209.a('node.textrect', [Node209textStart, 0, Node209textWidth, Node209height]);
- Node209.a('node.color','rgba(0,0,0,1)');
- Node209.a('node.font',' '+ Node209fontSize + 'px "Arial"');
- Node209.a('node.textvisible',true);
- Node209.a('node.linefeed',false);
- if (false) {
- Node209.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node209.a('node.text') || '314-0';
- var color=Node209.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node209width,Node209height,13.3333*_ratio.ratioY,"left",color,' '+ Node209fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node209.a('node.underlinepoints',[Node209lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node209fontSize + 2 , ht.Default.getTextSize('314-0', ' '+ Node209fontSize + 'px "Arial"').width + 6, (Node209height - Node209fontSize) * 0.5*_ratio.ratioY + Node209fontSize + 2 ]);
- Node209.a('node.underlinevisible',false);
- Node209.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node209);
- zoomNodeList.push({
- node: Node209,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node210points=[420, 651,460, 651],
- Node210rect=ht.Default.unionPoint([{x:420,y:651},{x:460,y:651}]),
- Node210compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node210points.length;i++){
- if(i%2==0){
- Node210compspts.push(Node210points[i]-Node210rect.x);
- }else{
- Node210compspts.push(Node210points[i]-Node210rect.y);
- }
- }
- var Node210ptslength=Node210compspts.length;
- if (Node210rect.height === 0) {
- Node210compspts[0] -= 0;
- Node210compspts[Node210ptslength-2] += 0;
- } else if (Node210rect.width === 0){
- Node210compspts[1] -= 0;
- Node210compspts[Node210ptslength-1] += 0;
- } else {
- Node210compspts[0] -= 0;
- Node210compspts[1] -= 0;
- Node210compspts[Node210ptslength-2] += 0;
- Node210compspts[Node210ptslength-1] += 0;
- }
- Node210 = new ht.Node();
- Node210.borderWidth = 1;
- Node210rect.width = Node210rect.width === 0 ? 0.0001 : Node210rect.width;
- Node210rect.height = Node210rect.height === 0 ? 0.0001 : Node210rect.height;
- var Node210endCompspts = [Node210compspts[Node210ptslength-2],Node210compspts[Node210ptslength-1],0,0];
- var Node210startCompspts = [Node210compspts[0],Node210compspts[1],0,0];
- Node210.setImage(GD.getPolyLineJSON());
- Node210.setPosition(Node210rect.x+Node210rect.width/2,Node210rect.y+Node210rect.height/2);
- Node210.setSize(Node210rect.width,Node210rect.height);
- Node210.setStyle("opacity",1);
- Node210.s({'pixelPerfect':true});
- Node210borderwidth=1;
- Node210.setRotation(0);
- dataModel.add(Node210);
- Node210.a('node.points',Node210compspts);
- Node210.a('node.segments',[1,2]);
- Node210.a('node.color','rgba(255,128,0,1)');
- Node210.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node210.a('node.borderColor','rgba(255,128,0,1)');
- Node210.a('node.background','rgba(255,128,0,1)');
- Node210.a('node.gradient','');
- Node210.a('node.gradientcolor','rgba(255,128,0,1)');
- Node210.a('node.endCompspts',Node210endCompspts);
- Node210.a('node.startCompspts',Node210startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node210';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node210, Node210.getImage(), Node210compspts, Node210endCompspts, Node210startCompspts);
- var Node211points=[460, 662,460, 652],
- Node211rect=ht.Default.unionPoint([{x:460,y:662},{x:460,y:652}]),
- Node211compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node211points.length;i++){
- if(i%2==0){
- Node211compspts.push(Node211points[i]-Node211rect.x);
- }else{
- Node211compspts.push(Node211points[i]-Node211rect.y);
- }
- }
- var Node211ptslength=Node211compspts.length;
- if (Node211rect.height === 0) {
- Node211compspts[0] -= 0;
- Node211compspts[Node211ptslength-2] += 0;
- } else if (Node211rect.width === 0){
- Node211compspts[1] -= 0;
- Node211compspts[Node211ptslength-1] += 0;
- } else {
- Node211compspts[0] -= 0;
- Node211compspts[1] -= 0;
- Node211compspts[Node211ptslength-2] += 0;
- Node211compspts[Node211ptslength-1] += 0;
- }
- Node211 = new ht.Node();
- Node211.borderWidth = 1;
- Node211rect.width = Node211rect.width === 0 ? 0.0001 : Node211rect.width;
- Node211rect.height = Node211rect.height === 0 ? 0.0001 : Node211rect.height;
- var Node211endCompspts = [Node211compspts[Node211ptslength-2],Node211compspts[Node211ptslength-1],0,0];
- var Node211startCompspts = [Node211compspts[0],Node211compspts[1],0,0];
- Node211.setImage(GD.getPolyLineJSON());
- Node211.setPosition(Node211rect.x+Node211rect.width/2,Node211rect.y+Node211rect.height/2);
- Node211.setSize(Node211rect.width,Node211rect.height);
- Node211.setStyle("opacity",1);
- Node211.s({'pixelPerfect':true});
- Node211borderwidth=1;
- Node211.setRotation(0);
- dataModel.add(Node211);
- Node211.a('node.points',Node211compspts);
- Node211.a('node.segments',[1,2]);
- Node211.a('node.color','rgba(255,128,0,1)');
- Node211.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node211.a('node.borderColor','rgba(255,128,0,1)');
- Node211.a('node.background','rgba(255,128,0,1)');
- Node211.a('node.gradient','');
- Node211.a('node.gradientcolor','rgba(255,128,0,1)');
- Node211.a('node.endCompspts',Node211endCompspts);
- Node211.a('node.startCompspts',Node211startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node211';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node211, Node211.getImage(), Node211compspts, Node211endCompspts, Node211startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node212 = new ht.lib['黄色接地'](460*ratio.ratioX, 689*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node212');
- _libModel.add("Node212", Node212);
- Node212.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node213 = new ht.lib['矩形箭头上'](420*ratio.ratioX, 679*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node213');
- _libModel.add("Node213", Node213);
- Node213.setRotation(0*Math.PI/180);
- ;
- ;
- var Node214points=[440, 642,440, 726],
- Node214rect=ht.Default.unionPoint([{x:440,y:642},{x:440,y:726}]),
- Node214compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node214points.length;i++){
- if(i%2==0){
- Node214compspts.push(Node214points[i]-Node214rect.x);
- }else{
- Node214compspts.push(Node214points[i]-Node214rect.y);
- }
- }
- var Node214ptslength=Node214compspts.length;
- if (Node214rect.height === 0) {
- Node214compspts[0] -= 0;
- Node214compspts[Node214ptslength-2] += 0;
- } else if (Node214rect.width === 0){
- Node214compspts[1] -= 0;
- Node214compspts[Node214ptslength-1] += 0;
- } else {
- Node214compspts[0] -= 0;
- Node214compspts[1] -= 0;
- Node214compspts[Node214ptslength-2] += 0;
- Node214compspts[Node214ptslength-1] += 0;
- }
- Node214 = new ht.Node();
- Node214.borderWidth = 1;
- Node214rect.width = Node214rect.width === 0 ? 0.0001 : Node214rect.width;
- Node214rect.height = Node214rect.height === 0 ? 0.0001 : Node214rect.height;
- var Node214endCompspts = [Node214compspts[Node214ptslength-2],Node214compspts[Node214ptslength-1],0,0];
- var Node214startCompspts = [Node214compspts[0],Node214compspts[1],0,0];
- Node214.setImage(GD.getPolyLineJSON());
- Node214.setPosition(Node214rect.x+Node214rect.width/2,Node214rect.y+Node214rect.height/2);
- Node214.setSize(Node214rect.width,Node214rect.height);
- Node214.setStyle("opacity",1);
- Node214.s({'pixelPerfect':true});
- Node214borderwidth=1;
- Node214.setRotation(0);
- dataModel.add(Node214);
- Node214.a('node.points',Node214compspts);
- Node214.a('node.segments',[1,2]);
- Node214.a('node.color','rgba(255,128,0,1)');
- Node214.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node214.a('node.borderColor','rgba(255,128,0,1)');
- Node214.a('node.background','rgba(255,128,0,1)');
- Node214.a('node.gradient','');
- Node214.a('node.gradientcolor','rgba(255,128,0,1)');
- Node214.a('node.endCompspts',Node214endCompspts);
- Node214.a('node.startCompspts',Node214startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node214';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node214, Node214.getImage(), Node214compspts, Node214endCompspts, Node214startCompspts);
- var Node215points=[410, 721,470, 721],
- Node215rect=ht.Default.unionPoint([{x:410,y:721},{x:470,y:721}]),
- Node215compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node215points.length;i++){
- if(i%2==0){
- Node215compspts.push(Node215points[i]-Node215rect.x);
- }else{
- Node215compspts.push(Node215points[i]-Node215rect.y);
- }
- }
- var Node215ptslength=Node215compspts.length;
- if (Node215rect.height === 0) {
- Node215compspts[0] -= 0;
- Node215compspts[Node215ptslength-2] += 0;
- } else if (Node215rect.width === 0){
- Node215compspts[1] -= 0;
- Node215compspts[Node215ptslength-1] += 0;
- } else {
- Node215compspts[0] -= 0;
- Node215compspts[1] -= 0;
- Node215compspts[Node215ptslength-2] += 0;
- Node215compspts[Node215ptslength-1] += 0;
- }
- Node215 = new ht.Node();
- Node215.borderWidth = 1;
- Node215rect.width = Node215rect.width === 0 ? 0.0001 : Node215rect.width;
- Node215rect.height = Node215rect.height === 0 ? 0.0001 : Node215rect.height;
- var Node215endCompspts = [Node215compspts[Node215ptslength-2],Node215compspts[Node215ptslength-1],0,0];
- var Node215startCompspts = [Node215compspts[0],Node215compspts[1],0,0];
- Node215.setImage(GD.getPolyLineJSON());
- Node215.setPosition(Node215rect.x+Node215rect.width/2,Node215rect.y+Node215rect.height/2);
- Node215.setSize(Node215rect.width,Node215rect.height);
- Node215.setStyle("opacity",1);
- Node215.s({'pixelPerfect':true});
- Node215borderwidth=1;
- Node215.setRotation(0);
- dataModel.add(Node215);
- Node215.a('node.points',Node215compspts);
- Node215.a('node.segments',[1,2]);
- Node215.a('node.color','rgba(255,128,0,1)');
- Node215.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node215.a('node.borderColor','rgba(255,128,0,1)');
- Node215.a('node.background','rgba(255,128,0,1)');
- Node215.a('node.gradient','');
- Node215.a('node.gradientcolor','rgba(255,128,0,1)');
- Node215.a('node.endCompspts',Node215endCompspts);
- Node215.a('node.startCompspts',Node215startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node215';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node215, Node215.getImage(), Node215compspts, Node215endCompspts, Node215startCompspts);
- var Node216points=[410, 726,410, 721],
- Node216rect=ht.Default.unionPoint([{x:410,y:726},{x:410,y:721}]),
- Node216compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node216points.length;i++){
- if(i%2==0){
- Node216compspts.push(Node216points[i]-Node216rect.x);
- }else{
- Node216compspts.push(Node216points[i]-Node216rect.y);
- }
- }
- var Node216ptslength=Node216compspts.length;
- if (Node216rect.height === 0) {
- Node216compspts[0] -= 0;
- Node216compspts[Node216ptslength-2] += 0;
- } else if (Node216rect.width === 0){
- Node216compspts[1] -= 0;
- Node216compspts[Node216ptslength-1] += 0;
- } else {
- Node216compspts[0] -= 0;
- Node216compspts[1] -= 0;
- Node216compspts[Node216ptslength-2] += 0;
- Node216compspts[Node216ptslength-1] += 0;
- }
- Node216 = new ht.Node();
- Node216.borderWidth = 1;
- Node216rect.width = Node216rect.width === 0 ? 0.0001 : Node216rect.width;
- Node216rect.height = Node216rect.height === 0 ? 0.0001 : Node216rect.height;
- var Node216endCompspts = [Node216compspts[Node216ptslength-2],Node216compspts[Node216ptslength-1],0,0];
- var Node216startCompspts = [Node216compspts[0],Node216compspts[1],0,0];
- Node216.setImage(GD.getPolyLineJSON());
- Node216.setPosition(Node216rect.x+Node216rect.width/2,Node216rect.y+Node216rect.height/2);
- Node216.setSize(Node216rect.width,Node216rect.height);
- Node216.setStyle("opacity",1);
- Node216.s({'pixelPerfect':true});
- Node216borderwidth=1;
- Node216.setRotation(0);
- dataModel.add(Node216);
- Node216.a('node.points',Node216compspts);
- Node216.a('node.segments',[1,2]);
- Node216.a('node.color','rgba(255,128,0,1)');
- Node216.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node216.a('node.borderColor','rgba(255,128,0,1)');
- Node216.a('node.background','rgba(255,128,0,1)');
- Node216.a('node.gradient','');
- Node216.a('node.gradientcolor','rgba(255,128,0,1)');
- Node216.a('node.endCompspts',Node216endCompspts);
- Node216.a('node.startCompspts',Node216startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node216';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node216, Node216.getImage(), Node216compspts, Node216endCompspts, Node216startCompspts);
- var Node217points=[470, 726,470, 721],
- Node217rect=ht.Default.unionPoint([{x:470,y:726},{x:470,y:721}]),
- Node217compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node217points.length;i++){
- if(i%2==0){
- Node217compspts.push(Node217points[i]-Node217rect.x);
- }else{
- Node217compspts.push(Node217points[i]-Node217rect.y);
- }
- }
- var Node217ptslength=Node217compspts.length;
- if (Node217rect.height === 0) {
- Node217compspts[0] -= 0;
- Node217compspts[Node217ptslength-2] += 0;
- } else if (Node217rect.width === 0){
- Node217compspts[1] -= 0;
- Node217compspts[Node217ptslength-1] += 0;
- } else {
- Node217compspts[0] -= 0;
- Node217compspts[1] -= 0;
- Node217compspts[Node217ptslength-2] += 0;
- Node217compspts[Node217ptslength-1] += 0;
- }
- Node217 = new ht.Node();
- Node217.borderWidth = 1;
- Node217rect.width = Node217rect.width === 0 ? 0.0001 : Node217rect.width;
- Node217rect.height = Node217rect.height === 0 ? 0.0001 : Node217rect.height;
- var Node217endCompspts = [Node217compspts[Node217ptslength-2],Node217compspts[Node217ptslength-1],0,0];
- var Node217startCompspts = [Node217compspts[0],Node217compspts[1],0,0];
- Node217.setImage(GD.getPolyLineJSON());
- Node217.setPosition(Node217rect.x+Node217rect.width/2,Node217rect.y+Node217rect.height/2);
- Node217.setSize(Node217rect.width,Node217rect.height);
- Node217.setStyle("opacity",1);
- Node217.s({'pixelPerfect':true});
- Node217borderwidth=1;
- Node217.setRotation(0);
- dataModel.add(Node217);
- Node217.a('node.points',Node217compspts);
- Node217.a('node.segments',[1,2]);
- Node217.a('node.color','rgba(255,128,0,1)');
- Node217.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node217.a('node.borderColor','rgba(255,128,0,1)');
- Node217.a('node.background','rgba(255,128,0,1)');
- Node217.a('node.gradient','');
- Node217.a('node.gradientcolor','rgba(255,128,0,1)');
- Node217.a('node.endCompspts',Node217endCompspts);
- Node217.a('node.startCompspts',Node217startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node217';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node217, Node217.getImage(), Node217compspts, Node217endCompspts, Node217startCompspts);
- var Node218points=[330, 651,370, 651],
- Node218rect=ht.Default.unionPoint([{x:330,y:651},{x:370,y:651}]),
- Node218compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node218points.length;i++){
- if(i%2==0){
- Node218compspts.push(Node218points[i]-Node218rect.x);
- }else{
- Node218compspts.push(Node218points[i]-Node218rect.y);
- }
- }
- var Node218ptslength=Node218compspts.length;
- if (Node218rect.height === 0) {
- Node218compspts[0] -= 0;
- Node218compspts[Node218ptslength-2] += 0;
- } else if (Node218rect.width === 0){
- Node218compspts[1] -= 0;
- Node218compspts[Node218ptslength-1] += 0;
- } else {
- Node218compspts[0] -= 0;
- Node218compspts[1] -= 0;
- Node218compspts[Node218ptslength-2] += 0;
- Node218compspts[Node218ptslength-1] += 0;
- }
- Node218 = new ht.Node();
- Node218.borderWidth = 1;
- Node218rect.width = Node218rect.width === 0 ? 0.0001 : Node218rect.width;
- Node218rect.height = Node218rect.height === 0 ? 0.0001 : Node218rect.height;
- var Node218endCompspts = [Node218compspts[Node218ptslength-2],Node218compspts[Node218ptslength-1],0,0];
- var Node218startCompspts = [Node218compspts[0],Node218compspts[1],0,0];
- Node218.setImage(GD.getPolyLineJSON());
- Node218.setPosition(Node218rect.x+Node218rect.width/2,Node218rect.y+Node218rect.height/2);
- Node218.setSize(Node218rect.width,Node218rect.height);
- Node218.setStyle("opacity",1);
- Node218.s({'pixelPerfect':true});
- Node218borderwidth=1;
- Node218.setRotation(0);
- dataModel.add(Node218);
- Node218.a('node.points',Node218compspts);
- Node218.a('node.segments',[1,2]);
- Node218.a('node.color','rgba(255,128,0,1)');
- Node218.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node218.a('node.borderColor','rgba(255,128,0,1)');
- Node218.a('node.background','rgba(255,128,0,1)');
- Node218.a('node.gradient','');
- Node218.a('node.gradientcolor','rgba(255,128,0,1)');
- Node218.a('node.endCompspts',Node218endCompspts);
- Node218.a('node.startCompspts',Node218startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node218';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node218, Node218.getImage(), Node218compspts, Node218endCompspts, Node218startCompspts);
- var Node219points=[370, 662,370, 652],
- Node219rect=ht.Default.unionPoint([{x:370,y:662},{x:370,y:652}]),
- Node219compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node219points.length;i++){
- if(i%2==0){
- Node219compspts.push(Node219points[i]-Node219rect.x);
- }else{
- Node219compspts.push(Node219points[i]-Node219rect.y);
- }
- }
- var Node219ptslength=Node219compspts.length;
- if (Node219rect.height === 0) {
- Node219compspts[0] -= 0;
- Node219compspts[Node219ptslength-2] += 0;
- } else if (Node219rect.width === 0){
- Node219compspts[1] -= 0;
- Node219compspts[Node219ptslength-1] += 0;
- } else {
- Node219compspts[0] -= 0;
- Node219compspts[1] -= 0;
- Node219compspts[Node219ptslength-2] += 0;
- Node219compspts[Node219ptslength-1] += 0;
- }
- Node219 = new ht.Node();
- Node219.borderWidth = 1;
- Node219rect.width = Node219rect.width === 0 ? 0.0001 : Node219rect.width;
- Node219rect.height = Node219rect.height === 0 ? 0.0001 : Node219rect.height;
- var Node219endCompspts = [Node219compspts[Node219ptslength-2],Node219compspts[Node219ptslength-1],0,0];
- var Node219startCompspts = [Node219compspts[0],Node219compspts[1],0,0];
- Node219.setImage(GD.getPolyLineJSON());
- Node219.setPosition(Node219rect.x+Node219rect.width/2,Node219rect.y+Node219rect.height/2);
- Node219.setSize(Node219rect.width,Node219rect.height);
- Node219.setStyle("opacity",1);
- Node219.s({'pixelPerfect':true});
- Node219borderwidth=1;
- Node219.setRotation(0);
- dataModel.add(Node219);
- Node219.a('node.points',Node219compspts);
- Node219.a('node.segments',[1,2]);
- Node219.a('node.color','rgba(255,128,0,1)');
- Node219.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node219.a('node.borderColor','rgba(255,128,0,1)');
- Node219.a('node.background','rgba(255,128,0,1)');
- Node219.a('node.gradient','');
- Node219.a('node.gradientcolor','rgba(255,128,0,1)');
- Node219.a('node.endCompspts',Node219endCompspts);
- Node219.a('node.startCompspts',Node219startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node219';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node219, Node219.getImage(), Node219compspts, Node219endCompspts, Node219startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node220 = new ht.lib['黄色接地'](370*ratio.ratioX, 689*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node220');
- _libModel.add("Node220", Node220);
- Node220.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node221 = new ht.lib['矩形箭头上'](330*ratio.ratioX, 679*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node221');
- _libModel.add("Node221", Node221);
- Node221.setRotation(0*Math.PI/180);
- ;
- ;
- var Node222points=[350, 642,350, 732],
- Node222rect=ht.Default.unionPoint([{x:350,y:642},{x:350,y:732}]),
- Node222compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node222points.length;i++){
- if(i%2==0){
- Node222compspts.push(Node222points[i]-Node222rect.x);
- }else{
- Node222compspts.push(Node222points[i]-Node222rect.y);
- }
- }
- var Node222ptslength=Node222compspts.length;
- if (Node222rect.height === 0) {
- Node222compspts[0] -= 0;
- Node222compspts[Node222ptslength-2] += 0;
- } else if (Node222rect.width === 0){
- Node222compspts[1] -= 0;
- Node222compspts[Node222ptslength-1] += 0;
- } else {
- Node222compspts[0] -= 0;
- Node222compspts[1] -= 0;
- Node222compspts[Node222ptslength-2] += 0;
- Node222compspts[Node222ptslength-1] += 0;
- }
- Node222 = new ht.Node();
- Node222.borderWidth = 1;
- Node222rect.width = Node222rect.width === 0 ? 0.0001 : Node222rect.width;
- Node222rect.height = Node222rect.height === 0 ? 0.0001 : Node222rect.height;
- var Node222endCompspts = [Node222compspts[Node222ptslength-2],Node222compspts[Node222ptslength-1],0,0];
- var Node222startCompspts = [Node222compspts[0],Node222compspts[1],0,0];
- Node222.setImage(GD.getPolyLineJSON());
- Node222.setPosition(Node222rect.x+Node222rect.width/2,Node222rect.y+Node222rect.height/2);
- Node222.setSize(Node222rect.width,Node222rect.height);
- Node222.setStyle("opacity",1);
- Node222.s({'pixelPerfect':true});
- Node222borderwidth=1;
- Node222.setRotation(0);
- dataModel.add(Node222);
- Node222.a('node.points',Node222compspts);
- Node222.a('node.segments',[1,2]);
- Node222.a('node.color','rgba(255,128,0,1)');
- Node222.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node222.a('node.borderColor','rgba(255,128,0,1)');
- Node222.a('node.background','rgba(255,128,0,1)');
- Node222.a('node.gradient','');
- Node222.a('node.gradientcolor','rgba(255,128,0,1)');
- Node222.a('node.endCompspts',Node222endCompspts);
- Node222.a('node.startCompspts',Node222startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node222';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node222, Node222.getImage(), Node222compspts, Node222endCompspts, Node222startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node223 = new ht.lib['img'](349*ratio.ratioX, 731*ratio.ratioY, 9*_ratio.ratioX, 10*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node223');
- _libModel.add("Node223", Node223);
- Node223.setRotation(180*Math.PI/180);
- ;
- ;
- var Node224points=[530, 651,570, 651],
- Node224rect=ht.Default.unionPoint([{x:530,y:651},{x:570,y:651}]),
- Node224compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node224points.length;i++){
- if(i%2==0){
- Node224compspts.push(Node224points[i]-Node224rect.x);
- }else{
- Node224compspts.push(Node224points[i]-Node224rect.y);
- }
- }
- var Node224ptslength=Node224compspts.length;
- if (Node224rect.height === 0) {
- Node224compspts[0] -= 0;
- Node224compspts[Node224ptslength-2] += 0;
- } else if (Node224rect.width === 0){
- Node224compspts[1] -= 0;
- Node224compspts[Node224ptslength-1] += 0;
- } else {
- Node224compspts[0] -= 0;
- Node224compspts[1] -= 0;
- Node224compspts[Node224ptslength-2] += 0;
- Node224compspts[Node224ptslength-1] += 0;
- }
- Node224 = new ht.Node();
- Node224.borderWidth = 1;
- Node224rect.width = Node224rect.width === 0 ? 0.0001 : Node224rect.width;
- Node224rect.height = Node224rect.height === 0 ? 0.0001 : Node224rect.height;
- var Node224endCompspts = [Node224compspts[Node224ptslength-2],Node224compspts[Node224ptslength-1],0,0];
- var Node224startCompspts = [Node224compspts[0],Node224compspts[1],0,0];
- Node224.setImage(GD.getPolyLineJSON());
- Node224.setPosition(Node224rect.x+Node224rect.width/2,Node224rect.y+Node224rect.height/2);
- Node224.setSize(Node224rect.width,Node224rect.height);
- Node224.setStyle("opacity",1);
- Node224.s({'pixelPerfect':true});
- Node224borderwidth=1;
- Node224.setRotation(0);
- dataModel.add(Node224);
- Node224.a('node.points',Node224compspts);
- Node224.a('node.segments',[1,2]);
- Node224.a('node.color','rgba(255,128,0,1)');
- Node224.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node224.a('node.borderColor','rgba(255,128,0,1)');
- Node224.a('node.background','rgba(255,128,0,1)');
- Node224.a('node.gradient','');
- Node224.a('node.gradientcolor','rgba(255,128,0,1)');
- Node224.a('node.endCompspts',Node224endCompspts);
- Node224.a('node.startCompspts',Node224startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node224';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node224, Node224.getImage(), Node224compspts, Node224endCompspts, Node224startCompspts);
- var Node225points=[570, 662,570, 652],
- Node225rect=ht.Default.unionPoint([{x:570,y:662},{x:570,y:652}]),
- Node225compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node225points.length;i++){
- if(i%2==0){
- Node225compspts.push(Node225points[i]-Node225rect.x);
- }else{
- Node225compspts.push(Node225points[i]-Node225rect.y);
- }
- }
- var Node225ptslength=Node225compspts.length;
- if (Node225rect.height === 0) {
- Node225compspts[0] -= 0;
- Node225compspts[Node225ptslength-2] += 0;
- } else if (Node225rect.width === 0){
- Node225compspts[1] -= 0;
- Node225compspts[Node225ptslength-1] += 0;
- } else {
- Node225compspts[0] -= 0;
- Node225compspts[1] -= 0;
- Node225compspts[Node225ptslength-2] += 0;
- Node225compspts[Node225ptslength-1] += 0;
- }
- Node225 = new ht.Node();
- Node225.borderWidth = 1;
- Node225rect.width = Node225rect.width === 0 ? 0.0001 : Node225rect.width;
- Node225rect.height = Node225rect.height === 0 ? 0.0001 : Node225rect.height;
- var Node225endCompspts = [Node225compspts[Node225ptslength-2],Node225compspts[Node225ptslength-1],0,0];
- var Node225startCompspts = [Node225compspts[0],Node225compspts[1],0,0];
- Node225.setImage(GD.getPolyLineJSON());
- Node225.setPosition(Node225rect.x+Node225rect.width/2,Node225rect.y+Node225rect.height/2);
- Node225.setSize(Node225rect.width,Node225rect.height);
- Node225.setStyle("opacity",1);
- Node225.s({'pixelPerfect':true});
- Node225borderwidth=1;
- Node225.setRotation(0);
- dataModel.add(Node225);
- Node225.a('node.points',Node225compspts);
- Node225.a('node.segments',[1,2]);
- Node225.a('node.color','rgba(255,128,0,1)');
- Node225.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node225.a('node.borderColor','rgba(255,128,0,1)');
- Node225.a('node.background','rgba(255,128,0,1)');
- Node225.a('node.gradient','');
- Node225.a('node.gradientcolor','rgba(255,128,0,1)');
- Node225.a('node.endCompspts',Node225endCompspts);
- Node225.a('node.startCompspts',Node225startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node225';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node225, Node225.getImage(), Node225compspts, Node225endCompspts, Node225startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node226 = new ht.lib['黄色接地'](570*ratio.ratioX, 690*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node226');
- _libModel.add("Node226", Node226);
- Node226.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node227 = new ht.lib['矩形箭头上'](530*ratio.ratioX, 679*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node227');
- _libModel.add("Node227", Node227);
- Node227.setRotation(0*Math.PI/180);
- ;
- ;
- var Node228points=[550, 642,550, 732],
- Node228rect=ht.Default.unionPoint([{x:550,y:642},{x:550,y:732}]),
- Node228compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node228points.length;i++){
- if(i%2==0){
- Node228compspts.push(Node228points[i]-Node228rect.x);
- }else{
- Node228compspts.push(Node228points[i]-Node228rect.y);
- }
- }
- var Node228ptslength=Node228compspts.length;
- if (Node228rect.height === 0) {
- Node228compspts[0] -= 0;
- Node228compspts[Node228ptslength-2] += 0;
- } else if (Node228rect.width === 0){
- Node228compspts[1] -= 0;
- Node228compspts[Node228ptslength-1] += 0;
- } else {
- Node228compspts[0] -= 0;
- Node228compspts[1] -= 0;
- Node228compspts[Node228ptslength-2] += 0;
- Node228compspts[Node228ptslength-1] += 0;
- }
- Node228 = new ht.Node();
- Node228.borderWidth = 1;
- Node228rect.width = Node228rect.width === 0 ? 0.0001 : Node228rect.width;
- Node228rect.height = Node228rect.height === 0 ? 0.0001 : Node228rect.height;
- var Node228endCompspts = [Node228compspts[Node228ptslength-2],Node228compspts[Node228ptslength-1],0,0];
- var Node228startCompspts = [Node228compspts[0],Node228compspts[1],0,0];
- Node228.setImage(GD.getPolyLineJSON());
- Node228.setPosition(Node228rect.x+Node228rect.width/2,Node228rect.y+Node228rect.height/2);
- Node228.setSize(Node228rect.width,Node228rect.height);
- Node228.setStyle("opacity",1);
- Node228.s({'pixelPerfect':true});
- Node228borderwidth=1;
- Node228.setRotation(0);
- dataModel.add(Node228);
- Node228.a('node.points',Node228compspts);
- Node228.a('node.segments',[1,2]);
- Node228.a('node.color','rgba(255,128,0,1)');
- Node228.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node228.a('node.borderColor','rgba(255,128,0,1)');
- Node228.a('node.background','rgba(255,128,0,1)');
- Node228.a('node.gradient','');
- Node228.a('node.gradientcolor','rgba(255,128,0,1)');
- Node228.a('node.endCompspts',Node228endCompspts);
- Node228.a('node.startCompspts',Node228startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node228';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node228, Node228.getImage(), Node228compspts, Node228endCompspts, Node228startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node229 = new ht.lib['黄双园'](552*ratio.ratioX, 753*ratio.ratioY, 29*_ratio.ratioX, 49*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node229');
- _libModel.add("Node229", Node229);
- Node229.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node230 = new ht.Node();
- var Node230textStart, Node230textWidth, Node230lineStart, Node230align = 'left', Node230fontSize = 13.3333*_ratio.ratioY,Node230width = 43*_ratio.ratioX, Node230height = 25*_ratio.ratioY;
- (function () {
- if (Node230align === 'left') {
- Node230textStart = Node230fontSize * 0.2 > 2 ? Node230fontSize * 0.2 - 4 : Node230fontSize * 0.2 - 9;
- Node230textWidth = Node230width;
- Node230lineStart = 1;
- } else if (Node230align === 'right') {
- Node230textStart = 0;
- Node230textWidth =Node230fontSize <= 8 ? Node230width + Node230fontSize * 0.2 + 6 : Node230width - Node230fontSize * 0.2;
- Node230lineStart = (Node230width - (ht.Default.getTextSize('318-0', ' '+ Node230fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node230align === 'center') {
- Node230textStart = -3;
- Node230textWidth = Node230width;
- Node230lineStart = Node230width - ht.Default.getTextSize('318-0', ' '+ Node230fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node230.setImage(GD.getTextJSON(Node230width, Node230height, true, false, false, ' '+ Node230fontSize + 'px "Arial"'))
- Node230.setPosition(576*ratio.ratioX, 719*ratio.ratioY);
- Node230.setWidth(Node230width);
- Node230.setHeight(Node230height);
- Node230._nodeType = 'text';
- Node230._disallowEvert = true;
- Node230.setRotation(0*Math.PI/180);
- Node230.a('node.width', Node230width);
- Node230.a('node.height', Node230height);
- Node230.a('node.rect', [0, 0, Node230width, Node230height]);
- Node230.a('node.bordercolor','rgba(0,0,0,1)');
- Node230.a('node.borderwidth', 0);
- Node230.a('node.background','' || 'rgba(0,0,0,0)');
- Node230.a('node.gradient','');
- Node230.a('node.gradientcolor','');
- Node230.a('node.text','318-0');
- Node230.a('node.textalign','left');
- Node230.a('node.textvAlign','middle');
- Node230.a('node.textrect', [Node230textStart, 0, Node230textWidth, Node230height]);
- Node230.a('node.color','rgba(0,0,0,1)');
- Node230.a('node.font',' '+ Node230fontSize + 'px "Arial"');
- Node230.a('node.textvisible',true);
- Node230.a('node.linefeed',false);
- if (false) {
- Node230.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node230.a('node.text') || '318-0';
- var color=Node230.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node230width,Node230height,13.3333*_ratio.ratioY,"left",color,' '+ Node230fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node230.a('node.underlinepoints',[Node230lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node230fontSize + 2 , ht.Default.getTextSize('318-0', ' '+ Node230fontSize + 'px "Arial"').width + 6, (Node230height - Node230fontSize) * 0.5*_ratio.ratioY + Node230fontSize + 2 ]);
- Node230.a('node.underlinevisible',false);
- Node230.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node230);
- zoomNodeList.push({
- node: Node230,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node231 = new ht.Node();
- var Node231textStart, Node231textWidth, Node231lineStart, Node231align = 'left', Node231fontSize = 13.3333*_ratio.ratioY,Node231width = 43*_ratio.ratioX, Node231height = 25*_ratio.ratioY;
- (function () {
- if (Node231align === 'left') {
- Node231textStart = Node231fontSize * 0.2 > 2 ? Node231fontSize * 0.2 - 4 : Node231fontSize * 0.2 - 9;
- Node231textWidth = Node231width;
- Node231lineStart = 1;
- } else if (Node231align === 'right') {
- Node231textStart = 0;
- Node231textWidth =Node231fontSize <= 8 ? Node231width + Node231fontSize * 0.2 + 6 : Node231width - Node231fontSize * 0.2;
- Node231lineStart = (Node231width - (ht.Default.getTextSize('311-0', ' '+ Node231fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node231align === 'center') {
- Node231textStart = -3;
- Node231textWidth = Node231width;
- Node231lineStart = Node231width - ht.Default.getTextSize('311-0', ' '+ Node231fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node231.setImage(GD.getTextJSON(Node231width, Node231height, true, false, false, ' '+ Node231fontSize + 'px "Arial"'))
- Node231.setPosition(667*ratio.ratioX, 719*ratio.ratioY);
- Node231.setWidth(Node231width);
- Node231.setHeight(Node231height);
- Node231._nodeType = 'text';
- Node231._disallowEvert = true;
- Node231.setRotation(0*Math.PI/180);
- Node231.a('node.width', Node231width);
- Node231.a('node.height', Node231height);
- Node231.a('node.rect', [0, 0, Node231width, Node231height]);
- Node231.a('node.bordercolor','rgba(0,0,0,1)');
- Node231.a('node.borderwidth', 0);
- Node231.a('node.background','' || 'rgba(0,0,0,0)');
- Node231.a('node.gradient','');
- Node231.a('node.gradientcolor','');
- Node231.a('node.text','311-0');
- Node231.a('node.textalign','left');
- Node231.a('node.textvAlign','middle');
- Node231.a('node.textrect', [Node231textStart, 0, Node231textWidth, Node231height]);
- Node231.a('node.color','rgba(0,0,0,1)');
- Node231.a('node.font',' '+ Node231fontSize + 'px "Arial"');
- Node231.a('node.textvisible',true);
- Node231.a('node.linefeed',false);
- if (false) {
- Node231.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node231.a('node.text') || '311-0';
- var color=Node231.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node231width,Node231height,13.3333*_ratio.ratioY,"left",color,' '+ Node231fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node231.a('node.underlinepoints',[Node231lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node231fontSize + 2 , ht.Default.getTextSize('311-0', ' '+ Node231fontSize + 'px "Arial"').width + 6, (Node231height - Node231fontSize) * 0.5*_ratio.ratioY + Node231fontSize + 2 ]);
- Node231.a('node.underlinevisible',false);
- Node231.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node231);
- zoomNodeList.push({
- node: Node231,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node232 = new ht.Node();
- var Node232textStart, Node232textWidth, Node232lineStart, Node232align = 'left', Node232fontSize = 13.3333*_ratio.ratioY,Node232width = 43*_ratio.ratioX, Node232height = 25*_ratio.ratioY;
- (function () {
- if (Node232align === 'left') {
- Node232textStart = Node232fontSize * 0.2 > 2 ? Node232fontSize * 0.2 - 4 : Node232fontSize * 0.2 - 9;
- Node232textWidth = Node232width;
- Node232lineStart = 1;
- } else if (Node232align === 'right') {
- Node232textStart = 0;
- Node232textWidth =Node232fontSize <= 8 ? Node232width + Node232fontSize * 0.2 + 6 : Node232width - Node232fontSize * 0.2;
- Node232lineStart = (Node232width - (ht.Default.getTextSize('312-0', ' '+ Node232fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node232align === 'center') {
- Node232textStart = -3;
- Node232textWidth = Node232width;
- Node232lineStart = Node232width - ht.Default.getTextSize('312-0', ' '+ Node232fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node232.setImage(GD.getTextJSON(Node232width, Node232height, true, false, false, ' '+ Node232fontSize + 'px "Arial"'))
- Node232.setPosition(757*ratio.ratioX, 719*ratio.ratioY);
- Node232.setWidth(Node232width);
- Node232.setHeight(Node232height);
- Node232._nodeType = 'text';
- Node232._disallowEvert = true;
- Node232.setRotation(0*Math.PI/180);
- Node232.a('node.width', Node232width);
- Node232.a('node.height', Node232height);
- Node232.a('node.rect', [0, 0, Node232width, Node232height]);
- Node232.a('node.bordercolor','rgba(0,0,0,1)');
- Node232.a('node.borderwidth', 0);
- Node232.a('node.background','' || 'rgba(0,0,0,0)');
- Node232.a('node.gradient','');
- Node232.a('node.gradientcolor','');
- Node232.a('node.text','312-0');
- Node232.a('node.textalign','left');
- Node232.a('node.textvAlign','middle');
- Node232.a('node.textrect', [Node232textStart, 0, Node232textWidth, Node232height]);
- Node232.a('node.color','rgba(0,0,0,1)');
- Node232.a('node.font',' '+ Node232fontSize + 'px "Arial"');
- Node232.a('node.textvisible',true);
- Node232.a('node.linefeed',false);
- if (false) {
- Node232.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node232.a('node.text') || '312-0';
- var color=Node232.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node232width,Node232height,13.3333*_ratio.ratioY,"left",color,' '+ Node232fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node232.a('node.underlinepoints',[Node232lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node232fontSize + 2 , ht.Default.getTextSize('312-0', ' '+ Node232fontSize + 'px "Arial"').width + 6, (Node232height - Node232fontSize) * 0.5*_ratio.ratioY + Node232fontSize + 2 ]);
- Node232.a('node.underlinevisible',false);
- Node232.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node232);
- zoomNodeList.push({
- node: Node232,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node233 = new ht.Node();
- var Node233textStart, Node233textWidth, Node233lineStart, Node233align = 'left', Node233fontSize = 13.3333*_ratio.ratioY,Node233width = 43*_ratio.ratioX, Node233height = 25*_ratio.ratioY;
- (function () {
- if (Node233align === 'left') {
- Node233textStart = Node233fontSize * 0.2 > 2 ? Node233fontSize * 0.2 - 4 : Node233fontSize * 0.2 - 9;
- Node233textWidth = Node233width;
- Node233lineStart = 1;
- } else if (Node233align === 'right') {
- Node233textStart = 0;
- Node233textWidth =Node233fontSize <= 8 ? Node233width + Node233fontSize * 0.2 + 6 : Node233width - Node233fontSize * 0.2;
- Node233lineStart = (Node233width - (ht.Default.getTextSize('313-0', ' '+ Node233fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node233align === 'center') {
- Node233textStart = -3;
- Node233textWidth = Node233width;
- Node233lineStart = Node233width - ht.Default.getTextSize('313-0', ' '+ Node233fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node233.setImage(GD.getTextJSON(Node233width, Node233height, true, false, false, ' '+ Node233fontSize + 'px "Arial"'))
- Node233.setPosition(847*ratio.ratioX, 718*ratio.ratioY);
- Node233.setWidth(Node233width);
- Node233.setHeight(Node233height);
- Node233._nodeType = 'text';
- Node233._disallowEvert = true;
- Node233.setRotation(0*Math.PI/180);
- Node233.a('node.width', Node233width);
- Node233.a('node.height', Node233height);
- Node233.a('node.rect', [0, 0, Node233width, Node233height]);
- Node233.a('node.bordercolor','rgba(0,0,0,1)');
- Node233.a('node.borderwidth', 0);
- Node233.a('node.background','' || 'rgba(0,0,0,0)');
- Node233.a('node.gradient','');
- Node233.a('node.gradientcolor','');
- Node233.a('node.text','313-0');
- Node233.a('node.textalign','left');
- Node233.a('node.textvAlign','middle');
- Node233.a('node.textrect', [Node233textStart, 0, Node233textWidth, Node233height]);
- Node233.a('node.color','rgba(0,0,0,1)');
- Node233.a('node.font',' '+ Node233fontSize + 'px "Arial"');
- Node233.a('node.textvisible',true);
- Node233.a('node.linefeed',false);
- if (false) {
- Node233.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node233.a('node.text') || '313-0';
- var color=Node233.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node233width,Node233height,13.3333*_ratio.ratioY,"left",color,' '+ Node233fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node233.a('node.underlinepoints',[Node233lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node233fontSize + 2 , ht.Default.getTextSize('313-0', ' '+ Node233fontSize + 'px "Arial"').width + 6, (Node233height - Node233fontSize) * 0.5*_ratio.ratioY + Node233fontSize + 2 ]);
- Node233.a('node.underlinevisible',false);
- Node233.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node233);
- zoomNodeList.push({
- node: Node233,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node234points=[1000, 582,1000, 592],
- Node234rect=ht.Default.unionPoint([{x:1000,y:582},{x:1000,y:592}]),
- Node234compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node234points.length;i++){
- if(i%2==0){
- Node234compspts.push(Node234points[i]-Node234rect.x);
- }else{
- Node234compspts.push(Node234points[i]-Node234rect.y);
- }
- }
- var Node234ptslength=Node234compspts.length;
- if (Node234rect.height === 0) {
- Node234compspts[0] -= 0;
- Node234compspts[Node234ptslength-2] += 0;
- } else if (Node234rect.width === 0){
- Node234compspts[1] -= 0;
- Node234compspts[Node234ptslength-1] += 0;
- } else {
- Node234compspts[0] -= 0;
- Node234compspts[1] -= 0;
- Node234compspts[Node234ptslength-2] += 0;
- Node234compspts[Node234ptslength-1] += 0;
- }
- Node234 = new ht.Node();
- Node234.borderWidth = 1;
- Node234rect.width = Node234rect.width === 0 ? 0.0001 : Node234rect.width;
- Node234rect.height = Node234rect.height === 0 ? 0.0001 : Node234rect.height;
- var Node234endCompspts = [Node234compspts[Node234ptslength-2],Node234compspts[Node234ptslength-1],0,0];
- var Node234startCompspts = [Node234compspts[0],Node234compspts[1],0,0];
- Node234.setImage(GD.getPolyLineJSON());
- Node234.setPosition(Node234rect.x+Node234rect.width/2,Node234rect.y+Node234rect.height/2);
- Node234.setSize(Node234rect.width,Node234rect.height);
- Node234.setStyle("opacity",1);
- Node234.s({'pixelPerfect':true});
- Node234borderwidth=1;
- Node234.setRotation(0);
- dataModel.add(Node234);
- Node234.a('node.points',Node234compspts);
- Node234.a('node.segments',[1,2]);
- Node234.a('node.color','rgba(255,128,0,1)');
- Node234.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node234.a('node.borderColor','rgba(255,128,0,1)');
- Node234.a('node.background','rgba(255,128,0,1)');
- Node234.a('node.gradient','');
- Node234.a('node.gradientcolor','rgba(255,128,0,1)');
- Node234.a('node.endCompspts',Node234endCompspts);
- Node234.a('node.startCompspts',Node234startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node234';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node234, Node234.getImage(), Node234compspts, Node234endCompspts, Node234startCompspts);
- var Node235points=[1180, 582,1180, 592],
- Node235rect=ht.Default.unionPoint([{x:1180,y:582},{x:1180,y:592}]),
- Node235compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node235points.length;i++){
- if(i%2==0){
- Node235compspts.push(Node235points[i]-Node235rect.x);
- }else{
- Node235compspts.push(Node235points[i]-Node235rect.y);
- }
- }
- var Node235ptslength=Node235compspts.length;
- if (Node235rect.height === 0) {
- Node235compspts[0] -= 0;
- Node235compspts[Node235ptslength-2] += 0;
- } else if (Node235rect.width === 0){
- Node235compspts[1] -= 0;
- Node235compspts[Node235ptslength-1] += 0;
- } else {
- Node235compspts[0] -= 0;
- Node235compspts[1] -= 0;
- Node235compspts[Node235ptslength-2] += 0;
- Node235compspts[Node235ptslength-1] += 0;
- }
- Node235 = new ht.Node();
- Node235.borderWidth = 1;
- Node235rect.width = Node235rect.width === 0 ? 0.0001 : Node235rect.width;
- Node235rect.height = Node235rect.height === 0 ? 0.0001 : Node235rect.height;
- var Node235endCompspts = [Node235compspts[Node235ptslength-2],Node235compspts[Node235ptslength-1],0,0];
- var Node235startCompspts = [Node235compspts[0],Node235compspts[1],0,0];
- Node235.setImage(GD.getPolyLineJSON());
- Node235.setPosition(Node235rect.x+Node235rect.width/2,Node235rect.y+Node235rect.height/2);
- Node235.setSize(Node235rect.width,Node235rect.height);
- Node235.setStyle("opacity",1);
- Node235.s({'pixelPerfect':true});
- Node235borderwidth=1;
- Node235.setRotation(0);
- dataModel.add(Node235);
- Node235.a('node.points',Node235compspts);
- Node235.a('node.segments',[1,2]);
- Node235.a('node.color','rgba(255,128,0,1)');
- Node235.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node235.a('node.borderColor','rgba(255,128,0,1)');
- Node235.a('node.background','rgba(255,128,0,1)');
- Node235.a('node.gradient','');
- Node235.a('node.gradientcolor','rgba(255,128,0,1)');
- Node235.a('node.endCompspts',Node235endCompspts);
- Node235.a('node.startCompspts',Node235startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node235';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node235, Node235.getImage(), Node235compspts, Node235endCompspts, Node235startCompspts);
- var Node236points=[1090, 582,1090, 592],
- Node236rect=ht.Default.unionPoint([{x:1090,y:582},{x:1090,y:592}]),
- Node236compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node236points.length;i++){
- if(i%2==0){
- Node236compspts.push(Node236points[i]-Node236rect.x);
- }else{
- Node236compspts.push(Node236points[i]-Node236rect.y);
- }
- }
- var Node236ptslength=Node236compspts.length;
- if (Node236rect.height === 0) {
- Node236compspts[0] -= 0;
- Node236compspts[Node236ptslength-2] += 0;
- } else if (Node236rect.width === 0){
- Node236compspts[1] -= 0;
- Node236compspts[Node236ptslength-1] += 0;
- } else {
- Node236compspts[0] -= 0;
- Node236compspts[1] -= 0;
- Node236compspts[Node236ptslength-2] += 0;
- Node236compspts[Node236ptslength-1] += 0;
- }
- Node236 = new ht.Node();
- Node236.borderWidth = 1;
- Node236rect.width = Node236rect.width === 0 ? 0.0001 : Node236rect.width;
- Node236rect.height = Node236rect.height === 0 ? 0.0001 : Node236rect.height;
- var Node236endCompspts = [Node236compspts[Node236ptslength-2],Node236compspts[Node236ptslength-1],0,0];
- var Node236startCompspts = [Node236compspts[0],Node236compspts[1],0,0];
- Node236.setImage(GD.getPolyLineJSON());
- Node236.setPosition(Node236rect.x+Node236rect.width/2,Node236rect.y+Node236rect.height/2);
- Node236.setSize(Node236rect.width,Node236rect.height);
- Node236.setStyle("opacity",1);
- Node236.s({'pixelPerfect':true});
- Node236borderwidth=1;
- Node236.setRotation(0);
- dataModel.add(Node236);
- Node236.a('node.points',Node236compspts);
- Node236.a('node.segments',[1,2]);
- Node236.a('node.color','rgba(255,128,0,1)');
- Node236.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node236.a('node.borderColor','rgba(255,128,0,1)');
- Node236.a('node.background','rgba(255,128,0,1)');
- Node236.a('node.gradient','');
- Node236.a('node.gradientcolor','rgba(255,128,0,1)');
- Node236.a('node.endCompspts',Node236endCompspts);
- Node236.a('node.startCompspts',Node236startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node236';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node236, Node236.getImage(), Node236compspts, Node236endCompspts, Node236startCompspts);
- var Node237points=[1270, 582,1270, 592],
- Node237rect=ht.Default.unionPoint([{x:1270,y:582},{x:1270,y:592}]),
- Node237compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node237points.length;i++){
- if(i%2==0){
- Node237compspts.push(Node237points[i]-Node237rect.x);
- }else{
- Node237compspts.push(Node237points[i]-Node237rect.y);
- }
- }
- var Node237ptslength=Node237compspts.length;
- if (Node237rect.height === 0) {
- Node237compspts[0] -= 0;
- Node237compspts[Node237ptslength-2] += 0;
- } else if (Node237rect.width === 0){
- Node237compspts[1] -= 0;
- Node237compspts[Node237ptslength-1] += 0;
- } else {
- Node237compspts[0] -= 0;
- Node237compspts[1] -= 0;
- Node237compspts[Node237ptslength-2] += 0;
- Node237compspts[Node237ptslength-1] += 0;
- }
- Node237 = new ht.Node();
- Node237.borderWidth = 1;
- Node237rect.width = Node237rect.width === 0 ? 0.0001 : Node237rect.width;
- Node237rect.height = Node237rect.height === 0 ? 0.0001 : Node237rect.height;
- var Node237endCompspts = [Node237compspts[Node237ptslength-2],Node237compspts[Node237ptslength-1],0,0];
- var Node237startCompspts = [Node237compspts[0],Node237compspts[1],0,0];
- Node237.setImage(GD.getPolyLineJSON());
- Node237.setPosition(Node237rect.x+Node237rect.width/2,Node237rect.y+Node237rect.height/2);
- Node237.setSize(Node237rect.width,Node237rect.height);
- Node237.setStyle("opacity",1);
- Node237.s({'pixelPerfect':true});
- Node237borderwidth=1;
- Node237.setRotation(0);
- dataModel.add(Node237);
- Node237.a('node.points',Node237compspts);
- Node237.a('node.segments',[1,2]);
- Node237.a('node.color','rgba(255,128,0,1)');
- Node237.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node237.a('node.borderColor','rgba(255,128,0,1)');
- Node237.a('node.background','rgba(255,128,0,1)');
- Node237.a('node.gradient','');
- Node237.a('node.gradientcolor','rgba(255,128,0,1)');
- Node237.a('node.endCompspts',Node237endCompspts);
- Node237.a('node.startCompspts',Node237startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node237';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node237, Node237.getImage(), Node237compspts, Node237endCompspts, Node237startCompspts);
- var Node238points=[1360, 582,1360, 592],
- Node238rect=ht.Default.unionPoint([{x:1360,y:582},{x:1360,y:592}]),
- Node238compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node238points.length;i++){
- if(i%2==0){
- Node238compspts.push(Node238points[i]-Node238rect.x);
- }else{
- Node238compspts.push(Node238points[i]-Node238rect.y);
- }
- }
- var Node238ptslength=Node238compspts.length;
- if (Node238rect.height === 0) {
- Node238compspts[0] -= 0;
- Node238compspts[Node238ptslength-2] += 0;
- } else if (Node238rect.width === 0){
- Node238compspts[1] -= 0;
- Node238compspts[Node238ptslength-1] += 0;
- } else {
- Node238compspts[0] -= 0;
- Node238compspts[1] -= 0;
- Node238compspts[Node238ptslength-2] += 0;
- Node238compspts[Node238ptslength-1] += 0;
- }
- Node238 = new ht.Node();
- Node238.borderWidth = 1;
- Node238rect.width = Node238rect.width === 0 ? 0.0001 : Node238rect.width;
- Node238rect.height = Node238rect.height === 0 ? 0.0001 : Node238rect.height;
- var Node238endCompspts = [Node238compspts[Node238ptslength-2],Node238compspts[Node238ptslength-1],0,0];
- var Node238startCompspts = [Node238compspts[0],Node238compspts[1],0,0];
- Node238.setImage(GD.getPolyLineJSON());
- Node238.setPosition(Node238rect.x+Node238rect.width/2,Node238rect.y+Node238rect.height/2);
- Node238.setSize(Node238rect.width,Node238rect.height);
- Node238.setStyle("opacity",1);
- Node238.s({'pixelPerfect':true});
- Node238borderwidth=1;
- Node238.setRotation(0);
- dataModel.add(Node238);
- Node238.a('node.points',Node238compspts);
- Node238.a('node.segments',[1,2]);
- Node238.a('node.color','rgba(255,128,0,1)');
- Node238.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node238.a('node.borderColor','rgba(255,128,0,1)');
- Node238.a('node.background','rgba(255,128,0,1)');
- Node238.a('node.gradient','');
- Node238.a('node.gradientcolor','rgba(255,128,0,1)');
- Node238.a('node.endCompspts',Node238endCompspts);
- Node238.a('node.startCompspts',Node238startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node238';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node238, Node238.getImage(), Node238compspts, Node238endCompspts, Node238startCompspts);
- var Node239points=[1450, 582,1450, 592],
- Node239rect=ht.Default.unionPoint([{x:1450,y:582},{x:1450,y:592}]),
- Node239compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node239points.length;i++){
- if(i%2==0){
- Node239compspts.push(Node239points[i]-Node239rect.x);
- }else{
- Node239compspts.push(Node239points[i]-Node239rect.y);
- }
- }
- var Node239ptslength=Node239compspts.length;
- if (Node239rect.height === 0) {
- Node239compspts[0] -= 0;
- Node239compspts[Node239ptslength-2] += 0;
- } else if (Node239rect.width === 0){
- Node239compspts[1] -= 0;
- Node239compspts[Node239ptslength-1] += 0;
- } else {
- Node239compspts[0] -= 0;
- Node239compspts[1] -= 0;
- Node239compspts[Node239ptslength-2] += 0;
- Node239compspts[Node239ptslength-1] += 0;
- }
- Node239 = new ht.Node();
- Node239.borderWidth = 1;
- Node239rect.width = Node239rect.width === 0 ? 0.0001 : Node239rect.width;
- Node239rect.height = Node239rect.height === 0 ? 0.0001 : Node239rect.height;
- var Node239endCompspts = [Node239compspts[Node239ptslength-2],Node239compspts[Node239ptslength-1],0,0];
- var Node239startCompspts = [Node239compspts[0],Node239compspts[1],0,0];
- Node239.setImage(GD.getPolyLineJSON());
- Node239.setPosition(Node239rect.x+Node239rect.width/2,Node239rect.y+Node239rect.height/2);
- Node239.setSize(Node239rect.width,Node239rect.height);
- Node239.setStyle("opacity",1);
- Node239.s({'pixelPerfect':true});
- Node239borderwidth=1;
- Node239.setRotation(0);
- dataModel.add(Node239);
- Node239.a('node.points',Node239compspts);
- Node239.a('node.segments',[1,2]);
- Node239.a('node.color','rgba(255,128,0,1)');
- Node239.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node239.a('node.borderColor','rgba(255,128,0,1)');
- Node239.a('node.background','rgba(255,128,0,1)');
- Node239.a('node.gradient','');
- Node239.a('node.gradientcolor','rgba(255,128,0,1)');
- Node239.a('node.endCompspts',Node239endCompspts);
- Node239.a('node.startCompspts',Node239startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node239';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node239, Node239.getImage(), Node239compspts, Node239endCompspts, Node239startCompspts);
- var Node240points=[1540, 582,1540, 592],
- Node240rect=ht.Default.unionPoint([{x:1540,y:582},{x:1540,y:592}]),
- Node240compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node240points.length;i++){
- if(i%2==0){
- Node240compspts.push(Node240points[i]-Node240rect.x);
- }else{
- Node240compspts.push(Node240points[i]-Node240rect.y);
- }
- }
- var Node240ptslength=Node240compspts.length;
- if (Node240rect.height === 0) {
- Node240compspts[0] -= 0;
- Node240compspts[Node240ptslength-2] += 0;
- } else if (Node240rect.width === 0){
- Node240compspts[1] -= 0;
- Node240compspts[Node240ptslength-1] += 0;
- } else {
- Node240compspts[0] -= 0;
- Node240compspts[1] -= 0;
- Node240compspts[Node240ptslength-2] += 0;
- Node240compspts[Node240ptslength-1] += 0;
- }
- Node240 = new ht.Node();
- Node240.borderWidth = 1;
- Node240rect.width = Node240rect.width === 0 ? 0.0001 : Node240rect.width;
- Node240rect.height = Node240rect.height === 0 ? 0.0001 : Node240rect.height;
- var Node240endCompspts = [Node240compspts[Node240ptslength-2],Node240compspts[Node240ptslength-1],0,0];
- var Node240startCompspts = [Node240compspts[0],Node240compspts[1],0,0];
- Node240.setImage(GD.getPolyLineJSON());
- Node240.setPosition(Node240rect.x+Node240rect.width/2,Node240rect.y+Node240rect.height/2);
- Node240.setSize(Node240rect.width,Node240rect.height);
- Node240.setStyle("opacity",1);
- Node240.s({'pixelPerfect':true});
- Node240borderwidth=1;
- Node240.setRotation(0);
- dataModel.add(Node240);
- Node240.a('node.points',Node240compspts);
- Node240.a('node.segments',[1,2]);
- Node240.a('node.color','rgba(255,128,0,1)');
- Node240.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node240.a('node.borderColor','rgba(255,128,0,1)');
- Node240.a('node.background','rgba(255,128,0,1)');
- Node240.a('node.gradient','');
- Node240.a('node.gradientcolor','rgba(255,128,0,1)');
- Node240.a('node.endCompspts',Node240endCompspts);
- Node240.a('node.startCompspts',Node240startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node240';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node240, Node240.getImage(), Node240compspts, Node240endCompspts, Node240startCompspts);
- var Node241points=[1630, 582,1630, 592],
- Node241rect=ht.Default.unionPoint([{x:1630,y:582},{x:1630,y:592}]),
- Node241compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node241points.length;i++){
- if(i%2==0){
- Node241compspts.push(Node241points[i]-Node241rect.x);
- }else{
- Node241compspts.push(Node241points[i]-Node241rect.y);
- }
- }
- var Node241ptslength=Node241compspts.length;
- if (Node241rect.height === 0) {
- Node241compspts[0] -= 0;
- Node241compspts[Node241ptslength-2] += 0;
- } else if (Node241rect.width === 0){
- Node241compspts[1] -= 0;
- Node241compspts[Node241ptslength-1] += 0;
- } else {
- Node241compspts[0] -= 0;
- Node241compspts[1] -= 0;
- Node241compspts[Node241ptslength-2] += 0;
- Node241compspts[Node241ptslength-1] += 0;
- }
- Node241 = new ht.Node();
- Node241.borderWidth = 1;
- Node241rect.width = Node241rect.width === 0 ? 0.0001 : Node241rect.width;
- Node241rect.height = Node241rect.height === 0 ? 0.0001 : Node241rect.height;
- var Node241endCompspts = [Node241compspts[Node241ptslength-2],Node241compspts[Node241ptslength-1],0,0];
- var Node241startCompspts = [Node241compspts[0],Node241compspts[1],0,0];
- Node241.setImage(GD.getPolyLineJSON());
- Node241.setPosition(Node241rect.x+Node241rect.width/2,Node241rect.y+Node241rect.height/2);
- Node241.setSize(Node241rect.width,Node241rect.height);
- Node241.setStyle("opacity",1);
- Node241.s({'pixelPerfect':true});
- Node241borderwidth=1;
- Node241.setRotation(0);
- dataModel.add(Node241);
- Node241.a('node.points',Node241compspts);
- Node241.a('node.segments',[1,2]);
- Node241.a('node.color','rgba(255,128,0,1)');
- Node241.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node241.a('node.borderColor','rgba(255,128,0,1)');
- Node241.a('node.background','rgba(255,128,0,1)');
- Node241.a('node.gradient','');
- Node241.a('node.gradientcolor','rgba(255,128,0,1)');
- Node241.a('node.endCompspts',Node241endCompspts);
- Node241.a('node.startCompspts',Node241startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node241';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node241, Node241.getImage(), Node241compspts, Node241endCompspts, Node241startCompspts);
- var Node242points=[1720, 582,1720, 592],
- Node242rect=ht.Default.unionPoint([{x:1720,y:582},{x:1720,y:592}]),
- Node242compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node242points.length;i++){
- if(i%2==0){
- Node242compspts.push(Node242points[i]-Node242rect.x);
- }else{
- Node242compspts.push(Node242points[i]-Node242rect.y);
- }
- }
- var Node242ptslength=Node242compspts.length;
- if (Node242rect.height === 0) {
- Node242compspts[0] -= 0;
- Node242compspts[Node242ptslength-2] += 0;
- } else if (Node242rect.width === 0){
- Node242compspts[1] -= 0;
- Node242compspts[Node242ptslength-1] += 0;
- } else {
- Node242compspts[0] -= 0;
- Node242compspts[1] -= 0;
- Node242compspts[Node242ptslength-2] += 0;
- Node242compspts[Node242ptslength-1] += 0;
- }
- Node242 = new ht.Node();
- Node242.borderWidth = 1;
- Node242rect.width = Node242rect.width === 0 ? 0.0001 : Node242rect.width;
- Node242rect.height = Node242rect.height === 0 ? 0.0001 : Node242rect.height;
- var Node242endCompspts = [Node242compspts[Node242ptslength-2],Node242compspts[Node242ptslength-1],0,0];
- var Node242startCompspts = [Node242compspts[0],Node242compspts[1],0,0];
- Node242.setImage(GD.getPolyLineJSON());
- Node242.setPosition(Node242rect.x+Node242rect.width/2,Node242rect.y+Node242rect.height/2);
- Node242.setSize(Node242rect.width,Node242rect.height);
- Node242.setStyle("opacity",1);
- Node242.s({'pixelPerfect':true});
- Node242borderwidth=1;
- Node242.setRotation(0);
- dataModel.add(Node242);
- Node242.a('node.points',Node242compspts);
- Node242.a('node.segments',[1,2]);
- Node242.a('node.color','rgba(255,128,0,1)');
- Node242.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node242.a('node.borderColor','rgba(255,128,0,1)');
- Node242.a('node.background','rgba(255,128,0,1)');
- Node242.a('node.gradient','');
- Node242.a('node.gradientcolor','rgba(255,128,0,1)');
- Node242.a('node.endCompspts',Node242endCompspts);
- Node242.a('node.startCompspts',Node242startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node242';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node242, Node242.getImage(), Node242compspts, Node242endCompspts, Node242startCompspts);
- var Node243points=[1810, 582,1810, 592],
- Node243rect=ht.Default.unionPoint([{x:1810,y:582},{x:1810,y:592}]),
- Node243compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node243points.length;i++){
- if(i%2==0){
- Node243compspts.push(Node243points[i]-Node243rect.x);
- }else{
- Node243compspts.push(Node243points[i]-Node243rect.y);
- }
- }
- var Node243ptslength=Node243compspts.length;
- if (Node243rect.height === 0) {
- Node243compspts[0] -= 0;
- Node243compspts[Node243ptslength-2] += 0;
- } else if (Node243rect.width === 0){
- Node243compspts[1] -= 0;
- Node243compspts[Node243ptslength-1] += 0;
- } else {
- Node243compspts[0] -= 0;
- Node243compspts[1] -= 0;
- Node243compspts[Node243ptslength-2] += 0;
- Node243compspts[Node243ptslength-1] += 0;
- }
- Node243 = new ht.Node();
- Node243.borderWidth = 1;
- Node243rect.width = Node243rect.width === 0 ? 0.0001 : Node243rect.width;
- Node243rect.height = Node243rect.height === 0 ? 0.0001 : Node243rect.height;
- var Node243endCompspts = [Node243compspts[Node243ptslength-2],Node243compspts[Node243ptslength-1],0,0];
- var Node243startCompspts = [Node243compspts[0],Node243compspts[1],0,0];
- Node243.setImage(GD.getPolyLineJSON());
- Node243.setPosition(Node243rect.x+Node243rect.width/2,Node243rect.y+Node243rect.height/2);
- Node243.setSize(Node243rect.width,Node243rect.height);
- Node243.setStyle("opacity",1);
- Node243.s({'pixelPerfect':true});
- Node243borderwidth=1;
- Node243.setRotation(0);
- dataModel.add(Node243);
- Node243.a('node.points',Node243compspts);
- Node243.a('node.segments',[1,2]);
- Node243.a('node.color','rgba(255,128,0,1)');
- Node243.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node243.a('node.borderColor','rgba(255,128,0,1)');
- Node243.a('node.background','rgba(255,128,0,1)');
- Node243.a('node.gradient','');
- Node243.a('node.gradientcolor','rgba(255,128,0,1)');
- Node243.a('node.endCompspts',Node243endCompspts);
- Node243.a('node.startCompspts',Node243startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node243';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node243, Node243.getImage(), Node243compspts, Node243endCompspts, Node243startCompspts);
- var Node244points=[890, 641,890, 651],
- Node244rect=ht.Default.unionPoint([{x:890,y:641},{x:890,y:651}]),
- Node244compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node244points.length;i++){
- if(i%2==0){
- Node244compspts.push(Node244points[i]-Node244rect.x);
- }else{
- Node244compspts.push(Node244points[i]-Node244rect.y);
- }
- }
- var Node244ptslength=Node244compspts.length;
- if (Node244rect.height === 0) {
- Node244compspts[0] -= 0;
- Node244compspts[Node244ptslength-2] += 0;
- } else if (Node244rect.width === 0){
- Node244compspts[1] -= 0;
- Node244compspts[Node244ptslength-1] += 0;
- } else {
- Node244compspts[0] -= 0;
- Node244compspts[1] -= 0;
- Node244compspts[Node244ptslength-2] += 0;
- Node244compspts[Node244ptslength-1] += 0;
- }
- Node244 = new ht.Node();
- Node244.borderWidth = 2;
- Node244rect.width = Node244rect.width === 0 ? 0.0001 : Node244rect.width;
- Node244rect.height = Node244rect.height === 0 ? 0.0001 : Node244rect.height;
- var Node244endCompspts = [Node244compspts[Node244ptslength-2],Node244compspts[Node244ptslength-1],0,0];
- var Node244startCompspts = [Node244compspts[0],Node244compspts[1],0,0];
- Node244.setImage(GD.getPolyLineJSON());
- Node244.setPosition(Node244rect.x+Node244rect.width/2,Node244rect.y+Node244rect.height/2);
- Node244.setSize(Node244rect.width,Node244rect.height);
- Node244.setStyle("opacity",1);
- Node244.s({'pixelPerfect':true});
- Node244borderwidth=2;
- Node244.setRotation(0);
- dataModel.add(Node244);
- Node244.a('node.points',Node244compspts);
- Node244.a('node.segments',[1,2]);
- Node244.a('node.color','rgba(255,128,0,1)');
- Node244.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node244.a('node.borderColor','rgba(255,128,0,1)');
- Node244.a('node.background','rgba(255,128,0,1)');
- Node244.a('node.gradient','');
- Node244.a('node.gradientcolor','rgba(255,128,0,1)');
- Node244.a('node.endCompspts',Node244endCompspts);
- Node244.a('node.startCompspts',Node244startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 2;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node244';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node244, Node244.getImage(), Node244compspts, Node244endCompspts, Node244startCompspts);
- var Node245points=[890, 651,1000, 651],
- Node245rect=ht.Default.unionPoint([{x:890,y:651},{x:1000,y:651}]),
- Node245compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node245points.length;i++){
- if(i%2==0){
- Node245compspts.push(Node245points[i]-Node245rect.x);
- }else{
- Node245compspts.push(Node245points[i]-Node245rect.y);
- }
- }
- var Node245ptslength=Node245compspts.length;
- if (Node245rect.height === 0) {
- Node245compspts[0] -= 0;
- Node245compspts[Node245ptslength-2] += 0;
- } else if (Node245rect.width === 0){
- Node245compspts[1] -= 0;
- Node245compspts[Node245ptslength-1] += 0;
- } else {
- Node245compspts[0] -= 0;
- Node245compspts[1] -= 0;
- Node245compspts[Node245ptslength-2] += 0;
- Node245compspts[Node245ptslength-1] += 0;
- }
- Node245 = new ht.Node();
- Node245.borderWidth = 2;
- Node245rect.width = Node245rect.width === 0 ? 0.0001 : Node245rect.width;
- Node245rect.height = Node245rect.height === 0 ? 0.0001 : Node245rect.height;
- var Node245endCompspts = [Node245compspts[Node245ptslength-2],Node245compspts[Node245ptslength-1],0,0];
- var Node245startCompspts = [Node245compspts[0],Node245compspts[1],0,0];
- Node245.setImage(GD.getPolyLineJSON());
- Node245.setPosition(Node245rect.x+Node245rect.width/2,Node245rect.y+Node245rect.height/2);
- Node245.setSize(Node245rect.width,Node245rect.height);
- Node245.setStyle("opacity",1);
- Node245.s({'pixelPerfect':true});
- Node245borderwidth=2;
- Node245.setRotation(0);
- dataModel.add(Node245);
- Node245.a('node.points',Node245compspts);
- Node245.a('node.segments',[1,2]);
- Node245.a('node.color','rgba(255,128,0,1)');
- Node245.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node245.a('node.borderColor','rgba(255,128,0,1)');
- Node245.a('node.background','rgba(255,128,0,1)');
- Node245.a('node.gradient','');
- Node245.a('node.gradientcolor','rgba(255,128,0,1)');
- Node245.a('node.endCompspts',Node245endCompspts);
- Node245.a('node.startCompspts',Node245startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 2;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node245';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node245, Node245.getImage(), Node245compspts, Node245endCompspts, Node245startCompspts);
- var Node246points=[1000, 651,1000, 641],
- Node246rect=ht.Default.unionPoint([{x:1000,y:651},{x:1000,y:641}]),
- Node246compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node246points.length;i++){
- if(i%2==0){
- Node246compspts.push(Node246points[i]-Node246rect.x);
- }else{
- Node246compspts.push(Node246points[i]-Node246rect.y);
- }
- }
- var Node246ptslength=Node246compspts.length;
- if (Node246rect.height === 0) {
- Node246compspts[0] -= 0;
- Node246compspts[Node246ptslength-2] += 0;
- } else if (Node246rect.width === 0){
- Node246compspts[1] -= 0;
- Node246compspts[Node246ptslength-1] += 0;
- } else {
- Node246compspts[0] -= 0;
- Node246compspts[1] -= 0;
- Node246compspts[Node246ptslength-2] += 0;
- Node246compspts[Node246ptslength-1] += 0;
- }
- Node246 = new ht.Node();
- Node246.borderWidth = 2;
- Node246rect.width = Node246rect.width === 0 ? 0.0001 : Node246rect.width;
- Node246rect.height = Node246rect.height === 0 ? 0.0001 : Node246rect.height;
- var Node246endCompspts = [Node246compspts[Node246ptslength-2],Node246compspts[Node246ptslength-1],0,0];
- var Node246startCompspts = [Node246compspts[0],Node246compspts[1],0,0];
- Node246.setImage(GD.getPolyLineJSON());
- Node246.setPosition(Node246rect.x+Node246rect.width/2,Node246rect.y+Node246rect.height/2);
- Node246.setSize(Node246rect.width,Node246rect.height);
- Node246.setStyle("opacity",1);
- Node246.s({'pixelPerfect':true});
- Node246borderwidth=2;
- Node246.setRotation(0);
- dataModel.add(Node246);
- Node246.a('node.points',Node246compspts);
- Node246.a('node.segments',[1,2]);
- Node246.a('node.color','rgba(255,128,0,1)');
- Node246.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node246.a('node.borderColor','rgba(255,128,0,1)');
- Node246.a('node.background','rgba(255,128,0,1)');
- Node246.a('node.gradient','');
- Node246.a('node.gradientcolor','rgba(255,128,0,1)');
- Node246.a('node.endCompspts',Node246endCompspts);
- Node246.a('node.startCompspts',Node246startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 2;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node246';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node246, Node246.getImage(), Node246compspts, Node246endCompspts, Node246startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node247 = new ht.Node();
- var Node247textStart, Node247textWidth, Node247lineStart, Node247align = 'left', Node247fontSize = 13.3333*_ratio.ratioY,Node247width = 43*_ratio.ratioX, Node247height = 25*_ratio.ratioY;
- (function () {
- if (Node247align === 'left') {
- Node247textStart = Node247fontSize * 0.2 > 2 ? Node247fontSize * 0.2 - 4 : Node247fontSize * 0.2 - 9;
- Node247textWidth = Node247width;
- Node247lineStart = 1;
- } else if (Node247align === 'right') {
- Node247textStart = 0;
- Node247textWidth =Node247fontSize <= 8 ? Node247width + Node247fontSize * 0.2 + 6 : Node247width - Node247fontSize * 0.2;
- Node247lineStart = (Node247width - (ht.Default.getTextSize('300', ' '+ Node247fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node247align === 'center') {
- Node247textStart = -3;
- Node247textWidth = Node247width;
- Node247lineStart = Node247width - ht.Default.getTextSize('300', ' '+ Node247fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node247.setImage(GD.getTextJSON(Node247width, Node247height, true, false, false, ' '+ Node247fontSize + 'px "Arial"'))
- Node247.setPosition(917*ratio.ratioX, 616*ratio.ratioY);
- Node247.setWidth(Node247width);
- Node247.setHeight(Node247height);
- Node247._nodeType = 'text';
- Node247._disallowEvert = true;
- Node247.setRotation(0*Math.PI/180);
- Node247.a('node.width', Node247width);
- Node247.a('node.height', Node247height);
- Node247.a('node.rect', [0, 0, Node247width, Node247height]);
- Node247.a('node.bordercolor','rgba(0,0,0,1)');
- Node247.a('node.borderwidth', 0);
- Node247.a('node.background','' || 'rgba(0,0,0,0)');
- Node247.a('node.gradient','');
- Node247.a('node.gradientcolor','');
- Node247.a('node.text','300');
- Node247.a('node.textalign','left');
- Node247.a('node.textvAlign','middle');
- Node247.a('node.textrect', [Node247textStart, 0, Node247textWidth, Node247height]);
- Node247.a('node.color','rgba(0,0,0,1)');
- Node247.a('node.font',' '+ Node247fontSize + 'px "Arial"');
- Node247.a('node.textvisible',true);
- Node247.a('node.linefeed',false);
- if (false) {
- Node247.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node247.a('node.text') || '300';
- var color=Node247.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node247width,Node247height,13.3333*_ratio.ratioY,"left",color,' '+ Node247fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node247.a('node.underlinepoints',[Node247lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node247fontSize + 2 , ht.Default.getTextSize('300', ' '+ Node247fontSize + 'px "Arial"').width + 6, (Node247height - Node247fontSize) * 0.5*_ratio.ratioY + Node247fontSize + 2 ]);
- Node247.a('node.underlinevisible',false);
- Node247.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node247);
- zoomNodeList.push({
- node: Node247,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node248 = new ht.Node();
- var Node248textStart, Node248textWidth, Node248lineStart, Node248align = 'left', Node248fontSize = 13.3333*_ratio.ratioY,Node248width = 43*_ratio.ratioX, Node248height = 25*_ratio.ratioY;
- (function () {
- if (Node248align === 'left') {
- Node248textStart = Node248fontSize * 0.2 > 2 ? Node248fontSize * 0.2 - 4 : Node248fontSize * 0.2 - 9;
- Node248textWidth = Node248width;
- Node248lineStart = 1;
- } else if (Node248align === 'right') {
- Node248textStart = 0;
- Node248textWidth =Node248fontSize <= 8 ? Node248width + Node248fontSize * 0.2 + 6 : Node248width - Node248fontSize * 0.2;
- Node248lineStart = (Node248width - (ht.Default.getTextSize('300-2', ' '+ Node248fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node248align === 'center') {
- Node248textStart = -3;
- Node248textWidth = Node248width;
- Node248lineStart = Node248width - ht.Default.getTextSize('300-2', ' '+ Node248fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node248.setImage(GD.getTextJSON(Node248width, Node248height, true, false, false, ' '+ Node248fontSize + 'px "Arial"'))
- Node248.setPosition(1027*ratio.ratioX, 616*ratio.ratioY);
- Node248.setWidth(Node248width);
- Node248.setHeight(Node248height);
- Node248._nodeType = 'text';
- Node248._disallowEvert = true;
- Node248.setRotation(0*Math.PI/180);
- Node248.a('node.width', Node248width);
- Node248.a('node.height', Node248height);
- Node248.a('node.rect', [0, 0, Node248width, Node248height]);
- Node248.a('node.bordercolor','rgba(0,0,0,1)');
- Node248.a('node.borderwidth', 0);
- Node248.a('node.background','' || 'rgba(0,0,0,0)');
- Node248.a('node.gradient','');
- Node248.a('node.gradientcolor','');
- Node248.a('node.text','300-2');
- Node248.a('node.textalign','left');
- Node248.a('node.textvAlign','middle');
- Node248.a('node.textrect', [Node248textStart, 0, Node248textWidth, Node248height]);
- Node248.a('node.color','rgba(0,0,0,1)');
- Node248.a('node.font',' '+ Node248fontSize + 'px "Arial"');
- Node248.a('node.textvisible',true);
- Node248.a('node.linefeed',false);
- if (false) {
- Node248.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node248.a('node.text') || '300-2';
- var color=Node248.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node248width,Node248height,13.3333*_ratio.ratioY,"left",color,' '+ Node248fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node248.a('node.underlinepoints',[Node248lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node248fontSize + 2 , ht.Default.getTextSize('300-2', ' '+ Node248fontSize + 'px "Arial"').width + 6, (Node248height - Node248fontSize) * 0.5*_ratio.ratioY + Node248fontSize + 2 ]);
- Node248.a('node.underlinevisible',false);
- Node248.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node248);
- zoomNodeList.push({
- node: Node248,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node249 = new ht.Node();
- var Node249textStart, Node249textWidth, Node249lineStart, Node249align = 'left', Node249fontSize = 13.3333*_ratio.ratioY,Node249width = 43*_ratio.ratioX, Node249height = 25*_ratio.ratioY;
- (function () {
- if (Node249align === 'left') {
- Node249textStart = Node249fontSize * 0.2 > 2 ? Node249fontSize * 0.2 - 4 : Node249fontSize * 0.2 - 9;
- Node249textWidth = Node249width;
- Node249lineStart = 1;
- } else if (Node249align === 'right') {
- Node249textStart = 0;
- Node249textWidth =Node249fontSize <= 8 ? Node249width + Node249fontSize * 0.2 + 6 : Node249width - Node249fontSize * 0.2;
- Node249lineStart = (Node249width - (ht.Default.getTextSize('328', ' '+ Node249fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node249align === 'center') {
- Node249textStart = -3;
- Node249textWidth = Node249width;
- Node249lineStart = Node249width - ht.Default.getTextSize('328', ' '+ Node249fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node249.setImage(GD.getTextJSON(Node249width, Node249height, true, false, false, ' '+ Node249fontSize + 'px "Arial"'))
- Node249.setPosition(1121*ratio.ratioX, 616*ratio.ratioY);
- Node249.setWidth(Node249width);
- Node249.setHeight(Node249height);
- Node249._nodeType = 'text';
- Node249._disallowEvert = true;
- Node249.setRotation(0*Math.PI/180);
- Node249.a('node.width', Node249width);
- Node249.a('node.height', Node249height);
- Node249.a('node.rect', [0, 0, Node249width, Node249height]);
- Node249.a('node.bordercolor','rgba(0,0,0,1)');
- Node249.a('node.borderwidth', 0);
- Node249.a('node.background','' || 'rgba(0,0,0,0)');
- Node249.a('node.gradient','');
- Node249.a('node.gradientcolor','');
- Node249.a('node.text','328');
- Node249.a('node.textalign','left');
- Node249.a('node.textvAlign','middle');
- Node249.a('node.textrect', [Node249textStart, 0, Node249textWidth, Node249height]);
- Node249.a('node.color','rgba(0,0,0,1)');
- Node249.a('node.font',' '+ Node249fontSize + 'px "Arial"');
- Node249.a('node.textvisible',true);
- Node249.a('node.linefeed',false);
- if (false) {
- Node249.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node249.a('node.text') || '328';
- var color=Node249.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node249width,Node249height,13.3333*_ratio.ratioY,"left",color,' '+ Node249fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node249.a('node.underlinepoints',[Node249lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node249fontSize + 2 , ht.Default.getTextSize('328', ' '+ Node249fontSize + 'px "Arial"').width + 6, (Node249height - Node249fontSize) * 0.5*_ratio.ratioY + Node249fontSize + 2 ]);
- Node249.a('node.underlinevisible',false);
- Node249.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node249);
- zoomNodeList.push({
- node: Node249,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node250 = new ht.Node();
- var Node250textStart, Node250textWidth, Node250lineStart, Node250align = 'left', Node250fontSize = 13.3333*_ratio.ratioY,Node250width = 43*_ratio.ratioX, Node250height = 25*_ratio.ratioY;
- (function () {
- if (Node250align === 'left') {
- Node250textStart = Node250fontSize * 0.2 > 2 ? Node250fontSize * 0.2 - 4 : Node250fontSize * 0.2 - 9;
- Node250textWidth = Node250width;
- Node250lineStart = 1;
- } else if (Node250align === 'right') {
- Node250textStart = 0;
- Node250textWidth =Node250fontSize <= 8 ? Node250width + Node250fontSize * 0.2 + 6 : Node250width - Node250fontSize * 0.2;
- Node250lineStart = (Node250width - (ht.Default.getTextSize('328-0', ' '+ Node250fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node250align === 'center') {
- Node250textStart = -3;
- Node250textWidth = Node250width;
- Node250lineStart = Node250width - ht.Default.getTextSize('328-0', ' '+ Node250fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node250.setImage(GD.getTextJSON(Node250width, Node250height, true, false, false, ' '+ Node250fontSize + 'px "Arial"'))
- Node250.setPosition(1116*ratio.ratioX, 716*ratio.ratioY);
- Node250.setWidth(Node250width);
- Node250.setHeight(Node250height);
- Node250._nodeType = 'text';
- Node250._disallowEvert = true;
- Node250.setRotation(0*Math.PI/180);
- Node250.a('node.width', Node250width);
- Node250.a('node.height', Node250height);
- Node250.a('node.rect', [0, 0, Node250width, Node250height]);
- Node250.a('node.bordercolor','rgba(0,0,0,1)');
- Node250.a('node.borderwidth', 0);
- Node250.a('node.background','' || 'rgba(0,0,0,0)');
- Node250.a('node.gradient','');
- Node250.a('node.gradientcolor','');
- Node250.a('node.text','328-0');
- Node250.a('node.textalign','left');
- Node250.a('node.textvAlign','middle');
- Node250.a('node.textrect', [Node250textStart, 0, Node250textWidth, Node250height]);
- Node250.a('node.color','rgba(0,0,0,1)');
- Node250.a('node.font',' '+ Node250fontSize + 'px "Arial"');
- Node250.a('node.textvisible',true);
- Node250.a('node.linefeed',false);
- if (false) {
- Node250.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node250.a('node.text') || '328-0';
- var color=Node250.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node250width,Node250height,13.3333*_ratio.ratioY,"left",color,' '+ Node250fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node250.a('node.underlinepoints',[Node250lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node250fontSize + 2 , ht.Default.getTextSize('328-0', ' '+ Node250fontSize + 'px "Arial"').width + 6, (Node250height - Node250fontSize) * 0.5*_ratio.ratioY + Node250fontSize + 2 ]);
- Node250.a('node.underlinevisible',false);
- Node250.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node250);
- zoomNodeList.push({
- node: Node250,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node251 = new ht.Node();
- var Node251textStart, Node251textWidth, Node251lineStart, Node251align = 'left', Node251fontSize = 13.3333*_ratio.ratioY,Node251width = 43*_ratio.ratioX, Node251height = 25*_ratio.ratioY;
- (function () {
- if (Node251align === 'left') {
- Node251textStart = Node251fontSize * 0.2 > 2 ? Node251fontSize * 0.2 - 4 : Node251fontSize * 0.2 - 9;
- Node251textWidth = Node251width;
- Node251lineStart = 1;
- } else if (Node251align === 'right') {
- Node251textStart = 0;
- Node251textWidth =Node251fontSize <= 8 ? Node251width + Node251fontSize * 0.2 + 6 : Node251width - Node251fontSize * 0.2;
- Node251lineStart = (Node251width - (ht.Default.getTextSize('327', ' '+ Node251fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node251align === 'center') {
- Node251textStart = -3;
- Node251textWidth = Node251width;
- Node251lineStart = Node251width - ht.Default.getTextSize('327', ' '+ Node251fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node251.setImage(GD.getTextJSON(Node251width, Node251height, true, false, false, ' '+ Node251fontSize + 'px "Arial"'))
- Node251.setPosition(1211*ratio.ratioX, 616*ratio.ratioY);
- Node251.setWidth(Node251width);
- Node251.setHeight(Node251height);
- Node251._nodeType = 'text';
- Node251._disallowEvert = true;
- Node251.setRotation(0*Math.PI/180);
- Node251.a('node.width', Node251width);
- Node251.a('node.height', Node251height);
- Node251.a('node.rect', [0, 0, Node251width, Node251height]);
- Node251.a('node.bordercolor','rgba(0,0,0,1)');
- Node251.a('node.borderwidth', 0);
- Node251.a('node.background','' || 'rgba(0,0,0,0)');
- Node251.a('node.gradient','');
- Node251.a('node.gradientcolor','');
- Node251.a('node.text','327');
- Node251.a('node.textalign','left');
- Node251.a('node.textvAlign','middle');
- Node251.a('node.textrect', [Node251textStart, 0, Node251textWidth, Node251height]);
- Node251.a('node.color','rgba(0,0,0,1)');
- Node251.a('node.font',' '+ Node251fontSize + 'px "Arial"');
- Node251.a('node.textvisible',true);
- Node251.a('node.linefeed',false);
- if (false) {
- Node251.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node251.a('node.text') || '327';
- var color=Node251.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node251width,Node251height,13.3333*_ratio.ratioY,"left",color,' '+ Node251fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node251.a('node.underlinepoints',[Node251lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node251fontSize + 2 , ht.Default.getTextSize('327', ' '+ Node251fontSize + 'px "Arial"').width + 6, (Node251height - Node251fontSize) * 0.5*_ratio.ratioY + Node251fontSize + 2 ]);
- Node251.a('node.underlinevisible',false);
- Node251.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node251);
- zoomNodeList.push({
- node: Node251,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node252 = new ht.Node();
- var Node252textStart, Node252textWidth, Node252lineStart, Node252align = 'left', Node252fontSize = 13.3333*_ratio.ratioY,Node252width = 43*_ratio.ratioX, Node252height = 25*_ratio.ratioY;
- (function () {
- if (Node252align === 'left') {
- Node252textStart = Node252fontSize * 0.2 > 2 ? Node252fontSize * 0.2 - 4 : Node252fontSize * 0.2 - 9;
- Node252textWidth = Node252width;
- Node252lineStart = 1;
- } else if (Node252align === 'right') {
- Node252textStart = 0;
- Node252textWidth =Node252fontSize <= 8 ? Node252width + Node252fontSize * 0.2 + 6 : Node252width - Node252fontSize * 0.2;
- Node252lineStart = (Node252width - (ht.Default.getTextSize('327-0', ' '+ Node252fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node252align === 'center') {
- Node252textStart = -3;
- Node252textWidth = Node252width;
- Node252lineStart = Node252width - ht.Default.getTextSize('327-0', ' '+ Node252fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node252.setImage(GD.getTextJSON(Node252width, Node252height, true, false, false, ' '+ Node252fontSize + 'px "Arial"'))
- Node252.setPosition(1207*ratio.ratioX, 716*ratio.ratioY);
- Node252.setWidth(Node252width);
- Node252.setHeight(Node252height);
- Node252._nodeType = 'text';
- Node252._disallowEvert = true;
- Node252.setRotation(0*Math.PI/180);
- Node252.a('node.width', Node252width);
- Node252.a('node.height', Node252height);
- Node252.a('node.rect', [0, 0, Node252width, Node252height]);
- Node252.a('node.bordercolor','rgba(0,0,0,1)');
- Node252.a('node.borderwidth', 0);
- Node252.a('node.background','' || 'rgba(0,0,0,0)');
- Node252.a('node.gradient','');
- Node252.a('node.gradientcolor','');
- Node252.a('node.text','327-0');
- Node252.a('node.textalign','left');
- Node252.a('node.textvAlign','middle');
- Node252.a('node.textrect', [Node252textStart, 0, Node252textWidth, Node252height]);
- Node252.a('node.color','rgba(0,0,0,1)');
- Node252.a('node.font',' '+ Node252fontSize + 'px "Arial"');
- Node252.a('node.textvisible',true);
- Node252.a('node.linefeed',false);
- if (false) {
- Node252.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node252.a('node.text') || '327-0';
- var color=Node252.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node252width,Node252height,13.3333*_ratio.ratioY,"left",color,' '+ Node252fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node252.a('node.underlinepoints',[Node252lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node252fontSize + 2 , ht.Default.getTextSize('327-0', ' '+ Node252fontSize + 'px "Arial"').width + 6, (Node252height - Node252fontSize) * 0.5*_ratio.ratioY + Node252fontSize + 2 ]);
- Node252.a('node.underlinevisible',false);
- Node252.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node252);
- zoomNodeList.push({
- node: Node252,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node253 = new ht.Node();
- var Node253textStart, Node253textWidth, Node253lineStart, Node253align = 'left', Node253fontSize = 13.3333*_ratio.ratioY,Node253width = 43*_ratio.ratioX, Node253height = 25*_ratio.ratioY;
- (function () {
- if (Node253align === 'left') {
- Node253textStart = Node253fontSize * 0.2 > 2 ? Node253fontSize * 0.2 - 4 : Node253fontSize * 0.2 - 9;
- Node253textWidth = Node253width;
- Node253lineStart = 1;
- } else if (Node253align === 'right') {
- Node253textStart = 0;
- Node253textWidth =Node253fontSize <= 8 ? Node253width + Node253fontSize * 0.2 + 6 : Node253width - Node253fontSize * 0.2;
- Node253lineStart = (Node253width - (ht.Default.getTextSize('323', ' '+ Node253fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node253align === 'center') {
- Node253textStart = -3;
- Node253textWidth = Node253width;
- Node253lineStart = Node253width - ht.Default.getTextSize('323', ' '+ Node253fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node253.setImage(GD.getTextJSON(Node253width, Node253height, true, false, false, ' '+ Node253fontSize + 'px "Arial"'))
- Node253.setPosition(1301*ratio.ratioX, 616*ratio.ratioY);
- Node253.setWidth(Node253width);
- Node253.setHeight(Node253height);
- Node253._nodeType = 'text';
- Node253._disallowEvert = true;
- Node253.setRotation(0*Math.PI/180);
- Node253.a('node.width', Node253width);
- Node253.a('node.height', Node253height);
- Node253.a('node.rect', [0, 0, Node253width, Node253height]);
- Node253.a('node.bordercolor','rgba(0,0,0,1)');
- Node253.a('node.borderwidth', 0);
- Node253.a('node.background','' || 'rgba(0,0,0,0)');
- Node253.a('node.gradient','');
- Node253.a('node.gradientcolor','');
- Node253.a('node.text','323');
- Node253.a('node.textalign','left');
- Node253.a('node.textvAlign','middle');
- Node253.a('node.textrect', [Node253textStart, 0, Node253textWidth, Node253height]);
- Node253.a('node.color','rgba(0,0,0,1)');
- Node253.a('node.font',' '+ Node253fontSize + 'px "Arial"');
- Node253.a('node.textvisible',true);
- Node253.a('node.linefeed',false);
- if (false) {
- Node253.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node253.a('node.text') || '323';
- var color=Node253.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node253width,Node253height,13.3333*_ratio.ratioY,"left",color,' '+ Node253fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node253.a('node.underlinepoints',[Node253lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node253fontSize + 2 , ht.Default.getTextSize('323', ' '+ Node253fontSize + 'px "Arial"').width + 6, (Node253height - Node253fontSize) * 0.5*_ratio.ratioY + Node253fontSize + 2 ]);
- Node253.a('node.underlinevisible',false);
- Node253.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node253);
- zoomNodeList.push({
- node: Node253,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node254 = new ht.Node();
- var Node254textStart, Node254textWidth, Node254lineStart, Node254align = 'left', Node254fontSize = 13.3333*_ratio.ratioY,Node254width = 43*_ratio.ratioX, Node254height = 25*_ratio.ratioY;
- (function () {
- if (Node254align === 'left') {
- Node254textStart = Node254fontSize * 0.2 > 2 ? Node254fontSize * 0.2 - 4 : Node254fontSize * 0.2 - 9;
- Node254textWidth = Node254width;
- Node254lineStart = 1;
- } else if (Node254align === 'right') {
- Node254textStart = 0;
- Node254textWidth =Node254fontSize <= 8 ? Node254width + Node254fontSize * 0.2 + 6 : Node254width - Node254fontSize * 0.2;
- Node254lineStart = (Node254width - (ht.Default.getTextSize('323-0', ' '+ Node254fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node254align === 'center') {
- Node254textStart = -3;
- Node254textWidth = Node254width;
- Node254lineStart = Node254width - ht.Default.getTextSize('323-0', ' '+ Node254fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node254.setImage(GD.getTextJSON(Node254width, Node254height, true, false, false, ' '+ Node254fontSize + 'px "Arial"'))
- Node254.setPosition(1297*ratio.ratioX, 716*ratio.ratioY);
- Node254.setWidth(Node254width);
- Node254.setHeight(Node254height);
- Node254._nodeType = 'text';
- Node254._disallowEvert = true;
- Node254.setRotation(0*Math.PI/180);
- Node254.a('node.width', Node254width);
- Node254.a('node.height', Node254height);
- Node254.a('node.rect', [0, 0, Node254width, Node254height]);
- Node254.a('node.bordercolor','rgba(0,0,0,1)');
- Node254.a('node.borderwidth', 0);
- Node254.a('node.background','' || 'rgba(0,0,0,0)');
- Node254.a('node.gradient','');
- Node254.a('node.gradientcolor','');
- Node254.a('node.text','323-0');
- Node254.a('node.textalign','left');
- Node254.a('node.textvAlign','middle');
- Node254.a('node.textrect', [Node254textStart, 0, Node254textWidth, Node254height]);
- Node254.a('node.color','rgba(0,0,0,1)');
- Node254.a('node.font',' '+ Node254fontSize + 'px "Arial"');
- Node254.a('node.textvisible',true);
- Node254.a('node.linefeed',false);
- if (false) {
- Node254.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node254.a('node.text') || '323-0';
- var color=Node254.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node254width,Node254height,13.3333*_ratio.ratioY,"left",color,' '+ Node254fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node254.a('node.underlinepoints',[Node254lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node254fontSize + 2 , ht.Default.getTextSize('323-0', ' '+ Node254fontSize + 'px "Arial"').width + 6, (Node254height - Node254fontSize) * 0.5*_ratio.ratioY + Node254fontSize + 2 ]);
- Node254.a('node.underlinevisible',false);
- Node254.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node254);
- zoomNodeList.push({
- node: Node254,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node255 = new ht.Node();
- var Node255textStart, Node255textWidth, Node255lineStart, Node255align = 'left', Node255fontSize = 13.3333*_ratio.ratioY,Node255width = 43*_ratio.ratioX, Node255height = 25*_ratio.ratioY;
- (function () {
- if (Node255align === 'left') {
- Node255textStart = Node255fontSize * 0.2 > 2 ? Node255fontSize * 0.2 - 4 : Node255fontSize * 0.2 - 9;
- Node255textWidth = Node255width;
- Node255lineStart = 1;
- } else if (Node255align === 'right') {
- Node255textStart = 0;
- Node255textWidth =Node255fontSize <= 8 ? Node255width + Node255fontSize * 0.2 + 6 : Node255width - Node255fontSize * 0.2;
- Node255lineStart = (Node255width - (ht.Default.getTextSize('322', ' '+ Node255fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node255align === 'center') {
- Node255textStart = -3;
- Node255textWidth = Node255width;
- Node255lineStart = Node255width - ht.Default.getTextSize('322', ' '+ Node255fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node255.setImage(GD.getTextJSON(Node255width, Node255height, true, false, false, ' '+ Node255fontSize + 'px "Arial"'))
- Node255.setPosition(1391*ratio.ratioX, 616*ratio.ratioY);
- Node255.setWidth(Node255width);
- Node255.setHeight(Node255height);
- Node255._nodeType = 'text';
- Node255._disallowEvert = true;
- Node255.setRotation(0*Math.PI/180);
- Node255.a('node.width', Node255width);
- Node255.a('node.height', Node255height);
- Node255.a('node.rect', [0, 0, Node255width, Node255height]);
- Node255.a('node.bordercolor','rgba(0,0,0,1)');
- Node255.a('node.borderwidth', 0);
- Node255.a('node.background','' || 'rgba(0,0,0,0)');
- Node255.a('node.gradient','');
- Node255.a('node.gradientcolor','');
- Node255.a('node.text','322');
- Node255.a('node.textalign','left');
- Node255.a('node.textvAlign','middle');
- Node255.a('node.textrect', [Node255textStart, 0, Node255textWidth, Node255height]);
- Node255.a('node.color','rgba(0,0,0,1)');
- Node255.a('node.font',' '+ Node255fontSize + 'px "Arial"');
- Node255.a('node.textvisible',true);
- Node255.a('node.linefeed',false);
- if (false) {
- Node255.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node255.a('node.text') || '322';
- var color=Node255.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node255width,Node255height,13.3333*_ratio.ratioY,"left",color,' '+ Node255fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node255.a('node.underlinepoints',[Node255lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node255fontSize + 2 , ht.Default.getTextSize('322', ' '+ Node255fontSize + 'px "Arial"').width + 6, (Node255height - Node255fontSize) * 0.5*_ratio.ratioY + Node255fontSize + 2 ]);
- Node255.a('node.underlinevisible',false);
- Node255.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node255);
- zoomNodeList.push({
- node: Node255,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node256 = new ht.Node();
- var Node256textStart, Node256textWidth, Node256lineStart, Node256align = 'left', Node256fontSize = 13.3333*_ratio.ratioY,Node256width = 43*_ratio.ratioX, Node256height = 25*_ratio.ratioY;
- (function () {
- if (Node256align === 'left') {
- Node256textStart = Node256fontSize * 0.2 > 2 ? Node256fontSize * 0.2 - 4 : Node256fontSize * 0.2 - 9;
- Node256textWidth = Node256width;
- Node256lineStart = 1;
- } else if (Node256align === 'right') {
- Node256textStart = 0;
- Node256textWidth =Node256fontSize <= 8 ? Node256width + Node256fontSize * 0.2 + 6 : Node256width - Node256fontSize * 0.2;
- Node256lineStart = (Node256width - (ht.Default.getTextSize('322-0', ' '+ Node256fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node256align === 'center') {
- Node256textStart = -3;
- Node256textWidth = Node256width;
- Node256lineStart = Node256width - ht.Default.getTextSize('322-0', ' '+ Node256fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node256.setImage(GD.getTextJSON(Node256width, Node256height, true, false, false, ' '+ Node256fontSize + 'px "Arial"'))
- Node256.setPosition(1387*ratio.ratioX, 716*ratio.ratioY);
- Node256.setWidth(Node256width);
- Node256.setHeight(Node256height);
- Node256._nodeType = 'text';
- Node256._disallowEvert = true;
- Node256.setRotation(0*Math.PI/180);
- Node256.a('node.width', Node256width);
- Node256.a('node.height', Node256height);
- Node256.a('node.rect', [0, 0, Node256width, Node256height]);
- Node256.a('node.bordercolor','rgba(0,0,0,1)');
- Node256.a('node.borderwidth', 0);
- Node256.a('node.background','' || 'rgba(0,0,0,0)');
- Node256.a('node.gradient','');
- Node256.a('node.gradientcolor','');
- Node256.a('node.text','322-0');
- Node256.a('node.textalign','left');
- Node256.a('node.textvAlign','middle');
- Node256.a('node.textrect', [Node256textStart, 0, Node256textWidth, Node256height]);
- Node256.a('node.color','rgba(0,0,0,1)');
- Node256.a('node.font',' '+ Node256fontSize + 'px "Arial"');
- Node256.a('node.textvisible',true);
- Node256.a('node.linefeed',false);
- if (false) {
- Node256.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node256.a('node.text') || '322-0';
- var color=Node256.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node256width,Node256height,13.3333*_ratio.ratioY,"left",color,' '+ Node256fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node256.a('node.underlinepoints',[Node256lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node256fontSize + 2 , ht.Default.getTextSize('322-0', ' '+ Node256fontSize + 'px "Arial"').width + 6, (Node256height - Node256fontSize) * 0.5*_ratio.ratioY + Node256fontSize + 2 ]);
- Node256.a('node.underlinevisible',false);
- Node256.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node256);
- zoomNodeList.push({
- node: Node256,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node257 = new ht.Node();
- var Node257textStart, Node257textWidth, Node257lineStart, Node257align = 'left', Node257fontSize = 13.3333*_ratio.ratioY,Node257width = 43*_ratio.ratioX, Node257height = 25*_ratio.ratioY;
- (function () {
- if (Node257align === 'left') {
- Node257textStart = Node257fontSize * 0.2 > 2 ? Node257fontSize * 0.2 - 4 : Node257fontSize * 0.2 - 9;
- Node257textWidth = Node257width;
- Node257lineStart = 1;
- } else if (Node257align === 'right') {
- Node257textStart = 0;
- Node257textWidth =Node257fontSize <= 8 ? Node257width + Node257fontSize * 0.2 + 6 : Node257width - Node257fontSize * 0.2;
- Node257lineStart = (Node257width - (ht.Default.getTextSize('321', ' '+ Node257fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node257align === 'center') {
- Node257textStart = -3;
- Node257textWidth = Node257width;
- Node257lineStart = Node257width - ht.Default.getTextSize('321', ' '+ Node257fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node257.setImage(GD.getTextJSON(Node257width, Node257height, true, false, false, ' '+ Node257fontSize + 'px "Arial"'))
- Node257.setPosition(1481*ratio.ratioX, 616*ratio.ratioY);
- Node257.setWidth(Node257width);
- Node257.setHeight(Node257height);
- Node257._nodeType = 'text';
- Node257._disallowEvert = true;
- Node257.setRotation(0*Math.PI/180);
- Node257.a('node.width', Node257width);
- Node257.a('node.height', Node257height);
- Node257.a('node.rect', [0, 0, Node257width, Node257height]);
- Node257.a('node.bordercolor','rgba(0,0,0,1)');
- Node257.a('node.borderwidth', 0);
- Node257.a('node.background','' || 'rgba(0,0,0,0)');
- Node257.a('node.gradient','');
- Node257.a('node.gradientcolor','');
- Node257.a('node.text','321');
- Node257.a('node.textalign','left');
- Node257.a('node.textvAlign','middle');
- Node257.a('node.textrect', [Node257textStart, 0, Node257textWidth, Node257height]);
- Node257.a('node.color','rgba(0,0,0,1)');
- Node257.a('node.font',' '+ Node257fontSize + 'px "Arial"');
- Node257.a('node.textvisible',true);
- Node257.a('node.linefeed',false);
- if (false) {
- Node257.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node257.a('node.text') || '321';
- var color=Node257.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node257width,Node257height,13.3333*_ratio.ratioY,"left",color,' '+ Node257fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node257.a('node.underlinepoints',[Node257lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node257fontSize + 2 , ht.Default.getTextSize('321', ' '+ Node257fontSize + 'px "Arial"').width + 6, (Node257height - Node257fontSize) * 0.5*_ratio.ratioY + Node257fontSize + 2 ]);
- Node257.a('node.underlinevisible',false);
- Node257.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node257);
- zoomNodeList.push({
- node: Node257,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node258 = new ht.Node();
- var Node258textStart, Node258textWidth, Node258lineStart, Node258align = 'left', Node258fontSize = 13.3333*_ratio.ratioY,Node258width = 43*_ratio.ratioX, Node258height = 25*_ratio.ratioY;
- (function () {
- if (Node258align === 'left') {
- Node258textStart = Node258fontSize * 0.2 > 2 ? Node258fontSize * 0.2 - 4 : Node258fontSize * 0.2 - 9;
- Node258textWidth = Node258width;
- Node258lineStart = 1;
- } else if (Node258align === 'right') {
- Node258textStart = 0;
- Node258textWidth =Node258fontSize <= 8 ? Node258width + Node258fontSize * 0.2 + 6 : Node258width - Node258fontSize * 0.2;
- Node258lineStart = (Node258width - (ht.Default.getTextSize('321-0', ' '+ Node258fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node258align === 'center') {
- Node258textStart = -3;
- Node258textWidth = Node258width;
- Node258lineStart = Node258width - ht.Default.getTextSize('321-0', ' '+ Node258fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node258.setImage(GD.getTextJSON(Node258width, Node258height, true, false, false, ' '+ Node258fontSize + 'px "Arial"'))
- Node258.setPosition(1474*ratio.ratioX, 717*ratio.ratioY);
- Node258.setWidth(Node258width);
- Node258.setHeight(Node258height);
- Node258._nodeType = 'text';
- Node258._disallowEvert = true;
- Node258.setRotation(0*Math.PI/180);
- Node258.a('node.width', Node258width);
- Node258.a('node.height', Node258height);
- Node258.a('node.rect', [0, 0, Node258width, Node258height]);
- Node258.a('node.bordercolor','rgba(0,0,0,1)');
- Node258.a('node.borderwidth', 0);
- Node258.a('node.background','' || 'rgba(0,0,0,0)');
- Node258.a('node.gradient','');
- Node258.a('node.gradientcolor','');
- Node258.a('node.text','321-0');
- Node258.a('node.textalign','left');
- Node258.a('node.textvAlign','middle');
- Node258.a('node.textrect', [Node258textStart, 0, Node258textWidth, Node258height]);
- Node258.a('node.color','rgba(0,0,0,1)');
- Node258.a('node.font',' '+ Node258fontSize + 'px "Arial"');
- Node258.a('node.textvisible',true);
- Node258.a('node.linefeed',false);
- if (false) {
- Node258.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node258.a('node.text') || '321-0';
- var color=Node258.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node258width,Node258height,13.3333*_ratio.ratioY,"left",color,' '+ Node258fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node258.a('node.underlinepoints',[Node258lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node258fontSize + 2 , ht.Default.getTextSize('321-0', ' '+ Node258fontSize + 'px "Arial"').width + 6, (Node258height - Node258fontSize) * 0.5*_ratio.ratioY + Node258fontSize + 2 ]);
- Node258.a('node.underlinevisible',false);
- Node258.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node258);
- zoomNodeList.push({
- node: Node258,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node259 = new ht.Node();
- var Node259textStart, Node259textWidth, Node259lineStart, Node259align = 'left', Node259fontSize = 13.3333*_ratio.ratioY,Node259width = 43*_ratio.ratioX, Node259height = 25*_ratio.ratioY;
- (function () {
- if (Node259align === 'left') {
- Node259textStart = Node259fontSize * 0.2 > 2 ? Node259fontSize * 0.2 - 4 : Node259fontSize * 0.2 - 9;
- Node259textWidth = Node259width;
- Node259lineStart = 1;
- } else if (Node259align === 'right') {
- Node259textStart = 0;
- Node259textWidth =Node259fontSize <= 8 ? Node259width + Node259fontSize * 0.2 + 6 : Node259width - Node259fontSize * 0.2;
- Node259lineStart = (Node259width - (ht.Default.getTextSize('320', ' '+ Node259fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node259align === 'center') {
- Node259textStart = -3;
- Node259textWidth = Node259width;
- Node259lineStart = Node259width - ht.Default.getTextSize('320', ' '+ Node259fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node259.setImage(GD.getTextJSON(Node259width, Node259height, true, false, false, ' '+ Node259fontSize + 'px "Arial"'))
- Node259.setPosition(1571*ratio.ratioX, 616*ratio.ratioY);
- Node259.setWidth(Node259width);
- Node259.setHeight(Node259height);
- Node259._nodeType = 'text';
- Node259._disallowEvert = true;
- Node259.setRotation(0*Math.PI/180);
- Node259.a('node.width', Node259width);
- Node259.a('node.height', Node259height);
- Node259.a('node.rect', [0, 0, Node259width, Node259height]);
- Node259.a('node.bordercolor','rgba(0,0,0,1)');
- Node259.a('node.borderwidth', 0);
- Node259.a('node.background','' || 'rgba(0,0,0,0)');
- Node259.a('node.gradient','');
- Node259.a('node.gradientcolor','');
- Node259.a('node.text','320');
- Node259.a('node.textalign','left');
- Node259.a('node.textvAlign','middle');
- Node259.a('node.textrect', [Node259textStart, 0, Node259textWidth, Node259height]);
- Node259.a('node.color','rgba(0,0,0,1)');
- Node259.a('node.font',' '+ Node259fontSize + 'px "Arial"');
- Node259.a('node.textvisible',true);
- Node259.a('node.linefeed',false);
- if (false) {
- Node259.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node259.a('node.text') || '320';
- var color=Node259.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node259width,Node259height,13.3333*_ratio.ratioY,"left",color,' '+ Node259fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node259.a('node.underlinepoints',[Node259lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node259fontSize + 2 , ht.Default.getTextSize('320', ' '+ Node259fontSize + 'px "Arial"').width + 6, (Node259height - Node259fontSize) * 0.5*_ratio.ratioY + Node259fontSize + 2 ]);
- Node259.a('node.underlinevisible',false);
- Node259.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node259);
- zoomNodeList.push({
- node: Node259,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node260 = new ht.Node();
- var Node260textStart, Node260textWidth, Node260lineStart, Node260align = 'left', Node260fontSize = 13.3333*_ratio.ratioY,Node260width = 43*_ratio.ratioX, Node260height = 25*_ratio.ratioY;
- (function () {
- if (Node260align === 'left') {
- Node260textStart = Node260fontSize * 0.2 > 2 ? Node260fontSize * 0.2 - 4 : Node260fontSize * 0.2 - 9;
- Node260textWidth = Node260width;
- Node260lineStart = 1;
- } else if (Node260align === 'right') {
- Node260textStart = 0;
- Node260textWidth =Node260fontSize <= 8 ? Node260width + Node260fontSize * 0.2 + 6 : Node260width - Node260fontSize * 0.2;
- Node260lineStart = (Node260width - (ht.Default.getTextSize('320-0', ' '+ Node260fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node260align === 'center') {
- Node260textStart = -3;
- Node260textWidth = Node260width;
- Node260lineStart = Node260width - ht.Default.getTextSize('320-0', ' '+ Node260fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node260.setImage(GD.getTextJSON(Node260width, Node260height, true, false, false, ' '+ Node260fontSize + 'px "Arial"'))
- Node260.setPosition(1565*ratio.ratioX, 716*ratio.ratioY);
- Node260.setWidth(Node260width);
- Node260.setHeight(Node260height);
- Node260._nodeType = 'text';
- Node260._disallowEvert = true;
- Node260.setRotation(0*Math.PI/180);
- Node260.a('node.width', Node260width);
- Node260.a('node.height', Node260height);
- Node260.a('node.rect', [0, 0, Node260width, Node260height]);
- Node260.a('node.bordercolor','rgba(0,0,0,1)');
- Node260.a('node.borderwidth', 0);
- Node260.a('node.background','' || 'rgba(0,0,0,0)');
- Node260.a('node.gradient','');
- Node260.a('node.gradientcolor','');
- Node260.a('node.text','320-0');
- Node260.a('node.textalign','left');
- Node260.a('node.textvAlign','middle');
- Node260.a('node.textrect', [Node260textStart, 0, Node260textWidth, Node260height]);
- Node260.a('node.color','rgba(0,0,0,1)');
- Node260.a('node.font',' '+ Node260fontSize + 'px "Arial"');
- Node260.a('node.textvisible',true);
- Node260.a('node.linefeed',false);
- if (false) {
- Node260.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node260.a('node.text') || '320-0';
- var color=Node260.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node260width,Node260height,13.3333*_ratio.ratioY,"left",color,' '+ Node260fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node260.a('node.underlinepoints',[Node260lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node260fontSize + 2 , ht.Default.getTextSize('320-0', ' '+ Node260fontSize + 'px "Arial"').width + 6, (Node260height - Node260fontSize) * 0.5*_ratio.ratioY + Node260fontSize + 2 ]);
- Node260.a('node.underlinevisible',false);
- Node260.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node260);
- zoomNodeList.push({
- node: Node260,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node261 = new ht.Node();
- var Node261textStart, Node261textWidth, Node261lineStart, Node261align = 'left', Node261fontSize = 13.3333*_ratio.ratioY,Node261width = 43*_ratio.ratioX, Node261height = 25*_ratio.ratioY;
- (function () {
- if (Node261align === 'left') {
- Node261textStart = Node261fontSize * 0.2 > 2 ? Node261fontSize * 0.2 - 4 : Node261fontSize * 0.2 - 9;
- Node261textWidth = Node261width;
- Node261lineStart = 1;
- } else if (Node261align === 'right') {
- Node261textStart = 0;
- Node261textWidth =Node261fontSize <= 8 ? Node261width + Node261fontSize * 0.2 + 6 : Node261width - Node261fontSize * 0.2;
- Node261lineStart = (Node261width - (ht.Default.getTextSize('324', ' '+ Node261fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node261align === 'center') {
- Node261textStart = -3;
- Node261textWidth = Node261width;
- Node261lineStart = Node261width - ht.Default.getTextSize('324', ' '+ Node261fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node261.setImage(GD.getTextJSON(Node261width, Node261height, true, false, false, ' '+ Node261fontSize + 'px "Arial"'))
- Node261.setPosition(1661*ratio.ratioX, 616*ratio.ratioY);
- Node261.setWidth(Node261width);
- Node261.setHeight(Node261height);
- Node261._nodeType = 'text';
- Node261._disallowEvert = true;
- Node261.setRotation(0*Math.PI/180);
- Node261.a('node.width', Node261width);
- Node261.a('node.height', Node261height);
- Node261.a('node.rect', [0, 0, Node261width, Node261height]);
- Node261.a('node.bordercolor','rgba(0,0,0,1)');
- Node261.a('node.borderwidth', 0);
- Node261.a('node.background','' || 'rgba(0,0,0,0)');
- Node261.a('node.gradient','');
- Node261.a('node.gradientcolor','');
- Node261.a('node.text','324');
- Node261.a('node.textalign','left');
- Node261.a('node.textvAlign','middle');
- Node261.a('node.textrect', [Node261textStart, 0, Node261textWidth, Node261height]);
- Node261.a('node.color','rgba(0,0,0,1)');
- Node261.a('node.font',' '+ Node261fontSize + 'px "Arial"');
- Node261.a('node.textvisible',true);
- Node261.a('node.linefeed',false);
- if (false) {
- Node261.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node261.a('node.text') || '324';
- var color=Node261.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node261width,Node261height,13.3333*_ratio.ratioY,"left",color,' '+ Node261fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node261.a('node.underlinepoints',[Node261lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node261fontSize + 2 , ht.Default.getTextSize('324', ' '+ Node261fontSize + 'px "Arial"').width + 6, (Node261height - Node261fontSize) * 0.5*_ratio.ratioY + Node261fontSize + 2 ]);
- Node261.a('node.underlinevisible',false);
- Node261.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node261);
- zoomNodeList.push({
- node: Node261,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node262 = new ht.Node();
- var Node262textStart, Node262textWidth, Node262lineStart, Node262align = 'left', Node262fontSize = 13.3333*_ratio.ratioY,Node262width = 43*_ratio.ratioX, Node262height = 25*_ratio.ratioY;
- (function () {
- if (Node262align === 'left') {
- Node262textStart = Node262fontSize * 0.2 > 2 ? Node262fontSize * 0.2 - 4 : Node262fontSize * 0.2 - 9;
- Node262textWidth = Node262width;
- Node262lineStart = 1;
- } else if (Node262align === 'right') {
- Node262textStart = 0;
- Node262textWidth =Node262fontSize <= 8 ? Node262width + Node262fontSize * 0.2 + 6 : Node262width - Node262fontSize * 0.2;
- Node262lineStart = (Node262width - (ht.Default.getTextSize('325', ' '+ Node262fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node262align === 'center') {
- Node262textStart = -3;
- Node262textWidth = Node262width;
- Node262lineStart = Node262width - ht.Default.getTextSize('325', ' '+ Node262fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node262.setImage(GD.getTextJSON(Node262width, Node262height, true, false, false, ' '+ Node262fontSize + 'px "Arial"'))
- Node262.setPosition(1751*ratio.ratioX, 616*ratio.ratioY);
- Node262.setWidth(Node262width);
- Node262.setHeight(Node262height);
- Node262._nodeType = 'text';
- Node262._disallowEvert = true;
- Node262.setRotation(0*Math.PI/180);
- Node262.a('node.width', Node262width);
- Node262.a('node.height', Node262height);
- Node262.a('node.rect', [0, 0, Node262width, Node262height]);
- Node262.a('node.bordercolor','rgba(0,0,0,1)');
- Node262.a('node.borderwidth', 0);
- Node262.a('node.background','' || 'rgba(0,0,0,0)');
- Node262.a('node.gradient','');
- Node262.a('node.gradientcolor','');
- Node262.a('node.text','325');
- Node262.a('node.textalign','left');
- Node262.a('node.textvAlign','middle');
- Node262.a('node.textrect', [Node262textStart, 0, Node262textWidth, Node262height]);
- Node262.a('node.color','rgba(0,0,0,1)');
- Node262.a('node.font',' '+ Node262fontSize + 'px "Arial"');
- Node262.a('node.textvisible',true);
- Node262.a('node.linefeed',false);
- if (false) {
- Node262.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node262.a('node.text') || '325';
- var color=Node262.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node262width,Node262height,13.3333*_ratio.ratioY,"left",color,' '+ Node262fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node262.a('node.underlinepoints',[Node262lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node262fontSize + 2 , ht.Default.getTextSize('325', ' '+ Node262fontSize + 'px "Arial"').width + 6, (Node262height - Node262fontSize) * 0.5*_ratio.ratioY + Node262fontSize + 2 ]);
- Node262.a('node.underlinevisible',false);
- Node262.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node262);
- zoomNodeList.push({
- node: Node262,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node263 = new ht.Node();
- var Node263textStart, Node263textWidth, Node263lineStart, Node263align = 'left', Node263fontSize = 13.3333*_ratio.ratioY,Node263width = 43*_ratio.ratioX, Node263height = 25*_ratio.ratioY;
- (function () {
- if (Node263align === 'left') {
- Node263textStart = Node263fontSize * 0.2 > 2 ? Node263fontSize * 0.2 - 4 : Node263fontSize * 0.2 - 9;
- Node263textWidth = Node263width;
- Node263lineStart = 1;
- } else if (Node263align === 'right') {
- Node263textStart = 0;
- Node263textWidth =Node263fontSize <= 8 ? Node263width + Node263fontSize * 0.2 + 6 : Node263width - Node263fontSize * 0.2;
- Node263lineStart = (Node263width - (ht.Default.getTextSize('326', ' '+ Node263fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node263align === 'center') {
- Node263textStart = -3;
- Node263textWidth = Node263width;
- Node263lineStart = Node263width - ht.Default.getTextSize('326', ' '+ Node263fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node263.setImage(GD.getTextJSON(Node263width, Node263height, true, false, false, ' '+ Node263fontSize + 'px "Arial"'))
- Node263.setPosition(1841*ratio.ratioX, 616*ratio.ratioY);
- Node263.setWidth(Node263width);
- Node263.setHeight(Node263height);
- Node263._nodeType = 'text';
- Node263._disallowEvert = true;
- Node263.setRotation(0*Math.PI/180);
- Node263.a('node.width', Node263width);
- Node263.a('node.height', Node263height);
- Node263.a('node.rect', [0, 0, Node263width, Node263height]);
- Node263.a('node.bordercolor','rgba(0,0,0,1)');
- Node263.a('node.borderwidth', 0);
- Node263.a('node.background','' || 'rgba(0,0,0,0)');
- Node263.a('node.gradient','');
- Node263.a('node.gradientcolor','');
- Node263.a('node.text','326');
- Node263.a('node.textalign','left');
- Node263.a('node.textvAlign','middle');
- Node263.a('node.textrect', [Node263textStart, 0, Node263textWidth, Node263height]);
- Node263.a('node.color','rgba(0,0,0,1)');
- Node263.a('node.font',' '+ Node263fontSize + 'px "Arial"');
- Node263.a('node.textvisible',true);
- Node263.a('node.linefeed',false);
- if (false) {
- Node263.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node263.a('node.text') || '326';
- var color=Node263.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node263width,Node263height,13.3333*_ratio.ratioY,"left",color,' '+ Node263fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node263.a('node.underlinepoints',[Node263lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node263fontSize + 2 , ht.Default.getTextSize('326', ' '+ Node263fontSize + 'px "Arial"').width + 6, (Node263height - Node263fontSize) * 0.5*_ratio.ratioY + Node263fontSize + 2 ]);
- Node263.a('node.underlinevisible',false);
- Node263.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node263);
- zoomNodeList.push({
- node: Node263,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node264 = new ht.Node();
- var Node264textStart, Node264textWidth, Node264lineStart, Node264align = 'left', Node264fontSize = 13.3333*_ratio.ratioY,Node264width = 43*_ratio.ratioX, Node264height = 25*_ratio.ratioY;
- (function () {
- if (Node264align === 'left') {
- Node264textStart = Node264fontSize * 0.2 > 2 ? Node264fontSize * 0.2 - 4 : Node264fontSize * 0.2 - 9;
- Node264textWidth = Node264width;
- Node264lineStart = 1;
- } else if (Node264align === 'right') {
- Node264textStart = 0;
- Node264textWidth =Node264fontSize <= 8 ? Node264width + Node264fontSize * 0.2 + 6 : Node264width - Node264fontSize * 0.2;
- Node264lineStart = (Node264width - (ht.Default.getTextSize('324-0', ' '+ Node264fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node264align === 'center') {
- Node264textStart = -3;
- Node264textWidth = Node264width;
- Node264lineStart = Node264width - ht.Default.getTextSize('324-0', ' '+ Node264fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node264.setImage(GD.getTextJSON(Node264width, Node264height, true, false, false, ' '+ Node264fontSize + 'px "Arial"'))
- Node264.setPosition(1655*ratio.ratioX, 717*ratio.ratioY);
- Node264.setWidth(Node264width);
- Node264.setHeight(Node264height);
- Node264._nodeType = 'text';
- Node264._disallowEvert = true;
- Node264.setRotation(0*Math.PI/180);
- Node264.a('node.width', Node264width);
- Node264.a('node.height', Node264height);
- Node264.a('node.rect', [0, 0, Node264width, Node264height]);
- Node264.a('node.bordercolor','rgba(0,0,0,1)');
- Node264.a('node.borderwidth', 0);
- Node264.a('node.background','' || 'rgba(0,0,0,0)');
- Node264.a('node.gradient','');
- Node264.a('node.gradientcolor','');
- Node264.a('node.text','324-0');
- Node264.a('node.textalign','left');
- Node264.a('node.textvAlign','middle');
- Node264.a('node.textrect', [Node264textStart, 0, Node264textWidth, Node264height]);
- Node264.a('node.color','rgba(0,0,0,1)');
- Node264.a('node.font',' '+ Node264fontSize + 'px "Arial"');
- Node264.a('node.textvisible',true);
- Node264.a('node.linefeed',false);
- if (false) {
- Node264.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node264.a('node.text') || '324-0';
- var color=Node264.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node264width,Node264height,13.3333*_ratio.ratioY,"left",color,' '+ Node264fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node264.a('node.underlinepoints',[Node264lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node264fontSize + 2 , ht.Default.getTextSize('324-0', ' '+ Node264fontSize + 'px "Arial"').width + 6, (Node264height - Node264fontSize) * 0.5*_ratio.ratioY + Node264fontSize + 2 ]);
- Node264.a('node.underlinevisible',false);
- Node264.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node264);
- zoomNodeList.push({
- node: Node264,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node265 = new ht.Node();
- var Node265textStart, Node265textWidth, Node265lineStart, Node265align = 'left', Node265fontSize = 13.3333*_ratio.ratioY,Node265width = 43*_ratio.ratioX, Node265height = 25*_ratio.ratioY;
- (function () {
- if (Node265align === 'left') {
- Node265textStart = Node265fontSize * 0.2 > 2 ? Node265fontSize * 0.2 - 4 : Node265fontSize * 0.2 - 9;
- Node265textWidth = Node265width;
- Node265lineStart = 1;
- } else if (Node265align === 'right') {
- Node265textStart = 0;
- Node265textWidth =Node265fontSize <= 8 ? Node265width + Node265fontSize * 0.2 + 6 : Node265width - Node265fontSize * 0.2;
- Node265lineStart = (Node265width - (ht.Default.getTextSize('325-0', ' '+ Node265fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node265align === 'center') {
- Node265textStart = -3;
- Node265textWidth = Node265width;
- Node265lineStart = Node265width - ht.Default.getTextSize('325-0', ' '+ Node265fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node265.setImage(GD.getTextJSON(Node265width, Node265height, true, false, false, ' '+ Node265fontSize + 'px "Arial"'))
- Node265.setPosition(1745*ratio.ratioX, 717*ratio.ratioY);
- Node265.setWidth(Node265width);
- Node265.setHeight(Node265height);
- Node265._nodeType = 'text';
- Node265._disallowEvert = true;
- Node265.setRotation(0*Math.PI/180);
- Node265.a('node.width', Node265width);
- Node265.a('node.height', Node265height);
- Node265.a('node.rect', [0, 0, Node265width, Node265height]);
- Node265.a('node.bordercolor','rgba(0,0,0,1)');
- Node265.a('node.borderwidth', 0);
- Node265.a('node.background','' || 'rgba(0,0,0,0)');
- Node265.a('node.gradient','');
- Node265.a('node.gradientcolor','');
- Node265.a('node.text','325-0');
- Node265.a('node.textalign','left');
- Node265.a('node.textvAlign','middle');
- Node265.a('node.textrect', [Node265textStart, 0, Node265textWidth, Node265height]);
- Node265.a('node.color','rgba(0,0,0,1)');
- Node265.a('node.font',' '+ Node265fontSize + 'px "Arial"');
- Node265.a('node.textvisible',true);
- Node265.a('node.linefeed',false);
- if (false) {
- Node265.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node265.a('node.text') || '325-0';
- var color=Node265.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node265width,Node265height,13.3333*_ratio.ratioY,"left",color,' '+ Node265fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node265.a('node.underlinepoints',[Node265lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node265fontSize + 2 , ht.Default.getTextSize('325-0', ' '+ Node265fontSize + 'px "Arial"').width + 6, (Node265height - Node265fontSize) * 0.5*_ratio.ratioY + Node265fontSize + 2 ]);
- Node265.a('node.underlinevisible',false);
- Node265.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node265);
- zoomNodeList.push({
- node: Node265,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node266 = new ht.Node();
- var Node266textStart, Node266textWidth, Node266lineStart, Node266align = 'left', Node266fontSize = 13.3333*_ratio.ratioY,Node266width = 43*_ratio.ratioX, Node266height = 25*_ratio.ratioY;
- (function () {
- if (Node266align === 'left') {
- Node266textStart = Node266fontSize * 0.2 > 2 ? Node266fontSize * 0.2 - 4 : Node266fontSize * 0.2 - 9;
- Node266textWidth = Node266width;
- Node266lineStart = 1;
- } else if (Node266align === 'right') {
- Node266textStart = 0;
- Node266textWidth =Node266fontSize <= 8 ? Node266width + Node266fontSize * 0.2 + 6 : Node266width - Node266fontSize * 0.2;
- Node266lineStart = (Node266width - (ht.Default.getTextSize('326-0', ' '+ Node266fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node266align === 'center') {
- Node266textStart = -3;
- Node266textWidth = Node266width;
- Node266lineStart = Node266width - ht.Default.getTextSize('326-0', ' '+ Node266fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node266.setImage(GD.getTextJSON(Node266width, Node266height, true, false, false, ' '+ Node266fontSize + 'px "Arial"'))
- Node266.setPosition(1835*ratio.ratioX, 717*ratio.ratioY);
- Node266.setWidth(Node266width);
- Node266.setHeight(Node266height);
- Node266._nodeType = 'text';
- Node266._disallowEvert = true;
- Node266.setRotation(0*Math.PI/180);
- Node266.a('node.width', Node266width);
- Node266.a('node.height', Node266height);
- Node266.a('node.rect', [0, 0, Node266width, Node266height]);
- Node266.a('node.bordercolor','rgba(0,0,0,1)');
- Node266.a('node.borderwidth', 0);
- Node266.a('node.background','' || 'rgba(0,0,0,0)');
- Node266.a('node.gradient','');
- Node266.a('node.gradientcolor','');
- Node266.a('node.text','326-0');
- Node266.a('node.textalign','left');
- Node266.a('node.textvAlign','middle');
- Node266.a('node.textrect', [Node266textStart, 0, Node266textWidth, Node266height]);
- Node266.a('node.color','rgba(0,0,0,1)');
- Node266.a('node.font',' '+ Node266fontSize + 'px "Arial"');
- Node266.a('node.textvisible',true);
- Node266.a('node.linefeed',false);
- if (false) {
- Node266.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node266.a('node.text') || '326-0';
- var color=Node266.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node266width,Node266height,13.3333*_ratio.ratioY,"left",color,' '+ Node266fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node266.a('node.underlinepoints',[Node266lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node266fontSize + 2 , ht.Default.getTextSize('326-0', ' '+ Node266fontSize + 'px "Arial"').width + 6, (Node266height - Node266fontSize) * 0.5*_ratio.ratioY + Node266fontSize + 2 ]);
- Node266.a('node.underlinevisible',false);
- Node266.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node266);
- zoomNodeList.push({
- node: Node266,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node267_0 = new ht.lib['img'](470*ratio.ratioX, 751*ratio.ratioY, 9*_ratio.ratioX, 10*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node267_0');
- _libModel.add("Node267_0", Node267_0);
- Node267_0.setRotation(180*Math.PI/180);
- ;
- ;
- var Node267_1points=[470, 747,470, 735],
- Node267_1rect=ht.Default.unionPoint([{x:470,y:747},{x:470,y:735}]),
- Node267_1compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node267_1points.length;i++){
- if(i%2==0){
- Node267_1compspts.push(Node267_1points[i]-Node267_1rect.x);
- }else{
- Node267_1compspts.push(Node267_1points[i]-Node267_1rect.y);
- }
- }
- var Node267_1ptslength=Node267_1compspts.length;
- if (Node267_1rect.height === 0) {
- Node267_1compspts[0] -= 0;
- Node267_1compspts[Node267_1ptslength-2] += 0;
- } else if (Node267_1rect.width === 0){
- Node267_1compspts[1] -= 0;
- Node267_1compspts[Node267_1ptslength-1] += 0;
- } else {
- Node267_1compspts[0] -= 0;
- Node267_1compspts[1] -= 0;
- Node267_1compspts[Node267_1ptslength-2] += 0;
- Node267_1compspts[Node267_1ptslength-1] += 0;
- }
- Node267_1 = new ht.Node();
- Node267_1.borderWidth = 1;
- Node267_1rect.width = Node267_1rect.width === 0 ? 0.0001 : Node267_1rect.width;
- Node267_1rect.height = Node267_1rect.height === 0 ? 0.0001 : Node267_1rect.height;
- var Node267_1endCompspts = [Node267_1compspts[Node267_1ptslength-2],Node267_1compspts[Node267_1ptslength-1],0,0];
- var Node267_1startCompspts = [Node267_1compspts[0],Node267_1compspts[1],0,0];
- Node267_1.setImage(GD.getPolyLineJSON());
- Node267_1.setPosition(Node267_1rect.x+Node267_1rect.width/2,Node267_1rect.y+Node267_1rect.height/2);
- Node267_1.setSize(Node267_1rect.width,Node267_1rect.height);
- Node267_1.setStyle("opacity",1);
- Node267_1.s({'pixelPerfect':true});
- Node267_1borderwidth=1;
- Node267_1.setRotation(0);
- dataModel.add(Node267_1);
- Node267_1.a('node.points',Node267_1compspts);
- Node267_1.a('node.segments',[1,2]);
- Node267_1.a('node.color','rgba(255,128,0,1)');
- Node267_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node267_1.a('node.borderColor','rgba(255,128,0,1)');
- Node267_1.a('node.background','rgba(255,128,0,1)');
- Node267_1.a('node.gradient','');
- Node267_1.a('node.gradientcolor','rgba(255,128,0,1)');
- Node267_1.a('node.endCompspts',Node267_1endCompspts);
- Node267_1.a('node.startCompspts',Node267_1startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node267_1';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node267_1, Node267_1.getImage(), Node267_1compspts, Node267_1endCompspts, Node267_1startCompspts);
- var Node267_2points=[470, 740,490, 740],
- Node267_2rect=ht.Default.unionPoint([{x:470,y:740},{x:490,y:740}]),
- Node267_2compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node267_2points.length;i++){
- if(i%2==0){
- Node267_2compspts.push(Node267_2points[i]-Node267_2rect.x);
- }else{
- Node267_2compspts.push(Node267_2points[i]-Node267_2rect.y);
- }
- }
- var Node267_2ptslength=Node267_2compspts.length;
- if (Node267_2rect.height === 0) {
- Node267_2compspts[0] -= 0;
- Node267_2compspts[Node267_2ptslength-2] += 0;
- } else if (Node267_2rect.width === 0){
- Node267_2compspts[1] -= 0;
- Node267_2compspts[Node267_2ptslength-1] += 0;
- } else {
- Node267_2compspts[0] -= 0;
- Node267_2compspts[1] -= 0;
- Node267_2compspts[Node267_2ptslength-2] += 0;
- Node267_2compspts[Node267_2ptslength-1] += 0;
- }
- Node267_2 = new ht.Node();
- Node267_2.borderWidth = 1;
- Node267_2rect.width = Node267_2rect.width === 0 ? 0.0001 : Node267_2rect.width;
- Node267_2rect.height = Node267_2rect.height === 0 ? 0.0001 : Node267_2rect.height;
- var Node267_2endCompspts = [Node267_2compspts[Node267_2ptslength-2],Node267_2compspts[Node267_2ptslength-1],0,0];
- var Node267_2startCompspts = [Node267_2compspts[0],Node267_2compspts[1],0,0];
- Node267_2.setImage(GD.getPolyLineJSON());
- Node267_2.setPosition(Node267_2rect.x+Node267_2rect.width/2,Node267_2rect.y+Node267_2rect.height/2);
- Node267_2.setSize(Node267_2rect.width,Node267_2rect.height);
- Node267_2.setStyle("opacity",1);
- Node267_2.s({'pixelPerfect':true});
- Node267_2borderwidth=1;
- Node267_2.setRotation(0);
- dataModel.add(Node267_2);
- Node267_2.a('node.points',Node267_2compspts);
- Node267_2.a('node.segments',[1,2]);
- Node267_2.a('node.color','rgba(255,128,0,1)');
- Node267_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node267_2.a('node.borderColor','rgba(255,128,0,1)');
- Node267_2.a('node.background','rgba(255,128,0,1)');
- Node267_2.a('node.gradient','');
- Node267_2.a('node.gradientcolor','rgba(255,128,0,1)');
- Node267_2.a('node.endCompspts',Node267_2endCompspts);
- Node267_2.a('node.startCompspts',Node267_2startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node267_2';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node267_2, Node267_2.getImage(), Node267_2compspts, Node267_2endCompspts, Node267_2startCompspts);
- var Node267_3points=[490, 745,490, 740],
- Node267_3rect=ht.Default.unionPoint([{x:490,y:745},{x:490,y:740}]),
- Node267_3compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node267_3points.length;i++){
- if(i%2==0){
- Node267_3compspts.push(Node267_3points[i]-Node267_3rect.x);
- }else{
- Node267_3compspts.push(Node267_3points[i]-Node267_3rect.y);
- }
- }
- var Node267_3ptslength=Node267_3compspts.length;
- if (Node267_3rect.height === 0) {
- Node267_3compspts[0] -= 0;
- Node267_3compspts[Node267_3ptslength-2] += 0;
- } else if (Node267_3rect.width === 0){
- Node267_3compspts[1] -= 0;
- Node267_3compspts[Node267_3ptslength-1] += 0;
- } else {
- Node267_3compspts[0] -= 0;
- Node267_3compspts[1] -= 0;
- Node267_3compspts[Node267_3ptslength-2] += 0;
- Node267_3compspts[Node267_3ptslength-1] += 0;
- }
- Node267_3 = new ht.Node();
- Node267_3.borderWidth = 1;
- Node267_3rect.width = Node267_3rect.width === 0 ? 0.0001 : Node267_3rect.width;
- Node267_3rect.height = Node267_3rect.height === 0 ? 0.0001 : Node267_3rect.height;
- var Node267_3endCompspts = [Node267_3compspts[Node267_3ptslength-2],Node267_3compspts[Node267_3ptslength-1],0,0];
- var Node267_3startCompspts = [Node267_3compspts[0],Node267_3compspts[1],0,0];
- Node267_3.setImage(GD.getPolyLineJSON());
- Node267_3.setPosition(Node267_3rect.x+Node267_3rect.width/2,Node267_3rect.y+Node267_3rect.height/2);
- Node267_3.setSize(Node267_3rect.width,Node267_3rect.height);
- Node267_3.setStyle("opacity",1);
- Node267_3.s({'pixelPerfect':true});
- Node267_3borderwidth=1;
- Node267_3.setRotation(0);
- dataModel.add(Node267_3);
- Node267_3.a('node.points',Node267_3compspts);
- Node267_3.a('node.segments',[1,2]);
- Node267_3.a('node.color','rgba(255,128,0,1)');
- Node267_3.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node267_3.a('node.borderColor','rgba(255,128,0,1)');
- Node267_3.a('node.background','rgba(255,128,0,1)');
- Node267_3.a('node.gradient','');
- Node267_3.a('node.gradientcolor','rgba(255,128,0,1)');
- Node267_3.a('node.endCompspts',Node267_3endCompspts);
- Node267_3.a('node.startCompspts',Node267_3startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node267_3';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node267_3, Node267_3.getImage(), Node267_3compspts, Node267_3endCompspts, Node267_3startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node267_4 = new ht.Node();
- var Node267_4textStart, Node267_4textWidth, Node267_4lineStart, Node267_4align = 'left', Node267_4fontSize = 13.3333*_ratio.ratioY,Node267_4width = 47*_ratio.ratioX, Node267_4height = 25*_ratio.ratioY;
- (function () {
- if (Node267_4align === 'left') {
- Node267_4textStart = Node267_4fontSize * 0.2 > 2 ? Node267_4fontSize * 0.2 - 4 : Node267_4fontSize * 0.2 - 9;
- Node267_4textWidth = Node267_4width;
- Node267_4lineStart = 1;
- } else if (Node267_4align === 'right') {
- Node267_4textStart = 0;
- Node267_4textWidth =Node267_4fontSize <= 8 ? Node267_4width + Node267_4fontSize * 0.2 + 6 : Node267_4width - Node267_4fontSize * 0.2;
- Node267_4lineStart = (Node267_4width - (ht.Default.getTextSize('3172-0', ' '+ Node267_4fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node267_4align === 'center') {
- Node267_4textStart = -3;
- Node267_4textWidth = Node267_4width;
- Node267_4lineStart = Node267_4width - ht.Default.getTextSize('3172-0', ' '+ Node267_4fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node267_4.setImage(GD.getTextJSON(Node267_4width, Node267_4height, true, false, false, ' '+ Node267_4fontSize + 'px "Arial"'))
- Node267_4.setPosition(493*ratio.ratioX, 779*ratio.ratioY);
- Node267_4.setWidth(Node267_4width);
- Node267_4.setHeight(Node267_4height);
- Node267_4._nodeType = 'text';
- Node267_4._disallowEvert = true;
- Node267_4.setRotation(0*Math.PI/180);
- Node267_4.a('node.width', Node267_4width);
- Node267_4.a('node.height', Node267_4height);
- Node267_4.a('node.rect', [0, 0, Node267_4width, Node267_4height]);
- Node267_4.a('node.bordercolor','rgba(0,0,0,1)');
- Node267_4.a('node.borderwidth', 0);
- Node267_4.a('node.background','' || 'rgba(0,0,0,0)');
- Node267_4.a('node.gradient','');
- Node267_4.a('node.gradientcolor','');
- Node267_4.a('node.text','3172-0');
- Node267_4.a('node.textalign','left');
- Node267_4.a('node.textvAlign','middle');
- Node267_4.a('node.textrect', [Node267_4textStart, 0, Node267_4textWidth, Node267_4height]);
- Node267_4.a('node.color','rgba(0,0,0,1)');
- Node267_4.a('node.font',' '+ Node267_4fontSize + 'px "Arial"');
- Node267_4.a('node.textvisible',true);
- Node267_4.a('node.linefeed',false);
- if (false) {
- Node267_4.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node267_4.a('node.text') || '3172-0';
- var color=Node267_4.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node267_4width,Node267_4height,13.3333*_ratio.ratioY,"left",color,' '+ Node267_4fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node267_4.a('node.underlinepoints',[Node267_4lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node267_4fontSize + 2 , ht.Default.getTextSize('3172-0', ' '+ Node267_4fontSize + 'px "Arial"').width + 6, (Node267_4height - Node267_4fontSize) * 0.5*_ratio.ratioY + Node267_4fontSize + 2 ]);
- Node267_4.a('node.underlinevisible',false);
- Node267_4.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node267_4);
- zoomNodeList.push({
- node: Node267_4,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node267_5 = new ht.lib['rr'](489*ratio.ratioX, 756*ratio.ratioY, 21*_ratio.ratioX, 23*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node267_5');
- _libModel.add("Node267_5", Node267_5);
- Node267_5.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node268_0 = new ht.lib['img'](410*ratio.ratioX, 745*ratio.ratioY, 9*_ratio.ratioX, 10*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node268_0');
- _libModel.add("Node268_0", Node268_0);
- Node268_0.setRotation(180*Math.PI/180);
- ;
- ;
- var Node268_1points=[410, 741,410, 736],
- Node268_1rect=ht.Default.unionPoint([{x:410,y:741},{x:410,y:736}]),
- Node268_1compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node268_1points.length;i++){
- if(i%2==0){
- Node268_1compspts.push(Node268_1points[i]-Node268_1rect.x);
- }else{
- Node268_1compspts.push(Node268_1points[i]-Node268_1rect.y);
- }
- }
- var Node268_1ptslength=Node268_1compspts.length;
- if (Node268_1rect.height === 0) {
- Node268_1compspts[0] -= 0;
- Node268_1compspts[Node268_1ptslength-2] += 0;
- } else if (Node268_1rect.width === 0){
- Node268_1compspts[1] -= 0;
- Node268_1compspts[Node268_1ptslength-1] += 0;
- } else {
- Node268_1compspts[0] -= 0;
- Node268_1compspts[1] -= 0;
- Node268_1compspts[Node268_1ptslength-2] += 0;
- Node268_1compspts[Node268_1ptslength-1] += 0;
- }
- Node268_1 = new ht.Node();
- Node268_1.borderWidth = 1;
- Node268_1rect.width = Node268_1rect.width === 0 ? 0.0001 : Node268_1rect.width;
- Node268_1rect.height = Node268_1rect.height === 0 ? 0.0001 : Node268_1rect.height;
- var Node268_1endCompspts = [Node268_1compspts[Node268_1ptslength-2],Node268_1compspts[Node268_1ptslength-1],0,0];
- var Node268_1startCompspts = [Node268_1compspts[0],Node268_1compspts[1],0,0];
- Node268_1.setImage(GD.getPolyLineJSON());
- Node268_1.setPosition(Node268_1rect.x+Node268_1rect.width/2,Node268_1rect.y+Node268_1rect.height/2);
- Node268_1.setSize(Node268_1rect.width,Node268_1rect.height);
- Node268_1.setStyle("opacity",1);
- Node268_1.s({'pixelPerfect':true});
- Node268_1borderwidth=1;
- Node268_1.setRotation(0);
- dataModel.add(Node268_1);
- Node268_1.a('node.points',Node268_1compspts);
- Node268_1.a('node.segments',[1,2]);
- Node268_1.a('node.color','rgba(255,128,0,1)');
- Node268_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node268_1.a('node.borderColor','rgba(255,128,0,1)');
- Node268_1.a('node.background','rgba(255,128,0,1)');
- Node268_1.a('node.gradient','');
- Node268_1.a('node.gradientcolor','rgba(255,128,0,1)');
- Node268_1.a('node.endCompspts',Node268_1endCompspts);
- Node268_1.a('node.startCompspts',Node268_1startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node268_1';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node268_1, Node268_1.getImage(), Node268_1compspts, Node268_1endCompspts, Node268_1startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node268_2 = new ht.Node();
- var Node268_2textStart, Node268_2textWidth, Node268_2lineStart, Node268_2align = 'left', Node268_2fontSize = 13.3333*_ratio.ratioY,Node268_2width = 43*_ratio.ratioX, Node268_2height = 25*_ratio.ratioY;
- (function () {
- if (Node268_2align === 'left') {
- Node268_2textStart = Node268_2fontSize * 0.2 > 2 ? Node268_2fontSize * 0.2 - 4 : Node268_2fontSize * 0.2 - 9;
- Node268_2textWidth = Node268_2width;
- Node268_2lineStart = 1;
- } else if (Node268_2align === 'right') {
- Node268_2textStart = 0;
- Node268_2textWidth =Node268_2fontSize <= 8 ? Node268_2width + Node268_2fontSize * 0.2 + 6 : Node268_2width - Node268_2fontSize * 0.2;
- Node268_2lineStart = (Node268_2width - (ht.Default.getTextSize('3171', ' '+ Node268_2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node268_2align === 'center') {
- Node268_2textStart = -3;
- Node268_2textWidth = Node268_2width;
- Node268_2lineStart = Node268_2width - ht.Default.getTextSize('3171', ' '+ Node268_2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node268_2.setImage(GD.getTextJSON(Node268_2width, Node268_2height, true, false, false, ' '+ Node268_2fontSize + 'px "Arial"'))
- Node268_2.setPosition(414*ratio.ratioX, 768*ratio.ratioY);
- Node268_2.setWidth(Node268_2width);
- Node268_2.setHeight(Node268_2height);
- Node268_2._nodeType = 'text';
- Node268_2._disallowEvert = true;
- Node268_2.setRotation(0*Math.PI/180);
- Node268_2.a('node.width', Node268_2width);
- Node268_2.a('node.height', Node268_2height);
- Node268_2.a('node.rect', [0, 0, Node268_2width, Node268_2height]);
- Node268_2.a('node.bordercolor','rgba(0,0,0,1)');
- Node268_2.a('node.borderwidth', 0);
- Node268_2.a('node.background','' || 'rgba(0,0,0,0)');
- Node268_2.a('node.gradient','');
- Node268_2.a('node.gradientcolor','');
- Node268_2.a('node.text','3171');
- Node268_2.a('node.textalign','left');
- Node268_2.a('node.textvAlign','middle');
- Node268_2.a('node.textrect', [Node268_2textStart, 0, Node268_2textWidth, Node268_2height]);
- Node268_2.a('node.color','rgba(0,0,0,1)');
- Node268_2.a('node.font',' '+ Node268_2fontSize + 'px "Arial"');
- Node268_2.a('node.textvisible',true);
- Node268_2.a('node.linefeed',false);
- if (false) {
- Node268_2.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node268_2.a('node.text') || '3171';
- var color=Node268_2.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node268_2width,Node268_2height,13.3333*_ratio.ratioY,"left",color,' '+ Node268_2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node268_2.a('node.underlinepoints',[Node268_2lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node268_2fontSize + 2 , ht.Default.getTextSize('3171', ' '+ Node268_2fontSize + 'px "Arial"').width + 6, (Node268_2height - Node268_2fontSize) * 0.5*_ratio.ratioY + Node268_2fontSize + 2 ]);
- Node268_2.a('node.underlinevisible',false);
- Node268_2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node268_2);
- zoomNodeList.push({
- node: Node268_2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node269_0= new ht.Node();
- Node269_0._borderWidth = 1;
- Node269_0.setImage({
- width: 80*_ratio.ratioX,
- height:20*_ratio.ratioY,
- clip:function(g, width, height, data){
- drawRoundRect(g,0,0,width,height,3,3,'rgba(0,0,192,1)', Node269_0._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node269_0.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node269_0.background'},
- gradient: {value:'', func: 'attr@Node269_0.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node269_0.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node269_0.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node269_0.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node269_0.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node269_0.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node269_0.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node269_0.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node269_0.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node269_0.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node269_0.borderPattern'}
- }
- ]
- });
- var Node269_0borderwidth = 1;
- var Node269_0borderFillwidth = 1*2;
- Node269_0 .setPosition(79*ratio.ratioX,801*ratio.ratioY);
- Node269_0.setSize(80*_ratio.ratioX, 20*_ratio.ratioY);
- Node269_0.setRotation(0*Math.PI/180);
- Node269_0.s({'pixelPerfect':true});
- Node269_0.a('Node269_0.borderwidth',1);
- Node269_0.a('Node269_0.color','@bordercolor@');
- Node269_0.a('Node269_0.background','rgba(0,0,192,1)');
- Node269_0.a('Node269_0.gradient','');
- Node269_0.a('Node269_0.gradientcolor','rgba(0,0,192,1)');
- Node269_0.a('Node269_0.borderPattern',getDashStyle("Solid"));
- Node269_0.a('Node269_0.fillrect',[0,0,0,0]);
- Node269_0.a('Node269_0.fillbackcolor','rgba(0, 0, 0, 0)');
- Node269_0.a('Node269_0.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node269_0.a('Node269_0.fillgradient','');
- Node269_0borderwidth=1;
- dataModel.add(Node269_0);
- Node269_0.borderWidth = 1;
- Node269_0.borderFillwidth = 1*2;
- Node269_0._nodename = 'Node269_0';
- Node269_0._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node269_0,
- attr: 'Node269_0.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- _img.width = width;
- this.a('Node269_0.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- _img.height = height;
- this.a('Node269_0.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node269_0, Node269_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node269_1 = new ht.Node();
- var Node269_1textStart, Node269_1textWidth, Node269_1lineStart, Node269_1align = 'left', Node269_1fontSize = 13.3333*_ratio.ratioY,Node269_1width = 108*_ratio.ratioX, Node269_1height = 25*_ratio.ratioY;
- (function () {
- if (Node269_1align === 'left') {
- Node269_1textStart = Node269_1fontSize * 0.2 > 2 ? Node269_1fontSize * 0.2 - 4 : Node269_1fontSize * 0.2 - 9;
- Node269_1textWidth = Node269_1width;
- Node269_1lineStart = 1;
- } else if (Node269_1align === 'right') {
- Node269_1textStart = 0;
- Node269_1textWidth =Node269_1fontSize <= 8 ? Node269_1width + Node269_1fontSize * 0.2 + 6 : Node269_1width - Node269_1fontSize * 0.2;
- Node269_1lineStart = (Node269_1width - (ht.Default.getTextSize('1号接地变', ' '+ Node269_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node269_1align === 'center') {
- Node269_1textStart = -3;
- Node269_1textWidth = Node269_1width;
- Node269_1lineStart = Node269_1width - ht.Default.getTextSize('1号接地变', ' '+ Node269_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node269_1.setImage(GD.getTextJSON(Node269_1width, Node269_1height, true, false, false, ' '+ Node269_1fontSize + 'px "Arial"'))
- Node269_1.setPosition(96*ratio.ratioX, 803*ratio.ratioY);
- Node269_1.setWidth(Node269_1width);
- Node269_1.setHeight(Node269_1height);
- Node269_1._nodeType = 'text';
- Node269_1._disallowEvert = true;
- Node269_1.setRotation(0*Math.PI/180);
- Node269_1.a('node.width', Node269_1width);
- Node269_1.a('node.height', Node269_1height);
- Node269_1.a('node.rect', [0, 0, Node269_1width, Node269_1height]);
- Node269_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node269_1.a('node.borderwidth', 0);
- Node269_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node269_1.a('node.gradient','');
- Node269_1.a('node.gradientcolor','');
- Node269_1.a('node.text','1号接地变');
- Node269_1.a('node.textalign','left');
- Node269_1.a('node.textvAlign','middle');
- Node269_1.a('node.textrect', [Node269_1textStart, 0, Node269_1textWidth, Node269_1height]);
- Node269_1.a('node.color','rgba(255,255,255,1)');
- Node269_1.a('node.font',' '+ Node269_1fontSize + 'px "Arial"');
- Node269_1.a('node.textvisible',true);
- Node269_1.a('node.linefeed',false);
- if (false) {
- Node269_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node269_1.a('node.text') || '1号接地变';
- var color=Node269_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node269_1width,Node269_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node269_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node269_1.a('node.underlinepoints',[Node269_1lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node269_1fontSize + 2 , ht.Default.getTextSize('1号接地变', ' '+ Node269_1fontSize + 'px "Arial"').width + 6, (Node269_1height - Node269_1fontSize) * 0.5*_ratio.ratioY + Node269_1fontSize + 2 ]);
- Node269_1.a('node.underlinevisible',false);
- Node269_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node269_1);
- zoomNodeList.push({
- node: Node269_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node270= new ht.Node();
- Node270._borderWidth = 1;
- Node270.setImage({
- width: 80*_ratio.ratioX,
- height:20*_ratio.ratioY,
- clip:function(g, width, height, data){
- drawRoundRect(g,0,0,width,height,3,3,'rgba(0,0,192,1)', Node270._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node270.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node270.background'},
- gradient: {value:'', func: 'attr@Node270.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node270.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node270.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node270.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node270.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node270.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node270.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node270.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node270.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node270.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node270.borderPattern'}
- }
- ]
- });
- var Node270borderwidth = 1;
- var Node270borderFillwidth = 1*2;
- Node270 .setPosition(169*ratio.ratioX,801*ratio.ratioY);
- Node270.setSize(80*_ratio.ratioX, 20*_ratio.ratioY);
- Node270.setRotation(0*Math.PI/180);
- Node270.s({'pixelPerfect':true});
- Node270.a('Node270.borderwidth',1);
- Node270.a('Node270.color','@bordercolor@');
- Node270.a('Node270.background','rgba(0,0,192,1)');
- Node270.a('Node270.gradient','');
- Node270.a('Node270.gradientcolor','rgba(0,0,192,1)');
- Node270.a('Node270.borderPattern',getDashStyle("Solid"));
- Node270.a('Node270.fillrect',[0,0,0,0]);
- Node270.a('Node270.fillbackcolor','rgba(0, 0, 0, 0)');
- Node270.a('Node270.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node270.a('Node270.fillgradient','');
- Node270borderwidth=1;
- dataModel.add(Node270);
- Node270.borderWidth = 1;
- Node270.borderFillwidth = 1*2;
- Node270._nodename = 'Node270';
- Node270._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node270,
- attr: 'Node270.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- _img.width = width;
- this.a('Node270.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- _img.height = height;
- this.a('Node270.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node270, Node270.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node271 = new ht.Node();
- var Node271textStart, Node271textWidth, Node271lineStart, Node271align = 'left', Node271fontSize = 13.3333*_ratio.ratioY,Node271width = 108*_ratio.ratioX, Node271height = 25*_ratio.ratioY;
- (function () {
- if (Node271align === 'left') {
- Node271textStart = Node271fontSize * 0.2 > 2 ? Node271fontSize * 0.2 - 4 : Node271fontSize * 0.2 - 9;
- Node271textWidth = Node271width;
- Node271lineStart = 1;
- } else if (Node271align === 'right') {
- Node271textStart = 0;
- Node271textWidth =Node271fontSize <= 8 ? Node271width + Node271fontSize * 0.2 + 6 : Node271width - Node271fontSize * 0.2;
- Node271lineStart = (Node271width - (ht.Default.getTextSize('集电六线', ' '+ Node271fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node271align === 'center') {
- Node271textStart = -3;
- Node271textWidth = Node271width;
- Node271lineStart = Node271width - ht.Default.getTextSize('集电六线', ' '+ Node271fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node271.setImage(GD.getTextJSON(Node271width, Node271height, true, false, false, ' '+ Node271fontSize + 'px "Arial"'))
- Node271.setPosition(191*ratio.ratioX, 803*ratio.ratioY);
- Node271.setWidth(Node271width);
- Node271.setHeight(Node271height);
- Node271._nodeType = 'text';
- Node271._disallowEvert = true;
- Node271.setRotation(0*Math.PI/180);
- Node271.a('node.width', Node271width);
- Node271.a('node.height', Node271height);
- Node271.a('node.rect', [0, 0, Node271width, Node271height]);
- Node271.a('node.bordercolor','rgba(255,255,255,1)');
- Node271.a('node.borderwidth', 0);
- Node271.a('node.background','' || 'rgba(0,0,0,0)');
- Node271.a('node.gradient','');
- Node271.a('node.gradientcolor','');
- Node271.a('node.text','集电六线');
- Node271.a('node.textalign','left');
- Node271.a('node.textvAlign','middle');
- Node271.a('node.textrect', [Node271textStart, 0, Node271textWidth, Node271height]);
- Node271.a('node.color','rgba(255,255,255,1)');
- Node271.a('node.font',' '+ Node271fontSize + 'px "Arial"');
- Node271.a('node.textvisible',true);
- Node271.a('node.linefeed',false);
- if (false) {
- Node271.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node271.a('node.text') || '集电六线';
- var color=Node271.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node271width,Node271height,13.3333*_ratio.ratioY,"left",color,' '+ Node271fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node271.a('node.underlinepoints',[Node271lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node271fontSize + 2 , ht.Default.getTextSize('集电六线', ' '+ Node271fontSize + 'px "Arial"').width + 6, (Node271height - Node271fontSize) * 0.5*_ratio.ratioY + Node271fontSize + 2 ]);
- Node271.a('node.underlinevisible',false);
- Node271.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node271);
- zoomNodeList.push({
- node: Node271,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node272= new ht.Node();
- Node272._borderWidth = 1;
- Node272.setImage({
- width: 80*_ratio.ratioX,
- height:20*_ratio.ratioY,
- clip:function(g, width, height, data){
- drawRoundRect(g,0,0,width,height,3,3,'rgba(0,0,192,1)', Node272._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node272.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node272.background'},
- gradient: {value:'', func: 'attr@Node272.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node272.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node272.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node272.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node272.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node272.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node272.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node272.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node272.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node272.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node272.borderPattern'}
- }
- ]
- });
- var Node272borderwidth = 1;
- var Node272borderFillwidth = 1*2;
- Node272 .setPosition(259*ratio.ratioX,801*ratio.ratioY);
- Node272.setSize(80*_ratio.ratioX, 20*_ratio.ratioY);
- Node272.setRotation(0*Math.PI/180);
- Node272.s({'pixelPerfect':true});
- Node272.a('Node272.borderwidth',1);
- Node272.a('Node272.color','@bordercolor@');
- Node272.a('Node272.background','rgba(0,0,192,1)');
- Node272.a('Node272.gradient','');
- Node272.a('Node272.gradientcolor','rgba(0,0,192,1)');
- Node272.a('Node272.borderPattern',getDashStyle("Solid"));
- Node272.a('Node272.fillrect',[0,0,0,0]);
- Node272.a('Node272.fillbackcolor','rgba(0, 0, 0, 0)');
- Node272.a('Node272.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node272.a('Node272.fillgradient','');
- Node272borderwidth=1;
- dataModel.add(Node272);
- Node272.borderWidth = 1;
- Node272.borderFillwidth = 1*2;
- Node272._nodename = 'Node272';
- Node272._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node272,
- attr: 'Node272.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- _img.width = width;
- this.a('Node272.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- _img.height = height;
- this.a('Node272.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node272, Node272.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node273 = new ht.Node();
- var Node273textStart, Node273textWidth, Node273lineStart, Node273align = 'left', Node273fontSize = 13.3333*_ratio.ratioY,Node273width = 108*_ratio.ratioX, Node273height = 25*_ratio.ratioY;
- (function () {
- if (Node273align === 'left') {
- Node273textStart = Node273fontSize * 0.2 > 2 ? Node273fontSize * 0.2 - 4 : Node273fontSize * 0.2 - 9;
- Node273textWidth = Node273width;
- Node273lineStart = 1;
- } else if (Node273align === 'right') {
- Node273textStart = 0;
- Node273textWidth =Node273fontSize <= 8 ? Node273width + Node273fontSize * 0.2 + 6 : Node273width - Node273fontSize * 0.2;
- Node273lineStart = (Node273width - (ht.Default.getTextSize('集电五线', ' '+ Node273fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node273align === 'center') {
- Node273textStart = -3;
- Node273textWidth = Node273width;
- Node273lineStart = Node273width - ht.Default.getTextSize('集电五线', ' '+ Node273fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node273.setImage(GD.getTextJSON(Node273width, Node273height, true, false, false, ' '+ Node273fontSize + 'px "Arial"'))
- Node273.setPosition(281*ratio.ratioX, 803*ratio.ratioY);
- Node273.setWidth(Node273width);
- Node273.setHeight(Node273height);
- Node273._nodeType = 'text';
- Node273._disallowEvert = true;
- Node273.setRotation(0*Math.PI/180);
- Node273.a('node.width', Node273width);
- Node273.a('node.height', Node273height);
- Node273.a('node.rect', [0, 0, Node273width, Node273height]);
- Node273.a('node.bordercolor','rgba(255,255,255,1)');
- Node273.a('node.borderwidth', 0);
- Node273.a('node.background','' || 'rgba(0,0,0,0)');
- Node273.a('node.gradient','');
- Node273.a('node.gradientcolor','');
- Node273.a('node.text','集电五线');
- Node273.a('node.textalign','left');
- Node273.a('node.textvAlign','middle');
- Node273.a('node.textrect', [Node273textStart, 0, Node273textWidth, Node273height]);
- Node273.a('node.color','rgba(255,255,255,1)');
- Node273.a('node.font',' '+ Node273fontSize + 'px "Arial"');
- Node273.a('node.textvisible',true);
- Node273.a('node.linefeed',false);
- if (false) {
- Node273.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node273.a('node.text') || '集电五线';
- var color=Node273.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node273width,Node273height,13.3333*_ratio.ratioY,"left",color,' '+ Node273fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node273.a('node.underlinepoints',[Node273lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node273fontSize + 2 , ht.Default.getTextSize('集电五线', ' '+ Node273fontSize + 'px "Arial"').width + 6, (Node273height - Node273fontSize) * 0.5*_ratio.ratioY + Node273fontSize + 2 ]);
- Node273.a('node.underlinevisible',false);
- Node273.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node273);
- zoomNodeList.push({
- node: Node273,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node274= new ht.Node();
- Node274._borderWidth = 1;
- Node274.setImage({
- width: 80*_ratio.ratioX,
- height:20*_ratio.ratioY,
- clip:function(g, width, height, data){
- drawRoundRect(g,0,0,width,height,3,3,'rgba(0,0,192,1)', Node274._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node274.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node274.background'},
- gradient: {value:'', func: 'attr@Node274.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node274.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node274.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node274.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node274.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node274.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node274.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node274.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node274.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node274.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node274.borderPattern'}
- }
- ]
- });
- var Node274borderwidth = 1;
- var Node274borderFillwidth = 1*2;
- Node274 .setPosition(349*ratio.ratioX,801*ratio.ratioY);
- Node274.setSize(80*_ratio.ratioX, 20*_ratio.ratioY);
- Node274.setRotation(0*Math.PI/180);
- Node274.s({'pixelPerfect':true});
- Node274.a('Node274.borderwidth',1);
- Node274.a('Node274.color','@bordercolor@');
- Node274.a('Node274.background','rgba(0,0,192,1)');
- Node274.a('Node274.gradient','');
- Node274.a('Node274.gradientcolor','rgba(0,0,192,1)');
- Node274.a('Node274.borderPattern',getDashStyle("Solid"));
- Node274.a('Node274.fillrect',[0,0,0,0]);
- Node274.a('Node274.fillbackcolor','rgba(0, 0, 0, 0)');
- Node274.a('Node274.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node274.a('Node274.fillgradient','');
- Node274borderwidth=1;
- dataModel.add(Node274);
- Node274.borderWidth = 1;
- Node274.borderFillwidth = 1*2;
- Node274._nodename = 'Node274';
- Node274._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node274,
- attr: 'Node274.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- _img.width = width;
- this.a('Node274.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- _img.height = height;
- this.a('Node274.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node274, Node274.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node275 = new ht.Node();
- var Node275textStart, Node275textWidth, Node275lineStart, Node275align = 'left', Node275fontSize = 13.3333*_ratio.ratioY,Node275width = 108*_ratio.ratioX, Node275height = 25*_ratio.ratioY;
- (function () {
- if (Node275align === 'left') {
- Node275textStart = Node275fontSize * 0.2 > 2 ? Node275fontSize * 0.2 - 4 : Node275fontSize * 0.2 - 9;
- Node275textWidth = Node275width;
- Node275lineStart = 1;
- } else if (Node275align === 'right') {
- Node275textStart = 0;
- Node275textWidth =Node275fontSize <= 8 ? Node275width + Node275fontSize * 0.2 + 6 : Node275width - Node275fontSize * 0.2;
- Node275lineStart = (Node275width - (ht.Default.getTextSize('集电四线', ' '+ Node275fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node275align === 'center') {
- Node275textStart = -3;
- Node275textWidth = Node275width;
- Node275lineStart = Node275width - ht.Default.getTextSize('集电四线', ' '+ Node275fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node275.setImage(GD.getTextJSON(Node275width, Node275height, true, false, false, ' '+ Node275fontSize + 'px "Arial"'))
- Node275.setPosition(371*ratio.ratioX, 803*ratio.ratioY);
- Node275.setWidth(Node275width);
- Node275.setHeight(Node275height);
- Node275._nodeType = 'text';
- Node275._disallowEvert = true;
- Node275.setRotation(0*Math.PI/180);
- Node275.a('node.width', Node275width);
- Node275.a('node.height', Node275height);
- Node275.a('node.rect', [0, 0, Node275width, Node275height]);
- Node275.a('node.bordercolor','rgba(255,255,255,1)');
- Node275.a('node.borderwidth', 0);
- Node275.a('node.background','' || 'rgba(0,0,0,0)');
- Node275.a('node.gradient','');
- Node275.a('node.gradientcolor','');
- Node275.a('node.text','集电四线');
- Node275.a('node.textalign','left');
- Node275.a('node.textvAlign','middle');
- Node275.a('node.textrect', [Node275textStart, 0, Node275textWidth, Node275height]);
- Node275.a('node.color','rgba(255,255,255,1)');
- Node275.a('node.font',' '+ Node275fontSize + 'px "Arial"');
- Node275.a('node.textvisible',true);
- Node275.a('node.linefeed',false);
- if (false) {
- Node275.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node275.a('node.text') || '集电四线';
- var color=Node275.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node275width,Node275height,13.3333*_ratio.ratioY,"left",color,' '+ Node275fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node275.a('node.underlinepoints',[Node275lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node275fontSize + 2 , ht.Default.getTextSize('集电四线', ' '+ Node275fontSize + 'px "Arial"').width + 6, (Node275height - Node275fontSize) * 0.5*_ratio.ratioY + Node275fontSize + 2 ]);
- Node275.a('node.underlinevisible',false);
- Node275.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node275);
- zoomNodeList.push({
- node: Node275,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node276= new ht.Node();
- Node276._borderWidth = 1;
- Node276.setImage({
- width: 80*_ratio.ratioX,
- height:20*_ratio.ratioY,
- clip:function(g, width, height, data){
- drawRoundRect(g,0,0,width,height,3,3,'rgba(0,0,192,1)', Node276._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node276.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node276.background'},
- gradient: {value:'', func: 'attr@Node276.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node276.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node276.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node276.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node276.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node276.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node276.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node276.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node276.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node276.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node276.borderPattern'}
- }
- ]
- });
- var Node276borderwidth = 1;
- var Node276borderFillwidth = 1*2;
- Node276 .setPosition(439*ratio.ratioX,801*ratio.ratioY);
- Node276.setSize(80*_ratio.ratioX, 20*_ratio.ratioY);
- Node276.setRotation(0*Math.PI/180);
- Node276.s({'pixelPerfect':true});
- Node276.a('Node276.borderwidth',1);
- Node276.a('Node276.color','@bordercolor@');
- Node276.a('Node276.background','rgba(0,0,192,1)');
- Node276.a('Node276.gradient','');
- Node276.a('Node276.gradientcolor','rgba(0,0,192,1)');
- Node276.a('Node276.borderPattern',getDashStyle("Solid"));
- Node276.a('Node276.fillrect',[0,0,0,0]);
- Node276.a('Node276.fillbackcolor','rgba(0, 0, 0, 0)');
- Node276.a('Node276.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node276.a('Node276.fillgradient','');
- Node276borderwidth=1;
- dataModel.add(Node276);
- Node276.borderWidth = 1;
- Node276.borderFillwidth = 1*2;
- Node276._nodename = 'Node276';
- Node276._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node276,
- attr: 'Node276.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- _img.width = width;
- this.a('Node276.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- _img.height = height;
- this.a('Node276.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node276, Node276.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node277 = new ht.Node();
- var Node277textStart, Node277textWidth, Node277lineStart, Node277align = 'left', Node277fontSize = 13.3333*_ratio.ratioY,Node277width = 108*_ratio.ratioX, Node277height = 25*_ratio.ratioY;
- (function () {
- if (Node277align === 'left') {
- Node277textStart = Node277fontSize * 0.2 > 2 ? Node277fontSize * 0.2 - 4 : Node277fontSize * 0.2 - 9;
- Node277textWidth = Node277width;
- Node277lineStart = 1;
- } else if (Node277align === 'right') {
- Node277textStart = 0;
- Node277textWidth =Node277fontSize <= 8 ? Node277width + Node277fontSize * 0.2 + 6 : Node277width - Node277fontSize * 0.2;
- Node277lineStart = (Node277width - (ht.Default.getTextSize('无功补偿', ' '+ Node277fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node277align === 'center') {
- Node277textStart = -3;
- Node277textWidth = Node277width;
- Node277lineStart = Node277width - ht.Default.getTextSize('无功补偿', ' '+ Node277fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node277.setImage(GD.getTextJSON(Node277width, Node277height, true, false, false, ' '+ Node277fontSize + 'px "Arial"'))
- Node277.setPosition(462*ratio.ratioX, 803*ratio.ratioY);
- Node277.setWidth(Node277width);
- Node277.setHeight(Node277height);
- Node277._nodeType = 'text';
- Node277._disallowEvert = true;
- Node277.setRotation(0*Math.PI/180);
- Node277.a('node.width', Node277width);
- Node277.a('node.height', Node277height);
- Node277.a('node.rect', [0, 0, Node277width, Node277height]);
- Node277.a('node.bordercolor','rgba(255,255,255,1)');
- Node277.a('node.borderwidth', 0);
- Node277.a('node.background','' || 'rgba(0,0,0,0)');
- Node277.a('node.gradient','');
- Node277.a('node.gradientcolor','');
- Node277.a('node.text','无功补偿');
- Node277.a('node.textalign','left');
- Node277.a('node.textvAlign','middle');
- Node277.a('node.textrect', [Node277textStart, 0, Node277textWidth, Node277height]);
- Node277.a('node.color','rgba(255,255,255,1)');
- Node277.a('node.font',' '+ Node277fontSize + 'px "Arial"');
- Node277.a('node.textvisible',true);
- Node277.a('node.linefeed',false);
- if (false) {
- Node277.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node277.a('node.text') || '无功补偿';
- var color=Node277.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node277width,Node277height,13.3333*_ratio.ratioY,"left",color,' '+ Node277fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node277.a('node.underlinepoints',[Node277lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node277fontSize + 2 , ht.Default.getTextSize('无功补偿', ' '+ Node277fontSize + 'px "Arial"').width + 6, (Node277height - Node277fontSize) * 0.5*_ratio.ratioY + Node277fontSize + 2 ]);
- Node277.a('node.underlinevisible',false);
- Node277.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node277);
- zoomNodeList.push({
- node: Node277,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node278= new ht.Node();
- Node278._borderWidth = 1;
- Node278.setImage({
- width: 80*_ratio.ratioX,
- height:20*_ratio.ratioY,
- clip:function(g, width, height, data){
- drawRoundRect(g,0,0,width,height,3,3,'rgba(0,0,192,1)', Node278._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node278.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node278.background'},
- gradient: {value:'', func: 'attr@Node278.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node278.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node278.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node278.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node278.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node278.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node278.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node278.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node278.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node278.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node278.borderPattern'}
- }
- ]
- });
- var Node278borderwidth = 1;
- var Node278borderFillwidth = 1*2;
- Node278 .setPosition(549*ratio.ratioX,801*ratio.ratioY);
- Node278.setSize(80*_ratio.ratioX, 20*_ratio.ratioY);
- Node278.setRotation(0*Math.PI/180);
- Node278.s({'pixelPerfect':true});
- Node278.a('Node278.borderwidth',1);
- Node278.a('Node278.color','@bordercolor@');
- Node278.a('Node278.background','rgba(0,0,192,1)');
- Node278.a('Node278.gradient','');
- Node278.a('Node278.gradientcolor','rgba(0,0,192,1)');
- Node278.a('Node278.borderPattern',getDashStyle("Solid"));
- Node278.a('Node278.fillrect',[0,0,0,0]);
- Node278.a('Node278.fillbackcolor','rgba(0, 0, 0, 0)');
- Node278.a('Node278.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node278.a('Node278.fillgradient','');
- Node278borderwidth=1;
- dataModel.add(Node278);
- Node278.borderWidth = 1;
- Node278.borderFillwidth = 1*2;
- Node278._nodename = 'Node278';
- Node278._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node278,
- attr: 'Node278.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- _img.width = width;
- this.a('Node278.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- _img.height = height;
- this.a('Node278.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node278, Node278.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node279 = new ht.Node();
- var Node279textStart, Node279textWidth, Node279lineStart, Node279align = 'left', Node279fontSize = 13.3333*_ratio.ratioY,Node279width = 108*_ratio.ratioX, Node279height = 25*_ratio.ratioY;
- (function () {
- if (Node279align === 'left') {
- Node279textStart = Node279fontSize * 0.2 > 2 ? Node279fontSize * 0.2 - 4 : Node279fontSize * 0.2 - 9;
- Node279textWidth = Node279width;
- Node279lineStart = 1;
- } else if (Node279align === 'right') {
- Node279textStart = 0;
- Node279textWidth =Node279fontSize <= 8 ? Node279width + Node279fontSize * 0.2 + 6 : Node279width - Node279fontSize * 0.2;
- Node279lineStart = (Node279width - (ht.Default.getTextSize('1号站变', ' '+ Node279fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node279align === 'center') {
- Node279textStart = -3;
- Node279textWidth = Node279width;
- Node279lineStart = Node279width - ht.Default.getTextSize('1号站变', ' '+ Node279fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node279.setImage(GD.getTextJSON(Node279width, Node279height, true, false, false, ' '+ Node279fontSize + 'px "Arial"'))
- Node279.setPosition(573*ratio.ratioX, 803*ratio.ratioY);
- Node279.setWidth(Node279width);
- Node279.setHeight(Node279height);
- Node279._nodeType = 'text';
- Node279._disallowEvert = true;
- Node279.setRotation(0*Math.PI/180);
- Node279.a('node.width', Node279width);
- Node279.a('node.height', Node279height);
- Node279.a('node.rect', [0, 0, Node279width, Node279height]);
- Node279.a('node.bordercolor','rgba(255,255,255,1)');
- Node279.a('node.borderwidth', 0);
- Node279.a('node.background','' || 'rgba(0,0,0,0)');
- Node279.a('node.gradient','');
- Node279.a('node.gradientcolor','');
- Node279.a('node.text','1号站变');
- Node279.a('node.textalign','left');
- Node279.a('node.textvAlign','middle');
- Node279.a('node.textrect', [Node279textStart, 0, Node279textWidth, Node279height]);
- Node279.a('node.color','rgba(255,255,255,1)');
- Node279.a('node.font',' '+ Node279fontSize + 'px "Arial"');
- Node279.a('node.textvisible',true);
- Node279.a('node.linefeed',false);
- if (false) {
- Node279.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node279.a('node.text') || '1号站变';
- var color=Node279.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node279width,Node279height,13.3333*_ratio.ratioY,"left",color,' '+ Node279fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node279.a('node.underlinepoints',[Node279lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node279fontSize + 2 , ht.Default.getTextSize('1号站变', ' '+ Node279fontSize + 'px "Arial"').width + 6, (Node279height - Node279fontSize) * 0.5*_ratio.ratioY + Node279fontSize + 2 ]);
- Node279.a('node.underlinevisible',false);
- Node279.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node279);
- zoomNodeList.push({
- node: Node279,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node280= new ht.Node();
- Node280._borderWidth = 1;
- Node280.setImage({
- width: 80*_ratio.ratioX,
- height:20*_ratio.ratioY,
- clip:function(g, width, height, data){
- drawRoundRect(g,0,0,width,height,3,3,'rgba(0,0,192,1)', Node280._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node280.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node280.background'},
- gradient: {value:'', func: 'attr@Node280.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node280.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node280.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node280.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node280.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node280.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node280.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node280.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node280.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node280.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node280.borderPattern'}
- }
- ]
- });
- var Node280borderwidth = 1;
- var Node280borderFillwidth = 1*2;
- Node280 .setPosition(639*ratio.ratioX,801*ratio.ratioY);
- Node280.setSize(80*_ratio.ratioX, 20*_ratio.ratioY);
- Node280.setRotation(0*Math.PI/180);
- Node280.s({'pixelPerfect':true});
- Node280.a('Node280.borderwidth',1);
- Node280.a('Node280.color','@bordercolor@');
- Node280.a('Node280.background','rgba(0,0,192,1)');
- Node280.a('Node280.gradient','');
- Node280.a('Node280.gradientcolor','rgba(0,0,192,1)');
- Node280.a('Node280.borderPattern',getDashStyle("Solid"));
- Node280.a('Node280.fillrect',[0,0,0,0]);
- Node280.a('Node280.fillbackcolor','rgba(0, 0, 0, 0)');
- Node280.a('Node280.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node280.a('Node280.fillgradient','');
- Node280borderwidth=1;
- dataModel.add(Node280);
- Node280.borderWidth = 1;
- Node280.borderFillwidth = 1*2;
- Node280._nodename = 'Node280';
- Node280._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node280,
- attr: 'Node280.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- _img.width = width;
- this.a('Node280.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- _img.height = height;
- this.a('Node280.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node280, Node280.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node281 = new ht.Node();
- var Node281textStart, Node281textWidth, Node281lineStart, Node281align = 'left', Node281fontSize = 13.3333*_ratio.ratioY,Node281width = 108*_ratio.ratioX, Node281height = 25*_ratio.ratioY;
- (function () {
- if (Node281align === 'left') {
- Node281textStart = Node281fontSize * 0.2 > 2 ? Node281fontSize * 0.2 - 4 : Node281fontSize * 0.2 - 9;
- Node281textWidth = Node281width;
- Node281lineStart = 1;
- } else if (Node281align === 'right') {
- Node281textStart = 0;
- Node281textWidth =Node281fontSize <= 8 ? Node281width + Node281fontSize * 0.2 + 6 : Node281width - Node281fontSize * 0.2;
- Node281lineStart = (Node281width - (ht.Default.getTextSize('集电I线', ' '+ Node281fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node281align === 'center') {
- Node281textStart = -3;
- Node281textWidth = Node281width;
- Node281lineStart = Node281width - ht.Default.getTextSize('集电I线', ' '+ Node281fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node281.setImage(GD.getTextJSON(Node281width, Node281height, true, false, false, ' '+ Node281fontSize + 'px "Arial"'))
- Node281.setPosition(667*ratio.ratioX, 803*ratio.ratioY);
- Node281.setWidth(Node281width);
- Node281.setHeight(Node281height);
- Node281._nodeType = 'text';
- Node281._disallowEvert = true;
- Node281.setRotation(0*Math.PI/180);
- Node281.a('node.width', Node281width);
- Node281.a('node.height', Node281height);
- Node281.a('node.rect', [0, 0, Node281width, Node281height]);
- Node281.a('node.bordercolor','rgba(255,255,255,1)');
- Node281.a('node.borderwidth', 0);
- Node281.a('node.background','' || 'rgba(0,0,0,0)');
- Node281.a('node.gradient','');
- Node281.a('node.gradientcolor','');
- Node281.a('node.text','集电I线');
- Node281.a('node.textalign','left');
- Node281.a('node.textvAlign','middle');
- Node281.a('node.textrect', [Node281textStart, 0, Node281textWidth, Node281height]);
- Node281.a('node.color','rgba(255,255,255,1)');
- Node281.a('node.font',' '+ Node281fontSize + 'px "Arial"');
- Node281.a('node.textvisible',true);
- Node281.a('node.linefeed',false);
- if (false) {
- Node281.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node281.a('node.text') || '集电I线';
- var color=Node281.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node281width,Node281height,13.3333*_ratio.ratioY,"left",color,' '+ Node281fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node281.a('node.underlinepoints',[Node281lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node281fontSize + 2 , ht.Default.getTextSize('集电I线', ' '+ Node281fontSize + 'px "Arial"').width + 6, (Node281height - Node281fontSize) * 0.5*_ratio.ratioY + Node281fontSize + 2 ]);
- Node281.a('node.underlinevisible',false);
- Node281.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node281);
- zoomNodeList.push({
- node: Node281,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(270*Math.PI/180, ratio);
- var Node282 = new ht.lib['矩形箭头上'](180*ratio.ratioX, 557*ratio.ratioY, 20*_ratio.ratioX, 55*_ratio.ratioY, 270*Math.PI/180, {}, function (){return {}}, 'Node282');
- _libModel.add("Node282", Node282);
- Node282.setRotation(270*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node283 = new ht.lib['矩形箭头上'](159*ratio.ratioX, 481*ratio.ratioY, 20*_ratio.ratioX, 55*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node283');
- _libModel.add("Node283", Node283);
- Node283.setRotation(0*Math.PI/180);
- ;
- ;
- var Node284points=[160, 511,210, 511],
- Node284rect=ht.Default.unionPoint([{x:160,y:511},{x:210,y:511}]),
- Node284compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node284points.length;i++){
- if(i%2==0){
- Node284compspts.push(Node284points[i]-Node284rect.x);
- }else{
- Node284compspts.push(Node284points[i]-Node284rect.y);
- }
- }
- var Node284ptslength=Node284compspts.length;
- if (Node284rect.height === 0) {
- Node284compspts[0] -= 0;
- Node284compspts[Node284ptslength-2] += 0;
- } else if (Node284rect.width === 0){
- Node284compspts[1] -= 0;
- Node284compspts[Node284ptslength-1] += 0;
- } else {
- Node284compspts[0] -= 0;
- Node284compspts[1] -= 0;
- Node284compspts[Node284ptslength-2] += 0;
- Node284compspts[Node284ptslength-1] += 0;
- }
- Node284 = new ht.Node();
- Node284.borderWidth = 1;
- Node284rect.width = Node284rect.width === 0 ? 0.0001 : Node284rect.width;
- Node284rect.height = Node284rect.height === 0 ? 0.0001 : Node284rect.height;
- var Node284endCompspts = [Node284compspts[Node284ptslength-2],Node284compspts[Node284ptslength-1],0,0];
- var Node284startCompspts = [Node284compspts[0],Node284compspts[1],0,0];
- Node284.setImage(GD.getPolyLineJSON());
- Node284.setPosition(Node284rect.x+Node284rect.width/2,Node284rect.y+Node284rect.height/2);
- Node284.setSize(Node284rect.width,Node284rect.height);
- Node284.setStyle("opacity",1);
- Node284.s({'pixelPerfect':true});
- Node284borderwidth=1;
- Node284.setRotation(0);
- dataModel.add(Node284);
- Node284.a('node.points',Node284compspts);
- Node284.a('node.segments',[1,2]);
- Node284.a('node.color','rgba(255,128,0,1)');
- Node284.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node284.a('node.borderColor','rgba(255,128,0,1)');
- Node284.a('node.background','rgba(255,128,0,1)');
- Node284.a('node.gradient','');
- Node284.a('node.gradientcolor','rgba(255,128,0,1)');
- Node284.a('node.endCompspts',Node284endCompspts);
- Node284.a('node.startCompspts',Node284startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node284';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node284, Node284.getImage(), Node284compspts, Node284endCompspts, Node284startCompspts);
- var Node285points=[220, 491,260, 491],
- Node285rect=ht.Default.unionPoint([{x:220,y:491},{x:260,y:491}]),
- Node285compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node285points.length;i++){
- if(i%2==0){
- Node285compspts.push(Node285points[i]-Node285rect.x);
- }else{
- Node285compspts.push(Node285points[i]-Node285rect.y);
- }
- }
- var Node285ptslength=Node285compspts.length;
- if (Node285rect.height === 0) {
- Node285compspts[0] -= 0;
- Node285compspts[Node285ptslength-2] += 0;
- } else if (Node285rect.width === 0){
- Node285compspts[1] -= 0;
- Node285compspts[Node285ptslength-1] += 0;
- } else {
- Node285compspts[0] -= 0;
- Node285compspts[1] -= 0;
- Node285compspts[Node285ptslength-2] += 0;
- Node285compspts[Node285ptslength-1] += 0;
- }
- Node285 = new ht.Node();
- Node285.borderWidth = 1;
- Node285rect.width = Node285rect.width === 0 ? 0.0001 : Node285rect.width;
- Node285rect.height = Node285rect.height === 0 ? 0.0001 : Node285rect.height;
- var Node285endCompspts = [Node285compspts[Node285ptslength-2],Node285compspts[Node285ptslength-1],0,0];
- var Node285startCompspts = [Node285compspts[0],Node285compspts[1],0,0];
- Node285.setImage(GD.getPolyLineJSON());
- Node285.setPosition(Node285rect.x+Node285rect.width/2,Node285rect.y+Node285rect.height/2);
- Node285.setSize(Node285rect.width,Node285rect.height);
- Node285.setStyle("opacity",1);
- Node285.s({'pixelPerfect':true});
- Node285borderwidth=1;
- Node285.setRotation(0);
- dataModel.add(Node285);
- Node285.a('node.points',Node285compspts);
- Node285.a('node.segments',[1,2]);
- Node285.a('node.color','rgba(255,128,0,1)');
- Node285.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node285.a('node.borderColor','rgba(255,128,0,1)');
- Node285.a('node.background','rgba(255,128,0,1)');
- Node285.a('node.gradient','');
- Node285.a('node.gradientcolor','rgba(255,128,0,1)');
- Node285.a('node.endCompspts',Node285endCompspts);
- Node285.a('node.startCompspts',Node285startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node285';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node285, Node285.getImage(), Node285compspts, Node285endCompspts, Node285startCompspts);
- var Node286points=[260, 491,260, 441],
- Node286rect=ht.Default.unionPoint([{x:260,y:491},{x:260,y:441}]),
- Node286compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node286points.length;i++){
- if(i%2==0){
- Node286compspts.push(Node286points[i]-Node286rect.x);
- }else{
- Node286compspts.push(Node286points[i]-Node286rect.y);
- }
- }
- var Node286ptslength=Node286compspts.length;
- if (Node286rect.height === 0) {
- Node286compspts[0] -= 0;
- Node286compspts[Node286ptslength-2] += 0;
- } else if (Node286rect.width === 0){
- Node286compspts[1] -= 0;
- Node286compspts[Node286ptslength-1] += 0;
- } else {
- Node286compspts[0] -= 0;
- Node286compspts[1] -= 0;
- Node286compspts[Node286ptslength-2] += 0;
- Node286compspts[Node286ptslength-1] += 0;
- }
- Node286 = new ht.Node();
- Node286.borderWidth = 1;
- Node286rect.width = Node286rect.width === 0 ? 0.0001 : Node286rect.width;
- Node286rect.height = Node286rect.height === 0 ? 0.0001 : Node286rect.height;
- var Node286endCompspts = [Node286compspts[Node286ptslength-2],Node286compspts[Node286ptslength-1],0,0];
- var Node286startCompspts = [Node286compspts[0],Node286compspts[1],0,0];
- Node286.setImage(GD.getPolyLineJSON());
- Node286.setPosition(Node286rect.x+Node286rect.width/2,Node286rect.y+Node286rect.height/2);
- Node286.setSize(Node286rect.width,Node286rect.height);
- Node286.setStyle("opacity",1);
- Node286.s({'pixelPerfect':true});
- Node286borderwidth=1;
- Node286.setRotation(0);
- dataModel.add(Node286);
- Node286.a('node.points',Node286compspts);
- Node286.a('node.segments',[1,2]);
- Node286.a('node.color','rgba(255,128,0,1)');
- Node286.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node286.a('node.borderColor','rgba(255,128,0,1)');
- Node286.a('node.background','rgba(255,128,0,1)');
- Node286.a('node.gradient','');
- Node286.a('node.gradientcolor','rgba(255,128,0,1)');
- Node286.a('node.endCompspts',Node286endCompspts);
- Node286.a('node.startCompspts',Node286startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node286';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node286, Node286.getImage(), Node286compspts, Node286endCompspts, Node286startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node287 = new ht.lib['黄色向上接地'](260*ratio.ratioX, 437*ratio.ratioY, 16*_ratio.ratioX, 14*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node287');
- _libModel.add("Node287", Node287);
- Node287.setRotation(0*Math.PI/180);
- ;
- ;
- var Node288points=[210, 526,210, 506],
- Node288rect=ht.Default.unionPoint([{x:210,y:526},{x:210,y:506}]),
- Node288compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node288points.length;i++){
- if(i%2==0){
- Node288compspts.push(Node288points[i]-Node288rect.x);
- }else{
- Node288compspts.push(Node288points[i]-Node288rect.y);
- }
- }
- var Node288ptslength=Node288compspts.length;
- if (Node288rect.height === 0) {
- Node288compspts[0] -= 0;
- Node288compspts[Node288ptslength-2] += 0;
- } else if (Node288rect.width === 0){
- Node288compspts[1] -= 0;
- Node288compspts[Node288ptslength-1] += 0;
- } else {
- Node288compspts[0] -= 0;
- Node288compspts[1] -= 0;
- Node288compspts[Node288ptslength-2] += 0;
- Node288compspts[Node288ptslength-1] += 0;
- }
- Node288 = new ht.Node();
- Node288.borderWidth = 1;
- Node288rect.width = Node288rect.width === 0 ? 0.0001 : Node288rect.width;
- Node288rect.height = Node288rect.height === 0 ? 0.0001 : Node288rect.height;
- var Node288endCompspts = [Node288compspts[Node288ptslength-2],Node288compspts[Node288ptslength-1],0,0];
- var Node288startCompspts = [Node288compspts[0],Node288compspts[1],0,0];
- Node288.setImage(GD.getPolyLineJSON());
- Node288.setPosition(Node288rect.x+Node288rect.width/2,Node288rect.y+Node288rect.height/2);
- Node288.setSize(Node288rect.width,Node288rect.height);
- Node288.setStyle("opacity",1);
- Node288.s({'pixelPerfect':true});
- Node288borderwidth=1;
- Node288.setRotation(0);
- dataModel.add(Node288);
- Node288.a('node.points',Node288compspts);
- Node288.a('node.segments',[1,2]);
- Node288.a('node.color','rgba(255,128,0,1)');
- Node288.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node288.a('node.borderColor','rgba(255,128,0,1)');
- Node288.a('node.background','rgba(255,128,0,1)');
- Node288.a('node.gradient','');
- Node288.a('node.gradientcolor','rgba(255,128,0,1)');
- Node288.a('node.endCompspts',Node288endCompspts);
- Node288.a('node.startCompspts',Node288startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node288';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node288, Node288.getImage(), Node288compspts, Node288endCompspts, Node288startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node289 = new ht.lib['56'](204*ratio.ratioX, 491*ratio.ratioY, 36*_ratio.ratioX, 30*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node289');
- _libModel.add("Node289", Node289);
- Node289.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node290 = new ht.Node();
- var Node290textStart, Node290textWidth, Node290lineStart, Node290align = 'left', Node290fontSize = 13.3333*_ratio.ratioY,Node290width = 82*_ratio.ratioX, Node290height = 50*_ratio.ratioY;
- (function () {
- if (Node290align === 'left') {
- Node290textStart = Node290fontSize * 0.2 > 2 ? Node290fontSize * 0.2 - 4 : Node290fontSize * 0.2 - 9;
- Node290textWidth = Node290width;
- Node290lineStart = 1;
- } else if (Node290align === 'right') {
- Node290textStart = 0;
- Node290textWidth =Node290fontSize <= 8 ? Node290width + Node290fontSize * 0.2 + 6 : Node290width - Node290fontSize * 0.2;
- Node290lineStart = (Node290width - (ht.Default.getTextSize('I段PT', 'bold '+ Node290fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node290align === 'center') {
- Node290textStart = -3;
- Node290textWidth = Node290width;
- Node290lineStart = Node290width - ht.Default.getTextSize('I段PT', 'bold '+ Node290fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node290.setImage(GD.getTextJSON(Node290width, Node290height, true, false, false, 'bold '+ Node290fontSize + 'px "Arial"'))
- Node290.setPosition(221*ratio.ratioX, 432*ratio.ratioY);
- Node290.setWidth(Node290width);
- Node290.setHeight(Node290height);
- Node290._nodeType = 'text';
- Node290._disallowEvert = true;
- Node290.setRotation(0*Math.PI/180);
- Node290.a('node.width', Node290width);
- Node290.a('node.height', Node290height);
- Node290.a('node.rect', [0, 0, Node290width, Node290height]);
- Node290.a('node.bordercolor','rgba(0,0,0,1)');
- Node290.a('node.borderwidth', 0);
- Node290.a('node.background','' || 'rgba(0,0,0,0)');
- Node290.a('node.gradient','');
- Node290.a('node.gradientcolor','');
- Node290.a('node.text','I段PT');
- Node290.a('node.textalign','left');
- Node290.a('node.textvAlign','middle');
- Node290.a('node.textrect', [Node290textStart, 0, Node290textWidth, Node290height]);
- Node290.a('node.color','rgba(0,0,0,1)');
- Node290.a('node.font','bold '+ Node290fontSize + 'px "Arial"');
- Node290.a('node.textvisible',true);
- Node290.a('node.linefeed',false);
- if (false) {
- Node290.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node290.a('node.text') || 'I段PT';
- var color=Node290.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node290width,Node290height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node290fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node290.a('node.underlinepoints',[Node290lineStart, (50 - 13.3333) * 0.5 * _ratio.ratioY + Node290fontSize + 2 , ht.Default.getTextSize('I段PT', 'bold '+ Node290fontSize + 'px "Arial"').width + 6, (Node290height - Node290fontSize) * 0.5*_ratio.ratioY + Node290fontSize + 2 ]);
- Node290.a('node.underlinevisible',false);
- Node290.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node290);
- zoomNodeList.push({
- node: Node290,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node291= new ht.Node();
- Node291._borderWidth = 1;
- Node291.setImage({
- width: 80*_ratio.ratioX,
- height:20*_ratio.ratioY,
- clip:function(g, width, height, data){
- drawRoundRect(g,0,0,width,height,3,3,'rgba(0,0,192,1)', Node291._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node291.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node291.background'},
- gradient: {value:'', func: 'attr@Node291.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node291.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node291.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node291.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node291.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node291.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node291.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node291.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node291.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node291.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node291.borderPattern'}
- }
- ]
- });
- var Node291borderwidth = 1;
- var Node291borderFillwidth = 1*2;
- Node291 .setPosition(729*ratio.ratioX,801*ratio.ratioY);
- Node291.setSize(80*_ratio.ratioX, 20*_ratio.ratioY);
- Node291.setRotation(0*Math.PI/180);
- Node291.s({'pixelPerfect':true});
- Node291.a('Node291.borderwidth',1);
- Node291.a('Node291.color','@bordercolor@');
- Node291.a('Node291.background','rgba(0,0,192,1)');
- Node291.a('Node291.gradient','');
- Node291.a('Node291.gradientcolor','rgba(0,0,192,1)');
- Node291.a('Node291.borderPattern',getDashStyle("Solid"));
- Node291.a('Node291.fillrect',[0,0,0,0]);
- Node291.a('Node291.fillbackcolor','rgba(0, 0, 0, 0)');
- Node291.a('Node291.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node291.a('Node291.fillgradient','');
- Node291borderwidth=1;
- dataModel.add(Node291);
- Node291.borderWidth = 1;
- Node291.borderFillwidth = 1*2;
- Node291._nodename = 'Node291';
- Node291._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node291,
- attr: 'Node291.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- _img.width = width;
- this.a('Node291.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- _img.height = height;
- this.a('Node291.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node291, Node291.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node292 = new ht.Node();
- var Node292textStart, Node292textWidth, Node292lineStart, Node292align = 'left', Node292fontSize = 13.3333*_ratio.ratioY,Node292width = 108*_ratio.ratioX, Node292height = 25*_ratio.ratioY;
- (function () {
- if (Node292align === 'left') {
- Node292textStart = Node292fontSize * 0.2 > 2 ? Node292fontSize * 0.2 - 4 : Node292fontSize * 0.2 - 9;
- Node292textWidth = Node292width;
- Node292lineStart = 1;
- } else if (Node292align === 'right') {
- Node292textStart = 0;
- Node292textWidth =Node292fontSize <= 8 ? Node292width + Node292fontSize * 0.2 + 6 : Node292width - Node292fontSize * 0.2;
- Node292lineStart = (Node292width - (ht.Default.getTextSize('集电II线', ' '+ Node292fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node292align === 'center') {
- Node292textStart = -3;
- Node292textWidth = Node292width;
- Node292lineStart = Node292width - ht.Default.getTextSize('集电II线', ' '+ Node292fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node292.setImage(GD.getTextJSON(Node292width, Node292height, true, false, false, ' '+ Node292fontSize + 'px "Arial"'))
- Node292.setPosition(754*ratio.ratioX, 803*ratio.ratioY);
- Node292.setWidth(Node292width);
- Node292.setHeight(Node292height);
- Node292._nodeType = 'text';
- Node292._disallowEvert = true;
- Node292.setRotation(0*Math.PI/180);
- Node292.a('node.width', Node292width);
- Node292.a('node.height', Node292height);
- Node292.a('node.rect', [0, 0, Node292width, Node292height]);
- Node292.a('node.bordercolor','rgba(255,255,255,1)');
- Node292.a('node.borderwidth', 0);
- Node292.a('node.background','' || 'rgba(0,0,0,0)');
- Node292.a('node.gradient','');
- Node292.a('node.gradientcolor','');
- Node292.a('node.text','集电II线');
- Node292.a('node.textalign','left');
- Node292.a('node.textvAlign','middle');
- Node292.a('node.textrect', [Node292textStart, 0, Node292textWidth, Node292height]);
- Node292.a('node.color','rgba(255,255,255,1)');
- Node292.a('node.font',' '+ Node292fontSize + 'px "Arial"');
- Node292.a('node.textvisible',true);
- Node292.a('node.linefeed',false);
- if (false) {
- Node292.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node292.a('node.text') || '集电II线';
- var color=Node292.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node292width,Node292height,13.3333*_ratio.ratioY,"left",color,' '+ Node292fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node292.a('node.underlinepoints',[Node292lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node292fontSize + 2 , ht.Default.getTextSize('集电II线', ' '+ Node292fontSize + 'px "Arial"').width + 6, (Node292height - Node292fontSize) * 0.5*_ratio.ratioY + Node292fontSize + 2 ]);
- Node292.a('node.underlinevisible',false);
- Node292.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node292);
- zoomNodeList.push({
- node: Node292,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node293= new ht.Node();
- Node293._borderWidth = 1;
- Node293.setImage({
- width: 80*_ratio.ratioX,
- height:20*_ratio.ratioY,
- clip:function(g, width, height, data){
- drawRoundRect(g,0,0,width,height,3,3,'rgba(0,0,192,1)', Node293._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node293.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node293.background'},
- gradient: {value:'', func: 'attr@Node293.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node293.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node293.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node293.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node293.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node293.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node293.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node293.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node293.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node293.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node293.borderPattern'}
- }
- ]
- });
- var Node293borderwidth = 1;
- var Node293borderFillwidth = 1*2;
- Node293 .setPosition(819*ratio.ratioX,801*ratio.ratioY);
- Node293.setSize(80*_ratio.ratioX, 20*_ratio.ratioY);
- Node293.setRotation(0*Math.PI/180);
- Node293.s({'pixelPerfect':true});
- Node293.a('Node293.borderwidth',1);
- Node293.a('Node293.color','@bordercolor@');
- Node293.a('Node293.background','rgba(0,0,192,1)');
- Node293.a('Node293.gradient','');
- Node293.a('Node293.gradientcolor','rgba(0,0,192,1)');
- Node293.a('Node293.borderPattern',getDashStyle("Solid"));
- Node293.a('Node293.fillrect',[0,0,0,0]);
- Node293.a('Node293.fillbackcolor','rgba(0, 0, 0, 0)');
- Node293.a('Node293.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node293.a('Node293.fillgradient','');
- Node293borderwidth=1;
- dataModel.add(Node293);
- Node293.borderWidth = 1;
- Node293.borderFillwidth = 1*2;
- Node293._nodename = 'Node293';
- Node293._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node293,
- attr: 'Node293.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- _img.width = width;
- this.a('Node293.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- _img.height = height;
- this.a('Node293.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node293, Node293.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node294 = new ht.Node();
- var Node294textStart, Node294textWidth, Node294lineStart, Node294align = 'left', Node294fontSize = 13.3333*_ratio.ratioY,Node294width = 108*_ratio.ratioX, Node294height = 25*_ratio.ratioY;
- (function () {
- if (Node294align === 'left') {
- Node294textStart = Node294fontSize * 0.2 > 2 ? Node294fontSize * 0.2 - 4 : Node294fontSize * 0.2 - 9;
- Node294textWidth = Node294width;
- Node294lineStart = 1;
- } else if (Node294align === 'right') {
- Node294textStart = 0;
- Node294textWidth =Node294fontSize <= 8 ? Node294width + Node294fontSize * 0.2 + 6 : Node294width - Node294fontSize * 0.2;
- Node294lineStart = (Node294width - (ht.Default.getTextSize('集电III线', ' '+ Node294fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node294align === 'center') {
- Node294textStart = -3;
- Node294textWidth = Node294width;
- Node294lineStart = Node294width - ht.Default.getTextSize('集电III线', ' '+ Node294fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node294.setImage(GD.getTextJSON(Node294width, Node294height, true, false, false, ' '+ Node294fontSize + 'px "Arial"'))
- Node294.setPosition(842*ratio.ratioX, 803*ratio.ratioY);
- Node294.setWidth(Node294width);
- Node294.setHeight(Node294height);
- Node294._nodeType = 'text';
- Node294._disallowEvert = true;
- Node294.setRotation(0*Math.PI/180);
- Node294.a('node.width', Node294width);
- Node294.a('node.height', Node294height);
- Node294.a('node.rect', [0, 0, Node294width, Node294height]);
- Node294.a('node.bordercolor','rgba(255,255,255,1)');
- Node294.a('node.borderwidth', 0);
- Node294.a('node.background','' || 'rgba(0,0,0,0)');
- Node294.a('node.gradient','');
- Node294.a('node.gradientcolor','');
- Node294.a('node.text','集电III线');
- Node294.a('node.textalign','left');
- Node294.a('node.textvAlign','middle');
- Node294.a('node.textrect', [Node294textStart, 0, Node294textWidth, Node294height]);
- Node294.a('node.color','rgba(255,255,255,1)');
- Node294.a('node.font',' '+ Node294fontSize + 'px "Arial"');
- Node294.a('node.textvisible',true);
- Node294.a('node.linefeed',false);
- if (false) {
- Node294.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node294.a('node.text') || '集电III线';
- var color=Node294.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node294width,Node294height,13.3333*_ratio.ratioY,"left",color,' '+ Node294fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node294.a('node.underlinepoints',[Node294lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node294fontSize + 2 , ht.Default.getTextSize('集电III线', ' '+ Node294fontSize + 'px "Arial"').width + 6, (Node294height - Node294fontSize) * 0.5*_ratio.ratioY + Node294fontSize + 2 ]);
- Node294.a('node.underlinevisible',false);
- Node294.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node294);
- zoomNodeList.push({
- node: Node294,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node295= new ht.Node();
- Node295._borderWidth = 1;
- Node295.setImage({
- width: 80*_ratio.ratioX,
- height:20*_ratio.ratioY,
- clip:function(g, width, height, data){
- drawRoundRect(g,0,0,width,height,3,3,'rgba(0,0,192,1)', Node295._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node295.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node295.background'},
- gradient: {value:'', func: 'attr@Node295.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node295.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node295.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node295.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node295.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node295.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node295.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node295.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node295.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node295.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node295.borderPattern'}
- }
- ]
- });
- var Node295borderwidth = 1;
- var Node295borderFillwidth = 1*2;
- Node295 .setPosition(946*ratio.ratioX,801*ratio.ratioY);
- Node295.setSize(80*_ratio.ratioX, 20*_ratio.ratioY);
- Node295.setRotation(0*Math.PI/180);
- Node295.s({'pixelPerfect':true});
- Node295.a('Node295.borderwidth',1);
- Node295.a('Node295.color','@bordercolor@');
- Node295.a('Node295.background','rgba(0,0,192,1)');
- Node295.a('Node295.gradient','');
- Node295.a('Node295.gradientcolor','rgba(0,0,192,1)');
- Node295.a('Node295.borderPattern',getDashStyle("Solid"));
- Node295.a('Node295.fillrect',[0,0,0,0]);
- Node295.a('Node295.fillbackcolor','rgba(0, 0, 0, 0)');
- Node295.a('Node295.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node295.a('Node295.fillgradient','');
- Node295borderwidth=1;
- dataModel.add(Node295);
- Node295.borderWidth = 1;
- Node295.borderFillwidth = 1*2;
- Node295._nodename = 'Node295';
- Node295._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node295,
- attr: 'Node295.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- _img.width = width;
- this.a('Node295.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- _img.height = height;
- this.a('Node295.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node295, Node295.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node296 = new ht.Node();
- var Node296textStart, Node296textWidth, Node296lineStart, Node296align = 'left', Node296fontSize = 13.3333*_ratio.ratioY,Node296width = 108*_ratio.ratioX, Node296height = 25*_ratio.ratioY;
- (function () {
- if (Node296align === 'left') {
- Node296textStart = Node296fontSize * 0.2 > 2 ? Node296fontSize * 0.2 - 4 : Node296fontSize * 0.2 - 9;
- Node296textWidth = Node296width;
- Node296lineStart = 1;
- } else if (Node296align === 'right') {
- Node296textStart = 0;
- Node296textWidth =Node296fontSize <= 8 ? Node296width + Node296fontSize * 0.2 + 6 : Node296width - Node296fontSize * 0.2;
- Node296lineStart = (Node296width - (ht.Default.getTextSize('分段', ' '+ Node296fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node296align === 'center') {
- Node296textStart = -3;
- Node296textWidth = Node296width;
- Node296lineStart = Node296width - ht.Default.getTextSize('分段', ' '+ Node296fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node296.setImage(GD.getTextJSON(Node296width, Node296height, true, false, false, ' '+ Node296fontSize + 'px "Arial"'))
- Node296.setPosition(983*ratio.ratioX, 803*ratio.ratioY);
- Node296.setWidth(Node296width);
- Node296.setHeight(Node296height);
- Node296._nodeType = 'text';
- Node296._disallowEvert = true;
- Node296.setRotation(0*Math.PI/180);
- Node296.a('node.width', Node296width);
- Node296.a('node.height', Node296height);
- Node296.a('node.rect', [0, 0, Node296width, Node296height]);
- Node296.a('node.bordercolor','rgba(255,255,255,1)');
- Node296.a('node.borderwidth', 0);
- Node296.a('node.background','' || 'rgba(0,0,0,0)');
- Node296.a('node.gradient','');
- Node296.a('node.gradientcolor','');
- Node296.a('node.text','分段');
- Node296.a('node.textalign','left');
- Node296.a('node.textvAlign','middle');
- Node296.a('node.textrect', [Node296textStart, 0, Node296textWidth, Node296height]);
- Node296.a('node.color','rgba(255,255,255,1)');
- Node296.a('node.font',' '+ Node296fontSize + 'px "Arial"');
- Node296.a('node.textvisible',true);
- Node296.a('node.linefeed',false);
- if (false) {
- Node296.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node296.a('node.text') || '分段';
- var color=Node296.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node296width,Node296height,13.3333*_ratio.ratioY,"left",color,' '+ Node296fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node296.a('node.underlinepoints',[Node296lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node296fontSize + 2 , ht.Default.getTextSize('分段', ' '+ Node296fontSize + 'px "Arial"').width + 6, (Node296height - Node296fontSize) * 0.5*_ratio.ratioY + Node296fontSize + 2 ]);
- Node296.a('node.underlinevisible',false);
- Node296.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node296);
- zoomNodeList.push({
- node: Node296,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node297= new ht.Node();
- Node297._borderWidth = 1;
- Node297.setImage({
- width: 80*_ratio.ratioX,
- height:20*_ratio.ratioY,
- clip:function(g, width, height, data){
- drawRoundRect(g,0,0,width,height,3,3,'rgba(0,0,192,1)', Node297._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node297.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node297.background'},
- gradient: {value:'', func: 'attr@Node297.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node297.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node297.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node297.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node297.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node297.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node297.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node297.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node297.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node297.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node297.borderPattern'}
- }
- ]
- });
- var Node297borderwidth = 1;
- var Node297borderFillwidth = 1*2;
- Node297 .setPosition(1086*ratio.ratioX,801*ratio.ratioY);
- Node297.setSize(80*_ratio.ratioX, 20*_ratio.ratioY);
- Node297.setRotation(0*Math.PI/180);
- Node297.s({'pixelPerfect':true});
- Node297.a('Node297.borderwidth',1);
- Node297.a('Node297.color','@bordercolor@');
- Node297.a('Node297.background','rgba(0,0,192,1)');
- Node297.a('Node297.gradient','');
- Node297.a('Node297.gradientcolor','rgba(0,0,192,1)');
- Node297.a('Node297.borderPattern',getDashStyle("Solid"));
- Node297.a('Node297.fillrect',[0,0,0,0]);
- Node297.a('Node297.fillbackcolor','rgba(0, 0, 0, 0)');
- Node297.a('Node297.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node297.a('Node297.fillgradient','');
- Node297borderwidth=1;
- dataModel.add(Node297);
- Node297.borderWidth = 1;
- Node297.borderFillwidth = 1*2;
- Node297._nodename = 'Node297';
- Node297._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node297,
- attr: 'Node297.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- _img.width = width;
- this.a('Node297.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- _img.height = height;
- this.a('Node297.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node297, Node297.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node298 = new ht.Node();
- var Node298textStart, Node298textWidth, Node298lineStart, Node298align = 'left', Node298fontSize = 10.66664*_ratio.ratioY,Node298width = 108*_ratio.ratioX, Node298height = 25*_ratio.ratioY;
- (function () {
- if (Node298align === 'left') {
- Node298textStart = Node298fontSize * 0.2 > 2 ? Node298fontSize * 0.2 - 4 : Node298fontSize * 0.2 - 9;
- Node298textWidth = Node298width;
- Node298lineStart = 1;
- } else if (Node298align === 'right') {
- Node298textStart = 0;
- Node298textWidth =Node298fontSize <= 8 ? Node298width + Node298fontSize * 0.2 + 6 : Node298width - Node298fontSize * 0.2;
- Node298lineStart = (Node298width - (ht.Default.getTextSize('2号无功补偿', ' '+ Node298fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node298align === 'center') {
- Node298textStart = -3;
- Node298textWidth = Node298width;
- Node298lineStart = Node298width - ht.Default.getTextSize('2号无功补偿', ' '+ Node298fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node298.setImage(GD.getTextJSON(Node298width, Node298height, true, false, false, ' '+ Node298fontSize + 'px "Arial"'))
- Node298.setPosition(1105*ratio.ratioX, 803*ratio.ratioY);
- Node298.setWidth(Node298width);
- Node298.setHeight(Node298height);
- Node298._nodeType = 'text';
- Node298._disallowEvert = true;
- Node298.setRotation(0*Math.PI/180);
- Node298.a('node.width', Node298width);
- Node298.a('node.height', Node298height);
- Node298.a('node.rect', [0, 0, Node298width, Node298height]);
- Node298.a('node.bordercolor','rgba(255,255,255,1)');
- Node298.a('node.borderwidth', 0);
- Node298.a('node.background','' || 'rgba(0,0,0,0)');
- Node298.a('node.gradient','');
- Node298.a('node.gradientcolor','');
- Node298.a('node.text','2号无功补偿');
- Node298.a('node.textalign','left');
- Node298.a('node.textvAlign','middle');
- Node298.a('node.textrect', [Node298textStart, 0, Node298textWidth, Node298height]);
- Node298.a('node.color','rgba(255,255,255,1)');
- Node298.a('node.font',' '+ Node298fontSize + 'px "Arial"');
- Node298.a('node.textvisible',true);
- Node298.a('node.linefeed',false);
- if (false) {
- Node298.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node298.a('node.text') || '2号无功补偿';
- var color=Node298.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node298width,Node298height,10.66664*_ratio.ratioY,"left",color,' '+ Node298fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node298.a('node.underlinepoints',[Node298lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node298fontSize + 2 , ht.Default.getTextSize('2号无功补偿', ' '+ Node298fontSize + 'px "Arial"').width + 6, (Node298height - Node298fontSize) * 0.5*_ratio.ratioY + Node298fontSize + 2 ]);
- Node298.a('node.underlinevisible',false);
- Node298.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node298);
- zoomNodeList.push({
- node: Node298,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node299= new ht.Node();
- Node299._borderWidth = 1;
- Node299.setImage({
- width: 80*_ratio.ratioX,
- height:20*_ratio.ratioY,
- clip:function(g, width, height, data){
- drawRoundRect(g,0,0,width,height,3,3,'rgba(0,0,192,1)', Node299._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node299.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node299.background'},
- gradient: {value:'', func: 'attr@Node299.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node299.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node299.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node299.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node299.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node299.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node299.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node299.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node299.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node299.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node299.borderPattern'}
- }
- ]
- });
- var Node299borderwidth = 1;
- var Node299borderFillwidth = 1*2;
- Node299 .setPosition(1176*ratio.ratioX,801*ratio.ratioY);
- Node299.setSize(80*_ratio.ratioX, 20*_ratio.ratioY);
- Node299.setRotation(0*Math.PI/180);
- Node299.s({'pixelPerfect':true});
- Node299.a('Node299.borderwidth',1);
- Node299.a('Node299.color','@bordercolor@');
- Node299.a('Node299.background','rgba(0,0,192,1)');
- Node299.a('Node299.gradient','');
- Node299.a('Node299.gradientcolor','rgba(0,0,192,1)');
- Node299.a('Node299.borderPattern',getDashStyle("Solid"));
- Node299.a('Node299.fillrect',[0,0,0,0]);
- Node299.a('Node299.fillbackcolor','rgba(0, 0, 0, 0)');
- Node299.a('Node299.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node299.a('Node299.fillgradient','');
- Node299borderwidth=1;
- dataModel.add(Node299);
- Node299.borderWidth = 1;
- Node299.borderFillwidth = 1*2;
- Node299._nodename = 'Node299';
- Node299._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node299,
- attr: 'Node299.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- _img.width = width;
- this.a('Node299.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- _img.height = height;
- this.a('Node299.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node299, Node299.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node300 = new ht.Node();
- var Node300textStart, Node300textWidth, Node300lineStart, Node300align = 'left', Node300fontSize = 9.33331*_ratio.ratioY,Node300width = 116*_ratio.ratioX, Node300height = 25*_ratio.ratioY;
- (function () {
- if (Node300align === 'left') {
- Node300textStart = Node300fontSize * 0.2 > 2 ? Node300fontSize * 0.2 - 4 : Node300fontSize * 0.2 - 9;
- Node300textWidth = Node300width;
- Node300lineStart = 1;
- } else if (Node300align === 'right') {
- Node300textStart = 0;
- Node300textWidth =Node300fontSize <= 8 ? Node300width + Node300fontSize * 0.2 + 6 : Node300width - Node300fontSize * 0.2;
- Node300lineStart = (Node300width - (ht.Default.getTextSize('2号无功补偿SVG', ' '+ Node300fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node300align === 'center') {
- Node300textStart = -3;
- Node300textWidth = Node300width;
- Node300lineStart = Node300width - ht.Default.getTextSize('2号无功补偿SVG', ' '+ Node300fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node300.setImage(GD.getTextJSON(Node300width, Node300height, true, false, false, ' '+ Node300fontSize + 'px "Arial"'))
- Node300.setPosition(1194*ratio.ratioX, 803*ratio.ratioY);
- Node300.setWidth(Node300width);
- Node300.setHeight(Node300height);
- Node300._nodeType = 'text';
- Node300._disallowEvert = true;
- Node300.setRotation(0*Math.PI/180);
- Node300.a('node.width', Node300width);
- Node300.a('node.height', Node300height);
- Node300.a('node.rect', [0, 0, Node300width, Node300height]);
- Node300.a('node.bordercolor','rgba(255,255,255,1)');
- Node300.a('node.borderwidth', 0);
- Node300.a('node.background','' || 'rgba(0,0,0,0)');
- Node300.a('node.gradient','');
- Node300.a('node.gradientcolor','');
- Node300.a('node.text','2号无功补偿SVG');
- Node300.a('node.textalign','left');
- Node300.a('node.textvAlign','middle');
- Node300.a('node.textrect', [Node300textStart, 0, Node300textWidth, Node300height]);
- Node300.a('node.color','rgba(255,255,255,1)');
- Node300.a('node.font',' '+ Node300fontSize + 'px "Arial"');
- Node300.a('node.textvisible',true);
- Node300.a('node.linefeed',false);
- if (false) {
- Node300.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node300.a('node.text') || '2号无功补偿SVG';
- var color=Node300.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,9.33331*0.5*_ratio.ratioY,Node300width,Node300height,9.33331*_ratio.ratioY,"left",color,' '+ Node300fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node300.a('node.underlinepoints',[Node300lineStart, (25 - 9.33331) * 0.5 * _ratio.ratioY + Node300fontSize + 2 , ht.Default.getTextSize('2号无功补偿SVG', ' '+ Node300fontSize + 'px "Arial"').width + 6, (Node300height - Node300fontSize) * 0.5*_ratio.ratioY + Node300fontSize + 2 ]);
- Node300.a('node.underlinevisible',false);
- Node300.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node300);
- zoomNodeList.push({
- node: Node300,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node301= new ht.Node();
- Node301._borderWidth = 1;
- Node301.setImage({
- width: 80*_ratio.ratioX,
- height:20*_ratio.ratioY,
- clip:function(g, width, height, data){
- drawRoundRect(g,0,0,width,height,3,3,'rgba(0,0,192,1)', Node301._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node301.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node301.background'},
- gradient: {value:'', func: 'attr@Node301.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node301.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node301.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node301.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node301.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node301.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node301.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node301.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node301.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node301.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node301.borderPattern'}
- }
- ]
- });
- var Node301borderwidth = 1;
- var Node301borderFillwidth = 1*2;
- Node301 .setPosition(1266*ratio.ratioX,801*ratio.ratioY);
- Node301.setSize(80*_ratio.ratioX, 20*_ratio.ratioY);
- Node301.setRotation(0*Math.PI/180);
- Node301.s({'pixelPerfect':true});
- Node301.a('Node301.borderwidth',1);
- Node301.a('Node301.color','@bordercolor@');
- Node301.a('Node301.background','rgba(0,0,192,1)');
- Node301.a('Node301.gradient','');
- Node301.a('Node301.gradientcolor','rgba(0,0,192,1)');
- Node301.a('Node301.borderPattern',getDashStyle("Solid"));
- Node301.a('Node301.fillrect',[0,0,0,0]);
- Node301.a('Node301.fillbackcolor','rgba(0, 0, 0, 0)');
- Node301.a('Node301.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node301.a('Node301.fillgradient','');
- Node301borderwidth=1;
- dataModel.add(Node301);
- Node301.borderWidth = 1;
- Node301.borderFillwidth = 1*2;
- Node301._nodename = 'Node301';
- Node301._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node301,
- attr: 'Node301.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- _img.width = width;
- this.a('Node301.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- _img.height = height;
- this.a('Node301.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node301, Node301.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node302 = new ht.Node();
- var Node302textStart, Node302textWidth, Node302lineStart, Node302align = 'left', Node302fontSize = 13.3333*_ratio.ratioY,Node302width = 108*_ratio.ratioX, Node302height = 25*_ratio.ratioY;
- (function () {
- if (Node302align === 'left') {
- Node302textStart = Node302fontSize * 0.2 > 2 ? Node302fontSize * 0.2 - 4 : Node302fontSize * 0.2 - 9;
- Node302textWidth = Node302width;
- Node302lineStart = 1;
- } else if (Node302align === 'right') {
- Node302textStart = 0;
- Node302textWidth =Node302fontSize <= 8 ? Node302width + Node302fontSize * 0.2 + 6 : Node302width - Node302fontSize * 0.2;
- Node302lineStart = (Node302width - (ht.Default.getTextSize('集电九线', ' '+ Node302fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node302align === 'center') {
- Node302textStart = -3;
- Node302textWidth = Node302width;
- Node302lineStart = Node302width - ht.Default.getTextSize('集电九线', ' '+ Node302fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node302.setImage(GD.getTextJSON(Node302width, Node302height, true, false, false, ' '+ Node302fontSize + 'px "Arial"'))
- Node302.setPosition(1288*ratio.ratioX, 803*ratio.ratioY);
- Node302.setWidth(Node302width);
- Node302.setHeight(Node302height);
- Node302._nodeType = 'text';
- Node302._disallowEvert = true;
- Node302.setRotation(0*Math.PI/180);
- Node302.a('node.width', Node302width);
- Node302.a('node.height', Node302height);
- Node302.a('node.rect', [0, 0, Node302width, Node302height]);
- Node302.a('node.bordercolor','rgba(255,255,255,1)');
- Node302.a('node.borderwidth', 0);
- Node302.a('node.background','' || 'rgba(0,0,0,0)');
- Node302.a('node.gradient','');
- Node302.a('node.gradientcolor','');
- Node302.a('node.text','集电九线');
- Node302.a('node.textalign','left');
- Node302.a('node.textvAlign','middle');
- Node302.a('node.textrect', [Node302textStart, 0, Node302textWidth, Node302height]);
- Node302.a('node.color','rgba(255,255,255,1)');
- Node302.a('node.font',' '+ Node302fontSize + 'px "Arial"');
- Node302.a('node.textvisible',true);
- Node302.a('node.linefeed',false);
- if (false) {
- Node302.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node302.a('node.text') || '集电九线';
- var color=Node302.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node302width,Node302height,13.3333*_ratio.ratioY,"left",color,' '+ Node302fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node302.a('node.underlinepoints',[Node302lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node302fontSize + 2 , ht.Default.getTextSize('集电九线', ' '+ Node302fontSize + 'px "Arial"').width + 6, (Node302height - Node302fontSize) * 0.5*_ratio.ratioY + Node302fontSize + 2 ]);
- Node302.a('node.underlinevisible',false);
- Node302.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node302);
- zoomNodeList.push({
- node: Node302,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node303= new ht.Node();
- Node303._borderWidth = 1;
- Node303.setImage({
- width: 80*_ratio.ratioX,
- height:20*_ratio.ratioY,
- clip:function(g, width, height, data){
- drawRoundRect(g,0,0,width,height,3,3,'rgba(0,0,192,1)', Node303._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node303.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node303.background'},
- gradient: {value:'', func: 'attr@Node303.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node303.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node303.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node303.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node303.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node303.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node303.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node303.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node303.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node303.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node303.borderPattern'}
- }
- ]
- });
- var Node303borderwidth = 1;
- var Node303borderFillwidth = 1*2;
- Node303 .setPosition(1356*ratio.ratioX,801*ratio.ratioY);
- Node303.setSize(80*_ratio.ratioX, 20*_ratio.ratioY);
- Node303.setRotation(0*Math.PI/180);
- Node303.s({'pixelPerfect':true});
- Node303.a('Node303.borderwidth',1);
- Node303.a('Node303.color','@bordercolor@');
- Node303.a('Node303.background','rgba(0,0,192,1)');
- Node303.a('Node303.gradient','');
- Node303.a('Node303.gradientcolor','rgba(0,0,192,1)');
- Node303.a('Node303.borderPattern',getDashStyle("Solid"));
- Node303.a('Node303.fillrect',[0,0,0,0]);
- Node303.a('Node303.fillbackcolor','rgba(0, 0, 0, 0)');
- Node303.a('Node303.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node303.a('Node303.fillgradient','');
- Node303borderwidth=1;
- dataModel.add(Node303);
- Node303.borderWidth = 1;
- Node303.borderFillwidth = 1*2;
- Node303._nodename = 'Node303';
- Node303._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node303,
- attr: 'Node303.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- _img.width = width;
- this.a('Node303.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- _img.height = height;
- this.a('Node303.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node303, Node303.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node304 = new ht.Node();
- var Node304textStart, Node304textWidth, Node304lineStart, Node304align = 'left', Node304fontSize = 13.3333*_ratio.ratioY,Node304width = 108*_ratio.ratioX, Node304height = 25*_ratio.ratioY;
- (function () {
- if (Node304align === 'left') {
- Node304textStart = Node304fontSize * 0.2 > 2 ? Node304fontSize * 0.2 - 4 : Node304fontSize * 0.2 - 9;
- Node304textWidth = Node304width;
- Node304lineStart = 1;
- } else if (Node304align === 'right') {
- Node304textStart = 0;
- Node304textWidth =Node304fontSize <= 8 ? Node304width + Node304fontSize * 0.2 + 6 : Node304width - Node304fontSize * 0.2;
- Node304lineStart = (Node304width - (ht.Default.getTextSize('集电八线', ' '+ Node304fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node304align === 'center') {
- Node304textStart = -3;
- Node304textWidth = Node304width;
- Node304lineStart = Node304width - ht.Default.getTextSize('集电八线', ' '+ Node304fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node304.setImage(GD.getTextJSON(Node304width, Node304height, true, false, false, ' '+ Node304fontSize + 'px "Arial"'))
- Node304.setPosition(1378*ratio.ratioX, 803*ratio.ratioY);
- Node304.setWidth(Node304width);
- Node304.setHeight(Node304height);
- Node304._nodeType = 'text';
- Node304._disallowEvert = true;
- Node304.setRotation(0*Math.PI/180);
- Node304.a('node.width', Node304width);
- Node304.a('node.height', Node304height);
- Node304.a('node.rect', [0, 0, Node304width, Node304height]);
- Node304.a('node.bordercolor','rgba(255,255,255,1)');
- Node304.a('node.borderwidth', 0);
- Node304.a('node.background','' || 'rgba(0,0,0,0)');
- Node304.a('node.gradient','');
- Node304.a('node.gradientcolor','');
- Node304.a('node.text','集电八线');
- Node304.a('node.textalign','left');
- Node304.a('node.textvAlign','middle');
- Node304.a('node.textrect', [Node304textStart, 0, Node304textWidth, Node304height]);
- Node304.a('node.color','rgba(255,255,255,1)');
- Node304.a('node.font',' '+ Node304fontSize + 'px "Arial"');
- Node304.a('node.textvisible',true);
- Node304.a('node.linefeed',false);
- if (false) {
- Node304.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node304.a('node.text') || '集电八线';
- var color=Node304.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node304width,Node304height,13.3333*_ratio.ratioY,"left",color,' '+ Node304fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node304.a('node.underlinepoints',[Node304lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node304fontSize + 2 , ht.Default.getTextSize('集电八线', ' '+ Node304fontSize + 'px "Arial"').width + 6, (Node304height - Node304fontSize) * 0.5*_ratio.ratioY + Node304fontSize + 2 ]);
- Node304.a('node.underlinevisible',false);
- Node304.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node304);
- zoomNodeList.push({
- node: Node304,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node305= new ht.Node();
- Node305._borderWidth = 1;
- Node305.setImage({
- width: 80*_ratio.ratioX,
- height:20*_ratio.ratioY,
- clip:function(g, width, height, data){
- drawRoundRect(g,0,0,width,height,3,3,'rgba(0,0,192,1)', Node305._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node305.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node305.background'},
- gradient: {value:'', func: 'attr@Node305.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node305.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node305.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node305.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node305.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node305.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node305.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node305.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node305.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node305.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node305.borderPattern'}
- }
- ]
- });
- var Node305borderwidth = 1;
- var Node305borderFillwidth = 1*2;
- Node305 .setPosition(1446*ratio.ratioX,801*ratio.ratioY);
- Node305.setSize(80*_ratio.ratioX, 20*_ratio.ratioY);
- Node305.setRotation(0*Math.PI/180);
- Node305.s({'pixelPerfect':true});
- Node305.a('Node305.borderwidth',1);
- Node305.a('Node305.color','@bordercolor@');
- Node305.a('Node305.background','rgba(0,0,192,1)');
- Node305.a('Node305.gradient','');
- Node305.a('Node305.gradientcolor','rgba(0,0,192,1)');
- Node305.a('Node305.borderPattern',getDashStyle("Solid"));
- Node305.a('Node305.fillrect',[0,0,0,0]);
- Node305.a('Node305.fillbackcolor','rgba(0, 0, 0, 0)');
- Node305.a('Node305.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node305.a('Node305.fillgradient','');
- Node305borderwidth=1;
- dataModel.add(Node305);
- Node305.borderWidth = 1;
- Node305.borderFillwidth = 1*2;
- Node305._nodename = 'Node305';
- Node305._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node305,
- attr: 'Node305.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- _img.width = width;
- this.a('Node305.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- _img.height = height;
- this.a('Node305.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node305, Node305.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node306 = new ht.Node();
- var Node306textStart, Node306textWidth, Node306lineStart, Node306align = 'left', Node306fontSize = 13.3333*_ratio.ratioY,Node306width = 108*_ratio.ratioX, Node306height = 25*_ratio.ratioY;
- (function () {
- if (Node306align === 'left') {
- Node306textStart = Node306fontSize * 0.2 > 2 ? Node306fontSize * 0.2 - 4 : Node306fontSize * 0.2 - 9;
- Node306textWidth = Node306width;
- Node306lineStart = 1;
- } else if (Node306align === 'right') {
- Node306textStart = 0;
- Node306textWidth =Node306fontSize <= 8 ? Node306width + Node306fontSize * 0.2 + 6 : Node306width - Node306fontSize * 0.2;
- Node306lineStart = (Node306width - (ht.Default.getTextSize('集电七线', ' '+ Node306fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node306align === 'center') {
- Node306textStart = -3;
- Node306textWidth = Node306width;
- Node306lineStart = Node306width - ht.Default.getTextSize('集电七线', ' '+ Node306fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node306.setImage(GD.getTextJSON(Node306width, Node306height, true, false, false, ' '+ Node306fontSize + 'px "Arial"'))
- Node306.setPosition(1469*ratio.ratioX, 803*ratio.ratioY);
- Node306.setWidth(Node306width);
- Node306.setHeight(Node306height);
- Node306._nodeType = 'text';
- Node306._disallowEvert = true;
- Node306.setRotation(0*Math.PI/180);
- Node306.a('node.width', Node306width);
- Node306.a('node.height', Node306height);
- Node306.a('node.rect', [0, 0, Node306width, Node306height]);
- Node306.a('node.bordercolor','rgba(255,255,255,1)');
- Node306.a('node.borderwidth', 0);
- Node306.a('node.background','' || 'rgba(0,0,0,0)');
- Node306.a('node.gradient','');
- Node306.a('node.gradientcolor','');
- Node306.a('node.text','集电七线');
- Node306.a('node.textalign','left');
- Node306.a('node.textvAlign','middle');
- Node306.a('node.textrect', [Node306textStart, 0, Node306textWidth, Node306height]);
- Node306.a('node.color','rgba(255,255,255,1)');
- Node306.a('node.font',' '+ Node306fontSize + 'px "Arial"');
- Node306.a('node.textvisible',true);
- Node306.a('node.linefeed',false);
- if (false) {
- Node306.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node306.a('node.text') || '集电七线';
- var color=Node306.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node306width,Node306height,13.3333*_ratio.ratioY,"left",color,' '+ Node306fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node306.a('node.underlinepoints',[Node306lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node306fontSize + 2 , ht.Default.getTextSize('集电七线', ' '+ Node306fontSize + 'px "Arial"').width + 6, (Node306height - Node306fontSize) * 0.5*_ratio.ratioY + Node306fontSize + 2 ]);
- Node306.a('node.underlinevisible',false);
- Node306.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node306);
- zoomNodeList.push({
- node: Node306,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node307= new ht.Node();
- Node307._borderWidth = 1;
- Node307.setImage({
- width: 80*_ratio.ratioX,
- height:20*_ratio.ratioY,
- clip:function(g, width, height, data){
- drawRoundRect(g,0,0,width,height,3,3,'rgba(0,0,192,1)', Node307._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node307.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node307.background'},
- gradient: {value:'', func: 'attr@Node307.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node307.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node307.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node307.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node307.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node307.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node307.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node307.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node307.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node307.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node307.borderPattern'}
- }
- ]
- });
- var Node307borderwidth = 1;
- var Node307borderFillwidth = 1*2;
- Node307 .setPosition(1536*ratio.ratioX,801*ratio.ratioY);
- Node307.setSize(80*_ratio.ratioX, 20*_ratio.ratioY);
- Node307.setRotation(0*Math.PI/180);
- Node307.s({'pixelPerfect':true});
- Node307.a('Node307.borderwidth',1);
- Node307.a('Node307.color','@bordercolor@');
- Node307.a('Node307.background','rgba(0,0,192,1)');
- Node307.a('Node307.gradient','');
- Node307.a('Node307.gradientcolor','rgba(0,0,192,1)');
- Node307.a('Node307.borderPattern',getDashStyle("Solid"));
- Node307.a('Node307.fillrect',[0,0,0,0]);
- Node307.a('Node307.fillbackcolor','rgba(0, 0, 0, 0)');
- Node307.a('Node307.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node307.a('Node307.fillgradient','');
- Node307borderwidth=1;
- dataModel.add(Node307);
- Node307.borderWidth = 1;
- Node307.borderFillwidth = 1*2;
- Node307._nodename = 'Node307';
- Node307._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node307,
- attr: 'Node307.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- _img.width = width;
- this.a('Node307.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- _img.height = height;
- this.a('Node307.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node307, Node307.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node308 = new ht.Node();
- var Node308textStart, Node308textWidth, Node308lineStart, Node308align = 'left', Node308fontSize = 13.3333*_ratio.ratioY,Node308width = 108*_ratio.ratioX, Node308height = 25*_ratio.ratioY;
- (function () {
- if (Node308align === 'left') {
- Node308textStart = Node308fontSize * 0.2 > 2 ? Node308fontSize * 0.2 - 4 : Node308fontSize * 0.2 - 9;
- Node308textWidth = Node308width;
- Node308lineStart = 1;
- } else if (Node308align === 'right') {
- Node308textStart = 0;
- Node308textWidth =Node308fontSize <= 8 ? Node308width + Node308fontSize * 0.2 + 6 : Node308width - Node308fontSize * 0.2;
- Node308lineStart = (Node308width - (ht.Default.getTextSize('2号接地变', ' '+ Node308fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node308align === 'center') {
- Node308textStart = -3;
- Node308textWidth = Node308width;
- Node308lineStart = Node308width - ht.Default.getTextSize('2号接地变', ' '+ Node308fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node308.setImage(GD.getTextJSON(Node308width, Node308height, true, false, false, ' '+ Node308fontSize + 'px "Arial"'))
- Node308.setPosition(1553*ratio.ratioX, 803*ratio.ratioY);
- Node308.setWidth(Node308width);
- Node308.setHeight(Node308height);
- Node308._nodeType = 'text';
- Node308._disallowEvert = true;
- Node308.setRotation(0*Math.PI/180);
- Node308.a('node.width', Node308width);
- Node308.a('node.height', Node308height);
- Node308.a('node.rect', [0, 0, Node308width, Node308height]);
- Node308.a('node.bordercolor','rgba(255,255,255,1)');
- Node308.a('node.borderwidth', 0);
- Node308.a('node.background','' || 'rgba(0,0,0,0)');
- Node308.a('node.gradient','');
- Node308.a('node.gradientcolor','');
- Node308.a('node.text','2号接地变');
- Node308.a('node.textalign','left');
- Node308.a('node.textvAlign','middle');
- Node308.a('node.textrect', [Node308textStart, 0, Node308textWidth, Node308height]);
- Node308.a('node.color','rgba(255,255,255,1)');
- Node308.a('node.font',' '+ Node308fontSize + 'px "Arial"');
- Node308.a('node.textvisible',true);
- Node308.a('node.linefeed',false);
- if (false) {
- Node308.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node308.a('node.text') || '2号接地变';
- var color=Node308.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node308width,Node308height,13.3333*_ratio.ratioY,"left",color,' '+ Node308fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node308.a('node.underlinepoints',[Node308lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node308fontSize + 2 , ht.Default.getTextSize('2号接地变', ' '+ Node308fontSize + 'px "Arial"').width + 6, (Node308height - Node308fontSize) * 0.5*_ratio.ratioY + Node308fontSize + 2 ]);
- Node308.a('node.underlinevisible',false);
- Node308.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node308);
- zoomNodeList.push({
- node: Node308,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node309= new ht.Node();
- Node309._borderWidth = 1;
- Node309.setImage({
- width: 80*_ratio.ratioX,
- height:20*_ratio.ratioY,
- clip:function(g, width, height, data){
- drawRoundRect(g,0,0,width,height,3,3,'rgba(0,0,192,1)', Node309._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node309.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node309.background'},
- gradient: {value:'', func: 'attr@Node309.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node309.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node309.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node309.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node309.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node309.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node309.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node309.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node309.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node309.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node309.borderPattern'}
- }
- ]
- });
- var Node309borderwidth = 1;
- var Node309borderFillwidth = 1*2;
- Node309 .setPosition(1626*ratio.ratioX,801*ratio.ratioY);
- Node309.setSize(80*_ratio.ratioX, 20*_ratio.ratioY);
- Node309.setRotation(0*Math.PI/180);
- Node309.s({'pixelPerfect':true});
- Node309.a('Node309.borderwidth',1);
- Node309.a('Node309.color','@bordercolor@');
- Node309.a('Node309.background','rgba(0,0,192,1)');
- Node309.a('Node309.gradient','');
- Node309.a('Node309.gradientcolor','rgba(0,0,192,1)');
- Node309.a('Node309.borderPattern',getDashStyle("Solid"));
- Node309.a('Node309.fillrect',[0,0,0,0]);
- Node309.a('Node309.fillbackcolor','rgba(0, 0, 0, 0)');
- Node309.a('Node309.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node309.a('Node309.fillgradient','');
- Node309borderwidth=1;
- dataModel.add(Node309);
- Node309.borderWidth = 1;
- Node309.borderFillwidth = 1*2;
- Node309._nodename = 'Node309';
- Node309._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node309,
- attr: 'Node309.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- _img.width = width;
- this.a('Node309.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- _img.height = height;
- this.a('Node309.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node309, Node309.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node310 = new ht.Node();
- var Node310textStart, Node310textWidth, Node310lineStart, Node310align = 'left', Node310fontSize = 13.3333*_ratio.ratioY,Node310width = 108*_ratio.ratioX, Node310height = 25*_ratio.ratioY;
- (function () {
- if (Node310align === 'left') {
- Node310textStart = Node310fontSize * 0.2 > 2 ? Node310fontSize * 0.2 - 4 : Node310fontSize * 0.2 - 9;
- Node310textWidth = Node310width;
- Node310lineStart = 1;
- } else if (Node310align === 'right') {
- Node310textStart = 0;
- Node310textWidth =Node310fontSize <= 8 ? Node310width + Node310fontSize * 0.2 + 6 : Node310width - Node310fontSize * 0.2;
- Node310lineStart = (Node310width - (ht.Default.getTextSize('集电十线', ' '+ Node310fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node310align === 'center') {
- Node310textStart = -3;
- Node310textWidth = Node310width;
- Node310lineStart = Node310width - ht.Default.getTextSize('集电十线', ' '+ Node310fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node310.setImage(GD.getTextJSON(Node310width, Node310height, true, false, false, ' '+ Node310fontSize + 'px "Arial"'))
- Node310.setPosition(1647*ratio.ratioX, 803*ratio.ratioY);
- Node310.setWidth(Node310width);
- Node310.setHeight(Node310height);
- Node310._nodeType = 'text';
- Node310._disallowEvert = true;
- Node310.setRotation(0*Math.PI/180);
- Node310.a('node.width', Node310width);
- Node310.a('node.height', Node310height);
- Node310.a('node.rect', [0, 0, Node310width, Node310height]);
- Node310.a('node.bordercolor','rgba(255,255,255,1)');
- Node310.a('node.borderwidth', 0);
- Node310.a('node.background','' || 'rgba(0,0,0,0)');
- Node310.a('node.gradient','');
- Node310.a('node.gradientcolor','');
- Node310.a('node.text','集电十线');
- Node310.a('node.textalign','left');
- Node310.a('node.textvAlign','middle');
- Node310.a('node.textrect', [Node310textStart, 0, Node310textWidth, Node310height]);
- Node310.a('node.color','rgba(255,255,255,1)');
- Node310.a('node.font',' '+ Node310fontSize + 'px "Arial"');
- Node310.a('node.textvisible',true);
- Node310.a('node.linefeed',false);
- if (false) {
- Node310.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node310.a('node.text') || '集电十线';
- var color=Node310.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node310width,Node310height,13.3333*_ratio.ratioY,"left",color,' '+ Node310fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node310.a('node.underlinepoints',[Node310lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node310fontSize + 2 , ht.Default.getTextSize('集电十线', ' '+ Node310fontSize + 'px "Arial"').width + 6, (Node310height - Node310fontSize) * 0.5*_ratio.ratioY + Node310fontSize + 2 ]);
- Node310.a('node.underlinevisible',false);
- Node310.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node310);
- zoomNodeList.push({
- node: Node310,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node311= new ht.Node();
- Node311._borderWidth = 1;
- Node311.setImage({
- width: 80*_ratio.ratioX,
- height:20*_ratio.ratioY,
- clip:function(g, width, height, data){
- drawRoundRect(g,0,0,width,height,3,3,'rgba(0,0,192,1)', Node311._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node311.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node311.background'},
- gradient: {value:'', func: 'attr@Node311.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node311.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node311.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node311.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node311.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node311.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node311.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node311.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node311.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node311.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node311.borderPattern'}
- }
- ]
- });
- var Node311borderwidth = 1;
- var Node311borderFillwidth = 1*2;
- Node311 .setPosition(1716*ratio.ratioX,801*ratio.ratioY);
- Node311.setSize(80*_ratio.ratioX, 20*_ratio.ratioY);
- Node311.setRotation(0*Math.PI/180);
- Node311.s({'pixelPerfect':true});
- Node311.a('Node311.borderwidth',1);
- Node311.a('Node311.color','@bordercolor@');
- Node311.a('Node311.background','rgba(0,0,192,1)');
- Node311.a('Node311.gradient','');
- Node311.a('Node311.gradientcolor','rgba(0,0,192,1)');
- Node311.a('Node311.borderPattern',getDashStyle("Solid"));
- Node311.a('Node311.fillrect',[0,0,0,0]);
- Node311.a('Node311.fillbackcolor','rgba(0, 0, 0, 0)');
- Node311.a('Node311.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node311.a('Node311.fillgradient','');
- Node311borderwidth=1;
- dataModel.add(Node311);
- Node311.borderWidth = 1;
- Node311.borderFillwidth = 1*2;
- Node311._nodename = 'Node311';
- Node311._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node311,
- attr: 'Node311.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- _img.width = width;
- this.a('Node311.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- _img.height = height;
- this.a('Node311.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node311, Node311.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node312 = new ht.Node();
- var Node312textStart, Node312textWidth, Node312lineStart, Node312align = 'left', Node312fontSize = 13.3333*_ratio.ratioY,Node312width = 108*_ratio.ratioX, Node312height = 25*_ratio.ratioY;
- (function () {
- if (Node312align === 'left') {
- Node312textStart = Node312fontSize * 0.2 > 2 ? Node312fontSize * 0.2 - 4 : Node312fontSize * 0.2 - 9;
- Node312textWidth = Node312width;
- Node312lineStart = 1;
- } else if (Node312align === 'right') {
- Node312textStart = 0;
- Node312textWidth =Node312fontSize <= 8 ? Node312width + Node312fontSize * 0.2 + 6 : Node312width - Node312fontSize * 0.2;
- Node312lineStart = (Node312width - (ht.Default.getTextSize('集电十一线', ' '+ Node312fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node312align === 'center') {
- Node312textStart = -3;
- Node312textWidth = Node312width;
- Node312lineStart = Node312width - ht.Default.getTextSize('集电十一线', ' '+ Node312fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node312.setImage(GD.getTextJSON(Node312width, Node312height, true, false, false, ' '+ Node312fontSize + 'px "Arial"'))
- Node312.setPosition(1732*ratio.ratioX, 803*ratio.ratioY);
- Node312.setWidth(Node312width);
- Node312.setHeight(Node312height);
- Node312._nodeType = 'text';
- Node312._disallowEvert = true;
- Node312.setRotation(0*Math.PI/180);
- Node312.a('node.width', Node312width);
- Node312.a('node.height', Node312height);
- Node312.a('node.rect', [0, 0, Node312width, Node312height]);
- Node312.a('node.bordercolor','rgba(255,255,255,1)');
- Node312.a('node.borderwidth', 0);
- Node312.a('node.background','' || 'rgba(0,0,0,0)');
- Node312.a('node.gradient','');
- Node312.a('node.gradientcolor','');
- Node312.a('node.text','集电十一线');
- Node312.a('node.textalign','left');
- Node312.a('node.textvAlign','middle');
- Node312.a('node.textrect', [Node312textStart, 0, Node312textWidth, Node312height]);
- Node312.a('node.color','rgba(255,255,255,1)');
- Node312.a('node.font',' '+ Node312fontSize + 'px "Arial"');
- Node312.a('node.textvisible',true);
- Node312.a('node.linefeed',false);
- if (false) {
- Node312.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node312.a('node.text') || '集电十一线';
- var color=Node312.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node312width,Node312height,13.3333*_ratio.ratioY,"left",color,' '+ Node312fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node312.a('node.underlinepoints',[Node312lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node312fontSize + 2 , ht.Default.getTextSize('集电十一线', ' '+ Node312fontSize + 'px "Arial"').width + 6, (Node312height - Node312fontSize) * 0.5*_ratio.ratioY + Node312fontSize + 2 ]);
- Node312.a('node.underlinevisible',false);
- Node312.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node312);
- zoomNodeList.push({
- node: Node312,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node313= new ht.Node();
- Node313._borderWidth = 1;
- Node313.setImage({
- width: 80*_ratio.ratioX,
- height:20*_ratio.ratioY,
- clip:function(g, width, height, data){
- drawRoundRect(g,0,0,width,height,3,3,'rgba(0,0,192,1)', Node313._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node313.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node313.background'},
- gradient: {value:'', func: 'attr@Node313.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node313.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node313.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node313.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node313.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node313.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node313.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node313.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node313.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node313.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node313.borderPattern'}
- }
- ]
- });
- var Node313borderwidth = 1;
- var Node313borderFillwidth = 1*2;
- Node313 .setPosition(1806*ratio.ratioX,801*ratio.ratioY);
- Node313.setSize(80*_ratio.ratioX, 20*_ratio.ratioY);
- Node313.setRotation(0*Math.PI/180);
- Node313.s({'pixelPerfect':true});
- Node313.a('Node313.borderwidth',1);
- Node313.a('Node313.color','@bordercolor@');
- Node313.a('Node313.background','rgba(0,0,192,1)');
- Node313.a('Node313.gradient','');
- Node313.a('Node313.gradientcolor','rgba(0,0,192,1)');
- Node313.a('Node313.borderPattern',getDashStyle("Solid"));
- Node313.a('Node313.fillrect',[0,0,0,0]);
- Node313.a('Node313.fillbackcolor','rgba(0, 0, 0, 0)');
- Node313.a('Node313.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node313.a('Node313.fillgradient','');
- Node313borderwidth=1;
- dataModel.add(Node313);
- Node313.borderWidth = 1;
- Node313.borderFillwidth = 1*2;
- Node313._nodename = 'Node313';
- Node313._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node313,
- attr: 'Node313.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- _img.width = width;
- this.a('Node313.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- _img.height = height;
- this.a('Node313.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node313, Node313.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node314 = new ht.Node();
- var Node314textStart, Node314textWidth, Node314lineStart, Node314align = 'left', Node314fontSize = 13.3333*_ratio.ratioY,Node314width = 108*_ratio.ratioX, Node314height = 25*_ratio.ratioY;
- (function () {
- if (Node314align === 'left') {
- Node314textStart = Node314fontSize * 0.2 > 2 ? Node314fontSize * 0.2 - 4 : Node314fontSize * 0.2 - 9;
- Node314textWidth = Node314width;
- Node314lineStart = 1;
- } else if (Node314align === 'right') {
- Node314textStart = 0;
- Node314textWidth =Node314fontSize <= 8 ? Node314width + Node314fontSize * 0.2 + 6 : Node314width - Node314fontSize * 0.2;
- Node314lineStart = (Node314width - (ht.Default.getTextSize('集电十二线', ' '+ Node314fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node314align === 'center') {
- Node314textStart = -3;
- Node314textWidth = Node314width;
- Node314lineStart = Node314width - ht.Default.getTextSize('集电十二线', ' '+ Node314fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node314.setImage(GD.getTextJSON(Node314width, Node314height, true, false, false, ' '+ Node314fontSize + 'px "Arial"'))
- Node314.setPosition(1821*ratio.ratioX, 803*ratio.ratioY);
- Node314.setWidth(Node314width);
- Node314.setHeight(Node314height);
- Node314._nodeType = 'text';
- Node314._disallowEvert = true;
- Node314.setRotation(0*Math.PI/180);
- Node314.a('node.width', Node314width);
- Node314.a('node.height', Node314height);
- Node314.a('node.rect', [0, 0, Node314width, Node314height]);
- Node314.a('node.bordercolor','rgba(255,255,255,1)');
- Node314.a('node.borderwidth', 0);
- Node314.a('node.background','' || 'rgba(0,0,0,0)');
- Node314.a('node.gradient','');
- Node314.a('node.gradientcolor','');
- Node314.a('node.text','集电十二线');
- Node314.a('node.textalign','left');
- Node314.a('node.textvAlign','middle');
- Node314.a('node.textrect', [Node314textStart, 0, Node314textWidth, Node314height]);
- Node314.a('node.color','rgba(255,255,255,1)');
- Node314.a('node.font',' '+ Node314fontSize + 'px "Arial"');
- Node314.a('node.textvisible',true);
- Node314.a('node.linefeed',false);
- if (false) {
- Node314.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node314.a('node.text') || '集电十二线';
- var color=Node314.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node314width,Node314height,13.3333*_ratio.ratioY,"left",color,' '+ Node314fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node314.a('node.underlinepoints',[Node314lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node314fontSize + 2 , ht.Default.getTextSize('集电十二线', ' '+ Node314fontSize + 'px "Arial"').width + 6, (Node314height - Node314fontSize) * 0.5*_ratio.ratioY + Node314fontSize + 2 ]);
- Node314.a('node.underlinevisible',false);
- Node314.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node314);
- zoomNodeList.push({
- node: Node314,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node315_0 = new ht.Node();
- var Node315_0textStart, Node315_0textWidth, Node315_0lineStart, Node315_0align = 'left', Node315_0fontSize = 13.3333*_ratio.ratioY,Node315_0width = 73*_ratio.ratioX, Node315_0height = 25*_ratio.ratioY;
- (function () {
- if (Node315_0align === 'left') {
- Node315_0textStart = Node315_0fontSize * 0.2 > 2 ? Node315_0fontSize * 0.2 - 4 : Node315_0fontSize * 0.2 - 9;
- Node315_0textWidth = Node315_0width;
- Node315_0lineStart = 1;
- } else if (Node315_0align === 'right') {
- Node315_0textStart = 0;
- Node315_0textWidth =Node315_0fontSize <= 8 ? Node315_0width + Node315_0fontSize * 0.2 + 6 : Node315_0width - Node315_0fontSize * 0.2;
- Node315_0lineStart = (Node315_0width - (ht.Default.getTextSize('Ia:', ' '+ Node315_0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node315_0align === 'center') {
- Node315_0textStart = -3;
- Node315_0textWidth = Node315_0width;
- Node315_0lineStart = Node315_0width - ht.Default.getTextSize('Ia:', ' '+ Node315_0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node315_0.setImage(GD.getTextJSON(Node315_0width, Node315_0height, true, false, false, ' '+ Node315_0fontSize + 'px "Arial"'))
- Node315_0.setPosition(65*ratio.ratioX, 844*ratio.ratioY);
- Node315_0.setWidth(Node315_0width);
- Node315_0.setHeight(Node315_0height);
- Node315_0._nodeType = 'text';
- Node315_0._disallowEvert = true;
- Node315_0.setRotation(0*Math.PI/180);
- Node315_0.a('node.width', Node315_0width);
- Node315_0.a('node.height', Node315_0height);
- Node315_0.a('node.rect', [0, 0, Node315_0width, Node315_0height]);
- Node315_0.a('node.bordercolor','rgba(255,0,255,1)');
- Node315_0.a('node.borderwidth', 0);
- Node315_0.a('node.background','' || 'rgba(0,0,0,0)');
- Node315_0.a('node.gradient','');
- Node315_0.a('node.gradientcolor','');
- Node315_0.a('node.text','Ia:');
- Node315_0.a('node.textalign','left');
- Node315_0.a('node.textvAlign','middle');
- Node315_0.a('node.textrect', [Node315_0textStart, 0, Node315_0textWidth, Node315_0height]);
- Node315_0.a('node.color','rgba(255,0,255,1)');
- Node315_0.a('node.font',' '+ Node315_0fontSize + 'px "Arial"');
- Node315_0.a('node.textvisible',true);
- Node315_0.a('node.linefeed',false);
- if (false) {
- Node315_0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node315_0.a('node.text') || 'Ia:';
- var color=Node315_0.a('node.color') || 'rgba(255,0,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node315_0width,Node315_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node315_0fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node315_0.a('node.underlinepoints',[Node315_0lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node315_0fontSize + 2 , ht.Default.getTextSize('Ia:', ' '+ Node315_0fontSize + 'px "Arial"').width + 6, (Node315_0height - Node315_0fontSize) * 0.5*_ratio.ratioY + Node315_0fontSize + 2 ]);
- Node315_0.a('node.underlinevisible',false);
- Node315_0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node315_0);
- zoomNodeList.push({
- node: Node315_0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node315_1 = new ht.Node();
- var Node315_1textStart, Node315_1textWidth, Node315_1lineStart, Node315_1align = 'left', Node315_1fontSize = 13.3333*_ratio.ratioY,Node315_1width = 93*_ratio.ratioX, Node315_1height = 25*_ratio.ratioY;
- (function () {
- if (Node315_1align === 'left') {
- Node315_1textStart = Node315_1fontSize * 0.2 > 2 ? Node315_1fontSize * 0.2 - 4 : Node315_1fontSize * 0.2 - 9;
- Node315_1textWidth = Node315_1width;
- Node315_1lineStart = 1;
- } else if (Node315_1align === 'right') {
- Node315_1textStart = 0;
- Node315_1textWidth =Node315_1fontSize <= 8 ? Node315_1width + Node315_1fontSize * 0.2 + 6 : Node315_1width - Node315_1fontSize * 0.2;
- Node315_1lineStart = (Node315_1width - (ht.Default.getTextSize('P:', ' '+ Node315_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node315_1align === 'center') {
- Node315_1textStart = -3;
- Node315_1textWidth = Node315_1width;
- Node315_1lineStart = Node315_1width - ht.Default.getTextSize('P:', ' '+ Node315_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node315_1.setImage(GD.getTextJSON(Node315_1width, Node315_1height, true, false, false, ' '+ Node315_1fontSize + 'px "Arial"'))
- Node315_1.setPosition(77*ratio.ratioX, 866*ratio.ratioY);
- Node315_1.setWidth(Node315_1width);
- Node315_1.setHeight(Node315_1height);
- Node315_1._nodeType = 'text';
- Node315_1._disallowEvert = true;
- Node315_1.setRotation(0*Math.PI/180);
- Node315_1.a('node.width', Node315_1width);
- Node315_1.a('node.height', Node315_1height);
- Node315_1.a('node.rect', [0, 0, Node315_1width, Node315_1height]);
- Node315_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node315_1.a('node.borderwidth', 0);
- Node315_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node315_1.a('node.gradient','');
- Node315_1.a('node.gradientcolor','');
- Node315_1.a('node.text','P:');
- Node315_1.a('node.textalign','left');
- Node315_1.a('node.textvAlign','middle');
- Node315_1.a('node.textrect', [Node315_1textStart, 0, Node315_1textWidth, Node315_1height]);
- Node315_1.a('node.color','rgba(0,0,0,1)');
- Node315_1.a('node.font',' '+ Node315_1fontSize + 'px "Arial"');
- Node315_1.a('node.textvisible',true);
- Node315_1.a('node.linefeed',false);
- if (false) {
- Node315_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node315_1.a('node.text') || 'P:';
- var color=Node315_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node315_1width,Node315_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node315_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node315_1.a('node.underlinepoints',[Node315_1lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node315_1fontSize + 2 , ht.Default.getTextSize('P:', ' '+ Node315_1fontSize + 'px "Arial"').width + 6, (Node315_1height - Node315_1fontSize) * 0.5*_ratio.ratioY + Node315_1fontSize + 2 ]);
- Node315_1.a('node.underlinevisible',false);
- Node315_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node315_1);
- zoomNodeList.push({
- node: Node315_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node315_2 = new ht.Node();
- var Node315_2textStart, Node315_2textWidth, Node315_2lineStart, Node315_2align = 'left', Node315_2fontSize = 13.3333*_ratio.ratioY,Node315_2width = 71*_ratio.ratioX, Node315_2height = 25*_ratio.ratioY;
- (function () {
- if (Node315_2align === 'left') {
- Node315_2textStart = Node315_2fontSize * 0.2 > 2 ? Node315_2fontSize * 0.2 - 4 : Node315_2fontSize * 0.2 - 9;
- Node315_2textWidth = Node315_2width;
- Node315_2lineStart = 1;
- } else if (Node315_2align === 'right') {
- Node315_2textStart = 0;
- Node315_2textWidth =Node315_2fontSize <= 8 ? Node315_2width + Node315_2fontSize * 0.2 + 6 : Node315_2width - Node315_2fontSize * 0.2;
- Node315_2lineStart = (Node315_2width - (ht.Default.getTextSize('Q:', ' '+ Node315_2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node315_2align === 'center') {
- Node315_2textStart = -3;
- Node315_2textWidth = Node315_2width;
- Node315_2lineStart = Node315_2width - ht.Default.getTextSize('Q:', ' '+ Node315_2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node315_2.setImage(GD.getTextJSON(Node315_2width, Node315_2height, true, false, false, ' '+ Node315_2fontSize + 'px "Arial"'))
- Node315_2.setPosition(65*ratio.ratioX, 886*ratio.ratioY);
- Node315_2.setWidth(Node315_2width);
- Node315_2.setHeight(Node315_2height);
- Node315_2._nodeType = 'text';
- Node315_2._disallowEvert = true;
- Node315_2.setRotation(0*Math.PI/180);
- Node315_2.a('node.width', Node315_2width);
- Node315_2.a('node.height', Node315_2height);
- Node315_2.a('node.rect', [0, 0, Node315_2width, Node315_2height]);
- Node315_2.a('node.bordercolor','rgba(0,0,0,1)');
- Node315_2.a('node.borderwidth', 0);
- Node315_2.a('node.background','' || 'rgba(0,0,0,0)');
- Node315_2.a('node.gradient','');
- Node315_2.a('node.gradientcolor','');
- Node315_2.a('node.text','Q:');
- Node315_2.a('node.textalign','left');
- Node315_2.a('node.textvAlign','middle');
- Node315_2.a('node.textrect', [Node315_2textStart, 0, Node315_2textWidth, Node315_2height]);
- Node315_2.a('node.color','rgba(0,0,0,1)');
- Node315_2.a('node.font',' '+ Node315_2fontSize + 'px "Arial"');
- Node315_2.a('node.textvisible',true);
- Node315_2.a('node.linefeed',false);
- if (false) {
- Node315_2.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node315_2.a('node.text') || 'Q:';
- var color=Node315_2.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node315_2width,Node315_2height,13.3333*_ratio.ratioY,"left",color,' '+ Node315_2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node315_2.a('node.underlinepoints',[Node315_2lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node315_2fontSize + 2 , ht.Default.getTextSize('Q:', ' '+ Node315_2fontSize + 'px "Arial"').width + 6, (Node315_2height - Node315_2fontSize) * 0.5*_ratio.ratioY + Node315_2fontSize + 2 ]);
- Node315_2.a('node.underlinevisible',false);
- Node315_2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node315_2);
- zoomNodeList.push({
- node: Node315_2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node316 = new ht.Node();
- var Node316textStart, Node316textWidth, Node316lineStart, Node316align = 'left', Node316fontSize = 13.3333*_ratio.ratioY,Node316width = 73*_ratio.ratioX, Node316height = 25*_ratio.ratioY;
- (function () {
- if (Node316align === 'left') {
- Node316textStart = Node316fontSize * 0.2 > 2 ? Node316fontSize * 0.2 - 4 : Node316fontSize * 0.2 - 9;
- Node316textWidth = Node316width;
- Node316lineStart = 1;
- } else if (Node316align === 'right') {
- Node316textStart = 0;
- Node316textWidth =Node316fontSize <= 8 ? Node316width + Node316fontSize * 0.2 + 6 : Node316width - Node316fontSize * 0.2;
- Node316lineStart = (Node316width - (ht.Default.getTextSize('单位:A', ' '+ Node316fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node316align === 'center') {
- Node316textStart = -3;
- Node316textWidth = Node316width;
- Node316lineStart = Node316width - ht.Default.getTextSize('单位:A', ' '+ Node316fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node316.setImage(GD.getTextJSON(Node316width, Node316height, true, false, false, ' '+ Node316fontSize + 'px "Arial"'))
- Node316.setPosition(948*ratio.ratioX, 846*ratio.ratioY);
- Node316.setWidth(Node316width);
- Node316.setHeight(Node316height);
- Node316._nodeType = 'text';
- Node316._disallowEvert = true;
- Node316.setRotation(0*Math.PI/180);
- Node316.a('node.width', Node316width);
- Node316.a('node.height', Node316height);
- Node316.a('node.rect', [0, 0, Node316width, Node316height]);
- Node316.a('node.bordercolor','rgba(0,0,0,1)');
- Node316.a('node.borderwidth', 0);
- Node316.a('node.background','' || 'rgba(0,0,0,0)');
- Node316.a('node.gradient','');
- Node316.a('node.gradientcolor','');
- Node316.a('node.text','单位:A');
- Node316.a('node.textalign','left');
- Node316.a('node.textvAlign','middle');
- Node316.a('node.textrect', [Node316textStart, 0, Node316textWidth, Node316height]);
- Node316.a('node.color','rgba(0,0,0,1)');
- Node316.a('node.font',' '+ Node316fontSize + 'px "Arial"');
- Node316.a('node.textvisible',true);
- Node316.a('node.linefeed',false);
- if (false) {
- Node316.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node316.a('node.text') || '单位:A';
- var color=Node316.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node316width,Node316height,13.3333*_ratio.ratioY,"left",color,' '+ Node316fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node316.a('node.underlinepoints',[Node316lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node316fontSize + 2 , ht.Default.getTextSize('单位:A', ' '+ Node316fontSize + 'px "Arial"').width + 6, (Node316height - Node316fontSize) * 0.5*_ratio.ratioY + Node316fontSize + 2 ]);
- Node316.a('node.underlinevisible',false);
- Node316.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node316);
- zoomNodeList.push({
- node: Node316,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node317 = new ht.Node();
- var Node317textStart, Node317textWidth, Node317lineStart, Node317align = 'left', Node317fontSize = 13.3333*_ratio.ratioY,Node317width = 73*_ratio.ratioX, Node317height = 25*_ratio.ratioY;
- (function () {
- if (Node317align === 'left') {
- Node317textStart = Node317fontSize * 0.2 > 2 ? Node317fontSize * 0.2 - 4 : Node317fontSize * 0.2 - 9;
- Node317textWidth = Node317width;
- Node317lineStart = 1;
- } else if (Node317align === 'right') {
- Node317textStart = 0;
- Node317textWidth =Node317fontSize <= 8 ? Node317width + Node317fontSize * 0.2 + 6 : Node317width - Node317fontSize * 0.2;
- Node317lineStart = (Node317width - (ht.Default.getTextSize('单位:KW', ' '+ Node317fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node317align === 'center') {
- Node317textStart = -3;
- Node317textWidth = Node317width;
- Node317lineStart = Node317width - ht.Default.getTextSize('单位:KW', ' '+ Node317fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node317.setImage(GD.getTextJSON(Node317width, Node317height, true, false, false, ' '+ Node317fontSize + 'px "Arial"'))
- Node317.setPosition(948*ratio.ratioX, 866*ratio.ratioY);
- Node317.setWidth(Node317width);
- Node317.setHeight(Node317height);
- Node317._nodeType = 'text';
- Node317._disallowEvert = true;
- Node317.setRotation(0*Math.PI/180);
- Node317.a('node.width', Node317width);
- Node317.a('node.height', Node317height);
- Node317.a('node.rect', [0, 0, Node317width, Node317height]);
- Node317.a('node.bordercolor','rgba(0,0,0,1)');
- Node317.a('node.borderwidth', 0);
- Node317.a('node.background','' || 'rgba(0,0,0,0)');
- Node317.a('node.gradient','');
- Node317.a('node.gradientcolor','');
- Node317.a('node.text','单位:KW');
- Node317.a('node.textalign','left');
- Node317.a('node.textvAlign','middle');
- Node317.a('node.textrect', [Node317textStart, 0, Node317textWidth, Node317height]);
- Node317.a('node.color','rgba(0,0,0,1)');
- Node317.a('node.font',' '+ Node317fontSize + 'px "Arial"');
- Node317.a('node.textvisible',true);
- Node317.a('node.linefeed',false);
- if (false) {
- Node317.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node317.a('node.text') || '单位:KW';
- var color=Node317.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node317width,Node317height,13.3333*_ratio.ratioY,"left",color,' '+ Node317fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node317.a('node.underlinepoints',[Node317lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node317fontSize + 2 , ht.Default.getTextSize('单位:KW', ' '+ Node317fontSize + 'px "Arial"').width + 6, (Node317height - Node317fontSize) * 0.5*_ratio.ratioY + Node317fontSize + 2 ]);
- Node317.a('node.underlinevisible',false);
- Node317.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node317);
- zoomNodeList.push({
- node: Node317,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node318 = new ht.Node();
- var Node318textStart, Node318textWidth, Node318lineStart, Node318align = 'left', Node318fontSize = 13.3333*_ratio.ratioY,Node318width = 82*_ratio.ratioX, Node318height = 25*_ratio.ratioY;
- (function () {
- if (Node318align === 'left') {
- Node318textStart = Node318fontSize * 0.2 > 2 ? Node318fontSize * 0.2 - 4 : Node318fontSize * 0.2 - 9;
- Node318textWidth = Node318width;
- Node318lineStart = 1;
- } else if (Node318align === 'right') {
- Node318textStart = 0;
- Node318textWidth =Node318fontSize <= 8 ? Node318width + Node318fontSize * 0.2 + 6 : Node318width - Node318fontSize * 0.2;
- Node318lineStart = (Node318width - (ht.Default.getTextSize('单位:MVar', ' '+ Node318fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node318align === 'center') {
- Node318textStart = -3;
- Node318textWidth = Node318width;
- Node318lineStart = Node318width - ht.Default.getTextSize('单位:MVar', ' '+ Node318fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node318.setImage(GD.getTextJSON(Node318width, Node318height, true, false, false, ' '+ Node318fontSize + 'px "Arial"'))
- Node318.setPosition(953*ratio.ratioX, 886*ratio.ratioY);
- Node318.setWidth(Node318width);
- Node318.setHeight(Node318height);
- Node318._nodeType = 'text';
- Node318._disallowEvert = true;
- Node318.setRotation(0*Math.PI/180);
- Node318.a('node.width', Node318width);
- Node318.a('node.height', Node318height);
- Node318.a('node.rect', [0, 0, Node318width, Node318height]);
- Node318.a('node.bordercolor','rgba(0,0,0,1)');
- Node318.a('node.borderwidth', 0);
- Node318.a('node.background','' || 'rgba(0,0,0,0)');
- Node318.a('node.gradient','');
- Node318.a('node.gradientcolor','');
- Node318.a('node.text','单位:MVar');
- Node318.a('node.textalign','left');
- Node318.a('node.textvAlign','middle');
- Node318.a('node.textrect', [Node318textStart, 0, Node318textWidth, Node318height]);
- Node318.a('node.color','rgba(0,0,0,1)');
- Node318.a('node.font',' '+ Node318fontSize + 'px "Arial"');
- Node318.a('node.textvisible',true);
- Node318.a('node.linefeed',false);
- if (false) {
- Node318.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node318.a('node.text') || '单位:MVar';
- var color=Node318.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node318width,Node318height,13.3333*_ratio.ratioY,"left",color,' '+ Node318fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node318.a('node.underlinepoints',[Node318lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node318fontSize + 2 , ht.Default.getTextSize('单位:MVar', ' '+ Node318fontSize + 'px "Arial"').width + 6, (Node318height - Node318fontSize) * 0.5*_ratio.ratioY + Node318fontSize + 2 ]);
- Node318.a('node.underlinevisible',false);
- Node318.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node318);
- zoomNodeList.push({
- node: Node318,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node319type = 'rect';
- var Node319 = new ht.Node(),
- Node319BorderWidth = 0*2;
- if (Node319type === 'arc') {
- Node319BorderWidth *= 0;
- }
- Node319.setImage(GD.getRectJSON(27*_ratio.ratioX, 121*_ratio.ratioY, Node319type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node319.setPosition(13*ratio.ratioX, 100*ratio.ratioY);
- Node319.setSize(27*_ratio.ratioX, 121*_ratio.ratioY);
- Node319.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node319.a('node.width', 27*_ratio.ratioX);
- Node319.a('node.height', 121*_ratio.ratioY);
- Node319.a('node.type', Node319type);
- Node319.a('node.rect', [0, 0, 27*_ratio.ratioX, 121*_ratio.ratioY]);
- Node319.a('node.background', 'rgba(0,132,216,1)');
- Node319.a('node.gradientcolor', 'rgba(0,132,216,1)');
- Node319.a('node.gradient', '');
- Node319.a('node.borderwidth', Node319BorderWidth);
- Node319.a('node.color', 'rgba(0,0,255,0)');
- Node319.a('node.fillrect', [0,0,0,0]);
- Node319.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node319.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node319.a('node.fillgradient', '');
- if (Node319type !== 'rect') {
- Node319.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node319.a('node.arcTo', parseFloat('@arcTo@'));
- Node319.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node319type === 'arc') {
- Node319.a('node.arcOval', true);
- }
- Node319.setRotation(0*Math.PI/180);
- Node319.borderWidth = Node319BorderWidth;
- Node319.borderFillwidth = Node319BorderWidth;
- dataModel.add(Node319);
- Node319._nodename = 'Node319'
- Node319._nodeType = 'rect';
- zoomNodeList.push({
- node: Node319,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node319, Node319.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node320 = new ht.Node();
- var Node320textStart, Node320textWidth, Node320lineStart, Node320align = 'left', Node320fontSize = 13.3333*_ratio.ratioY,Node320width = 53*_ratio.ratioX, Node320height = 30*_ratio.ratioY;
- (function () {
- if (Node320align === 'left') {
- Node320textStart = Node320fontSize * 0.2 > 2 ? Node320fontSize * 0.2 - 4 : Node320fontSize * 0.2 - 9;
- Node320textWidth = Node320width;
- Node320lineStart = 1;
- } else if (Node320align === 'right') {
- Node320textStart = 0;
- Node320textWidth =Node320fontSize <= 8 ? Node320width + Node320fontSize * 0.2 + 6 : Node320width - Node320fontSize * 0.2;
- Node320lineStart = (Node320width - (ht.Default.getTextSize('综', 'bold '+ Node320fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node320align === 'center') {
- Node320textStart = -3;
- Node320textWidth = Node320width;
- Node320lineStart = Node320width - ht.Default.getTextSize('综', 'bold '+ Node320fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node320.setImage(GD.getTextJSON(Node320width, Node320height, true, false, false, 'bold '+ Node320fontSize + 'px "Arial"'))
- Node320.setPosition(29*ratio.ratioX, 57*ratio.ratioY);
- Node320.setWidth(Node320width);
- Node320.setHeight(Node320height);
- Node320._nodeType = 'text';
- Node320._disallowEvert = true;
- Node320.setRotation(0*Math.PI/180);
- Node320.a('node.width', Node320width);
- Node320.a('node.height', Node320height);
- Node320.a('node.rect', [0, 0, Node320width, Node320height]);
- Node320.a('node.bordercolor','rgba(255,255,255,1)');
- Node320.a('node.borderwidth', 0);
- Node320.a('node.background','' || 'rgba(0,0,0,0)');
- Node320.a('node.gradient','');
- Node320.a('node.gradientcolor','');
- Node320.a('node.text','综');
- Node320.a('node.textalign','left');
- Node320.a('node.textvAlign','middle');
- Node320.a('node.textrect', [Node320textStart, 0, Node320textWidth, Node320height]);
- Node320.a('node.color','rgba(255,255,255,1)');
- Node320.a('node.font','bold '+ Node320fontSize + 'px "Arial"');
- Node320.a('node.textvisible',true);
- Node320.a('node.linefeed',false);
- if (false) {
- Node320.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node320.a('node.text') || '综';
- var color=Node320.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node320width,Node320height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node320fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node320.a('node.underlinepoints',[Node320lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node320fontSize + 2 , ht.Default.getTextSize('综', 'bold '+ Node320fontSize + 'px "Arial"').width + 6, (Node320height - Node320fontSize) * 0.5*_ratio.ratioY + Node320fontSize + 2 ]);
- Node320.a('node.underlinevisible',false);
- Node320.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node320);
- zoomNodeList.push({
- node: Node320,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node321type = 'rect';
- var Node321 = new ht.Node(),
- Node321BorderWidth = 0*2;
- if (Node321type === 'arc') {
- Node321BorderWidth *= 0;
- }
- Node321.setImage(GD.getRectJSON(156*_ratio.ratioX, 30*_ratio.ratioY, Node321type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node321.setPosition(106*ratio.ratioX, 103*ratio.ratioY);
- Node321.setSize(156*_ratio.ratioX, 30*_ratio.ratioY);
- Node321.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node321.a('node.width', 156*_ratio.ratioX);
- Node321.a('node.height', 30*_ratio.ratioY);
- Node321.a('node.type', Node321type);
- Node321.a('node.rect', [0, 0, 156*_ratio.ratioX, 30*_ratio.ratioY]);
- Node321.a('node.background', 'rgba(73,192,209,1)');
- Node321.a('node.gradientcolor', 'rgba(73,192,209,1)');
- Node321.a('node.gradient', '');
- Node321.a('node.borderwidth', Node321BorderWidth);
- Node321.a('node.color', 'rgba(0,0,0,0)');
- Node321.a('node.fillrect', [0,0,0,0]);
- Node321.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node321.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node321.a('node.fillgradient', '');
- if (Node321type !== 'rect') {
- Node321.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node321.a('node.arcTo', parseFloat('@arcTo@'));
- Node321.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node321type === 'arc') {
- Node321.a('node.arcOval', true);
- }
- Node321.setRotation(0*Math.PI/180);
- Node321.borderWidth = Node321BorderWidth;
- Node321.borderFillwidth = Node321BorderWidth;
- dataModel.add(Node321);
- Node321._nodename = 'Node321'
- Node321._nodeType = 'rect';
- zoomNodeList.push({
- node: Node321,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node321, Node321.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node322 = new ht.Node();
- var Node322textStart, Node322textWidth, Node322lineStart, Node322align = 'left', Node322fontSize = 14.66663*_ratio.ratioY,Node322width = 157*_ratio.ratioX, Node322height = 24*_ratio.ratioY;
- (function () {
- if (Node322align === 'left') {
- Node322textStart = Node322fontSize * 0.2 > 2 ? Node322fontSize * 0.2 - 4 : Node322fontSize * 0.2 - 9;
- Node322textWidth = Node322width;
- Node322lineStart = 1;
- } else if (Node322align === 'right') {
- Node322textStart = 0;
- Node322textWidth =Node322fontSize <= 8 ? Node322width + Node322fontSize * 0.2 + 6 : Node322width - Node322fontSize * 0.2;
- Node322lineStart = (Node322width - (ht.Default.getTextSize('安全天数', 'bold '+ Node322fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node322align === 'center') {
- Node322textStart = -3;
- Node322textWidth = Node322width;
- Node322lineStart = Node322width - ht.Default.getTextSize('安全天数', 'bold '+ Node322fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node322.setImage(GD.getTextJSON(Node322width, Node322height, true, false, false, 'bold '+ Node322fontSize + 'px "Arial"'))
- Node322.setPosition(146*ratio.ratioX, 103*ratio.ratioY);
- Node322.setWidth(Node322width);
- Node322.setHeight(Node322height);
- Node322._nodeType = 'text';
- Node322._disallowEvert = true;
- Node322.setRotation(0*Math.PI/180);
- Node322.a('node.width', Node322width);
- Node322.a('node.height', Node322height);
- Node322.a('node.rect', [0, 0, Node322width, Node322height]);
- Node322.a('node.bordercolor','rgba(255,255,255,1)');
- Node322.a('node.borderwidth', 0);
- Node322.a('node.background','' || 'rgba(0,0,0,0)');
- Node322.a('node.gradient','');
- Node322.a('node.gradientcolor','');
- Node322.a('node.text','安全天数');
- Node322.a('node.textalign','left');
- Node322.a('node.textvAlign','middle');
- Node322.a('node.textrect', [Node322textStart, 0, Node322textWidth, Node322height]);
- Node322.a('node.color','rgba(255,255,255,1)');
- Node322.a('node.font','bold '+ Node322fontSize + 'px "Arial"');
- Node322.a('node.textvisible',true);
- Node322.a('node.linefeed',false);
- if (false) {
- Node322.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node322.a('node.text') || '安全天数';
- var color=Node322.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node322width,Node322height,14.66663*_ratio.ratioY,"left",color,'bold '+ Node322fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node322.a('node.underlinepoints',[Node322lineStart, (24 - 14.66663) * 0.5 * _ratio.ratioY + Node322fontSize + 2 , ht.Default.getTextSize('安全天数', 'bold '+ Node322fontSize + 'px "Arial"').width + 6, (Node322height - Node322fontSize) * 0.5*_ratio.ratioY + Node322fontSize + 2 ]);
- Node322.a('node.underlinevisible',false);
- Node322.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node322);
- zoomNodeList.push({
- node: Node322,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node323type = 'rect';
- var Node323 = new ht.Node(),
- Node323BorderWidth = 0*2;
- if (Node323type === 'arc') {
- Node323BorderWidth *= 0;
- }
- Node323.setImage(GD.getRectJSON(105*_ratio.ratioX, 48*_ratio.ratioY, Node323type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node323.setPosition(82*ratio.ratioX, 140*ratio.ratioY);
- Node323.setSize(105*_ratio.ratioX, 48*_ratio.ratioY);
- Node323.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node323.a('node.width', 105*_ratio.ratioX);
- Node323.a('node.height', 48*_ratio.ratioY);
- Node323.a('node.type', Node323type);
- Node323.a('node.rect', [0, 0, 105*_ratio.ratioX, 48*_ratio.ratioY]);
- Node323.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node323.a('node.gradientcolor', '');
- Node323.a('node.gradient', '');
- Node323.a('node.borderwidth', Node323BorderWidth);
- Node323.a('node.color', 'rgba(0,0,0,0)');
- Node323.a('node.fillrect', [0,0,0,0]);
- Node323.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node323.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node323.a('node.fillgradient', '');
- if (Node323type !== 'rect') {
- Node323.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node323.a('node.arcTo', parseFloat('@arcTo@'));
- Node323.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node323type === 'arc') {
- Node323.a('node.arcOval', true);
- }
- Node323.setRotation(0*Math.PI/180);
- Node323.borderWidth = Node323BorderWidth;
- Node323.borderFillwidth = Node323BorderWidth;
- dataModel.add(Node323);
- Node323._nodename = 'Node323'
- Node323._nodeType = 'rect';
- zoomNodeList.push({
- node: Node323,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node323, Node323.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node324 = new ht.Node();
- var Node324textStart, Node324textWidth, Node324lineStart, Node324align = 'right', Node324fontSize = 19.99995*_ratio.ratioY,Node324width = 59*_ratio.ratioX, Node324height = 24*_ratio.ratioY;
- (function () {
- if (Node324align === 'left') {
- Node324textStart = Node324fontSize * 0.2 > 2 ? Node324fontSize * 0.2 - 4 : Node324fontSize * 0.2 - 9;
- Node324textWidth = Node324width;
- Node324lineStart = 1;
- } else if (Node324align === 'right') {
- Node324textStart = 0;
- Node324textWidth =Node324fontSize <= 8 ? Node324width + Node324fontSize * 0.2 + 6 : Node324width - Node324fontSize * 0.2;
- Node324lineStart = (Node324width - (ht.Default.getTextSize('0', ' '+ Node324fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node324align === 'center') {
- Node324textStart = -3;
- Node324textWidth = Node324width;
- Node324lineStart = Node324width - ht.Default.getTextSize('0', ' '+ Node324fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node324.setImage(GD.getTextJSON(Node324width, Node324height, true, false, false, ' '+ Node324fontSize + 'px "Arial"'))
- Node324.setPosition(77*ratio.ratioX, 148*ratio.ratioY);
- Node324.setWidth(Node324width);
- Node324.setHeight(Node324height);
- Node324._nodeType = 'text';
- Node324._disallowEvert = true;
- Node324.setRotation(0*Math.PI/180);
- Node324.a('node.width', Node324width);
- Node324.a('node.height', Node324height);
- Node324.a('node.rect', [0, 0, Node324width, Node324height]);
- Node324.a('node.bordercolor','rgba(0,0,0,1)');
- Node324.a('node.borderwidth', 0);
- Node324.a('node.background','' || 'rgba(0,0,0,0)');
- Node324.a('node.gradient','');
- Node324.a('node.gradientcolor','');
- Node324.a('node.text','0');
- Node324.a('node.textalign','right');
- Node324.a('node.textvAlign','middle');
- Node324.a('node.textrect', [Node324textStart, 0, Node324textWidth, Node324height]);
- Node324.a('node.color','rgba(0,0,0,1)');
- Node324.a('node.font',' '+ Node324fontSize + 'px "Arial"');
- Node324.a('node.textvisible',true);
- Node324.a('node.linefeed',false);
- if (false) {
- Node324.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node324.a('node.text') || '0';
- var color=Node324.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node324width,Node324height,19.99995*_ratio.ratioY,"right",color,' '+ Node324fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node324.a('node.underlinepoints',[Node324lineStart, (24 - 19.99995) * 0.5 * _ratio.ratioY + Node324fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node324fontSize + 'px "Arial"').width + 6, (Node324height - Node324fontSize) * 0.5*_ratio.ratioY + Node324fontSize + 2 ]);
- Node324.a('node.underlinevisible',false);
- Node324.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node324);
- zoomNodeList.push({
- node: Node324,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node325type = 'rect';
- var Node325 = new ht.Node(),
- Node325BorderWidth = 0*2;
- if (Node325type === 'arc') {
- Node325BorderWidth *= 0;
- }
- Node325.setImage(GD.getRectJSON(31*_ratio.ratioX, 31*_ratio.ratioY, Node325type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node325.setPosition(165*ratio.ratioX, 145*ratio.ratioY);
- Node325.setSize(31*_ratio.ratioX, 31*_ratio.ratioY);
- Node325.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node325.a('node.width', 31*_ratio.ratioX);
- Node325.a('node.height', 31*_ratio.ratioY);
- Node325.a('node.type', Node325type);
- Node325.a('node.rect', [0, 0, 31*_ratio.ratioX, 31*_ratio.ratioY]);
- Node325.a('node.background', 'rgba(225,102,38,1)');
- Node325.a('node.gradientcolor', 'rgba(225,102,38,1)');
- Node325.a('node.gradient', '');
- Node325.a('node.borderwidth', Node325BorderWidth);
- Node325.a('node.color', 'rgba(0,0,0,0)');
- Node325.a('node.fillrect', [0,0,0,0]);
- Node325.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node325.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node325.a('node.fillgradient', '');
- if (Node325type !== 'rect') {
- Node325.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node325.a('node.arcTo', parseFloat('@arcTo@'));
- Node325.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node325type === 'arc') {
- Node325.a('node.arcOval', true);
- }
- Node325.setRotation(0*Math.PI/180);
- Node325.borderWidth = Node325BorderWidth;
- Node325.borderFillwidth = Node325BorderWidth;
- dataModel.add(Node325);
- Node325._nodename = 'Node325'
- Node325._nodeType = 'rect';
- zoomNodeList.push({
- node: Node325,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node325, Node325.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node326 = new ht.Node();
- var Node326textStart, Node326textWidth, Node326lineStart, Node326align = 'left', Node326fontSize = 13.3333*_ratio.ratioY,Node326width = 27*_ratio.ratioX, Node326height = 16*_ratio.ratioY;
- (function () {
- if (Node326align === 'left') {
- Node326textStart = Node326fontSize * 0.2 > 2 ? Node326fontSize * 0.2 - 4 : Node326fontSize * 0.2 - 9;
- Node326textWidth = Node326width;
- Node326lineStart = 1;
- } else if (Node326align === 'right') {
- Node326textStart = 0;
- Node326textWidth =Node326fontSize <= 8 ? Node326width + Node326fontSize * 0.2 + 6 : Node326width - Node326fontSize * 0.2;
- Node326lineStart = (Node326width - (ht.Default.getTextSize('天', 'bold '+ Node326fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node326align === 'center') {
- Node326textStart = -3;
- Node326textWidth = Node326width;
- Node326lineStart = Node326width - ht.Default.getTextSize('天', 'bold '+ Node326fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node326.setImage(GD.getTextJSON(Node326width, Node326height, true, false, false, 'bold '+ Node326fontSize + 'px "Arial"'))
- Node326.setPosition(169*ratio.ratioX, 147*ratio.ratioY);
- Node326.setWidth(Node326width);
- Node326.setHeight(Node326height);
- Node326._nodeType = 'text';
- Node326._disallowEvert = true;
- Node326.setRotation(0*Math.PI/180);
- Node326.a('node.width', Node326width);
- Node326.a('node.height', Node326height);
- Node326.a('node.rect', [0, 0, Node326width, Node326height]);
- Node326.a('node.bordercolor','rgba(255,255,255,1)');
- Node326.a('node.borderwidth', 0);
- Node326.a('node.background','' || 'rgba(0,0,0,0)');
- Node326.a('node.gradient','');
- Node326.a('node.gradientcolor','');
- Node326.a('node.text','天');
- Node326.a('node.textalign','left');
- Node326.a('node.textvAlign','middle');
- Node326.a('node.textrect', [Node326textStart, 0, Node326textWidth, Node326height]);
- Node326.a('node.color','rgba(255,255,255,1)');
- Node326.a('node.font','bold '+ Node326fontSize + 'px "Arial"');
- Node326.a('node.textvisible',true);
- Node326.a('node.linefeed',false);
- if (false) {
- Node326.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node326.a('node.text') || '天';
- var color=Node326.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node326width,Node326height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node326fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node326.a('node.underlinepoints',[Node326lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node326fontSize + 2 , ht.Default.getTextSize('天', 'bold '+ Node326fontSize + 'px "Arial"').width + 6, (Node326height - Node326fontSize) * 0.5*_ratio.ratioY + Node326fontSize + 2 ]);
- Node326.a('node.underlinevisible',false);
- Node326.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node326);
- zoomNodeList.push({
- node: Node326,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node327 = new ht.Node();
- var Node327textStart, Node327textWidth, Node327lineStart, Node327align = 'center', Node327fontSize = 13.3333*_ratio.ratioY,Node327width = 97*_ratio.ratioX, Node327height = 25*_ratio.ratioY;
- (function () {
- if (Node327align === 'left') {
- Node327textStart = Node327fontSize * 0.2 > 2 ? Node327fontSize * 0.2 - 4 : Node327fontSize * 0.2 - 9;
- Node327textWidth = Node327width;
- Node327lineStart = 1;
- } else if (Node327align === 'right') {
- Node327textStart = 0;
- Node327textWidth =Node327fontSize <= 8 ? Node327width + Node327fontSize * 0.2 + 6 : Node327width - Node327fontSize * 0.2;
- Node327lineStart = (Node327width - (ht.Default.getTextSize('装机容量', ' '+ Node327fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node327align === 'center') {
- Node327textStart = -3;
- Node327textWidth = Node327width;
- Node327lineStart = Node327width - ht.Default.getTextSize('装机容量', ' '+ Node327fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node327.setImage(GD.getTextJSON(Node327width, Node327height, true, false, false, ' '+ Node327fontSize + 'px "Arial"'))
- Node327.setPosition(222*ratio.ratioX, 53*ratio.ratioY);
- Node327.setWidth(Node327width);
- Node327.setHeight(Node327height);
- Node327._nodeType = 'text';
- Node327._disallowEvert = true;
- Node327.setRotation(0*Math.PI/180);
- Node327.a('node.width', Node327width);
- Node327.a('node.height', Node327height);
- Node327.a('node.rect', [0, 0, Node327width, Node327height]);
- Node327.a('node.bordercolor','rgba(0,0,0,1)');
- Node327.a('node.borderwidth', 0);
- Node327.a('node.background','' || 'rgba(0,0,0,0)');
- Node327.a('node.gradient','');
- Node327.a('node.gradientcolor','');
- Node327.a('node.text','装机容量');
- Node327.a('node.textalign','center');
- Node327.a('node.textvAlign','middle');
- Node327.a('node.textrect', [Node327textStart, 0, Node327textWidth, Node327height]);
- Node327.a('node.color','rgba(0,0,0,1)');
- Node327.a('node.font',' '+ Node327fontSize + 'px "Arial"');
- Node327.a('node.textvisible',true);
- Node327.a('node.linefeed',false);
- if (false) {
- Node327.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node327.a('node.text') || '装机容量';
- var color=Node327.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node327width,Node327height,13.3333*_ratio.ratioY,"center",color,' '+ Node327fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node327.a('node.underlinepoints',[Node327lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node327fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node327fontSize + 'px "Arial"').width + 6, (Node327height - Node327fontSize) * 0.5*_ratio.ratioY + Node327fontSize + 2 ]);
- Node327.a('node.underlinevisible',false);
- Node327.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node327);
- zoomNodeList.push({
- node: Node327,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node328 = new ht.Node();
- var Node328textStart, Node328textWidth, Node328lineStart, Node328align = 'left', Node328fontSize = 13.3333*_ratio.ratioY,Node328width = 53*_ratio.ratioX, Node328height = 30*_ratio.ratioY;
- (function () {
- if (Node328align === 'left') {
- Node328textStart = Node328fontSize * 0.2 > 2 ? Node328fontSize * 0.2 - 4 : Node328fontSize * 0.2 - 9;
- Node328textWidth = Node328width;
- Node328lineStart = 1;
- } else if (Node328align === 'right') {
- Node328textStart = 0;
- Node328textWidth =Node328fontSize <= 8 ? Node328width + Node328fontSize * 0.2 + 6 : Node328width - Node328fontSize * 0.2;
- Node328lineStart = (Node328width - (ht.Default.getTextSize('合', 'bold '+ Node328fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node328align === 'center') {
- Node328textStart = -3;
- Node328textWidth = Node328width;
- Node328lineStart = Node328width - ht.Default.getTextSize('合', 'bold '+ Node328fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node328.setImage(GD.getTextJSON(Node328width, Node328height, true, false, false, 'bold '+ Node328fontSize + 'px "Arial"'))
- Node328.setPosition(30*ratio.ratioX, 85*ratio.ratioY);
- Node328.setWidth(Node328width);
- Node328.setHeight(Node328height);
- Node328._nodeType = 'text';
- Node328._disallowEvert = true;
- Node328.setRotation(0*Math.PI/180);
- Node328.a('node.width', Node328width);
- Node328.a('node.height', Node328height);
- Node328.a('node.rect', [0, 0, Node328width, Node328height]);
- Node328.a('node.bordercolor','rgba(255,255,255,1)');
- Node328.a('node.borderwidth', 0);
- Node328.a('node.background','' || 'rgba(0,0,0,0)');
- Node328.a('node.gradient','');
- Node328.a('node.gradientcolor','');
- Node328.a('node.text','合');
- Node328.a('node.textalign','left');
- Node328.a('node.textvAlign','middle');
- Node328.a('node.textrect', [Node328textStart, 0, Node328textWidth, Node328height]);
- Node328.a('node.color','rgba(255,255,255,1)');
- Node328.a('node.font','bold '+ Node328fontSize + 'px "Arial"');
- Node328.a('node.textvisible',true);
- Node328.a('node.linefeed',false);
- if (false) {
- Node328.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node328.a('node.text') || '合';
- var color=Node328.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node328width,Node328height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node328fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node328.a('node.underlinepoints',[Node328lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node328fontSize + 2 , ht.Default.getTextSize('合', 'bold '+ Node328fontSize + 'px "Arial"').width + 6, (Node328height - Node328fontSize) * 0.5*_ratio.ratioY + Node328fontSize + 2 ]);
- Node328.a('node.underlinevisible',false);
- Node328.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node328);
- zoomNodeList.push({
- node: Node328,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node329 = new ht.Node();
- var Node329textStart, Node329textWidth, Node329lineStart, Node329align = 'left', Node329fontSize = 13.3333*_ratio.ratioY,Node329width = 53*_ratio.ratioX, Node329height = 30*_ratio.ratioY;
- (function () {
- if (Node329align === 'left') {
- Node329textStart = Node329fontSize * 0.2 > 2 ? Node329fontSize * 0.2 - 4 : Node329fontSize * 0.2 - 9;
- Node329textWidth = Node329width;
- Node329lineStart = 1;
- } else if (Node329align === 'right') {
- Node329textStart = 0;
- Node329textWidth =Node329fontSize <= 8 ? Node329width + Node329fontSize * 0.2 + 6 : Node329width - Node329fontSize * 0.2;
- Node329lineStart = (Node329width - (ht.Default.getTextSize('指', 'bold '+ Node329fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node329align === 'center') {
- Node329textStart = -3;
- Node329textWidth = Node329width;
- Node329lineStart = Node329width - ht.Default.getTextSize('指', 'bold '+ Node329fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node329.setImage(GD.getTextJSON(Node329width, Node329height, true, false, false, 'bold '+ Node329fontSize + 'px "Arial"'))
- Node329.setPosition(30*ratio.ratioX, 112*ratio.ratioY);
- Node329.setWidth(Node329width);
- Node329.setHeight(Node329height);
- Node329._nodeType = 'text';
- Node329._disallowEvert = true;
- Node329.setRotation(0*Math.PI/180);
- Node329.a('node.width', Node329width);
- Node329.a('node.height', Node329height);
- Node329.a('node.rect', [0, 0, Node329width, Node329height]);
- Node329.a('node.bordercolor','rgba(255,255,255,1)');
- Node329.a('node.borderwidth', 0);
- Node329.a('node.background','' || 'rgba(0,0,0,0)');
- Node329.a('node.gradient','');
- Node329.a('node.gradientcolor','');
- Node329.a('node.text','指');
- Node329.a('node.textalign','left');
- Node329.a('node.textvAlign','middle');
- Node329.a('node.textrect', [Node329textStart, 0, Node329textWidth, Node329height]);
- Node329.a('node.color','rgba(255,255,255,1)');
- Node329.a('node.font','bold '+ Node329fontSize + 'px "Arial"');
- Node329.a('node.textvisible',true);
- Node329.a('node.linefeed',false);
- if (false) {
- Node329.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node329.a('node.text') || '指';
- var color=Node329.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node329width,Node329height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node329fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node329.a('node.underlinepoints',[Node329lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node329fontSize + 2 , ht.Default.getTextSize('指', 'bold '+ Node329fontSize + 'px "Arial"').width + 6, (Node329height - Node329fontSize) * 0.5*_ratio.ratioY + Node329fontSize + 2 ]);
- Node329.a('node.underlinevisible',false);
- Node329.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node329);
- zoomNodeList.push({
- node: Node329,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node330 = new ht.Node();
- var Node330textStart, Node330textWidth, Node330lineStart, Node330align = 'left', Node330fontSize = 13.3333*_ratio.ratioY,Node330width = 53*_ratio.ratioX, Node330height = 30*_ratio.ratioY;
- (function () {
- if (Node330align === 'left') {
- Node330textStart = Node330fontSize * 0.2 > 2 ? Node330fontSize * 0.2 - 4 : Node330fontSize * 0.2 - 9;
- Node330textWidth = Node330width;
- Node330lineStart = 1;
- } else if (Node330align === 'right') {
- Node330textStart = 0;
- Node330textWidth =Node330fontSize <= 8 ? Node330width + Node330fontSize * 0.2 + 6 : Node330width - Node330fontSize * 0.2;
- Node330lineStart = (Node330width - (ht.Default.getTextSize('标', 'bold '+ Node330fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node330align === 'center') {
- Node330textStart = -3;
- Node330textWidth = Node330width;
- Node330lineStart = Node330width - ht.Default.getTextSize('标', 'bold '+ Node330fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node330.setImage(GD.getTextJSON(Node330width, Node330height, true, false, false, 'bold '+ Node330fontSize + 'px "Arial"'))
- Node330.setPosition(30*ratio.ratioX, 142*ratio.ratioY);
- Node330.setWidth(Node330width);
- Node330.setHeight(Node330height);
- Node330._nodeType = 'text';
- Node330._disallowEvert = true;
- Node330.setRotation(0*Math.PI/180);
- Node330.a('node.width', Node330width);
- Node330.a('node.height', Node330height);
- Node330.a('node.rect', [0, 0, Node330width, Node330height]);
- Node330.a('node.bordercolor','rgba(255,255,255,1)');
- Node330.a('node.borderwidth', 0);
- Node330.a('node.background','' || 'rgba(0,0,0,0)');
- Node330.a('node.gradient','');
- Node330.a('node.gradientcolor','');
- Node330.a('node.text','标');
- Node330.a('node.textalign','left');
- Node330.a('node.textvAlign','middle');
- Node330.a('node.textrect', [Node330textStart, 0, Node330textWidth, Node330height]);
- Node330.a('node.color','rgba(255,255,255,1)');
- Node330.a('node.font','bold '+ Node330fontSize + 'px "Arial"');
- Node330.a('node.textvisible',true);
- Node330.a('node.linefeed',false);
- if (false) {
- Node330.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node330.a('node.text') || '标';
- var color=Node330.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node330width,Node330height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node330fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node330.a('node.underlinepoints',[Node330lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node330fontSize + 2 , ht.Default.getTextSize('标', 'bold '+ Node330fontSize + 'px "Arial"').width + 6, (Node330height - Node330fontSize) * 0.5*_ratio.ratioY + Node330fontSize + 2 ]);
- Node330.a('node.underlinevisible',false);
- Node330.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node330);
- zoomNodeList.push({
- node: Node330,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node331 = new ht.lib['倒置 接地刀闸通用图元'](480*ratio.ratioX, 236*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1202',}, function (){return {}}, 'Node331');
- _libModel.add("Node331", Node331);
- Node331.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node332 = new ht.lib['倒置 接地刀闸通用图元'](600*ratio.ratioX, 230*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1204',}, function (){return {}}, 'Node332');
- _libModel.add("Node332", Node332);
- Node332.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node333 = new ht.lib['倒置 接地刀闸通用图元'](600*ratio.ratioX, 309*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1200',}, function (){return {}}, 'Node333');
- _libModel.add("Node333", Node333);
- Node333.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node334 = new ht.lib['倒置 接地刀闸通用图元'](1020*ratio.ratioX, 233*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0401',}, function (){return {}}, 'Node334');
- _libModel.add("Node334", Node334);
- Node334.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node335 = new ht.lib['倒置 接地刀闸通用图元'](1140*ratio.ratioX, 228*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0403',}, function (){return {}}, 'Node335');
- _libModel.add("Node335", Node335);
- Node335.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node336 = new ht.lib['倒置 接地刀闸通用图元'](1140*ratio.ratioX, 309*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0399',}, function (){return {}}, 'Node336');
- _libModel.add("Node336", Node336);
- Node336.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node337 = new ht.lib['倒置 接地刀闸通用图元'](1480*ratio.ratioX, 293*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0451',}, function (){return {}}, 'Node337');
- _libModel.add("Node337", Node337);
- Node337.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node338 = new ht.lib['倒置 接地刀闸通用图元'](1590*ratio.ratioX, 290*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0453',}, function (){return {}}, 'Node338');
- _libModel.add("Node338", Node338);
- Node338.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node339 = new ht.lib['倒置 接地刀闸通用图元'](490*ratio.ratioX, 373*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0540',}, function (){return {}}, 'Node339');
- _libModel.add("Node339", Node339);
- Node339.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(90*Math.PI/180, ratio);
- var Node340 = new ht.lib['倒置 接地刀闸通用图元'](561*ratio.ratioX, 419*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 90*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0880',}, function (){return {}}, 'Node340');
- _libModel.add("Node340", Node340);
- Node340.setRotation(90*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(90*Math.PI/180, ratio);
- var Node341 = new ht.lib['倒置 接地刀闸通用图元'](561*ratio.ratioX, 455*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 90*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0881',}, function (){return {}}, 'Node341');
- _libModel.add("Node341", Node341);
- Node341.setRotation(90*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node342 = new ht.lib['倒置 接地刀闸通用图元'](640*ratio.ratioX, 510*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0551',}, function (){return {}}, 'Node342');
- _libModel.add("Node342", Node342);
- Node342.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node343 = new ht.lib['倒置 接地刀闸通用图元'](1030*ratio.ratioX, 370*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1009',}, function (){return {}}, 'Node343');
- _libModel.add("Node343", Node343);
- Node343.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(90*Math.PI/180, ratio);
- var Node344 = new ht.lib['倒置 接地刀闸通用图元'](1100*ratio.ratioX, 419*ratio.ratioY, 15*_ratio.ratioX, 20*_ratio.ratioY, 90*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1011',}, function (){return {}}, 'Node344');
- _libModel.add("Node344", Node344);
- Node344.setRotation(90*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(90*Math.PI/180, ratio);
- var Node345 = new ht.lib['倒置 接地刀闸通用图元'](1101*ratio.ratioX, 455*ratio.ratioY, 15*_ratio.ratioX, 20*_ratio.ratioY, 90*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1012',}, function (){return {}}, 'Node345');
- _libModel.add("Node345", Node345);
- Node345.setRotation(90*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node346 = new ht.lib['倒置 接地刀闸通用图元'](1180*ratio.ratioX, 511*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1013',}, function (){return {}}, 'Node346');
- _libModel.add("Node346", Node346);
- Node346.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node347 = new ht.lib['倒置 接地刀闸通用图元'](100*ratio.ratioX, 671*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0856',}, function (){return {}}, 'Node347');
- _libModel.add("Node347", Node347);
- Node347.setRotation(0*Math.PI/180);
- ;
- ;
- var Node348points=[60, 650,100, 650],
- Node348rect=ht.Default.unionPoint([{x:60,y:650},{x:100,y:650}]),
- Node348compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node348points.length;i++){
- if(i%2==0){
- Node348compspts.push(Node348points[i]-Node348rect.x);
- }else{
- Node348compspts.push(Node348points[i]-Node348rect.y);
- }
- }
- var Node348ptslength=Node348compspts.length;
- if (Node348rect.height === 0) {
- Node348compspts[0] -= 0;
- Node348compspts[Node348ptslength-2] += 0;
- } else if (Node348rect.width === 0){
- Node348compspts[1] -= 0;
- Node348compspts[Node348ptslength-1] += 0;
- } else {
- Node348compspts[0] -= 0;
- Node348compspts[1] -= 0;
- Node348compspts[Node348ptslength-2] += 0;
- Node348compspts[Node348ptslength-1] += 0;
- }
- Node348 = new ht.Node();
- Node348.borderWidth = 1;
- Node348rect.width = Node348rect.width === 0 ? 0.0001 : Node348rect.width;
- Node348rect.height = Node348rect.height === 0 ? 0.0001 : Node348rect.height;
- var Node348endCompspts = [Node348compspts[Node348ptslength-2],Node348compspts[Node348ptslength-1],0,0];
- var Node348startCompspts = [Node348compspts[0],Node348compspts[1],0,0];
- Node348.setImage(GD.getPolyLineJSON());
- Node348.setPosition(Node348rect.x+Node348rect.width/2,Node348rect.y+Node348rect.height/2);
- Node348.setSize(Node348rect.width,Node348rect.height);
- Node348.setStyle("opacity",1);
- Node348.s({'pixelPerfect':true});
- Node348borderwidth=1;
- Node348.setRotation(0);
- dataModel.add(Node348);
- Node348.a('node.points',Node348compspts);
- Node348.a('node.segments',[1,2]);
- Node348.a('node.color','rgba(255,128,0,1)');
- Node348.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node348.a('node.borderColor','rgba(255,128,0,1)');
- Node348.a('node.background','rgba(255,128,0,1)');
- Node348.a('node.gradient','');
- Node348.a('node.gradientcolor','rgba(255,128,0,1)');
- Node348.a('node.endCompspts',Node348endCompspts);
- Node348.a('node.startCompspts',Node348startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node348';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node348, Node348.getImage(), Node348compspts, Node348endCompspts, Node348startCompspts);
- var Node349points=[100, 661,100, 651],
- Node349rect=ht.Default.unionPoint([{x:100,y:661},{x:100,y:651}]),
- Node349compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node349points.length;i++){
- if(i%2==0){
- Node349compspts.push(Node349points[i]-Node349rect.x);
- }else{
- Node349compspts.push(Node349points[i]-Node349rect.y);
- }
- }
- var Node349ptslength=Node349compspts.length;
- if (Node349rect.height === 0) {
- Node349compspts[0] -= 0;
- Node349compspts[Node349ptslength-2] += 0;
- } else if (Node349rect.width === 0){
- Node349compspts[1] -= 0;
- Node349compspts[Node349ptslength-1] += 0;
- } else {
- Node349compspts[0] -= 0;
- Node349compspts[1] -= 0;
- Node349compspts[Node349ptslength-2] += 0;
- Node349compspts[Node349ptslength-1] += 0;
- }
- Node349 = new ht.Node();
- Node349.borderWidth = 1;
- Node349rect.width = Node349rect.width === 0 ? 0.0001 : Node349rect.width;
- Node349rect.height = Node349rect.height === 0 ? 0.0001 : Node349rect.height;
- var Node349endCompspts = [Node349compspts[Node349ptslength-2],Node349compspts[Node349ptslength-1],0,0];
- var Node349startCompspts = [Node349compspts[0],Node349compspts[1],0,0];
- Node349.setImage(GD.getPolyLineJSON());
- Node349.setPosition(Node349rect.x+Node349rect.width/2,Node349rect.y+Node349rect.height/2);
- Node349.setSize(Node349rect.width,Node349rect.height);
- Node349.setStyle("opacity",1);
- Node349.s({'pixelPerfect':true});
- Node349borderwidth=1;
- Node349.setRotation(0);
- dataModel.add(Node349);
- Node349.a('node.points',Node349compspts);
- Node349.a('node.segments',[1,2]);
- Node349.a('node.color','rgba(255,128,0,1)');
- Node349.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node349.a('node.borderColor','rgba(255,128,0,1)');
- Node349.a('node.background','rgba(255,128,0,1)');
- Node349.a('node.gradient','');
- Node349.a('node.gradientcolor','rgba(255,128,0,1)');
- Node349.a('node.endCompspts',Node349endCompspts);
- Node349.a('node.startCompspts',Node349startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node349';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node349, Node349.getImage(), Node349compspts, Node349endCompspts, Node349startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node350 = new ht.lib['黄色接地'](100*ratio.ratioX, 690*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node350');
- _libModel.add("Node350", Node350);
- Node350.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node351 = new ht.lib['矩形箭头上'](60*ratio.ratioX, 678*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node351');
- _libModel.add("Node351", Node351);
- Node351.setRotation(0*Math.PI/180);
- ;
- ;
- var Node352points=[80, 641,80, 731],
- Node352rect=ht.Default.unionPoint([{x:80,y:641},{x:80,y:731}]),
- Node352compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node352points.length;i++){
- if(i%2==0){
- Node352compspts.push(Node352points[i]-Node352rect.x);
- }else{
- Node352compspts.push(Node352points[i]-Node352rect.y);
- }
- }
- var Node352ptslength=Node352compspts.length;
- if (Node352rect.height === 0) {
- Node352compspts[0] -= 0;
- Node352compspts[Node352ptslength-2] += 0;
- } else if (Node352rect.width === 0){
- Node352compspts[1] -= 0;
- Node352compspts[Node352ptslength-1] += 0;
- } else {
- Node352compspts[0] -= 0;
- Node352compspts[1] -= 0;
- Node352compspts[Node352ptslength-2] += 0;
- Node352compspts[Node352ptslength-1] += 0;
- }
- Node352 = new ht.Node();
- Node352.borderWidth = 1;
- Node352rect.width = Node352rect.width === 0 ? 0.0001 : Node352rect.width;
- Node352rect.height = Node352rect.height === 0 ? 0.0001 : Node352rect.height;
- var Node352endCompspts = [Node352compspts[Node352ptslength-2],Node352compspts[Node352ptslength-1],0,0];
- var Node352startCompspts = [Node352compspts[0],Node352compspts[1],0,0];
- Node352.setImage(GD.getPolyLineJSON());
- Node352.setPosition(Node352rect.x+Node352rect.width/2,Node352rect.y+Node352rect.height/2);
- Node352.setSize(Node352rect.width,Node352rect.height);
- Node352.setStyle("opacity",1);
- Node352.s({'pixelPerfect':true});
- Node352borderwidth=1;
- Node352.setRotation(0);
- dataModel.add(Node352);
- Node352.a('node.points',Node352compspts);
- Node352.a('node.segments',[1,2]);
- Node352.a('node.color','rgba(255,128,0,1)');
- Node352.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node352.a('node.borderColor','rgba(255,128,0,1)');
- Node352.a('node.background','rgba(255,128,0,1)');
- Node352.a('node.gradient','');
- Node352.a('node.gradientcolor','rgba(255,128,0,1)');
- Node352.a('node.endCompspts',Node352endCompspts);
- Node352.a('node.startCompspts',Node352startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node352';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node352, Node352.getImage(), Node352compspts, Node352endCompspts, Node352startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node353 = new ht.lib['img'](79*ratio.ratioX, 730*ratio.ratioY, 9*_ratio.ratioX, 10*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node353');
- _libModel.add("Node353", Node353);
- Node353.setRotation(180*Math.PI/180);
- ;
- ;
- var Node354points=[150, 650,190, 650],
- Node354rect=ht.Default.unionPoint([{x:150,y:650},{x:190,y:650}]),
- Node354compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node354points.length;i++){
- if(i%2==0){
- Node354compspts.push(Node354points[i]-Node354rect.x);
- }else{
- Node354compspts.push(Node354points[i]-Node354rect.y);
- }
- }
- var Node354ptslength=Node354compspts.length;
- if (Node354rect.height === 0) {
- Node354compspts[0] -= 0;
- Node354compspts[Node354ptslength-2] += 0;
- } else if (Node354rect.width === 0){
- Node354compspts[1] -= 0;
- Node354compspts[Node354ptslength-1] += 0;
- } else {
- Node354compspts[0] -= 0;
- Node354compspts[1] -= 0;
- Node354compspts[Node354ptslength-2] += 0;
- Node354compspts[Node354ptslength-1] += 0;
- }
- Node354 = new ht.Node();
- Node354.borderWidth = 1;
- Node354rect.width = Node354rect.width === 0 ? 0.0001 : Node354rect.width;
- Node354rect.height = Node354rect.height === 0 ? 0.0001 : Node354rect.height;
- var Node354endCompspts = [Node354compspts[Node354ptslength-2],Node354compspts[Node354ptslength-1],0,0];
- var Node354startCompspts = [Node354compspts[0],Node354compspts[1],0,0];
- Node354.setImage(GD.getPolyLineJSON());
- Node354.setPosition(Node354rect.x+Node354rect.width/2,Node354rect.y+Node354rect.height/2);
- Node354.setSize(Node354rect.width,Node354rect.height);
- Node354.setStyle("opacity",1);
- Node354.s({'pixelPerfect':true});
- Node354borderwidth=1;
- Node354.setRotation(0);
- dataModel.add(Node354);
- Node354.a('node.points',Node354compspts);
- Node354.a('node.segments',[1,2]);
- Node354.a('node.color','rgba(255,128,0,1)');
- Node354.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node354.a('node.borderColor','rgba(255,128,0,1)');
- Node354.a('node.background','rgba(255,128,0,1)');
- Node354.a('node.gradient','');
- Node354.a('node.gradientcolor','rgba(255,128,0,1)');
- Node354.a('node.endCompspts',Node354endCompspts);
- Node354.a('node.startCompspts',Node354startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node354';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node354, Node354.getImage(), Node354compspts, Node354endCompspts, Node354startCompspts);
- var Node355points=[190, 661,190, 651],
- Node355rect=ht.Default.unionPoint([{x:190,y:661},{x:190,y:651}]),
- Node355compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node355points.length;i++){
- if(i%2==0){
- Node355compspts.push(Node355points[i]-Node355rect.x);
- }else{
- Node355compspts.push(Node355points[i]-Node355rect.y);
- }
- }
- var Node355ptslength=Node355compspts.length;
- if (Node355rect.height === 0) {
- Node355compspts[0] -= 0;
- Node355compspts[Node355ptslength-2] += 0;
- } else if (Node355rect.width === 0){
- Node355compspts[1] -= 0;
- Node355compspts[Node355ptslength-1] += 0;
- } else {
- Node355compspts[0] -= 0;
- Node355compspts[1] -= 0;
- Node355compspts[Node355ptslength-2] += 0;
- Node355compspts[Node355ptslength-1] += 0;
- }
- Node355 = new ht.Node();
- Node355.borderWidth = 1;
- Node355rect.width = Node355rect.width === 0 ? 0.0001 : Node355rect.width;
- Node355rect.height = Node355rect.height === 0 ? 0.0001 : Node355rect.height;
- var Node355endCompspts = [Node355compspts[Node355ptslength-2],Node355compspts[Node355ptslength-1],0,0];
- var Node355startCompspts = [Node355compspts[0],Node355compspts[1],0,0];
- Node355.setImage(GD.getPolyLineJSON());
- Node355.setPosition(Node355rect.x+Node355rect.width/2,Node355rect.y+Node355rect.height/2);
- Node355.setSize(Node355rect.width,Node355rect.height);
- Node355.setStyle("opacity",1);
- Node355.s({'pixelPerfect':true});
- Node355borderwidth=1;
- Node355.setRotation(0);
- dataModel.add(Node355);
- Node355.a('node.points',Node355compspts);
- Node355.a('node.segments',[1,2]);
- Node355.a('node.color','rgba(255,128,0,1)');
- Node355.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node355.a('node.borderColor','rgba(255,128,0,1)');
- Node355.a('node.background','rgba(255,128,0,1)');
- Node355.a('node.gradient','');
- Node355.a('node.gradientcolor','rgba(255,128,0,1)');
- Node355.a('node.endCompspts',Node355endCompspts);
- Node355.a('node.startCompspts',Node355startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node355';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node355, Node355.getImage(), Node355compspts, Node355endCompspts, Node355startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node356 = new ht.lib['黄色接地'](190*ratio.ratioX, 689*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node356');
- _libModel.add("Node356", Node356);
- Node356.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node357 = new ht.lib['矩形箭头上'](150*ratio.ratioX, 678*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node357');
- _libModel.add("Node357", Node357);
- Node357.setRotation(0*Math.PI/180);
- ;
- ;
- var Node358points=[170, 641,170, 731],
- Node358rect=ht.Default.unionPoint([{x:170,y:641},{x:170,y:731}]),
- Node358compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node358points.length;i++){
- if(i%2==0){
- Node358compspts.push(Node358points[i]-Node358rect.x);
- }else{
- Node358compspts.push(Node358points[i]-Node358rect.y);
- }
- }
- var Node358ptslength=Node358compspts.length;
- if (Node358rect.height === 0) {
- Node358compspts[0] -= 0;
- Node358compspts[Node358ptslength-2] += 0;
- } else if (Node358rect.width === 0){
- Node358compspts[1] -= 0;
- Node358compspts[Node358ptslength-1] += 0;
- } else {
- Node358compspts[0] -= 0;
- Node358compspts[1] -= 0;
- Node358compspts[Node358ptslength-2] += 0;
- Node358compspts[Node358ptslength-1] += 0;
- }
- Node358 = new ht.Node();
- Node358.borderWidth = 1;
- Node358rect.width = Node358rect.width === 0 ? 0.0001 : Node358rect.width;
- Node358rect.height = Node358rect.height === 0 ? 0.0001 : Node358rect.height;
- var Node358endCompspts = [Node358compspts[Node358ptslength-2],Node358compspts[Node358ptslength-1],0,0];
- var Node358startCompspts = [Node358compspts[0],Node358compspts[1],0,0];
- Node358.setImage(GD.getPolyLineJSON());
- Node358.setPosition(Node358rect.x+Node358rect.width/2,Node358rect.y+Node358rect.height/2);
- Node358.setSize(Node358rect.width,Node358rect.height);
- Node358.setStyle("opacity",1);
- Node358.s({'pixelPerfect':true});
- Node358borderwidth=1;
- Node358.setRotation(0);
- dataModel.add(Node358);
- Node358.a('node.points',Node358compspts);
- Node358.a('node.segments',[1,2]);
- Node358.a('node.color','rgba(255,128,0,1)');
- Node358.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node358.a('node.borderColor','rgba(255,128,0,1)');
- Node358.a('node.background','rgba(255,128,0,1)');
- Node358.a('node.gradient','');
- Node358.a('node.gradientcolor','rgba(255,128,0,1)');
- Node358.a('node.endCompspts',Node358endCompspts);
- Node358.a('node.startCompspts',Node358startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node358';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node358, Node358.getImage(), Node358compspts, Node358endCompspts, Node358startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node359 = new ht.lib['img'](169*ratio.ratioX, 730*ratio.ratioY, 9*_ratio.ratioX, 10*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node359');
- _libModel.add("Node359", Node359);
- Node359.setRotation(180*Math.PI/180);
- ;
- ;
- var Node360points=[240, 651,280, 651],
- Node360rect=ht.Default.unionPoint([{x:240,y:651},{x:280,y:651}]),
- Node360compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node360points.length;i++){
- if(i%2==0){
- Node360compspts.push(Node360points[i]-Node360rect.x);
- }else{
- Node360compspts.push(Node360points[i]-Node360rect.y);
- }
- }
- var Node360ptslength=Node360compspts.length;
- if (Node360rect.height === 0) {
- Node360compspts[0] -= 0;
- Node360compspts[Node360ptslength-2] += 0;
- } else if (Node360rect.width === 0){
- Node360compspts[1] -= 0;
- Node360compspts[Node360ptslength-1] += 0;
- } else {
- Node360compspts[0] -= 0;
- Node360compspts[1] -= 0;
- Node360compspts[Node360ptslength-2] += 0;
- Node360compspts[Node360ptslength-1] += 0;
- }
- Node360 = new ht.Node();
- Node360.borderWidth = 1;
- Node360rect.width = Node360rect.width === 0 ? 0.0001 : Node360rect.width;
- Node360rect.height = Node360rect.height === 0 ? 0.0001 : Node360rect.height;
- var Node360endCompspts = [Node360compspts[Node360ptslength-2],Node360compspts[Node360ptslength-1],0,0];
- var Node360startCompspts = [Node360compspts[0],Node360compspts[1],0,0];
- Node360.setImage(GD.getPolyLineJSON());
- Node360.setPosition(Node360rect.x+Node360rect.width/2,Node360rect.y+Node360rect.height/2);
- Node360.setSize(Node360rect.width,Node360rect.height);
- Node360.setStyle("opacity",1);
- Node360.s({'pixelPerfect':true});
- Node360borderwidth=1;
- Node360.setRotation(0);
- dataModel.add(Node360);
- Node360.a('node.points',Node360compspts);
- Node360.a('node.segments',[1,2]);
- Node360.a('node.color','rgba(255,128,0,1)');
- Node360.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node360.a('node.borderColor','rgba(255,128,0,1)');
- Node360.a('node.background','rgba(255,128,0,1)');
- Node360.a('node.gradient','');
- Node360.a('node.gradientcolor','rgba(255,128,0,1)');
- Node360.a('node.endCompspts',Node360endCompspts);
- Node360.a('node.startCompspts',Node360startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node360';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node360, Node360.getImage(), Node360compspts, Node360endCompspts, Node360startCompspts);
- var Node361points=[280, 662,280, 652],
- Node361rect=ht.Default.unionPoint([{x:280,y:662},{x:280,y:652}]),
- Node361compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node361points.length;i++){
- if(i%2==0){
- Node361compspts.push(Node361points[i]-Node361rect.x);
- }else{
- Node361compspts.push(Node361points[i]-Node361rect.y);
- }
- }
- var Node361ptslength=Node361compspts.length;
- if (Node361rect.height === 0) {
- Node361compspts[0] -= 0;
- Node361compspts[Node361ptslength-2] += 0;
- } else if (Node361rect.width === 0){
- Node361compspts[1] -= 0;
- Node361compspts[Node361ptslength-1] += 0;
- } else {
- Node361compspts[0] -= 0;
- Node361compspts[1] -= 0;
- Node361compspts[Node361ptslength-2] += 0;
- Node361compspts[Node361ptslength-1] += 0;
- }
- Node361 = new ht.Node();
- Node361.borderWidth = 1;
- Node361rect.width = Node361rect.width === 0 ? 0.0001 : Node361rect.width;
- Node361rect.height = Node361rect.height === 0 ? 0.0001 : Node361rect.height;
- var Node361endCompspts = [Node361compspts[Node361ptslength-2],Node361compspts[Node361ptslength-1],0,0];
- var Node361startCompspts = [Node361compspts[0],Node361compspts[1],0,0];
- Node361.setImage(GD.getPolyLineJSON());
- Node361.setPosition(Node361rect.x+Node361rect.width/2,Node361rect.y+Node361rect.height/2);
- Node361.setSize(Node361rect.width,Node361rect.height);
- Node361.setStyle("opacity",1);
- Node361.s({'pixelPerfect':true});
- Node361borderwidth=1;
- Node361.setRotation(0);
- dataModel.add(Node361);
- Node361.a('node.points',Node361compspts);
- Node361.a('node.segments',[1,2]);
- Node361.a('node.color','rgba(255,128,0,1)');
- Node361.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node361.a('node.borderColor','rgba(255,128,0,1)');
- Node361.a('node.background','rgba(255,128,0,1)');
- Node361.a('node.gradient','');
- Node361.a('node.gradientcolor','rgba(255,128,0,1)');
- Node361.a('node.endCompspts',Node361endCompspts);
- Node361.a('node.startCompspts',Node361startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node361';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node361, Node361.getImage(), Node361compspts, Node361endCompspts, Node361startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node362 = new ht.lib['黄色接地'](280*ratio.ratioX, 689*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node362');
- _libModel.add("Node362", Node362);
- Node362.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node363 = new ht.lib['矩形箭头上'](240*ratio.ratioX, 679*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node363');
- _libModel.add("Node363", Node363);
- Node363.setRotation(0*Math.PI/180);
- ;
- ;
- var Node364points=[260, 642,260, 732],
- Node364rect=ht.Default.unionPoint([{x:260,y:642},{x:260,y:732}]),
- Node364compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node364points.length;i++){
- if(i%2==0){
- Node364compspts.push(Node364points[i]-Node364rect.x);
- }else{
- Node364compspts.push(Node364points[i]-Node364rect.y);
- }
- }
- var Node364ptslength=Node364compspts.length;
- if (Node364rect.height === 0) {
- Node364compspts[0] -= 0;
- Node364compspts[Node364ptslength-2] += 0;
- } else if (Node364rect.width === 0){
- Node364compspts[1] -= 0;
- Node364compspts[Node364ptslength-1] += 0;
- } else {
- Node364compspts[0] -= 0;
- Node364compspts[1] -= 0;
- Node364compspts[Node364ptslength-2] += 0;
- Node364compspts[Node364ptslength-1] += 0;
- }
- Node364 = new ht.Node();
- Node364.borderWidth = 1;
- Node364rect.width = Node364rect.width === 0 ? 0.0001 : Node364rect.width;
- Node364rect.height = Node364rect.height === 0 ? 0.0001 : Node364rect.height;
- var Node364endCompspts = [Node364compspts[Node364ptslength-2],Node364compspts[Node364ptslength-1],0,0];
- var Node364startCompspts = [Node364compspts[0],Node364compspts[1],0,0];
- Node364.setImage(GD.getPolyLineJSON());
- Node364.setPosition(Node364rect.x+Node364rect.width/2,Node364rect.y+Node364rect.height/2);
- Node364.setSize(Node364rect.width,Node364rect.height);
- Node364.setStyle("opacity",1);
- Node364.s({'pixelPerfect':true});
- Node364borderwidth=1;
- Node364.setRotation(0);
- dataModel.add(Node364);
- Node364.a('node.points',Node364compspts);
- Node364.a('node.segments',[1,2]);
- Node364.a('node.color','rgba(255,128,0,1)');
- Node364.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node364.a('node.borderColor','rgba(255,128,0,1)');
- Node364.a('node.background','rgba(255,128,0,1)');
- Node364.a('node.gradient','');
- Node364.a('node.gradientcolor','rgba(255,128,0,1)');
- Node364.a('node.endCompspts',Node364endCompspts);
- Node364.a('node.startCompspts',Node364startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node364';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node364, Node364.getImage(), Node364compspts, Node364endCompspts, Node364startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node365 = new ht.lib['img'](259*ratio.ratioX, 731*ratio.ratioY, 9*_ratio.ratioX, 10*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node365');
- _libModel.add("Node365", Node365);
- Node365.setRotation(180*Math.PI/180);
- ;
- ;
- var Node366points=[620, 651,660, 651],
- Node366rect=ht.Default.unionPoint([{x:620,y:651},{x:660,y:651}]),
- Node366compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node366points.length;i++){
- if(i%2==0){
- Node366compspts.push(Node366points[i]-Node366rect.x);
- }else{
- Node366compspts.push(Node366points[i]-Node366rect.y);
- }
- }
- var Node366ptslength=Node366compspts.length;
- if (Node366rect.height === 0) {
- Node366compspts[0] -= 0;
- Node366compspts[Node366ptslength-2] += 0;
- } else if (Node366rect.width === 0){
- Node366compspts[1] -= 0;
- Node366compspts[Node366ptslength-1] += 0;
- } else {
- Node366compspts[0] -= 0;
- Node366compspts[1] -= 0;
- Node366compspts[Node366ptslength-2] += 0;
- Node366compspts[Node366ptslength-1] += 0;
- }
- Node366 = new ht.Node();
- Node366.borderWidth = 1;
- Node366rect.width = Node366rect.width === 0 ? 0.0001 : Node366rect.width;
- Node366rect.height = Node366rect.height === 0 ? 0.0001 : Node366rect.height;
- var Node366endCompspts = [Node366compspts[Node366ptslength-2],Node366compspts[Node366ptslength-1],0,0];
- var Node366startCompspts = [Node366compspts[0],Node366compspts[1],0,0];
- Node366.setImage(GD.getPolyLineJSON());
- Node366.setPosition(Node366rect.x+Node366rect.width/2,Node366rect.y+Node366rect.height/2);
- Node366.setSize(Node366rect.width,Node366rect.height);
- Node366.setStyle("opacity",1);
- Node366.s({'pixelPerfect':true});
- Node366borderwidth=1;
- Node366.setRotation(0);
- dataModel.add(Node366);
- Node366.a('node.points',Node366compspts);
- Node366.a('node.segments',[1,2]);
- Node366.a('node.color','rgba(255,128,0,1)');
- Node366.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node366.a('node.borderColor','rgba(255,128,0,1)');
- Node366.a('node.background','rgba(255,128,0,1)');
- Node366.a('node.gradient','');
- Node366.a('node.gradientcolor','rgba(255,128,0,1)');
- Node366.a('node.endCompspts',Node366endCompspts);
- Node366.a('node.startCompspts',Node366startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node366';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node366, Node366.getImage(), Node366compspts, Node366endCompspts, Node366startCompspts);
- var Node367points=[660, 662,660, 652],
- Node367rect=ht.Default.unionPoint([{x:660,y:662},{x:660,y:652}]),
- Node367compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node367points.length;i++){
- if(i%2==0){
- Node367compspts.push(Node367points[i]-Node367rect.x);
- }else{
- Node367compspts.push(Node367points[i]-Node367rect.y);
- }
- }
- var Node367ptslength=Node367compspts.length;
- if (Node367rect.height === 0) {
- Node367compspts[0] -= 0;
- Node367compspts[Node367ptslength-2] += 0;
- } else if (Node367rect.width === 0){
- Node367compspts[1] -= 0;
- Node367compspts[Node367ptslength-1] += 0;
- } else {
- Node367compspts[0] -= 0;
- Node367compspts[1] -= 0;
- Node367compspts[Node367ptslength-2] += 0;
- Node367compspts[Node367ptslength-1] += 0;
- }
- Node367 = new ht.Node();
- Node367.borderWidth = 1;
- Node367rect.width = Node367rect.width === 0 ? 0.0001 : Node367rect.width;
- Node367rect.height = Node367rect.height === 0 ? 0.0001 : Node367rect.height;
- var Node367endCompspts = [Node367compspts[Node367ptslength-2],Node367compspts[Node367ptslength-1],0,0];
- var Node367startCompspts = [Node367compspts[0],Node367compspts[1],0,0];
- Node367.setImage(GD.getPolyLineJSON());
- Node367.setPosition(Node367rect.x+Node367rect.width/2,Node367rect.y+Node367rect.height/2);
- Node367.setSize(Node367rect.width,Node367rect.height);
- Node367.setStyle("opacity",1);
- Node367.s({'pixelPerfect':true});
- Node367borderwidth=1;
- Node367.setRotation(0);
- dataModel.add(Node367);
- Node367.a('node.points',Node367compspts);
- Node367.a('node.segments',[1,2]);
- Node367.a('node.color','rgba(255,128,0,1)');
- Node367.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node367.a('node.borderColor','rgba(255,128,0,1)');
- Node367.a('node.background','rgba(255,128,0,1)');
- Node367.a('node.gradient','');
- Node367.a('node.gradientcolor','rgba(255,128,0,1)');
- Node367.a('node.endCompspts',Node367endCompspts);
- Node367.a('node.startCompspts',Node367startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node367';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node367, Node367.getImage(), Node367compspts, Node367endCompspts, Node367startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node368 = new ht.lib['黄色接地'](660*ratio.ratioX, 691*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node368');
- _libModel.add("Node368", Node368);
- Node368.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node369 = new ht.lib['矩形箭头上'](620*ratio.ratioX, 679*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node369');
- _libModel.add("Node369", Node369);
- Node369.setRotation(0*Math.PI/180);
- ;
- ;
- var Node370points=[640, 642,640, 732],
- Node370rect=ht.Default.unionPoint([{x:640,y:642},{x:640,y:732}]),
- Node370compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node370points.length;i++){
- if(i%2==0){
- Node370compspts.push(Node370points[i]-Node370rect.x);
- }else{
- Node370compspts.push(Node370points[i]-Node370rect.y);
- }
- }
- var Node370ptslength=Node370compspts.length;
- if (Node370rect.height === 0) {
- Node370compspts[0] -= 0;
- Node370compspts[Node370ptslength-2] += 0;
- } else if (Node370rect.width === 0){
- Node370compspts[1] -= 0;
- Node370compspts[Node370ptslength-1] += 0;
- } else {
- Node370compspts[0] -= 0;
- Node370compspts[1] -= 0;
- Node370compspts[Node370ptslength-2] += 0;
- Node370compspts[Node370ptslength-1] += 0;
- }
- Node370 = new ht.Node();
- Node370.borderWidth = 1;
- Node370rect.width = Node370rect.width === 0 ? 0.0001 : Node370rect.width;
- Node370rect.height = Node370rect.height === 0 ? 0.0001 : Node370rect.height;
- var Node370endCompspts = [Node370compspts[Node370ptslength-2],Node370compspts[Node370ptslength-1],0,0];
- var Node370startCompspts = [Node370compspts[0],Node370compspts[1],0,0];
- Node370.setImage(GD.getPolyLineJSON());
- Node370.setPosition(Node370rect.x+Node370rect.width/2,Node370rect.y+Node370rect.height/2);
- Node370.setSize(Node370rect.width,Node370rect.height);
- Node370.setStyle("opacity",1);
- Node370.s({'pixelPerfect':true});
- Node370borderwidth=1;
- Node370.setRotation(0);
- dataModel.add(Node370);
- Node370.a('node.points',Node370compspts);
- Node370.a('node.segments',[1,2]);
- Node370.a('node.color','rgba(255,128,0,1)');
- Node370.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node370.a('node.borderColor','rgba(255,128,0,1)');
- Node370.a('node.background','rgba(255,128,0,1)');
- Node370.a('node.gradient','');
- Node370.a('node.gradientcolor','rgba(255,128,0,1)');
- Node370.a('node.endCompspts',Node370endCompspts);
- Node370.a('node.startCompspts',Node370startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node370';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node370, Node370.getImage(), Node370compspts, Node370endCompspts, Node370startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node371 = new ht.lib['img'](639*ratio.ratioX, 731*ratio.ratioY, 9*_ratio.ratioX, 10*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node371');
- _libModel.add("Node371", Node371);
- Node371.setRotation(180*Math.PI/180);
- ;
- ;
- var Node372points=[710, 651,750, 651],
- Node372rect=ht.Default.unionPoint([{x:710,y:651},{x:750,y:651}]),
- Node372compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node372points.length;i++){
- if(i%2==0){
- Node372compspts.push(Node372points[i]-Node372rect.x);
- }else{
- Node372compspts.push(Node372points[i]-Node372rect.y);
- }
- }
- var Node372ptslength=Node372compspts.length;
- if (Node372rect.height === 0) {
- Node372compspts[0] -= 0;
- Node372compspts[Node372ptslength-2] += 0;
- } else if (Node372rect.width === 0){
- Node372compspts[1] -= 0;
- Node372compspts[Node372ptslength-1] += 0;
- } else {
- Node372compspts[0] -= 0;
- Node372compspts[1] -= 0;
- Node372compspts[Node372ptslength-2] += 0;
- Node372compspts[Node372ptslength-1] += 0;
- }
- Node372 = new ht.Node();
- Node372.borderWidth = 1;
- Node372rect.width = Node372rect.width === 0 ? 0.0001 : Node372rect.width;
- Node372rect.height = Node372rect.height === 0 ? 0.0001 : Node372rect.height;
- var Node372endCompspts = [Node372compspts[Node372ptslength-2],Node372compspts[Node372ptslength-1],0,0];
- var Node372startCompspts = [Node372compspts[0],Node372compspts[1],0,0];
- Node372.setImage(GD.getPolyLineJSON());
- Node372.setPosition(Node372rect.x+Node372rect.width/2,Node372rect.y+Node372rect.height/2);
- Node372.setSize(Node372rect.width,Node372rect.height);
- Node372.setStyle("opacity",1);
- Node372.s({'pixelPerfect':true});
- Node372borderwidth=1;
- Node372.setRotation(0);
- dataModel.add(Node372);
- Node372.a('node.points',Node372compspts);
- Node372.a('node.segments',[1,2]);
- Node372.a('node.color','rgba(255,128,0,1)');
- Node372.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node372.a('node.borderColor','rgba(255,128,0,1)');
- Node372.a('node.background','rgba(255,128,0,1)');
- Node372.a('node.gradient','');
- Node372.a('node.gradientcolor','rgba(255,128,0,1)');
- Node372.a('node.endCompspts',Node372endCompspts);
- Node372.a('node.startCompspts',Node372startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node372';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node372, Node372.getImage(), Node372compspts, Node372endCompspts, Node372startCompspts);
- var Node373points=[750, 662,750, 652],
- Node373rect=ht.Default.unionPoint([{x:750,y:662},{x:750,y:652}]),
- Node373compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node373points.length;i++){
- if(i%2==0){
- Node373compspts.push(Node373points[i]-Node373rect.x);
- }else{
- Node373compspts.push(Node373points[i]-Node373rect.y);
- }
- }
- var Node373ptslength=Node373compspts.length;
- if (Node373rect.height === 0) {
- Node373compspts[0] -= 0;
- Node373compspts[Node373ptslength-2] += 0;
- } else if (Node373rect.width === 0){
- Node373compspts[1] -= 0;
- Node373compspts[Node373ptslength-1] += 0;
- } else {
- Node373compspts[0] -= 0;
- Node373compspts[1] -= 0;
- Node373compspts[Node373ptslength-2] += 0;
- Node373compspts[Node373ptslength-1] += 0;
- }
- Node373 = new ht.Node();
- Node373.borderWidth = 1;
- Node373rect.width = Node373rect.width === 0 ? 0.0001 : Node373rect.width;
- Node373rect.height = Node373rect.height === 0 ? 0.0001 : Node373rect.height;
- var Node373endCompspts = [Node373compspts[Node373ptslength-2],Node373compspts[Node373ptslength-1],0,0];
- var Node373startCompspts = [Node373compspts[0],Node373compspts[1],0,0];
- Node373.setImage(GD.getPolyLineJSON());
- Node373.setPosition(Node373rect.x+Node373rect.width/2,Node373rect.y+Node373rect.height/2);
- Node373.setSize(Node373rect.width,Node373rect.height);
- Node373.setStyle("opacity",1);
- Node373.s({'pixelPerfect':true});
- Node373borderwidth=1;
- Node373.setRotation(0);
- dataModel.add(Node373);
- Node373.a('node.points',Node373compspts);
- Node373.a('node.segments',[1,2]);
- Node373.a('node.color','rgba(255,128,0,1)');
- Node373.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node373.a('node.borderColor','rgba(255,128,0,1)');
- Node373.a('node.background','rgba(255,128,0,1)');
- Node373.a('node.gradient','');
- Node373.a('node.gradientcolor','rgba(255,128,0,1)');
- Node373.a('node.endCompspts',Node373endCompspts);
- Node373.a('node.startCompspts',Node373startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node373';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node373, Node373.getImage(), Node373compspts, Node373endCompspts, Node373startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node374 = new ht.lib['黄色接地'](750*ratio.ratioX, 690*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node374');
- _libModel.add("Node374", Node374);
- Node374.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node375 = new ht.lib['矩形箭头上'](710*ratio.ratioX, 679*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node375');
- _libModel.add("Node375", Node375);
- Node375.setRotation(0*Math.PI/180);
- ;
- ;
- var Node376points=[730, 642,730, 732],
- Node376rect=ht.Default.unionPoint([{x:730,y:642},{x:730,y:732}]),
- Node376compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node376points.length;i++){
- if(i%2==0){
- Node376compspts.push(Node376points[i]-Node376rect.x);
- }else{
- Node376compspts.push(Node376points[i]-Node376rect.y);
- }
- }
- var Node376ptslength=Node376compspts.length;
- if (Node376rect.height === 0) {
- Node376compspts[0] -= 0;
- Node376compspts[Node376ptslength-2] += 0;
- } else if (Node376rect.width === 0){
- Node376compspts[1] -= 0;
- Node376compspts[Node376ptslength-1] += 0;
- } else {
- Node376compspts[0] -= 0;
- Node376compspts[1] -= 0;
- Node376compspts[Node376ptslength-2] += 0;
- Node376compspts[Node376ptslength-1] += 0;
- }
- Node376 = new ht.Node();
- Node376.borderWidth = 1;
- Node376rect.width = Node376rect.width === 0 ? 0.0001 : Node376rect.width;
- Node376rect.height = Node376rect.height === 0 ? 0.0001 : Node376rect.height;
- var Node376endCompspts = [Node376compspts[Node376ptslength-2],Node376compspts[Node376ptslength-1],0,0];
- var Node376startCompspts = [Node376compspts[0],Node376compspts[1],0,0];
- Node376.setImage(GD.getPolyLineJSON());
- Node376.setPosition(Node376rect.x+Node376rect.width/2,Node376rect.y+Node376rect.height/2);
- Node376.setSize(Node376rect.width,Node376rect.height);
- Node376.setStyle("opacity",1);
- Node376.s({'pixelPerfect':true});
- Node376borderwidth=1;
- Node376.setRotation(0);
- dataModel.add(Node376);
- Node376.a('node.points',Node376compspts);
- Node376.a('node.segments',[1,2]);
- Node376.a('node.color','rgba(255,128,0,1)');
- Node376.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node376.a('node.borderColor','rgba(255,128,0,1)');
- Node376.a('node.background','rgba(255,128,0,1)');
- Node376.a('node.gradient','');
- Node376.a('node.gradientcolor','rgba(255,128,0,1)');
- Node376.a('node.endCompspts',Node376endCompspts);
- Node376.a('node.startCompspts',Node376startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node376';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node376, Node376.getImage(), Node376compspts, Node376endCompspts, Node376startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node377 = new ht.lib['img'](729*ratio.ratioX, 731*ratio.ratioY, 9*_ratio.ratioX, 10*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node377');
- _libModel.add("Node377", Node377);
- Node377.setRotation(180*Math.PI/180);
- ;
- ;
- var Node378points=[800, 651,840, 651],
- Node378rect=ht.Default.unionPoint([{x:800,y:651},{x:840,y:651}]),
- Node378compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node378points.length;i++){
- if(i%2==0){
- Node378compspts.push(Node378points[i]-Node378rect.x);
- }else{
- Node378compspts.push(Node378points[i]-Node378rect.y);
- }
- }
- var Node378ptslength=Node378compspts.length;
- if (Node378rect.height === 0) {
- Node378compspts[0] -= 0;
- Node378compspts[Node378ptslength-2] += 0;
- } else if (Node378rect.width === 0){
- Node378compspts[1] -= 0;
- Node378compspts[Node378ptslength-1] += 0;
- } else {
- Node378compspts[0] -= 0;
- Node378compspts[1] -= 0;
- Node378compspts[Node378ptslength-2] += 0;
- Node378compspts[Node378ptslength-1] += 0;
- }
- Node378 = new ht.Node();
- Node378.borderWidth = 1;
- Node378rect.width = Node378rect.width === 0 ? 0.0001 : Node378rect.width;
- Node378rect.height = Node378rect.height === 0 ? 0.0001 : Node378rect.height;
- var Node378endCompspts = [Node378compspts[Node378ptslength-2],Node378compspts[Node378ptslength-1],0,0];
- var Node378startCompspts = [Node378compspts[0],Node378compspts[1],0,0];
- Node378.setImage(GD.getPolyLineJSON());
- Node378.setPosition(Node378rect.x+Node378rect.width/2,Node378rect.y+Node378rect.height/2);
- Node378.setSize(Node378rect.width,Node378rect.height);
- Node378.setStyle("opacity",1);
- Node378.s({'pixelPerfect':true});
- Node378borderwidth=1;
- Node378.setRotation(0);
- dataModel.add(Node378);
- Node378.a('node.points',Node378compspts);
- Node378.a('node.segments',[1,2]);
- Node378.a('node.color','rgba(255,128,0,1)');
- Node378.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node378.a('node.borderColor','rgba(255,128,0,1)');
- Node378.a('node.background','rgba(255,128,0,1)');
- Node378.a('node.gradient','');
- Node378.a('node.gradientcolor','rgba(255,128,0,1)');
- Node378.a('node.endCompspts',Node378endCompspts);
- Node378.a('node.startCompspts',Node378startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node378';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node378, Node378.getImage(), Node378compspts, Node378endCompspts, Node378startCompspts);
- var Node379points=[840, 662,840, 652],
- Node379rect=ht.Default.unionPoint([{x:840,y:662},{x:840,y:652}]),
- Node379compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node379points.length;i++){
- if(i%2==0){
- Node379compspts.push(Node379points[i]-Node379rect.x);
- }else{
- Node379compspts.push(Node379points[i]-Node379rect.y);
- }
- }
- var Node379ptslength=Node379compspts.length;
- if (Node379rect.height === 0) {
- Node379compspts[0] -= 0;
- Node379compspts[Node379ptslength-2] += 0;
- } else if (Node379rect.width === 0){
- Node379compspts[1] -= 0;
- Node379compspts[Node379ptslength-1] += 0;
- } else {
- Node379compspts[0] -= 0;
- Node379compspts[1] -= 0;
- Node379compspts[Node379ptslength-2] += 0;
- Node379compspts[Node379ptslength-1] += 0;
- }
- Node379 = new ht.Node();
- Node379.borderWidth = 1;
- Node379rect.width = Node379rect.width === 0 ? 0.0001 : Node379rect.width;
- Node379rect.height = Node379rect.height === 0 ? 0.0001 : Node379rect.height;
- var Node379endCompspts = [Node379compspts[Node379ptslength-2],Node379compspts[Node379ptslength-1],0,0];
- var Node379startCompspts = [Node379compspts[0],Node379compspts[1],0,0];
- Node379.setImage(GD.getPolyLineJSON());
- Node379.setPosition(Node379rect.x+Node379rect.width/2,Node379rect.y+Node379rect.height/2);
- Node379.setSize(Node379rect.width,Node379rect.height);
- Node379.setStyle("opacity",1);
- Node379.s({'pixelPerfect':true});
- Node379borderwidth=1;
- Node379.setRotation(0);
- dataModel.add(Node379);
- Node379.a('node.points',Node379compspts);
- Node379.a('node.segments',[1,2]);
- Node379.a('node.color','rgba(255,128,0,1)');
- Node379.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node379.a('node.borderColor','rgba(255,128,0,1)');
- Node379.a('node.background','rgba(255,128,0,1)');
- Node379.a('node.gradient','');
- Node379.a('node.gradientcolor','rgba(255,128,0,1)');
- Node379.a('node.endCompspts',Node379endCompspts);
- Node379.a('node.startCompspts',Node379startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node379';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node379, Node379.getImage(), Node379compspts, Node379endCompspts, Node379startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node380 = new ht.lib['黄色接地'](840*ratio.ratioX, 690*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node380');
- _libModel.add("Node380", Node380);
- Node380.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node381 = new ht.lib['矩形箭头上'](800*ratio.ratioX, 679*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node381');
- _libModel.add("Node381", Node381);
- Node381.setRotation(0*Math.PI/180);
- ;
- ;
- var Node382points=[820, 642,820, 732],
- Node382rect=ht.Default.unionPoint([{x:820,y:642},{x:820,y:732}]),
- Node382compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node382points.length;i++){
- if(i%2==0){
- Node382compspts.push(Node382points[i]-Node382rect.x);
- }else{
- Node382compspts.push(Node382points[i]-Node382rect.y);
- }
- }
- var Node382ptslength=Node382compspts.length;
- if (Node382rect.height === 0) {
- Node382compspts[0] -= 0;
- Node382compspts[Node382ptslength-2] += 0;
- } else if (Node382rect.width === 0){
- Node382compspts[1] -= 0;
- Node382compspts[Node382ptslength-1] += 0;
- } else {
- Node382compspts[0] -= 0;
- Node382compspts[1] -= 0;
- Node382compspts[Node382ptslength-2] += 0;
- Node382compspts[Node382ptslength-1] += 0;
- }
- Node382 = new ht.Node();
- Node382.borderWidth = 1;
- Node382rect.width = Node382rect.width === 0 ? 0.0001 : Node382rect.width;
- Node382rect.height = Node382rect.height === 0 ? 0.0001 : Node382rect.height;
- var Node382endCompspts = [Node382compspts[Node382ptslength-2],Node382compspts[Node382ptslength-1],0,0];
- var Node382startCompspts = [Node382compspts[0],Node382compspts[1],0,0];
- Node382.setImage(GD.getPolyLineJSON());
- Node382.setPosition(Node382rect.x+Node382rect.width/2,Node382rect.y+Node382rect.height/2);
- Node382.setSize(Node382rect.width,Node382rect.height);
- Node382.setStyle("opacity",1);
- Node382.s({'pixelPerfect':true});
- Node382borderwidth=1;
- Node382.setRotation(0);
- dataModel.add(Node382);
- Node382.a('node.points',Node382compspts);
- Node382.a('node.segments',[1,2]);
- Node382.a('node.color','rgba(255,128,0,1)');
- Node382.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node382.a('node.borderColor','rgba(255,128,0,1)');
- Node382.a('node.background','rgba(255,128,0,1)');
- Node382.a('node.gradient','');
- Node382.a('node.gradientcolor','rgba(255,128,0,1)');
- Node382.a('node.endCompspts',Node382endCompspts);
- Node382.a('node.startCompspts',Node382startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node382';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node382, Node382.getImage(), Node382compspts, Node382endCompspts, Node382startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node383 = new ht.lib['img'](819*ratio.ratioX, 731*ratio.ratioY, 9*_ratio.ratioX, 10*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node383');
- _libModel.add("Node383", Node383);
- Node383.setRotation(180*Math.PI/180);
- ;
- ;
- var Node384points=[1070, 651,1110, 651],
- Node384rect=ht.Default.unionPoint([{x:1070,y:651},{x:1110,y:651}]),
- Node384compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node384points.length;i++){
- if(i%2==0){
- Node384compspts.push(Node384points[i]-Node384rect.x);
- }else{
- Node384compspts.push(Node384points[i]-Node384rect.y);
- }
- }
- var Node384ptslength=Node384compspts.length;
- if (Node384rect.height === 0) {
- Node384compspts[0] -= 0;
- Node384compspts[Node384ptslength-2] += 0;
- } else if (Node384rect.width === 0){
- Node384compspts[1] -= 0;
- Node384compspts[Node384ptslength-1] += 0;
- } else {
- Node384compspts[0] -= 0;
- Node384compspts[1] -= 0;
- Node384compspts[Node384ptslength-2] += 0;
- Node384compspts[Node384ptslength-1] += 0;
- }
- Node384 = new ht.Node();
- Node384.borderWidth = 1;
- Node384rect.width = Node384rect.width === 0 ? 0.0001 : Node384rect.width;
- Node384rect.height = Node384rect.height === 0 ? 0.0001 : Node384rect.height;
- var Node384endCompspts = [Node384compspts[Node384ptslength-2],Node384compspts[Node384ptslength-1],0,0];
- var Node384startCompspts = [Node384compspts[0],Node384compspts[1],0,0];
- Node384.setImage(GD.getPolyLineJSON());
- Node384.setPosition(Node384rect.x+Node384rect.width/2,Node384rect.y+Node384rect.height/2);
- Node384.setSize(Node384rect.width,Node384rect.height);
- Node384.setStyle("opacity",1);
- Node384.s({'pixelPerfect':true});
- Node384borderwidth=1;
- Node384.setRotation(0);
- dataModel.add(Node384);
- Node384.a('node.points',Node384compspts);
- Node384.a('node.segments',[1,2]);
- Node384.a('node.color','rgba(255,128,0,1)');
- Node384.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node384.a('node.borderColor','rgba(255,128,0,1)');
- Node384.a('node.background','rgba(255,128,0,1)');
- Node384.a('node.gradient','');
- Node384.a('node.gradientcolor','rgba(255,128,0,1)');
- Node384.a('node.endCompspts',Node384endCompspts);
- Node384.a('node.startCompspts',Node384startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node384';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node384, Node384.getImage(), Node384compspts, Node384endCompspts, Node384startCompspts);
- var Node385points=[1110, 662,1110, 652],
- Node385rect=ht.Default.unionPoint([{x:1110,y:662},{x:1110,y:652}]),
- Node385compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node385points.length;i++){
- if(i%2==0){
- Node385compspts.push(Node385points[i]-Node385rect.x);
- }else{
- Node385compspts.push(Node385points[i]-Node385rect.y);
- }
- }
- var Node385ptslength=Node385compspts.length;
- if (Node385rect.height === 0) {
- Node385compspts[0] -= 0;
- Node385compspts[Node385ptslength-2] += 0;
- } else if (Node385rect.width === 0){
- Node385compspts[1] -= 0;
- Node385compspts[Node385ptslength-1] += 0;
- } else {
- Node385compspts[0] -= 0;
- Node385compspts[1] -= 0;
- Node385compspts[Node385ptslength-2] += 0;
- Node385compspts[Node385ptslength-1] += 0;
- }
- Node385 = new ht.Node();
- Node385.borderWidth = 1;
- Node385rect.width = Node385rect.width === 0 ? 0.0001 : Node385rect.width;
- Node385rect.height = Node385rect.height === 0 ? 0.0001 : Node385rect.height;
- var Node385endCompspts = [Node385compspts[Node385ptslength-2],Node385compspts[Node385ptslength-1],0,0];
- var Node385startCompspts = [Node385compspts[0],Node385compspts[1],0,0];
- Node385.setImage(GD.getPolyLineJSON());
- Node385.setPosition(Node385rect.x+Node385rect.width/2,Node385rect.y+Node385rect.height/2);
- Node385.setSize(Node385rect.width,Node385rect.height);
- Node385.setStyle("opacity",1);
- Node385.s({'pixelPerfect':true});
- Node385borderwidth=1;
- Node385.setRotation(0);
- dataModel.add(Node385);
- Node385.a('node.points',Node385compspts);
- Node385.a('node.segments',[1,2]);
- Node385.a('node.color','rgba(255,128,0,1)');
- Node385.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node385.a('node.borderColor','rgba(255,128,0,1)');
- Node385.a('node.background','rgba(255,128,0,1)');
- Node385.a('node.gradient','');
- Node385.a('node.gradientcolor','rgba(255,128,0,1)');
- Node385.a('node.endCompspts',Node385endCompspts);
- Node385.a('node.startCompspts',Node385startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node385';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node385, Node385.getImage(), Node385compspts, Node385endCompspts, Node385startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node386 = new ht.lib['黄色接地'](1110*ratio.ratioX, 689*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node386');
- _libModel.add("Node386", Node386);
- Node386.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node387 = new ht.lib['矩形箭头上'](1070*ratio.ratioX, 679*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node387');
- _libModel.add("Node387", Node387);
- Node387.setRotation(0*Math.PI/180);
- ;
- ;
- var Node388points=[1090, 642,1090, 732],
- Node388rect=ht.Default.unionPoint([{x:1090,y:642},{x:1090,y:732}]),
- Node388compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node388points.length;i++){
- if(i%2==0){
- Node388compspts.push(Node388points[i]-Node388rect.x);
- }else{
- Node388compspts.push(Node388points[i]-Node388rect.y);
- }
- }
- var Node388ptslength=Node388compspts.length;
- if (Node388rect.height === 0) {
- Node388compspts[0] -= 0;
- Node388compspts[Node388ptslength-2] += 0;
- } else if (Node388rect.width === 0){
- Node388compspts[1] -= 0;
- Node388compspts[Node388ptslength-1] += 0;
- } else {
- Node388compspts[0] -= 0;
- Node388compspts[1] -= 0;
- Node388compspts[Node388ptslength-2] += 0;
- Node388compspts[Node388ptslength-1] += 0;
- }
- Node388 = new ht.Node();
- Node388.borderWidth = 1;
- Node388rect.width = Node388rect.width === 0 ? 0.0001 : Node388rect.width;
- Node388rect.height = Node388rect.height === 0 ? 0.0001 : Node388rect.height;
- var Node388endCompspts = [Node388compspts[Node388ptslength-2],Node388compspts[Node388ptslength-1],0,0];
- var Node388startCompspts = [Node388compspts[0],Node388compspts[1],0,0];
- Node388.setImage(GD.getPolyLineJSON());
- Node388.setPosition(Node388rect.x+Node388rect.width/2,Node388rect.y+Node388rect.height/2);
- Node388.setSize(Node388rect.width,Node388rect.height);
- Node388.setStyle("opacity",1);
- Node388.s({'pixelPerfect':true});
- Node388borderwidth=1;
- Node388.setRotation(0);
- dataModel.add(Node388);
- Node388.a('node.points',Node388compspts);
- Node388.a('node.segments',[1,2]);
- Node388.a('node.color','rgba(255,128,0,1)');
- Node388.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node388.a('node.borderColor','rgba(255,128,0,1)');
- Node388.a('node.background','rgba(255,128,0,1)');
- Node388.a('node.gradient','');
- Node388.a('node.gradientcolor','rgba(255,128,0,1)');
- Node388.a('node.endCompspts',Node388endCompspts);
- Node388.a('node.startCompspts',Node388startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node388';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node388, Node388.getImage(), Node388compspts, Node388endCompspts, Node388startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node389 = new ht.lib['img'](1089*ratio.ratioX, 731*ratio.ratioY, 9*_ratio.ratioX, 10*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node389');
- _libModel.add("Node389", Node389);
- Node389.setRotation(180*Math.PI/180);
- ;
- ;
- var Node390points=[1160, 651,1200, 651],
- Node390rect=ht.Default.unionPoint([{x:1160,y:651},{x:1200,y:651}]),
- Node390compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node390points.length;i++){
- if(i%2==0){
- Node390compspts.push(Node390points[i]-Node390rect.x);
- }else{
- Node390compspts.push(Node390points[i]-Node390rect.y);
- }
- }
- var Node390ptslength=Node390compspts.length;
- if (Node390rect.height === 0) {
- Node390compspts[0] -= 0;
- Node390compspts[Node390ptslength-2] += 0;
- } else if (Node390rect.width === 0){
- Node390compspts[1] -= 0;
- Node390compspts[Node390ptslength-1] += 0;
- } else {
- Node390compspts[0] -= 0;
- Node390compspts[1] -= 0;
- Node390compspts[Node390ptslength-2] += 0;
- Node390compspts[Node390ptslength-1] += 0;
- }
- Node390 = new ht.Node();
- Node390.borderWidth = 1;
- Node390rect.width = Node390rect.width === 0 ? 0.0001 : Node390rect.width;
- Node390rect.height = Node390rect.height === 0 ? 0.0001 : Node390rect.height;
- var Node390endCompspts = [Node390compspts[Node390ptslength-2],Node390compspts[Node390ptslength-1],0,0];
- var Node390startCompspts = [Node390compspts[0],Node390compspts[1],0,0];
- Node390.setImage(GD.getPolyLineJSON());
- Node390.setPosition(Node390rect.x+Node390rect.width/2,Node390rect.y+Node390rect.height/2);
- Node390.setSize(Node390rect.width,Node390rect.height);
- Node390.setStyle("opacity",1);
- Node390.s({'pixelPerfect':true});
- Node390borderwidth=1;
- Node390.setRotation(0);
- dataModel.add(Node390);
- Node390.a('node.points',Node390compspts);
- Node390.a('node.segments',[1,2]);
- Node390.a('node.color','rgba(255,128,0,1)');
- Node390.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node390.a('node.borderColor','rgba(255,128,0,1)');
- Node390.a('node.background','rgba(255,128,0,1)');
- Node390.a('node.gradient','');
- Node390.a('node.gradientcolor','rgba(255,128,0,1)');
- Node390.a('node.endCompspts',Node390endCompspts);
- Node390.a('node.startCompspts',Node390startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node390';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node390, Node390.getImage(), Node390compspts, Node390endCompspts, Node390startCompspts);
- var Node391points=[1200, 662,1200, 652],
- Node391rect=ht.Default.unionPoint([{x:1200,y:662},{x:1200,y:652}]),
- Node391compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node391points.length;i++){
- if(i%2==0){
- Node391compspts.push(Node391points[i]-Node391rect.x);
- }else{
- Node391compspts.push(Node391points[i]-Node391rect.y);
- }
- }
- var Node391ptslength=Node391compspts.length;
- if (Node391rect.height === 0) {
- Node391compspts[0] -= 0;
- Node391compspts[Node391ptslength-2] += 0;
- } else if (Node391rect.width === 0){
- Node391compspts[1] -= 0;
- Node391compspts[Node391ptslength-1] += 0;
- } else {
- Node391compspts[0] -= 0;
- Node391compspts[1] -= 0;
- Node391compspts[Node391ptslength-2] += 0;
- Node391compspts[Node391ptslength-1] += 0;
- }
- Node391 = new ht.Node();
- Node391.borderWidth = 1;
- Node391rect.width = Node391rect.width === 0 ? 0.0001 : Node391rect.width;
- Node391rect.height = Node391rect.height === 0 ? 0.0001 : Node391rect.height;
- var Node391endCompspts = [Node391compspts[Node391ptslength-2],Node391compspts[Node391ptslength-1],0,0];
- var Node391startCompspts = [Node391compspts[0],Node391compspts[1],0,0];
- Node391.setImage(GD.getPolyLineJSON());
- Node391.setPosition(Node391rect.x+Node391rect.width/2,Node391rect.y+Node391rect.height/2);
- Node391.setSize(Node391rect.width,Node391rect.height);
- Node391.setStyle("opacity",1);
- Node391.s({'pixelPerfect':true});
- Node391borderwidth=1;
- Node391.setRotation(0);
- dataModel.add(Node391);
- Node391.a('node.points',Node391compspts);
- Node391.a('node.segments',[1,2]);
- Node391.a('node.color','rgba(255,128,0,1)');
- Node391.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node391.a('node.borderColor','rgba(255,128,0,1)');
- Node391.a('node.background','rgba(255,128,0,1)');
- Node391.a('node.gradient','');
- Node391.a('node.gradientcolor','rgba(255,128,0,1)');
- Node391.a('node.endCompspts',Node391endCompspts);
- Node391.a('node.startCompspts',Node391startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node391';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node391, Node391.getImage(), Node391compspts, Node391endCompspts, Node391startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node392 = new ht.lib['黄色接地'](1200*ratio.ratioX, 691*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node392');
- _libModel.add("Node392", Node392);
- Node392.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node393 = new ht.lib['矩形箭头上'](1160*ratio.ratioX, 679*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node393');
- _libModel.add("Node393", Node393);
- Node393.setRotation(0*Math.PI/180);
- ;
- ;
- var Node394points=[1180, 642,1180, 732],
- Node394rect=ht.Default.unionPoint([{x:1180,y:642},{x:1180,y:732}]),
- Node394compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node394points.length;i++){
- if(i%2==0){
- Node394compspts.push(Node394points[i]-Node394rect.x);
- }else{
- Node394compspts.push(Node394points[i]-Node394rect.y);
- }
- }
- var Node394ptslength=Node394compspts.length;
- if (Node394rect.height === 0) {
- Node394compspts[0] -= 0;
- Node394compspts[Node394ptslength-2] += 0;
- } else if (Node394rect.width === 0){
- Node394compspts[1] -= 0;
- Node394compspts[Node394ptslength-1] += 0;
- } else {
- Node394compspts[0] -= 0;
- Node394compspts[1] -= 0;
- Node394compspts[Node394ptslength-2] += 0;
- Node394compspts[Node394ptslength-1] += 0;
- }
- Node394 = new ht.Node();
- Node394.borderWidth = 1;
- Node394rect.width = Node394rect.width === 0 ? 0.0001 : Node394rect.width;
- Node394rect.height = Node394rect.height === 0 ? 0.0001 : Node394rect.height;
- var Node394endCompspts = [Node394compspts[Node394ptslength-2],Node394compspts[Node394ptslength-1],0,0];
- var Node394startCompspts = [Node394compspts[0],Node394compspts[1],0,0];
- Node394.setImage(GD.getPolyLineJSON());
- Node394.setPosition(Node394rect.x+Node394rect.width/2,Node394rect.y+Node394rect.height/2);
- Node394.setSize(Node394rect.width,Node394rect.height);
- Node394.setStyle("opacity",1);
- Node394.s({'pixelPerfect':true});
- Node394borderwidth=1;
- Node394.setRotation(0);
- dataModel.add(Node394);
- Node394.a('node.points',Node394compspts);
- Node394.a('node.segments',[1,2]);
- Node394.a('node.color','rgba(255,128,0,1)');
- Node394.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node394.a('node.borderColor','rgba(255,128,0,1)');
- Node394.a('node.background','rgba(255,128,0,1)');
- Node394.a('node.gradient','');
- Node394.a('node.gradientcolor','rgba(255,128,0,1)');
- Node394.a('node.endCompspts',Node394endCompspts);
- Node394.a('node.startCompspts',Node394startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node394';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node394, Node394.getImage(), Node394compspts, Node394endCompspts, Node394startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node395 = new ht.lib['img'](1179*ratio.ratioX, 731*ratio.ratioY, 9*_ratio.ratioX, 10*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node395');
- _libModel.add("Node395", Node395);
- Node395.setRotation(180*Math.PI/180);
- ;
- ;
- var Node396points=[1250, 651,1290, 651],
- Node396rect=ht.Default.unionPoint([{x:1250,y:651},{x:1290,y:651}]),
- Node396compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node396points.length;i++){
- if(i%2==0){
- Node396compspts.push(Node396points[i]-Node396rect.x);
- }else{
- Node396compspts.push(Node396points[i]-Node396rect.y);
- }
- }
- var Node396ptslength=Node396compspts.length;
- if (Node396rect.height === 0) {
- Node396compspts[0] -= 0;
- Node396compspts[Node396ptslength-2] += 0;
- } else if (Node396rect.width === 0){
- Node396compspts[1] -= 0;
- Node396compspts[Node396ptslength-1] += 0;
- } else {
- Node396compspts[0] -= 0;
- Node396compspts[1] -= 0;
- Node396compspts[Node396ptslength-2] += 0;
- Node396compspts[Node396ptslength-1] += 0;
- }
- Node396 = new ht.Node();
- Node396.borderWidth = 1;
- Node396rect.width = Node396rect.width === 0 ? 0.0001 : Node396rect.width;
- Node396rect.height = Node396rect.height === 0 ? 0.0001 : Node396rect.height;
- var Node396endCompspts = [Node396compspts[Node396ptslength-2],Node396compspts[Node396ptslength-1],0,0];
- var Node396startCompspts = [Node396compspts[0],Node396compspts[1],0,0];
- Node396.setImage(GD.getPolyLineJSON());
- Node396.setPosition(Node396rect.x+Node396rect.width/2,Node396rect.y+Node396rect.height/2);
- Node396.setSize(Node396rect.width,Node396rect.height);
- Node396.setStyle("opacity",1);
- Node396.s({'pixelPerfect':true});
- Node396borderwidth=1;
- Node396.setRotation(0);
- dataModel.add(Node396);
- Node396.a('node.points',Node396compspts);
- Node396.a('node.segments',[1,2]);
- Node396.a('node.color','rgba(255,128,0,1)');
- Node396.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node396.a('node.borderColor','rgba(255,128,0,1)');
- Node396.a('node.background','rgba(255,128,0,1)');
- Node396.a('node.gradient','');
- Node396.a('node.gradientcolor','rgba(255,128,0,1)');
- Node396.a('node.endCompspts',Node396endCompspts);
- Node396.a('node.startCompspts',Node396startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node396';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node396, Node396.getImage(), Node396compspts, Node396endCompspts, Node396startCompspts);
- var Node397points=[1290, 662,1290, 652],
- Node397rect=ht.Default.unionPoint([{x:1290,y:662},{x:1290,y:652}]),
- Node397compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node397points.length;i++){
- if(i%2==0){
- Node397compspts.push(Node397points[i]-Node397rect.x);
- }else{
- Node397compspts.push(Node397points[i]-Node397rect.y);
- }
- }
- var Node397ptslength=Node397compspts.length;
- if (Node397rect.height === 0) {
- Node397compspts[0] -= 0;
- Node397compspts[Node397ptslength-2] += 0;
- } else if (Node397rect.width === 0){
- Node397compspts[1] -= 0;
- Node397compspts[Node397ptslength-1] += 0;
- } else {
- Node397compspts[0] -= 0;
- Node397compspts[1] -= 0;
- Node397compspts[Node397ptslength-2] += 0;
- Node397compspts[Node397ptslength-1] += 0;
- }
- Node397 = new ht.Node();
- Node397.borderWidth = 1;
- Node397rect.width = Node397rect.width === 0 ? 0.0001 : Node397rect.width;
- Node397rect.height = Node397rect.height === 0 ? 0.0001 : Node397rect.height;
- var Node397endCompspts = [Node397compspts[Node397ptslength-2],Node397compspts[Node397ptslength-1],0,0];
- var Node397startCompspts = [Node397compspts[0],Node397compspts[1],0,0];
- Node397.setImage(GD.getPolyLineJSON());
- Node397.setPosition(Node397rect.x+Node397rect.width/2,Node397rect.y+Node397rect.height/2);
- Node397.setSize(Node397rect.width,Node397rect.height);
- Node397.setStyle("opacity",1);
- Node397.s({'pixelPerfect':true});
- Node397borderwidth=1;
- Node397.setRotation(0);
- dataModel.add(Node397);
- Node397.a('node.points',Node397compspts);
- Node397.a('node.segments',[1,2]);
- Node397.a('node.color','rgba(255,128,0,1)');
- Node397.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node397.a('node.borderColor','rgba(255,128,0,1)');
- Node397.a('node.background','rgba(255,128,0,1)');
- Node397.a('node.gradient','');
- Node397.a('node.gradientcolor','rgba(255,128,0,1)');
- Node397.a('node.endCompspts',Node397endCompspts);
- Node397.a('node.startCompspts',Node397startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node397';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node397, Node397.getImage(), Node397compspts, Node397endCompspts, Node397startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node398 = new ht.lib['黄色接地'](1290*ratio.ratioX, 687*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node398');
- _libModel.add("Node398", Node398);
- Node398.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node399 = new ht.lib['矩形箭头上'](1250*ratio.ratioX, 679*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node399');
- _libModel.add("Node399", Node399);
- Node399.setRotation(0*Math.PI/180);
- ;
- ;
- var Node400points=[1270, 642,1270, 732],
- Node400rect=ht.Default.unionPoint([{x:1270,y:642},{x:1270,y:732}]),
- Node400compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node400points.length;i++){
- if(i%2==0){
- Node400compspts.push(Node400points[i]-Node400rect.x);
- }else{
- Node400compspts.push(Node400points[i]-Node400rect.y);
- }
- }
- var Node400ptslength=Node400compspts.length;
- if (Node400rect.height === 0) {
- Node400compspts[0] -= 0;
- Node400compspts[Node400ptslength-2] += 0;
- } else if (Node400rect.width === 0){
- Node400compspts[1] -= 0;
- Node400compspts[Node400ptslength-1] += 0;
- } else {
- Node400compspts[0] -= 0;
- Node400compspts[1] -= 0;
- Node400compspts[Node400ptslength-2] += 0;
- Node400compspts[Node400ptslength-1] += 0;
- }
- Node400 = new ht.Node();
- Node400.borderWidth = 1;
- Node400rect.width = Node400rect.width === 0 ? 0.0001 : Node400rect.width;
- Node400rect.height = Node400rect.height === 0 ? 0.0001 : Node400rect.height;
- var Node400endCompspts = [Node400compspts[Node400ptslength-2],Node400compspts[Node400ptslength-1],0,0];
- var Node400startCompspts = [Node400compspts[0],Node400compspts[1],0,0];
- Node400.setImage(GD.getPolyLineJSON());
- Node400.setPosition(Node400rect.x+Node400rect.width/2,Node400rect.y+Node400rect.height/2);
- Node400.setSize(Node400rect.width,Node400rect.height);
- Node400.setStyle("opacity",1);
- Node400.s({'pixelPerfect':true});
- Node400borderwidth=1;
- Node400.setRotation(0);
- dataModel.add(Node400);
- Node400.a('node.points',Node400compspts);
- Node400.a('node.segments',[1,2]);
- Node400.a('node.color','rgba(255,128,0,1)');
- Node400.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node400.a('node.borderColor','rgba(255,128,0,1)');
- Node400.a('node.background','rgba(255,128,0,1)');
- Node400.a('node.gradient','');
- Node400.a('node.gradientcolor','rgba(255,128,0,1)');
- Node400.a('node.endCompspts',Node400endCompspts);
- Node400.a('node.startCompspts',Node400startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node400';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node400, Node400.getImage(), Node400compspts, Node400endCompspts, Node400startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node401 = new ht.lib['img'](1269*ratio.ratioX, 731*ratio.ratioY, 9*_ratio.ratioX, 10*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node401');
- _libModel.add("Node401", Node401);
- Node401.setRotation(180*Math.PI/180);
- ;
- ;
- var Node402points=[1340, 651,1380, 651],
- Node402rect=ht.Default.unionPoint([{x:1340,y:651},{x:1380,y:651}]),
- Node402compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node402points.length;i++){
- if(i%2==0){
- Node402compspts.push(Node402points[i]-Node402rect.x);
- }else{
- Node402compspts.push(Node402points[i]-Node402rect.y);
- }
- }
- var Node402ptslength=Node402compspts.length;
- if (Node402rect.height === 0) {
- Node402compspts[0] -= 0;
- Node402compspts[Node402ptslength-2] += 0;
- } else if (Node402rect.width === 0){
- Node402compspts[1] -= 0;
- Node402compspts[Node402ptslength-1] += 0;
- } else {
- Node402compspts[0] -= 0;
- Node402compspts[1] -= 0;
- Node402compspts[Node402ptslength-2] += 0;
- Node402compspts[Node402ptslength-1] += 0;
- }
- Node402 = new ht.Node();
- Node402.borderWidth = 1;
- Node402rect.width = Node402rect.width === 0 ? 0.0001 : Node402rect.width;
- Node402rect.height = Node402rect.height === 0 ? 0.0001 : Node402rect.height;
- var Node402endCompspts = [Node402compspts[Node402ptslength-2],Node402compspts[Node402ptslength-1],0,0];
- var Node402startCompspts = [Node402compspts[0],Node402compspts[1],0,0];
- Node402.setImage(GD.getPolyLineJSON());
- Node402.setPosition(Node402rect.x+Node402rect.width/2,Node402rect.y+Node402rect.height/2);
- Node402.setSize(Node402rect.width,Node402rect.height);
- Node402.setStyle("opacity",1);
- Node402.s({'pixelPerfect':true});
- Node402borderwidth=1;
- Node402.setRotation(0);
- dataModel.add(Node402);
- Node402.a('node.points',Node402compspts);
- Node402.a('node.segments',[1,2]);
- Node402.a('node.color','rgba(255,128,0,1)');
- Node402.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node402.a('node.borderColor','rgba(255,128,0,1)');
- Node402.a('node.background','rgba(255,128,0,1)');
- Node402.a('node.gradient','');
- Node402.a('node.gradientcolor','rgba(255,128,0,1)');
- Node402.a('node.endCompspts',Node402endCompspts);
- Node402.a('node.startCompspts',Node402startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node402';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node402, Node402.getImage(), Node402compspts, Node402endCompspts, Node402startCompspts);
- var Node403points=[1380, 662,1380, 652],
- Node403rect=ht.Default.unionPoint([{x:1380,y:662},{x:1380,y:652}]),
- Node403compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node403points.length;i++){
- if(i%2==0){
- Node403compspts.push(Node403points[i]-Node403rect.x);
- }else{
- Node403compspts.push(Node403points[i]-Node403rect.y);
- }
- }
- var Node403ptslength=Node403compspts.length;
- if (Node403rect.height === 0) {
- Node403compspts[0] -= 0;
- Node403compspts[Node403ptslength-2] += 0;
- } else if (Node403rect.width === 0){
- Node403compspts[1] -= 0;
- Node403compspts[Node403ptslength-1] += 0;
- } else {
- Node403compspts[0] -= 0;
- Node403compspts[1] -= 0;
- Node403compspts[Node403ptslength-2] += 0;
- Node403compspts[Node403ptslength-1] += 0;
- }
- Node403 = new ht.Node();
- Node403.borderWidth = 1;
- Node403rect.width = Node403rect.width === 0 ? 0.0001 : Node403rect.width;
- Node403rect.height = Node403rect.height === 0 ? 0.0001 : Node403rect.height;
- var Node403endCompspts = [Node403compspts[Node403ptslength-2],Node403compspts[Node403ptslength-1],0,0];
- var Node403startCompspts = [Node403compspts[0],Node403compspts[1],0,0];
- Node403.setImage(GD.getPolyLineJSON());
- Node403.setPosition(Node403rect.x+Node403rect.width/2,Node403rect.y+Node403rect.height/2);
- Node403.setSize(Node403rect.width,Node403rect.height);
- Node403.setStyle("opacity",1);
- Node403.s({'pixelPerfect':true});
- Node403borderwidth=1;
- Node403.setRotation(0);
- dataModel.add(Node403);
- Node403.a('node.points',Node403compspts);
- Node403.a('node.segments',[1,2]);
- Node403.a('node.color','rgba(255,128,0,1)');
- Node403.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node403.a('node.borderColor','rgba(255,128,0,1)');
- Node403.a('node.background','rgba(255,128,0,1)');
- Node403.a('node.gradient','');
- Node403.a('node.gradientcolor','rgba(255,128,0,1)');
- Node403.a('node.endCompspts',Node403endCompspts);
- Node403.a('node.startCompspts',Node403startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node403';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node403, Node403.getImage(), Node403compspts, Node403endCompspts, Node403startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node404 = new ht.lib['黄色接地'](1380*ratio.ratioX, 687*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node404');
- _libModel.add("Node404", Node404);
- Node404.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node405 = new ht.lib['矩形箭头上'](1340*ratio.ratioX, 679*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node405');
- _libModel.add("Node405", Node405);
- Node405.setRotation(0*Math.PI/180);
- ;
- ;
- var Node406points=[1360, 642,1360, 732],
- Node406rect=ht.Default.unionPoint([{x:1360,y:642},{x:1360,y:732}]),
- Node406compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node406points.length;i++){
- if(i%2==0){
- Node406compspts.push(Node406points[i]-Node406rect.x);
- }else{
- Node406compspts.push(Node406points[i]-Node406rect.y);
- }
- }
- var Node406ptslength=Node406compspts.length;
- if (Node406rect.height === 0) {
- Node406compspts[0] -= 0;
- Node406compspts[Node406ptslength-2] += 0;
- } else if (Node406rect.width === 0){
- Node406compspts[1] -= 0;
- Node406compspts[Node406ptslength-1] += 0;
- } else {
- Node406compspts[0] -= 0;
- Node406compspts[1] -= 0;
- Node406compspts[Node406ptslength-2] += 0;
- Node406compspts[Node406ptslength-1] += 0;
- }
- Node406 = new ht.Node();
- Node406.borderWidth = 1;
- Node406rect.width = Node406rect.width === 0 ? 0.0001 : Node406rect.width;
- Node406rect.height = Node406rect.height === 0 ? 0.0001 : Node406rect.height;
- var Node406endCompspts = [Node406compspts[Node406ptslength-2],Node406compspts[Node406ptslength-1],0,0];
- var Node406startCompspts = [Node406compspts[0],Node406compspts[1],0,0];
- Node406.setImage(GD.getPolyLineJSON());
- Node406.setPosition(Node406rect.x+Node406rect.width/2,Node406rect.y+Node406rect.height/2);
- Node406.setSize(Node406rect.width,Node406rect.height);
- Node406.setStyle("opacity",1);
- Node406.s({'pixelPerfect':true});
- Node406borderwidth=1;
- Node406.setRotation(0);
- dataModel.add(Node406);
- Node406.a('node.points',Node406compspts);
- Node406.a('node.segments',[1,2]);
- Node406.a('node.color','rgba(255,128,0,1)');
- Node406.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node406.a('node.borderColor','rgba(255,128,0,1)');
- Node406.a('node.background','rgba(255,128,0,1)');
- Node406.a('node.gradient','');
- Node406.a('node.gradientcolor','rgba(255,128,0,1)');
- Node406.a('node.endCompspts',Node406endCompspts);
- Node406.a('node.startCompspts',Node406startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node406';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node406, Node406.getImage(), Node406compspts, Node406endCompspts, Node406startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node407 = new ht.lib['img'](1359*ratio.ratioX, 731*ratio.ratioY, 9*_ratio.ratioX, 10*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node407');
- _libModel.add("Node407", Node407);
- Node407.setRotation(180*Math.PI/180);
- ;
- ;
- var Node408points=[1430, 651,1470, 651],
- Node408rect=ht.Default.unionPoint([{x:1430,y:651},{x:1470,y:651}]),
- Node408compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node408points.length;i++){
- if(i%2==0){
- Node408compspts.push(Node408points[i]-Node408rect.x);
- }else{
- Node408compspts.push(Node408points[i]-Node408rect.y);
- }
- }
- var Node408ptslength=Node408compspts.length;
- if (Node408rect.height === 0) {
- Node408compspts[0] -= 0;
- Node408compspts[Node408ptslength-2] += 0;
- } else if (Node408rect.width === 0){
- Node408compspts[1] -= 0;
- Node408compspts[Node408ptslength-1] += 0;
- } else {
- Node408compspts[0] -= 0;
- Node408compspts[1] -= 0;
- Node408compspts[Node408ptslength-2] += 0;
- Node408compspts[Node408ptslength-1] += 0;
- }
- Node408 = new ht.Node();
- Node408.borderWidth = 1;
- Node408rect.width = Node408rect.width === 0 ? 0.0001 : Node408rect.width;
- Node408rect.height = Node408rect.height === 0 ? 0.0001 : Node408rect.height;
- var Node408endCompspts = [Node408compspts[Node408ptslength-2],Node408compspts[Node408ptslength-1],0,0];
- var Node408startCompspts = [Node408compspts[0],Node408compspts[1],0,0];
- Node408.setImage(GD.getPolyLineJSON());
- Node408.setPosition(Node408rect.x+Node408rect.width/2,Node408rect.y+Node408rect.height/2);
- Node408.setSize(Node408rect.width,Node408rect.height);
- Node408.setStyle("opacity",1);
- Node408.s({'pixelPerfect':true});
- Node408borderwidth=1;
- Node408.setRotation(0);
- dataModel.add(Node408);
- Node408.a('node.points',Node408compspts);
- Node408.a('node.segments',[1,2]);
- Node408.a('node.color','rgba(255,128,0,1)');
- Node408.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node408.a('node.borderColor','rgba(255,128,0,1)');
- Node408.a('node.background','rgba(255,128,0,1)');
- Node408.a('node.gradient','');
- Node408.a('node.gradientcolor','rgba(255,128,0,1)');
- Node408.a('node.endCompspts',Node408endCompspts);
- Node408.a('node.startCompspts',Node408startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node408';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node408, Node408.getImage(), Node408compspts, Node408endCompspts, Node408startCompspts);
- var Node409points=[1470, 662,1470, 652],
- Node409rect=ht.Default.unionPoint([{x:1470,y:662},{x:1470,y:652}]),
- Node409compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node409points.length;i++){
- if(i%2==0){
- Node409compspts.push(Node409points[i]-Node409rect.x);
- }else{
- Node409compspts.push(Node409points[i]-Node409rect.y);
- }
- }
- var Node409ptslength=Node409compspts.length;
- if (Node409rect.height === 0) {
- Node409compspts[0] -= 0;
- Node409compspts[Node409ptslength-2] += 0;
- } else if (Node409rect.width === 0){
- Node409compspts[1] -= 0;
- Node409compspts[Node409ptslength-1] += 0;
- } else {
- Node409compspts[0] -= 0;
- Node409compspts[1] -= 0;
- Node409compspts[Node409ptslength-2] += 0;
- Node409compspts[Node409ptslength-1] += 0;
- }
- Node409 = new ht.Node();
- Node409.borderWidth = 1;
- Node409rect.width = Node409rect.width === 0 ? 0.0001 : Node409rect.width;
- Node409rect.height = Node409rect.height === 0 ? 0.0001 : Node409rect.height;
- var Node409endCompspts = [Node409compspts[Node409ptslength-2],Node409compspts[Node409ptslength-1],0,0];
- var Node409startCompspts = [Node409compspts[0],Node409compspts[1],0,0];
- Node409.setImage(GD.getPolyLineJSON());
- Node409.setPosition(Node409rect.x+Node409rect.width/2,Node409rect.y+Node409rect.height/2);
- Node409.setSize(Node409rect.width,Node409rect.height);
- Node409.setStyle("opacity",1);
- Node409.s({'pixelPerfect':true});
- Node409borderwidth=1;
- Node409.setRotation(0);
- dataModel.add(Node409);
- Node409.a('node.points',Node409compspts);
- Node409.a('node.segments',[1,2]);
- Node409.a('node.color','rgba(255,128,0,1)');
- Node409.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node409.a('node.borderColor','rgba(255,128,0,1)');
- Node409.a('node.background','rgba(255,128,0,1)');
- Node409.a('node.gradient','');
- Node409.a('node.gradientcolor','rgba(255,128,0,1)');
- Node409.a('node.endCompspts',Node409endCompspts);
- Node409.a('node.startCompspts',Node409startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node409';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node409, Node409.getImage(), Node409compspts, Node409endCompspts, Node409startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node410 = new ht.lib['黄色接地'](1470*ratio.ratioX, 688*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node410');
- _libModel.add("Node410", Node410);
- Node410.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node411 = new ht.lib['矩形箭头上'](1430*ratio.ratioX, 679*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node411');
- _libModel.add("Node411", Node411);
- Node411.setRotation(0*Math.PI/180);
- ;
- ;
- var Node412points=[1450, 642,1450, 732],
- Node412rect=ht.Default.unionPoint([{x:1450,y:642},{x:1450,y:732}]),
- Node412compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node412points.length;i++){
- if(i%2==0){
- Node412compspts.push(Node412points[i]-Node412rect.x);
- }else{
- Node412compspts.push(Node412points[i]-Node412rect.y);
- }
- }
- var Node412ptslength=Node412compspts.length;
- if (Node412rect.height === 0) {
- Node412compspts[0] -= 0;
- Node412compspts[Node412ptslength-2] += 0;
- } else if (Node412rect.width === 0){
- Node412compspts[1] -= 0;
- Node412compspts[Node412ptslength-1] += 0;
- } else {
- Node412compspts[0] -= 0;
- Node412compspts[1] -= 0;
- Node412compspts[Node412ptslength-2] += 0;
- Node412compspts[Node412ptslength-1] += 0;
- }
- Node412 = new ht.Node();
- Node412.borderWidth = 1;
- Node412rect.width = Node412rect.width === 0 ? 0.0001 : Node412rect.width;
- Node412rect.height = Node412rect.height === 0 ? 0.0001 : Node412rect.height;
- var Node412endCompspts = [Node412compspts[Node412ptslength-2],Node412compspts[Node412ptslength-1],0,0];
- var Node412startCompspts = [Node412compspts[0],Node412compspts[1],0,0];
- Node412.setImage(GD.getPolyLineJSON());
- Node412.setPosition(Node412rect.x+Node412rect.width/2,Node412rect.y+Node412rect.height/2);
- Node412.setSize(Node412rect.width,Node412rect.height);
- Node412.setStyle("opacity",1);
- Node412.s({'pixelPerfect':true});
- Node412borderwidth=1;
- Node412.setRotation(0);
- dataModel.add(Node412);
- Node412.a('node.points',Node412compspts);
- Node412.a('node.segments',[1,2]);
- Node412.a('node.color','rgba(255,128,0,1)');
- Node412.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node412.a('node.borderColor','rgba(255,128,0,1)');
- Node412.a('node.background','rgba(255,128,0,1)');
- Node412.a('node.gradient','');
- Node412.a('node.gradientcolor','rgba(255,128,0,1)');
- Node412.a('node.endCompspts',Node412endCompspts);
- Node412.a('node.startCompspts',Node412startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node412';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node412, Node412.getImage(), Node412compspts, Node412endCompspts, Node412startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node413 = new ht.lib['img'](1449*ratio.ratioX, 731*ratio.ratioY, 9*_ratio.ratioX, 10*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node413');
- _libModel.add("Node413", Node413);
- Node413.setRotation(180*Math.PI/180);
- ;
- ;
- var Node414points=[1520, 651,1560, 651],
- Node414rect=ht.Default.unionPoint([{x:1520,y:651},{x:1560,y:651}]),
- Node414compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node414points.length;i++){
- if(i%2==0){
- Node414compspts.push(Node414points[i]-Node414rect.x);
- }else{
- Node414compspts.push(Node414points[i]-Node414rect.y);
- }
- }
- var Node414ptslength=Node414compspts.length;
- if (Node414rect.height === 0) {
- Node414compspts[0] -= 0;
- Node414compspts[Node414ptslength-2] += 0;
- } else if (Node414rect.width === 0){
- Node414compspts[1] -= 0;
- Node414compspts[Node414ptslength-1] += 0;
- } else {
- Node414compspts[0] -= 0;
- Node414compspts[1] -= 0;
- Node414compspts[Node414ptslength-2] += 0;
- Node414compspts[Node414ptslength-1] += 0;
- }
- Node414 = new ht.Node();
- Node414.borderWidth = 1;
- Node414rect.width = Node414rect.width === 0 ? 0.0001 : Node414rect.width;
- Node414rect.height = Node414rect.height === 0 ? 0.0001 : Node414rect.height;
- var Node414endCompspts = [Node414compspts[Node414ptslength-2],Node414compspts[Node414ptslength-1],0,0];
- var Node414startCompspts = [Node414compspts[0],Node414compspts[1],0,0];
- Node414.setImage(GD.getPolyLineJSON());
- Node414.setPosition(Node414rect.x+Node414rect.width/2,Node414rect.y+Node414rect.height/2);
- Node414.setSize(Node414rect.width,Node414rect.height);
- Node414.setStyle("opacity",1);
- Node414.s({'pixelPerfect':true});
- Node414borderwidth=1;
- Node414.setRotation(0);
- dataModel.add(Node414);
- Node414.a('node.points',Node414compspts);
- Node414.a('node.segments',[1,2]);
- Node414.a('node.color','rgba(255,128,0,1)');
- Node414.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node414.a('node.borderColor','rgba(255,128,0,1)');
- Node414.a('node.background','rgba(255,128,0,1)');
- Node414.a('node.gradient','');
- Node414.a('node.gradientcolor','rgba(255,128,0,1)');
- Node414.a('node.endCompspts',Node414endCompspts);
- Node414.a('node.startCompspts',Node414startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node414';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node414, Node414.getImage(), Node414compspts, Node414endCompspts, Node414startCompspts);
- var Node415points=[1560, 662,1560, 652],
- Node415rect=ht.Default.unionPoint([{x:1560,y:662},{x:1560,y:652}]),
- Node415compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node415points.length;i++){
- if(i%2==0){
- Node415compspts.push(Node415points[i]-Node415rect.x);
- }else{
- Node415compspts.push(Node415points[i]-Node415rect.y);
- }
- }
- var Node415ptslength=Node415compspts.length;
- if (Node415rect.height === 0) {
- Node415compspts[0] -= 0;
- Node415compspts[Node415ptslength-2] += 0;
- } else if (Node415rect.width === 0){
- Node415compspts[1] -= 0;
- Node415compspts[Node415ptslength-1] += 0;
- } else {
- Node415compspts[0] -= 0;
- Node415compspts[1] -= 0;
- Node415compspts[Node415ptslength-2] += 0;
- Node415compspts[Node415ptslength-1] += 0;
- }
- Node415 = new ht.Node();
- Node415.borderWidth = 1;
- Node415rect.width = Node415rect.width === 0 ? 0.0001 : Node415rect.width;
- Node415rect.height = Node415rect.height === 0 ? 0.0001 : Node415rect.height;
- var Node415endCompspts = [Node415compspts[Node415ptslength-2],Node415compspts[Node415ptslength-1],0,0];
- var Node415startCompspts = [Node415compspts[0],Node415compspts[1],0,0];
- Node415.setImage(GD.getPolyLineJSON());
- Node415.setPosition(Node415rect.x+Node415rect.width/2,Node415rect.y+Node415rect.height/2);
- Node415.setSize(Node415rect.width,Node415rect.height);
- Node415.setStyle("opacity",1);
- Node415.s({'pixelPerfect':true});
- Node415borderwidth=1;
- Node415.setRotation(0);
- dataModel.add(Node415);
- Node415.a('node.points',Node415compspts);
- Node415.a('node.segments',[1,2]);
- Node415.a('node.color','rgba(255,128,0,1)');
- Node415.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node415.a('node.borderColor','rgba(255,128,0,1)');
- Node415.a('node.background','rgba(255,128,0,1)');
- Node415.a('node.gradient','');
- Node415.a('node.gradientcolor','rgba(255,128,0,1)');
- Node415.a('node.endCompspts',Node415endCompspts);
- Node415.a('node.startCompspts',Node415startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node415';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node415, Node415.getImage(), Node415compspts, Node415endCompspts, Node415startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node416 = new ht.lib['黄色接地'](1560*ratio.ratioX, 688*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node416');
- _libModel.add("Node416", Node416);
- Node416.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node417 = new ht.lib['矩形箭头上'](1520*ratio.ratioX, 679*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node417');
- _libModel.add("Node417", Node417);
- Node417.setRotation(0*Math.PI/180);
- ;
- ;
- var Node418points=[1540, 642,1540, 732],
- Node418rect=ht.Default.unionPoint([{x:1540,y:642},{x:1540,y:732}]),
- Node418compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node418points.length;i++){
- if(i%2==0){
- Node418compspts.push(Node418points[i]-Node418rect.x);
- }else{
- Node418compspts.push(Node418points[i]-Node418rect.y);
- }
- }
- var Node418ptslength=Node418compspts.length;
- if (Node418rect.height === 0) {
- Node418compspts[0] -= 0;
- Node418compspts[Node418ptslength-2] += 0;
- } else if (Node418rect.width === 0){
- Node418compspts[1] -= 0;
- Node418compspts[Node418ptslength-1] += 0;
- } else {
- Node418compspts[0] -= 0;
- Node418compspts[1] -= 0;
- Node418compspts[Node418ptslength-2] += 0;
- Node418compspts[Node418ptslength-1] += 0;
- }
- Node418 = new ht.Node();
- Node418.borderWidth = 1;
- Node418rect.width = Node418rect.width === 0 ? 0.0001 : Node418rect.width;
- Node418rect.height = Node418rect.height === 0 ? 0.0001 : Node418rect.height;
- var Node418endCompspts = [Node418compspts[Node418ptslength-2],Node418compspts[Node418ptslength-1],0,0];
- var Node418startCompspts = [Node418compspts[0],Node418compspts[1],0,0];
- Node418.setImage(GD.getPolyLineJSON());
- Node418.setPosition(Node418rect.x+Node418rect.width/2,Node418rect.y+Node418rect.height/2);
- Node418.setSize(Node418rect.width,Node418rect.height);
- Node418.setStyle("opacity",1);
- Node418.s({'pixelPerfect':true});
- Node418borderwidth=1;
- Node418.setRotation(0);
- dataModel.add(Node418);
- Node418.a('node.points',Node418compspts);
- Node418.a('node.segments',[1,2]);
- Node418.a('node.color','rgba(255,128,0,1)');
- Node418.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node418.a('node.borderColor','rgba(255,128,0,1)');
- Node418.a('node.background','rgba(255,128,0,1)');
- Node418.a('node.gradient','');
- Node418.a('node.gradientcolor','rgba(255,128,0,1)');
- Node418.a('node.endCompspts',Node418endCompspts);
- Node418.a('node.startCompspts',Node418startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node418';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node418, Node418.getImage(), Node418compspts, Node418endCompspts, Node418startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node419 = new ht.lib['img'](1539*ratio.ratioX, 731*ratio.ratioY, 9*_ratio.ratioX, 10*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node419');
- _libModel.add("Node419", Node419);
- Node419.setRotation(180*Math.PI/180);
- ;
- ;
- var Node420points=[1610, 651,1650, 651],
- Node420rect=ht.Default.unionPoint([{x:1610,y:651},{x:1650,y:651}]),
- Node420compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node420points.length;i++){
- if(i%2==0){
- Node420compspts.push(Node420points[i]-Node420rect.x);
- }else{
- Node420compspts.push(Node420points[i]-Node420rect.y);
- }
- }
- var Node420ptslength=Node420compspts.length;
- if (Node420rect.height === 0) {
- Node420compspts[0] -= 0;
- Node420compspts[Node420ptslength-2] += 0;
- } else if (Node420rect.width === 0){
- Node420compspts[1] -= 0;
- Node420compspts[Node420ptslength-1] += 0;
- } else {
- Node420compspts[0] -= 0;
- Node420compspts[1] -= 0;
- Node420compspts[Node420ptslength-2] += 0;
- Node420compspts[Node420ptslength-1] += 0;
- }
- Node420 = new ht.Node();
- Node420.borderWidth = 1;
- Node420rect.width = Node420rect.width === 0 ? 0.0001 : Node420rect.width;
- Node420rect.height = Node420rect.height === 0 ? 0.0001 : Node420rect.height;
- var Node420endCompspts = [Node420compspts[Node420ptslength-2],Node420compspts[Node420ptslength-1],0,0];
- var Node420startCompspts = [Node420compspts[0],Node420compspts[1],0,0];
- Node420.setImage(GD.getPolyLineJSON());
- Node420.setPosition(Node420rect.x+Node420rect.width/2,Node420rect.y+Node420rect.height/2);
- Node420.setSize(Node420rect.width,Node420rect.height);
- Node420.setStyle("opacity",1);
- Node420.s({'pixelPerfect':true});
- Node420borderwidth=1;
- Node420.setRotation(0);
- dataModel.add(Node420);
- Node420.a('node.points',Node420compspts);
- Node420.a('node.segments',[1,2]);
- Node420.a('node.color','rgba(255,128,0,1)');
- Node420.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node420.a('node.borderColor','rgba(255,128,0,1)');
- Node420.a('node.background','rgba(255,128,0,1)');
- Node420.a('node.gradient','');
- Node420.a('node.gradientcolor','rgba(255,128,0,1)');
- Node420.a('node.endCompspts',Node420endCompspts);
- Node420.a('node.startCompspts',Node420startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node420';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node420, Node420.getImage(), Node420compspts, Node420endCompspts, Node420startCompspts);
- var Node421points=[1650, 662,1650, 652],
- Node421rect=ht.Default.unionPoint([{x:1650,y:662},{x:1650,y:652}]),
- Node421compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node421points.length;i++){
- if(i%2==0){
- Node421compspts.push(Node421points[i]-Node421rect.x);
- }else{
- Node421compspts.push(Node421points[i]-Node421rect.y);
- }
- }
- var Node421ptslength=Node421compspts.length;
- if (Node421rect.height === 0) {
- Node421compspts[0] -= 0;
- Node421compspts[Node421ptslength-2] += 0;
- } else if (Node421rect.width === 0){
- Node421compspts[1] -= 0;
- Node421compspts[Node421ptslength-1] += 0;
- } else {
- Node421compspts[0] -= 0;
- Node421compspts[1] -= 0;
- Node421compspts[Node421ptslength-2] += 0;
- Node421compspts[Node421ptslength-1] += 0;
- }
- Node421 = new ht.Node();
- Node421.borderWidth = 1;
- Node421rect.width = Node421rect.width === 0 ? 0.0001 : Node421rect.width;
- Node421rect.height = Node421rect.height === 0 ? 0.0001 : Node421rect.height;
- var Node421endCompspts = [Node421compspts[Node421ptslength-2],Node421compspts[Node421ptslength-1],0,0];
- var Node421startCompspts = [Node421compspts[0],Node421compspts[1],0,0];
- Node421.setImage(GD.getPolyLineJSON());
- Node421.setPosition(Node421rect.x+Node421rect.width/2,Node421rect.y+Node421rect.height/2);
- Node421.setSize(Node421rect.width,Node421rect.height);
- Node421.setStyle("opacity",1);
- Node421.s({'pixelPerfect':true});
- Node421borderwidth=1;
- Node421.setRotation(0);
- dataModel.add(Node421);
- Node421.a('node.points',Node421compspts);
- Node421.a('node.segments',[1,2]);
- Node421.a('node.color','rgba(255,128,0,1)');
- Node421.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node421.a('node.borderColor','rgba(255,128,0,1)');
- Node421.a('node.background','rgba(255,128,0,1)');
- Node421.a('node.gradient','');
- Node421.a('node.gradientcolor','rgba(255,128,0,1)');
- Node421.a('node.endCompspts',Node421endCompspts);
- Node421.a('node.startCompspts',Node421startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node421';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node421, Node421.getImage(), Node421compspts, Node421endCompspts, Node421startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node422 = new ht.lib['黄色接地'](1650*ratio.ratioX, 689*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node422');
- _libModel.add("Node422", Node422);
- Node422.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node423 = new ht.lib['矩形箭头上'](1610*ratio.ratioX, 679*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node423');
- _libModel.add("Node423", Node423);
- Node423.setRotation(0*Math.PI/180);
- ;
- ;
- var Node424points=[1630, 642,1630, 732],
- Node424rect=ht.Default.unionPoint([{x:1630,y:642},{x:1630,y:732}]),
- Node424compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node424points.length;i++){
- if(i%2==0){
- Node424compspts.push(Node424points[i]-Node424rect.x);
- }else{
- Node424compspts.push(Node424points[i]-Node424rect.y);
- }
- }
- var Node424ptslength=Node424compspts.length;
- if (Node424rect.height === 0) {
- Node424compspts[0] -= 0;
- Node424compspts[Node424ptslength-2] += 0;
- } else if (Node424rect.width === 0){
- Node424compspts[1] -= 0;
- Node424compspts[Node424ptslength-1] += 0;
- } else {
- Node424compspts[0] -= 0;
- Node424compspts[1] -= 0;
- Node424compspts[Node424ptslength-2] += 0;
- Node424compspts[Node424ptslength-1] += 0;
- }
- Node424 = new ht.Node();
- Node424.borderWidth = 1;
- Node424rect.width = Node424rect.width === 0 ? 0.0001 : Node424rect.width;
- Node424rect.height = Node424rect.height === 0 ? 0.0001 : Node424rect.height;
- var Node424endCompspts = [Node424compspts[Node424ptslength-2],Node424compspts[Node424ptslength-1],0,0];
- var Node424startCompspts = [Node424compspts[0],Node424compspts[1],0,0];
- Node424.setImage(GD.getPolyLineJSON());
- Node424.setPosition(Node424rect.x+Node424rect.width/2,Node424rect.y+Node424rect.height/2);
- Node424.setSize(Node424rect.width,Node424rect.height);
- Node424.setStyle("opacity",1);
- Node424.s({'pixelPerfect':true});
- Node424borderwidth=1;
- Node424.setRotation(0);
- dataModel.add(Node424);
- Node424.a('node.points',Node424compspts);
- Node424.a('node.segments',[1,2]);
- Node424.a('node.color','rgba(255,128,0,1)');
- Node424.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node424.a('node.borderColor','rgba(255,128,0,1)');
- Node424.a('node.background','rgba(255,128,0,1)');
- Node424.a('node.gradient','');
- Node424.a('node.gradientcolor','rgba(255,128,0,1)');
- Node424.a('node.endCompspts',Node424endCompspts);
- Node424.a('node.startCompspts',Node424startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node424';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node424, Node424.getImage(), Node424compspts, Node424endCompspts, Node424startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node425 = new ht.lib['img'](1629*ratio.ratioX, 731*ratio.ratioY, 9*_ratio.ratioX, 10*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node425');
- _libModel.add("Node425", Node425);
- Node425.setRotation(180*Math.PI/180);
- ;
- ;
- var Node426points=[1700, 651,1740, 651],
- Node426rect=ht.Default.unionPoint([{x:1700,y:651},{x:1740,y:651}]),
- Node426compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node426points.length;i++){
- if(i%2==0){
- Node426compspts.push(Node426points[i]-Node426rect.x);
- }else{
- Node426compspts.push(Node426points[i]-Node426rect.y);
- }
- }
- var Node426ptslength=Node426compspts.length;
- if (Node426rect.height === 0) {
- Node426compspts[0] -= 0;
- Node426compspts[Node426ptslength-2] += 0;
- } else if (Node426rect.width === 0){
- Node426compspts[1] -= 0;
- Node426compspts[Node426ptslength-1] += 0;
- } else {
- Node426compspts[0] -= 0;
- Node426compspts[1] -= 0;
- Node426compspts[Node426ptslength-2] += 0;
- Node426compspts[Node426ptslength-1] += 0;
- }
- Node426 = new ht.Node();
- Node426.borderWidth = 1;
- Node426rect.width = Node426rect.width === 0 ? 0.0001 : Node426rect.width;
- Node426rect.height = Node426rect.height === 0 ? 0.0001 : Node426rect.height;
- var Node426endCompspts = [Node426compspts[Node426ptslength-2],Node426compspts[Node426ptslength-1],0,0];
- var Node426startCompspts = [Node426compspts[0],Node426compspts[1],0,0];
- Node426.setImage(GD.getPolyLineJSON());
- Node426.setPosition(Node426rect.x+Node426rect.width/2,Node426rect.y+Node426rect.height/2);
- Node426.setSize(Node426rect.width,Node426rect.height);
- Node426.setStyle("opacity",1);
- Node426.s({'pixelPerfect':true});
- Node426borderwidth=1;
- Node426.setRotation(0);
- dataModel.add(Node426);
- Node426.a('node.points',Node426compspts);
- Node426.a('node.segments',[1,2]);
- Node426.a('node.color','rgba(255,128,0,1)');
- Node426.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node426.a('node.borderColor','rgba(255,128,0,1)');
- Node426.a('node.background','rgba(255,128,0,1)');
- Node426.a('node.gradient','');
- Node426.a('node.gradientcolor','rgba(255,128,0,1)');
- Node426.a('node.endCompspts',Node426endCompspts);
- Node426.a('node.startCompspts',Node426startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node426';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node426, Node426.getImage(), Node426compspts, Node426endCompspts, Node426startCompspts);
- var Node427points=[1740, 662,1740, 652],
- Node427rect=ht.Default.unionPoint([{x:1740,y:662},{x:1740,y:652}]),
- Node427compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node427points.length;i++){
- if(i%2==0){
- Node427compspts.push(Node427points[i]-Node427rect.x);
- }else{
- Node427compspts.push(Node427points[i]-Node427rect.y);
- }
- }
- var Node427ptslength=Node427compspts.length;
- if (Node427rect.height === 0) {
- Node427compspts[0] -= 0;
- Node427compspts[Node427ptslength-2] += 0;
- } else if (Node427rect.width === 0){
- Node427compspts[1] -= 0;
- Node427compspts[Node427ptslength-1] += 0;
- } else {
- Node427compspts[0] -= 0;
- Node427compspts[1] -= 0;
- Node427compspts[Node427ptslength-2] += 0;
- Node427compspts[Node427ptslength-1] += 0;
- }
- Node427 = new ht.Node();
- Node427.borderWidth = 1;
- Node427rect.width = Node427rect.width === 0 ? 0.0001 : Node427rect.width;
- Node427rect.height = Node427rect.height === 0 ? 0.0001 : Node427rect.height;
- var Node427endCompspts = [Node427compspts[Node427ptslength-2],Node427compspts[Node427ptslength-1],0,0];
- var Node427startCompspts = [Node427compspts[0],Node427compspts[1],0,0];
- Node427.setImage(GD.getPolyLineJSON());
- Node427.setPosition(Node427rect.x+Node427rect.width/2,Node427rect.y+Node427rect.height/2);
- Node427.setSize(Node427rect.width,Node427rect.height);
- Node427.setStyle("opacity",1);
- Node427.s({'pixelPerfect':true});
- Node427borderwidth=1;
- Node427.setRotation(0);
- dataModel.add(Node427);
- Node427.a('node.points',Node427compspts);
- Node427.a('node.segments',[1,2]);
- Node427.a('node.color','rgba(255,128,0,1)');
- Node427.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node427.a('node.borderColor','rgba(255,128,0,1)');
- Node427.a('node.background','rgba(255,128,0,1)');
- Node427.a('node.gradient','');
- Node427.a('node.gradientcolor','rgba(255,128,0,1)');
- Node427.a('node.endCompspts',Node427endCompspts);
- Node427.a('node.startCompspts',Node427startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node427';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node427, Node427.getImage(), Node427compspts, Node427endCompspts, Node427startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node428 = new ht.lib['黄色接地'](1740*ratio.ratioX, 689*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node428');
- _libModel.add("Node428", Node428);
- Node428.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node429 = new ht.lib['矩形箭头上'](1700*ratio.ratioX, 679*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node429');
- _libModel.add("Node429", Node429);
- Node429.setRotation(0*Math.PI/180);
- ;
- ;
- var Node430points=[1720, 642,1720, 732],
- Node430rect=ht.Default.unionPoint([{x:1720,y:642},{x:1720,y:732}]),
- Node430compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node430points.length;i++){
- if(i%2==0){
- Node430compspts.push(Node430points[i]-Node430rect.x);
- }else{
- Node430compspts.push(Node430points[i]-Node430rect.y);
- }
- }
- var Node430ptslength=Node430compspts.length;
- if (Node430rect.height === 0) {
- Node430compspts[0] -= 0;
- Node430compspts[Node430ptslength-2] += 0;
- } else if (Node430rect.width === 0){
- Node430compspts[1] -= 0;
- Node430compspts[Node430ptslength-1] += 0;
- } else {
- Node430compspts[0] -= 0;
- Node430compspts[1] -= 0;
- Node430compspts[Node430ptslength-2] += 0;
- Node430compspts[Node430ptslength-1] += 0;
- }
- Node430 = new ht.Node();
- Node430.borderWidth = 1;
- Node430rect.width = Node430rect.width === 0 ? 0.0001 : Node430rect.width;
- Node430rect.height = Node430rect.height === 0 ? 0.0001 : Node430rect.height;
- var Node430endCompspts = [Node430compspts[Node430ptslength-2],Node430compspts[Node430ptslength-1],0,0];
- var Node430startCompspts = [Node430compspts[0],Node430compspts[1],0,0];
- Node430.setImage(GD.getPolyLineJSON());
- Node430.setPosition(Node430rect.x+Node430rect.width/2,Node430rect.y+Node430rect.height/2);
- Node430.setSize(Node430rect.width,Node430rect.height);
- Node430.setStyle("opacity",1);
- Node430.s({'pixelPerfect':true});
- Node430borderwidth=1;
- Node430.setRotation(0);
- dataModel.add(Node430);
- Node430.a('node.points',Node430compspts);
- Node430.a('node.segments',[1,2]);
- Node430.a('node.color','rgba(255,128,0,1)');
- Node430.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node430.a('node.borderColor','rgba(255,128,0,1)');
- Node430.a('node.background','rgba(255,128,0,1)');
- Node430.a('node.gradient','');
- Node430.a('node.gradientcolor','rgba(255,128,0,1)');
- Node430.a('node.endCompspts',Node430endCompspts);
- Node430.a('node.startCompspts',Node430startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node430';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node430, Node430.getImage(), Node430compspts, Node430endCompspts, Node430startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node431 = new ht.lib['img'](1719*ratio.ratioX, 731*ratio.ratioY, 9*_ratio.ratioX, 10*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node431');
- _libModel.add("Node431", Node431);
- Node431.setRotation(180*Math.PI/180);
- ;
- ;
- var Node432points=[1790, 651,1830, 651],
- Node432rect=ht.Default.unionPoint([{x:1790,y:651},{x:1830,y:651}]),
- Node432compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node432points.length;i++){
- if(i%2==0){
- Node432compspts.push(Node432points[i]-Node432rect.x);
- }else{
- Node432compspts.push(Node432points[i]-Node432rect.y);
- }
- }
- var Node432ptslength=Node432compspts.length;
- if (Node432rect.height === 0) {
- Node432compspts[0] -= 0;
- Node432compspts[Node432ptslength-2] += 0;
- } else if (Node432rect.width === 0){
- Node432compspts[1] -= 0;
- Node432compspts[Node432ptslength-1] += 0;
- } else {
- Node432compspts[0] -= 0;
- Node432compspts[1] -= 0;
- Node432compspts[Node432ptslength-2] += 0;
- Node432compspts[Node432ptslength-1] += 0;
- }
- Node432 = new ht.Node();
- Node432.borderWidth = 1;
- Node432rect.width = Node432rect.width === 0 ? 0.0001 : Node432rect.width;
- Node432rect.height = Node432rect.height === 0 ? 0.0001 : Node432rect.height;
- var Node432endCompspts = [Node432compspts[Node432ptslength-2],Node432compspts[Node432ptslength-1],0,0];
- var Node432startCompspts = [Node432compspts[0],Node432compspts[1],0,0];
- Node432.setImage(GD.getPolyLineJSON());
- Node432.setPosition(Node432rect.x+Node432rect.width/2,Node432rect.y+Node432rect.height/2);
- Node432.setSize(Node432rect.width,Node432rect.height);
- Node432.setStyle("opacity",1);
- Node432.s({'pixelPerfect':true});
- Node432borderwidth=1;
- Node432.setRotation(0);
- dataModel.add(Node432);
- Node432.a('node.points',Node432compspts);
- Node432.a('node.segments',[1,2]);
- Node432.a('node.color','rgba(255,128,0,1)');
- Node432.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node432.a('node.borderColor','rgba(255,128,0,1)');
- Node432.a('node.background','rgba(255,128,0,1)');
- Node432.a('node.gradient','');
- Node432.a('node.gradientcolor','rgba(255,128,0,1)');
- Node432.a('node.endCompspts',Node432endCompspts);
- Node432.a('node.startCompspts',Node432startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node432';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node432, Node432.getImage(), Node432compspts, Node432endCompspts, Node432startCompspts);
- var Node433points=[1830, 662,1830, 652],
- Node433rect=ht.Default.unionPoint([{x:1830,y:662},{x:1830,y:652}]),
- Node433compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node433points.length;i++){
- if(i%2==0){
- Node433compspts.push(Node433points[i]-Node433rect.x);
- }else{
- Node433compspts.push(Node433points[i]-Node433rect.y);
- }
- }
- var Node433ptslength=Node433compspts.length;
- if (Node433rect.height === 0) {
- Node433compspts[0] -= 0;
- Node433compspts[Node433ptslength-2] += 0;
- } else if (Node433rect.width === 0){
- Node433compspts[1] -= 0;
- Node433compspts[Node433ptslength-1] += 0;
- } else {
- Node433compspts[0] -= 0;
- Node433compspts[1] -= 0;
- Node433compspts[Node433ptslength-2] += 0;
- Node433compspts[Node433ptslength-1] += 0;
- }
- Node433 = new ht.Node();
- Node433.borderWidth = 1;
- Node433rect.width = Node433rect.width === 0 ? 0.0001 : Node433rect.width;
- Node433rect.height = Node433rect.height === 0 ? 0.0001 : Node433rect.height;
- var Node433endCompspts = [Node433compspts[Node433ptslength-2],Node433compspts[Node433ptslength-1],0,0];
- var Node433startCompspts = [Node433compspts[0],Node433compspts[1],0,0];
- Node433.setImage(GD.getPolyLineJSON());
- Node433.setPosition(Node433rect.x+Node433rect.width/2,Node433rect.y+Node433rect.height/2);
- Node433.setSize(Node433rect.width,Node433rect.height);
- Node433.setStyle("opacity",1);
- Node433.s({'pixelPerfect':true});
- Node433borderwidth=1;
- Node433.setRotation(0);
- dataModel.add(Node433);
- Node433.a('node.points',Node433compspts);
- Node433.a('node.segments',[1,2]);
- Node433.a('node.color','rgba(255,128,0,1)');
- Node433.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node433.a('node.borderColor','rgba(255,128,0,1)');
- Node433.a('node.background','rgba(255,128,0,1)');
- Node433.a('node.gradient','');
- Node433.a('node.gradientcolor','rgba(255,128,0,1)');
- Node433.a('node.endCompspts',Node433endCompspts);
- Node433.a('node.startCompspts',Node433startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node433';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node433, Node433.getImage(), Node433compspts, Node433endCompspts, Node433startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node434 = new ht.lib['黄色接地'](1830*ratio.ratioX, 688*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node434');
- _libModel.add("Node434", Node434);
- Node434.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node435 = new ht.lib['矩形箭头上'](1790*ratio.ratioX, 679*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node435');
- _libModel.add("Node435", Node435);
- Node435.setRotation(0*Math.PI/180);
- ;
- ;
- var Node436points=[1810, 642,1810, 732],
- Node436rect=ht.Default.unionPoint([{x:1810,y:642},{x:1810,y:732}]),
- Node436compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node436points.length;i++){
- if(i%2==0){
- Node436compspts.push(Node436points[i]-Node436rect.x);
- }else{
- Node436compspts.push(Node436points[i]-Node436rect.y);
- }
- }
- var Node436ptslength=Node436compspts.length;
- if (Node436rect.height === 0) {
- Node436compspts[0] -= 0;
- Node436compspts[Node436ptslength-2] += 0;
- } else if (Node436rect.width === 0){
- Node436compspts[1] -= 0;
- Node436compspts[Node436ptslength-1] += 0;
- } else {
- Node436compspts[0] -= 0;
- Node436compspts[1] -= 0;
- Node436compspts[Node436ptslength-2] += 0;
- Node436compspts[Node436ptslength-1] += 0;
- }
- Node436 = new ht.Node();
- Node436.borderWidth = 1;
- Node436rect.width = Node436rect.width === 0 ? 0.0001 : Node436rect.width;
- Node436rect.height = Node436rect.height === 0 ? 0.0001 : Node436rect.height;
- var Node436endCompspts = [Node436compspts[Node436ptslength-2],Node436compspts[Node436ptslength-1],0,0];
- var Node436startCompspts = [Node436compspts[0],Node436compspts[1],0,0];
- Node436.setImage(GD.getPolyLineJSON());
- Node436.setPosition(Node436rect.x+Node436rect.width/2,Node436rect.y+Node436rect.height/2);
- Node436.setSize(Node436rect.width,Node436rect.height);
- Node436.setStyle("opacity",1);
- Node436.s({'pixelPerfect':true});
- Node436borderwidth=1;
- Node436.setRotation(0);
- dataModel.add(Node436);
- Node436.a('node.points',Node436compspts);
- Node436.a('node.segments',[1,2]);
- Node436.a('node.color','rgba(255,128,0,1)');
- Node436.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node436.a('node.borderColor','rgba(255,128,0,1)');
- Node436.a('node.background','rgba(255,128,0,1)');
- Node436.a('node.gradient','');
- Node436.a('node.gradientcolor','rgba(255,128,0,1)');
- Node436.a('node.endCompspts',Node436endCompspts);
- Node436.a('node.startCompspts',Node436startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node436';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node436, Node436.getImage(), Node436compspts, Node436endCompspts, Node436startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node437 = new ht.lib['img'](1809*ratio.ratioX, 731*ratio.ratioY, 9*_ratio.ratioX, 10*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node437');
- _libModel.add("Node437", Node437);
- Node437.setRotation(180*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node438 = new ht.lib['倒置 接地刀闸通用图元'](190*ratio.ratioX, 671*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0796',}, function (){return {}}, 'Node438');
- _libModel.add("Node438", Node438);
- Node438.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node439 = new ht.lib['倒置 接地刀闸通用图元'](280*ratio.ratioX, 671*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0769',}, function (){return {}}, 'Node439');
- _libModel.add("Node439", Node439);
- Node439.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node440 = new ht.lib['倒置 接地刀闸通用图元'](370*ratio.ratioX, 671*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0822',}, function (){return {}}, 'Node440');
- _libModel.add("Node440", Node440);
- Node440.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node441 = new ht.lib['倒置 接地刀闸通用图元'](460*ratio.ratioX, 671*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0707',}, function (){return {}}, 'Node441');
- _libModel.add("Node441", Node441);
- Node441.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node442 = new ht.lib['倒置 接地刀闸通用图元'](570*ratio.ratioX, 672*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0742',}, function (){return {}}, 'Node442');
- _libModel.add("Node442", Node442);
- Node442.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node443 = new ht.lib['倒置 接地刀闸通用图元'](660*ratio.ratioX, 672*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0628',}, function (){return {}}, 'Node443');
- _libModel.add("Node443", Node443);
- Node443.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node444 = new ht.lib['倒置 接地刀闸通用图元'](750*ratio.ratioX, 672*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0655',}, function (){return {}}, 'Node444');
- _libModel.add("Node444", Node444);
- Node444.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node445 = new ht.lib['倒置 接地刀闸通用图元'](840*ratio.ratioX, 672*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0682',}, function (){return {}}, 'Node445');
- _libModel.add("Node445", Node445);
- Node445.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node446 = new ht.lib['倒置 接地刀闸通用图元'](1110*ratio.ratioX, 672*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1003',}, function (){return {}}, 'Node446');
- _libModel.add("Node446", Node446);
- Node446.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node447 = new ht.lib['倒置 接地刀闸通用图元'](1200*ratio.ratioX, 672*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0983',}, function (){return {}}, 'Node447');
- _libModel.add("Node447", Node447);
- Node447.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node448 = new ht.lib['倒置 接地刀闸通用图元'](1290*ratio.ratioX, 672*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0959',}, function (){return {}}, 'Node448');
- _libModel.add("Node448", Node448);
- Node448.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node449 = new ht.lib['倒置 接地刀闸通用图元'](1380*ratio.ratioX, 671*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0936',}, function (){return {}}, 'Node449');
- _libModel.add("Node449", Node449);
- Node449.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node450 = new ht.lib['倒置 接地刀闸通用图元'](1470*ratio.ratioX, 671*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0913',}, function (){return {}}, 'Node450');
- _libModel.add("Node450", Node450);
- Node450.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node451 = new ht.lib['倒置 接地刀闸通用图元'](1560*ratio.ratioX, 671*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1184',}, function (){return {}}, 'Node451');
- _libModel.add("Node451", Node451);
- Node451.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node452 = new ht.lib['倒置 接地刀闸通用图元'](1650*ratio.ratioX, 671*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1135',}, function (){return {}}, 'Node452');
- _libModel.add("Node452", Node452);
- Node452.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node453 = new ht.lib['倒置 接地刀闸通用图元'](1740*ratio.ratioX, 671*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1157',}, function (){return {}}, 'Node453');
- _libModel.add("Node453", Node453);
- Node453.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node454 = new ht.lib['倒置 接地刀闸通用图元'](1830*ratio.ratioX, 669*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1178',}, function (){return {}}, 'Node454');
- _libModel.add("Node454", Node454);
- Node454.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node455 = new ht.lib['开关通用图元'](540*ratio.ratioX, 228*ratio.ratioY, 19*_ratio.ratioX, 24*_ratio.ratioY, 0*Math.PI/180, {xianshi:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1197',}, function (){return {}}, 'Node455');
- _libModel.add("Node455", Node455);
- Node455.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node456 = new ht.lib['开关通用图元'](540*ratio.ratioX, 317*ratio.ratioY, 19*_ratio.ratioX, 24*_ratio.ratioY, 0*Math.PI/180, {xianshi:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1194',}, function (){return {}}, 'Node456');
- _libModel.add("Node456", Node456);
- Node456.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457 = new ht.lib['开关通用图元'](1080*ratio.ratioX, 231*ratio.ratioY, 19*_ratio.ratioX, 24*_ratio.ratioY, 0*Math.PI/180, {xianshi:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0396',}, function (){return {}}, 'Node457');
- _libModel.add("Node457", Node457);
- Node457.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node458 = new ht.lib['开关通用图元'](1080*ratio.ratioX, 315*ratio.ratioY, 19*_ratio.ratioX, 24*_ratio.ratioY, 0*Math.PI/180, {xianshi:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0393',}, function (){return {}}, 'Node458');
- _libModel.add("Node458", Node458);
- Node458.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node459 = new ht.lib['开关通用图元'](1540*ratio.ratioX, 289*ratio.ratioY, 19*_ratio.ratioX, 24*_ratio.ratioY, 0*Math.PI/180, {xianshi:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0448',}, function (){return {}}, 'Node459');
- _libModel.add("Node459", Node459);
- Node459.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node460 = new ht.lib['开关通用图元'](540*ratio.ratioX, 370*ratio.ratioY, 19*_ratio.ratioX, 24*_ratio.ratioY, 0*Math.PI/180, {xianshi:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0534',}, function (){return {}}, 'Node460');
- _libModel.add("Node460", Node460);
- Node460.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node461 = new ht.lib['开关通用图元'](540*ratio.ratioX, 438*ratio.ratioY, 19*_ratio.ratioX, 24*_ratio.ratioY, 0*Math.PI/180, {xianshi:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0537',}, function (){return {}}, 'Node461');
- _libModel.add("Node461", Node461);
- Node461.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node462 = new ht.lib['开关通用图元'](210*ratio.ratioX, 535*ratio.ratioY, 19*_ratio.ratioX, 24*_ratio.ratioY, 0*Math.PI/180, {xianshi:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0458',}, function (){return {}}, 'Node462');
- _libModel.add("Node462", Node462);
- Node462.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node463 = new ht.lib['开关通用图元'](1080*ratio.ratioX, 367*ratio.ratioY, 19*_ratio.ratioX, 24*_ratio.ratioY, 0*Math.PI/180, {xianshi:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1008',}, function (){return {}}, 'Node463');
- _libModel.add("Node463", Node463);
- Node463.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node464 = new ht.lib['开关通用图元'](1080*ratio.ratioX, 438*ratio.ratioY, 19*_ratio.ratioX, 24*_ratio.ratioY, 0*Math.PI/180, {xianshi:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1010',}, function (){return {}}, 'Node464');
- _libModel.add("Node464", Node464);
- Node464.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node465 = new ht.lib['开关通用图元'](1540*ratio.ratioX, 534*ratio.ratioY, 19*_ratio.ratioX, 24*_ratio.ratioY, 0*Math.PI/180, {xianshi:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0884',}, function (){return {}}, 'Node465');
- _libModel.add("Node465", Node465);
- Node465.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node466 = new ht.lib['断路器通用图元'](540*ratio.ratioX, 270*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1188',}, function (){return {}}, 'Node466');
- _libModel.add("Node466", Node466);
- Node466.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node467 = new ht.lib['断路器通用图元'](1080*ratio.ratioX, 274*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0387',}, function (){return {}}, 'Node467');
- _libModel.add("Node467", Node467);
- Node467.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node468 = new ht.lib['断路器通用图元'](540*ratio.ratioX, 404*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0528',}, function (){return {}}, 'Node468');
- _libModel.add("Node468", Node468);
- Node468.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node469 = new ht.lib['断路器通用图元'](540*ratio.ratioX, 541*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0574',}, function (){return {}}, 'Node469');
- _libModel.add("Node469", Node469);
- Node469.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node470 = new ht.lib['断路器通用图元'](1080*ratio.ratioX, 400*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1007',}, function (){return {}}, 'Node470');
- _libModel.add("Node470", Node470);
- Node470.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node471 = new ht.lib['断路器通用图元'](1080*ratio.ratioX, 541*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1062',}, function (){return {}}, 'Node471');
- _libModel.add("Node471", Node471);
- Node471.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node472 = new ht.lib['断路器通用图元'](80*ratio.ratioX, 618*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0852',}, function (){return {}}, 'Node472');
- _libModel.add("Node472", Node472);
- Node472.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node473 = new ht.lib['断路器通用图元'](170*ratio.ratioX, 618*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0792',}, function (){return {}}, 'Node473');
- _libModel.add("Node473", Node473);
- Node473.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node474 = new ht.lib['断路器通用图元'](260*ratio.ratioX, 618*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0765',}, function (){return {}}, 'Node474');
- _libModel.add("Node474", Node474);
- Node474.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node475 = new ht.lib['断路器通用图元'](350*ratio.ratioX, 618*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0818',}, function (){return {}}, 'Node475');
- _libModel.add("Node475", Node475);
- Node475.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node476 = new ht.lib['断路器通用图元'](440*ratio.ratioX, 617*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0704',}, function (){return {}}, 'Node476');
- _libModel.add("Node476", Node476);
- Node476.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node477 = new ht.lib['断路器通用图元'](410*ratio.ratioX, 731*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0379',}, function (){return {}}, 'Node477');
- _libModel.add("Node477", Node477);
- Node477.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node478 = new ht.lib['断路器通用图元'](470*ratio.ratioX, 731*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0380',}, function (){return {}}, 'Node478');
- _libModel.add("Node478", Node478);
- Node478.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node479 = new ht.lib['断路器通用图元'](550*ratio.ratioX, 616*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0738',}, function (){return {}}, 'Node479');
- _libModel.add("Node479", Node479);
- Node479.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node480 = new ht.lib['断路器通用图元'](640*ratio.ratioX, 615*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0624',}, function (){return {}}, 'Node480');
- _libModel.add("Node480", Node480);
- Node480.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node481 = new ht.lib['断路器通用图元'](730*ratio.ratioX, 616*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0651',}, function (){return {}}, 'Node481');
- _libModel.add("Node481", Node481);
- Node481.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node482 = new ht.lib['断路器通用图元'](820*ratio.ratioX, 615*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0678',}, function (){return {}}, 'Node482');
- _libModel.add("Node482", Node482);
- Node482.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node483 = new ht.lib['断路器通用图元'](890*ratio.ratioX, 616*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1185',}, function (){return {}}, 'Node483');
- _libModel.add("Node483", Node483);
- Node483.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node484 = new ht.lib['断路器通用图元'](1090*ratio.ratioX, 616*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1001',}, function (){return {}}, 'Node484');
- _libModel.add("Node484", Node484);
- Node484.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node485 = new ht.lib['断路器通用图元'](1180*ratio.ratioX, 617*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0981',}, function (){return {}}, 'Node485');
- _libModel.add("Node485", Node485);
- Node485.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node486 = new ht.lib['断路器通用图元'](1270*ratio.ratioX, 618*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0957',}, function (){return {}}, 'Node486');
- _libModel.add("Node486", Node486);
- Node486.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node487 = new ht.lib['断路器通用图元'](1360*ratio.ratioX, 618*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0934',}, function (){return {}}, 'Node487');
- _libModel.add("Node487", Node487);
- Node487.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node488 = new ht.lib['断路器通用图元'](1450*ratio.ratioX, 619*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0911',}, function (){return {}}, 'Node488');
- _libModel.add("Node488", Node488);
- Node488.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node489 = new ht.lib['断路器通用图元'](1540*ratio.ratioX, 618*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1182',}, function (){return {}}, 'Node489');
- _libModel.add("Node489", Node489);
- Node489.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node490 = new ht.lib['断路器通用图元'](1630*ratio.ratioX, 617*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1133',}, function (){return {}}, 'Node490');
- _libModel.add("Node490", Node490);
- Node490.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node491 = new ht.lib['断路器通用图元'](1720*ratio.ratioX, 618*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1155',}, function (){return {}}, 'Node491');
- _libModel.add("Node491", Node491);
- Node491.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node492 = new ht.lib['断路器通用图元'](1810*ratio.ratioX, 616*ratio.ratioY, 15*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1176',}, function (){return {}}, 'Node492');
- _libModel.add("Node492", Node492);
- Node492.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node493 = new ht.lib['手车通用图元'](540*ratio.ratioX, 541*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0577',}, function (){return {}}, 'Node493');
- _libModel.add("Node493", Node493);
- Node493.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(90*Math.PI/180, ratio);
- var Node494 = new ht.lib['手车通用图元'](585*ratio.ratioX, 561*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 90*Math.PI/180, {xianshi2:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0581',}, function (){return {}}, 'Node494');
- _libModel.add("Node494", Node494);
- Node494.setRotation(90*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node495 = new ht.lib['手车通用图元'](1080*ratio.ratioX, 542*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1065',}, function (){return {}}, 'Node495');
- _libModel.add("Node495", Node495);
- Node495.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node496 = new ht.lib['手车通用图元'](80*ratio.ratioX, 616*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0855',}, function (){return {}}, 'Node496');
- _libModel.add("Node496", Node496);
- Node496.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node497 = new ht.lib['手车通用图元'](170*ratio.ratioX, 617*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0795',}, function (){return {}}, 'Node497');
- _libModel.add("Node497", Node497);
- Node497.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node498 = new ht.lib['手车通用图元'](260*ratio.ratioX, 617*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0768',}, function (){return {}}, 'Node498');
- _libModel.add("Node498", Node498);
- Node498.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node499 = new ht.lib['手车通用图元'](350*ratio.ratioX, 616*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0821',}, function (){return {}}, 'Node499');
- _libModel.add("Node499", Node499);
- Node499.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node500 = new ht.lib['手车通用图元'](440*ratio.ratioX, 617*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0705',}, function (){return {}}, 'Node500');
- _libModel.add("Node500", Node500);
- Node500.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node501 = new ht.lib['手车通用图元'](550*ratio.ratioX, 618*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0741',}, function (){return {}}, 'Node501');
- _libModel.add("Node501", Node501);
- Node501.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node502 = new ht.lib['手车通用图元'](640*ratio.ratioX, 617*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0627',}, function (){return {}}, 'Node502');
- _libModel.add("Node502", Node502);
- Node502.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node503 = new ht.lib['手车通用图元'](730*ratio.ratioX, 617*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0654',}, function (){return {}}, 'Node503');
- _libModel.add("Node503", Node503);
- Node503.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node504 = new ht.lib['手车通用图元'](820*ratio.ratioX, 616*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0681',}, function (){return {}}, 'Node504');
- _libModel.add("Node504", Node504);
- Node504.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node505 = new ht.lib['手车通用图元'](890*ratio.ratioX, 616*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1187',}, function (){return {}}, 'Node505');
- _libModel.add("Node505", Node505);
- Node505.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node506 = new ht.lib['手车通用图元'](1000*ratio.ratioX, 617*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1186',}, function (){return {}}, 'Node506');
- _libModel.add("Node506", Node506);
- Node506.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node507 = new ht.lib['手车通用图元'](1090*ratio.ratioX, 617*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1002',}, function (){return {}}, 'Node507');
- _libModel.add("Node507", Node507);
- Node507.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node508 = new ht.lib['手车通用图元'](1180*ratio.ratioX, 618*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0982',}, function (){return {}}, 'Node508');
- _libModel.add("Node508", Node508);
- Node508.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node509 = new ht.lib['手车通用图元'](1270*ratio.ratioX, 617*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0958',}, function (){return {}}, 'Node509');
- _libModel.add("Node509", Node509);
- Node509.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node510 = new ht.lib['手车通用图元'](1360*ratio.ratioX, 617*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0935',}, function (){return {}}, 'Node510');
- _libModel.add("Node510", Node510);
- Node510.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node511 = new ht.lib['手车通用图元'](1450*ratio.ratioX, 618*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI0912',}, function (){return {}}, 'Node511');
- _libModel.add("Node511", Node511);
- Node511.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node512 = new ht.lib['手车通用图元'](1540*ratio.ratioX, 617*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1183',}, function (){return {}}, 'Node512');
- _libModel.add("Node512", Node512);
- Node512.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node513 = new ht.lib['手车通用图元'](1630*ratio.ratioX, 617*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1134',}, function (){return {}}, 'Node513');
- _libModel.add("Node513", Node513);
- Node513.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node514 = new ht.lib['手车通用图元'](1720*ratio.ratioX, 618*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1156',}, function (){return {}}, 'Node514');
- _libModel.add("Node514", Node514);
- Node514.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node515 = new ht.lib['手车通用图元'](1810*ratio.ratioX, 617*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_DI1177',}, function (){return {}}, 'Node515');
- _libModel.add("Node515", Node515);
- Node515.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node516 = new ht.Node();
- var Node516textStart, Node516textWidth, Node516lineStart, Node516align = 'left', Node516fontSize = 13.3333*_ratio.ratioY,Node516width = 49*_ratio.ratioX, Node516height = 25*_ratio.ratioY;
- (function () {
- if (Node516align === 'left') {
- Node516textStart = Node516fontSize * 0.2 > 2 ? Node516fontSize * 0.2 - 4 : Node516fontSize * 0.2 - 9;
- Node516textWidth = Node516width;
- Node516lineStart = 1;
- } else if (Node516align === 'right') {
- Node516textStart = 0;
- Node516textWidth =Node516fontSize <= 8 ? Node516width + Node516fontSize * 0.2 + 6 : Node516width - Node516fontSize * 0.2;
- Node516lineStart = (Node516width - (ht.Default.getTextSize('0', ' '+ Node516fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node516align === 'center') {
- Node516textStart = -3;
- Node516textWidth = Node516width;
- Node516lineStart = Node516width - ht.Default.getTextSize('0', ' '+ Node516fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node516.setImage(GD.getTextJSON(Node516width, Node516height, true, false, false, ' '+ Node516fontSize + 'px "Arial"'))
- Node516.setPosition(380*ratio.ratioX, 281*ratio.ratioY);
- Node516.setWidth(Node516width);
- Node516.setHeight(Node516height);
- Node516._nodeType = 'text';
- Node516._disallowEvert = true;
- Node516.setRotation(0*Math.PI/180);
- Node516.a('node.width', Node516width);
- Node516.a('node.height', Node516height);
- Node516.a('node.rect', [0, 0, Node516width, Node516height]);
- Node516.a('node.bordercolor','rgba(0,0,0,1)');
- Node516.a('node.borderwidth', 0);
- Node516.a('node.background','' || 'rgba(0,0,0,0)');
- Node516.a('node.gradient','');
- Node516.a('node.gradientcolor','');
- Node516.a('node.text','0');
- Node516.a('node.textalign','left');
- Node516.a('node.textvAlign','middle');
- Node516.a('node.textrect', [Node516textStart, 0, Node516textWidth, Node516height]);
- Node516.a('node.color','rgba(0,0,0,1)');
- Node516.a('node.font',' '+ Node516fontSize + 'px "Arial"');
- Node516.a('node.textvisible',true);
- Node516.a('node.linefeed',false);
- if (false) {
- Node516.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node516.a('node.text') || '0';
- var color=Node516.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node516width,Node516height,13.3333*_ratio.ratioY,"left",color,' '+ Node516fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node516.a('node.underlinepoints',[Node516lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node516fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node516fontSize + 'px "Arial"').width + 6, (Node516height - Node516fontSize) * 0.5*_ratio.ratioY + Node516fontSize + 2 ]);
- Node516.a('node.underlinevisible',false);
- Node516.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node516);
- zoomNodeList.push({
- node: Node516,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node517 = new ht.Node();
- var Node517textStart, Node517textWidth, Node517lineStart, Node517align = 'left', Node517fontSize = 13.3333*_ratio.ratioY,Node517width = 49*_ratio.ratioX, Node517height = 25*_ratio.ratioY;
- (function () {
- if (Node517align === 'left') {
- Node517textStart = Node517fontSize * 0.2 > 2 ? Node517fontSize * 0.2 - 4 : Node517fontSize * 0.2 - 9;
- Node517textWidth = Node517width;
- Node517lineStart = 1;
- } else if (Node517align === 'right') {
- Node517textStart = 0;
- Node517textWidth =Node517fontSize <= 8 ? Node517width + Node517fontSize * 0.2 + 6 : Node517width - Node517fontSize * 0.2;
- Node517lineStart = (Node517width - (ht.Default.getTextSize('0', ' '+ Node517fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node517align === 'center') {
- Node517textStart = -3;
- Node517textWidth = Node517width;
- Node517lineStart = Node517width - ht.Default.getTextSize('0', ' '+ Node517fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node517.setImage(GD.getTextJSON(Node517width, Node517height, true, false, false, ' '+ Node517fontSize + 'px "Arial"'))
- Node517.setPosition(380*ratio.ratioX, 304*ratio.ratioY);
- Node517.setWidth(Node517width);
- Node517.setHeight(Node517height);
- Node517._nodeType = 'text';
- Node517._disallowEvert = true;
- Node517.setRotation(0*Math.PI/180);
- Node517.a('node.width', Node517width);
- Node517.a('node.height', Node517height);
- Node517.a('node.rect', [0, 0, Node517width, Node517height]);
- Node517.a('node.bordercolor','rgba(0,0,0,1)');
- Node517.a('node.borderwidth', 0);
- Node517.a('node.background','' || 'rgba(0,0,0,0)');
- Node517.a('node.gradient','');
- Node517.a('node.gradientcolor','');
- Node517.a('node.text','0');
- Node517.a('node.textalign','left');
- Node517.a('node.textvAlign','middle');
- Node517.a('node.textrect', [Node517textStart, 0, Node517textWidth, Node517height]);
- Node517.a('node.color','rgba(0,0,0,1)');
- Node517.a('node.font',' '+ Node517fontSize + 'px "Arial"');
- Node517.a('node.textvisible',true);
- Node517.a('node.linefeed',false);
- if (false) {
- Node517.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node517.a('node.text') || '0';
- var color=Node517.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node517width,Node517height,13.3333*_ratio.ratioY,"left",color,' '+ Node517fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node517.a('node.underlinepoints',[Node517lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node517fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node517fontSize + 'px "Arial"').width + 6, (Node517height - Node517fontSize) * 0.5*_ratio.ratioY + Node517fontSize + 2 ]);
- Node517.a('node.underlinevisible',false);
- Node517.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node517);
- zoomNodeList.push({
- node: Node517,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node518 = new ht.Node();
- var Node518textStart, Node518textWidth, Node518lineStart, Node518align = 'left', Node518fontSize = 13.3333*_ratio.ratioY,Node518width = 49*_ratio.ratioX, Node518height = 25*_ratio.ratioY;
- (function () {
- if (Node518align === 'left') {
- Node518textStart = Node518fontSize * 0.2 > 2 ? Node518fontSize * 0.2 - 4 : Node518fontSize * 0.2 - 9;
- Node518textWidth = Node518width;
- Node518lineStart = 1;
- } else if (Node518align === 'right') {
- Node518textStart = 0;
- Node518textWidth =Node518fontSize <= 8 ? Node518width + Node518fontSize * 0.2 + 6 : Node518width - Node518fontSize * 0.2;
- Node518lineStart = (Node518width - (ht.Default.getTextSize('0', ' '+ Node518fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node518align === 'center') {
- Node518textStart = -3;
- Node518textWidth = Node518width;
- Node518lineStart = Node518width - ht.Default.getTextSize('0', ' '+ Node518fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node518.setImage(GD.getTextJSON(Node518width, Node518height, true, false, false, ' '+ Node518fontSize + 'px "Arial"'))
- Node518.setPosition(380*ratio.ratioX, 327*ratio.ratioY);
- Node518.setWidth(Node518width);
- Node518.setHeight(Node518height);
- Node518._nodeType = 'text';
- Node518._disallowEvert = true;
- Node518.setRotation(0*Math.PI/180);
- Node518.a('node.width', Node518width);
- Node518.a('node.height', Node518height);
- Node518.a('node.rect', [0, 0, Node518width, Node518height]);
- Node518.a('node.bordercolor','rgba(0,0,0,1)');
- Node518.a('node.borderwidth', 0);
- Node518.a('node.background','' || 'rgba(0,0,0,0)');
- Node518.a('node.gradient','');
- Node518.a('node.gradientcolor','');
- Node518.a('node.text','0');
- Node518.a('node.textalign','left');
- Node518.a('node.textvAlign','middle');
- Node518.a('node.textrect', [Node518textStart, 0, Node518textWidth, Node518height]);
- Node518.a('node.color','rgba(0,0,0,1)');
- Node518.a('node.font',' '+ Node518fontSize + 'px "Arial"');
- Node518.a('node.textvisible',true);
- Node518.a('node.linefeed',false);
- if (false) {
- Node518.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node518.a('node.text') || '0';
- var color=Node518.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node518width,Node518height,13.3333*_ratio.ratioY,"left",color,' '+ Node518fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node518.a('node.underlinepoints',[Node518lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node518fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node518fontSize + 'px "Arial"').width + 6, (Node518height - Node518fontSize) * 0.5*_ratio.ratioY + Node518fontSize + 2 ]);
- Node518.a('node.underlinevisible',false);
- Node518.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node518);
- zoomNodeList.push({
- node: Node518,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node519 = new ht.Node();
- var Node519textStart, Node519textWidth, Node519lineStart, Node519align = 'left', Node519fontSize = 13.3333*_ratio.ratioY,Node519width = 49*_ratio.ratioX, Node519height = 25*_ratio.ratioY;
- (function () {
- if (Node519align === 'left') {
- Node519textStart = Node519fontSize * 0.2 > 2 ? Node519fontSize * 0.2 - 4 : Node519fontSize * 0.2 - 9;
- Node519textWidth = Node519width;
- Node519lineStart = 1;
- } else if (Node519align === 'right') {
- Node519textStart = 0;
- Node519textWidth =Node519fontSize <= 8 ? Node519width + Node519fontSize * 0.2 + 6 : Node519width - Node519fontSize * 0.2;
- Node519lineStart = (Node519width - (ht.Default.getTextSize('0', ' '+ Node519fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node519align === 'center') {
- Node519textStart = -3;
- Node519textWidth = Node519width;
- Node519lineStart = Node519width - ht.Default.getTextSize('0', ' '+ Node519fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node519.setImage(GD.getTextJSON(Node519width, Node519height, true, false, false, ' '+ Node519fontSize + 'px "Arial"'))
- Node519.setPosition(852*ratio.ratioX, 279*ratio.ratioY);
- Node519.setWidth(Node519width);
- Node519.setHeight(Node519height);
- Node519._nodeType = 'text';
- Node519._disallowEvert = true;
- Node519.setRotation(0*Math.PI/180);
- Node519.a('node.width', Node519width);
- Node519.a('node.height', Node519height);
- Node519.a('node.rect', [0, 0, Node519width, Node519height]);
- Node519.a('node.bordercolor','rgba(0,0,0,1)');
- Node519.a('node.borderwidth', 0);
- Node519.a('node.background','' || 'rgba(0,0,0,0)');
- Node519.a('node.gradient','');
- Node519.a('node.gradientcolor','');
- Node519.a('node.text','0');
- Node519.a('node.textalign','left');
- Node519.a('node.textvAlign','middle');
- Node519.a('node.textrect', [Node519textStart, 0, Node519textWidth, Node519height]);
- Node519.a('node.color','rgba(0,0,0,1)');
- Node519.a('node.font',' '+ Node519fontSize + 'px "Arial"');
- Node519.a('node.textvisible',true);
- Node519.a('node.linefeed',false);
- if (false) {
- Node519.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node519.a('node.text') || '0';
- var color=Node519.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node519width,Node519height,13.3333*_ratio.ratioY,"left",color,' '+ Node519fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node519.a('node.underlinepoints',[Node519lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node519fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node519fontSize + 'px "Arial"').width + 6, (Node519height - Node519fontSize) * 0.5*_ratio.ratioY + Node519fontSize + 2 ]);
- Node519.a('node.underlinevisible',false);
- Node519.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node519);
- zoomNodeList.push({
- node: Node519,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node520 = new ht.Node();
- var Node520textStart, Node520textWidth, Node520lineStart, Node520align = 'left', Node520fontSize = 13.3333*_ratio.ratioY,Node520width = 49*_ratio.ratioX, Node520height = 25*_ratio.ratioY;
- (function () {
- if (Node520align === 'left') {
- Node520textStart = Node520fontSize * 0.2 > 2 ? Node520fontSize * 0.2 - 4 : Node520fontSize * 0.2 - 9;
- Node520textWidth = Node520width;
- Node520lineStart = 1;
- } else if (Node520align === 'right') {
- Node520textStart = 0;
- Node520textWidth =Node520fontSize <= 8 ? Node520width + Node520fontSize * 0.2 + 6 : Node520width - Node520fontSize * 0.2;
- Node520lineStart = (Node520width - (ht.Default.getTextSize('0', ' '+ Node520fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node520align === 'center') {
- Node520textStart = -3;
- Node520textWidth = Node520width;
- Node520lineStart = Node520width - ht.Default.getTextSize('0', ' '+ Node520fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node520.setImage(GD.getTextJSON(Node520width, Node520height, true, false, false, ' '+ Node520fontSize + 'px "Arial"'))
- Node520.setPosition(852*ratio.ratioX, 302*ratio.ratioY);
- Node520.setWidth(Node520width);
- Node520.setHeight(Node520height);
- Node520._nodeType = 'text';
- Node520._disallowEvert = true;
- Node520.setRotation(0*Math.PI/180);
- Node520.a('node.width', Node520width);
- Node520.a('node.height', Node520height);
- Node520.a('node.rect', [0, 0, Node520width, Node520height]);
- Node520.a('node.bordercolor','rgba(0,0,0,1)');
- Node520.a('node.borderwidth', 0);
- Node520.a('node.background','' || 'rgba(0,0,0,0)');
- Node520.a('node.gradient','');
- Node520.a('node.gradientcolor','');
- Node520.a('node.text','0');
- Node520.a('node.textalign','left');
- Node520.a('node.textvAlign','middle');
- Node520.a('node.textrect', [Node520textStart, 0, Node520textWidth, Node520height]);
- Node520.a('node.color','rgba(0,0,0,1)');
- Node520.a('node.font',' '+ Node520fontSize + 'px "Arial"');
- Node520.a('node.textvisible',true);
- Node520.a('node.linefeed',false);
- if (false) {
- Node520.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node520.a('node.text') || '0';
- var color=Node520.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node520width,Node520height,13.3333*_ratio.ratioY,"left",color,' '+ Node520fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node520.a('node.underlinepoints',[Node520lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node520fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node520fontSize + 'px "Arial"').width + 6, (Node520height - Node520fontSize) * 0.5*_ratio.ratioY + Node520fontSize + 2 ]);
- Node520.a('node.underlinevisible',false);
- Node520.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node520);
- zoomNodeList.push({
- node: Node520,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node521 = new ht.Node();
- var Node521textStart, Node521textWidth, Node521lineStart, Node521align = 'left', Node521fontSize = 13.3333*_ratio.ratioY,Node521width = 49*_ratio.ratioX, Node521height = 25*_ratio.ratioY;
- (function () {
- if (Node521align === 'left') {
- Node521textStart = Node521fontSize * 0.2 > 2 ? Node521fontSize * 0.2 - 4 : Node521fontSize * 0.2 - 9;
- Node521textWidth = Node521width;
- Node521lineStart = 1;
- } else if (Node521align === 'right') {
- Node521textStart = 0;
- Node521textWidth =Node521fontSize <= 8 ? Node521width + Node521fontSize * 0.2 + 6 : Node521width - Node521fontSize * 0.2;
- Node521lineStart = (Node521width - (ht.Default.getTextSize('0', ' '+ Node521fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node521align === 'center') {
- Node521textStart = -3;
- Node521textWidth = Node521width;
- Node521lineStart = Node521width - ht.Default.getTextSize('0', ' '+ Node521fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node521.setImage(GD.getTextJSON(Node521width, Node521height, true, false, false, ' '+ Node521fontSize + 'px "Arial"'))
- Node521.setPosition(852*ratio.ratioX, 325*ratio.ratioY);
- Node521.setWidth(Node521width);
- Node521.setHeight(Node521height);
- Node521._nodeType = 'text';
- Node521._disallowEvert = true;
- Node521.setRotation(0*Math.PI/180);
- Node521.a('node.width', Node521width);
- Node521.a('node.height', Node521height);
- Node521.a('node.rect', [0, 0, Node521width, Node521height]);
- Node521.a('node.bordercolor','rgba(0,0,0,1)');
- Node521.a('node.borderwidth', 0);
- Node521.a('node.background','' || 'rgba(0,0,0,0)');
- Node521.a('node.gradient','');
- Node521.a('node.gradientcolor','');
- Node521.a('node.text','0');
- Node521.a('node.textalign','left');
- Node521.a('node.textvAlign','middle');
- Node521.a('node.textrect', [Node521textStart, 0, Node521textWidth, Node521height]);
- Node521.a('node.color','rgba(0,0,0,1)');
- Node521.a('node.font',' '+ Node521fontSize + 'px "Arial"');
- Node521.a('node.textvisible',true);
- Node521.a('node.linefeed',false);
- if (false) {
- Node521.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node521.a('node.text') || '0';
- var color=Node521.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node521width,Node521height,13.3333*_ratio.ratioY,"left",color,' '+ Node521fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node521.a('node.underlinepoints',[Node521lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node521fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node521fontSize + 'px "Arial"').width + 6, (Node521height - Node521fontSize) * 0.5*_ratio.ratioY + Node521fontSize + 2 ]);
- Node521.a('node.underlinevisible',false);
- Node521.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node521);
- zoomNodeList.push({
- node: Node521,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node522 = new ht.Node();
- var Node522textStart, Node522textWidth, Node522lineStart, Node522align = 'left', Node522fontSize = 13.3333*_ratio.ratioY,Node522width = 49*_ratio.ratioX, Node522height = 25*_ratio.ratioY;
- (function () {
- if (Node522align === 'left') {
- Node522textStart = Node522fontSize * 0.2 > 2 ? Node522fontSize * 0.2 - 4 : Node522fontSize * 0.2 - 9;
- Node522textWidth = Node522width;
- Node522lineStart = 1;
- } else if (Node522align === 'right') {
- Node522textStart = 0;
- Node522textWidth =Node522fontSize <= 8 ? Node522width + Node522fontSize * 0.2 + 6 : Node522width - Node522fontSize * 0.2;
- Node522lineStart = (Node522width - (ht.Default.getTextSize('0', ' '+ Node522fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node522align === 'center') {
- Node522textStart = -3;
- Node522textWidth = Node522width;
- Node522lineStart = Node522width - ht.Default.getTextSize('0', ' '+ Node522fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node522.setImage(GD.getTextJSON(Node522width, Node522height, true, false, false, ' '+ Node522fontSize + 'px "Arial"'))
- Node522.setPosition(1737*ratio.ratioX, 235*ratio.ratioY);
- Node522.setWidth(Node522width);
- Node522.setHeight(Node522height);
- Node522._nodeType = 'text';
- Node522._disallowEvert = true;
- Node522.setRotation(0*Math.PI/180);
- Node522.a('node.width', Node522width);
- Node522.a('node.height', Node522height);
- Node522.a('node.rect', [0, 0, Node522width, Node522height]);
- Node522.a('node.bordercolor','rgba(0,0,0,1)');
- Node522.a('node.borderwidth', 0);
- Node522.a('node.background','' || 'rgba(0,0,0,0)');
- Node522.a('node.gradient','');
- Node522.a('node.gradientcolor','');
- Node522.a('node.text','0');
- Node522.a('node.textalign','left');
- Node522.a('node.textvAlign','middle');
- Node522.a('node.textrect', [Node522textStart, 0, Node522textWidth, Node522height]);
- Node522.a('node.color','rgba(0,0,0,1)');
- Node522.a('node.font',' '+ Node522fontSize + 'px "Arial"');
- Node522.a('node.textvisible',true);
- Node522.a('node.linefeed',false);
- if (false) {
- Node522.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node522.a('node.text') || '0';
- var color=Node522.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node522width,Node522height,13.3333*_ratio.ratioY,"left",color,' '+ Node522fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node522.a('node.underlinepoints',[Node522lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node522fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node522fontSize + 'px "Arial"').width + 6, (Node522height - Node522fontSize) * 0.5*_ratio.ratioY + Node522fontSize + 2 ]);
- Node522.a('node.underlinevisible',false);
- Node522.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node522);
- zoomNodeList.push({
- node: Node522,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node523 = new ht.Node();
- var Node523textStart, Node523textWidth, Node523lineStart, Node523align = 'left', Node523fontSize = 13.3333*_ratio.ratioY,Node523width = 49*_ratio.ratioX, Node523height = 25*_ratio.ratioY;
- (function () {
- if (Node523align === 'left') {
- Node523textStart = Node523fontSize * 0.2 > 2 ? Node523fontSize * 0.2 - 4 : Node523fontSize * 0.2 - 9;
- Node523textWidth = Node523width;
- Node523lineStart = 1;
- } else if (Node523align === 'right') {
- Node523textStart = 0;
- Node523textWidth =Node523fontSize <= 8 ? Node523width + Node523fontSize * 0.2 + 6 : Node523width - Node523fontSize * 0.2;
- Node523lineStart = (Node523width - (ht.Default.getTextSize('0', ' '+ Node523fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node523align === 'center') {
- Node523textStart = -3;
- Node523textWidth = Node523width;
- Node523lineStart = Node523width - ht.Default.getTextSize('0', ' '+ Node523fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node523.setImage(GD.getTextJSON(Node523width, Node523height, true, false, false, ' '+ Node523fontSize + 'px "Arial"'))
- Node523.setPosition(1737*ratio.ratioX, 258*ratio.ratioY);
- Node523.setWidth(Node523width);
- Node523.setHeight(Node523height);
- Node523._nodeType = 'text';
- Node523._disallowEvert = true;
- Node523.setRotation(0*Math.PI/180);
- Node523.a('node.width', Node523width);
- Node523.a('node.height', Node523height);
- Node523.a('node.rect', [0, 0, Node523width, Node523height]);
- Node523.a('node.bordercolor','rgba(0,0,0,1)');
- Node523.a('node.borderwidth', 0);
- Node523.a('node.background','' || 'rgba(0,0,0,0)');
- Node523.a('node.gradient','');
- Node523.a('node.gradientcolor','');
- Node523.a('node.text','0');
- Node523.a('node.textalign','left');
- Node523.a('node.textvAlign','middle');
- Node523.a('node.textrect', [Node523textStart, 0, Node523textWidth, Node523height]);
- Node523.a('node.color','rgba(0,0,0,1)');
- Node523.a('node.font',' '+ Node523fontSize + 'px "Arial"');
- Node523.a('node.textvisible',true);
- Node523.a('node.linefeed',false);
- if (false) {
- Node523.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node523.a('node.text') || '0';
- var color=Node523.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node523width,Node523height,13.3333*_ratio.ratioY,"left",color,' '+ Node523fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node523.a('node.underlinepoints',[Node523lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node523fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node523fontSize + 'px "Arial"').width + 6, (Node523height - Node523fontSize) * 0.5*_ratio.ratioY + Node523fontSize + 2 ]);
- Node523.a('node.underlinevisible',false);
- Node523.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node523);
- zoomNodeList.push({
- node: Node523,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node524 = new ht.Node();
- var Node524textStart, Node524textWidth, Node524lineStart, Node524align = 'left', Node524fontSize = 13.3333*_ratio.ratioY,Node524width = 49*_ratio.ratioX, Node524height = 25*_ratio.ratioY;
- (function () {
- if (Node524align === 'left') {
- Node524textStart = Node524fontSize * 0.2 > 2 ? Node524fontSize * 0.2 - 4 : Node524fontSize * 0.2 - 9;
- Node524textWidth = Node524width;
- Node524lineStart = 1;
- } else if (Node524align === 'right') {
- Node524textStart = 0;
- Node524textWidth =Node524fontSize <= 8 ? Node524width + Node524fontSize * 0.2 + 6 : Node524width - Node524fontSize * 0.2;
- Node524lineStart = (Node524width - (ht.Default.getTextSize('0', ' '+ Node524fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node524align === 'center') {
- Node524textStart = -3;
- Node524textWidth = Node524width;
- Node524lineStart = Node524width - ht.Default.getTextSize('0', ' '+ Node524fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node524.setImage(GD.getTextJSON(Node524width, Node524height, true, false, false, ' '+ Node524fontSize + 'px "Arial"'))
- Node524.setPosition(1737*ratio.ratioX, 281*ratio.ratioY);
- Node524.setWidth(Node524width);
- Node524.setHeight(Node524height);
- Node524._nodeType = 'text';
- Node524._disallowEvert = true;
- Node524.setRotation(0*Math.PI/180);
- Node524.a('node.width', Node524width);
- Node524.a('node.height', Node524height);
- Node524.a('node.rect', [0, 0, Node524width, Node524height]);
- Node524.a('node.bordercolor','rgba(0,0,0,1)');
- Node524.a('node.borderwidth', 0);
- Node524.a('node.background','' || 'rgba(0,0,0,0)');
- Node524.a('node.gradient','');
- Node524.a('node.gradientcolor','');
- Node524.a('node.text','0');
- Node524.a('node.textalign','left');
- Node524.a('node.textvAlign','middle');
- Node524.a('node.textrect', [Node524textStart, 0, Node524textWidth, Node524height]);
- Node524.a('node.color','rgba(0,0,0,1)');
- Node524.a('node.font',' '+ Node524fontSize + 'px "Arial"');
- Node524.a('node.textvisible',true);
- Node524.a('node.linefeed',false);
- if (false) {
- Node524.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node524.a('node.text') || '0';
- var color=Node524.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node524width,Node524height,13.3333*_ratio.ratioY,"left",color,' '+ Node524fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node524.a('node.underlinepoints',[Node524lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node524fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node524fontSize + 'px "Arial"').width + 6, (Node524height - Node524fontSize) * 0.5*_ratio.ratioY + Node524fontSize + 2 ]);
- Node524.a('node.underlinevisible',false);
- Node524.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node524);
- zoomNodeList.push({
- node: Node524,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node525 = new ht.Node();
- var Node525textStart, Node525textWidth, Node525lineStart, Node525align = 'left', Node525fontSize = 13.3333*_ratio.ratioY,Node525width = 49*_ratio.ratioX, Node525height = 25*_ratio.ratioY;
- (function () {
- if (Node525align === 'left') {
- Node525textStart = Node525fontSize * 0.2 > 2 ? Node525fontSize * 0.2 - 4 : Node525fontSize * 0.2 - 9;
- Node525textWidth = Node525width;
- Node525lineStart = 1;
- } else if (Node525align === 'right') {
- Node525textStart = 0;
- Node525textWidth =Node525fontSize <= 8 ? Node525width + Node525fontSize * 0.2 + 6 : Node525width - Node525fontSize * 0.2;
- Node525lineStart = (Node525width - (ht.Default.getTextSize('0', ' '+ Node525fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node525align === 'center') {
- Node525textStart = -3;
- Node525textWidth = Node525width;
- Node525lineStart = Node525width - ht.Default.getTextSize('0', ' '+ Node525fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node525.setImage(GD.getTextJSON(Node525width, Node525height, true, false, false, ' '+ Node525fontSize + 'px "Arial"'))
- Node525.setPosition(1737*ratio.ratioX, 303*ratio.ratioY);
- Node525.setWidth(Node525width);
- Node525.setHeight(Node525height);
- Node525._nodeType = 'text';
- Node525._disallowEvert = true;
- Node525.setRotation(0*Math.PI/180);
- Node525.a('node.width', Node525width);
- Node525.a('node.height', Node525height);
- Node525.a('node.rect', [0, 0, Node525width, Node525height]);
- Node525.a('node.bordercolor','rgba(0,0,0,1)');
- Node525.a('node.borderwidth', 0);
- Node525.a('node.background','' || 'rgba(0,0,0,0)');
- Node525.a('node.gradient','');
- Node525.a('node.gradientcolor','');
- Node525.a('node.text','0');
- Node525.a('node.textalign','left');
- Node525.a('node.textvAlign','middle');
- Node525.a('node.textrect', [Node525textStart, 0, Node525textWidth, Node525height]);
- Node525.a('node.color','rgba(0,0,0,1)');
- Node525.a('node.font',' '+ Node525fontSize + 'px "Arial"');
- Node525.a('node.textvisible',true);
- Node525.a('node.linefeed',false);
- if (false) {
- Node525.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node525.a('node.text') || '0';
- var color=Node525.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node525width,Node525height,13.3333*_ratio.ratioY,"left",color,' '+ Node525fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node525.a('node.underlinepoints',[Node525lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node525fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node525fontSize + 'px "Arial"').width + 6, (Node525height - Node525fontSize) * 0.5*_ratio.ratioY + Node525fontSize + 2 ]);
- Node525.a('node.underlinevisible',false);
- Node525.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node525);
- zoomNodeList.push({
- node: Node525,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node526 = new ht.Node();
- var Node526textStart, Node526textWidth, Node526lineStart, Node526align = 'left', Node526fontSize = 13.3333*_ratio.ratioY,Node526width = 49*_ratio.ratioX, Node526height = 25*_ratio.ratioY;
- (function () {
- if (Node526align === 'left') {
- Node526textStart = Node526fontSize * 0.2 > 2 ? Node526fontSize * 0.2 - 4 : Node526fontSize * 0.2 - 9;
- Node526textWidth = Node526width;
- Node526lineStart = 1;
- } else if (Node526align === 'right') {
- Node526textStart = 0;
- Node526textWidth =Node526fontSize <= 8 ? Node526width + Node526fontSize * 0.2 + 6 : Node526width - Node526fontSize * 0.2;
- Node526lineStart = (Node526width - (ht.Default.getTextSize('0', ' '+ Node526fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node526align === 'center') {
- Node526textStart = -3;
- Node526textWidth = Node526width;
- Node526lineStart = Node526width - ht.Default.getTextSize('0', ' '+ Node526fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node526.setImage(GD.getTextJSON(Node526width, Node526height, true, false, false, ' '+ Node526fontSize + 'px "Arial"'))
- Node526.setPosition(1737*ratio.ratioX, 326*ratio.ratioY);
- Node526.setWidth(Node526width);
- Node526.setHeight(Node526height);
- Node526._nodeType = 'text';
- Node526._disallowEvert = true;
- Node526.setRotation(0*Math.PI/180);
- Node526.a('node.width', Node526width);
- Node526.a('node.height', Node526height);
- Node526.a('node.rect', [0, 0, Node526width, Node526height]);
- Node526.a('node.bordercolor','rgba(0,0,0,1)');
- Node526.a('node.borderwidth', 0);
- Node526.a('node.background','' || 'rgba(0,0,0,0)');
- Node526.a('node.gradient','');
- Node526.a('node.gradientcolor','');
- Node526.a('node.text','0');
- Node526.a('node.textalign','left');
- Node526.a('node.textvAlign','middle');
- Node526.a('node.textrect', [Node526textStart, 0, Node526textWidth, Node526height]);
- Node526.a('node.color','rgba(0,0,0,1)');
- Node526.a('node.font',' '+ Node526fontSize + 'px "Arial"');
- Node526.a('node.textvisible',true);
- Node526.a('node.linefeed',false);
- if (false) {
- Node526.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node526.a('node.text') || '0';
- var color=Node526.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node526width,Node526height,13.3333*_ratio.ratioY,"left",color,' '+ Node526fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node526.a('node.underlinepoints',[Node526lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node526fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node526fontSize + 'px "Arial"').width + 6, (Node526height - Node526fontSize) * 0.5*_ratio.ratioY + Node526fontSize + 2 ]);
- Node526.a('node.underlinevisible',false);
- Node526.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node526);
- zoomNodeList.push({
- node: Node526,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node527 = new ht.Node();
- var Node527textStart, Node527textWidth, Node527lineStart, Node527align = 'left', Node527fontSize = 13.3333*_ratio.ratioY,Node527width = 49*_ratio.ratioX, Node527height = 25*_ratio.ratioY;
- (function () {
- if (Node527align === 'left') {
- Node527textStart = Node527fontSize * 0.2 > 2 ? Node527fontSize * 0.2 - 4 : Node527fontSize * 0.2 - 9;
- Node527textWidth = Node527width;
- Node527lineStart = 1;
- } else if (Node527align === 'right') {
- Node527textStart = 0;
- Node527textWidth =Node527fontSize <= 8 ? Node527width + Node527fontSize * 0.2 + 6 : Node527width - Node527fontSize * 0.2;
- Node527lineStart = (Node527width - (ht.Default.getTextSize('0', ' '+ Node527fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node527align === 'center') {
- Node527textStart = -3;
- Node527textWidth = Node527width;
- Node527lineStart = Node527width - ht.Default.getTextSize('0', ' '+ Node527fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node527.setImage(GD.getTextJSON(Node527width, Node527height, true, false, false, ' '+ Node527fontSize + 'px "Arial"'))
- Node527.setPosition(380*ratio.ratioX, 357*ratio.ratioY);
- Node527.setWidth(Node527width);
- Node527.setHeight(Node527height);
- Node527._nodeType = 'text';
- Node527._disallowEvert = true;
- Node527.setRotation(0*Math.PI/180);
- Node527.a('node.width', Node527width);
- Node527.a('node.height', Node527height);
- Node527.a('node.rect', [0, 0, Node527width, Node527height]);
- Node527.a('node.bordercolor','rgba(0,0,0,1)');
- Node527.a('node.borderwidth', 0);
- Node527.a('node.background','' || 'rgba(0,0,0,0)');
- Node527.a('node.gradient','');
- Node527.a('node.gradientcolor','');
- Node527.a('node.text','0');
- Node527.a('node.textalign','left');
- Node527.a('node.textvAlign','middle');
- Node527.a('node.textrect', [Node527textStart, 0, Node527textWidth, Node527height]);
- Node527.a('node.color','rgba(0,0,0,1)');
- Node527.a('node.font',' '+ Node527fontSize + 'px "Arial"');
- Node527.a('node.textvisible',true);
- Node527.a('node.linefeed',false);
- if (false) {
- Node527.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node527.a('node.text') || '0';
- var color=Node527.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node527width,Node527height,13.3333*_ratio.ratioY,"left",color,' '+ Node527fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node527.a('node.underlinepoints',[Node527lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node527fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node527fontSize + 'px "Arial"').width + 6, (Node527height - Node527fontSize) * 0.5*_ratio.ratioY + Node527fontSize + 2 ]);
- Node527.a('node.underlinevisible',false);
- Node527.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node527);
- zoomNodeList.push({
- node: Node527,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node528 = new ht.Node();
- var Node528textStart, Node528textWidth, Node528lineStart, Node528align = 'left', Node528fontSize = 13.3333*_ratio.ratioY,Node528width = 49*_ratio.ratioX, Node528height = 25*_ratio.ratioY;
- (function () {
- if (Node528align === 'left') {
- Node528textStart = Node528fontSize * 0.2 > 2 ? Node528fontSize * 0.2 - 4 : Node528fontSize * 0.2 - 9;
- Node528textWidth = Node528width;
- Node528lineStart = 1;
- } else if (Node528align === 'right') {
- Node528textStart = 0;
- Node528textWidth =Node528fontSize <= 8 ? Node528width + Node528fontSize * 0.2 + 6 : Node528width - Node528fontSize * 0.2;
- Node528lineStart = (Node528width - (ht.Default.getTextSize('0', ' '+ Node528fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node528align === 'center') {
- Node528textStart = -3;
- Node528textWidth = Node528width;
- Node528lineStart = Node528width - ht.Default.getTextSize('0', ' '+ Node528fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node528.setImage(GD.getTextJSON(Node528width, Node528height, true, false, false, ' '+ Node528fontSize + 'px "Arial"'))
- Node528.setPosition(380*ratio.ratioX, 375*ratio.ratioY);
- Node528.setWidth(Node528width);
- Node528.setHeight(Node528height);
- Node528._nodeType = 'text';
- Node528._disallowEvert = true;
- Node528.setRotation(0*Math.PI/180);
- Node528.a('node.width', Node528width);
- Node528.a('node.height', Node528height);
- Node528.a('node.rect', [0, 0, Node528width, Node528height]);
- Node528.a('node.bordercolor','rgba(0,0,0,1)');
- Node528.a('node.borderwidth', 0);
- Node528.a('node.background','' || 'rgba(0,0,0,0)');
- Node528.a('node.gradient','');
- Node528.a('node.gradientcolor','');
- Node528.a('node.text','0');
- Node528.a('node.textalign','left');
- Node528.a('node.textvAlign','middle');
- Node528.a('node.textrect', [Node528textStart, 0, Node528textWidth, Node528height]);
- Node528.a('node.color','rgba(0,0,0,1)');
- Node528.a('node.font',' '+ Node528fontSize + 'px "Arial"');
- Node528.a('node.textvisible',true);
- Node528.a('node.linefeed',false);
- if (false) {
- Node528.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node528.a('node.text') || '0';
- var color=Node528.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node528width,Node528height,13.3333*_ratio.ratioY,"left",color,' '+ Node528fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node528.a('node.underlinepoints',[Node528lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node528fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node528fontSize + 'px "Arial"').width + 6, (Node528height - Node528fontSize) * 0.5*_ratio.ratioY + Node528fontSize + 2 ]);
- Node528.a('node.underlinevisible',false);
- Node528.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node528);
- zoomNodeList.push({
- node: Node528,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node529 = new ht.Node();
- var Node529textStart, Node529textWidth, Node529lineStart, Node529align = 'left', Node529fontSize = 13.3333*_ratio.ratioY,Node529width = 49*_ratio.ratioX, Node529height = 25*_ratio.ratioY;
- (function () {
- if (Node529align === 'left') {
- Node529textStart = Node529fontSize * 0.2 > 2 ? Node529fontSize * 0.2 - 4 : Node529fontSize * 0.2 - 9;
- Node529textWidth = Node529width;
- Node529lineStart = 1;
- } else if (Node529align === 'right') {
- Node529textStart = 0;
- Node529textWidth =Node529fontSize <= 8 ? Node529width + Node529fontSize * 0.2 + 6 : Node529width - Node529fontSize * 0.2;
- Node529lineStart = (Node529width - (ht.Default.getTextSize('0', ' '+ Node529fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node529align === 'center') {
- Node529textStart = -3;
- Node529textWidth = Node529width;
- Node529lineStart = Node529width - ht.Default.getTextSize('0', ' '+ Node529fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node529.setImage(GD.getTextJSON(Node529width, Node529height, true, false, false, ' '+ Node529fontSize + 'px "Arial"'))
- Node529.setPosition(380*ratio.ratioX, 394*ratio.ratioY);
- Node529.setWidth(Node529width);
- Node529.setHeight(Node529height);
- Node529._nodeType = 'text';
- Node529._disallowEvert = true;
- Node529.setRotation(0*Math.PI/180);
- Node529.a('node.width', Node529width);
- Node529.a('node.height', Node529height);
- Node529.a('node.rect', [0, 0, Node529width, Node529height]);
- Node529.a('node.bordercolor','rgba(0,0,0,1)');
- Node529.a('node.borderwidth', 0);
- Node529.a('node.background','' || 'rgba(0,0,0,0)');
- Node529.a('node.gradient','');
- Node529.a('node.gradientcolor','');
- Node529.a('node.text','0');
- Node529.a('node.textalign','left');
- Node529.a('node.textvAlign','middle');
- Node529.a('node.textrect', [Node529textStart, 0, Node529textWidth, Node529height]);
- Node529.a('node.color','rgba(0,0,0,1)');
- Node529.a('node.font',' '+ Node529fontSize + 'px "Arial"');
- Node529.a('node.textvisible',true);
- Node529.a('node.linefeed',false);
- if (false) {
- Node529.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node529.a('node.text') || '0';
- var color=Node529.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node529width,Node529height,13.3333*_ratio.ratioY,"left",color,' '+ Node529fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node529.a('node.underlinepoints',[Node529lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node529fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node529fontSize + 'px "Arial"').width + 6, (Node529height - Node529fontSize) * 0.5*_ratio.ratioY + Node529fontSize + 2 ]);
- Node529.a('node.underlinevisible',false);
- Node529.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node529);
- zoomNodeList.push({
- node: Node529,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node530 = new ht.Node();
- var Node530textStart, Node530textWidth, Node530lineStart, Node530align = 'left', Node530fontSize = 13.3333*_ratio.ratioY,Node530width = 49*_ratio.ratioX, Node530height = 25*_ratio.ratioY;
- (function () {
- if (Node530align === 'left') {
- Node530textStart = Node530fontSize * 0.2 > 2 ? Node530fontSize * 0.2 - 4 : Node530fontSize * 0.2 - 9;
- Node530textWidth = Node530width;
- Node530lineStart = 1;
- } else if (Node530align === 'right') {
- Node530textStart = 0;
- Node530textWidth =Node530fontSize <= 8 ? Node530width + Node530fontSize * 0.2 + 6 : Node530width - Node530fontSize * 0.2;
- Node530lineStart = (Node530width - (ht.Default.getTextSize('0', ' '+ Node530fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node530align === 'center') {
- Node530textStart = -3;
- Node530textWidth = Node530width;
- Node530lineStart = Node530width - ht.Default.getTextSize('0', ' '+ Node530fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node530.setImage(GD.getTextJSON(Node530width, Node530height, true, false, false, ' '+ Node530fontSize + 'px "Arial"'))
- Node530.setPosition(380*ratio.ratioX, 415*ratio.ratioY);
- Node530.setWidth(Node530width);
- Node530.setHeight(Node530height);
- Node530._nodeType = 'text';
- Node530._disallowEvert = true;
- Node530.setRotation(0*Math.PI/180);
- Node530.a('node.width', Node530width);
- Node530.a('node.height', Node530height);
- Node530.a('node.rect', [0, 0, Node530width, Node530height]);
- Node530.a('node.bordercolor','rgba(0,0,0,1)');
- Node530.a('node.borderwidth', 0);
- Node530.a('node.background','' || 'rgba(0,0,0,0)');
- Node530.a('node.gradient','');
- Node530.a('node.gradientcolor','');
- Node530.a('node.text','0');
- Node530.a('node.textalign','left');
- Node530.a('node.textvAlign','middle');
- Node530.a('node.textrect', [Node530textStart, 0, Node530textWidth, Node530height]);
- Node530.a('node.color','rgba(0,0,0,1)');
- Node530.a('node.font',' '+ Node530fontSize + 'px "Arial"');
- Node530.a('node.textvisible',true);
- Node530.a('node.linefeed',false);
- if (false) {
- Node530.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node530.a('node.text') || '0';
- var color=Node530.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node530width,Node530height,13.3333*_ratio.ratioY,"left",color,' '+ Node530fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node530.a('node.underlinepoints',[Node530lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node530fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node530fontSize + 'px "Arial"').width + 6, (Node530height - Node530fontSize) * 0.5*_ratio.ratioY + Node530fontSize + 2 ]);
- Node530.a('node.underlinevisible',false);
- Node530.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node530);
- zoomNodeList.push({
- node: Node530,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node531 = new ht.Node();
- var Node531textStart, Node531textWidth, Node531lineStart, Node531align = 'left', Node531fontSize = 13.3333*_ratio.ratioY,Node531width = 49*_ratio.ratioX, Node531height = 25*_ratio.ratioY;
- (function () {
- if (Node531align === 'left') {
- Node531textStart = Node531fontSize * 0.2 > 2 ? Node531fontSize * 0.2 - 4 : Node531fontSize * 0.2 - 9;
- Node531textWidth = Node531width;
- Node531lineStart = 1;
- } else if (Node531align === 'right') {
- Node531textStart = 0;
- Node531textWidth =Node531fontSize <= 8 ? Node531width + Node531fontSize * 0.2 + 6 : Node531width - Node531fontSize * 0.2;
- Node531lineStart = (Node531width - (ht.Default.getTextSize('0', ' '+ Node531fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node531align === 'center') {
- Node531textStart = -3;
- Node531textWidth = Node531width;
- Node531lineStart = Node531width - ht.Default.getTextSize('0', ' '+ Node531fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node531.setImage(GD.getTextJSON(Node531width, Node531height, true, false, false, ' '+ Node531fontSize + 'px "Arial"'))
- Node531.setPosition(380*ratio.ratioX, 433*ratio.ratioY);
- Node531.setWidth(Node531width);
- Node531.setHeight(Node531height);
- Node531._nodeType = 'text';
- Node531._disallowEvert = true;
- Node531.setRotation(0*Math.PI/180);
- Node531.a('node.width', Node531width);
- Node531.a('node.height', Node531height);
- Node531.a('node.rect', [0, 0, Node531width, Node531height]);
- Node531.a('node.bordercolor','rgba(0,0,0,1)');
- Node531.a('node.borderwidth', 0);
- Node531.a('node.background','' || 'rgba(0,0,0,0)');
- Node531.a('node.gradient','');
- Node531.a('node.gradientcolor','');
- Node531.a('node.text','0');
- Node531.a('node.textalign','left');
- Node531.a('node.textvAlign','middle');
- Node531.a('node.textrect', [Node531textStart, 0, Node531textWidth, Node531height]);
- Node531.a('node.color','rgba(0,0,0,1)');
- Node531.a('node.font',' '+ Node531fontSize + 'px "Arial"');
- Node531.a('node.textvisible',true);
- Node531.a('node.linefeed',false);
- if (false) {
- Node531.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node531.a('node.text') || '0';
- var color=Node531.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node531width,Node531height,13.3333*_ratio.ratioY,"left",color,' '+ Node531fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node531.a('node.underlinepoints',[Node531lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node531fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node531fontSize + 'px "Arial"').width + 6, (Node531height - Node531fontSize) * 0.5*_ratio.ratioY + Node531fontSize + 2 ]);
- Node531.a('node.underlinevisible',false);
- Node531.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node531);
- zoomNodeList.push({
- node: Node531,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node532 = new ht.Node();
- var Node532textStart, Node532textWidth, Node532lineStart, Node532align = 'left', Node532fontSize = 13.3333*_ratio.ratioY,Node532width = 49*_ratio.ratioX, Node532height = 25*_ratio.ratioY;
- (function () {
- if (Node532align === 'left') {
- Node532textStart = Node532fontSize * 0.2 > 2 ? Node532fontSize * 0.2 - 4 : Node532fontSize * 0.2 - 9;
- Node532textWidth = Node532width;
- Node532lineStart = 1;
- } else if (Node532align === 'right') {
- Node532textStart = 0;
- Node532textWidth =Node532fontSize <= 8 ? Node532width + Node532fontSize * 0.2 + 6 : Node532width - Node532fontSize * 0.2;
- Node532lineStart = (Node532width - (ht.Default.getTextSize('0', ' '+ Node532fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node532align === 'center') {
- Node532textStart = -3;
- Node532textWidth = Node532width;
- Node532lineStart = Node532width - ht.Default.getTextSize('0', ' '+ Node532fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node532.setImage(GD.getTextJSON(Node532width, Node532height, true, false, false, ' '+ Node532fontSize + 'px "Arial"'))
- Node532.setPosition(380*ratio.ratioX, 452*ratio.ratioY);
- Node532.setWidth(Node532width);
- Node532.setHeight(Node532height);
- Node532._nodeType = 'text';
- Node532._disallowEvert = true;
- Node532.setRotation(0*Math.PI/180);
- Node532.a('node.width', Node532width);
- Node532.a('node.height', Node532height);
- Node532.a('node.rect', [0, 0, Node532width, Node532height]);
- Node532.a('node.bordercolor','rgba(0,0,0,1)');
- Node532.a('node.borderwidth', 0);
- Node532.a('node.background','' || 'rgba(0,0,0,0)');
- Node532.a('node.gradient','');
- Node532.a('node.gradientcolor','');
- Node532.a('node.text','0');
- Node532.a('node.textalign','left');
- Node532.a('node.textvAlign','middle');
- Node532.a('node.textrect', [Node532textStart, 0, Node532textWidth, Node532height]);
- Node532.a('node.color','rgba(0,0,0,1)');
- Node532.a('node.font',' '+ Node532fontSize + 'px "Arial"');
- Node532.a('node.textvisible',true);
- Node532.a('node.linefeed',false);
- if (false) {
- Node532.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node532.a('node.text') || '0';
- var color=Node532.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node532width,Node532height,13.3333*_ratio.ratioY,"left",color,' '+ Node532fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node532.a('node.underlinepoints',[Node532lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node532fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node532fontSize + 'px "Arial"').width + 6, (Node532height - Node532fontSize) * 0.5*_ratio.ratioY + Node532fontSize + 2 ]);
- Node532.a('node.underlinevisible',false);
- Node532.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node532);
- zoomNodeList.push({
- node: Node532,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node533 = new ht.Node();
- var Node533textStart, Node533textWidth, Node533lineStart, Node533align = 'left', Node533fontSize = 13.3333*_ratio.ratioY,Node533width = 49*_ratio.ratioX, Node533height = 25*_ratio.ratioY;
- (function () {
- if (Node533align === 'left') {
- Node533textStart = Node533fontSize * 0.2 > 2 ? Node533fontSize * 0.2 - 4 : Node533fontSize * 0.2 - 9;
- Node533textWidth = Node533width;
- Node533lineStart = 1;
- } else if (Node533align === 'right') {
- Node533textStart = 0;
- Node533textWidth =Node533fontSize <= 8 ? Node533width + Node533fontSize * 0.2 + 6 : Node533width - Node533fontSize * 0.2;
- Node533lineStart = (Node533width - (ht.Default.getTextSize('0', ' '+ Node533fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node533align === 'center') {
- Node533textStart = -3;
- Node533textWidth = Node533width;
- Node533lineStart = Node533width - ht.Default.getTextSize('0', ' '+ Node533fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node533.setImage(GD.getTextJSON(Node533width, Node533height, true, false, false, ' '+ Node533fontSize + 'px "Arial"'))
- Node533.setPosition(380*ratio.ratioX, 472*ratio.ratioY);
- Node533.setWidth(Node533width);
- Node533.setHeight(Node533height);
- Node533._nodeType = 'text';
- Node533._disallowEvert = true;
- Node533.setRotation(0*Math.PI/180);
- Node533.a('node.width', Node533width);
- Node533.a('node.height', Node533height);
- Node533.a('node.rect', [0, 0, Node533width, Node533height]);
- Node533.a('node.bordercolor','rgba(0,0,0,1)');
- Node533.a('node.borderwidth', 0);
- Node533.a('node.background','' || 'rgba(0,0,0,0)');
- Node533.a('node.gradient','');
- Node533.a('node.gradientcolor','');
- Node533.a('node.text','0');
- Node533.a('node.textalign','left');
- Node533.a('node.textvAlign','middle');
- Node533.a('node.textrect', [Node533textStart, 0, Node533textWidth, Node533height]);
- Node533.a('node.color','rgba(0,0,0,1)');
- Node533.a('node.font',' '+ Node533fontSize + 'px "Arial"');
- Node533.a('node.textvisible',true);
- Node533.a('node.linefeed',false);
- if (false) {
- Node533.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node533.a('node.text') || '0';
- var color=Node533.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node533width,Node533height,13.3333*_ratio.ratioY,"left",color,' '+ Node533fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node533.a('node.underlinepoints',[Node533lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node533fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node533fontSize + 'px "Arial"').width + 6, (Node533height - Node533fontSize) * 0.5*_ratio.ratioY + Node533fontSize + 2 ]);
- Node533.a('node.underlinevisible',false);
- Node533.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node533);
- zoomNodeList.push({
- node: Node533,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node534 = new ht.Node();
- var Node534textStart, Node534textWidth, Node534lineStart, Node534align = 'left', Node534fontSize = 13.3333*_ratio.ratioY,Node534width = 49*_ratio.ratioX, Node534height = 25*_ratio.ratioY;
- (function () {
- if (Node534align === 'left') {
- Node534textStart = Node534fontSize * 0.2 > 2 ? Node534fontSize * 0.2 - 4 : Node534fontSize * 0.2 - 9;
- Node534textWidth = Node534width;
- Node534lineStart = 1;
- } else if (Node534align === 'right') {
- Node534textStart = 0;
- Node534textWidth =Node534fontSize <= 8 ? Node534width + Node534fontSize * 0.2 + 6 : Node534width - Node534fontSize * 0.2;
- Node534lineStart = (Node534width - (ht.Default.getTextSize('0', ' '+ Node534fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node534align === 'center') {
- Node534textStart = -3;
- Node534textWidth = Node534width;
- Node534lineStart = Node534width - ht.Default.getTextSize('0', ' '+ Node534fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node534.setImage(GD.getTextJSON(Node534width, Node534height, true, false, false, ' '+ Node534fontSize + 'px "Arial"'))
- Node534.setPosition(380*ratio.ratioX, 492*ratio.ratioY);
- Node534.setWidth(Node534width);
- Node534.setHeight(Node534height);
- Node534._nodeType = 'text';
- Node534._disallowEvert = true;
- Node534.setRotation(0*Math.PI/180);
- Node534.a('node.width', Node534width);
- Node534.a('node.height', Node534height);
- Node534.a('node.rect', [0, 0, Node534width, Node534height]);
- Node534.a('node.bordercolor','rgba(0,0,0,1)');
- Node534.a('node.borderwidth', 0);
- Node534.a('node.background','' || 'rgba(0,0,0,0)');
- Node534.a('node.gradient','');
- Node534.a('node.gradientcolor','');
- Node534.a('node.text','0');
- Node534.a('node.textalign','left');
- Node534.a('node.textvAlign','middle');
- Node534.a('node.textrect', [Node534textStart, 0, Node534textWidth, Node534height]);
- Node534.a('node.color','rgba(0,0,0,1)');
- Node534.a('node.font',' '+ Node534fontSize + 'px "Arial"');
- Node534.a('node.textvisible',true);
- Node534.a('node.linefeed',false);
- if (false) {
- Node534.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node534.a('node.text') || '0';
- var color=Node534.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node534width,Node534height,13.3333*_ratio.ratioY,"left",color,' '+ Node534fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node534.a('node.underlinepoints',[Node534lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node534fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node534fontSize + 'px "Arial"').width + 6, (Node534height - Node534fontSize) * 0.5*_ratio.ratioY + Node534fontSize + 2 ]);
- Node534.a('node.underlinevisible',false);
- Node534.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node534);
- zoomNodeList.push({
- node: Node534,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node535 = new ht.Node();
- var Node535textStart, Node535textWidth, Node535lineStart, Node535align = 'left', Node535fontSize = 13.3333*_ratio.ratioY,Node535width = 49*_ratio.ratioX, Node535height = 25*_ratio.ratioY;
- (function () {
- if (Node535align === 'left') {
- Node535textStart = Node535fontSize * 0.2 > 2 ? Node535fontSize * 0.2 - 4 : Node535fontSize * 0.2 - 9;
- Node535textWidth = Node535width;
- Node535lineStart = 1;
- } else if (Node535align === 'right') {
- Node535textStart = 0;
- Node535textWidth =Node535fontSize <= 8 ? Node535width + Node535fontSize * 0.2 + 6 : Node535width - Node535fontSize * 0.2;
- Node535lineStart = (Node535width - (ht.Default.getTextSize('0', ' '+ Node535fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node535align === 'center') {
- Node535textStart = -3;
- Node535textWidth = Node535width;
- Node535lineStart = Node535width - ht.Default.getTextSize('0', ' '+ Node535fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node535.setImage(GD.getTextJSON(Node535width, Node535height, true, false, false, ' '+ Node535fontSize + 'px "Arial"'))
- Node535.setPosition(380*ratio.ratioX, 513*ratio.ratioY);
- Node535.setWidth(Node535width);
- Node535.setHeight(Node535height);
- Node535._nodeType = 'text';
- Node535._disallowEvert = true;
- Node535.setRotation(0*Math.PI/180);
- Node535.a('node.width', Node535width);
- Node535.a('node.height', Node535height);
- Node535.a('node.rect', [0, 0, Node535width, Node535height]);
- Node535.a('node.bordercolor','rgba(0,0,0,1)');
- Node535.a('node.borderwidth', 0);
- Node535.a('node.background','' || 'rgba(0,0,0,0)');
- Node535.a('node.gradient','');
- Node535.a('node.gradientcolor','');
- Node535.a('node.text','0');
- Node535.a('node.textalign','left');
- Node535.a('node.textvAlign','middle');
- Node535.a('node.textrect', [Node535textStart, 0, Node535textWidth, Node535height]);
- Node535.a('node.color','rgba(0,0,0,1)');
- Node535.a('node.font',' '+ Node535fontSize + 'px "Arial"');
- Node535.a('node.textvisible',true);
- Node535.a('node.linefeed',false);
- if (false) {
- Node535.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node535.a('node.text') || '0';
- var color=Node535.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node535width,Node535height,13.3333*_ratio.ratioY,"left",color,' '+ Node535fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node535.a('node.underlinepoints',[Node535lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node535fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node535fontSize + 'px "Arial"').width + 6, (Node535height - Node535fontSize) * 0.5*_ratio.ratioY + Node535fontSize + 2 ]);
- Node535.a('node.underlinevisible',false);
- Node535.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node535);
- zoomNodeList.push({
- node: Node535,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node536 = new ht.Node();
- var Node536textStart, Node536textWidth, Node536lineStart, Node536align = 'left', Node536fontSize = 13.3333*_ratio.ratioY,Node536width = 49*_ratio.ratioX, Node536height = 25*_ratio.ratioY;
- (function () {
- if (Node536align === 'left') {
- Node536textStart = Node536fontSize * 0.2 > 2 ? Node536fontSize * 0.2 - 4 : Node536fontSize * 0.2 - 9;
- Node536textWidth = Node536width;
- Node536lineStart = 1;
- } else if (Node536align === 'right') {
- Node536textStart = 0;
- Node536textWidth =Node536fontSize <= 8 ? Node536width + Node536fontSize * 0.2 + 6 : Node536width - Node536fontSize * 0.2;
- Node536lineStart = (Node536width - (ht.Default.getTextSize('0', ' '+ Node536fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node536align === 'center') {
- Node536textStart = -3;
- Node536textWidth = Node536width;
- Node536lineStart = Node536width - ht.Default.getTextSize('0', ' '+ Node536fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node536.setImage(GD.getTextJSON(Node536width, Node536height, true, false, false, ' '+ Node536fontSize + 'px "Arial"'))
- Node536.setPosition(380*ratio.ratioX, 533*ratio.ratioY);
- Node536.setWidth(Node536width);
- Node536.setHeight(Node536height);
- Node536._nodeType = 'text';
- Node536._disallowEvert = true;
- Node536.setRotation(0*Math.PI/180);
- Node536.a('node.width', Node536width);
- Node536.a('node.height', Node536height);
- Node536.a('node.rect', [0, 0, Node536width, Node536height]);
- Node536.a('node.bordercolor','rgba(0,0,0,1)');
- Node536.a('node.borderwidth', 0);
- Node536.a('node.background','' || 'rgba(0,0,0,0)');
- Node536.a('node.gradient','');
- Node536.a('node.gradientcolor','');
- Node536.a('node.text','0');
- Node536.a('node.textalign','left');
- Node536.a('node.textvAlign','middle');
- Node536.a('node.textrect', [Node536textStart, 0, Node536textWidth, Node536height]);
- Node536.a('node.color','rgba(0,0,0,1)');
- Node536.a('node.font',' '+ Node536fontSize + 'px "Arial"');
- Node536.a('node.textvisible',true);
- Node536.a('node.linefeed',false);
- if (false) {
- Node536.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node536.a('node.text') || '0';
- var color=Node536.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node536width,Node536height,13.3333*_ratio.ratioY,"left",color,' '+ Node536fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node536.a('node.underlinepoints',[Node536lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node536fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node536fontSize + 'px "Arial"').width + 6, (Node536height - Node536fontSize) * 0.5*_ratio.ratioY + Node536fontSize + 2 ]);
- Node536.a('node.underlinevisible',false);
- Node536.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node536);
- zoomNodeList.push({
- node: Node536,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node537 = new ht.Node();
- var Node537textStart, Node537textWidth, Node537lineStart, Node537align = 'left', Node537fontSize = 13.3333*_ratio.ratioY,Node537width = 49*_ratio.ratioX, Node537height = 25*_ratio.ratioY;
- (function () {
- if (Node537align === 'left') {
- Node537textStart = Node537fontSize * 0.2 > 2 ? Node537fontSize * 0.2 - 4 : Node537fontSize * 0.2 - 9;
- Node537textWidth = Node537width;
- Node537lineStart = 1;
- } else if (Node537align === 'right') {
- Node537textStart = 0;
- Node537textWidth =Node537fontSize <= 8 ? Node537width + Node537fontSize * 0.2 + 6 : Node537width - Node537fontSize * 0.2;
- Node537lineStart = (Node537width - (ht.Default.getTextSize('0', ' '+ Node537fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node537align === 'center') {
- Node537textStart = -3;
- Node537textWidth = Node537width;
- Node537lineStart = Node537width - ht.Default.getTextSize('0', ' '+ Node537fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node537.setImage(GD.getTextJSON(Node537width, Node537height, true, false, false, ' '+ Node537fontSize + 'px "Arial"'))
- Node537.setPosition(847*ratio.ratioX, 357*ratio.ratioY);
- Node537.setWidth(Node537width);
- Node537.setHeight(Node537height);
- Node537._nodeType = 'text';
- Node537._disallowEvert = true;
- Node537.setRotation(0*Math.PI/180);
- Node537.a('node.width', Node537width);
- Node537.a('node.height', Node537height);
- Node537.a('node.rect', [0, 0, Node537width, Node537height]);
- Node537.a('node.bordercolor','rgba(0,0,0,1)');
- Node537.a('node.borderwidth', 0);
- Node537.a('node.background','' || 'rgba(0,0,0,0)');
- Node537.a('node.gradient','');
- Node537.a('node.gradientcolor','');
- Node537.a('node.text','0');
- Node537.a('node.textalign','left');
- Node537.a('node.textvAlign','middle');
- Node537.a('node.textrect', [Node537textStart, 0, Node537textWidth, Node537height]);
- Node537.a('node.color','rgba(0,0,0,1)');
- Node537.a('node.font',' '+ Node537fontSize + 'px "Arial"');
- Node537.a('node.textvisible',true);
- Node537.a('node.linefeed',false);
- if (false) {
- Node537.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node537.a('node.text') || '0';
- var color=Node537.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node537width,Node537height,13.3333*_ratio.ratioY,"left",color,' '+ Node537fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node537.a('node.underlinepoints',[Node537lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node537fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node537fontSize + 'px "Arial"').width + 6, (Node537height - Node537fontSize) * 0.5*_ratio.ratioY + Node537fontSize + 2 ]);
- Node537.a('node.underlinevisible',false);
- Node537.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node537);
- zoomNodeList.push({
- node: Node537,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node538 = new ht.Node();
- var Node538textStart, Node538textWidth, Node538lineStart, Node538align = 'left', Node538fontSize = 13.3333*_ratio.ratioY,Node538width = 49*_ratio.ratioX, Node538height = 25*_ratio.ratioY;
- (function () {
- if (Node538align === 'left') {
- Node538textStart = Node538fontSize * 0.2 > 2 ? Node538fontSize * 0.2 - 4 : Node538fontSize * 0.2 - 9;
- Node538textWidth = Node538width;
- Node538lineStart = 1;
- } else if (Node538align === 'right') {
- Node538textStart = 0;
- Node538textWidth =Node538fontSize <= 8 ? Node538width + Node538fontSize * 0.2 + 6 : Node538width - Node538fontSize * 0.2;
- Node538lineStart = (Node538width - (ht.Default.getTextSize('0', ' '+ Node538fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node538align === 'center') {
- Node538textStart = -3;
- Node538textWidth = Node538width;
- Node538lineStart = Node538width - ht.Default.getTextSize('0', ' '+ Node538fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node538.setImage(GD.getTextJSON(Node538width, Node538height, true, false, false, ' '+ Node538fontSize + 'px "Arial"'))
- Node538.setPosition(847*ratio.ratioX, 378*ratio.ratioY);
- Node538.setWidth(Node538width);
- Node538.setHeight(Node538height);
- Node538._nodeType = 'text';
- Node538._disallowEvert = true;
- Node538.setRotation(0*Math.PI/180);
- Node538.a('node.width', Node538width);
- Node538.a('node.height', Node538height);
- Node538.a('node.rect', [0, 0, Node538width, Node538height]);
- Node538.a('node.bordercolor','rgba(0,0,0,1)');
- Node538.a('node.borderwidth', 0);
- Node538.a('node.background','' || 'rgba(0,0,0,0)');
- Node538.a('node.gradient','');
- Node538.a('node.gradientcolor','');
- Node538.a('node.text','0');
- Node538.a('node.textalign','left');
- Node538.a('node.textvAlign','middle');
- Node538.a('node.textrect', [Node538textStart, 0, Node538textWidth, Node538height]);
- Node538.a('node.color','rgba(0,0,0,1)');
- Node538.a('node.font',' '+ Node538fontSize + 'px "Arial"');
- Node538.a('node.textvisible',true);
- Node538.a('node.linefeed',false);
- if (false) {
- Node538.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node538.a('node.text') || '0';
- var color=Node538.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node538width,Node538height,13.3333*_ratio.ratioY,"left",color,' '+ Node538fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node538.a('node.underlinepoints',[Node538lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node538fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node538fontSize + 'px "Arial"').width + 6, (Node538height - Node538fontSize) * 0.5*_ratio.ratioY + Node538fontSize + 2 ]);
- Node538.a('node.underlinevisible',false);
- Node538.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node538);
- zoomNodeList.push({
- node: Node538,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node539 = new ht.Node();
- var Node539textStart, Node539textWidth, Node539lineStart, Node539align = 'left', Node539fontSize = 13.3333*_ratio.ratioY,Node539width = 49*_ratio.ratioX, Node539height = 25*_ratio.ratioY;
- (function () {
- if (Node539align === 'left') {
- Node539textStart = Node539fontSize * 0.2 > 2 ? Node539fontSize * 0.2 - 4 : Node539fontSize * 0.2 - 9;
- Node539textWidth = Node539width;
- Node539lineStart = 1;
- } else if (Node539align === 'right') {
- Node539textStart = 0;
- Node539textWidth =Node539fontSize <= 8 ? Node539width + Node539fontSize * 0.2 + 6 : Node539width - Node539fontSize * 0.2;
- Node539lineStart = (Node539width - (ht.Default.getTextSize('0', ' '+ Node539fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node539align === 'center') {
- Node539textStart = -3;
- Node539textWidth = Node539width;
- Node539lineStart = Node539width - ht.Default.getTextSize('0', ' '+ Node539fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node539.setImage(GD.getTextJSON(Node539width, Node539height, true, false, false, ' '+ Node539fontSize + 'px "Arial"'))
- Node539.setPosition(847*ratio.ratioX, 400*ratio.ratioY);
- Node539.setWidth(Node539width);
- Node539.setHeight(Node539height);
- Node539._nodeType = 'text';
- Node539._disallowEvert = true;
- Node539.setRotation(0*Math.PI/180);
- Node539.a('node.width', Node539width);
- Node539.a('node.height', Node539height);
- Node539.a('node.rect', [0, 0, Node539width, Node539height]);
- Node539.a('node.bordercolor','rgba(0,0,0,1)');
- Node539.a('node.borderwidth', 0);
- Node539.a('node.background','' || 'rgba(0,0,0,0)');
- Node539.a('node.gradient','');
- Node539.a('node.gradientcolor','');
- Node539.a('node.text','0');
- Node539.a('node.textalign','left');
- Node539.a('node.textvAlign','middle');
- Node539.a('node.textrect', [Node539textStart, 0, Node539textWidth, Node539height]);
- Node539.a('node.color','rgba(0,0,0,1)');
- Node539.a('node.font',' '+ Node539fontSize + 'px "Arial"');
- Node539.a('node.textvisible',true);
- Node539.a('node.linefeed',false);
- if (false) {
- Node539.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node539.a('node.text') || '0';
- var color=Node539.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node539width,Node539height,13.3333*_ratio.ratioY,"left",color,' '+ Node539fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node539.a('node.underlinepoints',[Node539lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node539fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node539fontSize + 'px "Arial"').width + 6, (Node539height - Node539fontSize) * 0.5*_ratio.ratioY + Node539fontSize + 2 ]);
- Node539.a('node.underlinevisible',false);
- Node539.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node539);
- zoomNodeList.push({
- node: Node539,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node540 = new ht.Node();
- var Node540textStart, Node540textWidth, Node540lineStart, Node540align = 'left', Node540fontSize = 13.3333*_ratio.ratioY,Node540width = 49*_ratio.ratioX, Node540height = 25*_ratio.ratioY;
- (function () {
- if (Node540align === 'left') {
- Node540textStart = Node540fontSize * 0.2 > 2 ? Node540fontSize * 0.2 - 4 : Node540fontSize * 0.2 - 9;
- Node540textWidth = Node540width;
- Node540lineStart = 1;
- } else if (Node540align === 'right') {
- Node540textStart = 0;
- Node540textWidth =Node540fontSize <= 8 ? Node540width + Node540fontSize * 0.2 + 6 : Node540width - Node540fontSize * 0.2;
- Node540lineStart = (Node540width - (ht.Default.getTextSize('0', ' '+ Node540fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node540align === 'center') {
- Node540textStart = -3;
- Node540textWidth = Node540width;
- Node540lineStart = Node540width - ht.Default.getTextSize('0', ' '+ Node540fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node540.setImage(GD.getTextJSON(Node540width, Node540height, true, false, false, ' '+ Node540fontSize + 'px "Arial"'))
- Node540.setPosition(847*ratio.ratioX, 421*ratio.ratioY);
- Node540.setWidth(Node540width);
- Node540.setHeight(Node540height);
- Node540._nodeType = 'text';
- Node540._disallowEvert = true;
- Node540.setRotation(0*Math.PI/180);
- Node540.a('node.width', Node540width);
- Node540.a('node.height', Node540height);
- Node540.a('node.rect', [0, 0, Node540width, Node540height]);
- Node540.a('node.bordercolor','rgba(0,0,0,1)');
- Node540.a('node.borderwidth', 0);
- Node540.a('node.background','' || 'rgba(0,0,0,0)');
- Node540.a('node.gradient','');
- Node540.a('node.gradientcolor','');
- Node540.a('node.text','0');
- Node540.a('node.textalign','left');
- Node540.a('node.textvAlign','middle');
- Node540.a('node.textrect', [Node540textStart, 0, Node540textWidth, Node540height]);
- Node540.a('node.color','rgba(0,0,0,1)');
- Node540.a('node.font',' '+ Node540fontSize + 'px "Arial"');
- Node540.a('node.textvisible',true);
- Node540.a('node.linefeed',false);
- if (false) {
- Node540.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node540.a('node.text') || '0';
- var color=Node540.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node540width,Node540height,13.3333*_ratio.ratioY,"left",color,' '+ Node540fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node540.a('node.underlinepoints',[Node540lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node540fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node540fontSize + 'px "Arial"').width + 6, (Node540height - Node540fontSize) * 0.5*_ratio.ratioY + Node540fontSize + 2 ]);
- Node540.a('node.underlinevisible',false);
- Node540.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node540);
- zoomNodeList.push({
- node: Node540,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node541 = new ht.Node();
- var Node541textStart, Node541textWidth, Node541lineStart, Node541align = 'left', Node541fontSize = 13.3333*_ratio.ratioY,Node541width = 49*_ratio.ratioX, Node541height = 25*_ratio.ratioY;
- (function () {
- if (Node541align === 'left') {
- Node541textStart = Node541fontSize * 0.2 > 2 ? Node541fontSize * 0.2 - 4 : Node541fontSize * 0.2 - 9;
- Node541textWidth = Node541width;
- Node541lineStart = 1;
- } else if (Node541align === 'right') {
- Node541textStart = 0;
- Node541textWidth =Node541fontSize <= 8 ? Node541width + Node541fontSize * 0.2 + 6 : Node541width - Node541fontSize * 0.2;
- Node541lineStart = (Node541width - (ht.Default.getTextSize('0', ' '+ Node541fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node541align === 'center') {
- Node541textStart = -3;
- Node541textWidth = Node541width;
- Node541lineStart = Node541width - ht.Default.getTextSize('0', ' '+ Node541fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node541.setImage(GD.getTextJSON(Node541width, Node541height, true, false, false, ' '+ Node541fontSize + 'px "Arial"'))
- Node541.setPosition(847*ratio.ratioX, 442*ratio.ratioY);
- Node541.setWidth(Node541width);
- Node541.setHeight(Node541height);
- Node541._nodeType = 'text';
- Node541._disallowEvert = true;
- Node541.setRotation(0*Math.PI/180);
- Node541.a('node.width', Node541width);
- Node541.a('node.height', Node541height);
- Node541.a('node.rect', [0, 0, Node541width, Node541height]);
- Node541.a('node.bordercolor','rgba(0,0,0,1)');
- Node541.a('node.borderwidth', 0);
- Node541.a('node.background','' || 'rgba(0,0,0,0)');
- Node541.a('node.gradient','');
- Node541.a('node.gradientcolor','');
- Node541.a('node.text','0');
- Node541.a('node.textalign','left');
- Node541.a('node.textvAlign','middle');
- Node541.a('node.textrect', [Node541textStart, 0, Node541textWidth, Node541height]);
- Node541.a('node.color','rgba(0,0,0,1)');
- Node541.a('node.font',' '+ Node541fontSize + 'px "Arial"');
- Node541.a('node.textvisible',true);
- Node541.a('node.linefeed',false);
- if (false) {
- Node541.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node541.a('node.text') || '0';
- var color=Node541.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node541width,Node541height,13.3333*_ratio.ratioY,"left",color,' '+ Node541fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node541.a('node.underlinepoints',[Node541lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node541fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node541fontSize + 'px "Arial"').width + 6, (Node541height - Node541fontSize) * 0.5*_ratio.ratioY + Node541fontSize + 2 ]);
- Node541.a('node.underlinevisible',false);
- Node541.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node541);
- zoomNodeList.push({
- node: Node541,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node542 = new ht.Node();
- var Node542textStart, Node542textWidth, Node542lineStart, Node542align = 'left', Node542fontSize = 13.3333*_ratio.ratioY,Node542width = 49*_ratio.ratioX, Node542height = 25*_ratio.ratioY;
- (function () {
- if (Node542align === 'left') {
- Node542textStart = Node542fontSize * 0.2 > 2 ? Node542fontSize * 0.2 - 4 : Node542fontSize * 0.2 - 9;
- Node542textWidth = Node542width;
- Node542lineStart = 1;
- } else if (Node542align === 'right') {
- Node542textStart = 0;
- Node542textWidth =Node542fontSize <= 8 ? Node542width + Node542fontSize * 0.2 + 6 : Node542width - Node542fontSize * 0.2;
- Node542lineStart = (Node542width - (ht.Default.getTextSize('0', ' '+ Node542fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node542align === 'center') {
- Node542textStart = -3;
- Node542textWidth = Node542width;
- Node542lineStart = Node542width - ht.Default.getTextSize('0', ' '+ Node542fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node542.setImage(GD.getTextJSON(Node542width, Node542height, true, false, false, ' '+ Node542fontSize + 'px "Arial"'))
- Node542.setPosition(847*ratio.ratioX, 463*ratio.ratioY);
- Node542.setWidth(Node542width);
- Node542.setHeight(Node542height);
- Node542._nodeType = 'text';
- Node542._disallowEvert = true;
- Node542.setRotation(0*Math.PI/180);
- Node542.a('node.width', Node542width);
- Node542.a('node.height', Node542height);
- Node542.a('node.rect', [0, 0, Node542width, Node542height]);
- Node542.a('node.bordercolor','rgba(0,0,0,1)');
- Node542.a('node.borderwidth', 0);
- Node542.a('node.background','' || 'rgba(0,0,0,0)');
- Node542.a('node.gradient','');
- Node542.a('node.gradientcolor','');
- Node542.a('node.text','0');
- Node542.a('node.textalign','left');
- Node542.a('node.textvAlign','middle');
- Node542.a('node.textrect', [Node542textStart, 0, Node542textWidth, Node542height]);
- Node542.a('node.color','rgba(0,0,0,1)');
- Node542.a('node.font',' '+ Node542fontSize + 'px "Arial"');
- Node542.a('node.textvisible',true);
- Node542.a('node.linefeed',false);
- if (false) {
- Node542.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node542.a('node.text') || '0';
- var color=Node542.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node542width,Node542height,13.3333*_ratio.ratioY,"left",color,' '+ Node542fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node542.a('node.underlinepoints',[Node542lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node542fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node542fontSize + 'px "Arial"').width + 6, (Node542height - Node542fontSize) * 0.5*_ratio.ratioY + Node542fontSize + 2 ]);
- Node542.a('node.underlinevisible',false);
- Node542.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node542);
- zoomNodeList.push({
- node: Node542,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node543 = new ht.Node();
- var Node543textStart, Node543textWidth, Node543lineStart, Node543align = 'left', Node543fontSize = 13.3333*_ratio.ratioY,Node543width = 49*_ratio.ratioX, Node543height = 25*_ratio.ratioY;
- (function () {
- if (Node543align === 'left') {
- Node543textStart = Node543fontSize * 0.2 > 2 ? Node543fontSize * 0.2 - 4 : Node543fontSize * 0.2 - 9;
- Node543textWidth = Node543width;
- Node543lineStart = 1;
- } else if (Node543align === 'right') {
- Node543textStart = 0;
- Node543textWidth =Node543fontSize <= 8 ? Node543width + Node543fontSize * 0.2 + 6 : Node543width - Node543fontSize * 0.2;
- Node543lineStart = (Node543width - (ht.Default.getTextSize('0', ' '+ Node543fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node543align === 'center') {
- Node543textStart = -3;
- Node543textWidth = Node543width;
- Node543lineStart = Node543width - ht.Default.getTextSize('0', ' '+ Node543fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node543.setImage(GD.getTextJSON(Node543width, Node543height, true, false, false, ' '+ Node543fontSize + 'px "Arial"'))
- Node543.setPosition(847*ratio.ratioX, 486*ratio.ratioY);
- Node543.setWidth(Node543width);
- Node543.setHeight(Node543height);
- Node543._nodeType = 'text';
- Node543._disallowEvert = true;
- Node543.setRotation(0*Math.PI/180);
- Node543.a('node.width', Node543width);
- Node543.a('node.height', Node543height);
- Node543.a('node.rect', [0, 0, Node543width, Node543height]);
- Node543.a('node.bordercolor','rgba(0,0,0,1)');
- Node543.a('node.borderwidth', 0);
- Node543.a('node.background','' || 'rgba(0,0,0,0)');
- Node543.a('node.gradient','');
- Node543.a('node.gradientcolor','');
- Node543.a('node.text','0');
- Node543.a('node.textalign','left');
- Node543.a('node.textvAlign','middle');
- Node543.a('node.textrect', [Node543textStart, 0, Node543textWidth, Node543height]);
- Node543.a('node.color','rgba(0,0,0,1)');
- Node543.a('node.font',' '+ Node543fontSize + 'px "Arial"');
- Node543.a('node.textvisible',true);
- Node543.a('node.linefeed',false);
- if (false) {
- Node543.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node543.a('node.text') || '0';
- var color=Node543.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node543width,Node543height,13.3333*_ratio.ratioY,"left",color,' '+ Node543fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node543.a('node.underlinepoints',[Node543lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node543fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node543fontSize + 'px "Arial"').width + 6, (Node543height - Node543fontSize) * 0.5*_ratio.ratioY + Node543fontSize + 2 ]);
- Node543.a('node.underlinevisible',false);
- Node543.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node543);
- zoomNodeList.push({
- node: Node543,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node544 = new ht.Node();
- var Node544textStart, Node544textWidth, Node544lineStart, Node544align = 'left', Node544fontSize = 13.3333*_ratio.ratioY,Node544width = 49*_ratio.ratioX, Node544height = 25*_ratio.ratioY;
- (function () {
- if (Node544align === 'left') {
- Node544textStart = Node544fontSize * 0.2 > 2 ? Node544fontSize * 0.2 - 4 : Node544fontSize * 0.2 - 9;
- Node544textWidth = Node544width;
- Node544lineStart = 1;
- } else if (Node544align === 'right') {
- Node544textStart = 0;
- Node544textWidth =Node544fontSize <= 8 ? Node544width + Node544fontSize * 0.2 + 6 : Node544width - Node544fontSize * 0.2;
- Node544lineStart = (Node544width - (ht.Default.getTextSize('0', ' '+ Node544fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node544align === 'center') {
- Node544textStart = -3;
- Node544textWidth = Node544width;
- Node544lineStart = Node544width - ht.Default.getTextSize('0', ' '+ Node544fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node544.setImage(GD.getTextJSON(Node544width, Node544height, true, false, false, ' '+ Node544fontSize + 'px "Arial"'))
- Node544.setPosition(1733*ratio.ratioX, 491*ratio.ratioY);
- Node544.setWidth(Node544width);
- Node544.setHeight(Node544height);
- Node544._nodeType = 'text';
- Node544._disallowEvert = true;
- Node544.setRotation(0*Math.PI/180);
- Node544.a('node.width', Node544width);
- Node544.a('node.height', Node544height);
- Node544.a('node.rect', [0, 0, Node544width, Node544height]);
- Node544.a('node.bordercolor','rgba(0,0,0,1)');
- Node544.a('node.borderwidth', 0);
- Node544.a('node.background','' || 'rgba(0,0,0,0)');
- Node544.a('node.gradient','');
- Node544.a('node.gradientcolor','');
- Node544.a('node.text','0');
- Node544.a('node.textalign','left');
- Node544.a('node.textvAlign','middle');
- Node544.a('node.textrect', [Node544textStart, 0, Node544textWidth, Node544height]);
- Node544.a('node.color','rgba(0,0,0,1)');
- Node544.a('node.font',' '+ Node544fontSize + 'px "Arial"');
- Node544.a('node.textvisible',true);
- Node544.a('node.linefeed',false);
- if (false) {
- Node544.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node544.a('node.text') || '0';
- var color=Node544.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node544width,Node544height,13.3333*_ratio.ratioY,"left",color,' '+ Node544fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node544.a('node.underlinepoints',[Node544lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node544fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node544fontSize + 'px "Arial"').width + 6, (Node544height - Node544fontSize) * 0.5*_ratio.ratioY + Node544fontSize + 2 ]);
- Node544.a('node.underlinevisible',false);
- Node544.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node544);
- zoomNodeList.push({
- node: Node544,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node545 = new ht.Node();
- var Node545textStart, Node545textWidth, Node545lineStart, Node545align = 'left', Node545fontSize = 13.3333*_ratio.ratioY,Node545width = 49*_ratio.ratioX, Node545height = 25*_ratio.ratioY;
- (function () {
- if (Node545align === 'left') {
- Node545textStart = Node545fontSize * 0.2 > 2 ? Node545fontSize * 0.2 - 4 : Node545fontSize * 0.2 - 9;
- Node545textWidth = Node545width;
- Node545lineStart = 1;
- } else if (Node545align === 'right') {
- Node545textStart = 0;
- Node545textWidth =Node545fontSize <= 8 ? Node545width + Node545fontSize * 0.2 + 6 : Node545width - Node545fontSize * 0.2;
- Node545lineStart = (Node545width - (ht.Default.getTextSize('0', ' '+ Node545fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node545align === 'center') {
- Node545textStart = -3;
- Node545textWidth = Node545width;
- Node545lineStart = Node545width - ht.Default.getTextSize('0', ' '+ Node545fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node545.setImage(GD.getTextJSON(Node545width, Node545height, true, false, false, ' '+ Node545fontSize + 'px "Arial"'))
- Node545.setPosition(1733*ratio.ratioX, 512*ratio.ratioY);
- Node545.setWidth(Node545width);
- Node545.setHeight(Node545height);
- Node545._nodeType = 'text';
- Node545._disallowEvert = true;
- Node545.setRotation(0*Math.PI/180);
- Node545.a('node.width', Node545width);
- Node545.a('node.height', Node545height);
- Node545.a('node.rect', [0, 0, Node545width, Node545height]);
- Node545.a('node.bordercolor','rgba(0,0,0,1)');
- Node545.a('node.borderwidth', 0);
- Node545.a('node.background','' || 'rgba(0,0,0,0)');
- Node545.a('node.gradient','');
- Node545.a('node.gradientcolor','');
- Node545.a('node.text','0');
- Node545.a('node.textalign','left');
- Node545.a('node.textvAlign','middle');
- Node545.a('node.textrect', [Node545textStart, 0, Node545textWidth, Node545height]);
- Node545.a('node.color','rgba(0,0,0,1)');
- Node545.a('node.font',' '+ Node545fontSize + 'px "Arial"');
- Node545.a('node.textvisible',true);
- Node545.a('node.linefeed',false);
- if (false) {
- Node545.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node545.a('node.text') || '0';
- var color=Node545.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node545width,Node545height,13.3333*_ratio.ratioY,"left",color,' '+ Node545fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node545.a('node.underlinepoints',[Node545lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node545fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node545fontSize + 'px "Arial"').width + 6, (Node545height - Node545fontSize) * 0.5*_ratio.ratioY + Node545fontSize + 2 ]);
- Node545.a('node.underlinevisible',false);
- Node545.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node545);
- zoomNodeList.push({
- node: Node545,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node546 = new ht.Node();
- var Node546textStart, Node546textWidth, Node546lineStart, Node546align = 'left', Node546fontSize = 13.3333*_ratio.ratioY,Node546width = 49*_ratio.ratioX, Node546height = 25*_ratio.ratioY;
- (function () {
- if (Node546align === 'left') {
- Node546textStart = Node546fontSize * 0.2 > 2 ? Node546fontSize * 0.2 - 4 : Node546fontSize * 0.2 - 9;
- Node546textWidth = Node546width;
- Node546lineStart = 1;
- } else if (Node546align === 'right') {
- Node546textStart = 0;
- Node546textWidth =Node546fontSize <= 8 ? Node546width + Node546fontSize * 0.2 + 6 : Node546width - Node546fontSize * 0.2;
- Node546lineStart = (Node546width - (ht.Default.getTextSize('0', ' '+ Node546fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node546align === 'center') {
- Node546textStart = -3;
- Node546textWidth = Node546width;
- Node546lineStart = Node546width - ht.Default.getTextSize('0', ' '+ Node546fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node546.setImage(GD.getTextJSON(Node546width, Node546height, true, false, false, ' '+ Node546fontSize + 'px "Arial"'))
- Node546.setPosition(1733*ratio.ratioX, 531*ratio.ratioY);
- Node546.setWidth(Node546width);
- Node546.setHeight(Node546height);
- Node546._nodeType = 'text';
- Node546._disallowEvert = true;
- Node546.setRotation(0*Math.PI/180);
- Node546.a('node.width', Node546width);
- Node546.a('node.height', Node546height);
- Node546.a('node.rect', [0, 0, Node546width, Node546height]);
- Node546.a('node.bordercolor','rgba(0,0,0,1)');
- Node546.a('node.borderwidth', 0);
- Node546.a('node.background','' || 'rgba(0,0,0,0)');
- Node546.a('node.gradient','');
- Node546.a('node.gradientcolor','');
- Node546.a('node.text','0');
- Node546.a('node.textalign','left');
- Node546.a('node.textvAlign','middle');
- Node546.a('node.textrect', [Node546textStart, 0, Node546textWidth, Node546height]);
- Node546.a('node.color','rgba(0,0,0,1)');
- Node546.a('node.font',' '+ Node546fontSize + 'px "Arial"');
- Node546.a('node.textvisible',true);
- Node546.a('node.linefeed',false);
- if (false) {
- Node546.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node546.a('node.text') || '0';
- var color=Node546.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node546width,Node546height,13.3333*_ratio.ratioY,"left",color,' '+ Node546fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node546.a('node.underlinepoints',[Node546lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node546fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node546fontSize + 'px "Arial"').width + 6, (Node546height - Node546fontSize) * 0.5*_ratio.ratioY + Node546fontSize + 2 ]);
- Node546.a('node.underlinevisible',false);
- Node546.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node546);
- zoomNodeList.push({
- node: Node546,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node547 = new ht.Node();
- var Node547textStart, Node547textWidth, Node547lineStart, Node547align = 'left', Node547fontSize = 13.3333*_ratio.ratioY,Node547width = 49*_ratio.ratioX, Node547height = 25*_ratio.ratioY;
- (function () {
- if (Node547align === 'left') {
- Node547textStart = Node547fontSize * 0.2 > 2 ? Node547fontSize * 0.2 - 4 : Node547fontSize * 0.2 - 9;
- Node547textWidth = Node547width;
- Node547lineStart = 1;
- } else if (Node547align === 'right') {
- Node547textStart = 0;
- Node547textWidth =Node547fontSize <= 8 ? Node547width + Node547fontSize * 0.2 + 6 : Node547width - Node547fontSize * 0.2;
- Node547lineStart = (Node547width - (ht.Default.getTextSize('0', ' '+ Node547fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node547align === 'center') {
- Node547textStart = -3;
- Node547textWidth = Node547width;
- Node547lineStart = Node547width - ht.Default.getTextSize('0', ' '+ Node547fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node547.setImage(GD.getTextJSON(Node547width, Node547height, true, false, false, ' '+ Node547fontSize + 'px "Arial"'))
- Node547.setPosition(1733*ratio.ratioX, 552*ratio.ratioY);
- Node547.setWidth(Node547width);
- Node547.setHeight(Node547height);
- Node547._nodeType = 'text';
- Node547._disallowEvert = true;
- Node547.setRotation(0*Math.PI/180);
- Node547.a('node.width', Node547width);
- Node547.a('node.height', Node547height);
- Node547.a('node.rect', [0, 0, Node547width, Node547height]);
- Node547.a('node.bordercolor','rgba(0,0,0,1)');
- Node547.a('node.borderwidth', 0);
- Node547.a('node.background','' || 'rgba(0,0,0,0)');
- Node547.a('node.gradient','');
- Node547.a('node.gradientcolor','');
- Node547.a('node.text','0');
- Node547.a('node.textalign','left');
- Node547.a('node.textvAlign','middle');
- Node547.a('node.textrect', [Node547textStart, 0, Node547textWidth, Node547height]);
- Node547.a('node.color','rgba(0,0,0,1)');
- Node547.a('node.font',' '+ Node547fontSize + 'px "Arial"');
- Node547.a('node.textvisible',true);
- Node547.a('node.linefeed',false);
- if (false) {
- Node547.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node547.a('node.text') || '0';
- var color=Node547.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node547width,Node547height,13.3333*_ratio.ratioY,"left",color,' '+ Node547fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node547.a('node.underlinepoints',[Node547lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node547fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node547fontSize + 'px "Arial"').width + 6, (Node547height - Node547fontSize) * 0.5*_ratio.ratioY + Node547fontSize + 2 ]);
- Node547.a('node.underlinevisible',false);
- Node547.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node547);
- zoomNodeList.push({
- node: Node547,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node548 = new ht.Node();
- var Node548textStart, Node548textWidth, Node548lineStart, Node548align = 'left', Node548fontSize = 13.3333*_ratio.ratioY,Node548width = 49*_ratio.ratioX, Node548height = 25*_ratio.ratioY;
- (function () {
- if (Node548align === 'left') {
- Node548textStart = Node548fontSize * 0.2 > 2 ? Node548fontSize * 0.2 - 4 : Node548fontSize * 0.2 - 9;
- Node548textWidth = Node548width;
- Node548lineStart = 1;
- } else if (Node548align === 'right') {
- Node548textStart = 0;
- Node548textWidth =Node548fontSize <= 8 ? Node548width + Node548fontSize * 0.2 + 6 : Node548width - Node548fontSize * 0.2;
- Node548lineStart = (Node548width - (ht.Default.getTextSize('0', ' '+ Node548fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node548align === 'center') {
- Node548textStart = -3;
- Node548textWidth = Node548width;
- Node548lineStart = Node548width - ht.Default.getTextSize('0', ' '+ Node548fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node548.setImage(GD.getTextJSON(Node548width, Node548height, true, false, false, ' '+ Node548fontSize + 'px "Arial"'))
- Node548.setPosition(1733*ratio.ratioX, 570*ratio.ratioY);
- Node548.setWidth(Node548width);
- Node548.setHeight(Node548height);
- Node548._nodeType = 'text';
- Node548._disallowEvert = true;
- Node548.setRotation(0*Math.PI/180);
- Node548.a('node.width', Node548width);
- Node548.a('node.height', Node548height);
- Node548.a('node.rect', [0, 0, Node548width, Node548height]);
- Node548.a('node.bordercolor','rgba(0,0,0,1)');
- Node548.a('node.borderwidth', 0);
- Node548.a('node.background','' || 'rgba(0,0,0,0)');
- Node548.a('node.gradient','');
- Node548.a('node.gradientcolor','');
- Node548.a('node.text','0');
- Node548.a('node.textalign','left');
- Node548.a('node.textvAlign','middle');
- Node548.a('node.textrect', [Node548textStart, 0, Node548textWidth, Node548height]);
- Node548.a('node.color','rgba(0,0,0,1)');
- Node548.a('node.font',' '+ Node548fontSize + 'px "Arial"');
- Node548.a('node.textvisible',true);
- Node548.a('node.linefeed',false);
- if (false) {
- Node548.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node548.a('node.text') || '0';
- var color=Node548.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node548width,Node548height,13.3333*_ratio.ratioY,"left",color,' '+ Node548fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node548.a('node.underlinepoints',[Node548lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node548fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node548fontSize + 'px "Arial"').width + 6, (Node548height - Node548fontSize) * 0.5*_ratio.ratioY + Node548fontSize + 2 ]);
- Node548.a('node.underlinevisible',false);
- Node548.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node548);
- zoomNodeList.push({
- node: Node548,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node549 = new ht.Node();
- var Node549textStart, Node549textWidth, Node549lineStart, Node549align = 'left', Node549fontSize = 13.3333*_ratio.ratioY,Node549width = 49*_ratio.ratioX, Node549height = 25*_ratio.ratioY;
- (function () {
- if (Node549align === 'left') {
- Node549textStart = Node549fontSize * 0.2 > 2 ? Node549fontSize * 0.2 - 4 : Node549fontSize * 0.2 - 9;
- Node549textWidth = Node549width;
- Node549lineStart = 1;
- } else if (Node549align === 'right') {
- Node549textStart = 0;
- Node549textWidth =Node549fontSize <= 8 ? Node549width + Node549fontSize * 0.2 + 6 : Node549width - Node549fontSize * 0.2;
- Node549lineStart = (Node549width - (ht.Default.getTextSize('0', ' '+ Node549fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node549align === 'center') {
- Node549textStart = -3;
- Node549textWidth = Node549width;
- Node549lineStart = Node549width - ht.Default.getTextSize('0', ' '+ Node549fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node549.setImage(GD.getTextJSON(Node549width, Node549height, true, false, false, ' '+ Node549fontSize + 'px "Arial"'))
- Node549.setPosition(1297*ratio.ratioX, 519*ratio.ratioY);
- Node549.setWidth(Node549width);
- Node549.setHeight(Node549height);
- Node549._nodeType = 'text';
- Node549._disallowEvert = true;
- Node549.setRotation(0*Math.PI/180);
- Node549.a('node.width', Node549width);
- Node549.a('node.height', Node549height);
- Node549.a('node.rect', [0, 0, Node549width, Node549height]);
- Node549.a('node.bordercolor','rgba(0,0,0,1)');
- Node549.a('node.borderwidth', 0);
- Node549.a('node.background','' || 'rgba(0,0,0,0)');
- Node549.a('node.gradient','');
- Node549.a('node.gradientcolor','');
- Node549.a('node.text','0');
- Node549.a('node.textalign','left');
- Node549.a('node.textvAlign','middle');
- Node549.a('node.textrect', [Node549textStart, 0, Node549textWidth, Node549height]);
- Node549.a('node.color','rgba(0,0,0,1)');
- Node549.a('node.font',' '+ Node549fontSize + 'px "Arial"');
- Node549.a('node.textvisible',true);
- Node549.a('node.linefeed',false);
- if (false) {
- Node549.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node549.a('node.text') || '0';
- var color=Node549.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node549width,Node549height,13.3333*_ratio.ratioY,"left",color,' '+ Node549fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node549.a('node.underlinepoints',[Node549lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node549fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node549fontSize + 'px "Arial"').width + 6, (Node549height - Node549fontSize) * 0.5*_ratio.ratioY + Node549fontSize + 2 ]);
- Node549.a('node.underlinevisible',false);
- Node549.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node549);
- zoomNodeList.push({
- node: Node549,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node550 = new ht.Node();
- var Node550textStart, Node550textWidth, Node550lineStart, Node550align = 'left', Node550fontSize = 13.3333*_ratio.ratioY,Node550width = 49*_ratio.ratioX, Node550height = 25*_ratio.ratioY;
- (function () {
- if (Node550align === 'left') {
- Node550textStart = Node550fontSize * 0.2 > 2 ? Node550fontSize * 0.2 - 4 : Node550fontSize * 0.2 - 9;
- Node550textWidth = Node550width;
- Node550lineStart = 1;
- } else if (Node550align === 'right') {
- Node550textStart = 0;
- Node550textWidth =Node550fontSize <= 8 ? Node550width + Node550fontSize * 0.2 + 6 : Node550width - Node550fontSize * 0.2;
- Node550lineStart = (Node550width - (ht.Default.getTextSize('0', ' '+ Node550fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node550align === 'center') {
- Node550textStart = -3;
- Node550textWidth = Node550width;
- Node550lineStart = Node550width - ht.Default.getTextSize('0', ' '+ Node550fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node550.setImage(GD.getTextJSON(Node550width, Node550height, true, false, false, ' '+ Node550fontSize + 'px "Arial"'))
- Node550.setPosition(1297*ratio.ratioX, 543*ratio.ratioY);
- Node550.setWidth(Node550width);
- Node550.setHeight(Node550height);
- Node550._nodeType = 'text';
- Node550._disallowEvert = true;
- Node550.setRotation(0*Math.PI/180);
- Node550.a('node.width', Node550width);
- Node550.a('node.height', Node550height);
- Node550.a('node.rect', [0, 0, Node550width, Node550height]);
- Node550.a('node.bordercolor','rgba(0,0,0,1)');
- Node550.a('node.borderwidth', 0);
- Node550.a('node.background','' || 'rgba(0,0,0,0)');
- Node550.a('node.gradient','');
- Node550.a('node.gradientcolor','');
- Node550.a('node.text','0');
- Node550.a('node.textalign','left');
- Node550.a('node.textvAlign','middle');
- Node550.a('node.textrect', [Node550textStart, 0, Node550textWidth, Node550height]);
- Node550.a('node.color','rgba(0,0,0,1)');
- Node550.a('node.font',' '+ Node550fontSize + 'px "Arial"');
- Node550.a('node.textvisible',true);
- Node550.a('node.linefeed',false);
- if (false) {
- Node550.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node550.a('node.text') || '0';
- var color=Node550.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node550width,Node550height,13.3333*_ratio.ratioY,"left",color,' '+ Node550fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node550.a('node.underlinepoints',[Node550lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node550fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node550fontSize + 'px "Arial"').width + 6, (Node550height - Node550fontSize) * 0.5*_ratio.ratioY + Node550fontSize + 2 ]);
- Node550.a('node.underlinevisible',false);
- Node550.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node550);
- zoomNodeList.push({
- node: Node550,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node551 = new ht.Node();
- var Node551textStart, Node551textWidth, Node551lineStart, Node551align = 'left', Node551fontSize = 13.3333*_ratio.ratioY,Node551width = 49*_ratio.ratioX, Node551height = 25*_ratio.ratioY;
- (function () {
- if (Node551align === 'left') {
- Node551textStart = Node551fontSize * 0.2 > 2 ? Node551fontSize * 0.2 - 4 : Node551fontSize * 0.2 - 9;
- Node551textWidth = Node551width;
- Node551lineStart = 1;
- } else if (Node551align === 'right') {
- Node551textStart = 0;
- Node551textWidth =Node551fontSize <= 8 ? Node551width + Node551fontSize * 0.2 + 6 : Node551width - Node551fontSize * 0.2;
- Node551lineStart = (Node551width - (ht.Default.getTextSize('0', ' '+ Node551fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node551align === 'center') {
- Node551textStart = -3;
- Node551textWidth = Node551width;
- Node551lineStart = Node551width - ht.Default.getTextSize('0', ' '+ Node551fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node551.setImage(GD.getTextJSON(Node551width, Node551height, true, false, false, ' '+ Node551fontSize + 'px "Arial"'))
- Node551.setPosition(1297*ratio.ratioX, 568*ratio.ratioY);
- Node551.setWidth(Node551width);
- Node551.setHeight(Node551height);
- Node551._nodeType = 'text';
- Node551._disallowEvert = true;
- Node551.setRotation(0*Math.PI/180);
- Node551.a('node.width', Node551width);
- Node551.a('node.height', Node551height);
- Node551.a('node.rect', [0, 0, Node551width, Node551height]);
- Node551.a('node.bordercolor','rgba(0,0,0,1)');
- Node551.a('node.borderwidth', 0);
- Node551.a('node.background','' || 'rgba(0,0,0,0)');
- Node551.a('node.gradient','');
- Node551.a('node.gradientcolor','');
- Node551.a('node.text','0');
- Node551.a('node.textalign','left');
- Node551.a('node.textvAlign','middle');
- Node551.a('node.textrect', [Node551textStart, 0, Node551textWidth, Node551height]);
- Node551.a('node.color','rgba(0,0,0,1)');
- Node551.a('node.font',' '+ Node551fontSize + 'px "Arial"');
- Node551.a('node.textvisible',true);
- Node551.a('node.linefeed',false);
- if (false) {
- Node551.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node551.a('node.text') || '0';
- var color=Node551.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node551width,Node551height,13.3333*_ratio.ratioY,"left",color,' '+ Node551fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node551.a('node.underlinepoints',[Node551lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node551fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node551fontSize + 'px "Arial"').width + 6, (Node551height - Node551fontSize) * 0.5*_ratio.ratioY + Node551fontSize + 2 ]);
- Node551.a('node.underlinevisible',false);
- Node551.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node551);
- zoomNodeList.push({
- node: Node551,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node552 = new ht.Node();
- var Node552textStart, Node552textWidth, Node552lineStart, Node552align = 'left', Node552fontSize = 13.3333*_ratio.ratioY,Node552width = 49*_ratio.ratioX, Node552height = 25*_ratio.ratioY;
- (function () {
- if (Node552align === 'left') {
- Node552textStart = Node552fontSize * 0.2 > 2 ? Node552fontSize * 0.2 - 4 : Node552fontSize * 0.2 - 9;
- Node552textWidth = Node552width;
- Node552lineStart = 1;
- } else if (Node552align === 'right') {
- Node552textStart = 0;
- Node552textWidth =Node552fontSize <= 8 ? Node552width + Node552fontSize * 0.2 + 6 : Node552width - Node552fontSize * 0.2;
- Node552lineStart = (Node552width - (ht.Default.getTextSize('0', ' '+ Node552fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node552align === 'center') {
- Node552textStart = -3;
- Node552textWidth = Node552width;
- Node552lineStart = Node552width - ht.Default.getTextSize('0', ' '+ Node552fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node552.setImage(GD.getTextJSON(Node552width, Node552height, true, false, false, ' '+ Node552fontSize + 'px "Arial"'))
- Node552.setPosition(87*ratio.ratioX, 845*ratio.ratioY);
- Node552.setWidth(Node552width);
- Node552.setHeight(Node552height);
- Node552._nodeType = 'text';
- Node552._disallowEvert = true;
- Node552.setRotation(0*Math.PI/180);
- Node552.a('node.width', Node552width);
- Node552.a('node.height', Node552height);
- Node552.a('node.rect', [0, 0, Node552width, Node552height]);
- Node552.a('node.bordercolor','rgba(0,0,0,1)');
- Node552.a('node.borderwidth', 0);
- Node552.a('node.background','' || 'rgba(0,0,0,0)');
- Node552.a('node.gradient','');
- Node552.a('node.gradientcolor','');
- Node552.a('node.text','0');
- Node552.a('node.textalign','left');
- Node552.a('node.textvAlign','middle');
- Node552.a('node.textrect', [Node552textStart, 0, Node552textWidth, Node552height]);
- Node552.a('node.color','rgba(0,0,0,1)');
- Node552.a('node.font',' '+ Node552fontSize + 'px "Arial"');
- Node552.a('node.textvisible',true);
- Node552.a('node.linefeed',false);
- if (false) {
- Node552.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node552.a('node.text') || '0';
- var color=Node552.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node552width,Node552height,13.3333*_ratio.ratioY,"left",color,' '+ Node552fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node552.a('node.underlinepoints',[Node552lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node552fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node552fontSize + 'px "Arial"').width + 6, (Node552height - Node552fontSize) * 0.5*_ratio.ratioY + Node552fontSize + 2 ]);
- Node552.a('node.underlinevisible',false);
- Node552.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node552);
- zoomNodeList.push({
- node: Node552,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node553 = new ht.Node();
- var Node553textStart, Node553textWidth, Node553lineStart, Node553align = 'left', Node553fontSize = 13.3333*_ratio.ratioY,Node553width = 49*_ratio.ratioX, Node553height = 25*_ratio.ratioY;
- (function () {
- if (Node553align === 'left') {
- Node553textStart = Node553fontSize * 0.2 > 2 ? Node553fontSize * 0.2 - 4 : Node553fontSize * 0.2 - 9;
- Node553textWidth = Node553width;
- Node553lineStart = 1;
- } else if (Node553align === 'right') {
- Node553textStart = 0;
- Node553textWidth =Node553fontSize <= 8 ? Node553width + Node553fontSize * 0.2 + 6 : Node553width - Node553fontSize * 0.2;
- Node553lineStart = (Node553width - (ht.Default.getTextSize('0', ' '+ Node553fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node553align === 'center') {
- Node553textStart = -3;
- Node553textWidth = Node553width;
- Node553lineStart = Node553width - ht.Default.getTextSize('0', ' '+ Node553fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node553.setImage(GD.getTextJSON(Node553width, Node553height, true, false, false, ' '+ Node553fontSize + 'px "Arial"'))
- Node553.setPosition(87*ratio.ratioX, 866*ratio.ratioY);
- Node553.setWidth(Node553width);
- Node553.setHeight(Node553height);
- Node553._nodeType = 'text';
- Node553._disallowEvert = true;
- Node553.setRotation(0*Math.PI/180);
- Node553.a('node.width', Node553width);
- Node553.a('node.height', Node553height);
- Node553.a('node.rect', [0, 0, Node553width, Node553height]);
- Node553.a('node.bordercolor','rgba(0,0,0,1)');
- Node553.a('node.borderwidth', 0);
- Node553.a('node.background','' || 'rgba(0,0,0,0)');
- Node553.a('node.gradient','');
- Node553.a('node.gradientcolor','');
- Node553.a('node.text','0');
- Node553.a('node.textalign','left');
- Node553.a('node.textvAlign','middle');
- Node553.a('node.textrect', [Node553textStart, 0, Node553textWidth, Node553height]);
- Node553.a('node.color','rgba(0,0,0,1)');
- Node553.a('node.font',' '+ Node553fontSize + 'px "Arial"');
- Node553.a('node.textvisible',true);
- Node553.a('node.linefeed',false);
- if (false) {
- Node553.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node553.a('node.text') || '0';
- var color=Node553.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node553width,Node553height,13.3333*_ratio.ratioY,"left",color,' '+ Node553fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node553.a('node.underlinepoints',[Node553lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node553fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node553fontSize + 'px "Arial"').width + 6, (Node553height - Node553fontSize) * 0.5*_ratio.ratioY + Node553fontSize + 2 ]);
- Node553.a('node.underlinevisible',false);
- Node553.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node553);
- zoomNodeList.push({
- node: Node553,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node554 = new ht.Node();
- var Node554textStart, Node554textWidth, Node554lineStart, Node554align = 'left', Node554fontSize = 13.3333*_ratio.ratioY,Node554width = 49*_ratio.ratioX, Node554height = 25*_ratio.ratioY;
- (function () {
- if (Node554align === 'left') {
- Node554textStart = Node554fontSize * 0.2 > 2 ? Node554fontSize * 0.2 - 4 : Node554fontSize * 0.2 - 9;
- Node554textWidth = Node554width;
- Node554lineStart = 1;
- } else if (Node554align === 'right') {
- Node554textStart = 0;
- Node554textWidth =Node554fontSize <= 8 ? Node554width + Node554fontSize * 0.2 + 6 : Node554width - Node554fontSize * 0.2;
- Node554lineStart = (Node554width - (ht.Default.getTextSize('0', ' '+ Node554fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node554align === 'center') {
- Node554textStart = -3;
- Node554textWidth = Node554width;
- Node554lineStart = Node554width - ht.Default.getTextSize('0', ' '+ Node554fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node554.setImage(GD.getTextJSON(Node554width, Node554height, true, false, false, ' '+ Node554fontSize + 'px "Arial"'))
- Node554.setPosition(87*ratio.ratioX, 886*ratio.ratioY);
- Node554.setWidth(Node554width);
- Node554.setHeight(Node554height);
- Node554._nodeType = 'text';
- Node554._disallowEvert = true;
- Node554.setRotation(0*Math.PI/180);
- Node554.a('node.width', Node554width);
- Node554.a('node.height', Node554height);
- Node554.a('node.rect', [0, 0, Node554width, Node554height]);
- Node554.a('node.bordercolor','rgba(0,0,0,1)');
- Node554.a('node.borderwidth', 0);
- Node554.a('node.background','' || 'rgba(0,0,0,0)');
- Node554.a('node.gradient','');
- Node554.a('node.gradientcolor','');
- Node554.a('node.text','0');
- Node554.a('node.textalign','left');
- Node554.a('node.textvAlign','middle');
- Node554.a('node.textrect', [Node554textStart, 0, Node554textWidth, Node554height]);
- Node554.a('node.color','rgba(0,0,0,1)');
- Node554.a('node.font',' '+ Node554fontSize + 'px "Arial"');
- Node554.a('node.textvisible',true);
- Node554.a('node.linefeed',false);
- if (false) {
- Node554.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node554.a('node.text') || '0';
- var color=Node554.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node554width,Node554height,13.3333*_ratio.ratioY,"left",color,' '+ Node554fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node554.a('node.underlinepoints',[Node554lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node554fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node554fontSize + 'px "Arial"').width + 6, (Node554height - Node554fontSize) * 0.5*_ratio.ratioY + Node554fontSize + 2 ]);
- Node554.a('node.underlinevisible',false);
- Node554.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node554);
- zoomNodeList.push({
- node: Node554,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node555 = new ht.Node();
- var Node555textStart, Node555textWidth, Node555lineStart, Node555align = 'left', Node555fontSize = 13.3333*_ratio.ratioY,Node555width = 49*_ratio.ratioX, Node555height = 25*_ratio.ratioY;
- (function () {
- if (Node555align === 'left') {
- Node555textStart = Node555fontSize * 0.2 > 2 ? Node555fontSize * 0.2 - 4 : Node555fontSize * 0.2 - 9;
- Node555textWidth = Node555width;
- Node555lineStart = 1;
- } else if (Node555align === 'right') {
- Node555textStart = 0;
- Node555textWidth =Node555fontSize <= 8 ? Node555width + Node555fontSize * 0.2 + 6 : Node555width - Node555fontSize * 0.2;
- Node555lineStart = (Node555width - (ht.Default.getTextSize('0', ' '+ Node555fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node555align === 'center') {
- Node555textStart = -3;
- Node555textWidth = Node555width;
- Node555lineStart = Node555width - ht.Default.getTextSize('0', ' '+ Node555fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node555.setImage(GD.getTextJSON(Node555width, Node555height, true, false, false, ' '+ Node555fontSize + 'px "Arial"'))
- Node555.setPosition(189*ratio.ratioX, 845*ratio.ratioY);
- Node555.setWidth(Node555width);
- Node555.setHeight(Node555height);
- Node555._nodeType = 'text';
- Node555._disallowEvert = true;
- Node555.setRotation(0*Math.PI/180);
- Node555.a('node.width', Node555width);
- Node555.a('node.height', Node555height);
- Node555.a('node.rect', [0, 0, Node555width, Node555height]);
- Node555.a('node.bordercolor','rgba(0,0,0,1)');
- Node555.a('node.borderwidth', 0);
- Node555.a('node.background','' || 'rgba(0,0,0,0)');
- Node555.a('node.gradient','');
- Node555.a('node.gradientcolor','');
- Node555.a('node.text','0');
- Node555.a('node.textalign','left');
- Node555.a('node.textvAlign','middle');
- Node555.a('node.textrect', [Node555textStart, 0, Node555textWidth, Node555height]);
- Node555.a('node.color','rgba(0,0,0,1)');
- Node555.a('node.font',' '+ Node555fontSize + 'px "Arial"');
- Node555.a('node.textvisible',true);
- Node555.a('node.linefeed',false);
- if (false) {
- Node555.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node555.a('node.text') || '0';
- var color=Node555.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node555width,Node555height,13.3333*_ratio.ratioY,"left",color,' '+ Node555fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node555.a('node.underlinepoints',[Node555lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node555fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node555fontSize + 'px "Arial"').width + 6, (Node555height - Node555fontSize) * 0.5*_ratio.ratioY + Node555fontSize + 2 ]);
- Node555.a('node.underlinevisible',false);
- Node555.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node555);
- zoomNodeList.push({
- node: Node555,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node556 = new ht.Node();
- var Node556textStart, Node556textWidth, Node556lineStart, Node556align = 'left', Node556fontSize = 13.3333*_ratio.ratioY,Node556width = 49*_ratio.ratioX, Node556height = 25*_ratio.ratioY;
- (function () {
- if (Node556align === 'left') {
- Node556textStart = Node556fontSize * 0.2 > 2 ? Node556fontSize * 0.2 - 4 : Node556fontSize * 0.2 - 9;
- Node556textWidth = Node556width;
- Node556lineStart = 1;
- } else if (Node556align === 'right') {
- Node556textStart = 0;
- Node556textWidth =Node556fontSize <= 8 ? Node556width + Node556fontSize * 0.2 + 6 : Node556width - Node556fontSize * 0.2;
- Node556lineStart = (Node556width - (ht.Default.getTextSize('0', ' '+ Node556fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node556align === 'center') {
- Node556textStart = -3;
- Node556textWidth = Node556width;
- Node556lineStart = Node556width - ht.Default.getTextSize('0', ' '+ Node556fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node556.setImage(GD.getTextJSON(Node556width, Node556height, true, false, false, ' '+ Node556fontSize + 'px "Arial"'))
- Node556.setPosition(189*ratio.ratioX, 866*ratio.ratioY);
- Node556.setWidth(Node556width);
- Node556.setHeight(Node556height);
- Node556._nodeType = 'text';
- Node556._disallowEvert = true;
- Node556.setRotation(0*Math.PI/180);
- Node556.a('node.width', Node556width);
- Node556.a('node.height', Node556height);
- Node556.a('node.rect', [0, 0, Node556width, Node556height]);
- Node556.a('node.bordercolor','rgba(0,0,0,1)');
- Node556.a('node.borderwidth', 0);
- Node556.a('node.background','' || 'rgba(0,0,0,0)');
- Node556.a('node.gradient','');
- Node556.a('node.gradientcolor','');
- Node556.a('node.text','0');
- Node556.a('node.textalign','left');
- Node556.a('node.textvAlign','middle');
- Node556.a('node.textrect', [Node556textStart, 0, Node556textWidth, Node556height]);
- Node556.a('node.color','rgba(0,0,0,1)');
- Node556.a('node.font',' '+ Node556fontSize + 'px "Arial"');
- Node556.a('node.textvisible',true);
- Node556.a('node.linefeed',false);
- if (false) {
- Node556.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node556.a('node.text') || '0';
- var color=Node556.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node556width,Node556height,13.3333*_ratio.ratioY,"left",color,' '+ Node556fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node556.a('node.underlinepoints',[Node556lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node556fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node556fontSize + 'px "Arial"').width + 6, (Node556height - Node556fontSize) * 0.5*_ratio.ratioY + Node556fontSize + 2 ]);
- Node556.a('node.underlinevisible',false);
- Node556.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node556);
- zoomNodeList.push({
- node: Node556,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node557 = new ht.Node();
- var Node557textStart, Node557textWidth, Node557lineStart, Node557align = 'left', Node557fontSize = 13.3333*_ratio.ratioY,Node557width = 49*_ratio.ratioX, Node557height = 25*_ratio.ratioY;
- (function () {
- if (Node557align === 'left') {
- Node557textStart = Node557fontSize * 0.2 > 2 ? Node557fontSize * 0.2 - 4 : Node557fontSize * 0.2 - 9;
- Node557textWidth = Node557width;
- Node557lineStart = 1;
- } else if (Node557align === 'right') {
- Node557textStart = 0;
- Node557textWidth =Node557fontSize <= 8 ? Node557width + Node557fontSize * 0.2 + 6 : Node557width - Node557fontSize * 0.2;
- Node557lineStart = (Node557width - (ht.Default.getTextSize('0', ' '+ Node557fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node557align === 'center') {
- Node557textStart = -3;
- Node557textWidth = Node557width;
- Node557lineStart = Node557width - ht.Default.getTextSize('0', ' '+ Node557fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node557.setImage(GD.getTextJSON(Node557width, Node557height, true, false, false, ' '+ Node557fontSize + 'px "Arial"'))
- Node557.setPosition(189*ratio.ratioX, 886*ratio.ratioY);
- Node557.setWidth(Node557width);
- Node557.setHeight(Node557height);
- Node557._nodeType = 'text';
- Node557._disallowEvert = true;
- Node557.setRotation(0*Math.PI/180);
- Node557.a('node.width', Node557width);
- Node557.a('node.height', Node557height);
- Node557.a('node.rect', [0, 0, Node557width, Node557height]);
- Node557.a('node.bordercolor','rgba(0,0,0,1)');
- Node557.a('node.borderwidth', 0);
- Node557.a('node.background','' || 'rgba(0,0,0,0)');
- Node557.a('node.gradient','');
- Node557.a('node.gradientcolor','');
- Node557.a('node.text','0');
- Node557.a('node.textalign','left');
- Node557.a('node.textvAlign','middle');
- Node557.a('node.textrect', [Node557textStart, 0, Node557textWidth, Node557height]);
- Node557.a('node.color','rgba(0,0,0,1)');
- Node557.a('node.font',' '+ Node557fontSize + 'px "Arial"');
- Node557.a('node.textvisible',true);
- Node557.a('node.linefeed',false);
- if (false) {
- Node557.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node557.a('node.text') || '0';
- var color=Node557.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node557width,Node557height,13.3333*_ratio.ratioY,"left",color,' '+ Node557fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node557.a('node.underlinepoints',[Node557lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node557fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node557fontSize + 'px "Arial"').width + 6, (Node557height - Node557fontSize) * 0.5*_ratio.ratioY + Node557fontSize + 2 ]);
- Node557.a('node.underlinevisible',false);
- Node557.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node557);
- zoomNodeList.push({
- node: Node557,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node558 = new ht.Node();
- var Node558textStart, Node558textWidth, Node558lineStart, Node558align = 'left', Node558fontSize = 13.3333*_ratio.ratioY,Node558width = 49*_ratio.ratioX, Node558height = 25*_ratio.ratioY;
- (function () {
- if (Node558align === 'left') {
- Node558textStart = Node558fontSize * 0.2 > 2 ? Node558fontSize * 0.2 - 4 : Node558fontSize * 0.2 - 9;
- Node558textWidth = Node558width;
- Node558lineStart = 1;
- } else if (Node558align === 'right') {
- Node558textStart = 0;
- Node558textWidth =Node558fontSize <= 8 ? Node558width + Node558fontSize * 0.2 + 6 : Node558width - Node558fontSize * 0.2;
- Node558lineStart = (Node558width - (ht.Default.getTextSize('0', ' '+ Node558fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node558align === 'center') {
- Node558textStart = -3;
- Node558textWidth = Node558width;
- Node558lineStart = Node558width - ht.Default.getTextSize('0', ' '+ Node558fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node558.setImage(GD.getTextJSON(Node558width, Node558height, true, false, false, ' '+ Node558fontSize + 'px "Arial"'))
- Node558.setPosition(281*ratio.ratioX, 845*ratio.ratioY);
- Node558.setWidth(Node558width);
- Node558.setHeight(Node558height);
- Node558._nodeType = 'text';
- Node558._disallowEvert = true;
- Node558.setRotation(0*Math.PI/180);
- Node558.a('node.width', Node558width);
- Node558.a('node.height', Node558height);
- Node558.a('node.rect', [0, 0, Node558width, Node558height]);
- Node558.a('node.bordercolor','rgba(0,0,0,1)');
- Node558.a('node.borderwidth', 0);
- Node558.a('node.background','' || 'rgba(0,0,0,0)');
- Node558.a('node.gradient','');
- Node558.a('node.gradientcolor','');
- Node558.a('node.text','0');
- Node558.a('node.textalign','left');
- Node558.a('node.textvAlign','middle');
- Node558.a('node.textrect', [Node558textStart, 0, Node558textWidth, Node558height]);
- Node558.a('node.color','rgba(0,0,0,1)');
- Node558.a('node.font',' '+ Node558fontSize + 'px "Arial"');
- Node558.a('node.textvisible',true);
- Node558.a('node.linefeed',false);
- if (false) {
- Node558.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node558.a('node.text') || '0';
- var color=Node558.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node558width,Node558height,13.3333*_ratio.ratioY,"left",color,' '+ Node558fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node558.a('node.underlinepoints',[Node558lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node558fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node558fontSize + 'px "Arial"').width + 6, (Node558height - Node558fontSize) * 0.5*_ratio.ratioY + Node558fontSize + 2 ]);
- Node558.a('node.underlinevisible',false);
- Node558.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node558);
- zoomNodeList.push({
- node: Node558,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node559 = new ht.Node();
- var Node559textStart, Node559textWidth, Node559lineStart, Node559align = 'left', Node559fontSize = 13.3333*_ratio.ratioY,Node559width = 49*_ratio.ratioX, Node559height = 25*_ratio.ratioY;
- (function () {
- if (Node559align === 'left') {
- Node559textStart = Node559fontSize * 0.2 > 2 ? Node559fontSize * 0.2 - 4 : Node559fontSize * 0.2 - 9;
- Node559textWidth = Node559width;
- Node559lineStart = 1;
- } else if (Node559align === 'right') {
- Node559textStart = 0;
- Node559textWidth =Node559fontSize <= 8 ? Node559width + Node559fontSize * 0.2 + 6 : Node559width - Node559fontSize * 0.2;
- Node559lineStart = (Node559width - (ht.Default.getTextSize('0', ' '+ Node559fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node559align === 'center') {
- Node559textStart = -3;
- Node559textWidth = Node559width;
- Node559lineStart = Node559width - ht.Default.getTextSize('0', ' '+ Node559fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node559.setImage(GD.getTextJSON(Node559width, Node559height, true, false, false, ' '+ Node559fontSize + 'px "Arial"'))
- Node559.setPosition(281*ratio.ratioX, 866*ratio.ratioY);
- Node559.setWidth(Node559width);
- Node559.setHeight(Node559height);
- Node559._nodeType = 'text';
- Node559._disallowEvert = true;
- Node559.setRotation(0*Math.PI/180);
- Node559.a('node.width', Node559width);
- Node559.a('node.height', Node559height);
- Node559.a('node.rect', [0, 0, Node559width, Node559height]);
- Node559.a('node.bordercolor','rgba(0,0,0,1)');
- Node559.a('node.borderwidth', 0);
- Node559.a('node.background','' || 'rgba(0,0,0,0)');
- Node559.a('node.gradient','');
- Node559.a('node.gradientcolor','');
- Node559.a('node.text','0');
- Node559.a('node.textalign','left');
- Node559.a('node.textvAlign','middle');
- Node559.a('node.textrect', [Node559textStart, 0, Node559textWidth, Node559height]);
- Node559.a('node.color','rgba(0,0,0,1)');
- Node559.a('node.font',' '+ Node559fontSize + 'px "Arial"');
- Node559.a('node.textvisible',true);
- Node559.a('node.linefeed',false);
- if (false) {
- Node559.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node559.a('node.text') || '0';
- var color=Node559.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node559width,Node559height,13.3333*_ratio.ratioY,"left",color,' '+ Node559fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node559.a('node.underlinepoints',[Node559lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node559fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node559fontSize + 'px "Arial"').width + 6, (Node559height - Node559fontSize) * 0.5*_ratio.ratioY + Node559fontSize + 2 ]);
- Node559.a('node.underlinevisible',false);
- Node559.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node559);
- zoomNodeList.push({
- node: Node559,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node560 = new ht.Node();
- var Node560textStart, Node560textWidth, Node560lineStart, Node560align = 'left', Node560fontSize = 13.3333*_ratio.ratioY,Node560width = 49*_ratio.ratioX, Node560height = 25*_ratio.ratioY;
- (function () {
- if (Node560align === 'left') {
- Node560textStart = Node560fontSize * 0.2 > 2 ? Node560fontSize * 0.2 - 4 : Node560fontSize * 0.2 - 9;
- Node560textWidth = Node560width;
- Node560lineStart = 1;
- } else if (Node560align === 'right') {
- Node560textStart = 0;
- Node560textWidth =Node560fontSize <= 8 ? Node560width + Node560fontSize * 0.2 + 6 : Node560width - Node560fontSize * 0.2;
- Node560lineStart = (Node560width - (ht.Default.getTextSize('0', ' '+ Node560fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node560align === 'center') {
- Node560textStart = -3;
- Node560textWidth = Node560width;
- Node560lineStart = Node560width - ht.Default.getTextSize('0', ' '+ Node560fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node560.setImage(GD.getTextJSON(Node560width, Node560height, true, false, false, ' '+ Node560fontSize + 'px "Arial"'))
- Node560.setPosition(281*ratio.ratioX, 886*ratio.ratioY);
- Node560.setWidth(Node560width);
- Node560.setHeight(Node560height);
- Node560._nodeType = 'text';
- Node560._disallowEvert = true;
- Node560.setRotation(0*Math.PI/180);
- Node560.a('node.width', Node560width);
- Node560.a('node.height', Node560height);
- Node560.a('node.rect', [0, 0, Node560width, Node560height]);
- Node560.a('node.bordercolor','rgba(0,0,0,1)');
- Node560.a('node.borderwidth', 0);
- Node560.a('node.background','' || 'rgba(0,0,0,0)');
- Node560.a('node.gradient','');
- Node560.a('node.gradientcolor','');
- Node560.a('node.text','0');
- Node560.a('node.textalign','left');
- Node560.a('node.textvAlign','middle');
- Node560.a('node.textrect', [Node560textStart, 0, Node560textWidth, Node560height]);
- Node560.a('node.color','rgba(0,0,0,1)');
- Node560.a('node.font',' '+ Node560fontSize + 'px "Arial"');
- Node560.a('node.textvisible',true);
- Node560.a('node.linefeed',false);
- if (false) {
- Node560.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node560.a('node.text') || '0';
- var color=Node560.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node560width,Node560height,13.3333*_ratio.ratioY,"left",color,' '+ Node560fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node560.a('node.underlinepoints',[Node560lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node560fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node560fontSize + 'px "Arial"').width + 6, (Node560height - Node560fontSize) * 0.5*_ratio.ratioY + Node560fontSize + 2 ]);
- Node560.a('node.underlinevisible',false);
- Node560.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node560);
- zoomNodeList.push({
- node: Node560,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node561 = new ht.Node();
- var Node561textStart, Node561textWidth, Node561lineStart, Node561align = 'left', Node561fontSize = 13.3333*_ratio.ratioY,Node561width = 49*_ratio.ratioX, Node561height = 25*_ratio.ratioY;
- (function () {
- if (Node561align === 'left') {
- Node561textStart = Node561fontSize * 0.2 > 2 ? Node561fontSize * 0.2 - 4 : Node561fontSize * 0.2 - 9;
- Node561textWidth = Node561width;
- Node561lineStart = 1;
- } else if (Node561align === 'right') {
- Node561textStart = 0;
- Node561textWidth =Node561fontSize <= 8 ? Node561width + Node561fontSize * 0.2 + 6 : Node561width - Node561fontSize * 0.2;
- Node561lineStart = (Node561width - (ht.Default.getTextSize('0', ' '+ Node561fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node561align === 'center') {
- Node561textStart = -3;
- Node561textWidth = Node561width;
- Node561lineStart = Node561width - ht.Default.getTextSize('0', ' '+ Node561fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node561.setImage(GD.getTextJSON(Node561width, Node561height, true, false, false, ' '+ Node561fontSize + 'px "Arial"'))
- Node561.setPosition(371*ratio.ratioX, 845*ratio.ratioY);
- Node561.setWidth(Node561width);
- Node561.setHeight(Node561height);
- Node561._nodeType = 'text';
- Node561._disallowEvert = true;
- Node561.setRotation(0*Math.PI/180);
- Node561.a('node.width', Node561width);
- Node561.a('node.height', Node561height);
- Node561.a('node.rect', [0, 0, Node561width, Node561height]);
- Node561.a('node.bordercolor','rgba(0,0,0,1)');
- Node561.a('node.borderwidth', 0);
- Node561.a('node.background','' || 'rgba(0,0,0,0)');
- Node561.a('node.gradient','');
- Node561.a('node.gradientcolor','');
- Node561.a('node.text','0');
- Node561.a('node.textalign','left');
- Node561.a('node.textvAlign','middle');
- Node561.a('node.textrect', [Node561textStart, 0, Node561textWidth, Node561height]);
- Node561.a('node.color','rgba(0,0,0,1)');
- Node561.a('node.font',' '+ Node561fontSize + 'px "Arial"');
- Node561.a('node.textvisible',true);
- Node561.a('node.linefeed',false);
- if (false) {
- Node561.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node561.a('node.text') || '0';
- var color=Node561.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node561width,Node561height,13.3333*_ratio.ratioY,"left",color,' '+ Node561fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node561.a('node.underlinepoints',[Node561lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node561fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node561fontSize + 'px "Arial"').width + 6, (Node561height - Node561fontSize) * 0.5*_ratio.ratioY + Node561fontSize + 2 ]);
- Node561.a('node.underlinevisible',false);
- Node561.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node561);
- zoomNodeList.push({
- node: Node561,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node562 = new ht.Node();
- var Node562textStart, Node562textWidth, Node562lineStart, Node562align = 'left', Node562fontSize = 13.3333*_ratio.ratioY,Node562width = 49*_ratio.ratioX, Node562height = 25*_ratio.ratioY;
- (function () {
- if (Node562align === 'left') {
- Node562textStart = Node562fontSize * 0.2 > 2 ? Node562fontSize * 0.2 - 4 : Node562fontSize * 0.2 - 9;
- Node562textWidth = Node562width;
- Node562lineStart = 1;
- } else if (Node562align === 'right') {
- Node562textStart = 0;
- Node562textWidth =Node562fontSize <= 8 ? Node562width + Node562fontSize * 0.2 + 6 : Node562width - Node562fontSize * 0.2;
- Node562lineStart = (Node562width - (ht.Default.getTextSize('0', ' '+ Node562fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node562align === 'center') {
- Node562textStart = -3;
- Node562textWidth = Node562width;
- Node562lineStart = Node562width - ht.Default.getTextSize('0', ' '+ Node562fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node562.setImage(GD.getTextJSON(Node562width, Node562height, true, false, false, ' '+ Node562fontSize + 'px "Arial"'))
- Node562.setPosition(371*ratio.ratioX, 866*ratio.ratioY);
- Node562.setWidth(Node562width);
- Node562.setHeight(Node562height);
- Node562._nodeType = 'text';
- Node562._disallowEvert = true;
- Node562.setRotation(0*Math.PI/180);
- Node562.a('node.width', Node562width);
- Node562.a('node.height', Node562height);
- Node562.a('node.rect', [0, 0, Node562width, Node562height]);
- Node562.a('node.bordercolor','rgba(0,0,0,1)');
- Node562.a('node.borderwidth', 0);
- Node562.a('node.background','' || 'rgba(0,0,0,0)');
- Node562.a('node.gradient','');
- Node562.a('node.gradientcolor','');
- Node562.a('node.text','0');
- Node562.a('node.textalign','left');
- Node562.a('node.textvAlign','middle');
- Node562.a('node.textrect', [Node562textStart, 0, Node562textWidth, Node562height]);
- Node562.a('node.color','rgba(0,0,0,1)');
- Node562.a('node.font',' '+ Node562fontSize + 'px "Arial"');
- Node562.a('node.textvisible',true);
- Node562.a('node.linefeed',false);
- if (false) {
- Node562.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node562.a('node.text') || '0';
- var color=Node562.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node562width,Node562height,13.3333*_ratio.ratioY,"left",color,' '+ Node562fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node562.a('node.underlinepoints',[Node562lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node562fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node562fontSize + 'px "Arial"').width + 6, (Node562height - Node562fontSize) * 0.5*_ratio.ratioY + Node562fontSize + 2 ]);
- Node562.a('node.underlinevisible',false);
- Node562.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node562);
- zoomNodeList.push({
- node: Node562,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node563 = new ht.Node();
- var Node563textStart, Node563textWidth, Node563lineStart, Node563align = 'left', Node563fontSize = 13.3333*_ratio.ratioY,Node563width = 49*_ratio.ratioX, Node563height = 25*_ratio.ratioY;
- (function () {
- if (Node563align === 'left') {
- Node563textStart = Node563fontSize * 0.2 > 2 ? Node563fontSize * 0.2 - 4 : Node563fontSize * 0.2 - 9;
- Node563textWidth = Node563width;
- Node563lineStart = 1;
- } else if (Node563align === 'right') {
- Node563textStart = 0;
- Node563textWidth =Node563fontSize <= 8 ? Node563width + Node563fontSize * 0.2 + 6 : Node563width - Node563fontSize * 0.2;
- Node563lineStart = (Node563width - (ht.Default.getTextSize('0', ' '+ Node563fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node563align === 'center') {
- Node563textStart = -3;
- Node563textWidth = Node563width;
- Node563lineStart = Node563width - ht.Default.getTextSize('0', ' '+ Node563fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node563.setImage(GD.getTextJSON(Node563width, Node563height, true, false, false, ' '+ Node563fontSize + 'px "Arial"'))
- Node563.setPosition(371*ratio.ratioX, 886*ratio.ratioY);
- Node563.setWidth(Node563width);
- Node563.setHeight(Node563height);
- Node563._nodeType = 'text';
- Node563._disallowEvert = true;
- Node563.setRotation(0*Math.PI/180);
- Node563.a('node.width', Node563width);
- Node563.a('node.height', Node563height);
- Node563.a('node.rect', [0, 0, Node563width, Node563height]);
- Node563.a('node.bordercolor','rgba(0,0,0,1)');
- Node563.a('node.borderwidth', 0);
- Node563.a('node.background','' || 'rgba(0,0,0,0)');
- Node563.a('node.gradient','');
- Node563.a('node.gradientcolor','');
- Node563.a('node.text','0');
- Node563.a('node.textalign','left');
- Node563.a('node.textvAlign','middle');
- Node563.a('node.textrect', [Node563textStart, 0, Node563textWidth, Node563height]);
- Node563.a('node.color','rgba(0,0,0,1)');
- Node563.a('node.font',' '+ Node563fontSize + 'px "Arial"');
- Node563.a('node.textvisible',true);
- Node563.a('node.linefeed',false);
- if (false) {
- Node563.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node563.a('node.text') || '0';
- var color=Node563.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node563width,Node563height,13.3333*_ratio.ratioY,"left",color,' '+ Node563fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node563.a('node.underlinepoints',[Node563lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node563fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node563fontSize + 'px "Arial"').width + 6, (Node563height - Node563fontSize) * 0.5*_ratio.ratioY + Node563fontSize + 2 ]);
- Node563.a('node.underlinevisible',false);
- Node563.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node563);
- zoomNodeList.push({
- node: Node563,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node564 = new ht.Node();
- var Node564textStart, Node564textWidth, Node564lineStart, Node564align = 'left', Node564fontSize = 13.3333*_ratio.ratioY,Node564width = 49*_ratio.ratioX, Node564height = 25*_ratio.ratioY;
- (function () {
- if (Node564align === 'left') {
- Node564textStart = Node564fontSize * 0.2 > 2 ? Node564fontSize * 0.2 - 4 : Node564fontSize * 0.2 - 9;
- Node564textWidth = Node564width;
- Node564lineStart = 1;
- } else if (Node564align === 'right') {
- Node564textStart = 0;
- Node564textWidth =Node564fontSize <= 8 ? Node564width + Node564fontSize * 0.2 + 6 : Node564width - Node564fontSize * 0.2;
- Node564lineStart = (Node564width - (ht.Default.getTextSize('0', ' '+ Node564fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node564align === 'center') {
- Node564textStart = -3;
- Node564textWidth = Node564width;
- Node564lineStart = Node564width - ht.Default.getTextSize('0', ' '+ Node564fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node564.setImage(GD.getTextJSON(Node564width, Node564height, true, false, false, ' '+ Node564fontSize + 'px "Arial"'))
- Node564.setPosition(463*ratio.ratioX, 844*ratio.ratioY);
- Node564.setWidth(Node564width);
- Node564.setHeight(Node564height);
- Node564._nodeType = 'text';
- Node564._disallowEvert = true;
- Node564.setRotation(0*Math.PI/180);
- Node564.a('node.width', Node564width);
- Node564.a('node.height', Node564height);
- Node564.a('node.rect', [0, 0, Node564width, Node564height]);
- Node564.a('node.bordercolor','rgba(0,0,0,1)');
- Node564.a('node.borderwidth', 0);
- Node564.a('node.background','' || 'rgba(0,0,0,0)');
- Node564.a('node.gradient','');
- Node564.a('node.gradientcolor','');
- Node564.a('node.text','0');
- Node564.a('node.textalign','left');
- Node564.a('node.textvAlign','middle');
- Node564.a('node.textrect', [Node564textStart, 0, Node564textWidth, Node564height]);
- Node564.a('node.color','rgba(0,0,0,1)');
- Node564.a('node.font',' '+ Node564fontSize + 'px "Arial"');
- Node564.a('node.textvisible',true);
- Node564.a('node.linefeed',false);
- if (false) {
- Node564.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node564.a('node.text') || '0';
- var color=Node564.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node564width,Node564height,13.3333*_ratio.ratioY,"left",color,' '+ Node564fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node564.a('node.underlinepoints',[Node564lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node564fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node564fontSize + 'px "Arial"').width + 6, (Node564height - Node564fontSize) * 0.5*_ratio.ratioY + Node564fontSize + 2 ]);
- Node564.a('node.underlinevisible',false);
- Node564.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node564);
- zoomNodeList.push({
- node: Node564,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node565 = new ht.Node();
- var Node565textStart, Node565textWidth, Node565lineStart, Node565align = 'left', Node565fontSize = 13.3333*_ratio.ratioY,Node565width = 49*_ratio.ratioX, Node565height = 25*_ratio.ratioY;
- (function () {
- if (Node565align === 'left') {
- Node565textStart = Node565fontSize * 0.2 > 2 ? Node565fontSize * 0.2 - 4 : Node565fontSize * 0.2 - 9;
- Node565textWidth = Node565width;
- Node565lineStart = 1;
- } else if (Node565align === 'right') {
- Node565textStart = 0;
- Node565textWidth =Node565fontSize <= 8 ? Node565width + Node565fontSize * 0.2 + 6 : Node565width - Node565fontSize * 0.2;
- Node565lineStart = (Node565width - (ht.Default.getTextSize('0', ' '+ Node565fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node565align === 'center') {
- Node565textStart = -3;
- Node565textWidth = Node565width;
- Node565lineStart = Node565width - ht.Default.getTextSize('0', ' '+ Node565fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node565.setImage(GD.getTextJSON(Node565width, Node565height, true, false, false, ' '+ Node565fontSize + 'px "Arial"'))
- Node565.setPosition(463*ratio.ratioX, 865*ratio.ratioY);
- Node565.setWidth(Node565width);
- Node565.setHeight(Node565height);
- Node565._nodeType = 'text';
- Node565._disallowEvert = true;
- Node565.setRotation(0*Math.PI/180);
- Node565.a('node.width', Node565width);
- Node565.a('node.height', Node565height);
- Node565.a('node.rect', [0, 0, Node565width, Node565height]);
- Node565.a('node.bordercolor','rgba(0,0,0,1)');
- Node565.a('node.borderwidth', 0);
- Node565.a('node.background','' || 'rgba(0,0,0,0)');
- Node565.a('node.gradient','');
- Node565.a('node.gradientcolor','');
- Node565.a('node.text','0');
- Node565.a('node.textalign','left');
- Node565.a('node.textvAlign','middle');
- Node565.a('node.textrect', [Node565textStart, 0, Node565textWidth, Node565height]);
- Node565.a('node.color','rgba(0,0,0,1)');
- Node565.a('node.font',' '+ Node565fontSize + 'px "Arial"');
- Node565.a('node.textvisible',true);
- Node565.a('node.linefeed',false);
- if (false) {
- Node565.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node565.a('node.text') || '0';
- var color=Node565.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node565width,Node565height,13.3333*_ratio.ratioY,"left",color,' '+ Node565fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node565.a('node.underlinepoints',[Node565lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node565fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node565fontSize + 'px "Arial"').width + 6, (Node565height - Node565fontSize) * 0.5*_ratio.ratioY + Node565fontSize + 2 ]);
- Node565.a('node.underlinevisible',false);
- Node565.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node565);
- zoomNodeList.push({
- node: Node565,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node566 = new ht.Node();
- var Node566textStart, Node566textWidth, Node566lineStart, Node566align = 'left', Node566fontSize = 13.3333*_ratio.ratioY,Node566width = 49*_ratio.ratioX, Node566height = 25*_ratio.ratioY;
- (function () {
- if (Node566align === 'left') {
- Node566textStart = Node566fontSize * 0.2 > 2 ? Node566fontSize * 0.2 - 4 : Node566fontSize * 0.2 - 9;
- Node566textWidth = Node566width;
- Node566lineStart = 1;
- } else if (Node566align === 'right') {
- Node566textStart = 0;
- Node566textWidth =Node566fontSize <= 8 ? Node566width + Node566fontSize * 0.2 + 6 : Node566width - Node566fontSize * 0.2;
- Node566lineStart = (Node566width - (ht.Default.getTextSize('0', ' '+ Node566fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node566align === 'center') {
- Node566textStart = -3;
- Node566textWidth = Node566width;
- Node566lineStart = Node566width - ht.Default.getTextSize('0', ' '+ Node566fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node566.setImage(GD.getTextJSON(Node566width, Node566height, true, false, false, ' '+ Node566fontSize + 'px "Arial"'))
- Node566.setPosition(463*ratio.ratioX, 885*ratio.ratioY);
- Node566.setWidth(Node566width);
- Node566.setHeight(Node566height);
- Node566._nodeType = 'text';
- Node566._disallowEvert = true;
- Node566.setRotation(0*Math.PI/180);
- Node566.a('node.width', Node566width);
- Node566.a('node.height', Node566height);
- Node566.a('node.rect', [0, 0, Node566width, Node566height]);
- Node566.a('node.bordercolor','rgba(0,0,0,1)');
- Node566.a('node.borderwidth', 0);
- Node566.a('node.background','' || 'rgba(0,0,0,0)');
- Node566.a('node.gradient','');
- Node566.a('node.gradientcolor','');
- Node566.a('node.text','0');
- Node566.a('node.textalign','left');
- Node566.a('node.textvAlign','middle');
- Node566.a('node.textrect', [Node566textStart, 0, Node566textWidth, Node566height]);
- Node566.a('node.color','rgba(0,0,0,1)');
- Node566.a('node.font',' '+ Node566fontSize + 'px "Arial"');
- Node566.a('node.textvisible',true);
- Node566.a('node.linefeed',false);
- if (false) {
- Node566.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node566.a('node.text') || '0';
- var color=Node566.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node566width,Node566height,13.3333*_ratio.ratioY,"left",color,' '+ Node566fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node566.a('node.underlinepoints',[Node566lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node566fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node566fontSize + 'px "Arial"').width + 6, (Node566height - Node566fontSize) * 0.5*_ratio.ratioY + Node566fontSize + 2 ]);
- Node566.a('node.underlinevisible',false);
- Node566.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node566);
- zoomNodeList.push({
- node: Node566,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node567 = new ht.Node();
- var Node567textStart, Node567textWidth, Node567lineStart, Node567align = 'left', Node567fontSize = 13.3333*_ratio.ratioY,Node567width = 49*_ratio.ratioX, Node567height = 25*_ratio.ratioY;
- (function () {
- if (Node567align === 'left') {
- Node567textStart = Node567fontSize * 0.2 > 2 ? Node567fontSize * 0.2 - 4 : Node567fontSize * 0.2 - 9;
- Node567textWidth = Node567width;
- Node567lineStart = 1;
- } else if (Node567align === 'right') {
- Node567textStart = 0;
- Node567textWidth =Node567fontSize <= 8 ? Node567width + Node567fontSize * 0.2 + 6 : Node567width - Node567fontSize * 0.2;
- Node567lineStart = (Node567width - (ht.Default.getTextSize('0', ' '+ Node567fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node567align === 'center') {
- Node567textStart = -3;
- Node567textWidth = Node567width;
- Node567lineStart = Node567width - ht.Default.getTextSize('0', ' '+ Node567fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node567.setImage(GD.getTextJSON(Node567width, Node567height, true, false, false, ' '+ Node567fontSize + 'px "Arial"'))
- Node567.setPosition(570*ratio.ratioX, 843*ratio.ratioY);
- Node567.setWidth(Node567width);
- Node567.setHeight(Node567height);
- Node567._nodeType = 'text';
- Node567._disallowEvert = true;
- Node567.setRotation(0*Math.PI/180);
- Node567.a('node.width', Node567width);
- Node567.a('node.height', Node567height);
- Node567.a('node.rect', [0, 0, Node567width, Node567height]);
- Node567.a('node.bordercolor','rgba(0,0,0,1)');
- Node567.a('node.borderwidth', 0);
- Node567.a('node.background','' || 'rgba(0,0,0,0)');
- Node567.a('node.gradient','');
- Node567.a('node.gradientcolor','');
- Node567.a('node.text','0');
- Node567.a('node.textalign','left');
- Node567.a('node.textvAlign','middle');
- Node567.a('node.textrect', [Node567textStart, 0, Node567textWidth, Node567height]);
- Node567.a('node.color','rgba(0,0,0,1)');
- Node567.a('node.font',' '+ Node567fontSize + 'px "Arial"');
- Node567.a('node.textvisible',true);
- Node567.a('node.linefeed',false);
- if (false) {
- Node567.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node567.a('node.text') || '0';
- var color=Node567.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node567width,Node567height,13.3333*_ratio.ratioY,"left",color,' '+ Node567fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node567.a('node.underlinepoints',[Node567lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node567fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node567fontSize + 'px "Arial"').width + 6, (Node567height - Node567fontSize) * 0.5*_ratio.ratioY + Node567fontSize + 2 ]);
- Node567.a('node.underlinevisible',false);
- Node567.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node567);
- zoomNodeList.push({
- node: Node567,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node568 = new ht.Node();
- var Node568textStart, Node568textWidth, Node568lineStart, Node568align = 'left', Node568fontSize = 13.3333*_ratio.ratioY,Node568width = 49*_ratio.ratioX, Node568height = 25*_ratio.ratioY;
- (function () {
- if (Node568align === 'left') {
- Node568textStart = Node568fontSize * 0.2 > 2 ? Node568fontSize * 0.2 - 4 : Node568fontSize * 0.2 - 9;
- Node568textWidth = Node568width;
- Node568lineStart = 1;
- } else if (Node568align === 'right') {
- Node568textStart = 0;
- Node568textWidth =Node568fontSize <= 8 ? Node568width + Node568fontSize * 0.2 + 6 : Node568width - Node568fontSize * 0.2;
- Node568lineStart = (Node568width - (ht.Default.getTextSize('0', ' '+ Node568fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node568align === 'center') {
- Node568textStart = -3;
- Node568textWidth = Node568width;
- Node568lineStart = Node568width - ht.Default.getTextSize('0', ' '+ Node568fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node568.setImage(GD.getTextJSON(Node568width, Node568height, true, false, false, ' '+ Node568fontSize + 'px "Arial"'))
- Node568.setPosition(570*ratio.ratioX, 864*ratio.ratioY);
- Node568.setWidth(Node568width);
- Node568.setHeight(Node568height);
- Node568._nodeType = 'text';
- Node568._disallowEvert = true;
- Node568.setRotation(0*Math.PI/180);
- Node568.a('node.width', Node568width);
- Node568.a('node.height', Node568height);
- Node568.a('node.rect', [0, 0, Node568width, Node568height]);
- Node568.a('node.bordercolor','rgba(0,0,0,1)');
- Node568.a('node.borderwidth', 0);
- Node568.a('node.background','' || 'rgba(0,0,0,0)');
- Node568.a('node.gradient','');
- Node568.a('node.gradientcolor','');
- Node568.a('node.text','0');
- Node568.a('node.textalign','left');
- Node568.a('node.textvAlign','middle');
- Node568.a('node.textrect', [Node568textStart, 0, Node568textWidth, Node568height]);
- Node568.a('node.color','rgba(0,0,0,1)');
- Node568.a('node.font',' '+ Node568fontSize + 'px "Arial"');
- Node568.a('node.textvisible',true);
- Node568.a('node.linefeed',false);
- if (false) {
- Node568.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node568.a('node.text') || '0';
- var color=Node568.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node568width,Node568height,13.3333*_ratio.ratioY,"left",color,' '+ Node568fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node568.a('node.underlinepoints',[Node568lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node568fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node568fontSize + 'px "Arial"').width + 6, (Node568height - Node568fontSize) * 0.5*_ratio.ratioY + Node568fontSize + 2 ]);
- Node568.a('node.underlinevisible',false);
- Node568.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node568);
- zoomNodeList.push({
- node: Node568,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node569 = new ht.Node();
- var Node569textStart, Node569textWidth, Node569lineStart, Node569align = 'left', Node569fontSize = 13.3333*_ratio.ratioY,Node569width = 49*_ratio.ratioX, Node569height = 25*_ratio.ratioY;
- (function () {
- if (Node569align === 'left') {
- Node569textStart = Node569fontSize * 0.2 > 2 ? Node569fontSize * 0.2 - 4 : Node569fontSize * 0.2 - 9;
- Node569textWidth = Node569width;
- Node569lineStart = 1;
- } else if (Node569align === 'right') {
- Node569textStart = 0;
- Node569textWidth =Node569fontSize <= 8 ? Node569width + Node569fontSize * 0.2 + 6 : Node569width - Node569fontSize * 0.2;
- Node569lineStart = (Node569width - (ht.Default.getTextSize('0', ' '+ Node569fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node569align === 'center') {
- Node569textStart = -3;
- Node569textWidth = Node569width;
- Node569lineStart = Node569width - ht.Default.getTextSize('0', ' '+ Node569fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node569.setImage(GD.getTextJSON(Node569width, Node569height, true, false, false, ' '+ Node569fontSize + 'px "Arial"'))
- Node569.setPosition(570*ratio.ratioX, 884*ratio.ratioY);
- Node569.setWidth(Node569width);
- Node569.setHeight(Node569height);
- Node569._nodeType = 'text';
- Node569._disallowEvert = true;
- Node569.setRotation(0*Math.PI/180);
- Node569.a('node.width', Node569width);
- Node569.a('node.height', Node569height);
- Node569.a('node.rect', [0, 0, Node569width, Node569height]);
- Node569.a('node.bordercolor','rgba(0,0,0,1)');
- Node569.a('node.borderwidth', 0);
- Node569.a('node.background','' || 'rgba(0,0,0,0)');
- Node569.a('node.gradient','');
- Node569.a('node.gradientcolor','');
- Node569.a('node.text','0');
- Node569.a('node.textalign','left');
- Node569.a('node.textvAlign','middle');
- Node569.a('node.textrect', [Node569textStart, 0, Node569textWidth, Node569height]);
- Node569.a('node.color','rgba(0,0,0,1)');
- Node569.a('node.font',' '+ Node569fontSize + 'px "Arial"');
- Node569.a('node.textvisible',true);
- Node569.a('node.linefeed',false);
- if (false) {
- Node569.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node569.a('node.text') || '0';
- var color=Node569.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node569width,Node569height,13.3333*_ratio.ratioY,"left",color,' '+ Node569fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node569.a('node.underlinepoints',[Node569lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node569fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node569fontSize + 'px "Arial"').width + 6, (Node569height - Node569fontSize) * 0.5*_ratio.ratioY + Node569fontSize + 2 ]);
- Node569.a('node.underlinevisible',false);
- Node569.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node569);
- zoomNodeList.push({
- node: Node569,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node570 = new ht.Node();
- var Node570textStart, Node570textWidth, Node570lineStart, Node570align = 'left', Node570fontSize = 13.3333*_ratio.ratioY,Node570width = 49*_ratio.ratioX, Node570height = 25*_ratio.ratioY;
- (function () {
- if (Node570align === 'left') {
- Node570textStart = Node570fontSize * 0.2 > 2 ? Node570fontSize * 0.2 - 4 : Node570fontSize * 0.2 - 9;
- Node570textWidth = Node570width;
- Node570lineStart = 1;
- } else if (Node570align === 'right') {
- Node570textStart = 0;
- Node570textWidth =Node570fontSize <= 8 ? Node570width + Node570fontSize * 0.2 + 6 : Node570width - Node570fontSize * 0.2;
- Node570lineStart = (Node570width - (ht.Default.getTextSize('0', ' '+ Node570fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node570align === 'center') {
- Node570textStart = -3;
- Node570textWidth = Node570width;
- Node570lineStart = Node570width - ht.Default.getTextSize('0', ' '+ Node570fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node570.setImage(GD.getTextJSON(Node570width, Node570height, true, false, false, ' '+ Node570fontSize + 'px "Arial"'))
- Node570.setPosition(661*ratio.ratioX, 843*ratio.ratioY);
- Node570.setWidth(Node570width);
- Node570.setHeight(Node570height);
- Node570._nodeType = 'text';
- Node570._disallowEvert = true;
- Node570.setRotation(0*Math.PI/180);
- Node570.a('node.width', Node570width);
- Node570.a('node.height', Node570height);
- Node570.a('node.rect', [0, 0, Node570width, Node570height]);
- Node570.a('node.bordercolor','rgba(0,0,0,1)');
- Node570.a('node.borderwidth', 0);
- Node570.a('node.background','' || 'rgba(0,0,0,0)');
- Node570.a('node.gradient','');
- Node570.a('node.gradientcolor','');
- Node570.a('node.text','0');
- Node570.a('node.textalign','left');
- Node570.a('node.textvAlign','middle');
- Node570.a('node.textrect', [Node570textStart, 0, Node570textWidth, Node570height]);
- Node570.a('node.color','rgba(0,0,0,1)');
- Node570.a('node.font',' '+ Node570fontSize + 'px "Arial"');
- Node570.a('node.textvisible',true);
- Node570.a('node.linefeed',false);
- if (false) {
- Node570.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node570.a('node.text') || '0';
- var color=Node570.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node570width,Node570height,13.3333*_ratio.ratioY,"left",color,' '+ Node570fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node570.a('node.underlinepoints',[Node570lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node570fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node570fontSize + 'px "Arial"').width + 6, (Node570height - Node570fontSize) * 0.5*_ratio.ratioY + Node570fontSize + 2 ]);
- Node570.a('node.underlinevisible',false);
- Node570.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node570);
- zoomNodeList.push({
- node: Node570,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node571 = new ht.Node();
- var Node571textStart, Node571textWidth, Node571lineStart, Node571align = 'left', Node571fontSize = 13.3333*_ratio.ratioY,Node571width = 49*_ratio.ratioX, Node571height = 25*_ratio.ratioY;
- (function () {
- if (Node571align === 'left') {
- Node571textStart = Node571fontSize * 0.2 > 2 ? Node571fontSize * 0.2 - 4 : Node571fontSize * 0.2 - 9;
- Node571textWidth = Node571width;
- Node571lineStart = 1;
- } else if (Node571align === 'right') {
- Node571textStart = 0;
- Node571textWidth =Node571fontSize <= 8 ? Node571width + Node571fontSize * 0.2 + 6 : Node571width - Node571fontSize * 0.2;
- Node571lineStart = (Node571width - (ht.Default.getTextSize('0', ' '+ Node571fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node571align === 'center') {
- Node571textStart = -3;
- Node571textWidth = Node571width;
- Node571lineStart = Node571width - ht.Default.getTextSize('0', ' '+ Node571fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node571.setImage(GD.getTextJSON(Node571width, Node571height, true, false, false, ' '+ Node571fontSize + 'px "Arial"'))
- Node571.setPosition(661*ratio.ratioX, 864*ratio.ratioY);
- Node571.setWidth(Node571width);
- Node571.setHeight(Node571height);
- Node571._nodeType = 'text';
- Node571._disallowEvert = true;
- Node571.setRotation(0*Math.PI/180);
- Node571.a('node.width', Node571width);
- Node571.a('node.height', Node571height);
- Node571.a('node.rect', [0, 0, Node571width, Node571height]);
- Node571.a('node.bordercolor','rgba(0,0,0,1)');
- Node571.a('node.borderwidth', 0);
- Node571.a('node.background','' || 'rgba(0,0,0,0)');
- Node571.a('node.gradient','');
- Node571.a('node.gradientcolor','');
- Node571.a('node.text','0');
- Node571.a('node.textalign','left');
- Node571.a('node.textvAlign','middle');
- Node571.a('node.textrect', [Node571textStart, 0, Node571textWidth, Node571height]);
- Node571.a('node.color','rgba(0,0,0,1)');
- Node571.a('node.font',' '+ Node571fontSize + 'px "Arial"');
- Node571.a('node.textvisible',true);
- Node571.a('node.linefeed',false);
- if (false) {
- Node571.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node571.a('node.text') || '0';
- var color=Node571.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node571width,Node571height,13.3333*_ratio.ratioY,"left",color,' '+ Node571fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node571.a('node.underlinepoints',[Node571lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node571fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node571fontSize + 'px "Arial"').width + 6, (Node571height - Node571fontSize) * 0.5*_ratio.ratioY + Node571fontSize + 2 ]);
- Node571.a('node.underlinevisible',false);
- Node571.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node571);
- zoomNodeList.push({
- node: Node571,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node572 = new ht.Node();
- var Node572textStart, Node572textWidth, Node572lineStart, Node572align = 'left', Node572fontSize = 13.3333*_ratio.ratioY,Node572width = 49*_ratio.ratioX, Node572height = 25*_ratio.ratioY;
- (function () {
- if (Node572align === 'left') {
- Node572textStart = Node572fontSize * 0.2 > 2 ? Node572fontSize * 0.2 - 4 : Node572fontSize * 0.2 - 9;
- Node572textWidth = Node572width;
- Node572lineStart = 1;
- } else if (Node572align === 'right') {
- Node572textStart = 0;
- Node572textWidth =Node572fontSize <= 8 ? Node572width + Node572fontSize * 0.2 + 6 : Node572width - Node572fontSize * 0.2;
- Node572lineStart = (Node572width - (ht.Default.getTextSize('0', ' '+ Node572fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node572align === 'center') {
- Node572textStart = -3;
- Node572textWidth = Node572width;
- Node572lineStart = Node572width - ht.Default.getTextSize('0', ' '+ Node572fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node572.setImage(GD.getTextJSON(Node572width, Node572height, true, false, false, ' '+ Node572fontSize + 'px "Arial"'))
- Node572.setPosition(661*ratio.ratioX, 884*ratio.ratioY);
- Node572.setWidth(Node572width);
- Node572.setHeight(Node572height);
- Node572._nodeType = 'text';
- Node572._disallowEvert = true;
- Node572.setRotation(0*Math.PI/180);
- Node572.a('node.width', Node572width);
- Node572.a('node.height', Node572height);
- Node572.a('node.rect', [0, 0, Node572width, Node572height]);
- Node572.a('node.bordercolor','rgba(0,0,0,1)');
- Node572.a('node.borderwidth', 0);
- Node572.a('node.background','' || 'rgba(0,0,0,0)');
- Node572.a('node.gradient','');
- Node572.a('node.gradientcolor','');
- Node572.a('node.text','0');
- Node572.a('node.textalign','left');
- Node572.a('node.textvAlign','middle');
- Node572.a('node.textrect', [Node572textStart, 0, Node572textWidth, Node572height]);
- Node572.a('node.color','rgba(0,0,0,1)');
- Node572.a('node.font',' '+ Node572fontSize + 'px "Arial"');
- Node572.a('node.textvisible',true);
- Node572.a('node.linefeed',false);
- if (false) {
- Node572.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node572.a('node.text') || '0';
- var color=Node572.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node572width,Node572height,13.3333*_ratio.ratioY,"left",color,' '+ Node572fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node572.a('node.underlinepoints',[Node572lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node572fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node572fontSize + 'px "Arial"').width + 6, (Node572height - Node572fontSize) * 0.5*_ratio.ratioY + Node572fontSize + 2 ]);
- Node572.a('node.underlinevisible',false);
- Node572.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node572);
- zoomNodeList.push({
- node: Node572,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node573 = new ht.Node();
- var Node573textStart, Node573textWidth, Node573lineStart, Node573align = 'left', Node573fontSize = 13.3333*_ratio.ratioY,Node573width = 49*_ratio.ratioX, Node573height = 25*_ratio.ratioY;
- (function () {
- if (Node573align === 'left') {
- Node573textStart = Node573fontSize * 0.2 > 2 ? Node573fontSize * 0.2 - 4 : Node573fontSize * 0.2 - 9;
- Node573textWidth = Node573width;
- Node573lineStart = 1;
- } else if (Node573align === 'right') {
- Node573textStart = 0;
- Node573textWidth =Node573fontSize <= 8 ? Node573width + Node573fontSize * 0.2 + 6 : Node573width - Node573fontSize * 0.2;
- Node573lineStart = (Node573width - (ht.Default.getTextSize('0', ' '+ Node573fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node573align === 'center') {
- Node573textStart = -3;
- Node573textWidth = Node573width;
- Node573lineStart = Node573width - ht.Default.getTextSize('0', ' '+ Node573fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node573.setImage(GD.getTextJSON(Node573width, Node573height, true, false, false, ' '+ Node573fontSize + 'px "Arial"'))
- Node573.setPosition(750*ratio.ratioX, 843*ratio.ratioY);
- Node573.setWidth(Node573width);
- Node573.setHeight(Node573height);
- Node573._nodeType = 'text';
- Node573._disallowEvert = true;
- Node573.setRotation(0*Math.PI/180);
- Node573.a('node.width', Node573width);
- Node573.a('node.height', Node573height);
- Node573.a('node.rect', [0, 0, Node573width, Node573height]);
- Node573.a('node.bordercolor','rgba(0,0,0,1)');
- Node573.a('node.borderwidth', 0);
- Node573.a('node.background','' || 'rgba(0,0,0,0)');
- Node573.a('node.gradient','');
- Node573.a('node.gradientcolor','');
- Node573.a('node.text','0');
- Node573.a('node.textalign','left');
- Node573.a('node.textvAlign','middle');
- Node573.a('node.textrect', [Node573textStart, 0, Node573textWidth, Node573height]);
- Node573.a('node.color','rgba(0,0,0,1)');
- Node573.a('node.font',' '+ Node573fontSize + 'px "Arial"');
- Node573.a('node.textvisible',true);
- Node573.a('node.linefeed',false);
- if (false) {
- Node573.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node573.a('node.text') || '0';
- var color=Node573.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node573width,Node573height,13.3333*_ratio.ratioY,"left",color,' '+ Node573fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node573.a('node.underlinepoints',[Node573lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node573fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node573fontSize + 'px "Arial"').width + 6, (Node573height - Node573fontSize) * 0.5*_ratio.ratioY + Node573fontSize + 2 ]);
- Node573.a('node.underlinevisible',false);
- Node573.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node573);
- zoomNodeList.push({
- node: Node573,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node574 = new ht.Node();
- var Node574textStart, Node574textWidth, Node574lineStart, Node574align = 'left', Node574fontSize = 13.3333*_ratio.ratioY,Node574width = 49*_ratio.ratioX, Node574height = 25*_ratio.ratioY;
- (function () {
- if (Node574align === 'left') {
- Node574textStart = Node574fontSize * 0.2 > 2 ? Node574fontSize * 0.2 - 4 : Node574fontSize * 0.2 - 9;
- Node574textWidth = Node574width;
- Node574lineStart = 1;
- } else if (Node574align === 'right') {
- Node574textStart = 0;
- Node574textWidth =Node574fontSize <= 8 ? Node574width + Node574fontSize * 0.2 + 6 : Node574width - Node574fontSize * 0.2;
- Node574lineStart = (Node574width - (ht.Default.getTextSize('0', ' '+ Node574fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node574align === 'center') {
- Node574textStart = -3;
- Node574textWidth = Node574width;
- Node574lineStart = Node574width - ht.Default.getTextSize('0', ' '+ Node574fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node574.setImage(GD.getTextJSON(Node574width, Node574height, true, false, false, ' '+ Node574fontSize + 'px "Arial"'))
- Node574.setPosition(750*ratio.ratioX, 864*ratio.ratioY);
- Node574.setWidth(Node574width);
- Node574.setHeight(Node574height);
- Node574._nodeType = 'text';
- Node574._disallowEvert = true;
- Node574.setRotation(0*Math.PI/180);
- Node574.a('node.width', Node574width);
- Node574.a('node.height', Node574height);
- Node574.a('node.rect', [0, 0, Node574width, Node574height]);
- Node574.a('node.bordercolor','rgba(0,0,0,1)');
- Node574.a('node.borderwidth', 0);
- Node574.a('node.background','' || 'rgba(0,0,0,0)');
- Node574.a('node.gradient','');
- Node574.a('node.gradientcolor','');
- Node574.a('node.text','0');
- Node574.a('node.textalign','left');
- Node574.a('node.textvAlign','middle');
- Node574.a('node.textrect', [Node574textStart, 0, Node574textWidth, Node574height]);
- Node574.a('node.color','rgba(0,0,0,1)');
- Node574.a('node.font',' '+ Node574fontSize + 'px "Arial"');
- Node574.a('node.textvisible',true);
- Node574.a('node.linefeed',false);
- if (false) {
- Node574.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node574.a('node.text') || '0';
- var color=Node574.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node574width,Node574height,13.3333*_ratio.ratioY,"left",color,' '+ Node574fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node574.a('node.underlinepoints',[Node574lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node574fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node574fontSize + 'px "Arial"').width + 6, (Node574height - Node574fontSize) * 0.5*_ratio.ratioY + Node574fontSize + 2 ]);
- Node574.a('node.underlinevisible',false);
- Node574.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node574);
- zoomNodeList.push({
- node: Node574,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node575 = new ht.Node();
- var Node575textStart, Node575textWidth, Node575lineStart, Node575align = 'left', Node575fontSize = 13.3333*_ratio.ratioY,Node575width = 49*_ratio.ratioX, Node575height = 25*_ratio.ratioY;
- (function () {
- if (Node575align === 'left') {
- Node575textStart = Node575fontSize * 0.2 > 2 ? Node575fontSize * 0.2 - 4 : Node575fontSize * 0.2 - 9;
- Node575textWidth = Node575width;
- Node575lineStart = 1;
- } else if (Node575align === 'right') {
- Node575textStart = 0;
- Node575textWidth =Node575fontSize <= 8 ? Node575width + Node575fontSize * 0.2 + 6 : Node575width - Node575fontSize * 0.2;
- Node575lineStart = (Node575width - (ht.Default.getTextSize('0', ' '+ Node575fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node575align === 'center') {
- Node575textStart = -3;
- Node575textWidth = Node575width;
- Node575lineStart = Node575width - ht.Default.getTextSize('0', ' '+ Node575fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node575.setImage(GD.getTextJSON(Node575width, Node575height, true, false, false, ' '+ Node575fontSize + 'px "Arial"'))
- Node575.setPosition(750*ratio.ratioX, 884*ratio.ratioY);
- Node575.setWidth(Node575width);
- Node575.setHeight(Node575height);
- Node575._nodeType = 'text';
- Node575._disallowEvert = true;
- Node575.setRotation(0*Math.PI/180);
- Node575.a('node.width', Node575width);
- Node575.a('node.height', Node575height);
- Node575.a('node.rect', [0, 0, Node575width, Node575height]);
- Node575.a('node.bordercolor','rgba(0,0,0,1)');
- Node575.a('node.borderwidth', 0);
- Node575.a('node.background','' || 'rgba(0,0,0,0)');
- Node575.a('node.gradient','');
- Node575.a('node.gradientcolor','');
- Node575.a('node.text','0');
- Node575.a('node.textalign','left');
- Node575.a('node.textvAlign','middle');
- Node575.a('node.textrect', [Node575textStart, 0, Node575textWidth, Node575height]);
- Node575.a('node.color','rgba(0,0,0,1)');
- Node575.a('node.font',' '+ Node575fontSize + 'px "Arial"');
- Node575.a('node.textvisible',true);
- Node575.a('node.linefeed',false);
- if (false) {
- Node575.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node575.a('node.text') || '0';
- var color=Node575.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node575width,Node575height,13.3333*_ratio.ratioY,"left",color,' '+ Node575fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node575.a('node.underlinepoints',[Node575lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node575fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node575fontSize + 'px "Arial"').width + 6, (Node575height - Node575fontSize) * 0.5*_ratio.ratioY + Node575fontSize + 2 ]);
- Node575.a('node.underlinevisible',false);
- Node575.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node575);
- zoomNodeList.push({
- node: Node575,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node576 = new ht.Node();
- var Node576textStart, Node576textWidth, Node576lineStart, Node576align = 'left', Node576fontSize = 13.3333*_ratio.ratioY,Node576width = 49*_ratio.ratioX, Node576height = 25*_ratio.ratioY;
- (function () {
- if (Node576align === 'left') {
- Node576textStart = Node576fontSize * 0.2 > 2 ? Node576fontSize * 0.2 - 4 : Node576fontSize * 0.2 - 9;
- Node576textWidth = Node576width;
- Node576lineStart = 1;
- } else if (Node576align === 'right') {
- Node576textStart = 0;
- Node576textWidth =Node576fontSize <= 8 ? Node576width + Node576fontSize * 0.2 + 6 : Node576width - Node576fontSize * 0.2;
- Node576lineStart = (Node576width - (ht.Default.getTextSize('0', ' '+ Node576fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node576align === 'center') {
- Node576textStart = -3;
- Node576textWidth = Node576width;
- Node576lineStart = Node576width - ht.Default.getTextSize('0', ' '+ Node576fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node576.setImage(GD.getTextJSON(Node576width, Node576height, true, false, false, ' '+ Node576fontSize + 'px "Arial"'))
- Node576.setPosition(1111*ratio.ratioX, 842*ratio.ratioY);
- Node576.setWidth(Node576width);
- Node576.setHeight(Node576height);
- Node576._nodeType = 'text';
- Node576._disallowEvert = true;
- Node576.setRotation(0*Math.PI/180);
- Node576.a('node.width', Node576width);
- Node576.a('node.height', Node576height);
- Node576.a('node.rect', [0, 0, Node576width, Node576height]);
- Node576.a('node.bordercolor','rgba(0,0,0,1)');
- Node576.a('node.borderwidth', 0);
- Node576.a('node.background','' || 'rgba(0,0,0,0)');
- Node576.a('node.gradient','');
- Node576.a('node.gradientcolor','');
- Node576.a('node.text','0');
- Node576.a('node.textalign','left');
- Node576.a('node.textvAlign','middle');
- Node576.a('node.textrect', [Node576textStart, 0, Node576textWidth, Node576height]);
- Node576.a('node.color','rgba(0,0,0,1)');
- Node576.a('node.font',' '+ Node576fontSize + 'px "Arial"');
- Node576.a('node.textvisible',true);
- Node576.a('node.linefeed',false);
- if (false) {
- Node576.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node576.a('node.text') || '0';
- var color=Node576.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node576width,Node576height,13.3333*_ratio.ratioY,"left",color,' '+ Node576fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node576.a('node.underlinepoints',[Node576lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node576fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node576fontSize + 'px "Arial"').width + 6, (Node576height - Node576fontSize) * 0.5*_ratio.ratioY + Node576fontSize + 2 ]);
- Node576.a('node.underlinevisible',false);
- Node576.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node576);
- zoomNodeList.push({
- node: Node576,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node577 = new ht.Node();
- var Node577textStart, Node577textWidth, Node577lineStart, Node577align = 'left', Node577fontSize = 13.3333*_ratio.ratioY,Node577width = 49*_ratio.ratioX, Node577height = 25*_ratio.ratioY;
- (function () {
- if (Node577align === 'left') {
- Node577textStart = Node577fontSize * 0.2 > 2 ? Node577fontSize * 0.2 - 4 : Node577fontSize * 0.2 - 9;
- Node577textWidth = Node577width;
- Node577lineStart = 1;
- } else if (Node577align === 'right') {
- Node577textStart = 0;
- Node577textWidth =Node577fontSize <= 8 ? Node577width + Node577fontSize * 0.2 + 6 : Node577width - Node577fontSize * 0.2;
- Node577lineStart = (Node577width - (ht.Default.getTextSize('0', ' '+ Node577fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node577align === 'center') {
- Node577textStart = -3;
- Node577textWidth = Node577width;
- Node577lineStart = Node577width - ht.Default.getTextSize('0', ' '+ Node577fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node577.setImage(GD.getTextJSON(Node577width, Node577height, true, false, false, ' '+ Node577fontSize + 'px "Arial"'))
- Node577.setPosition(1111*ratio.ratioX, 863*ratio.ratioY);
- Node577.setWidth(Node577width);
- Node577.setHeight(Node577height);
- Node577._nodeType = 'text';
- Node577._disallowEvert = true;
- Node577.setRotation(0*Math.PI/180);
- Node577.a('node.width', Node577width);
- Node577.a('node.height', Node577height);
- Node577.a('node.rect', [0, 0, Node577width, Node577height]);
- Node577.a('node.bordercolor','rgba(0,0,0,1)');
- Node577.a('node.borderwidth', 0);
- Node577.a('node.background','' || 'rgba(0,0,0,0)');
- Node577.a('node.gradient','');
- Node577.a('node.gradientcolor','');
- Node577.a('node.text','0');
- Node577.a('node.textalign','left');
- Node577.a('node.textvAlign','middle');
- Node577.a('node.textrect', [Node577textStart, 0, Node577textWidth, Node577height]);
- Node577.a('node.color','rgba(0,0,0,1)');
- Node577.a('node.font',' '+ Node577fontSize + 'px "Arial"');
- Node577.a('node.textvisible',true);
- Node577.a('node.linefeed',false);
- if (false) {
- Node577.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node577.a('node.text') || '0';
- var color=Node577.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node577width,Node577height,13.3333*_ratio.ratioY,"left",color,' '+ Node577fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node577.a('node.underlinepoints',[Node577lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node577fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node577fontSize + 'px "Arial"').width + 6, (Node577height - Node577fontSize) * 0.5*_ratio.ratioY + Node577fontSize + 2 ]);
- Node577.a('node.underlinevisible',false);
- Node577.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node577);
- zoomNodeList.push({
- node: Node577,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node578 = new ht.Node();
- var Node578textStart, Node578textWidth, Node578lineStart, Node578align = 'left', Node578fontSize = 13.3333*_ratio.ratioY,Node578width = 49*_ratio.ratioX, Node578height = 25*_ratio.ratioY;
- (function () {
- if (Node578align === 'left') {
- Node578textStart = Node578fontSize * 0.2 > 2 ? Node578fontSize * 0.2 - 4 : Node578fontSize * 0.2 - 9;
- Node578textWidth = Node578width;
- Node578lineStart = 1;
- } else if (Node578align === 'right') {
- Node578textStart = 0;
- Node578textWidth =Node578fontSize <= 8 ? Node578width + Node578fontSize * 0.2 + 6 : Node578width - Node578fontSize * 0.2;
- Node578lineStart = (Node578width - (ht.Default.getTextSize('0', ' '+ Node578fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node578align === 'center') {
- Node578textStart = -3;
- Node578textWidth = Node578width;
- Node578lineStart = Node578width - ht.Default.getTextSize('0', ' '+ Node578fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node578.setImage(GD.getTextJSON(Node578width, Node578height, true, false, false, ' '+ Node578fontSize + 'px "Arial"'))
- Node578.setPosition(1111*ratio.ratioX, 883*ratio.ratioY);
- Node578.setWidth(Node578width);
- Node578.setHeight(Node578height);
- Node578._nodeType = 'text';
- Node578._disallowEvert = true;
- Node578.setRotation(0*Math.PI/180);
- Node578.a('node.width', Node578width);
- Node578.a('node.height', Node578height);
- Node578.a('node.rect', [0, 0, Node578width, Node578height]);
- Node578.a('node.bordercolor','rgba(0,0,0,1)');
- Node578.a('node.borderwidth', 0);
- Node578.a('node.background','' || 'rgba(0,0,0,0)');
- Node578.a('node.gradient','');
- Node578.a('node.gradientcolor','');
- Node578.a('node.text','0');
- Node578.a('node.textalign','left');
- Node578.a('node.textvAlign','middle');
- Node578.a('node.textrect', [Node578textStart, 0, Node578textWidth, Node578height]);
- Node578.a('node.color','rgba(0,0,0,1)');
- Node578.a('node.font',' '+ Node578fontSize + 'px "Arial"');
- Node578.a('node.textvisible',true);
- Node578.a('node.linefeed',false);
- if (false) {
- Node578.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node578.a('node.text') || '0';
- var color=Node578.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node578width,Node578height,13.3333*_ratio.ratioY,"left",color,' '+ Node578fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node578.a('node.underlinepoints',[Node578lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node578fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node578fontSize + 'px "Arial"').width + 6, (Node578height - Node578fontSize) * 0.5*_ratio.ratioY + Node578fontSize + 2 ]);
- Node578.a('node.underlinevisible',false);
- Node578.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node578);
- zoomNodeList.push({
- node: Node578,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node579 = new ht.Node();
- var Node579textStart, Node579textWidth, Node579lineStart, Node579align = 'left', Node579fontSize = 13.3333*_ratio.ratioY,Node579width = 49*_ratio.ratioX, Node579height = 25*_ratio.ratioY;
- (function () {
- if (Node579align === 'left') {
- Node579textStart = Node579fontSize * 0.2 > 2 ? Node579fontSize * 0.2 - 4 : Node579fontSize * 0.2 - 9;
- Node579textWidth = Node579width;
- Node579lineStart = 1;
- } else if (Node579align === 'right') {
- Node579textStart = 0;
- Node579textWidth =Node579fontSize <= 8 ? Node579width + Node579fontSize * 0.2 + 6 : Node579width - Node579fontSize * 0.2;
- Node579lineStart = (Node579width - (ht.Default.getTextSize('0', ' '+ Node579fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node579align === 'center') {
- Node579textStart = -3;
- Node579textWidth = Node579width;
- Node579lineStart = Node579width - ht.Default.getTextSize('0', ' '+ Node579fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node579.setImage(GD.getTextJSON(Node579width, Node579height, true, false, false, ' '+ Node579fontSize + 'px "Arial"'))
- Node579.setPosition(1200*ratio.ratioX, 841*ratio.ratioY);
- Node579.setWidth(Node579width);
- Node579.setHeight(Node579height);
- Node579._nodeType = 'text';
- Node579._disallowEvert = true;
- Node579.setRotation(0*Math.PI/180);
- Node579.a('node.width', Node579width);
- Node579.a('node.height', Node579height);
- Node579.a('node.rect', [0, 0, Node579width, Node579height]);
- Node579.a('node.bordercolor','rgba(0,0,0,1)');
- Node579.a('node.borderwidth', 0);
- Node579.a('node.background','' || 'rgba(0,0,0,0)');
- Node579.a('node.gradient','');
- Node579.a('node.gradientcolor','');
- Node579.a('node.text','0');
- Node579.a('node.textalign','left');
- Node579.a('node.textvAlign','middle');
- Node579.a('node.textrect', [Node579textStart, 0, Node579textWidth, Node579height]);
- Node579.a('node.color','rgba(0,0,0,1)');
- Node579.a('node.font',' '+ Node579fontSize + 'px "Arial"');
- Node579.a('node.textvisible',true);
- Node579.a('node.linefeed',false);
- if (false) {
- Node579.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node579.a('node.text') || '0';
- var color=Node579.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node579width,Node579height,13.3333*_ratio.ratioY,"left",color,' '+ Node579fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node579.a('node.underlinepoints',[Node579lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node579fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node579fontSize + 'px "Arial"').width + 6, (Node579height - Node579fontSize) * 0.5*_ratio.ratioY + Node579fontSize + 2 ]);
- Node579.a('node.underlinevisible',false);
- Node579.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node579);
- zoomNodeList.push({
- node: Node579,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node580 = new ht.Node();
- var Node580textStart, Node580textWidth, Node580lineStart, Node580align = 'left', Node580fontSize = 13.3333*_ratio.ratioY,Node580width = 49*_ratio.ratioX, Node580height = 25*_ratio.ratioY;
- (function () {
- if (Node580align === 'left') {
- Node580textStart = Node580fontSize * 0.2 > 2 ? Node580fontSize * 0.2 - 4 : Node580fontSize * 0.2 - 9;
- Node580textWidth = Node580width;
- Node580lineStart = 1;
- } else if (Node580align === 'right') {
- Node580textStart = 0;
- Node580textWidth =Node580fontSize <= 8 ? Node580width + Node580fontSize * 0.2 + 6 : Node580width - Node580fontSize * 0.2;
- Node580lineStart = (Node580width - (ht.Default.getTextSize('0', ' '+ Node580fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node580align === 'center') {
- Node580textStart = -3;
- Node580textWidth = Node580width;
- Node580lineStart = Node580width - ht.Default.getTextSize('0', ' '+ Node580fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node580.setImage(GD.getTextJSON(Node580width, Node580height, true, false, false, ' '+ Node580fontSize + 'px "Arial"'))
- Node580.setPosition(1200*ratio.ratioX, 862*ratio.ratioY);
- Node580.setWidth(Node580width);
- Node580.setHeight(Node580height);
- Node580._nodeType = 'text';
- Node580._disallowEvert = true;
- Node580.setRotation(0*Math.PI/180);
- Node580.a('node.width', Node580width);
- Node580.a('node.height', Node580height);
- Node580.a('node.rect', [0, 0, Node580width, Node580height]);
- Node580.a('node.bordercolor','rgba(0,0,0,1)');
- Node580.a('node.borderwidth', 0);
- Node580.a('node.background','' || 'rgba(0,0,0,0)');
- Node580.a('node.gradient','');
- Node580.a('node.gradientcolor','');
- Node580.a('node.text','0');
- Node580.a('node.textalign','left');
- Node580.a('node.textvAlign','middle');
- Node580.a('node.textrect', [Node580textStart, 0, Node580textWidth, Node580height]);
- Node580.a('node.color','rgba(0,0,0,1)');
- Node580.a('node.font',' '+ Node580fontSize + 'px "Arial"');
- Node580.a('node.textvisible',true);
- Node580.a('node.linefeed',false);
- if (false) {
- Node580.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node580.a('node.text') || '0';
- var color=Node580.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node580width,Node580height,13.3333*_ratio.ratioY,"left",color,' '+ Node580fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node580.a('node.underlinepoints',[Node580lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node580fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node580fontSize + 'px "Arial"').width + 6, (Node580height - Node580fontSize) * 0.5*_ratio.ratioY + Node580fontSize + 2 ]);
- Node580.a('node.underlinevisible',false);
- Node580.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node580);
- zoomNodeList.push({
- node: Node580,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node581 = new ht.Node();
- var Node581textStart, Node581textWidth, Node581lineStart, Node581align = 'left', Node581fontSize = 13.3333*_ratio.ratioY,Node581width = 49*_ratio.ratioX, Node581height = 25*_ratio.ratioY;
- (function () {
- if (Node581align === 'left') {
- Node581textStart = Node581fontSize * 0.2 > 2 ? Node581fontSize * 0.2 - 4 : Node581fontSize * 0.2 - 9;
- Node581textWidth = Node581width;
- Node581lineStart = 1;
- } else if (Node581align === 'right') {
- Node581textStart = 0;
- Node581textWidth =Node581fontSize <= 8 ? Node581width + Node581fontSize * 0.2 + 6 : Node581width - Node581fontSize * 0.2;
- Node581lineStart = (Node581width - (ht.Default.getTextSize('0', ' '+ Node581fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node581align === 'center') {
- Node581textStart = -3;
- Node581textWidth = Node581width;
- Node581lineStart = Node581width - ht.Default.getTextSize('0', ' '+ Node581fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node581.setImage(GD.getTextJSON(Node581width, Node581height, true, false, false, ' '+ Node581fontSize + 'px "Arial"'))
- Node581.setPosition(1200*ratio.ratioX, 882*ratio.ratioY);
- Node581.setWidth(Node581width);
- Node581.setHeight(Node581height);
- Node581._nodeType = 'text';
- Node581._disallowEvert = true;
- Node581.setRotation(0*Math.PI/180);
- Node581.a('node.width', Node581width);
- Node581.a('node.height', Node581height);
- Node581.a('node.rect', [0, 0, Node581width, Node581height]);
- Node581.a('node.bordercolor','rgba(0,0,0,1)');
- Node581.a('node.borderwidth', 0);
- Node581.a('node.background','' || 'rgba(0,0,0,0)');
- Node581.a('node.gradient','');
- Node581.a('node.gradientcolor','');
- Node581.a('node.text','0');
- Node581.a('node.textalign','left');
- Node581.a('node.textvAlign','middle');
- Node581.a('node.textrect', [Node581textStart, 0, Node581textWidth, Node581height]);
- Node581.a('node.color','rgba(0,0,0,1)');
- Node581.a('node.font',' '+ Node581fontSize + 'px "Arial"');
- Node581.a('node.textvisible',true);
- Node581.a('node.linefeed',false);
- if (false) {
- Node581.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node581.a('node.text') || '0';
- var color=Node581.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node581width,Node581height,13.3333*_ratio.ratioY,"left",color,' '+ Node581fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node581.a('node.underlinepoints',[Node581lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node581fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node581fontSize + 'px "Arial"').width + 6, (Node581height - Node581fontSize) * 0.5*_ratio.ratioY + Node581fontSize + 2 ]);
- Node581.a('node.underlinevisible',false);
- Node581.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node581);
- zoomNodeList.push({
- node: Node581,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node582 = new ht.Node();
- var Node582textStart, Node582textWidth, Node582lineStart, Node582align = 'left', Node582fontSize = 13.3333*_ratio.ratioY,Node582width = 49*_ratio.ratioX, Node582height = 25*_ratio.ratioY;
- (function () {
- if (Node582align === 'left') {
- Node582textStart = Node582fontSize * 0.2 > 2 ? Node582fontSize * 0.2 - 4 : Node582fontSize * 0.2 - 9;
- Node582textWidth = Node582width;
- Node582lineStart = 1;
- } else if (Node582align === 'right') {
- Node582textStart = 0;
- Node582textWidth =Node582fontSize <= 8 ? Node582width + Node582fontSize * 0.2 + 6 : Node582width - Node582fontSize * 0.2;
- Node582lineStart = (Node582width - (ht.Default.getTextSize('0', ' '+ Node582fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node582align === 'center') {
- Node582textStart = -3;
- Node582textWidth = Node582width;
- Node582lineStart = Node582width - ht.Default.getTextSize('0', ' '+ Node582fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node582.setImage(GD.getTextJSON(Node582width, Node582height, true, false, false, ' '+ Node582fontSize + 'px "Arial"'))
- Node582.setPosition(380*ratio.ratioX, 551*ratio.ratioY);
- Node582.setWidth(Node582width);
- Node582.setHeight(Node582height);
- Node582._nodeType = 'text';
- Node582._disallowEvert = true;
- Node582.setRotation(0*Math.PI/180);
- Node582.a('node.width', Node582width);
- Node582.a('node.height', Node582height);
- Node582.a('node.rect', [0, 0, Node582width, Node582height]);
- Node582.a('node.bordercolor','rgba(0,0,0,1)');
- Node582.a('node.borderwidth', 0);
- Node582.a('node.background','' || 'rgba(0,0,0,0)');
- Node582.a('node.gradient','');
- Node582.a('node.gradientcolor','');
- Node582.a('node.text','0');
- Node582.a('node.textalign','left');
- Node582.a('node.textvAlign','middle');
- Node582.a('node.textrect', [Node582textStart, 0, Node582textWidth, Node582height]);
- Node582.a('node.color','rgba(0,0,0,1)');
- Node582.a('node.font',' '+ Node582fontSize + 'px "Arial"');
- Node582.a('node.textvisible',true);
- Node582.a('node.linefeed',false);
- if (false) {
- Node582.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node582.a('node.text') || '0';
- var color=Node582.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node582width,Node582height,13.3333*_ratio.ratioY,"left",color,' '+ Node582fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node582.a('node.underlinepoints',[Node582lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node582fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node582fontSize + 'px "Arial"').width + 6, (Node582height - Node582fontSize) * 0.5*_ratio.ratioY + Node582fontSize + 2 ]);
- Node582.a('node.underlinevisible',false);
- Node582.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node582);
- zoomNodeList.push({
- node: Node582,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node583 = new ht.Node();
- var Node583textStart, Node583textWidth, Node583lineStart, Node583align = 'left', Node583fontSize = 13.3333*_ratio.ratioY,Node583width = 49*_ratio.ratioX, Node583height = 25*_ratio.ratioY;
- (function () {
- if (Node583align === 'left') {
- Node583textStart = Node583fontSize * 0.2 > 2 ? Node583fontSize * 0.2 - 4 : Node583fontSize * 0.2 - 9;
- Node583textWidth = Node583width;
- Node583lineStart = 1;
- } else if (Node583align === 'right') {
- Node583textStart = 0;
- Node583textWidth =Node583fontSize <= 8 ? Node583width + Node583fontSize * 0.2 + 6 : Node583width - Node583fontSize * 0.2;
- Node583lineStart = (Node583width - (ht.Default.getTextSize('0', ' '+ Node583fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node583align === 'center') {
- Node583textStart = -3;
- Node583textWidth = Node583width;
- Node583lineStart = Node583width - ht.Default.getTextSize('0', ' '+ Node583fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node583.setImage(GD.getTextJSON(Node583width, Node583height, true, false, false, ' '+ Node583fontSize + 'px "Arial"'))
- Node583.setPosition(380*ratio.ratioX, 569*ratio.ratioY);
- Node583.setWidth(Node583width);
- Node583.setHeight(Node583height);
- Node583._nodeType = 'text';
- Node583._disallowEvert = true;
- Node583.setRotation(0*Math.PI/180);
- Node583.a('node.width', Node583width);
- Node583.a('node.height', Node583height);
- Node583.a('node.rect', [0, 0, Node583width, Node583height]);
- Node583.a('node.bordercolor','rgba(0,0,0,1)');
- Node583.a('node.borderwidth', 0);
- Node583.a('node.background','' || 'rgba(0,0,0,0)');
- Node583.a('node.gradient','');
- Node583.a('node.gradientcolor','');
- Node583.a('node.text','0');
- Node583.a('node.textalign','left');
- Node583.a('node.textvAlign','middle');
- Node583.a('node.textrect', [Node583textStart, 0, Node583textWidth, Node583height]);
- Node583.a('node.color','rgba(0,0,0,1)');
- Node583.a('node.font',' '+ Node583fontSize + 'px "Arial"');
- Node583.a('node.textvisible',true);
- Node583.a('node.linefeed',false);
- if (false) {
- Node583.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node583.a('node.text') || '0';
- var color=Node583.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node583width,Node583height,13.3333*_ratio.ratioY,"left",color,' '+ Node583fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node583.a('node.underlinepoints',[Node583lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node583fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node583fontSize + 'px "Arial"').width + 6, (Node583height - Node583fontSize) * 0.5*_ratio.ratioY + Node583fontSize + 2 ]);
- Node583.a('node.underlinevisible',false);
- Node583.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node583);
- zoomNodeList.push({
- node: Node583,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node584 = new ht.Node();
- var Node584textStart, Node584textWidth, Node584lineStart, Node584align = 'left', Node584fontSize = 13.3333*_ratio.ratioY,Node584width = 49*_ratio.ratioX, Node584height = 25*_ratio.ratioY;
- (function () {
- if (Node584align === 'left') {
- Node584textStart = Node584fontSize * 0.2 > 2 ? Node584fontSize * 0.2 - 4 : Node584fontSize * 0.2 - 9;
- Node584textWidth = Node584width;
- Node584lineStart = 1;
- } else if (Node584align === 'right') {
- Node584textStart = 0;
- Node584textWidth =Node584fontSize <= 8 ? Node584width + Node584fontSize * 0.2 + 6 : Node584width - Node584fontSize * 0.2;
- Node584lineStart = (Node584width - (ht.Default.getTextSize('0', ' '+ Node584fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node584align === 'center') {
- Node584textStart = -3;
- Node584textWidth = Node584width;
- Node584lineStart = Node584width - ht.Default.getTextSize('0', ' '+ Node584fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node584.setImage(GD.getTextJSON(Node584width, Node584height, true, false, false, ' '+ Node584fontSize + 'px "Arial"'))
- Node584.setPosition(839*ratio.ratioX, 842*ratio.ratioY);
- Node584.setWidth(Node584width);
- Node584.setHeight(Node584height);
- Node584._nodeType = 'text';
- Node584._disallowEvert = true;
- Node584.setRotation(0*Math.PI/180);
- Node584.a('node.width', Node584width);
- Node584.a('node.height', Node584height);
- Node584.a('node.rect', [0, 0, Node584width, Node584height]);
- Node584.a('node.bordercolor','rgba(0,0,0,1)');
- Node584.a('node.borderwidth', 0);
- Node584.a('node.background','' || 'rgba(0,0,0,0)');
- Node584.a('node.gradient','');
- Node584.a('node.gradientcolor','');
- Node584.a('node.text','0');
- Node584.a('node.textalign','left');
- Node584.a('node.textvAlign','middle');
- Node584.a('node.textrect', [Node584textStart, 0, Node584textWidth, Node584height]);
- Node584.a('node.color','rgba(0,0,0,1)');
- Node584.a('node.font',' '+ Node584fontSize + 'px "Arial"');
- Node584.a('node.textvisible',true);
- Node584.a('node.linefeed',false);
- if (false) {
- Node584.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node584.a('node.text') || '0';
- var color=Node584.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node584width,Node584height,13.3333*_ratio.ratioY,"left",color,' '+ Node584fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node584.a('node.underlinepoints',[Node584lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node584fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node584fontSize + 'px "Arial"').width + 6, (Node584height - Node584fontSize) * 0.5*_ratio.ratioY + Node584fontSize + 2 ]);
- Node584.a('node.underlinevisible',false);
- Node584.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node584);
- zoomNodeList.push({
- node: Node584,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node585 = new ht.Node();
- var Node585textStart, Node585textWidth, Node585lineStart, Node585align = 'left', Node585fontSize = 13.3333*_ratio.ratioY,Node585width = 49*_ratio.ratioX, Node585height = 25*_ratio.ratioY;
- (function () {
- if (Node585align === 'left') {
- Node585textStart = Node585fontSize * 0.2 > 2 ? Node585fontSize * 0.2 - 4 : Node585fontSize * 0.2 - 9;
- Node585textWidth = Node585width;
- Node585lineStart = 1;
- } else if (Node585align === 'right') {
- Node585textStart = 0;
- Node585textWidth =Node585fontSize <= 8 ? Node585width + Node585fontSize * 0.2 + 6 : Node585width - Node585fontSize * 0.2;
- Node585lineStart = (Node585width - (ht.Default.getTextSize('0', ' '+ Node585fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node585align === 'center') {
- Node585textStart = -3;
- Node585textWidth = Node585width;
- Node585lineStart = Node585width - ht.Default.getTextSize('0', ' '+ Node585fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node585.setImage(GD.getTextJSON(Node585width, Node585height, true, false, false, ' '+ Node585fontSize + 'px "Arial"'))
- Node585.setPosition(839*ratio.ratioX, 863*ratio.ratioY);
- Node585.setWidth(Node585width);
- Node585.setHeight(Node585height);
- Node585._nodeType = 'text';
- Node585._disallowEvert = true;
- Node585.setRotation(0*Math.PI/180);
- Node585.a('node.width', Node585width);
- Node585.a('node.height', Node585height);
- Node585.a('node.rect', [0, 0, Node585width, Node585height]);
- Node585.a('node.bordercolor','rgba(0,0,0,1)');
- Node585.a('node.borderwidth', 0);
- Node585.a('node.background','' || 'rgba(0,0,0,0)');
- Node585.a('node.gradient','');
- Node585.a('node.gradientcolor','');
- Node585.a('node.text','0');
- Node585.a('node.textalign','left');
- Node585.a('node.textvAlign','middle');
- Node585.a('node.textrect', [Node585textStart, 0, Node585textWidth, Node585height]);
- Node585.a('node.color','rgba(0,0,0,1)');
- Node585.a('node.font',' '+ Node585fontSize + 'px "Arial"');
- Node585.a('node.textvisible',true);
- Node585.a('node.linefeed',false);
- if (false) {
- Node585.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node585.a('node.text') || '0';
- var color=Node585.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node585width,Node585height,13.3333*_ratio.ratioY,"left",color,' '+ Node585fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node585.a('node.underlinepoints',[Node585lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node585fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node585fontSize + 'px "Arial"').width + 6, (Node585height - Node585fontSize) * 0.5*_ratio.ratioY + Node585fontSize + 2 ]);
- Node585.a('node.underlinevisible',false);
- Node585.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node585);
- zoomNodeList.push({
- node: Node585,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node586 = new ht.Node();
- var Node586textStart, Node586textWidth, Node586lineStart, Node586align = 'left', Node586fontSize = 13.3333*_ratio.ratioY,Node586width = 49*_ratio.ratioX, Node586height = 25*_ratio.ratioY;
- (function () {
- if (Node586align === 'left') {
- Node586textStart = Node586fontSize * 0.2 > 2 ? Node586fontSize * 0.2 - 4 : Node586fontSize * 0.2 - 9;
- Node586textWidth = Node586width;
- Node586lineStart = 1;
- } else if (Node586align === 'right') {
- Node586textStart = 0;
- Node586textWidth =Node586fontSize <= 8 ? Node586width + Node586fontSize * 0.2 + 6 : Node586width - Node586fontSize * 0.2;
- Node586lineStart = (Node586width - (ht.Default.getTextSize('0', ' '+ Node586fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node586align === 'center') {
- Node586textStart = -3;
- Node586textWidth = Node586width;
- Node586lineStart = Node586width - ht.Default.getTextSize('0', ' '+ Node586fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node586.setImage(GD.getTextJSON(Node586width, Node586height, true, false, false, ' '+ Node586fontSize + 'px "Arial"'))
- Node586.setPosition(839*ratio.ratioX, 883*ratio.ratioY);
- Node586.setWidth(Node586width);
- Node586.setHeight(Node586height);
- Node586._nodeType = 'text';
- Node586._disallowEvert = true;
- Node586.setRotation(0*Math.PI/180);
- Node586.a('node.width', Node586width);
- Node586.a('node.height', Node586height);
- Node586.a('node.rect', [0, 0, Node586width, Node586height]);
- Node586.a('node.bordercolor','rgba(0,0,0,1)');
- Node586.a('node.borderwidth', 0);
- Node586.a('node.background','' || 'rgba(0,0,0,0)');
- Node586.a('node.gradient','');
- Node586.a('node.gradientcolor','');
- Node586.a('node.text','0');
- Node586.a('node.textalign','left');
- Node586.a('node.textvAlign','middle');
- Node586.a('node.textrect', [Node586textStart, 0, Node586textWidth, Node586height]);
- Node586.a('node.color','rgba(0,0,0,1)');
- Node586.a('node.font',' '+ Node586fontSize + 'px "Arial"');
- Node586.a('node.textvisible',true);
- Node586.a('node.linefeed',false);
- if (false) {
- Node586.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node586.a('node.text') || '0';
- var color=Node586.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node586width,Node586height,13.3333*_ratio.ratioY,"left",color,' '+ Node586fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node586.a('node.underlinepoints',[Node586lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node586fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node586fontSize + 'px "Arial"').width + 6, (Node586height - Node586fontSize) * 0.5*_ratio.ratioY + Node586fontSize + 2 ]);
- Node586.a('node.underlinevisible',false);
- Node586.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node586);
- zoomNodeList.push({
- node: Node586,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node587 = new ht.Node();
- var Node587textStart, Node587textWidth, Node587lineStart, Node587align = 'left', Node587fontSize = 13.3333*_ratio.ratioY,Node587width = 49*_ratio.ratioX, Node587height = 25*_ratio.ratioY;
- (function () {
- if (Node587align === 'left') {
- Node587textStart = Node587fontSize * 0.2 > 2 ? Node587fontSize * 0.2 - 4 : Node587fontSize * 0.2 - 9;
- Node587textWidth = Node587width;
- Node587lineStart = 1;
- } else if (Node587align === 'right') {
- Node587textStart = 0;
- Node587textWidth =Node587fontSize <= 8 ? Node587width + Node587fontSize * 0.2 + 6 : Node587width - Node587fontSize * 0.2;
- Node587lineStart = (Node587width - (ht.Default.getTextSize('0', ' '+ Node587fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node587align === 'center') {
- Node587textStart = -3;
- Node587textWidth = Node587width;
- Node587lineStart = Node587width - ht.Default.getTextSize('0', ' '+ Node587fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node587.setImage(GD.getTextJSON(Node587width, Node587height, true, false, false, ' '+ Node587fontSize + 'px "Arial"'))
- Node587.setPosition(1288*ratio.ratioX, 841*ratio.ratioY);
- Node587.setWidth(Node587width);
- Node587.setHeight(Node587height);
- Node587._nodeType = 'text';
- Node587._disallowEvert = true;
- Node587.setRotation(0*Math.PI/180);
- Node587.a('node.width', Node587width);
- Node587.a('node.height', Node587height);
- Node587.a('node.rect', [0, 0, Node587width, Node587height]);
- Node587.a('node.bordercolor','rgba(0,0,0,1)');
- Node587.a('node.borderwidth', 0);
- Node587.a('node.background','' || 'rgba(0,0,0,0)');
- Node587.a('node.gradient','');
- Node587.a('node.gradientcolor','');
- Node587.a('node.text','0');
- Node587.a('node.textalign','left');
- Node587.a('node.textvAlign','middle');
- Node587.a('node.textrect', [Node587textStart, 0, Node587textWidth, Node587height]);
- Node587.a('node.color','rgba(0,0,0,1)');
- Node587.a('node.font',' '+ Node587fontSize + 'px "Arial"');
- Node587.a('node.textvisible',true);
- Node587.a('node.linefeed',false);
- if (false) {
- Node587.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node587.a('node.text') || '0';
- var color=Node587.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node587width,Node587height,13.3333*_ratio.ratioY,"left",color,' '+ Node587fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node587.a('node.underlinepoints',[Node587lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node587fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node587fontSize + 'px "Arial"').width + 6, (Node587height - Node587fontSize) * 0.5*_ratio.ratioY + Node587fontSize + 2 ]);
- Node587.a('node.underlinevisible',false);
- Node587.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node587);
- zoomNodeList.push({
- node: Node587,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node588 = new ht.Node();
- var Node588textStart, Node588textWidth, Node588lineStart, Node588align = 'left', Node588fontSize = 13.3333*_ratio.ratioY,Node588width = 49*_ratio.ratioX, Node588height = 25*_ratio.ratioY;
- (function () {
- if (Node588align === 'left') {
- Node588textStart = Node588fontSize * 0.2 > 2 ? Node588fontSize * 0.2 - 4 : Node588fontSize * 0.2 - 9;
- Node588textWidth = Node588width;
- Node588lineStart = 1;
- } else if (Node588align === 'right') {
- Node588textStart = 0;
- Node588textWidth =Node588fontSize <= 8 ? Node588width + Node588fontSize * 0.2 + 6 : Node588width - Node588fontSize * 0.2;
- Node588lineStart = (Node588width - (ht.Default.getTextSize('0', ' '+ Node588fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node588align === 'center') {
- Node588textStart = -3;
- Node588textWidth = Node588width;
- Node588lineStart = Node588width - ht.Default.getTextSize('0', ' '+ Node588fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node588.setImage(GD.getTextJSON(Node588width, Node588height, true, false, false, ' '+ Node588fontSize + 'px "Arial"'))
- Node588.setPosition(1288*ratio.ratioX, 862*ratio.ratioY);
- Node588.setWidth(Node588width);
- Node588.setHeight(Node588height);
- Node588._nodeType = 'text';
- Node588._disallowEvert = true;
- Node588.setRotation(0*Math.PI/180);
- Node588.a('node.width', Node588width);
- Node588.a('node.height', Node588height);
- Node588.a('node.rect', [0, 0, Node588width, Node588height]);
- Node588.a('node.bordercolor','rgba(0,0,0,1)');
- Node588.a('node.borderwidth', 0);
- Node588.a('node.background','' || 'rgba(0,0,0,0)');
- Node588.a('node.gradient','');
- Node588.a('node.gradientcolor','');
- Node588.a('node.text','0');
- Node588.a('node.textalign','left');
- Node588.a('node.textvAlign','middle');
- Node588.a('node.textrect', [Node588textStart, 0, Node588textWidth, Node588height]);
- Node588.a('node.color','rgba(0,0,0,1)');
- Node588.a('node.font',' '+ Node588fontSize + 'px "Arial"');
- Node588.a('node.textvisible',true);
- Node588.a('node.linefeed',false);
- if (false) {
- Node588.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node588.a('node.text') || '0';
- var color=Node588.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node588width,Node588height,13.3333*_ratio.ratioY,"left",color,' '+ Node588fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node588.a('node.underlinepoints',[Node588lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node588fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node588fontSize + 'px "Arial"').width + 6, (Node588height - Node588fontSize) * 0.5*_ratio.ratioY + Node588fontSize + 2 ]);
- Node588.a('node.underlinevisible',false);
- Node588.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node588);
- zoomNodeList.push({
- node: Node588,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node589 = new ht.Node();
- var Node589textStart, Node589textWidth, Node589lineStart, Node589align = 'left', Node589fontSize = 13.3333*_ratio.ratioY,Node589width = 49*_ratio.ratioX, Node589height = 25*_ratio.ratioY;
- (function () {
- if (Node589align === 'left') {
- Node589textStart = Node589fontSize * 0.2 > 2 ? Node589fontSize * 0.2 - 4 : Node589fontSize * 0.2 - 9;
- Node589textWidth = Node589width;
- Node589lineStart = 1;
- } else if (Node589align === 'right') {
- Node589textStart = 0;
- Node589textWidth =Node589fontSize <= 8 ? Node589width + Node589fontSize * 0.2 + 6 : Node589width - Node589fontSize * 0.2;
- Node589lineStart = (Node589width - (ht.Default.getTextSize('0', ' '+ Node589fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node589align === 'center') {
- Node589textStart = -3;
- Node589textWidth = Node589width;
- Node589lineStart = Node589width - ht.Default.getTextSize('0', ' '+ Node589fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node589.setImage(GD.getTextJSON(Node589width, Node589height, true, false, false, ' '+ Node589fontSize + 'px "Arial"'))
- Node589.setPosition(1288*ratio.ratioX, 882*ratio.ratioY);
- Node589.setWidth(Node589width);
- Node589.setHeight(Node589height);
- Node589._nodeType = 'text';
- Node589._disallowEvert = true;
- Node589.setRotation(0*Math.PI/180);
- Node589.a('node.width', Node589width);
- Node589.a('node.height', Node589height);
- Node589.a('node.rect', [0, 0, Node589width, Node589height]);
- Node589.a('node.bordercolor','rgba(0,0,0,1)');
- Node589.a('node.borderwidth', 0);
- Node589.a('node.background','' || 'rgba(0,0,0,0)');
- Node589.a('node.gradient','');
- Node589.a('node.gradientcolor','');
- Node589.a('node.text','0');
- Node589.a('node.textalign','left');
- Node589.a('node.textvAlign','middle');
- Node589.a('node.textrect', [Node589textStart, 0, Node589textWidth, Node589height]);
- Node589.a('node.color','rgba(0,0,0,1)');
- Node589.a('node.font',' '+ Node589fontSize + 'px "Arial"');
- Node589.a('node.textvisible',true);
- Node589.a('node.linefeed',false);
- if (false) {
- Node589.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node589.a('node.text') || '0';
- var color=Node589.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node589width,Node589height,13.3333*_ratio.ratioY,"left",color,' '+ Node589fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node589.a('node.underlinepoints',[Node589lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node589fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node589fontSize + 'px "Arial"').width + 6, (Node589height - Node589fontSize) * 0.5*_ratio.ratioY + Node589fontSize + 2 ]);
- Node589.a('node.underlinevisible',false);
- Node589.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node589);
- zoomNodeList.push({
- node: Node589,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node590 = new ht.Node();
- var Node590textStart, Node590textWidth, Node590lineStart, Node590align = 'left', Node590fontSize = 13.3333*_ratio.ratioY,Node590width = 49*_ratio.ratioX, Node590height = 25*_ratio.ratioY;
- (function () {
- if (Node590align === 'left') {
- Node590textStart = Node590fontSize * 0.2 > 2 ? Node590fontSize * 0.2 - 4 : Node590fontSize * 0.2 - 9;
- Node590textWidth = Node590width;
- Node590lineStart = 1;
- } else if (Node590align === 'right') {
- Node590textStart = 0;
- Node590textWidth =Node590fontSize <= 8 ? Node590width + Node590fontSize * 0.2 + 6 : Node590width - Node590fontSize * 0.2;
- Node590lineStart = (Node590width - (ht.Default.getTextSize('0', ' '+ Node590fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node590align === 'center') {
- Node590textStart = -3;
- Node590textWidth = Node590width;
- Node590lineStart = Node590width - ht.Default.getTextSize('0', ' '+ Node590fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node590.setImage(GD.getTextJSON(Node590width, Node590height, true, false, false, ' '+ Node590fontSize + 'px "Arial"'))
- Node590.setPosition(1371*ratio.ratioX, 841*ratio.ratioY);
- Node590.setWidth(Node590width);
- Node590.setHeight(Node590height);
- Node590._nodeType = 'text';
- Node590._disallowEvert = true;
- Node590.setRotation(0*Math.PI/180);
- Node590.a('node.width', Node590width);
- Node590.a('node.height', Node590height);
- Node590.a('node.rect', [0, 0, Node590width, Node590height]);
- Node590.a('node.bordercolor','rgba(0,0,0,1)');
- Node590.a('node.borderwidth', 0);
- Node590.a('node.background','' || 'rgba(0,0,0,0)');
- Node590.a('node.gradient','');
- Node590.a('node.gradientcolor','');
- Node590.a('node.text','0');
- Node590.a('node.textalign','left');
- Node590.a('node.textvAlign','middle');
- Node590.a('node.textrect', [Node590textStart, 0, Node590textWidth, Node590height]);
- Node590.a('node.color','rgba(0,0,0,1)');
- Node590.a('node.font',' '+ Node590fontSize + 'px "Arial"');
- Node590.a('node.textvisible',true);
- Node590.a('node.linefeed',false);
- if (false) {
- Node590.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node590.a('node.text') || '0';
- var color=Node590.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node590width,Node590height,13.3333*_ratio.ratioY,"left",color,' '+ Node590fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node590.a('node.underlinepoints',[Node590lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node590fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node590fontSize + 'px "Arial"').width + 6, (Node590height - Node590fontSize) * 0.5*_ratio.ratioY + Node590fontSize + 2 ]);
- Node590.a('node.underlinevisible',false);
- Node590.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node590);
- zoomNodeList.push({
- node: Node590,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node591 = new ht.Node();
- var Node591textStart, Node591textWidth, Node591lineStart, Node591align = 'left', Node591fontSize = 13.3333*_ratio.ratioY,Node591width = 49*_ratio.ratioX, Node591height = 25*_ratio.ratioY;
- (function () {
- if (Node591align === 'left') {
- Node591textStart = Node591fontSize * 0.2 > 2 ? Node591fontSize * 0.2 - 4 : Node591fontSize * 0.2 - 9;
- Node591textWidth = Node591width;
- Node591lineStart = 1;
- } else if (Node591align === 'right') {
- Node591textStart = 0;
- Node591textWidth =Node591fontSize <= 8 ? Node591width + Node591fontSize * 0.2 + 6 : Node591width - Node591fontSize * 0.2;
- Node591lineStart = (Node591width - (ht.Default.getTextSize('0', ' '+ Node591fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node591align === 'center') {
- Node591textStart = -3;
- Node591textWidth = Node591width;
- Node591lineStart = Node591width - ht.Default.getTextSize('0', ' '+ Node591fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node591.setImage(GD.getTextJSON(Node591width, Node591height, true, false, false, ' '+ Node591fontSize + 'px "Arial"'))
- Node591.setPosition(1371*ratio.ratioX, 862*ratio.ratioY);
- Node591.setWidth(Node591width);
- Node591.setHeight(Node591height);
- Node591._nodeType = 'text';
- Node591._disallowEvert = true;
- Node591.setRotation(0*Math.PI/180);
- Node591.a('node.width', Node591width);
- Node591.a('node.height', Node591height);
- Node591.a('node.rect', [0, 0, Node591width, Node591height]);
- Node591.a('node.bordercolor','rgba(0,0,0,1)');
- Node591.a('node.borderwidth', 0);
- Node591.a('node.background','' || 'rgba(0,0,0,0)');
- Node591.a('node.gradient','');
- Node591.a('node.gradientcolor','');
- Node591.a('node.text','0');
- Node591.a('node.textalign','left');
- Node591.a('node.textvAlign','middle');
- Node591.a('node.textrect', [Node591textStart, 0, Node591textWidth, Node591height]);
- Node591.a('node.color','rgba(0,0,0,1)');
- Node591.a('node.font',' '+ Node591fontSize + 'px "Arial"');
- Node591.a('node.textvisible',true);
- Node591.a('node.linefeed',false);
- if (false) {
- Node591.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node591.a('node.text') || '0';
- var color=Node591.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node591width,Node591height,13.3333*_ratio.ratioY,"left",color,' '+ Node591fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node591.a('node.underlinepoints',[Node591lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node591fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node591fontSize + 'px "Arial"').width + 6, (Node591height - Node591fontSize) * 0.5*_ratio.ratioY + Node591fontSize + 2 ]);
- Node591.a('node.underlinevisible',false);
- Node591.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node591);
- zoomNodeList.push({
- node: Node591,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node592 = new ht.Node();
- var Node592textStart, Node592textWidth, Node592lineStart, Node592align = 'left', Node592fontSize = 13.3333*_ratio.ratioY,Node592width = 49*_ratio.ratioX, Node592height = 25*_ratio.ratioY;
- (function () {
- if (Node592align === 'left') {
- Node592textStart = Node592fontSize * 0.2 > 2 ? Node592fontSize * 0.2 - 4 : Node592fontSize * 0.2 - 9;
- Node592textWidth = Node592width;
- Node592lineStart = 1;
- } else if (Node592align === 'right') {
- Node592textStart = 0;
- Node592textWidth =Node592fontSize <= 8 ? Node592width + Node592fontSize * 0.2 + 6 : Node592width - Node592fontSize * 0.2;
- Node592lineStart = (Node592width - (ht.Default.getTextSize('0', ' '+ Node592fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node592align === 'center') {
- Node592textStart = -3;
- Node592textWidth = Node592width;
- Node592lineStart = Node592width - ht.Default.getTextSize('0', ' '+ Node592fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node592.setImage(GD.getTextJSON(Node592width, Node592height, true, false, false, ' '+ Node592fontSize + 'px "Arial"'))
- Node592.setPosition(1371*ratio.ratioX, 882*ratio.ratioY);
- Node592.setWidth(Node592width);
- Node592.setHeight(Node592height);
- Node592._nodeType = 'text';
- Node592._disallowEvert = true;
- Node592.setRotation(0*Math.PI/180);
- Node592.a('node.width', Node592width);
- Node592.a('node.height', Node592height);
- Node592.a('node.rect', [0, 0, Node592width, Node592height]);
- Node592.a('node.bordercolor','rgba(0,0,0,1)');
- Node592.a('node.borderwidth', 0);
- Node592.a('node.background','' || 'rgba(0,0,0,0)');
- Node592.a('node.gradient','');
- Node592.a('node.gradientcolor','');
- Node592.a('node.text','0');
- Node592.a('node.textalign','left');
- Node592.a('node.textvAlign','middle');
- Node592.a('node.textrect', [Node592textStart, 0, Node592textWidth, Node592height]);
- Node592.a('node.color','rgba(0,0,0,1)');
- Node592.a('node.font',' '+ Node592fontSize + 'px "Arial"');
- Node592.a('node.textvisible',true);
- Node592.a('node.linefeed',false);
- if (false) {
- Node592.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node592.a('node.text') || '0';
- var color=Node592.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node592width,Node592height,13.3333*_ratio.ratioY,"left",color,' '+ Node592fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node592.a('node.underlinepoints',[Node592lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node592fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node592fontSize + 'px "Arial"').width + 6, (Node592height - Node592fontSize) * 0.5*_ratio.ratioY + Node592fontSize + 2 ]);
- Node592.a('node.underlinevisible',false);
- Node592.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node592);
- zoomNodeList.push({
- node: Node592,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node593 = new ht.Node();
- var Node593textStart, Node593textWidth, Node593lineStart, Node593align = 'left', Node593fontSize = 13.3333*_ratio.ratioY,Node593width = 49*_ratio.ratioX, Node593height = 25*_ratio.ratioY;
- (function () {
- if (Node593align === 'left') {
- Node593textStart = Node593fontSize * 0.2 > 2 ? Node593fontSize * 0.2 - 4 : Node593fontSize * 0.2 - 9;
- Node593textWidth = Node593width;
- Node593lineStart = 1;
- } else if (Node593align === 'right') {
- Node593textStart = 0;
- Node593textWidth =Node593fontSize <= 8 ? Node593width + Node593fontSize * 0.2 + 6 : Node593width - Node593fontSize * 0.2;
- Node593lineStart = (Node593width - (ht.Default.getTextSize('0', ' '+ Node593fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node593align === 'center') {
- Node593textStart = -3;
- Node593textWidth = Node593width;
- Node593lineStart = Node593width - ht.Default.getTextSize('0', ' '+ Node593fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node593.setImage(GD.getTextJSON(Node593width, Node593height, true, false, false, ' '+ Node593fontSize + 'px "Arial"'))
- Node593.setPosition(1471*ratio.ratioX, 842*ratio.ratioY);
- Node593.setWidth(Node593width);
- Node593.setHeight(Node593height);
- Node593._nodeType = 'text';
- Node593._disallowEvert = true;
- Node593.setRotation(0*Math.PI/180);
- Node593.a('node.width', Node593width);
- Node593.a('node.height', Node593height);
- Node593.a('node.rect', [0, 0, Node593width, Node593height]);
- Node593.a('node.bordercolor','rgba(0,0,0,1)');
- Node593.a('node.borderwidth', 0);
- Node593.a('node.background','' || 'rgba(0,0,0,0)');
- Node593.a('node.gradient','');
- Node593.a('node.gradientcolor','');
- Node593.a('node.text','0');
- Node593.a('node.textalign','left');
- Node593.a('node.textvAlign','middle');
- Node593.a('node.textrect', [Node593textStart, 0, Node593textWidth, Node593height]);
- Node593.a('node.color','rgba(0,0,0,1)');
- Node593.a('node.font',' '+ Node593fontSize + 'px "Arial"');
- Node593.a('node.textvisible',true);
- Node593.a('node.linefeed',false);
- if (false) {
- Node593.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node593.a('node.text') || '0';
- var color=Node593.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node593width,Node593height,13.3333*_ratio.ratioY,"left",color,' '+ Node593fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node593.a('node.underlinepoints',[Node593lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node593fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node593fontSize + 'px "Arial"').width + 6, (Node593height - Node593fontSize) * 0.5*_ratio.ratioY + Node593fontSize + 2 ]);
- Node593.a('node.underlinevisible',false);
- Node593.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node593);
- zoomNodeList.push({
- node: Node593,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node594 = new ht.Node();
- var Node594textStart, Node594textWidth, Node594lineStart, Node594align = 'left', Node594fontSize = 13.3333*_ratio.ratioY,Node594width = 49*_ratio.ratioX, Node594height = 25*_ratio.ratioY;
- (function () {
- if (Node594align === 'left') {
- Node594textStart = Node594fontSize * 0.2 > 2 ? Node594fontSize * 0.2 - 4 : Node594fontSize * 0.2 - 9;
- Node594textWidth = Node594width;
- Node594lineStart = 1;
- } else if (Node594align === 'right') {
- Node594textStart = 0;
- Node594textWidth =Node594fontSize <= 8 ? Node594width + Node594fontSize * 0.2 + 6 : Node594width - Node594fontSize * 0.2;
- Node594lineStart = (Node594width - (ht.Default.getTextSize('0', ' '+ Node594fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node594align === 'center') {
- Node594textStart = -3;
- Node594textWidth = Node594width;
- Node594lineStart = Node594width - ht.Default.getTextSize('0', ' '+ Node594fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node594.setImage(GD.getTextJSON(Node594width, Node594height, true, false, false, ' '+ Node594fontSize + 'px "Arial"'))
- Node594.setPosition(1471*ratio.ratioX, 863*ratio.ratioY);
- Node594.setWidth(Node594width);
- Node594.setHeight(Node594height);
- Node594._nodeType = 'text';
- Node594._disallowEvert = true;
- Node594.setRotation(0*Math.PI/180);
- Node594.a('node.width', Node594width);
- Node594.a('node.height', Node594height);
- Node594.a('node.rect', [0, 0, Node594width, Node594height]);
- Node594.a('node.bordercolor','rgba(0,0,0,1)');
- Node594.a('node.borderwidth', 0);
- Node594.a('node.background','' || 'rgba(0,0,0,0)');
- Node594.a('node.gradient','');
- Node594.a('node.gradientcolor','');
- Node594.a('node.text','0');
- Node594.a('node.textalign','left');
- Node594.a('node.textvAlign','middle');
- Node594.a('node.textrect', [Node594textStart, 0, Node594textWidth, Node594height]);
- Node594.a('node.color','rgba(0,0,0,1)');
- Node594.a('node.font',' '+ Node594fontSize + 'px "Arial"');
- Node594.a('node.textvisible',true);
- Node594.a('node.linefeed',false);
- if (false) {
- Node594.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node594.a('node.text') || '0';
- var color=Node594.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node594width,Node594height,13.3333*_ratio.ratioY,"left",color,' '+ Node594fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node594.a('node.underlinepoints',[Node594lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node594fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node594fontSize + 'px "Arial"').width + 6, (Node594height - Node594fontSize) * 0.5*_ratio.ratioY + Node594fontSize + 2 ]);
- Node594.a('node.underlinevisible',false);
- Node594.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node594);
- zoomNodeList.push({
- node: Node594,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node595 = new ht.Node();
- var Node595textStart, Node595textWidth, Node595lineStart, Node595align = 'left', Node595fontSize = 13.3333*_ratio.ratioY,Node595width = 49*_ratio.ratioX, Node595height = 25*_ratio.ratioY;
- (function () {
- if (Node595align === 'left') {
- Node595textStart = Node595fontSize * 0.2 > 2 ? Node595fontSize * 0.2 - 4 : Node595fontSize * 0.2 - 9;
- Node595textWidth = Node595width;
- Node595lineStart = 1;
- } else if (Node595align === 'right') {
- Node595textStart = 0;
- Node595textWidth =Node595fontSize <= 8 ? Node595width + Node595fontSize * 0.2 + 6 : Node595width - Node595fontSize * 0.2;
- Node595lineStart = (Node595width - (ht.Default.getTextSize('0', ' '+ Node595fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node595align === 'center') {
- Node595textStart = -3;
- Node595textWidth = Node595width;
- Node595lineStart = Node595width - ht.Default.getTextSize('0', ' '+ Node595fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node595.setImage(GD.getTextJSON(Node595width, Node595height, true, false, false, ' '+ Node595fontSize + 'px "Arial"'))
- Node595.setPosition(1471*ratio.ratioX, 883*ratio.ratioY);
- Node595.setWidth(Node595width);
- Node595.setHeight(Node595height);
- Node595._nodeType = 'text';
- Node595._disallowEvert = true;
- Node595.setRotation(0*Math.PI/180);
- Node595.a('node.width', Node595width);
- Node595.a('node.height', Node595height);
- Node595.a('node.rect', [0, 0, Node595width, Node595height]);
- Node595.a('node.bordercolor','rgba(0,0,0,1)');
- Node595.a('node.borderwidth', 0);
- Node595.a('node.background','' || 'rgba(0,0,0,0)');
- Node595.a('node.gradient','');
- Node595.a('node.gradientcolor','');
- Node595.a('node.text','0');
- Node595.a('node.textalign','left');
- Node595.a('node.textvAlign','middle');
- Node595.a('node.textrect', [Node595textStart, 0, Node595textWidth, Node595height]);
- Node595.a('node.color','rgba(0,0,0,1)');
- Node595.a('node.font',' '+ Node595fontSize + 'px "Arial"');
- Node595.a('node.textvisible',true);
- Node595.a('node.linefeed',false);
- if (false) {
- Node595.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node595.a('node.text') || '0';
- var color=Node595.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node595width,Node595height,13.3333*_ratio.ratioY,"left",color,' '+ Node595fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node595.a('node.underlinepoints',[Node595lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node595fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node595fontSize + 'px "Arial"').width + 6, (Node595height - Node595fontSize) * 0.5*_ratio.ratioY + Node595fontSize + 2 ]);
- Node595.a('node.underlinevisible',false);
- Node595.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node595);
- zoomNodeList.push({
- node: Node595,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node596 = new ht.Node();
- var Node596textStart, Node596textWidth, Node596lineStart, Node596align = 'left', Node596fontSize = 13.3333*_ratio.ratioY,Node596width = 49*_ratio.ratioX, Node596height = 25*_ratio.ratioY;
- (function () {
- if (Node596align === 'left') {
- Node596textStart = Node596fontSize * 0.2 > 2 ? Node596fontSize * 0.2 - 4 : Node596fontSize * 0.2 - 9;
- Node596textWidth = Node596width;
- Node596lineStart = 1;
- } else if (Node596align === 'right') {
- Node596textStart = 0;
- Node596textWidth =Node596fontSize <= 8 ? Node596width + Node596fontSize * 0.2 + 6 : Node596width - Node596fontSize * 0.2;
- Node596lineStart = (Node596width - (ht.Default.getTextSize('0', ' '+ Node596fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node596align === 'center') {
- Node596textStart = -3;
- Node596textWidth = Node596width;
- Node596lineStart = Node596width - ht.Default.getTextSize('0', ' '+ Node596fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node596.setImage(GD.getTextJSON(Node596width, Node596height, true, false, false, ' '+ Node596fontSize + 'px "Arial"'))
- Node596.setPosition(1560*ratio.ratioX, 841*ratio.ratioY);
- Node596.setWidth(Node596width);
- Node596.setHeight(Node596height);
- Node596._nodeType = 'text';
- Node596._disallowEvert = true;
- Node596.setRotation(0*Math.PI/180);
- Node596.a('node.width', Node596width);
- Node596.a('node.height', Node596height);
- Node596.a('node.rect', [0, 0, Node596width, Node596height]);
- Node596.a('node.bordercolor','rgba(0,0,0,1)');
- Node596.a('node.borderwidth', 0);
- Node596.a('node.background','' || 'rgba(0,0,0,0)');
- Node596.a('node.gradient','');
- Node596.a('node.gradientcolor','');
- Node596.a('node.text','0');
- Node596.a('node.textalign','left');
- Node596.a('node.textvAlign','middle');
- Node596.a('node.textrect', [Node596textStart, 0, Node596textWidth, Node596height]);
- Node596.a('node.color','rgba(0,0,0,1)');
- Node596.a('node.font',' '+ Node596fontSize + 'px "Arial"');
- Node596.a('node.textvisible',true);
- Node596.a('node.linefeed',false);
- if (false) {
- Node596.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node596.a('node.text') || '0';
- var color=Node596.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node596width,Node596height,13.3333*_ratio.ratioY,"left",color,' '+ Node596fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node596.a('node.underlinepoints',[Node596lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node596fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node596fontSize + 'px "Arial"').width + 6, (Node596height - Node596fontSize) * 0.5*_ratio.ratioY + Node596fontSize + 2 ]);
- Node596.a('node.underlinevisible',false);
- Node596.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node596);
- zoomNodeList.push({
- node: Node596,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node597 = new ht.Node();
- var Node597textStart, Node597textWidth, Node597lineStart, Node597align = 'left', Node597fontSize = 13.3333*_ratio.ratioY,Node597width = 49*_ratio.ratioX, Node597height = 25*_ratio.ratioY;
- (function () {
- if (Node597align === 'left') {
- Node597textStart = Node597fontSize * 0.2 > 2 ? Node597fontSize * 0.2 - 4 : Node597fontSize * 0.2 - 9;
- Node597textWidth = Node597width;
- Node597lineStart = 1;
- } else if (Node597align === 'right') {
- Node597textStart = 0;
- Node597textWidth =Node597fontSize <= 8 ? Node597width + Node597fontSize * 0.2 + 6 : Node597width - Node597fontSize * 0.2;
- Node597lineStart = (Node597width - (ht.Default.getTextSize('0', ' '+ Node597fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node597align === 'center') {
- Node597textStart = -3;
- Node597textWidth = Node597width;
- Node597lineStart = Node597width - ht.Default.getTextSize('0', ' '+ Node597fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node597.setImage(GD.getTextJSON(Node597width, Node597height, true, false, false, ' '+ Node597fontSize + 'px "Arial"'))
- Node597.setPosition(1560*ratio.ratioX, 862*ratio.ratioY);
- Node597.setWidth(Node597width);
- Node597.setHeight(Node597height);
- Node597._nodeType = 'text';
- Node597._disallowEvert = true;
- Node597.setRotation(0*Math.PI/180);
- Node597.a('node.width', Node597width);
- Node597.a('node.height', Node597height);
- Node597.a('node.rect', [0, 0, Node597width, Node597height]);
- Node597.a('node.bordercolor','rgba(0,0,0,1)');
- Node597.a('node.borderwidth', 0);
- Node597.a('node.background','' || 'rgba(0,0,0,0)');
- Node597.a('node.gradient','');
- Node597.a('node.gradientcolor','');
- Node597.a('node.text','0');
- Node597.a('node.textalign','left');
- Node597.a('node.textvAlign','middle');
- Node597.a('node.textrect', [Node597textStart, 0, Node597textWidth, Node597height]);
- Node597.a('node.color','rgba(0,0,0,1)');
- Node597.a('node.font',' '+ Node597fontSize + 'px "Arial"');
- Node597.a('node.textvisible',true);
- Node597.a('node.linefeed',false);
- if (false) {
- Node597.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node597.a('node.text') || '0';
- var color=Node597.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node597width,Node597height,13.3333*_ratio.ratioY,"left",color,' '+ Node597fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node597.a('node.underlinepoints',[Node597lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node597fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node597fontSize + 'px "Arial"').width + 6, (Node597height - Node597fontSize) * 0.5*_ratio.ratioY + Node597fontSize + 2 ]);
- Node597.a('node.underlinevisible',false);
- Node597.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node597);
- zoomNodeList.push({
- node: Node597,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node598 = new ht.Node();
- var Node598textStart, Node598textWidth, Node598lineStart, Node598align = 'left', Node598fontSize = 13.3333*_ratio.ratioY,Node598width = 49*_ratio.ratioX, Node598height = 25*_ratio.ratioY;
- (function () {
- if (Node598align === 'left') {
- Node598textStart = Node598fontSize * 0.2 > 2 ? Node598fontSize * 0.2 - 4 : Node598fontSize * 0.2 - 9;
- Node598textWidth = Node598width;
- Node598lineStart = 1;
- } else if (Node598align === 'right') {
- Node598textStart = 0;
- Node598textWidth =Node598fontSize <= 8 ? Node598width + Node598fontSize * 0.2 + 6 : Node598width - Node598fontSize * 0.2;
- Node598lineStart = (Node598width - (ht.Default.getTextSize('0', ' '+ Node598fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node598align === 'center') {
- Node598textStart = -3;
- Node598textWidth = Node598width;
- Node598lineStart = Node598width - ht.Default.getTextSize('0', ' '+ Node598fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node598.setImage(GD.getTextJSON(Node598width, Node598height, true, false, false, ' '+ Node598fontSize + 'px "Arial"'))
- Node598.setPosition(1560*ratio.ratioX, 882*ratio.ratioY);
- Node598.setWidth(Node598width);
- Node598.setHeight(Node598height);
- Node598._nodeType = 'text';
- Node598._disallowEvert = true;
- Node598.setRotation(0*Math.PI/180);
- Node598.a('node.width', Node598width);
- Node598.a('node.height', Node598height);
- Node598.a('node.rect', [0, 0, Node598width, Node598height]);
- Node598.a('node.bordercolor','rgba(0,0,0,1)');
- Node598.a('node.borderwidth', 0);
- Node598.a('node.background','' || 'rgba(0,0,0,0)');
- Node598.a('node.gradient','');
- Node598.a('node.gradientcolor','');
- Node598.a('node.text','0');
- Node598.a('node.textalign','left');
- Node598.a('node.textvAlign','middle');
- Node598.a('node.textrect', [Node598textStart, 0, Node598textWidth, Node598height]);
- Node598.a('node.color','rgba(0,0,0,1)');
- Node598.a('node.font',' '+ Node598fontSize + 'px "Arial"');
- Node598.a('node.textvisible',true);
- Node598.a('node.linefeed',false);
- if (false) {
- Node598.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node598.a('node.text') || '0';
- var color=Node598.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node598width,Node598height,13.3333*_ratio.ratioY,"left",color,' '+ Node598fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node598.a('node.underlinepoints',[Node598lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node598fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node598fontSize + 'px "Arial"').width + 6, (Node598height - Node598fontSize) * 0.5*_ratio.ratioY + Node598fontSize + 2 ]);
- Node598.a('node.underlinevisible',false);
- Node598.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node598);
- zoomNodeList.push({
- node: Node598,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node599 = new ht.Node();
- var Node599textStart, Node599textWidth, Node599lineStart, Node599align = 'left', Node599fontSize = 13.3333*_ratio.ratioY,Node599width = 49*_ratio.ratioX, Node599height = 25*_ratio.ratioY;
- (function () {
- if (Node599align === 'left') {
- Node599textStart = Node599fontSize * 0.2 > 2 ? Node599fontSize * 0.2 - 4 : Node599fontSize * 0.2 - 9;
- Node599textWidth = Node599width;
- Node599lineStart = 1;
- } else if (Node599align === 'right') {
- Node599textStart = 0;
- Node599textWidth =Node599fontSize <= 8 ? Node599width + Node599fontSize * 0.2 + 6 : Node599width - Node599fontSize * 0.2;
- Node599lineStart = (Node599width - (ht.Default.getTextSize('0', ' '+ Node599fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node599align === 'center') {
- Node599textStart = -3;
- Node599textWidth = Node599width;
- Node599lineStart = Node599width - ht.Default.getTextSize('0', ' '+ Node599fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node599.setImage(GD.getTextJSON(Node599width, Node599height, true, false, false, ' '+ Node599fontSize + 'px "Arial"'))
- Node599.setPosition(1642*ratio.ratioX, 841*ratio.ratioY);
- Node599.setWidth(Node599width);
- Node599.setHeight(Node599height);
- Node599._nodeType = 'text';
- Node599._disallowEvert = true;
- Node599.setRotation(0*Math.PI/180);
- Node599.a('node.width', Node599width);
- Node599.a('node.height', Node599height);
- Node599.a('node.rect', [0, 0, Node599width, Node599height]);
- Node599.a('node.bordercolor','rgba(0,0,0,1)');
- Node599.a('node.borderwidth', 0);
- Node599.a('node.background','' || 'rgba(0,0,0,0)');
- Node599.a('node.gradient','');
- Node599.a('node.gradientcolor','');
- Node599.a('node.text','0');
- Node599.a('node.textalign','left');
- Node599.a('node.textvAlign','middle');
- Node599.a('node.textrect', [Node599textStart, 0, Node599textWidth, Node599height]);
- Node599.a('node.color','rgba(0,0,0,1)');
- Node599.a('node.font',' '+ Node599fontSize + 'px "Arial"');
- Node599.a('node.textvisible',true);
- Node599.a('node.linefeed',false);
- if (false) {
- Node599.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node599.a('node.text') || '0';
- var color=Node599.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node599width,Node599height,13.3333*_ratio.ratioY,"left",color,' '+ Node599fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node599.a('node.underlinepoints',[Node599lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node599fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node599fontSize + 'px "Arial"').width + 6, (Node599height - Node599fontSize) * 0.5*_ratio.ratioY + Node599fontSize + 2 ]);
- Node599.a('node.underlinevisible',false);
- Node599.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node599);
- zoomNodeList.push({
- node: Node599,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node600 = new ht.Node();
- var Node600textStart, Node600textWidth, Node600lineStart, Node600align = 'left', Node600fontSize = 13.3333*_ratio.ratioY,Node600width = 49*_ratio.ratioX, Node600height = 25*_ratio.ratioY;
- (function () {
- if (Node600align === 'left') {
- Node600textStart = Node600fontSize * 0.2 > 2 ? Node600fontSize * 0.2 - 4 : Node600fontSize * 0.2 - 9;
- Node600textWidth = Node600width;
- Node600lineStart = 1;
- } else if (Node600align === 'right') {
- Node600textStart = 0;
- Node600textWidth =Node600fontSize <= 8 ? Node600width + Node600fontSize * 0.2 + 6 : Node600width - Node600fontSize * 0.2;
- Node600lineStart = (Node600width - (ht.Default.getTextSize('0', ' '+ Node600fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node600align === 'center') {
- Node600textStart = -3;
- Node600textWidth = Node600width;
- Node600lineStart = Node600width - ht.Default.getTextSize('0', ' '+ Node600fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node600.setImage(GD.getTextJSON(Node600width, Node600height, true, false, false, ' '+ Node600fontSize + 'px "Arial"'))
- Node600.setPosition(1642*ratio.ratioX, 862*ratio.ratioY);
- Node600.setWidth(Node600width);
- Node600.setHeight(Node600height);
- Node600._nodeType = 'text';
- Node600._disallowEvert = true;
- Node600.setRotation(0*Math.PI/180);
- Node600.a('node.width', Node600width);
- Node600.a('node.height', Node600height);
- Node600.a('node.rect', [0, 0, Node600width, Node600height]);
- Node600.a('node.bordercolor','rgba(0,0,0,1)');
- Node600.a('node.borderwidth', 0);
- Node600.a('node.background','' || 'rgba(0,0,0,0)');
- Node600.a('node.gradient','');
- Node600.a('node.gradientcolor','');
- Node600.a('node.text','0');
- Node600.a('node.textalign','left');
- Node600.a('node.textvAlign','middle');
- Node600.a('node.textrect', [Node600textStart, 0, Node600textWidth, Node600height]);
- Node600.a('node.color','rgba(0,0,0,1)');
- Node600.a('node.font',' '+ Node600fontSize + 'px "Arial"');
- Node600.a('node.textvisible',true);
- Node600.a('node.linefeed',false);
- if (false) {
- Node600.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node600.a('node.text') || '0';
- var color=Node600.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node600width,Node600height,13.3333*_ratio.ratioY,"left",color,' '+ Node600fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node600.a('node.underlinepoints',[Node600lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node600fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node600fontSize + 'px "Arial"').width + 6, (Node600height - Node600fontSize) * 0.5*_ratio.ratioY + Node600fontSize + 2 ]);
- Node600.a('node.underlinevisible',false);
- Node600.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node600);
- zoomNodeList.push({
- node: Node600,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node601 = new ht.Node();
- var Node601textStart, Node601textWidth, Node601lineStart, Node601align = 'left', Node601fontSize = 13.3333*_ratio.ratioY,Node601width = 49*_ratio.ratioX, Node601height = 25*_ratio.ratioY;
- (function () {
- if (Node601align === 'left') {
- Node601textStart = Node601fontSize * 0.2 > 2 ? Node601fontSize * 0.2 - 4 : Node601fontSize * 0.2 - 9;
- Node601textWidth = Node601width;
- Node601lineStart = 1;
- } else if (Node601align === 'right') {
- Node601textStart = 0;
- Node601textWidth =Node601fontSize <= 8 ? Node601width + Node601fontSize * 0.2 + 6 : Node601width - Node601fontSize * 0.2;
- Node601lineStart = (Node601width - (ht.Default.getTextSize('0', ' '+ Node601fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node601align === 'center') {
- Node601textStart = -3;
- Node601textWidth = Node601width;
- Node601lineStart = Node601width - ht.Default.getTextSize('0', ' '+ Node601fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node601.setImage(GD.getTextJSON(Node601width, Node601height, true, false, false, ' '+ Node601fontSize + 'px "Arial"'))
- Node601.setPosition(1642*ratio.ratioX, 882*ratio.ratioY);
- Node601.setWidth(Node601width);
- Node601.setHeight(Node601height);
- Node601._nodeType = 'text';
- Node601._disallowEvert = true;
- Node601.setRotation(0*Math.PI/180);
- Node601.a('node.width', Node601width);
- Node601.a('node.height', Node601height);
- Node601.a('node.rect', [0, 0, Node601width, Node601height]);
- Node601.a('node.bordercolor','rgba(0,0,0,1)');
- Node601.a('node.borderwidth', 0);
- Node601.a('node.background','' || 'rgba(0,0,0,0)');
- Node601.a('node.gradient','');
- Node601.a('node.gradientcolor','');
- Node601.a('node.text','0');
- Node601.a('node.textalign','left');
- Node601.a('node.textvAlign','middle');
- Node601.a('node.textrect', [Node601textStart, 0, Node601textWidth, Node601height]);
- Node601.a('node.color','rgba(0,0,0,1)');
- Node601.a('node.font',' '+ Node601fontSize + 'px "Arial"');
- Node601.a('node.textvisible',true);
- Node601.a('node.linefeed',false);
- if (false) {
- Node601.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node601.a('node.text') || '0';
- var color=Node601.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node601width,Node601height,13.3333*_ratio.ratioY,"left",color,' '+ Node601fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node601.a('node.underlinepoints',[Node601lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node601fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node601fontSize + 'px "Arial"').width + 6, (Node601height - Node601fontSize) * 0.5*_ratio.ratioY + Node601fontSize + 2 ]);
- Node601.a('node.underlinevisible',false);
- Node601.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node601);
- zoomNodeList.push({
- node: Node601,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node602 = new ht.Node();
- var Node602textStart, Node602textWidth, Node602lineStart, Node602align = 'left', Node602fontSize = 13.3333*_ratio.ratioY,Node602width = 49*_ratio.ratioX, Node602height = 25*_ratio.ratioY;
- (function () {
- if (Node602align === 'left') {
- Node602textStart = Node602fontSize * 0.2 > 2 ? Node602fontSize * 0.2 - 4 : Node602fontSize * 0.2 - 9;
- Node602textWidth = Node602width;
- Node602lineStart = 1;
- } else if (Node602align === 'right') {
- Node602textStart = 0;
- Node602textWidth =Node602fontSize <= 8 ? Node602width + Node602fontSize * 0.2 + 6 : Node602width - Node602fontSize * 0.2;
- Node602lineStart = (Node602width - (ht.Default.getTextSize('0', ' '+ Node602fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node602align === 'center') {
- Node602textStart = -3;
- Node602textWidth = Node602width;
- Node602lineStart = Node602width - ht.Default.getTextSize('0', ' '+ Node602fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node602.setImage(GD.getTextJSON(Node602width, Node602height, true, false, false, ' '+ Node602fontSize + 'px "Arial"'))
- Node602.setPosition(1737*ratio.ratioX, 841*ratio.ratioY);
- Node602.setWidth(Node602width);
- Node602.setHeight(Node602height);
- Node602._nodeType = 'text';
- Node602._disallowEvert = true;
- Node602.setRotation(0*Math.PI/180);
- Node602.a('node.width', Node602width);
- Node602.a('node.height', Node602height);
- Node602.a('node.rect', [0, 0, Node602width, Node602height]);
- Node602.a('node.bordercolor','rgba(0,0,0,1)');
- Node602.a('node.borderwidth', 0);
- Node602.a('node.background','' || 'rgba(0,0,0,0)');
- Node602.a('node.gradient','');
- Node602.a('node.gradientcolor','');
- Node602.a('node.text','0');
- Node602.a('node.textalign','left');
- Node602.a('node.textvAlign','middle');
- Node602.a('node.textrect', [Node602textStart, 0, Node602textWidth, Node602height]);
- Node602.a('node.color','rgba(0,0,0,1)');
- Node602.a('node.font',' '+ Node602fontSize + 'px "Arial"');
- Node602.a('node.textvisible',true);
- Node602.a('node.linefeed',false);
- if (false) {
- Node602.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node602.a('node.text') || '0';
- var color=Node602.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node602width,Node602height,13.3333*_ratio.ratioY,"left",color,' '+ Node602fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node602.a('node.underlinepoints',[Node602lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node602fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node602fontSize + 'px "Arial"').width + 6, (Node602height - Node602fontSize) * 0.5*_ratio.ratioY + Node602fontSize + 2 ]);
- Node602.a('node.underlinevisible',false);
- Node602.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node602);
- zoomNodeList.push({
- node: Node602,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node603 = new ht.Node();
- var Node603textStart, Node603textWidth, Node603lineStart, Node603align = 'left', Node603fontSize = 13.3333*_ratio.ratioY,Node603width = 49*_ratio.ratioX, Node603height = 25*_ratio.ratioY;
- (function () {
- if (Node603align === 'left') {
- Node603textStart = Node603fontSize * 0.2 > 2 ? Node603fontSize * 0.2 - 4 : Node603fontSize * 0.2 - 9;
- Node603textWidth = Node603width;
- Node603lineStart = 1;
- } else if (Node603align === 'right') {
- Node603textStart = 0;
- Node603textWidth =Node603fontSize <= 8 ? Node603width + Node603fontSize * 0.2 + 6 : Node603width - Node603fontSize * 0.2;
- Node603lineStart = (Node603width - (ht.Default.getTextSize('0', ' '+ Node603fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node603align === 'center') {
- Node603textStart = -3;
- Node603textWidth = Node603width;
- Node603lineStart = Node603width - ht.Default.getTextSize('0', ' '+ Node603fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node603.setImage(GD.getTextJSON(Node603width, Node603height, true, false, false, ' '+ Node603fontSize + 'px "Arial"'))
- Node603.setPosition(1737*ratio.ratioX, 862*ratio.ratioY);
- Node603.setWidth(Node603width);
- Node603.setHeight(Node603height);
- Node603._nodeType = 'text';
- Node603._disallowEvert = true;
- Node603.setRotation(0*Math.PI/180);
- Node603.a('node.width', Node603width);
- Node603.a('node.height', Node603height);
- Node603.a('node.rect', [0, 0, Node603width, Node603height]);
- Node603.a('node.bordercolor','rgba(0,0,0,1)');
- Node603.a('node.borderwidth', 0);
- Node603.a('node.background','' || 'rgba(0,0,0,0)');
- Node603.a('node.gradient','');
- Node603.a('node.gradientcolor','');
- Node603.a('node.text','0');
- Node603.a('node.textalign','left');
- Node603.a('node.textvAlign','middle');
- Node603.a('node.textrect', [Node603textStart, 0, Node603textWidth, Node603height]);
- Node603.a('node.color','rgba(0,0,0,1)');
- Node603.a('node.font',' '+ Node603fontSize + 'px "Arial"');
- Node603.a('node.textvisible',true);
- Node603.a('node.linefeed',false);
- if (false) {
- Node603.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node603.a('node.text') || '0';
- var color=Node603.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node603width,Node603height,13.3333*_ratio.ratioY,"left",color,' '+ Node603fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node603.a('node.underlinepoints',[Node603lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node603fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node603fontSize + 'px "Arial"').width + 6, (Node603height - Node603fontSize) * 0.5*_ratio.ratioY + Node603fontSize + 2 ]);
- Node603.a('node.underlinevisible',false);
- Node603.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node603);
- zoomNodeList.push({
- node: Node603,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node604 = new ht.Node();
- var Node604textStart, Node604textWidth, Node604lineStart, Node604align = 'left', Node604fontSize = 13.3333*_ratio.ratioY,Node604width = 49*_ratio.ratioX, Node604height = 25*_ratio.ratioY;
- (function () {
- if (Node604align === 'left') {
- Node604textStart = Node604fontSize * 0.2 > 2 ? Node604fontSize * 0.2 - 4 : Node604fontSize * 0.2 - 9;
- Node604textWidth = Node604width;
- Node604lineStart = 1;
- } else if (Node604align === 'right') {
- Node604textStart = 0;
- Node604textWidth =Node604fontSize <= 8 ? Node604width + Node604fontSize * 0.2 + 6 : Node604width - Node604fontSize * 0.2;
- Node604lineStart = (Node604width - (ht.Default.getTextSize('0', ' '+ Node604fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node604align === 'center') {
- Node604textStart = -3;
- Node604textWidth = Node604width;
- Node604lineStart = Node604width - ht.Default.getTextSize('0', ' '+ Node604fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node604.setImage(GD.getTextJSON(Node604width, Node604height, true, false, false, ' '+ Node604fontSize + 'px "Arial"'))
- Node604.setPosition(1737*ratio.ratioX, 882*ratio.ratioY);
- Node604.setWidth(Node604width);
- Node604.setHeight(Node604height);
- Node604._nodeType = 'text';
- Node604._disallowEvert = true;
- Node604.setRotation(0*Math.PI/180);
- Node604.a('node.width', Node604width);
- Node604.a('node.height', Node604height);
- Node604.a('node.rect', [0, 0, Node604width, Node604height]);
- Node604.a('node.bordercolor','rgba(0,0,0,1)');
- Node604.a('node.borderwidth', 0);
- Node604.a('node.background','' || 'rgba(0,0,0,0)');
- Node604.a('node.gradient','');
- Node604.a('node.gradientcolor','');
- Node604.a('node.text','0');
- Node604.a('node.textalign','left');
- Node604.a('node.textvAlign','middle');
- Node604.a('node.textrect', [Node604textStart, 0, Node604textWidth, Node604height]);
- Node604.a('node.color','rgba(0,0,0,1)');
- Node604.a('node.font',' '+ Node604fontSize + 'px "Arial"');
- Node604.a('node.textvisible',true);
- Node604.a('node.linefeed',false);
- if (false) {
- Node604.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node604.a('node.text') || '0';
- var color=Node604.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node604width,Node604height,13.3333*_ratio.ratioY,"left",color,' '+ Node604fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node604.a('node.underlinepoints',[Node604lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node604fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node604fontSize + 'px "Arial"').width + 6, (Node604height - Node604fontSize) * 0.5*_ratio.ratioY + Node604fontSize + 2 ]);
- Node604.a('node.underlinevisible',false);
- Node604.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node604);
- zoomNodeList.push({
- node: Node604,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node605 = new ht.Node();
- var Node605textStart, Node605textWidth, Node605lineStart, Node605align = 'left', Node605fontSize = 13.3333*_ratio.ratioY,Node605width = 49*_ratio.ratioX, Node605height = 25*_ratio.ratioY;
- (function () {
- if (Node605align === 'left') {
- Node605textStart = Node605fontSize * 0.2 > 2 ? Node605fontSize * 0.2 - 4 : Node605fontSize * 0.2 - 9;
- Node605textWidth = Node605width;
- Node605lineStart = 1;
- } else if (Node605align === 'right') {
- Node605textStart = 0;
- Node605textWidth =Node605fontSize <= 8 ? Node605width + Node605fontSize * 0.2 + 6 : Node605width - Node605fontSize * 0.2;
- Node605lineStart = (Node605width - (ht.Default.getTextSize('0', ' '+ Node605fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node605align === 'center') {
- Node605textStart = -3;
- Node605textWidth = Node605width;
- Node605lineStart = Node605width - ht.Default.getTextSize('0', ' '+ Node605fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node605.setImage(GD.getTextJSON(Node605width, Node605height, true, false, false, ' '+ Node605fontSize + 'px "Arial"'))
- Node605.setPosition(1824*ratio.ratioX, 842*ratio.ratioY);
- Node605.setWidth(Node605width);
- Node605.setHeight(Node605height);
- Node605._nodeType = 'text';
- Node605._disallowEvert = true;
- Node605.setRotation(0*Math.PI/180);
- Node605.a('node.width', Node605width);
- Node605.a('node.height', Node605height);
- Node605.a('node.rect', [0, 0, Node605width, Node605height]);
- Node605.a('node.bordercolor','rgba(0,0,0,1)');
- Node605.a('node.borderwidth', 0);
- Node605.a('node.background','' || 'rgba(0,0,0,0)');
- Node605.a('node.gradient','');
- Node605.a('node.gradientcolor','');
- Node605.a('node.text','0');
- Node605.a('node.textalign','left');
- Node605.a('node.textvAlign','middle');
- Node605.a('node.textrect', [Node605textStart, 0, Node605textWidth, Node605height]);
- Node605.a('node.color','rgba(0,0,0,1)');
- Node605.a('node.font',' '+ Node605fontSize + 'px "Arial"');
- Node605.a('node.textvisible',true);
- Node605.a('node.linefeed',false);
- if (false) {
- Node605.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node605.a('node.text') || '0';
- var color=Node605.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node605width,Node605height,13.3333*_ratio.ratioY,"left",color,' '+ Node605fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node605.a('node.underlinepoints',[Node605lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node605fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node605fontSize + 'px "Arial"').width + 6, (Node605height - Node605fontSize) * 0.5*_ratio.ratioY + Node605fontSize + 2 ]);
- Node605.a('node.underlinevisible',false);
- Node605.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node605);
- zoomNodeList.push({
- node: Node605,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node606 = new ht.Node();
- var Node606textStart, Node606textWidth, Node606lineStart, Node606align = 'left', Node606fontSize = 13.3333*_ratio.ratioY,Node606width = 49*_ratio.ratioX, Node606height = 25*_ratio.ratioY;
- (function () {
- if (Node606align === 'left') {
- Node606textStart = Node606fontSize * 0.2 > 2 ? Node606fontSize * 0.2 - 4 : Node606fontSize * 0.2 - 9;
- Node606textWidth = Node606width;
- Node606lineStart = 1;
- } else if (Node606align === 'right') {
- Node606textStart = 0;
- Node606textWidth =Node606fontSize <= 8 ? Node606width + Node606fontSize * 0.2 + 6 : Node606width - Node606fontSize * 0.2;
- Node606lineStart = (Node606width - (ht.Default.getTextSize('0', ' '+ Node606fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node606align === 'center') {
- Node606textStart = -3;
- Node606textWidth = Node606width;
- Node606lineStart = Node606width - ht.Default.getTextSize('0', ' '+ Node606fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node606.setImage(GD.getTextJSON(Node606width, Node606height, true, false, false, ' '+ Node606fontSize + 'px "Arial"'))
- Node606.setPosition(1824*ratio.ratioX, 863*ratio.ratioY);
- Node606.setWidth(Node606width);
- Node606.setHeight(Node606height);
- Node606._nodeType = 'text';
- Node606._disallowEvert = true;
- Node606.setRotation(0*Math.PI/180);
- Node606.a('node.width', Node606width);
- Node606.a('node.height', Node606height);
- Node606.a('node.rect', [0, 0, Node606width, Node606height]);
- Node606.a('node.bordercolor','rgba(0,0,0,1)');
- Node606.a('node.borderwidth', 0);
- Node606.a('node.background','' || 'rgba(0,0,0,0)');
- Node606.a('node.gradient','');
- Node606.a('node.gradientcolor','');
- Node606.a('node.text','0');
- Node606.a('node.textalign','left');
- Node606.a('node.textvAlign','middle');
- Node606.a('node.textrect', [Node606textStart, 0, Node606textWidth, Node606height]);
- Node606.a('node.color','rgba(0,0,0,1)');
- Node606.a('node.font',' '+ Node606fontSize + 'px "Arial"');
- Node606.a('node.textvisible',true);
- Node606.a('node.linefeed',false);
- if (false) {
- Node606.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node606.a('node.text') || '0';
- var color=Node606.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node606width,Node606height,13.3333*_ratio.ratioY,"left",color,' '+ Node606fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node606.a('node.underlinepoints',[Node606lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node606fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node606fontSize + 'px "Arial"').width + 6, (Node606height - Node606fontSize) * 0.5*_ratio.ratioY + Node606fontSize + 2 ]);
- Node606.a('node.underlinevisible',false);
- Node606.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node606);
- zoomNodeList.push({
- node: Node606,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node607 = new ht.Node();
- var Node607textStart, Node607textWidth, Node607lineStart, Node607align = 'left', Node607fontSize = 13.3333*_ratio.ratioY,Node607width = 49*_ratio.ratioX, Node607height = 25*_ratio.ratioY;
- (function () {
- if (Node607align === 'left') {
- Node607textStart = Node607fontSize * 0.2 > 2 ? Node607fontSize * 0.2 - 4 : Node607fontSize * 0.2 - 9;
- Node607textWidth = Node607width;
- Node607lineStart = 1;
- } else if (Node607align === 'right') {
- Node607textStart = 0;
- Node607textWidth =Node607fontSize <= 8 ? Node607width + Node607fontSize * 0.2 + 6 : Node607width - Node607fontSize * 0.2;
- Node607lineStart = (Node607width - (ht.Default.getTextSize('0', ' '+ Node607fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node607align === 'center') {
- Node607textStart = -3;
- Node607textWidth = Node607width;
- Node607lineStart = Node607width - ht.Default.getTextSize('0', ' '+ Node607fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node607.setImage(GD.getTextJSON(Node607width, Node607height, true, false, false, ' '+ Node607fontSize + 'px "Arial"'))
- Node607.setPosition(1824*ratio.ratioX, 883*ratio.ratioY);
- Node607.setWidth(Node607width);
- Node607.setHeight(Node607height);
- Node607._nodeType = 'text';
- Node607._disallowEvert = true;
- Node607.setRotation(0*Math.PI/180);
- Node607.a('node.width', Node607width);
- Node607.a('node.height', Node607height);
- Node607.a('node.rect', [0, 0, Node607width, Node607height]);
- Node607.a('node.bordercolor','rgba(0,0,0,1)');
- Node607.a('node.borderwidth', 0);
- Node607.a('node.background','' || 'rgba(0,0,0,0)');
- Node607.a('node.gradient','');
- Node607.a('node.gradientcolor','');
- Node607.a('node.text','0');
- Node607.a('node.textalign','left');
- Node607.a('node.textvAlign','middle');
- Node607.a('node.textrect', [Node607textStart, 0, Node607textWidth, Node607height]);
- Node607.a('node.color','rgba(0,0,0,1)');
- Node607.a('node.font',' '+ Node607fontSize + 'px "Arial"');
- Node607.a('node.textvisible',true);
- Node607.a('node.linefeed',false);
- if (false) {
- Node607.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node607.a('node.text') || '0';
- var color=Node607.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node607width,Node607height,13.3333*_ratio.ratioY,"left",color,' '+ Node607fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node607.a('node.underlinepoints',[Node607lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node607fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node607fontSize + 'px "Arial"').width + 6, (Node607height - Node607fontSize) * 0.5*_ratio.ratioY + Node607fontSize + 2 ]);
- Node607.a('node.underlinevisible',false);
- Node607.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node607);
- zoomNodeList.push({
- node: Node607,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node608_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//喜欢的蓝色.png', PAGEROOTDIR + 'image//喜欢的蓝色.png');
- Node608_0 = new ht.Node();
- Node608_0.setPosition(106*ratio.ratioX, 63*ratio.ratioY);
- Node608_0.setSize(155*ratioX, 45*ratioY);
- Node608_0.setImage('imgimage//喜欢的蓝色.png');
- Node608_0.setRotation(0*Math.PI/180);
- Node608_0._zoomBy = 'Default';
- Node608_0._nodeType = 'image';
- Node608_0._disallowEvert = true;
- dataModel.add(Node608_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node608_1 = new ht.Node();
- var Node608_1textStart, Node608_1textWidth, Node608_1lineStart, Node608_1align = 'left', Node608_1fontSize = 17.33329*_ratio.ratioY,Node608_1width = 143*_ratio.ratioX, Node608_1height = 49*_ratio.ratioY;
- (function () {
- if (Node608_1align === 'left') {
- Node608_1textStart = Node608_1fontSize * 0.2 > 2 ? Node608_1fontSize * 0.2 - 4 : Node608_1fontSize * 0.2 - 9;
- Node608_1textWidth = Node608_1width;
- Node608_1lineStart = 1;
- } else if (Node608_1align === 'right') {
- Node608_1textStart = 0;
- Node608_1textWidth =Node608_1fontSize <= 8 ? Node608_1width + Node608_1fontSize * 0.2 + 6 : Node608_1width - Node608_1fontSize * 0.2;
- Node608_1lineStart = (Node608_1width - (ht.Default.getTextSize('右玉高家堡电场', ' '+ Node608_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node608_1align === 'center') {
- Node608_1textStart = -3;
- Node608_1textWidth = Node608_1width;
- Node608_1lineStart = Node608_1width - ht.Default.getTextSize('右玉高家堡电场', ' '+ Node608_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node608_1.setImage(GD.getTextJSON(Node608_1width, Node608_1height, true, false, false, ' '+ Node608_1fontSize + 'px "Arial"'))
- Node608_1.setPosition(108*ratio.ratioX, 66*ratio.ratioY);
- Node608_1.setWidth(Node608_1width);
- Node608_1.setHeight(Node608_1height);
- Node608_1._nodeType = 'text';
- Node608_1._disallowEvert = true;
- Node608_1.setRotation(0*Math.PI/180);
- Node608_1.a('node.width', Node608_1width);
- Node608_1.a('node.height', Node608_1height);
- Node608_1.a('node.rect', [0, 0, Node608_1width, Node608_1height]);
- Node608_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node608_1.a('node.borderwidth', 0);
- Node608_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node608_1.a('node.gradient','');
- Node608_1.a('node.gradientcolor','');
- Node608_1.a('node.text','右玉高家堡电场');
- Node608_1.a('node.textalign','left');
- Node608_1.a('node.textvAlign','middle');
- Node608_1.a('node.textrect', [Node608_1textStart, 0, Node608_1textWidth, Node608_1height]);
- Node608_1.a('node.color','rgba(255,255,255,1)');
- Node608_1.a('node.font',' '+ Node608_1fontSize + 'px "Arial"');
- Node608_1.a('node.textvisible',true);
- Node608_1.a('node.linefeed',false);
- if (false) {
- Node608_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node608_1.a('node.text') || '右玉高家堡电场';
- var color=Node608_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node608_1width,Node608_1height,17.33329*_ratio.ratioY,"left",color,' '+ Node608_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node608_1.a('node.underlinepoints',[Node608_1lineStart, (49 - 17.33329) * 0.5 * _ratio.ratioY + Node608_1fontSize + 2 , ht.Default.getTextSize('右玉高家堡电场', ' '+ Node608_1fontSize + 'px "Arial"').width + 6, (Node608_1height - Node608_1fontSize) * 0.5*_ratio.ratioY + Node608_1fontSize + 2 ]);
- Node608_1.a('node.underlinevisible',false);
- Node608_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node608_1);
- zoomNodeList.push({
- node: Node608_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node609_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node609_0 = new ht.Node();
- Node609_0.setPosition(13*ratio.ratioX, 221*ratio.ratioY);
- Node609_0.setSize(27*ratioX, 101*ratioY);
- Node609_0.setImage('imgimage//left_menu_out0.png');
- Node609_0.setRotation(0*Math.PI/180);
- Node609_0._zoomBy = 'Default';
- Node609_0._nodeType = 'image';
- Node609_0._disallowEvert = true;
- dataModel.add(Node609_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node609_1 = new ht.Node();
- var Node609_1textStart, Node609_1textWidth, Node609_1lineStart, Node609_1align = 'left', Node609_1fontSize = 19.99995*_ratio.ratioY,Node609_1width = 23*_ratio.ratioX, Node609_1height = 76*_ratio.ratioY;
- (function () {
- if (Node609_1align === 'left') {
- Node609_1textStart = Node609_1fontSize * 0.2 > 2 ? Node609_1fontSize * 0.2 - 4 : Node609_1fontSize * 0.2 - 9;
- Node609_1textWidth = Node609_1width;
- Node609_1lineStart = 1;
- } else if (Node609_1align === 'right') {
- Node609_1textStart = 0;
- Node609_1textWidth =Node609_1fontSize <= 8 ? Node609_1width + Node609_1fontSize * 0.2 + 6 : Node609_1width - Node609_1fontSize * 0.2;
- Node609_1lineStart = (Node609_1width - (ht.Default.getTextSize('排布图', ' '+ Node609_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node609_1align === 'center') {
- Node609_1textStart = -3;
- Node609_1textWidth = Node609_1width;
- Node609_1lineStart = Node609_1width - ht.Default.getTextSize('排布图', ' '+ Node609_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node609_1.setImage(GD.getTextJSON(Node609_1width, Node609_1height, false, true, false, ' '+ Node609_1fontSize + 'px "Arial"'))
- Node609_1.setPosition(12*ratio.ratioX, 219*ratio.ratioY);
- Node609_1.setWidth(Node609_1width);
- Node609_1.setHeight(Node609_1height);
- Node609_1._nodeType = 'text';
- Node609_1._disallowEvert = true;
- Node609_1.setRotation(0*Math.PI/180);
- Node609_1.a('node.width', Node609_1width);
- Node609_1.a('node.height', Node609_1height);
- Node609_1.a('node.rect', [0, 0, Node609_1width, Node609_1height]);
- Node609_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node609_1.a('node.borderwidth', 0);
- Node609_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node609_1.a('node.gradient','');
- Node609_1.a('node.gradientcolor','');
- Node609_1.a('node.text','排布图');
- Node609_1.a('node.textalign','left');
- Node609_1.a('node.textvAlign','middle');
- Node609_1.a('node.textrect', [Node609_1textStart, 0, Node609_1textWidth, Node609_1height]);
- Node609_1.a('node.color','rgba(0,0,0,1)');
- Node609_1.a('node.font',' '+ Node609_1fontSize + 'px "Arial"');
- Node609_1.a('node.textvisible',false);
- Node609_1.a('node.linefeed',true);
- if (true) {
- Node609_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node609_1.a('node.text') || '排布图';
- var color=Node609_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node609_1width,Node609_1height,19.99995*_ratio.ratioY,"left",color,' '+ Node609_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node609_1.a('node.underlinepoints',[Node609_1lineStart, (76 - 19.99995) * 0.5 * _ratio.ratioY + Node609_1fontSize + 2 , ht.Default.getTextSize('排布图', ' '+ Node609_1fontSize + 'px "Arial"').width + 6, (Node609_1height - Node609_1fontSize) * 0.5*_ratio.ratioY + Node609_1fontSize + 2 ]);
- Node609_1.a('node.underlinevisible',false);
- Node609_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node609_1);
- zoomNodeList.push({
- node: Node609_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node610_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node610_0 = new ht.Node();
- Node610_0.setPosition(13*ratio.ratioX, 221*ratio.ratioY);
- Node610_0.setSize(27*ratioX, 101*ratioY);
- Node610_0.setImage('imgimage//left_menu_over0.png');
- Node610_0.setRotation(0*Math.PI/180);
- Node610_0._zoomBy = 'Default';
- Node610_0._nodeType = 'image';
- Node610_0._disallowEvert = true;
- dataModel.add(Node610_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node610_1 = new ht.Node();
- var Node610_1textStart, Node610_1textWidth, Node610_1lineStart, Node610_1align = 'left', Node610_1fontSize = 19.99995*_ratio.ratioY,Node610_1width = 23*_ratio.ratioX, Node610_1height = 76*_ratio.ratioY;
- (function () {
- if (Node610_1align === 'left') {
- Node610_1textStart = Node610_1fontSize * 0.2 > 2 ? Node610_1fontSize * 0.2 - 4 : Node610_1fontSize * 0.2 - 9;
- Node610_1textWidth = Node610_1width;
- Node610_1lineStart = 1;
- } else if (Node610_1align === 'right') {
- Node610_1textStart = 0;
- Node610_1textWidth =Node610_1fontSize <= 8 ? Node610_1width + Node610_1fontSize * 0.2 + 6 : Node610_1width - Node610_1fontSize * 0.2;
- Node610_1lineStart = (Node610_1width - (ht.Default.getTextSize('排布图', ' '+ Node610_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node610_1align === 'center') {
- Node610_1textStart = -3;
- Node610_1textWidth = Node610_1width;
- Node610_1lineStart = Node610_1width - ht.Default.getTextSize('排布图', ' '+ Node610_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node610_1.setImage(GD.getTextJSON(Node610_1width, Node610_1height, false, true, false, ' '+ Node610_1fontSize + 'px "Arial"'))
- Node610_1.setPosition(11*ratio.ratioX, 219*ratio.ratioY);
- Node610_1.setWidth(Node610_1width);
- Node610_1.setHeight(Node610_1height);
- Node610_1._nodeType = 'text';
- Node610_1._disallowEvert = true;
- Node610_1.setRotation(0*Math.PI/180);
- Node610_1.a('node.width', Node610_1width);
- Node610_1.a('node.height', Node610_1height);
- Node610_1.a('node.rect', [0, 0, Node610_1width, Node610_1height]);
- Node610_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node610_1.a('node.borderwidth', 0);
- Node610_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node610_1.a('node.gradient','');
- Node610_1.a('node.gradientcolor','');
- Node610_1.a('node.text','排布图');
- Node610_1.a('node.textalign','left');
- Node610_1.a('node.textvAlign','middle');
- Node610_1.a('node.textrect', [Node610_1textStart, 0, Node610_1textWidth, Node610_1height]);
- Node610_1.a('node.color','rgba(0,0,0,1)');
- Node610_1.a('node.font',' '+ Node610_1fontSize + 'px "Arial"');
- Node610_1.a('node.textvisible',false);
- Node610_1.a('node.linefeed',true);
- if (true) {
- Node610_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node610_1.a('node.text') || '排布图';
- var color=Node610_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node610_1width,Node610_1height,19.99995*_ratio.ratioY,"left",color,' '+ Node610_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node610_1.a('node.underlinepoints',[Node610_1lineStart, (76 - 19.99995) * 0.5 * _ratio.ratioY + Node610_1fontSize + 2 , ht.Default.getTextSize('排布图', ' '+ Node610_1fontSize + 'px "Arial"').width + 6, (Node610_1height - Node610_1fontSize) * 0.5*_ratio.ratioY + Node610_1fontSize + 2 ]);
- Node610_1.a('node.underlinevisible',false);
- Node610_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node610_1);
- zoomNodeList.push({
- node: Node610_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node611_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node611_0 = new ht.Node();
- Node611_0.setPosition(13*ratio.ratioX, 321*ratio.ratioY);
- Node611_0.setSize(27*ratioX, 101*ratioY);
- Node611_0.setImage('imgimage//left_menu_out0.png');
- Node611_0.setRotation(0*Math.PI/180);
- Node611_0._zoomBy = 'Default';
- Node611_0._nodeType = 'image';
- Node611_0._disallowEvert = true;
- dataModel.add(Node611_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node611_1 = new ht.Node();
- var Node611_1textStart, Node611_1textWidth, Node611_1lineStart, Node611_1align = 'left', Node611_1fontSize = 18.66662*_ratio.ratioY,Node611_1width = 23*_ratio.ratioX, Node611_1height = 76*_ratio.ratioY;
- (function () {
- if (Node611_1align === 'left') {
- Node611_1textStart = Node611_1fontSize * 0.2 > 2 ? Node611_1fontSize * 0.2 - 4 : Node611_1fontSize * 0.2 - 9;
- Node611_1textWidth = Node611_1width;
- Node611_1lineStart = 1;
- } else if (Node611_1align === 'right') {
- Node611_1textStart = 0;
- Node611_1textWidth =Node611_1fontSize <= 8 ? Node611_1width + Node611_1fontSize * 0.2 + 6 : Node611_1width - Node611_1fontSize * 0.2;
- Node611_1lineStart = (Node611_1width - (ht.Default.getTextSize('总貌图', ' '+ Node611_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node611_1align === 'center') {
- Node611_1textStart = -3;
- Node611_1textWidth = Node611_1width;
- Node611_1lineStart = Node611_1width - ht.Default.getTextSize('总貌图', ' '+ Node611_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node611_1.setImage(GD.getTextJSON(Node611_1width, Node611_1height, false, true, false, ' '+ Node611_1fontSize + 'px "Arial"'))
- Node611_1.setPosition(12*ratio.ratioX, 319*ratio.ratioY);
- Node611_1.setWidth(Node611_1width);
- Node611_1.setHeight(Node611_1height);
- Node611_1._nodeType = 'text';
- Node611_1._disallowEvert = true;
- Node611_1.setRotation(0*Math.PI/180);
- Node611_1.a('node.width', Node611_1width);
- Node611_1.a('node.height', Node611_1height);
- Node611_1.a('node.rect', [0, 0, Node611_1width, Node611_1height]);
- Node611_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node611_1.a('node.borderwidth', 0);
- Node611_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node611_1.a('node.gradient','');
- Node611_1.a('node.gradientcolor','');
- Node611_1.a('node.text','总貌图');
- Node611_1.a('node.textalign','left');
- Node611_1.a('node.textvAlign','middle');
- Node611_1.a('node.textrect', [Node611_1textStart, 0, Node611_1textWidth, Node611_1height]);
- Node611_1.a('node.color','rgba(0,0,0,1)');
- Node611_1.a('node.font',' '+ Node611_1fontSize + 'px "Arial"');
- Node611_1.a('node.textvisible',false);
- Node611_1.a('node.linefeed',true);
- if (true) {
- Node611_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node611_1.a('node.text') || '总貌图';
- var color=Node611_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node611_1width,Node611_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node611_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node611_1.a('node.underlinepoints',[Node611_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node611_1fontSize + 2 , ht.Default.getTextSize('总貌图', ' '+ Node611_1fontSize + 'px "Arial"').width + 6, (Node611_1height - Node611_1fontSize) * 0.5*_ratio.ratioY + Node611_1fontSize + 2 ]);
- Node611_1.a('node.underlinevisible',false);
- Node611_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node611_1);
- zoomNodeList.push({
- node: Node611_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node612_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node612_0 = new ht.Node();
- Node612_0.setPosition(13*ratio.ratioX, 320*ratio.ratioY);
- Node612_0.setSize(27*ratioX, 101*ratioY);
- Node612_0.setImage('imgimage//left_menu_over0.png');
- Node612_0.setRotation(0*Math.PI/180);
- Node612_0._zoomBy = 'Default';
- Node612_0._nodeType = 'image';
- Node612_0._disallowEvert = true;
- dataModel.add(Node612_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node612_1 = new ht.Node();
- var Node612_1textStart, Node612_1textWidth, Node612_1lineStart, Node612_1align = 'left', Node612_1fontSize = 18.66662*_ratio.ratioY,Node612_1width = 23*_ratio.ratioX, Node612_1height = 76*_ratio.ratioY;
- (function () {
- if (Node612_1align === 'left') {
- Node612_1textStart = Node612_1fontSize * 0.2 > 2 ? Node612_1fontSize * 0.2 - 4 : Node612_1fontSize * 0.2 - 9;
- Node612_1textWidth = Node612_1width;
- Node612_1lineStart = 1;
- } else if (Node612_1align === 'right') {
- Node612_1textStart = 0;
- Node612_1textWidth =Node612_1fontSize <= 8 ? Node612_1width + Node612_1fontSize * 0.2 + 6 : Node612_1width - Node612_1fontSize * 0.2;
- Node612_1lineStart = (Node612_1width - (ht.Default.getTextSize('总貌图', ' '+ Node612_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node612_1align === 'center') {
- Node612_1textStart = -3;
- Node612_1textWidth = Node612_1width;
- Node612_1lineStart = Node612_1width - ht.Default.getTextSize('总貌图', ' '+ Node612_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node612_1.setImage(GD.getTextJSON(Node612_1width, Node612_1height, false, true, false, ' '+ Node612_1fontSize + 'px "Arial"'))
- Node612_1.setPosition(12*ratio.ratioX, 318*ratio.ratioY);
- Node612_1.setWidth(Node612_1width);
- Node612_1.setHeight(Node612_1height);
- Node612_1._nodeType = 'text';
- Node612_1._disallowEvert = true;
- Node612_1.setRotation(0*Math.PI/180);
- Node612_1.a('node.width', Node612_1width);
- Node612_1.a('node.height', Node612_1height);
- Node612_1.a('node.rect', [0, 0, Node612_1width, Node612_1height]);
- Node612_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node612_1.a('node.borderwidth', 0);
- Node612_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node612_1.a('node.gradient','');
- Node612_1.a('node.gradientcolor','');
- Node612_1.a('node.text','总貌图');
- Node612_1.a('node.textalign','left');
- Node612_1.a('node.textvAlign','middle');
- Node612_1.a('node.textrect', [Node612_1textStart, 0, Node612_1textWidth, Node612_1height]);
- Node612_1.a('node.color','rgba(0,0,0,1)');
- Node612_1.a('node.font',' '+ Node612_1fontSize + 'px "Arial"');
- Node612_1.a('node.textvisible',false);
- Node612_1.a('node.linefeed',true);
- if (true) {
- Node612_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node612_1.a('node.text') || '总貌图';
- var color=Node612_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node612_1width,Node612_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node612_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node612_1.a('node.underlinepoints',[Node612_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node612_1fontSize + 2 , ht.Default.getTextSize('总貌图', ' '+ Node612_1fontSize + 'px "Arial"').width + 6, (Node612_1height - Node612_1fontSize) * 0.5*_ratio.ratioY + Node612_1fontSize + 2 ]);
- Node612_1.a('node.underlinevisible',false);
- Node612_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node612_1);
- zoomNodeList.push({
- node: Node612_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node613_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node613_0 = new ht.Node();
- Node613_0.setPosition(13*ratio.ratioX, 421*ratio.ratioY);
- Node613_0.setSize(27*ratioX, 101*ratioY);
- Node613_0.setImage('imgimage//left_menu_out0.png');
- Node613_0.setRotation(0*Math.PI/180);
- Node613_0._zoomBy = 'Default';
- Node613_0._nodeType = 'image';
- Node613_0._disallowEvert = true;
- dataModel.add(Node613_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node613_1 = new ht.Node();
- var Node613_1textStart, Node613_1textWidth, Node613_1lineStart, Node613_1align = 'left', Node613_1fontSize = 18.66662*_ratio.ratioY,Node613_1width = 23*_ratio.ratioX, Node613_1height = 76*_ratio.ratioY;
- (function () {
- if (Node613_1align === 'left') {
- Node613_1textStart = Node613_1fontSize * 0.2 > 2 ? Node613_1fontSize * 0.2 - 4 : Node613_1fontSize * 0.2 - 9;
- Node613_1textWidth = Node613_1width;
- Node613_1lineStart = 1;
- } else if (Node613_1align === 'right') {
- Node613_1textStart = 0;
- Node613_1textWidth =Node613_1fontSize <= 8 ? Node613_1width + Node613_1fontSize * 0.2 + 6 : Node613_1width - Node613_1fontSize * 0.2;
- Node613_1lineStart = (Node613_1width - (ht.Default.getTextSize('升压站', ' '+ Node613_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node613_1align === 'center') {
- Node613_1textStart = -3;
- Node613_1textWidth = Node613_1width;
- Node613_1lineStart = Node613_1width - ht.Default.getTextSize('升压站', ' '+ Node613_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node613_1.setImage(GD.getTextJSON(Node613_1width, Node613_1height, false, true, false, ' '+ Node613_1fontSize + 'px "Arial"'))
- Node613_1.setPosition(12*ratio.ratioX, 419*ratio.ratioY);
- Node613_1.setWidth(Node613_1width);
- Node613_1.setHeight(Node613_1height);
- Node613_1._nodeType = 'text';
- Node613_1._disallowEvert = true;
- Node613_1.setRotation(0*Math.PI/180);
- Node613_1.a('node.width', Node613_1width);
- Node613_1.a('node.height', Node613_1height);
- Node613_1.a('node.rect', [0, 0, Node613_1width, Node613_1height]);
- Node613_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node613_1.a('node.borderwidth', 0);
- Node613_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node613_1.a('node.gradient','');
- Node613_1.a('node.gradientcolor','');
- Node613_1.a('node.text','升压站');
- Node613_1.a('node.textalign','left');
- Node613_1.a('node.textvAlign','middle');
- Node613_1.a('node.textrect', [Node613_1textStart, 0, Node613_1textWidth, Node613_1height]);
- Node613_1.a('node.color','rgba(0,0,0,1)');
- Node613_1.a('node.font',' '+ Node613_1fontSize + 'px "Arial"');
- Node613_1.a('node.textvisible',false);
- Node613_1.a('node.linefeed',true);
- if (true) {
- Node613_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node613_1.a('node.text') || '升压站';
- var color=Node613_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node613_1width,Node613_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node613_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node613_1.a('node.underlinepoints',[Node613_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node613_1fontSize + 2 , ht.Default.getTextSize('升压站', ' '+ Node613_1fontSize + 'px "Arial"').width + 6, (Node613_1height - Node613_1fontSize) * 0.5*_ratio.ratioY + Node613_1fontSize + 2 ]);
- Node613_1.a('node.underlinevisible',false);
- Node613_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node613_1);
- zoomNodeList.push({
- node: Node613_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node614_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node614_0 = new ht.Node();
- Node614_0.setPosition(13*ratio.ratioX, 420*ratio.ratioY);
- Node614_0.setSize(27*ratioX, 101*ratioY);
- Node614_0.setImage('imgimage//left_menu_over0.png');
- Node614_0.setRotation(0*Math.PI/180);
- Node614_0._zoomBy = 'Default';
- Node614_0._nodeType = 'image';
- Node614_0._disallowEvert = true;
- dataModel.add(Node614_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node614_1 = new ht.Node();
- var Node614_1textStart, Node614_1textWidth, Node614_1lineStart, Node614_1align = 'left', Node614_1fontSize = 18.66662*_ratio.ratioY,Node614_1width = 23*_ratio.ratioX, Node614_1height = 76*_ratio.ratioY;
- (function () {
- if (Node614_1align === 'left') {
- Node614_1textStart = Node614_1fontSize * 0.2 > 2 ? Node614_1fontSize * 0.2 - 4 : Node614_1fontSize * 0.2 - 9;
- Node614_1textWidth = Node614_1width;
- Node614_1lineStart = 1;
- } else if (Node614_1align === 'right') {
- Node614_1textStart = 0;
- Node614_1textWidth =Node614_1fontSize <= 8 ? Node614_1width + Node614_1fontSize * 0.2 + 6 : Node614_1width - Node614_1fontSize * 0.2;
- Node614_1lineStart = (Node614_1width - (ht.Default.getTextSize('升压站', ' '+ Node614_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node614_1align === 'center') {
- Node614_1textStart = -3;
- Node614_1textWidth = Node614_1width;
- Node614_1lineStart = Node614_1width - ht.Default.getTextSize('升压站', ' '+ Node614_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node614_1.setImage(GD.getTextJSON(Node614_1width, Node614_1height, false, true, false, ' '+ Node614_1fontSize + 'px "Arial"'))
- Node614_1.setPosition(12*ratio.ratioX, 418*ratio.ratioY);
- Node614_1.setWidth(Node614_1width);
- Node614_1.setHeight(Node614_1height);
- Node614_1._nodeType = 'text';
- Node614_1._disallowEvert = true;
- Node614_1.setRotation(0*Math.PI/180);
- Node614_1.a('node.width', Node614_1width);
- Node614_1.a('node.height', Node614_1height);
- Node614_1.a('node.rect', [0, 0, Node614_1width, Node614_1height]);
- Node614_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node614_1.a('node.borderwidth', 0);
- Node614_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node614_1.a('node.gradient','');
- Node614_1.a('node.gradientcolor','');
- Node614_1.a('node.text','升压站');
- Node614_1.a('node.textalign','left');
- Node614_1.a('node.textvAlign','middle');
- Node614_1.a('node.textrect', [Node614_1textStart, 0, Node614_1textWidth, Node614_1height]);
- Node614_1.a('node.color','rgba(0,0,0,1)');
- Node614_1.a('node.font',' '+ Node614_1fontSize + 'px "Arial"');
- Node614_1.a('node.textvisible',false);
- Node614_1.a('node.linefeed',true);
- if (true) {
- Node614_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node614_1.a('node.text') || '升压站';
- var color=Node614_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node614_1width,Node614_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node614_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node614_1.a('node.underlinepoints',[Node614_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node614_1fontSize + 2 , ht.Default.getTextSize('升压站', ' '+ Node614_1fontSize + 'px "Arial"').width + 6, (Node614_1height - Node614_1fontSize) * 0.5*_ratio.ratioY + Node614_1fontSize + 2 ]);
- Node614_1.a('node.underlinevisible',false);
- Node614_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node614_1);
- zoomNodeList.push({
- node: Node614_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node615_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node615_0 = new ht.Node();
- Node615_0.setPosition(13*ratio.ratioX, 520*ratio.ratioY);
- Node615_0.setSize(27*ratioX, 101*ratioY);
- Node615_0.setImage('imgimage//left_menu_over0.png');
- Node615_0.setRotation(0*Math.PI/180);
- Node615_0._zoomBy = 'Default';
- Node615_0._nodeType = 'image';
- Node615_0._disallowEvert = true;
- dataModel.add(Node615_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node615_1 = new ht.Node();
- var Node615_1textStart, Node615_1textWidth, Node615_1lineStart, Node615_1align = 'left', Node615_1fontSize = 18.66662*_ratio.ratioY,Node615_1width = 23*_ratio.ratioX, Node615_1height = 76*_ratio.ratioY;
- (function () {
- if (Node615_1align === 'left') {
- Node615_1textStart = Node615_1fontSize * 0.2 > 2 ? Node615_1fontSize * 0.2 - 4 : Node615_1fontSize * 0.2 - 9;
- Node615_1textWidth = Node615_1width;
- Node615_1lineStart = 1;
- } else if (Node615_1align === 'right') {
- Node615_1textStart = 0;
- Node615_1textWidth =Node615_1fontSize <= 8 ? Node615_1width + Node615_1fontSize * 0.2 + 6 : Node615_1width - Node615_1fontSize * 0.2;
- Node615_1lineStart = (Node615_1width - (ht.Default.getTextSize('测风塔', ' '+ Node615_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node615_1align === 'center') {
- Node615_1textStart = -3;
- Node615_1textWidth = Node615_1width;
- Node615_1lineStart = Node615_1width - ht.Default.getTextSize('测风塔', ' '+ Node615_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node615_1.setImage(GD.getTextJSON(Node615_1width, Node615_1height, false, true, false, ' '+ Node615_1fontSize + 'px "Arial"'))
- Node615_1.setPosition(12*ratio.ratioX, 518*ratio.ratioY);
- Node615_1.setWidth(Node615_1width);
- Node615_1.setHeight(Node615_1height);
- Node615_1._nodeType = 'text';
- Node615_1._disallowEvert = true;
- Node615_1.setRotation(0*Math.PI/180);
- Node615_1.a('node.width', Node615_1width);
- Node615_1.a('node.height', Node615_1height);
- Node615_1.a('node.rect', [0, 0, Node615_1width, Node615_1height]);
- Node615_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node615_1.a('node.borderwidth', 0);
- Node615_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node615_1.a('node.gradient','');
- Node615_1.a('node.gradientcolor','');
- Node615_1.a('node.text','测风塔');
- Node615_1.a('node.textalign','left');
- Node615_1.a('node.textvAlign','middle');
- Node615_1.a('node.textrect', [Node615_1textStart, 0, Node615_1textWidth, Node615_1height]);
- Node615_1.a('node.color','rgba(0,0,0,1)');
- Node615_1.a('node.font',' '+ Node615_1fontSize + 'px "Arial"');
- Node615_1.a('node.textvisible',false);
- Node615_1.a('node.linefeed',true);
- if (true) {
- Node615_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node615_1.a('node.text') || '测风塔';
- var color=Node615_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node615_1width,Node615_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node615_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node615_1.a('node.underlinepoints',[Node615_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node615_1fontSize + 2 , ht.Default.getTextSize('测风塔', ' '+ Node615_1fontSize + 'px "Arial"').width + 6, (Node615_1height - Node615_1fontSize) * 0.5*_ratio.ratioY + Node615_1fontSize + 2 ]);
- Node615_1.a('node.underlinevisible',false);
- Node615_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node615_1);
- zoomNodeList.push({
- node: Node615_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node616_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node616_0 = new ht.Node();
- Node616_0.setPosition(13*ratio.ratioX, 521*ratio.ratioY);
- Node616_0.setSize(27*ratioX, 101*ratioY);
- Node616_0.setImage('imgimage//left_menu_out0.png');
- Node616_0.setRotation(0*Math.PI/180);
- Node616_0._zoomBy = 'Default';
- Node616_0._nodeType = 'image';
- Node616_0._disallowEvert = true;
- dataModel.add(Node616_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node616_1 = new ht.Node();
- var Node616_1textStart, Node616_1textWidth, Node616_1lineStart, Node616_1align = 'left', Node616_1fontSize = 18.66662*_ratio.ratioY,Node616_1width = 23*_ratio.ratioX, Node616_1height = 76*_ratio.ratioY;
- (function () {
- if (Node616_1align === 'left') {
- Node616_1textStart = Node616_1fontSize * 0.2 > 2 ? Node616_1fontSize * 0.2 - 4 : Node616_1fontSize * 0.2 - 9;
- Node616_1textWidth = Node616_1width;
- Node616_1lineStart = 1;
- } else if (Node616_1align === 'right') {
- Node616_1textStart = 0;
- Node616_1textWidth =Node616_1fontSize <= 8 ? Node616_1width + Node616_1fontSize * 0.2 + 6 : Node616_1width - Node616_1fontSize * 0.2;
- Node616_1lineStart = (Node616_1width - (ht.Default.getTextSize('测风塔', ' '+ Node616_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node616_1align === 'center') {
- Node616_1textStart = -3;
- Node616_1textWidth = Node616_1width;
- Node616_1lineStart = Node616_1width - ht.Default.getTextSize('测风塔', ' '+ Node616_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node616_1.setImage(GD.getTextJSON(Node616_1width, Node616_1height, false, true, false, ' '+ Node616_1fontSize + 'px "Arial"'))
- Node616_1.setPosition(12*ratio.ratioX, 519*ratio.ratioY);
- Node616_1.setWidth(Node616_1width);
- Node616_1.setHeight(Node616_1height);
- Node616_1._nodeType = 'text';
- Node616_1._disallowEvert = true;
- Node616_1.setRotation(0*Math.PI/180);
- Node616_1.a('node.width', Node616_1width);
- Node616_1.a('node.height', Node616_1height);
- Node616_1.a('node.rect', [0, 0, Node616_1width, Node616_1height]);
- Node616_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node616_1.a('node.borderwidth', 0);
- Node616_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node616_1.a('node.gradient','');
- Node616_1.a('node.gradientcolor','');
- Node616_1.a('node.text','测风塔');
- Node616_1.a('node.textalign','left');
- Node616_1.a('node.textvAlign','middle');
- Node616_1.a('node.textrect', [Node616_1textStart, 0, Node616_1textWidth, Node616_1height]);
- Node616_1.a('node.color','rgba(0,0,0,1)');
- Node616_1.a('node.font',' '+ Node616_1fontSize + 'px "Arial"');
- Node616_1.a('node.textvisible',false);
- Node616_1.a('node.linefeed',true);
- if (true) {
- Node616_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node616_1.a('node.text') || '测风塔';
- var color=Node616_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node616_1width,Node616_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node616_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node616_1.a('node.underlinepoints',[Node616_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node616_1fontSize + 2 , ht.Default.getTextSize('测风塔', ' '+ Node616_1fontSize + 'px "Arial"').width + 6, (Node616_1height - Node616_1fontSize) * 0.5*_ratio.ratioY + Node616_1fontSize + 2 ]);
- Node616_1.a('node.underlinevisible',false);
- Node616_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node616_1);
- zoomNodeList.push({
- node: Node616_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node617_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node617_0 = new ht.Node();
- Node617_0.setPosition(13*ratio.ratioX, 620*ratio.ratioY);
- Node617_0.setSize(27*ratioX, 101*ratioY);
- Node617_0.setImage('imgimage//left_menu_over0.png');
- Node617_0.setRotation(0*Math.PI/180);
- Node617_0._zoomBy = 'Default';
- Node617_0._nodeType = 'image';
- Node617_0._disallowEvert = true;
- dataModel.add(Node617_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node617_1 = new ht.Node();
- var Node617_1textStart, Node617_1textWidth, Node617_1lineStart, Node617_1align = 'left', Node617_1fontSize = 18.66662*_ratio.ratioY,Node617_1width = 23*_ratio.ratioX, Node617_1height = 76*_ratio.ratioY;
- (function () {
- if (Node617_1align === 'left') {
- Node617_1textStart = Node617_1fontSize * 0.2 > 2 ? Node617_1fontSize * 0.2 - 4 : Node617_1fontSize * 0.2 - 9;
- Node617_1textWidth = Node617_1width;
- Node617_1lineStart = 1;
- } else if (Node617_1align === 'right') {
- Node617_1textStart = 0;
- Node617_1textWidth =Node617_1fontSize <= 8 ? Node617_1width + Node617_1fontSize * 0.2 + 6 : Node617_1width - Node617_1fontSize * 0.2;
- Node617_1lineStart = (Node617_1width - (ht.Default.getTextSize('风机信息', ' '+ Node617_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node617_1align === 'center') {
- Node617_1textStart = -3;
- Node617_1textWidth = Node617_1width;
- Node617_1lineStart = Node617_1width - ht.Default.getTextSize('风机信息', ' '+ Node617_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node617_1.setImage(GD.getTextJSON(Node617_1width, Node617_1height, false, true, false, ' '+ Node617_1fontSize + 'px "Arial"'))
- Node617_1.setPosition(12*ratio.ratioX, 618*ratio.ratioY);
- Node617_1.setWidth(Node617_1width);
- Node617_1.setHeight(Node617_1height);
- Node617_1._nodeType = 'text';
- Node617_1._disallowEvert = true;
- Node617_1.setRotation(0*Math.PI/180);
- Node617_1.a('node.width', Node617_1width);
- Node617_1.a('node.height', Node617_1height);
- Node617_1.a('node.rect', [0, 0, Node617_1width, Node617_1height]);
- Node617_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node617_1.a('node.borderwidth', 0);
- Node617_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node617_1.a('node.gradient','');
- Node617_1.a('node.gradientcolor','');
- Node617_1.a('node.text','风机信息');
- Node617_1.a('node.textalign','left');
- Node617_1.a('node.textvAlign','middle');
- Node617_1.a('node.textrect', [Node617_1textStart, 0, Node617_1textWidth, Node617_1height]);
- Node617_1.a('node.color','rgba(0,0,0,1)');
- Node617_1.a('node.font',' '+ Node617_1fontSize + 'px "Arial"');
- Node617_1.a('node.textvisible',false);
- Node617_1.a('node.linefeed',true);
- if (true) {
- Node617_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node617_1.a('node.text') || '风机信息';
- var color=Node617_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node617_1width,Node617_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node617_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node617_1.a('node.underlinepoints',[Node617_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node617_1fontSize + 2 , ht.Default.getTextSize('风机信息', ' '+ Node617_1fontSize + 'px "Arial"').width + 6, (Node617_1height - Node617_1fontSize) * 0.5*_ratio.ratioY + Node617_1fontSize + 2 ]);
- Node617_1.a('node.underlinevisible',false);
- Node617_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node617_1);
- zoomNodeList.push({
- node: Node617_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node618_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node618_0 = new ht.Node();
- Node618_0.setPosition(13*ratio.ratioX, 621*ratio.ratioY);
- Node618_0.setSize(27*ratioX, 101*ratioY);
- Node618_0.setImage('imgimage//left_menu_out0.png');
- Node618_0.setRotation(0*Math.PI/180);
- Node618_0._zoomBy = 'Default';
- Node618_0._nodeType = 'image';
- Node618_0._disallowEvert = true;
- dataModel.add(Node618_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node618_1 = new ht.Node();
- var Node618_1textStart, Node618_1textWidth, Node618_1lineStart, Node618_1align = 'left', Node618_1fontSize = 18.66662*_ratio.ratioY,Node618_1width = 23*_ratio.ratioX, Node618_1height = 76*_ratio.ratioY;
- (function () {
- if (Node618_1align === 'left') {
- Node618_1textStart = Node618_1fontSize * 0.2 > 2 ? Node618_1fontSize * 0.2 - 4 : Node618_1fontSize * 0.2 - 9;
- Node618_1textWidth = Node618_1width;
- Node618_1lineStart = 1;
- } else if (Node618_1align === 'right') {
- Node618_1textStart = 0;
- Node618_1textWidth =Node618_1fontSize <= 8 ? Node618_1width + Node618_1fontSize * 0.2 + 6 : Node618_1width - Node618_1fontSize * 0.2;
- Node618_1lineStart = (Node618_1width - (ht.Default.getTextSize('风机信息', ' '+ Node618_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node618_1align === 'center') {
- Node618_1textStart = -3;
- Node618_1textWidth = Node618_1width;
- Node618_1lineStart = Node618_1width - ht.Default.getTextSize('风机信息', ' '+ Node618_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node618_1.setImage(GD.getTextJSON(Node618_1width, Node618_1height, false, true, false, ' '+ Node618_1fontSize + 'px "Arial"'))
- Node618_1.setPosition(12*ratio.ratioX, 619*ratio.ratioY);
- Node618_1.setWidth(Node618_1width);
- Node618_1.setHeight(Node618_1height);
- Node618_1._nodeType = 'text';
- Node618_1._disallowEvert = true;
- Node618_1.setRotation(0*Math.PI/180);
- Node618_1.a('node.width', Node618_1width);
- Node618_1.a('node.height', Node618_1height);
- Node618_1.a('node.rect', [0, 0, Node618_1width, Node618_1height]);
- Node618_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node618_1.a('node.borderwidth', 0);
- Node618_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node618_1.a('node.gradient','');
- Node618_1.a('node.gradientcolor','');
- Node618_1.a('node.text','风机信息');
- Node618_1.a('node.textalign','left');
- Node618_1.a('node.textvAlign','middle');
- Node618_1.a('node.textrect', [Node618_1textStart, 0, Node618_1textWidth, Node618_1height]);
- Node618_1.a('node.color','rgba(0,0,0,1)');
- Node618_1.a('node.font',' '+ Node618_1fontSize + 'px "Arial"');
- Node618_1.a('node.textvisible',false);
- Node618_1.a('node.linefeed',true);
- if (true) {
- Node618_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node618_1.a('node.text') || '风机信息';
- var color=Node618_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node618_1width,Node618_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node618_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node618_1.a('node.underlinepoints',[Node618_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node618_1fontSize + 2 , ht.Default.getTextSize('风机信息', ' '+ Node618_1fontSize + 'px "Arial"').width + 6, (Node618_1height - Node618_1fontSize) * 0.5*_ratio.ratioY + Node618_1fontSize + 2 ]);
- Node618_1.a('node.underlinevisible',false);
- Node618_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node618_1);
- zoomNodeList.push({
- node: Node618_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node619_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node619_0 = new ht.Node();
- Node619_0.setPosition(13*ratio.ratioX, 721*ratio.ratioY);
- Node619_0.setSize(27*ratioX, 101*ratioY);
- Node619_0.setImage('imgimage//left_menu_out0.png');
- Node619_0.setRotation(0*Math.PI/180);
- Node619_0._zoomBy = 'Default';
- Node619_0._nodeType = 'image';
- Node619_0._disallowEvert = true;
- dataModel.add(Node619_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node619_1 = new ht.Node();
- var Node619_1textStart, Node619_1textWidth, Node619_1lineStart, Node619_1align = 'left', Node619_1fontSize = 18.66662*_ratio.ratioY,Node619_1width = 23*_ratio.ratioX, Node619_1height = 76*_ratio.ratioY;
- (function () {
- if (Node619_1align === 'left') {
- Node619_1textStart = Node619_1fontSize * 0.2 > 2 ? Node619_1fontSize * 0.2 - 4 : Node619_1fontSize * 0.2 - 9;
- Node619_1textWidth = Node619_1width;
- Node619_1lineStart = 1;
- } else if (Node619_1align === 'right') {
- Node619_1textStart = 0;
- Node619_1textWidth =Node619_1fontSize <= 8 ? Node619_1width + Node619_1fontSize * 0.2 + 6 : Node619_1width - Node619_1fontSize * 0.2;
- Node619_1lineStart = (Node619_1width - (ht.Default.getTextSize('风机矩阵', ' '+ Node619_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node619_1align === 'center') {
- Node619_1textStart = -3;
- Node619_1textWidth = Node619_1width;
- Node619_1lineStart = Node619_1width - ht.Default.getTextSize('风机矩阵', ' '+ Node619_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node619_1.setImage(GD.getTextJSON(Node619_1width, Node619_1height, false, true, false, ' '+ Node619_1fontSize + 'px "Arial"'))
- Node619_1.setPosition(12*ratio.ratioX, 719*ratio.ratioY);
- Node619_1.setWidth(Node619_1width);
- Node619_1.setHeight(Node619_1height);
- Node619_1._nodeType = 'text';
- Node619_1._disallowEvert = true;
- Node619_1.setRotation(0*Math.PI/180);
- Node619_1.a('node.width', Node619_1width);
- Node619_1.a('node.height', Node619_1height);
- Node619_1.a('node.rect', [0, 0, Node619_1width, Node619_1height]);
- Node619_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node619_1.a('node.borderwidth', 0);
- Node619_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node619_1.a('node.gradient','');
- Node619_1.a('node.gradientcolor','');
- Node619_1.a('node.text','风机矩阵');
- Node619_1.a('node.textalign','left');
- Node619_1.a('node.textvAlign','middle');
- Node619_1.a('node.textrect', [Node619_1textStart, 0, Node619_1textWidth, Node619_1height]);
- Node619_1.a('node.color','rgba(0,0,0,1)');
- Node619_1.a('node.font',' '+ Node619_1fontSize + 'px "Arial"');
- Node619_1.a('node.textvisible',false);
- Node619_1.a('node.linefeed',true);
- if (true) {
- Node619_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node619_1.a('node.text') || '风机矩阵';
- var color=Node619_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node619_1width,Node619_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node619_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node619_1.a('node.underlinepoints',[Node619_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node619_1fontSize + 2 , ht.Default.getTextSize('风机矩阵', ' '+ Node619_1fontSize + 'px "Arial"').width + 6, (Node619_1height - Node619_1fontSize) * 0.5*_ratio.ratioY + Node619_1fontSize + 2 ]);
- Node619_1.a('node.underlinevisible',false);
- Node619_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node619_1);
- zoomNodeList.push({
- node: Node619_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node620_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node620_0 = new ht.Node();
- Node620_0.setPosition(13*ratio.ratioX, 721*ratio.ratioY);
- Node620_0.setSize(27*ratioX, 101*ratioY);
- Node620_0.setImage('imgimage//left_menu_over0.png');
- Node620_0.setRotation(0*Math.PI/180);
- Node620_0._zoomBy = 'Default';
- Node620_0._nodeType = 'image';
- Node620_0._disallowEvert = true;
- dataModel.add(Node620_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node620_1 = new ht.Node();
- var Node620_1textStart, Node620_1textWidth, Node620_1lineStart, Node620_1align = 'left', Node620_1fontSize = 18.66662*_ratio.ratioY,Node620_1width = 23*_ratio.ratioX, Node620_1height = 76*_ratio.ratioY;
- (function () {
- if (Node620_1align === 'left') {
- Node620_1textStart = Node620_1fontSize * 0.2 > 2 ? Node620_1fontSize * 0.2 - 4 : Node620_1fontSize * 0.2 - 9;
- Node620_1textWidth = Node620_1width;
- Node620_1lineStart = 1;
- } else if (Node620_1align === 'right') {
- Node620_1textStart = 0;
- Node620_1textWidth =Node620_1fontSize <= 8 ? Node620_1width + Node620_1fontSize * 0.2 + 6 : Node620_1width - Node620_1fontSize * 0.2;
- Node620_1lineStart = (Node620_1width - (ht.Default.getTextSize('风机矩阵', ' '+ Node620_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node620_1align === 'center') {
- Node620_1textStart = -3;
- Node620_1textWidth = Node620_1width;
- Node620_1lineStart = Node620_1width - ht.Default.getTextSize('风机矩阵', ' '+ Node620_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node620_1.setImage(GD.getTextJSON(Node620_1width, Node620_1height, false, true, false, ' '+ Node620_1fontSize + 'px "Arial"'))
- Node620_1.setPosition(12*ratio.ratioX, 719*ratio.ratioY);
- Node620_1.setWidth(Node620_1width);
- Node620_1.setHeight(Node620_1height);
- Node620_1._nodeType = 'text';
- Node620_1._disallowEvert = true;
- Node620_1.setRotation(0*Math.PI/180);
- Node620_1.a('node.width', Node620_1width);
- Node620_1.a('node.height', Node620_1height);
- Node620_1.a('node.rect', [0, 0, Node620_1width, Node620_1height]);
- Node620_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node620_1.a('node.borderwidth', 0);
- Node620_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node620_1.a('node.gradient','');
- Node620_1.a('node.gradientcolor','');
- Node620_1.a('node.text','风机矩阵');
- Node620_1.a('node.textalign','left');
- Node620_1.a('node.textvAlign','middle');
- Node620_1.a('node.textrect', [Node620_1textStart, 0, Node620_1textWidth, Node620_1height]);
- Node620_1.a('node.color','rgba(0,0,0,1)');
- Node620_1.a('node.font',' '+ Node620_1fontSize + 'px "Arial"');
- Node620_1.a('node.textvisible',false);
- Node620_1.a('node.linefeed',true);
- if (true) {
- Node620_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node620_1.a('node.text') || '风机矩阵';
- var color=Node620_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node620_1width,Node620_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node620_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node620_1.a('node.underlinepoints',[Node620_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node620_1fontSize + 2 , ht.Default.getTextSize('风机矩阵', ' '+ Node620_1fontSize + 'px "Arial"').width + 6, (Node620_1height - Node620_1fontSize) * 0.5*_ratio.ratioY + Node620_1fontSize + 2 ]);
- Node620_1.a('node.underlinevisible',false);
- Node620_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node620_1);
- zoomNodeList.push({
- node: Node620_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node621 = new ht.Node();
- var Node621textStart, Node621textWidth, Node621lineStart, Node621align = 'left', Node621fontSize = 13.3333*_ratio.ratioY,Node621width = 87*_ratio.ratioX, Node621height = 32*_ratio.ratioY;
- (function () {
- if (Node621align === 'left') {
- Node621textStart = Node621fontSize * 0.2 > 2 ? Node621fontSize * 0.2 - 4 : Node621fontSize * 0.2 - 9;
- Node621textWidth = Node621width;
- Node621lineStart = 1;
- } else if (Node621align === 'right') {
- Node621textStart = 0;
- Node621textWidth =Node621fontSize <= 8 ? Node621width + Node621fontSize * 0.2 + 6 : Node621width - Node621fontSize * 0.2;
- Node621lineStart = (Node621width - (ht.Default.getTextSize('上网电量', ' '+ Node621fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node621align === 'center') {
- Node621textStart = -3;
- Node621textWidth = Node621width;
- Node621lineStart = Node621width - ht.Default.getTextSize('上网电量', ' '+ Node621fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node621.setImage(GD.getTextJSON(Node621width, Node621height, true, false, false, ' '+ Node621fontSize + 'px "微软雅黑"'))
- Node621.setPosition(230*ratio.ratioX, 150*ratio.ratioY);
- Node621.setWidth(Node621width);
- Node621.setHeight(Node621height);
- Node621._nodeType = 'text';
- Node621._disallowEvert = true;
- Node621.setRotation(0*Math.PI/180);
- Node621.a('node.width', Node621width);
- Node621.a('node.height', Node621height);
- Node621.a('node.rect', [0, 0, Node621width, Node621height]);
- Node621.a('node.bordercolor','rgba(0,0,0,1)');
- Node621.a('node.borderwidth', 0);
- Node621.a('node.background','' || 'rgba(0,0,0,0)');
- Node621.a('node.gradient','');
- Node621.a('node.gradientcolor','');
- Node621.a('node.text','上网电量');
- Node621.a('node.textalign','left');
- Node621.a('node.textvAlign','middle');
- Node621.a('node.textrect', [Node621textStart, 0, Node621textWidth, Node621height]);
- Node621.a('node.color','rgba(0,0,0,1)');
- Node621.a('node.font',' '+ Node621fontSize + 'px "微软雅黑"');
- Node621.a('node.textvisible',true);
- Node621.a('node.linefeed',false);
- if (false) {
- Node621.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node621.a('node.text') || '上网电量';
- var color=Node621.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node621width,Node621height,13.3333*_ratio.ratioY,"left",color,' '+ Node621fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node621.a('node.underlinepoints',[Node621lineStart, (32 - 13.3333) * 0.5 * _ratio.ratioY + Node621fontSize + 2 , ht.Default.getTextSize('上网电量', ' '+ Node621fontSize + 'px "微软雅黑"').width + 6, (Node621height - Node621fontSize) * 0.5*_ratio.ratioY + Node621fontSize + 2 ]);
- Node621.a('node.underlinevisible',false);
- Node621.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node621);
- zoomNodeList.push({
- node: Node621,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node622 = new ht.Node();
- var Node622textStart, Node622textWidth, Node622lineStart, Node622align = 'center', Node622fontSize = 13.3333*_ratio.ratioY,Node622width = 113*_ratio.ratioX, Node622height = 32*_ratio.ratioY;
- (function () {
- if (Node622align === 'left') {
- Node622textStart = Node622fontSize * 0.2 > 2 ? Node622fontSize * 0.2 - 4 : Node622fontSize * 0.2 - 9;
- Node622textWidth = Node622width;
- Node622lineStart = 1;
- } else if (Node622align === 'right') {
- Node622textStart = 0;
- Node622textWidth =Node622fontSize <= 8 ? Node622width + Node622fontSize * 0.2 + 6 : Node622width - Node622fontSize * 0.2;
- Node622lineStart = (Node622width - (ht.Default.getTextSize('日性能损失电量', ' '+ Node622fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node622align === 'center') {
- Node622textStart = -3;
- Node622textWidth = Node622width;
- Node622lineStart = Node622width - ht.Default.getTextSize('日性能损失电量', ' '+ Node622fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node622.setImage(GD.getTextJSON(Node622width, Node622height, true, false, false, ' '+ Node622fontSize + 'px "微软雅黑"'))
- Node622.setPosition(532*ratio.ratioX, 151*ratio.ratioY);
- Node622.setWidth(Node622width);
- Node622.setHeight(Node622height);
- Node622._nodeType = 'text';
- Node622._disallowEvert = true;
- Node622.setRotation(0*Math.PI/180);
- Node622.a('node.width', Node622width);
- Node622.a('node.height', Node622height);
- Node622.a('node.rect', [0, 0, Node622width, Node622height]);
- Node622.a('node.bordercolor','rgba(64,64,64,1)');
- Node622.a('node.borderwidth', 0);
- Node622.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node622.a('node.gradient','');
- Node622.a('node.gradientcolor','rgba(255,255,255,0)');
- Node622.a('node.text','日性能损失电量');
- Node622.a('node.textalign','center');
- Node622.a('node.textvAlign','middle');
- Node622.a('node.textrect', [Node622textStart, 0, Node622textWidth, Node622height]);
- Node622.a('node.color','rgba(64,64,64,1)');
- Node622.a('node.font',' '+ Node622fontSize + 'px "微软雅黑"');
- Node622.a('node.textvisible',true);
- Node622.a('node.linefeed',false);
- if (false) {
- Node622.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node622.a('node.text') || '日性能损失电量';
- var color=Node622.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node622width,Node622height,13.3333*_ratio.ratioY,"center",color,' '+ Node622fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node622.a('node.underlinepoints',[Node622lineStart, (32 - 13.3333) * 0.5 * _ratio.ratioY + Node622fontSize + 2 , ht.Default.getTextSize('日性能损失电量', ' '+ Node622fontSize + 'px "微软雅黑"').width + 6, (Node622height - Node622fontSize) * 0.5*_ratio.ratioY + Node622fontSize + 2 ]);
- Node622.a('node.underlinevisible',false);
- Node622.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node622);
- zoomNodeList.push({
- node: Node622,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node623 = new ht.Node();
- var Node623textStart, Node623textWidth, Node623lineStart, Node623align = 'center', Node623fontSize = 13.3333*_ratio.ratioY,Node623width = 110*_ratio.ratioX, Node623height = 32*_ratio.ratioY;
- (function () {
- if (Node623align === 'left') {
- Node623textStart = Node623fontSize * 0.2 > 2 ? Node623fontSize * 0.2 - 4 : Node623fontSize * 0.2 - 9;
- Node623textWidth = Node623width;
- Node623lineStart = 1;
- } else if (Node623align === 'right') {
- Node623textStart = 0;
- Node623textWidth =Node623fontSize <= 8 ? Node623width + Node623fontSize * 0.2 + 6 : Node623width - Node623fontSize * 0.2;
- Node623lineStart = (Node623width - (ht.Default.getTextSize('月性能损失电量', ' '+ Node623fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node623align === 'center') {
- Node623textStart = -3;
- Node623textWidth = Node623width;
- Node623lineStart = Node623width - ht.Default.getTextSize('月性能损失电量', ' '+ Node623fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node623.setImage(GD.getTextJSON(Node623width, Node623height, true, false, false, ' '+ Node623fontSize + 'px "微软雅黑"'))
- Node623.setPosition(811*ratio.ratioX, 151*ratio.ratioY);
- Node623.setWidth(Node623width);
- Node623.setHeight(Node623height);
- Node623._nodeType = 'text';
- Node623._disallowEvert = true;
- Node623.setRotation(0*Math.PI/180);
- Node623.a('node.width', Node623width);
- Node623.a('node.height', Node623height);
- Node623.a('node.rect', [0, 0, Node623width, Node623height]);
- Node623.a('node.bordercolor','rgba(0,0,0,1)');
- Node623.a('node.borderwidth', 0);
- Node623.a('node.background','' || 'rgba(0,0,0,0)');
- Node623.a('node.gradient','');
- Node623.a('node.gradientcolor','');
- Node623.a('node.text','月性能损失电量');
- Node623.a('node.textalign','center');
- Node623.a('node.textvAlign','middle');
- Node623.a('node.textrect', [Node623textStart, 0, Node623textWidth, Node623height]);
- Node623.a('node.color','rgba(0,0,0,1)');
- Node623.a('node.font',' '+ Node623fontSize + 'px "微软雅黑"');
- Node623.a('node.textvisible',true);
- Node623.a('node.linefeed',false);
- if (false) {
- Node623.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node623.a('node.text') || '月性能损失电量';
- var color=Node623.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node623width,Node623height,13.3333*_ratio.ratioY,"center",color,' '+ Node623fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node623.a('node.underlinepoints',[Node623lineStart, (32 - 13.3333) * 0.5 * _ratio.ratioY + Node623fontSize + 2 , ht.Default.getTextSize('月性能损失电量', ' '+ Node623fontSize + 'px "微软雅黑"').width + 6, (Node623height - Node623fontSize) * 0.5*_ratio.ratioY + Node623fontSize + 2 ]);
- Node623.a('node.underlinevisible',false);
- Node623.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node623);
- zoomNodeList.push({
- node: Node623,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node624 = new ht.Node();
- var Node624textStart, Node624textWidth, Node624lineStart, Node624align = 'center', Node624fontSize = 13.3333*_ratio.ratioY,Node624width = 110*_ratio.ratioX, Node624height = 32*_ratio.ratioY;
- (function () {
- if (Node624align === 'left') {
- Node624textStart = Node624fontSize * 0.2 > 2 ? Node624fontSize * 0.2 - 4 : Node624fontSize * 0.2 - 9;
- Node624textWidth = Node624width;
- Node624lineStart = 1;
- } else if (Node624align === 'right') {
- Node624textStart = 0;
- Node624textWidth =Node624fontSize <= 8 ? Node624width + Node624fontSize * 0.2 + 6 : Node624width - Node624fontSize * 0.2;
- Node624lineStart = (Node624width - (ht.Default.getTextSize('年性能损失电量', ' '+ Node624fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node624align === 'center') {
- Node624textStart = -3;
- Node624textWidth = Node624width;
- Node624lineStart = Node624width - ht.Default.getTextSize('年性能损失电量', ' '+ Node624fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node624.setImage(GD.getTextJSON(Node624width, Node624height, true, false, false, ' '+ Node624fontSize + 'px "微软雅黑"'))
- Node624.setPosition(1091*ratio.ratioX, 151*ratio.ratioY);
- Node624.setWidth(Node624width);
- Node624.setHeight(Node624height);
- Node624._nodeType = 'text';
- Node624._disallowEvert = true;
- Node624.setRotation(0*Math.PI/180);
- Node624.a('node.width', Node624width);
- Node624.a('node.height', Node624height);
- Node624.a('node.rect', [0, 0, Node624width, Node624height]);
- Node624.a('node.bordercolor','rgba(0,0,0,1)');
- Node624.a('node.borderwidth', 0);
- Node624.a('node.background','' || 'rgba(0,0,0,0)');
- Node624.a('node.gradient','');
- Node624.a('node.gradientcolor','');
- Node624.a('node.text','年性能损失电量');
- Node624.a('node.textalign','center');
- Node624.a('node.textvAlign','middle');
- Node624.a('node.textrect', [Node624textStart, 0, Node624textWidth, Node624height]);
- Node624.a('node.color','rgba(0,0,0,1)');
- Node624.a('node.font',' '+ Node624fontSize + 'px "微软雅黑"');
- Node624.a('node.textvisible',true);
- Node624.a('node.linefeed',false);
- if (false) {
- Node624.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node624.a('node.text') || '年性能损失电量';
- var color=Node624.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node624width,Node624height,13.3333*_ratio.ratioY,"center",color,' '+ Node624fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node624.a('node.underlinepoints',[Node624lineStart, (32 - 13.3333) * 0.5 * _ratio.ratioY + Node624fontSize + 2 , ht.Default.getTextSize('年性能损失电量', ' '+ Node624fontSize + 'px "微软雅黑"').width + 6, (Node624height - Node624fontSize) * 0.5*_ratio.ratioY + Node624fontSize + 2 ]);
- Node624.a('node.underlinevisible',false);
- Node624.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node624);
- zoomNodeList.push({
- node: Node624,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node625 = new ht.Node();
- var Node625textStart, Node625textWidth, Node625lineStart, Node625align = 'left', Node625fontSize = 13.3333*_ratio.ratioY,Node625width = 47*_ratio.ratioX, Node625height = 38*_ratio.ratioY;
- (function () {
- if (Node625align === 'left') {
- Node625textStart = Node625fontSize * 0.2 > 2 ? Node625fontSize * 0.2 - 4 : Node625fontSize * 0.2 - 9;
- Node625textWidth = Node625width;
- Node625lineStart = 1;
- } else if (Node625align === 'right') {
- Node625textStart = 0;
- Node625textWidth =Node625fontSize <= 8 ? Node625width + Node625fontSize * 0.2 + 6 : Node625width - Node625fontSize * 0.2;
- Node625lineStart = (Node625width - (ht.Default.getTextSize('运行', 'bold '+ Node625fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node625align === 'center') {
- Node625textStart = -3;
- Node625textWidth = Node625width;
- Node625lineStart = Node625width - ht.Default.getTextSize('运行', 'bold '+ Node625fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node625.setImage(GD.getTextJSON(Node625width, Node625height, true, false, false, 'bold '+ Node625fontSize + 'px "Arial"'))
- Node625.setPosition(1506*ratio.ratioX, 53*ratio.ratioY);
- Node625.setWidth(Node625width);
- Node625.setHeight(Node625height);
- Node625._nodeType = 'text';
- Node625._disallowEvert = true;
- Node625.setRotation(0*Math.PI/180);
- Node625.a('node.width', Node625width);
- Node625.a('node.height', Node625height);
- Node625.a('node.rect', [0, 0, Node625width, Node625height]);
- Node625.a('node.bordercolor','rgba(0,0,0,1)');
- Node625.a('node.borderwidth', 0);
- Node625.a('node.background','' || 'rgba(0,0,0,0)');
- Node625.a('node.gradient','');
- Node625.a('node.gradientcolor','');
- Node625.a('node.text','运行');
- Node625.a('node.textalign','left');
- Node625.a('node.textvAlign','middle');
- Node625.a('node.textrect', [Node625textStart, 0, Node625textWidth, Node625height]);
- Node625.a('node.color','rgba(0,0,0,1)');
- Node625.a('node.font','bold '+ Node625fontSize + 'px "Arial"');
- Node625.a('node.textvisible',true);
- Node625.a('node.linefeed',false);
- if (false) {
- Node625.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node625.a('node.text') || '运行';
- var color=Node625.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node625width,Node625height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node625fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node625.a('node.underlinepoints',[Node625lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node625fontSize + 2 , ht.Default.getTextSize('运行', 'bold '+ Node625fontSize + 'px "Arial"').width + 6, (Node625height - Node625fontSize) * 0.5*_ratio.ratioY + Node625fontSize + 2 ]);
- Node625.a('node.underlinevisible',false);
- Node625.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node625);
- zoomNodeList.push({
- node: Node625,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node626 = new ht.Node();
- var Node626textStart, Node626textWidth, Node626lineStart, Node626align = 'left', Node626fontSize = 13.3333*_ratio.ratioY,Node626width = 47*_ratio.ratioX, Node626height = 38*_ratio.ratioY;
- (function () {
- if (Node626align === 'left') {
- Node626textStart = Node626fontSize * 0.2 > 2 ? Node626fontSize * 0.2 - 4 : Node626fontSize * 0.2 - 9;
- Node626textWidth = Node626width;
- Node626lineStart = 1;
- } else if (Node626align === 'right') {
- Node626textStart = 0;
- Node626textWidth =Node626fontSize <= 8 ? Node626width + Node626fontSize * 0.2 + 6 : Node626width - Node626fontSize * 0.2;
- Node626lineStart = (Node626width - (ht.Default.getTextSize('待机', 'bold '+ Node626fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node626align === 'center') {
- Node626textStart = -3;
- Node626textWidth = Node626width;
- Node626lineStart = Node626width - ht.Default.getTextSize('待机', 'bold '+ Node626fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node626.setImage(GD.getTextJSON(Node626width, Node626height, true, false, false, 'bold '+ Node626fontSize + 'px "Arial"'))
- Node626.setPosition(1644*ratio.ratioX, 53*ratio.ratioY);
- Node626.setWidth(Node626width);
- Node626.setHeight(Node626height);
- Node626._nodeType = 'text';
- Node626._disallowEvert = true;
- Node626.setRotation(0*Math.PI/180);
- Node626.a('node.width', Node626width);
- Node626.a('node.height', Node626height);
- Node626.a('node.rect', [0, 0, Node626width, Node626height]);
- Node626.a('node.bordercolor','rgba(0,0,0,1)');
- Node626.a('node.borderwidth', 0);
- Node626.a('node.background','' || 'rgba(0,0,0,0)');
- Node626.a('node.gradient','');
- Node626.a('node.gradientcolor','');
- Node626.a('node.text','待机');
- Node626.a('node.textalign','left');
- Node626.a('node.textvAlign','middle');
- Node626.a('node.textrect', [Node626textStart, 0, Node626textWidth, Node626height]);
- Node626.a('node.color','rgba(0,0,0,1)');
- Node626.a('node.font','bold '+ Node626fontSize + 'px "Arial"');
- Node626.a('node.textvisible',true);
- Node626.a('node.linefeed',false);
- if (false) {
- Node626.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node626.a('node.text') || '待机';
- var color=Node626.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node626width,Node626height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node626fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node626.a('node.underlinepoints',[Node626lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node626fontSize + 2 , ht.Default.getTextSize('待机', 'bold '+ Node626fontSize + 'px "Arial"').width + 6, (Node626height - Node626fontSize) * 0.5*_ratio.ratioY + Node626fontSize + 2 ]);
- Node626.a('node.underlinevisible',false);
- Node626.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node626);
- zoomNodeList.push({
- node: Node626,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node627 = new ht.Node();
- var Node627textStart, Node627textWidth, Node627lineStart, Node627align = 'left', Node627fontSize = 13.3333*_ratio.ratioY,Node627width = 47*_ratio.ratioX, Node627height = 38*_ratio.ratioY;
- (function () {
- if (Node627align === 'left') {
- Node627textStart = Node627fontSize * 0.2 > 2 ? Node627fontSize * 0.2 - 4 : Node627fontSize * 0.2 - 9;
- Node627textWidth = Node627width;
- Node627lineStart = 1;
- } else if (Node627align === 'right') {
- Node627textStart = 0;
- Node627textWidth =Node627fontSize <= 8 ? Node627width + Node627fontSize * 0.2 + 6 : Node627width - Node627fontSize * 0.2;
- Node627lineStart = (Node627width - (ht.Default.getTextSize('故障', 'bold '+ Node627fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node627align === 'center') {
- Node627textStart = -3;
- Node627textWidth = Node627width;
- Node627lineStart = Node627width - ht.Default.getTextSize('故障', 'bold '+ Node627fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node627.setImage(GD.getTextJSON(Node627width, Node627height, true, false, false, 'bold '+ Node627fontSize + 'px "Arial"'))
- Node627.setPosition(1782*ratio.ratioX, 53*ratio.ratioY);
- Node627.setWidth(Node627width);
- Node627.setHeight(Node627height);
- Node627._nodeType = 'text';
- Node627._disallowEvert = true;
- Node627.setRotation(0*Math.PI/180);
- Node627.a('node.width', Node627width);
- Node627.a('node.height', Node627height);
- Node627.a('node.rect', [0, 0, Node627width, Node627height]);
- Node627.a('node.bordercolor','rgba(0,0,0,1)');
- Node627.a('node.borderwidth', 0);
- Node627.a('node.background','' || 'rgba(0,0,0,0)');
- Node627.a('node.gradient','');
- Node627.a('node.gradientcolor','');
- Node627.a('node.text','故障');
- Node627.a('node.textalign','left');
- Node627.a('node.textvAlign','middle');
- Node627.a('node.textrect', [Node627textStart, 0, Node627textWidth, Node627height]);
- Node627.a('node.color','rgba(0,0,0,1)');
- Node627.a('node.font','bold '+ Node627fontSize + 'px "Arial"');
- Node627.a('node.textvisible',true);
- Node627.a('node.linefeed',false);
- if (false) {
- Node627.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node627.a('node.text') || '故障';
- var color=Node627.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node627width,Node627height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node627fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node627.a('node.underlinepoints',[Node627lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node627fontSize + 2 , ht.Default.getTextSize('故障', 'bold '+ Node627fontSize + 'px "Arial"').width + 6, (Node627height - Node627fontSize) * 0.5*_ratio.ratioY + Node627fontSize + 2 ]);
- Node627.a('node.underlinevisible',false);
- Node627.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node627);
- zoomNodeList.push({
- node: Node627,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node628 = new ht.Node();
- var Node628textStart, Node628textWidth, Node628lineStart, Node628align = 'center', Node628fontSize = 14.66663*_ratio.ratioY,Node628width = 59*_ratio.ratioX, Node628height = 26*_ratio.ratioY;
- (function () {
- if (Node628align === 'left') {
- Node628textStart = Node628fontSize * 0.2 > 2 ? Node628fontSize * 0.2 - 4 : Node628fontSize * 0.2 - 9;
- Node628textWidth = Node628width;
- Node628lineStart = 1;
- } else if (Node628align === 'right') {
- Node628textStart = 0;
- Node628textWidth =Node628fontSize <= 8 ? Node628width + Node628fontSize * 0.2 + 6 : Node628width - Node628fontSize * 0.2;
- Node628lineStart = (Node628width - (ht.Default.getTextSize('0', ' '+ Node628fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node628align === 'center') {
- Node628textStart = -3;
- Node628textWidth = Node628width;
- Node628lineStart = Node628width - ht.Default.getTextSize('0', ' '+ Node628fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node628.setImage(GD.getTextJSON(Node628width, Node628height, true, false, false, ' '+ Node628fontSize + 'px "Arial"'))
- Node628.setPosition(917*ratio.ratioX, 150*ratio.ratioY);
- Node628.setWidth(Node628width);
- Node628.setHeight(Node628height);
- Node628._nodeType = 'text';
- Node628._disallowEvert = true;
- Node628.setRotation(0*Math.PI/180);
- Node628.a('node.width', Node628width);
- Node628.a('node.height', Node628height);
- Node628.a('node.rect', [0, 0, Node628width, Node628height]);
- Node628.a('node.bordercolor','rgba(0,0,0,1)');
- Node628.a('node.borderwidth', 0);
- Node628.a('node.background','' || 'rgba(0,0,0,0)');
- Node628.a('node.gradient','');
- Node628.a('node.gradientcolor','');
- Node628.a('node.text','0');
- Node628.a('node.textalign','center');
- Node628.a('node.textvAlign','middle');
- Node628.a('node.textrect', [Node628textStart, 0, Node628textWidth, Node628height]);
- Node628.a('node.color','rgba(0,0,0,1)');
- Node628.a('node.font',' '+ Node628fontSize + 'px "Arial"');
- Node628.a('node.textvisible',true);
- Node628.a('node.linefeed',false);
- if (false) {
- Node628.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node628.a('node.text') || '0';
- var color=Node628.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node628width,Node628height,14.66663*_ratio.ratioY,"center",color,' '+ Node628fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node628.a('node.underlinepoints',[Node628lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node628fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node628fontSize + 'px "Arial"').width + 6, (Node628height - Node628fontSize) * 0.5*_ratio.ratioY + Node628fontSize + 2 ]);
- Node628.a('node.underlinevisible',false);
- Node628.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node628);
- zoomNodeList.push({
- node: Node628,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node629 = new ht.Node();
- var Node629textStart, Node629textWidth, Node629lineStart, Node629align = 'center', Node629fontSize = 13.3333*_ratio.ratioY,Node629width = 59*_ratio.ratioX, Node629height = 26*_ratio.ratioY;
- (function () {
- if (Node629align === 'left') {
- Node629textStart = Node629fontSize * 0.2 > 2 ? Node629fontSize * 0.2 - 4 : Node629fontSize * 0.2 - 9;
- Node629textWidth = Node629width;
- Node629lineStart = 1;
- } else if (Node629align === 'right') {
- Node629textStart = 0;
- Node629textWidth =Node629fontSize <= 8 ? Node629width + Node629fontSize * 0.2 + 6 : Node629width - Node629fontSize * 0.2;
- Node629lineStart = (Node629width - (ht.Default.getTextSize('万kWh', ' '+ Node629fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node629align === 'center') {
- Node629textStart = -3;
- Node629textWidth = Node629width;
- Node629lineStart = Node629width - ht.Default.getTextSize('万kWh', ' '+ Node629fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node629.setImage(GD.getTextJSON(Node629width, Node629height, true, false, false, ' '+ Node629fontSize + 'px "Arial"'))
- Node629.setPosition(998*ratio.ratioX, 151*ratio.ratioY);
- Node629.setWidth(Node629width);
- Node629.setHeight(Node629height);
- Node629._nodeType = 'text';
- Node629._disallowEvert = true;
- Node629.setRotation(0*Math.PI/180);
- Node629.a('node.width', Node629width);
- Node629.a('node.height', Node629height);
- Node629.a('node.rect', [0, 0, Node629width, Node629height]);
- Node629.a('node.bordercolor','rgba(128,128,128,1)');
- Node629.a('node.borderwidth', 0);
- Node629.a('node.background','' || 'rgba(0,0,0,0)');
- Node629.a('node.gradient','');
- Node629.a('node.gradientcolor','');
- Node629.a('node.text','万kWh');
- Node629.a('node.textalign','center');
- Node629.a('node.textvAlign','middle');
- Node629.a('node.textrect', [Node629textStart, 0, Node629textWidth, Node629height]);
- Node629.a('node.color','rgba(128,128,128,1)');
- Node629.a('node.font',' '+ Node629fontSize + 'px "Arial"');
- Node629.a('node.textvisible',true);
- Node629.a('node.linefeed',false);
- if (false) {
- Node629.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node629.a('node.text') || '万kWh';
- var color=Node629.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node629width,Node629height,13.3333*_ratio.ratioY,"center",color,' '+ Node629fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node629.a('node.underlinepoints',[Node629lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node629fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node629fontSize + 'px "Arial"').width + 6, (Node629height - Node629fontSize) * 0.5*_ratio.ratioY + Node629fontSize + 2 ]);
- Node629.a('node.underlinevisible',false);
- Node629.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node629);
- zoomNodeList.push({
- node: Node629,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node630 = new ht.Node();
- var Node630textStart, Node630textWidth, Node630lineStart, Node630align = 'center', Node630fontSize = 14.66663*_ratio.ratioY,Node630width = 59*_ratio.ratioX, Node630height = 26*_ratio.ratioY;
- (function () {
- if (Node630align === 'left') {
- Node630textStart = Node630fontSize * 0.2 > 2 ? Node630fontSize * 0.2 - 4 : Node630fontSize * 0.2 - 9;
- Node630textWidth = Node630width;
- Node630lineStart = 1;
- } else if (Node630align === 'right') {
- Node630textStart = 0;
- Node630textWidth =Node630fontSize <= 8 ? Node630width + Node630fontSize * 0.2 + 6 : Node630width - Node630fontSize * 0.2;
- Node630lineStart = (Node630width - (ht.Default.getTextSize('0', ' '+ Node630fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node630align === 'center') {
- Node630textStart = -3;
- Node630textWidth = Node630width;
- Node630lineStart = Node630width - ht.Default.getTextSize('0', ' '+ Node630fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node630.setImage(GD.getTextJSON(Node630width, Node630height, true, false, false, ' '+ Node630fontSize + 'px "Arial"'))
- Node630.setPosition(1197*ratio.ratioX, 150*ratio.ratioY);
- Node630.setWidth(Node630width);
- Node630.setHeight(Node630height);
- Node630._nodeType = 'text';
- Node630._disallowEvert = true;
- Node630.setRotation(0*Math.PI/180);
- Node630.a('node.width', Node630width);
- Node630.a('node.height', Node630height);
- Node630.a('node.rect', [0, 0, Node630width, Node630height]);
- Node630.a('node.bordercolor','rgba(0,0,0,1)');
- Node630.a('node.borderwidth', 0);
- Node630.a('node.background','' || 'rgba(0,0,0,0)');
- Node630.a('node.gradient','');
- Node630.a('node.gradientcolor','');
- Node630.a('node.text','0');
- Node630.a('node.textalign','center');
- Node630.a('node.textvAlign','middle');
- Node630.a('node.textrect', [Node630textStart, 0, Node630textWidth, Node630height]);
- Node630.a('node.color','rgba(0,0,0,1)');
- Node630.a('node.font',' '+ Node630fontSize + 'px "Arial"');
- Node630.a('node.textvisible',true);
- Node630.a('node.linefeed',false);
- if (false) {
- Node630.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node630.a('node.text') || '0';
- var color=Node630.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node630width,Node630height,14.66663*_ratio.ratioY,"center",color,' '+ Node630fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node630.a('node.underlinepoints',[Node630lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node630fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node630fontSize + 'px "Arial"').width + 6, (Node630height - Node630fontSize) * 0.5*_ratio.ratioY + Node630fontSize + 2 ]);
- Node630.a('node.underlinevisible',false);
- Node630.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node630);
- zoomNodeList.push({
- node: Node630,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node631 = new ht.Node();
- var Node631textStart, Node631textWidth, Node631lineStart, Node631align = 'center', Node631fontSize = 13.3333*_ratio.ratioY,Node631width = 59*_ratio.ratioX, Node631height = 26*_ratio.ratioY;
- (function () {
- if (Node631align === 'left') {
- Node631textStart = Node631fontSize * 0.2 > 2 ? Node631fontSize * 0.2 - 4 : Node631fontSize * 0.2 - 9;
- Node631textWidth = Node631width;
- Node631lineStart = 1;
- } else if (Node631align === 'right') {
- Node631textStart = 0;
- Node631textWidth =Node631fontSize <= 8 ? Node631width + Node631fontSize * 0.2 + 6 : Node631width - Node631fontSize * 0.2;
- Node631lineStart = (Node631width - (ht.Default.getTextSize('万kWh', ' '+ Node631fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node631align === 'center') {
- Node631textStart = -3;
- Node631textWidth = Node631width;
- Node631lineStart = Node631width - ht.Default.getTextSize('万kWh', ' '+ Node631fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node631.setImage(GD.getTextJSON(Node631width, Node631height, true, false, false, ' '+ Node631fontSize + 'px "Arial"'))
- Node631.setPosition(1278*ratio.ratioX, 151*ratio.ratioY);
- Node631.setWidth(Node631width);
- Node631.setHeight(Node631height);
- Node631._nodeType = 'text';
- Node631._disallowEvert = true;
- Node631.setRotation(0*Math.PI/180);
- Node631.a('node.width', Node631width);
- Node631.a('node.height', Node631height);
- Node631.a('node.rect', [0, 0, Node631width, Node631height]);
- Node631.a('node.bordercolor','rgba(128,128,128,1)');
- Node631.a('node.borderwidth', 0);
- Node631.a('node.background','' || 'rgba(0,0,0,0)');
- Node631.a('node.gradient','');
- Node631.a('node.gradientcolor','');
- Node631.a('node.text','万kWh');
- Node631.a('node.textalign','center');
- Node631.a('node.textvAlign','middle');
- Node631.a('node.textrect', [Node631textStart, 0, Node631textWidth, Node631height]);
- Node631.a('node.color','rgba(128,128,128,1)');
- Node631.a('node.font',' '+ Node631fontSize + 'px "Arial"');
- Node631.a('node.textvisible',true);
- Node631.a('node.linefeed',false);
- if (false) {
- Node631.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node631.a('node.text') || '万kWh';
- var color=Node631.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node631width,Node631height,13.3333*_ratio.ratioY,"center",color,' '+ Node631fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node631.a('node.underlinepoints',[Node631lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node631fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node631fontSize + 'px "Arial"').width + 6, (Node631height - Node631fontSize) * 0.5*_ratio.ratioY + Node631fontSize + 2 ]);
- Node631.a('node.underlinevisible',false);
- Node631.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node631);
- zoomNodeList.push({
- node: Node631,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node632 = new ht.Node();
- var Node632textStart, Node632textWidth, Node632lineStart, Node632align = 'center', Node632fontSize = 13.3333*_ratio.ratioY,Node632width = 58*_ratio.ratioX, Node632height = 26*_ratio.ratioY;
- (function () {
- if (Node632align === 'left') {
- Node632textStart = Node632fontSize * 0.2 > 2 ? Node632fontSize * 0.2 - 4 : Node632fontSize * 0.2 - 9;
- Node632textWidth = Node632width;
- Node632lineStart = 1;
- } else if (Node632align === 'right') {
- Node632textStart = 0;
- Node632textWidth =Node632fontSize <= 8 ? Node632width + Node632fontSize * 0.2 + 6 : Node632width - Node632fontSize * 0.2;
- Node632lineStart = (Node632width - (ht.Default.getTextSize('0', ' '+ Node632fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node632align === 'center') {
- Node632textStart = -3;
- Node632textWidth = Node632width;
- Node632lineStart = Node632width - ht.Default.getTextSize('0', ' '+ Node632fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node632.setImage(GD.getTextJSON(Node632width, Node632height, true, false, false, ' '+ Node632fontSize + 'px "Arial"'))
- Node632.setPosition(354*ratio.ratioX, 150*ratio.ratioY);
- Node632.setWidth(Node632width);
- Node632.setHeight(Node632height);
- Node632._nodeType = 'text';
- Node632._disallowEvert = true;
- Node632.setRotation(0*Math.PI/180);
- Node632.a('node.width', Node632width);
- Node632.a('node.height', Node632height);
- Node632.a('node.rect', [0, 0, Node632width, Node632height]);
- Node632.a('node.bordercolor','rgba(0,0,0,1)');
- Node632.a('node.borderwidth', 0);
- Node632.a('node.background','' || 'rgba(0,0,0,0)');
- Node632.a('node.gradient','');
- Node632.a('node.gradientcolor','');
- Node632.a('node.text','0');
- Node632.a('node.textalign','center');
- Node632.a('node.textvAlign','middle');
- Node632.a('node.textrect', [Node632textStart, 0, Node632textWidth, Node632height]);
- Node632.a('node.color','rgba(0,0,0,1)');
- Node632.a('node.font',' '+ Node632fontSize + 'px "Arial"');
- Node632.a('node.textvisible',true);
- Node632.a('node.linefeed',false);
- if (false) {
- Node632.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node632.a('node.text') || '0';
- var color=Node632.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node632width,Node632height,13.3333*_ratio.ratioY,"center",color,' '+ Node632fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node632.a('node.underlinepoints',[Node632lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node632fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node632fontSize + 'px "Arial"').width + 6, (Node632height - Node632fontSize) * 0.5*_ratio.ratioY + Node632fontSize + 2 ]);
- Node632.a('node.underlinevisible',false);
- Node632.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node632);
- zoomNodeList.push({
- node: Node632,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node633 = new ht.Node();
- var Node633textStart, Node633textWidth, Node633lineStart, Node633align = 'center', Node633fontSize = 13.3333*_ratio.ratioY,Node633width = 59*_ratio.ratioX, Node633height = 26*_ratio.ratioY;
- (function () {
- if (Node633align === 'left') {
- Node633textStart = Node633fontSize * 0.2 > 2 ? Node633fontSize * 0.2 - 4 : Node633fontSize * 0.2 - 9;
- Node633textWidth = Node633width;
- Node633lineStart = 1;
- } else if (Node633align === 'right') {
- Node633textStart = 0;
- Node633textWidth =Node633fontSize <= 8 ? Node633width + Node633fontSize * 0.2 + 6 : Node633width - Node633fontSize * 0.2;
- Node633lineStart = (Node633width - (ht.Default.getTextSize('万kWh', ' '+ Node633fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node633align === 'center') {
- Node633textStart = -3;
- Node633textWidth = Node633width;
- Node633lineStart = Node633width - ht.Default.getTextSize('万kWh', ' '+ Node633fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node633.setImage(GD.getTextJSON(Node633width, Node633height, true, false, false, ' '+ Node633fontSize + 'px "Arial"'))
- Node633.setPosition(434*ratio.ratioX, 151*ratio.ratioY);
- Node633.setWidth(Node633width);
- Node633.setHeight(Node633height);
- Node633._nodeType = 'text';
- Node633._disallowEvert = true;
- Node633.setRotation(0*Math.PI/180);
- Node633.a('node.width', Node633width);
- Node633.a('node.height', Node633height);
- Node633.a('node.rect', [0, 0, Node633width, Node633height]);
- Node633.a('node.bordercolor','rgba(128,128,128,1)');
- Node633.a('node.borderwidth', 0);
- Node633.a('node.background','' || 'rgba(0,0,0,0)');
- Node633.a('node.gradient','');
- Node633.a('node.gradientcolor','');
- Node633.a('node.text','万kWh');
- Node633.a('node.textalign','center');
- Node633.a('node.textvAlign','middle');
- Node633.a('node.textrect', [Node633textStart, 0, Node633textWidth, Node633height]);
- Node633.a('node.color','rgba(128,128,128,1)');
- Node633.a('node.font',' '+ Node633fontSize + 'px "Arial"');
- Node633.a('node.textvisible',true);
- Node633.a('node.linefeed',false);
- if (false) {
- Node633.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node633.a('node.text') || '万kWh';
- var color=Node633.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node633width,Node633height,13.3333*_ratio.ratioY,"center",color,' '+ Node633fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node633.a('node.underlinepoints',[Node633lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node633fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node633fontSize + 'px "Arial"').width + 6, (Node633height - Node633fontSize) * 0.5*_ratio.ratioY + Node633fontSize + 2 ]);
- Node633.a('node.underlinevisible',false);
- Node633.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node633);
- zoomNodeList.push({
- node: Node633,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node634 = new ht.Node();
- var Node634textStart, Node634textWidth, Node634lineStart, Node634align = 'center', Node634fontSize = 13.3333*_ratio.ratioY,Node634width = 58*_ratio.ratioX, Node634height = 26*_ratio.ratioY;
- (function () {
- if (Node634align === 'left') {
- Node634textStart = Node634fontSize * 0.2 > 2 ? Node634fontSize * 0.2 - 4 : Node634fontSize * 0.2 - 9;
- Node634textWidth = Node634width;
- Node634lineStart = 1;
- } else if (Node634align === 'right') {
- Node634textStart = 0;
- Node634textWidth =Node634fontSize <= 8 ? Node634width + Node634fontSize * 0.2 + 6 : Node634width - Node634fontSize * 0.2;
- Node634lineStart = (Node634width - (ht.Default.getTextSize('0', ' '+ Node634fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node634align === 'center') {
- Node634textStart = -3;
- Node634textWidth = Node634width;
- Node634lineStart = Node634width - ht.Default.getTextSize('0', ' '+ Node634fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node634.setImage(GD.getTextJSON(Node634width, Node634height, true, false, false, ' '+ Node634fontSize + 'px "Arial"'))
- Node634.setPosition(638*ratio.ratioX, 150*ratio.ratioY);
- Node634.setWidth(Node634width);
- Node634.setHeight(Node634height);
- Node634._nodeType = 'text';
- Node634._disallowEvert = true;
- Node634.setRotation(0*Math.PI/180);
- Node634.a('node.width', Node634width);
- Node634.a('node.height', Node634height);
- Node634.a('node.rect', [0, 0, Node634width, Node634height]);
- Node634.a('node.bordercolor','rgba(0,0,0,1)');
- Node634.a('node.borderwidth', 0);
- Node634.a('node.background','' || 'rgba(0,0,0,0)');
- Node634.a('node.gradient','');
- Node634.a('node.gradientcolor','');
- Node634.a('node.text','0');
- Node634.a('node.textalign','center');
- Node634.a('node.textvAlign','middle');
- Node634.a('node.textrect', [Node634textStart, 0, Node634textWidth, Node634height]);
- Node634.a('node.color','rgba(0,0,0,1)');
- Node634.a('node.font',' '+ Node634fontSize + 'px "Arial"');
- Node634.a('node.textvisible',true);
- Node634.a('node.linefeed',false);
- if (false) {
- Node634.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node634.a('node.text') || '0';
- var color=Node634.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node634width,Node634height,13.3333*_ratio.ratioY,"center",color,' '+ Node634fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node634.a('node.underlinepoints',[Node634lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node634fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node634fontSize + 'px "Arial"').width + 6, (Node634height - Node634fontSize) * 0.5*_ratio.ratioY + Node634fontSize + 2 ]);
- Node634.a('node.underlinevisible',false);
- Node634.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node634);
- zoomNodeList.push({
- node: Node634,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node635 = new ht.Node();
- var Node635textStart, Node635textWidth, Node635lineStart, Node635align = 'center', Node635fontSize = 13.3333*_ratio.ratioY,Node635width = 59*_ratio.ratioX, Node635height = 26*_ratio.ratioY;
- (function () {
- if (Node635align === 'left') {
- Node635textStart = Node635fontSize * 0.2 > 2 ? Node635fontSize * 0.2 - 4 : Node635fontSize * 0.2 - 9;
- Node635textWidth = Node635width;
- Node635lineStart = 1;
- } else if (Node635align === 'right') {
- Node635textStart = 0;
- Node635textWidth =Node635fontSize <= 8 ? Node635width + Node635fontSize * 0.2 + 6 : Node635width - Node635fontSize * 0.2;
- Node635lineStart = (Node635width - (ht.Default.getTextSize('万kWh', ' '+ Node635fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node635align === 'center') {
- Node635textStart = -3;
- Node635textWidth = Node635width;
- Node635lineStart = Node635width - ht.Default.getTextSize('万kWh', ' '+ Node635fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node635.setImage(GD.getTextJSON(Node635width, Node635height, true, false, false, ' '+ Node635fontSize + 'px "Arial"'))
- Node635.setPosition(718*ratio.ratioX, 151*ratio.ratioY);
- Node635.setWidth(Node635width);
- Node635.setHeight(Node635height);
- Node635._nodeType = 'text';
- Node635._disallowEvert = true;
- Node635.setRotation(0*Math.PI/180);
- Node635.a('node.width', Node635width);
- Node635.a('node.height', Node635height);
- Node635.a('node.rect', [0, 0, Node635width, Node635height]);
- Node635.a('node.bordercolor','rgba(128,128,128,1)');
- Node635.a('node.borderwidth', 0);
- Node635.a('node.background','' || 'rgba(0,0,0,0)');
- Node635.a('node.gradient','');
- Node635.a('node.gradientcolor','');
- Node635.a('node.text','万kWh');
- Node635.a('node.textalign','center');
- Node635.a('node.textvAlign','middle');
- Node635.a('node.textrect', [Node635textStart, 0, Node635textWidth, Node635height]);
- Node635.a('node.color','rgba(128,128,128,1)');
- Node635.a('node.font',' '+ Node635fontSize + 'px "Arial"');
- Node635.a('node.textvisible',true);
- Node635.a('node.linefeed',false);
- if (false) {
- Node635.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node635.a('node.text') || '万kWh';
- var color=Node635.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node635width,Node635height,13.3333*_ratio.ratioY,"center",color,' '+ Node635fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node635.a('node.underlinepoints',[Node635lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node635fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node635fontSize + 'px "Arial"').width + 6, (Node635height - Node635fontSize) * 0.5*_ratio.ratioY + Node635fontSize + 2 ]);
- Node635.a('node.underlinevisible',false);
- Node635.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node635);
- zoomNodeList.push({
- node: Node635,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node636type = 'rect';
- var Node636 = new ht.Node(),
- Node636BorderWidth = 1*2;
- if (Node636type === 'arc') {
- Node636BorderWidth *= 1;
- }
- Node636.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node636type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node636.setPosition(1820*ratio.ratioX, 70*ratio.ratioY);
- Node636.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node636.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node636.a('node.width', 127*_ratio.ratioX);
- Node636.a('node.height', 60.81538*_ratio.ratioY);
- Node636.a('node.type', Node636type);
- Node636.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node636.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node636.a('node.gradientcolor', '');
- Node636.a('node.gradient', '');
- Node636.a('node.borderwidth', Node636BorderWidth);
- Node636.a('node.color', 'rgba(128,128,128,1)');
- Node636.a('node.fillrect', [0,0,0,0]);
- Node636.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node636.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node636.a('node.fillgradient', '');
- if (Node636type !== 'rect') {
- Node636.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node636.a('node.arcTo', parseFloat('@arcTo@'));
- Node636.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node636type === 'arc') {
- Node636.a('node.arcOval', true);
- }
- Node636.setRotation(0*Math.PI/180);
- Node636.borderWidth = Node636BorderWidth;
- Node636.borderFillwidth = Node636BorderWidth;
- dataModel.add(Node636);
- Node636._nodename = 'Node636'
- Node636._nodeType = 'rect';
- zoomNodeList.push({
- node: Node636,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node636, Node636.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node637type = 'rect';
- var Node637 = new ht.Node(),
- Node637BorderWidth = 1*2;
- if (Node637type === 'arc') {
- Node637BorderWidth *= 1;
- }
- Node637.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node637type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node637.setPosition(1820*ratio.ratioX, 131*ratio.ratioY);
- Node637.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node637.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node637.a('node.width', 127*_ratio.ratioX);
- Node637.a('node.height', 60.81538*_ratio.ratioY);
- Node637.a('node.type', Node637type);
- Node637.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node637.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node637.a('node.gradientcolor', '');
- Node637.a('node.gradient', '');
- Node637.a('node.borderwidth', Node637BorderWidth);
- Node637.a('node.color', 'rgba(128,128,128,1)');
- Node637.a('node.fillrect', [0,0,0,0]);
- Node637.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node637.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node637.a('node.fillgradient', '');
- if (Node637type !== 'rect') {
- Node637.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node637.a('node.arcTo', parseFloat('@arcTo@'));
- Node637.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node637type === 'arc') {
- Node637.a('node.arcOval', true);
- }
- Node637.setRotation(0*Math.PI/180);
- Node637.borderWidth = Node637BorderWidth;
- Node637.borderFillwidth = Node637BorderWidth;
- dataModel.add(Node637);
- Node637._nodename = 'Node637'
- Node637._nodeType = 'rect';
- zoomNodeList.push({
- node: Node637,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node637, Node637.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node638type = 'rect';
- var Node638 = new ht.Node(),
- Node638BorderWidth = 1*2;
- if (Node638type === 'arc') {
- Node638BorderWidth *= 1;
- }
- Node638.setImage(GD.getRectJSON(27*_ratio.ratioX, 121*_ratio.ratioY, Node638type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node638.setPosition(1326*ratio.ratioX, 100*ratio.ratioY);
- Node638.setSize(27*_ratio.ratioX, 121*_ratio.ratioY);
- Node638.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node638.a('node.width', 27*_ratio.ratioX);
- Node638.a('node.height', 121*_ratio.ratioY);
- Node638.a('node.type', Node638type);
- Node638.a('node.rect', [0, 0, 27*_ratio.ratioX, 121*_ratio.ratioY]);
- Node638.a('node.background', 'rgba(0,0,0,1)');
- Node638.a('node.gradientcolor', 'rgba(0,0,0,1)');
- Node638.a('node.gradient', '');
- Node638.a('node.borderwidth', Node638BorderWidth);
- Node638.a('node.color', 'rgba(0,0,255,1)');
- Node638.a('node.fillrect', [0,0,0,0]);
- Node638.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node638.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node638.a('node.fillgradient', '');
- if (Node638type !== 'rect') {
- Node638.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node638.a('node.arcTo', parseFloat('@arcTo@'));
- Node638.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node638type === 'arc') {
- Node638.a('node.arcOval', true);
- }
- Node638.setRotation(0*Math.PI/180);
- Node638.borderWidth = Node638BorderWidth;
- Node638.borderFillwidth = Node638BorderWidth;
- dataModel.add(Node638);
- Node638._nodename = 'Node638'
- Node638._nodeType = 'rect';
- zoomNodeList.push({
- node: Node638,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node638, Node638.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node639 = new ht.Node();
- var Node639textStart, Node639textWidth, Node639lineStart, Node639align = 'left', Node639fontSize = 11.99997*_ratio.ratioY,Node639width = 53*_ratio.ratioX, Node639height = 20*_ratio.ratioY;
- (function () {
- if (Node639align === 'left') {
- Node639textStart = Node639fontSize * 0.2 > 2 ? Node639fontSize * 0.2 - 4 : Node639fontSize * 0.2 - 9;
- Node639textWidth = Node639width;
- Node639lineStart = 1;
- } else if (Node639align === 'right') {
- Node639textStart = 0;
- Node639textWidth =Node639fontSize <= 8 ? Node639width + Node639fontSize * 0.2 + 6 : Node639width - Node639fontSize * 0.2;
- Node639lineStart = (Node639width - (ht.Default.getTextSize('风', 'bold '+ Node639fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node639align === 'center') {
- Node639textStart = -3;
- Node639textWidth = Node639width;
- Node639lineStart = Node639width - ht.Default.getTextSize('风', 'bold '+ Node639fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node639.setImage(GD.getTextJSON(Node639width, Node639height, true, false, false, 'bold '+ Node639fontSize + 'px "Arial"'))
- Node639.setPosition(1343*ratio.ratioX, 66*ratio.ratioY);
- Node639.setWidth(Node639width);
- Node639.setHeight(Node639height);
- Node639._nodeType = 'text';
- Node639._disallowEvert = true;
- Node639.setRotation(0*Math.PI/180);
- Node639.a('node.width', Node639width);
- Node639.a('node.height', Node639height);
- Node639.a('node.rect', [0, 0, Node639width, Node639height]);
- Node639.a('node.bordercolor','rgba(255,255,255,1)');
- Node639.a('node.borderwidth', 0);
- Node639.a('node.background','' || 'rgba(0,0,0,0)');
- Node639.a('node.gradient','');
- Node639.a('node.gradientcolor','');
- Node639.a('node.text','风');
- Node639.a('node.textalign','left');
- Node639.a('node.textvAlign','middle');
- Node639.a('node.textrect', [Node639textStart, 0, Node639textWidth, Node639height]);
- Node639.a('node.color','rgba(255,255,255,1)');
- Node639.a('node.font','bold '+ Node639fontSize + 'px "Arial"');
- Node639.a('node.textvisible',true);
- Node639.a('node.linefeed',false);
- if (false) {
- Node639.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node639.a('node.text') || '风';
- var color=Node639.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node639width,Node639height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node639fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node639.a('node.underlinepoints',[Node639lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node639fontSize + 2 , ht.Default.getTextSize('风', 'bold '+ Node639fontSize + 'px "Arial"').width + 6, (Node639height - Node639fontSize) * 0.5*_ratio.ratioY + Node639fontSize + 2 ]);
- Node639.a('node.underlinevisible',false);
- Node639.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node639);
- zoomNodeList.push({
- node: Node639,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node640type = 'rect';
- var Node640 = new ht.Node(),
- Node640BorderWidth = 1*2;
- if (Node640type === 'arc') {
- Node640BorderWidth *= 1;
- }
- Node640.setImage(GD.getRectJSON(130*_ratio.ratioX, 121*_ratio.ratioY, Node640type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node640.setPosition(1405*ratio.ratioX, 100*ratio.ratioY);
- Node640.setSize(130*_ratio.ratioX, 121*_ratio.ratioY);
- Node640.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node640.a('node.width', 130*_ratio.ratioX);
- Node640.a('node.height', 121*_ratio.ratioY);
- Node640.a('node.type', Node640type);
- Node640.a('node.rect', [0, 0, 130*_ratio.ratioX, 121*_ratio.ratioY]);
- Node640.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node640.a('node.gradientcolor', '');
- Node640.a('node.gradient', '');
- Node640.a('node.borderwidth', Node640BorderWidth);
- Node640.a('node.color', 'rgba(128,128,128,1)');
- Node640.a('node.fillrect', [0,0,0,0]);
- Node640.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node640.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node640.a('node.fillgradient', '');
- if (Node640type !== 'rect') {
- Node640.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node640.a('node.arcTo', parseFloat('@arcTo@'));
- Node640.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node640type === 'arc') {
- Node640.a('node.arcOval', true);
- }
- Node640.setRotation(0*Math.PI/180);
- Node640.borderWidth = Node640BorderWidth;
- Node640.borderFillwidth = Node640BorderWidth;
- dataModel.add(Node640);
- Node640._nodename = 'Node640'
- Node640._nodeType = 'rect';
- zoomNodeList.push({
- node: Node640,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node640, Node640.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node641 = new ht.Node();
- var Node641textStart, Node641textWidth, Node641lineStart, Node641align = 'left', Node641fontSize = 13.3333*_ratio.ratioY,Node641width = 59*_ratio.ratioX, Node641height = 25*_ratio.ratioY;
- (function () {
- if (Node641align === 'left') {
- Node641textStart = Node641fontSize * 0.2 > 2 ? Node641fontSize * 0.2 - 4 : Node641fontSize * 0.2 - 9;
- Node641textWidth = Node641width;
- Node641lineStart = 1;
- } else if (Node641align === 'right') {
- Node641textStart = 0;
- Node641textWidth =Node641fontSize <= 8 ? Node641width + Node641fontSize * 0.2 + 6 : Node641width - Node641fontSize * 0.2;
- Node641lineStart = (Node641width - (ht.Default.getTextSize('接入', ' '+ Node641fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node641align === 'center') {
- Node641textStart = -3;
- Node641textWidth = Node641width;
- Node641lineStart = Node641width - ht.Default.getTextSize('接入', ' '+ Node641fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node641.setImage(GD.getTextJSON(Node641width, Node641height, true, false, false, ' '+ Node641fontSize + 'px "Arial"'))
- Node641.setPosition(1374*ratio.ratioX, 54*ratio.ratioY);
- Node641.setWidth(Node641width);
- Node641.setHeight(Node641height);
- Node641._nodeType = 'text';
- Node641._disallowEvert = true;
- Node641.setRotation(0*Math.PI/180);
- Node641.a('node.width', Node641width);
- Node641.a('node.height', Node641height);
- Node641.a('node.rect', [0, 0, Node641width, Node641height]);
- Node641.a('node.bordercolor','rgba(105,105,105,1)');
- Node641.a('node.borderwidth', 0);
- Node641.a('node.background','' || 'rgba(0,0,0,0)');
- Node641.a('node.gradient','');
- Node641.a('node.gradientcolor','');
- Node641.a('node.text','接入');
- Node641.a('node.textalign','left');
- Node641.a('node.textvAlign','middle');
- Node641.a('node.textrect', [Node641textStart, 0, Node641textWidth, Node641height]);
- Node641.a('node.color','rgba(105,105,105,1)');
- Node641.a('node.font',' '+ Node641fontSize + 'px "Arial"');
- Node641.a('node.textvisible',true);
- Node641.a('node.linefeed',false);
- if (false) {
- Node641.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node641.a('node.text') || '接入';
- var color=Node641.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node641width,Node641height,13.3333*_ratio.ratioY,"left",color,' '+ Node641fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node641.a('node.underlinepoints',[Node641lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node641fontSize + 2 , ht.Default.getTextSize('接入', ' '+ Node641fontSize + 'px "Arial"').width + 6, (Node641height - Node641fontSize) * 0.5*_ratio.ratioY + Node641fontSize + 2 ]);
- Node641.a('node.underlinevisible',false);
- Node641.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node641);
- zoomNodeList.push({
- node: Node641,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node642 = new ht.Node();
- var Node642textStart, Node642textWidth, Node642lineStart, Node642align = 'center', Node642fontSize = 26.6666*_ratio.ratioY,Node642width = 87*_ratio.ratioX, Node642height = 36*_ratio.ratioY;
- (function () {
- if (Node642align === 'left') {
- Node642textStart = Node642fontSize * 0.2 > 2 ? Node642fontSize * 0.2 - 4 : Node642fontSize * 0.2 - 9;
- Node642textWidth = Node642width;
- Node642lineStart = 1;
- } else if (Node642align === 'right') {
- Node642textStart = 0;
- Node642textWidth =Node642fontSize <= 8 ? Node642width + Node642fontSize * 0.2 + 6 : Node642width - Node642fontSize * 0.2;
- Node642lineStart = (Node642width - (ht.Default.getTextSize('0', ' '+ Node642fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node642align === 'center') {
- Node642textStart = -3;
- Node642textWidth = Node642width;
- Node642lineStart = Node642width - ht.Default.getTextSize('0', ' '+ Node642fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node642.setImage(GD.getTextJSON(Node642width, Node642height, true, false, false, ' '+ Node642fontSize + 'px "Arial"'))
- Node642.setPosition(1406*ratio.ratioX, 99*ratio.ratioY);
- Node642.setWidth(Node642width);
- Node642.setHeight(Node642height);
- Node642._nodeType = 'text';
- Node642._disallowEvert = true;
- Node642.setRotation(0*Math.PI/180);
- Node642.a('node.width', Node642width);
- Node642.a('node.height', Node642height);
- Node642.a('node.rect', [0, 0, Node642width, Node642height]);
- Node642.a('node.bordercolor','rgba(0,0,0,1)');
- Node642.a('node.borderwidth', 0);
- Node642.a('node.background','' || 'rgba(0,0,0,0)');
- Node642.a('node.gradient','');
- Node642.a('node.gradientcolor','');
- Node642.a('node.text','0');
- Node642.a('node.textalign','center');
- Node642.a('node.textvAlign','middle');
- Node642.a('node.textrect', [Node642textStart, 0, Node642textWidth, Node642height]);
- Node642.a('node.color','rgba(0,0,0,1)');
- Node642.a('node.font',' '+ Node642fontSize + 'px "Arial"');
- Node642.a('node.textvisible',true);
- Node642.a('node.linefeed',false);
- if (false) {
- Node642.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node642.a('node.text') || '0';
- var color=Node642.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,26.6666*0.5*_ratio.ratioY,Node642width,Node642height,26.6666*_ratio.ratioY,"center",color,' '+ Node642fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node642.a('node.underlinepoints',[Node642lineStart, (36 - 26.6666) * 0.5 * _ratio.ratioY + Node642fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node642fontSize + 'px "Arial"').width + 6, (Node642height - Node642fontSize) * 0.5*_ratio.ratioY + Node642fontSize + 2 ]);
- Node642.a('node.underlinevisible',false);
- Node642.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node642);
- zoomNodeList.push({
- node: Node642,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node643 = new ht.Node();
- var Node643textStart, Node643textWidth, Node643lineStart, Node643align = 'center', Node643fontSize = 14.66663*_ratio.ratioY,Node643width = 87*_ratio.ratioX, Node643height = 26*_ratio.ratioY;
- (function () {
- if (Node643align === 'left') {
- Node643textStart = Node643fontSize * 0.2 > 2 ? Node643fontSize * 0.2 - 4 : Node643fontSize * 0.2 - 9;
- Node643textWidth = Node643width;
- Node643lineStart = 1;
- } else if (Node643align === 'right') {
- Node643textStart = 0;
- Node643textWidth =Node643fontSize <= 8 ? Node643width + Node643fontSize * 0.2 + 6 : Node643width - Node643fontSize * 0.2;
- Node643lineStart = (Node643width - (ht.Default.getTextSize('台', ' '+ Node643fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node643align === 'center') {
- Node643textStart = -3;
- Node643textWidth = Node643width;
- Node643lineStart = Node643width - ht.Default.getTextSize('台', ' '+ Node643fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node643.setImage(GD.getTextJSON(Node643width, Node643height, true, false, false, ' '+ Node643fontSize + 'px "Arial"'))
- Node643.setPosition(1453*ratio.ratioX, 148*ratio.ratioY);
- Node643.setWidth(Node643width);
- Node643.setHeight(Node643height);
- Node643._nodeType = 'text';
- Node643._disallowEvert = true;
- Node643.setRotation(0*Math.PI/180);
- Node643.a('node.width', Node643width);
- Node643.a('node.height', Node643height);
- Node643.a('node.rect', [0, 0, Node643width, Node643height]);
- Node643.a('node.bordercolor','rgba(105,105,105,1)');
- Node643.a('node.borderwidth', 0);
- Node643.a('node.background','' || 'rgba(0,0,0,0)');
- Node643.a('node.gradient','');
- Node643.a('node.gradientcolor','');
- Node643.a('node.text','台');
- Node643.a('node.textalign','center');
- Node643.a('node.textvAlign','middle');
- Node643.a('node.textrect', [Node643textStart, 0, Node643textWidth, Node643height]);
- Node643.a('node.color','rgba(105,105,105,1)');
- Node643.a('node.font',' '+ Node643fontSize + 'px "Arial"');
- Node643.a('node.textvisible',true);
- Node643.a('node.linefeed',false);
- if (false) {
- Node643.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node643.a('node.text') || '台';
- var color=Node643.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node643width,Node643height,14.66663*_ratio.ratioY,"center",color,' '+ Node643fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node643.a('node.underlinepoints',[Node643lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node643fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node643fontSize + 'px "Arial"').width + 6, (Node643height - Node643fontSize) * 0.5*_ratio.ratioY + Node643fontSize + 2 ]);
- Node643.a('node.underlinevisible',false);
- Node643.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node643);
- zoomNodeList.push({
- node: Node643,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node644 = new ht.Node();
- var Node644textStart, Node644textWidth, Node644lineStart, Node644align = 'center', Node644fontSize = 14.66663*_ratio.ratioY,Node644width = 67*_ratio.ratioX, Node644height = 26*_ratio.ratioY;
- (function () {
- if (Node644align === 'left') {
- Node644textStart = Node644fontSize * 0.2 > 2 ? Node644fontSize * 0.2 - 4 : Node644fontSize * 0.2 - 9;
- Node644textWidth = Node644width;
- Node644lineStart = 1;
- } else if (Node644align === 'right') {
- Node644textStart = 0;
- Node644textWidth =Node644fontSize <= 8 ? Node644width + Node644fontSize * 0.2 + 6 : Node644width - Node644fontSize * 0.2;
- Node644lineStart = (Node644width - (ht.Default.getTextSize('台', ' '+ Node644fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node644align === 'center') {
- Node644textStart = -3;
- Node644textWidth = Node644width;
- Node644lineStart = Node644width - ht.Default.getTextSize('台', ' '+ Node644fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node644.setImage(GD.getTextJSON(Node644width, Node644height, true, false, false, ' '+ Node644fontSize + 'px "Arial"'))
- Node644.setPosition(1586*ratio.ratioX, 146*ratio.ratioY);
- Node644.setWidth(Node644width);
- Node644.setHeight(Node644height);
- Node644._nodeType = 'text';
- Node644._disallowEvert = true;
- Node644.setRotation(0*Math.PI/180);
- Node644.a('node.width', Node644width);
- Node644.a('node.height', Node644height);
- Node644.a('node.rect', [0, 0, Node644width, Node644height]);
- Node644.a('node.bordercolor','rgba(105,105,105,1)');
- Node644.a('node.borderwidth', 0);
- Node644.a('node.background','' || 'rgba(0,0,0,0)');
- Node644.a('node.gradient','');
- Node644.a('node.gradientcolor','');
- Node644.a('node.text','台');
- Node644.a('node.textalign','center');
- Node644.a('node.textvAlign','middle');
- Node644.a('node.textrect', [Node644textStart, 0, Node644textWidth, Node644height]);
- Node644.a('node.color','rgba(105,105,105,1)');
- Node644.a('node.font',' '+ Node644fontSize + 'px "Arial"');
- Node644.a('node.textvisible',true);
- Node644.a('node.linefeed',false);
- if (false) {
- Node644.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node644.a('node.text') || '台';
- var color=Node644.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node644width,Node644height,14.66663*_ratio.ratioY,"center",color,' '+ Node644fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node644.a('node.underlinepoints',[Node644lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node644fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node644fontSize + 'px "Arial"').width + 6, (Node644height - Node644fontSize) * 0.5*_ratio.ratioY + Node644fontSize + 2 ]);
- Node644.a('node.underlinevisible',false);
- Node644.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node644);
- zoomNodeList.push({
- node: Node644,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node645;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_orange.jpg', PAGEROOTDIR + 'image//page_list_box_left_orange.jpg');
- Node645 = new ht.Node();
- Node645.setPosition(1475*ratio.ratioX, 130*ratio.ratioY);
- Node645.setSize(9*ratioX, 60*ratioY);
- Node645.setImage('imgimage//page_list_box_left_orange.jpg');
- Node645.setRotation(0*Math.PI/180);
- Node645._zoomBy = 'Default';
- Node645._nodeType = 'image';
- Node645._disallowEvert = true;
- dataModel.add(Node645);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node646type = 'rect';
- var Node646 = new ht.Node(),
- Node646BorderWidth = 1*2;
- if (Node646type === 'arc') {
- Node646BorderWidth *= 1;
- }
- Node646.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node646type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node646.setPosition(1544*ratio.ratioX, 131*ratio.ratioY);
- Node646.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node646.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node646.a('node.width', 127*_ratio.ratioX);
- Node646.a('node.height', 60.81538*_ratio.ratioY);
- Node646.a('node.type', Node646type);
- Node646.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node646.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node646.a('node.gradientcolor', '');
- Node646.a('node.gradient', '');
- Node646.a('node.borderwidth', Node646BorderWidth);
- Node646.a('node.color', 'rgba(128,128,128,1)');
- Node646.a('node.fillrect', [0,0,0,0]);
- Node646.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node646.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node646.a('node.fillgradient', '');
- if (Node646type !== 'rect') {
- Node646.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node646.a('node.arcTo', parseFloat('@arcTo@'));
- Node646.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node646type === 'arc') {
- Node646.a('node.arcOval', true);
- }
- Node646.setRotation(0*Math.PI/180);
- Node646.borderWidth = Node646BorderWidth;
- Node646.borderFillwidth = Node646BorderWidth;
- dataModel.add(Node646);
- Node646._nodename = 'Node646'
- Node646._nodeType = 'rect';
- zoomNodeList.push({
- node: Node646,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node646, Node646.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node647 = new ht.Node();
- var Node647textStart, Node647textWidth, Node647lineStart, Node647align = 'left', Node647fontSize = 13.3333*_ratio.ratioY,Node647width = 47*_ratio.ratioX, Node647height = 38*_ratio.ratioY;
- (function () {
- if (Node647align === 'left') {
- Node647textStart = Node647fontSize * 0.2 > 2 ? Node647fontSize * 0.2 - 4 : Node647fontSize * 0.2 - 9;
- Node647textWidth = Node647width;
- Node647lineStart = 1;
- } else if (Node647align === 'right') {
- Node647textStart = 0;
- Node647textWidth =Node647fontSize <= 8 ? Node647width + Node647fontSize * 0.2 + 6 : Node647width - Node647fontSize * 0.2;
- Node647lineStart = (Node647width - (ht.Default.getTextSize('维护', 'bold '+ Node647fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node647align === 'center') {
- Node647textStart = -3;
- Node647textWidth = Node647width;
- Node647lineStart = Node647width - ht.Default.getTextSize('维护', 'bold '+ Node647fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node647.setImage(GD.getTextJSON(Node647width, Node647height, true, false, false, 'bold '+ Node647fontSize + 'px "Arial"'))
- Node647.setPosition(1506*ratio.ratioX, 113*ratio.ratioY);
- Node647.setWidth(Node647width);
- Node647.setHeight(Node647height);
- Node647._nodeType = 'text';
- Node647._disallowEvert = true;
- Node647.setRotation(0*Math.PI/180);
- Node647.a('node.width', Node647width);
- Node647.a('node.height', Node647height);
- Node647.a('node.rect', [0, 0, Node647width, Node647height]);
- Node647.a('node.bordercolor','rgba(0,0,0,1)');
- Node647.a('node.borderwidth', 0);
- Node647.a('node.background','' || 'rgba(0,0,0,0)');
- Node647.a('node.gradient','');
- Node647.a('node.gradientcolor','');
- Node647.a('node.text','维护');
- Node647.a('node.textalign','left');
- Node647.a('node.textvAlign','middle');
- Node647.a('node.textrect', [Node647textStart, 0, Node647textWidth, Node647height]);
- Node647.a('node.color','rgba(0,0,0,1)');
- Node647.a('node.font','bold '+ Node647fontSize + 'px "Arial"');
- Node647.a('node.textvisible',true);
- Node647.a('node.linefeed',false);
- if (false) {
- Node647.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node647.a('node.text') || '维护';
- var color=Node647.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node647width,Node647height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node647fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node647.a('node.underlinepoints',[Node647lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node647fontSize + 2 , ht.Default.getTextSize('维护', 'bold '+ Node647fontSize + 'px "Arial"').width + 6, (Node647height - Node647fontSize) * 0.5*_ratio.ratioY + Node647fontSize + 2 ]);
- Node647.a('node.underlinevisible',false);
- Node647.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node647);
- zoomNodeList.push({
- node: Node647,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node648 = new ht.Node();
- var Node648textStart, Node648textWidth, Node648lineStart, Node648align = 'left', Node648fontSize = 15.99996*_ratio.ratioY,Node648width = 29*_ratio.ratioX, Node648height = 25*_ratio.ratioY;
- (function () {
- if (Node648align === 'left') {
- Node648textStart = Node648fontSize * 0.2 > 2 ? Node648fontSize * 0.2 - 4 : Node648fontSize * 0.2 - 9;
- Node648textWidth = Node648width;
- Node648lineStart = 1;
- } else if (Node648align === 'right') {
- Node648textStart = 0;
- Node648textWidth =Node648fontSize <= 8 ? Node648width + Node648fontSize * 0.2 + 6 : Node648width - Node648fontSize * 0.2;
- Node648lineStart = (Node648width - (ht.Default.getTextSize('0', ' '+ Node648fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node648align === 'center') {
- Node648textStart = -3;
- Node648textWidth = Node648width;
- Node648lineStart = Node648width - ht.Default.getTextSize('0', ' '+ Node648fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node648.setImage(GD.getTextJSON(Node648width, Node648height, true, false, false, ' '+ Node648fontSize + 'px "Arial"'))
- Node648.setPosition(1507*ratio.ratioX, 145*ratio.ratioY);
- Node648.setWidth(Node648width);
- Node648.setHeight(Node648height);
- Node648._nodeType = 'text';
- Node648._disallowEvert = true;
- Node648.setRotation(0*Math.PI/180);
- Node648.a('node.width', Node648width);
- Node648.a('node.height', Node648height);
- Node648.a('node.rect', [0, 0, Node648width, Node648height]);
- Node648.a('node.bordercolor','rgba(0,0,0,1)');
- Node648.a('node.borderwidth', 0);
- Node648.a('node.background','' || 'rgba(0,0,0,0)');
- Node648.a('node.gradient','');
- Node648.a('node.gradientcolor','');
- Node648.a('node.text','0');
- Node648.a('node.textalign','left');
- Node648.a('node.textvAlign','middle');
- Node648.a('node.textrect', [Node648textStart, 0, Node648textWidth, Node648height]);
- Node648.a('node.color','rgba(0,0,0,1)');
- Node648.a('node.font',' '+ Node648fontSize + 'px "Arial"');
- Node648.a('node.textvisible',true);
- Node648.a('node.linefeed',false);
- if (false) {
- Node648.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node648.a('node.text') || '0';
- var color=Node648.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node648width,Node648height,15.99996*_ratio.ratioY,"left",color,' '+ Node648fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node648.a('node.underlinepoints',[Node648lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node648fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node648fontSize + 'px "Arial"').width + 6, (Node648height - Node648fontSize) * 0.5*_ratio.ratioY + Node648fontSize + 2 ]);
- Node648.a('node.underlinevisible',false);
- Node648.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node648);
- zoomNodeList.push({
- node: Node648,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node649 = new ht.Node();
- var Node649textStart, Node649textWidth, Node649lineStart, Node649align = 'center', Node649fontSize = 14.66663*_ratio.ratioY,Node649width = 67*_ratio.ratioX, Node649height = 26*_ratio.ratioY;
- (function () {
- if (Node649align === 'left') {
- Node649textStart = Node649fontSize * 0.2 > 2 ? Node649fontSize * 0.2 - 4 : Node649fontSize * 0.2 - 9;
- Node649textWidth = Node649width;
- Node649lineStart = 1;
- } else if (Node649align === 'right') {
- Node649textStart = 0;
- Node649textWidth =Node649fontSize <= 8 ? Node649width + Node649fontSize * 0.2 + 6 : Node649width - Node649fontSize * 0.2;
- Node649lineStart = (Node649width - (ht.Default.getTextSize('台', ' '+ Node649fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node649align === 'center') {
- Node649textStart = -3;
- Node649textWidth = Node649width;
- Node649lineStart = Node649width - ht.Default.getTextSize('台', ' '+ Node649fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node649.setImage(GD.getTextJSON(Node649width, Node649height, true, false, false, ' '+ Node649fontSize + 'px "Arial"'))
- Node649.setPosition(1724*ratio.ratioX, 86*ratio.ratioY);
- Node649.setWidth(Node649width);
- Node649.setHeight(Node649height);
- Node649._nodeType = 'text';
- Node649._disallowEvert = true;
- Node649.setRotation(0*Math.PI/180);
- Node649.a('node.width', Node649width);
- Node649.a('node.height', Node649height);
- Node649.a('node.rect', [0, 0, Node649width, Node649height]);
- Node649.a('node.bordercolor','rgba(105,105,105,1)');
- Node649.a('node.borderwidth', 0);
- Node649.a('node.background','' || 'rgba(0,0,0,0)');
- Node649.a('node.gradient','');
- Node649.a('node.gradientcolor','');
- Node649.a('node.text','台');
- Node649.a('node.textalign','center');
- Node649.a('node.textvAlign','middle');
- Node649.a('node.textrect', [Node649textStart, 0, Node649textWidth, Node649height]);
- Node649.a('node.color','rgba(105,105,105,1)');
- Node649.a('node.font',' '+ Node649fontSize + 'px "Arial"');
- Node649.a('node.textvisible',true);
- Node649.a('node.linefeed',false);
- if (false) {
- Node649.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node649.a('node.text') || '台';
- var color=Node649.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node649width,Node649height,14.66663*_ratio.ratioY,"center",color,' '+ Node649fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node649.a('node.underlinepoints',[Node649lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node649fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node649fontSize + 'px "Arial"').width + 6, (Node649height - Node649fontSize) * 0.5*_ratio.ratioY + Node649fontSize + 2 ]);
- Node649.a('node.underlinevisible',false);
- Node649.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node649);
- zoomNodeList.push({
- node: Node649,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node650;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_green.jpg', PAGEROOTDIR + 'image//page_list_box_left_green.jpg');
- Node650 = new ht.Node();
- Node650.setPosition(1613*ratio.ratioX, 70*ratio.ratioY);
- Node650.setSize(9*ratioX, 60*ratioY);
- Node650.setImage('imgimage//page_list_box_left_green.jpg');
- Node650.setRotation(0*Math.PI/180);
- Node650._zoomBy = 'Default';
- Node650._nodeType = 'image';
- Node650._disallowEvert = true;
- dataModel.add(Node650);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node651type = 'rect';
- var Node651 = new ht.Node(),
- Node651BorderWidth = 1*2;
- if (Node651type === 'arc') {
- Node651BorderWidth *= 1;
- }
- Node651.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node651type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node651.setPosition(1682*ratio.ratioX, 70*ratio.ratioY);
- Node651.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node651.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node651.a('node.width', 127*_ratio.ratioX);
- Node651.a('node.height', 60.81538*_ratio.ratioY);
- Node651.a('node.type', Node651type);
- Node651.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node651.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node651.a('node.gradientcolor', '');
- Node651.a('node.gradient', '');
- Node651.a('node.borderwidth', Node651BorderWidth);
- Node651.a('node.color', 'rgba(128,128,128,1)');
- Node651.a('node.fillrect', [0,0,0,0]);
- Node651.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node651.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node651.a('node.fillgradient', '');
- if (Node651type !== 'rect') {
- Node651.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node651.a('node.arcTo', parseFloat('@arcTo@'));
- Node651.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node651type === 'arc') {
- Node651.a('node.arcOval', true);
- }
- Node651.setRotation(0*Math.PI/180);
- Node651.borderWidth = Node651BorderWidth;
- Node651.borderFillwidth = Node651BorderWidth;
- dataModel.add(Node651);
- Node651._nodename = 'Node651'
- Node651._nodeType = 'rect';
- zoomNodeList.push({
- node: Node651,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node651, Node651.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node652 = new ht.Node();
- var Node652textStart, Node652textWidth, Node652lineStart, Node652align = 'left', Node652fontSize = 15.99996*_ratio.ratioY,Node652width = 29*_ratio.ratioX, Node652height = 25*_ratio.ratioY;
- (function () {
- if (Node652align === 'left') {
- Node652textStart = Node652fontSize * 0.2 > 2 ? Node652fontSize * 0.2 - 4 : Node652fontSize * 0.2 - 9;
- Node652textWidth = Node652width;
- Node652lineStart = 1;
- } else if (Node652align === 'right') {
- Node652textStart = 0;
- Node652textWidth =Node652fontSize <= 8 ? Node652width + Node652fontSize * 0.2 + 6 : Node652width - Node652fontSize * 0.2;
- Node652lineStart = (Node652width - (ht.Default.getTextSize('0', ' '+ Node652fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node652align === 'center') {
- Node652textStart = -3;
- Node652textWidth = Node652width;
- Node652lineStart = Node652width - ht.Default.getTextSize('0', ' '+ Node652fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node652.setImage(GD.getTextJSON(Node652width, Node652height, true, false, false, ' '+ Node652fontSize + 'px "Arial"'))
- Node652.setPosition(1645*ratio.ratioX, 85*ratio.ratioY);
- Node652.setWidth(Node652width);
- Node652.setHeight(Node652height);
- Node652._nodeType = 'text';
- Node652._disallowEvert = true;
- Node652.setRotation(0*Math.PI/180);
- Node652.a('node.width', Node652width);
- Node652.a('node.height', Node652height);
- Node652.a('node.rect', [0, 0, Node652width, Node652height]);
- Node652.a('node.bordercolor','rgba(0,0,0,1)');
- Node652.a('node.borderwidth', 0);
- Node652.a('node.background','' || 'rgba(0,0,0,0)');
- Node652.a('node.gradient','');
- Node652.a('node.gradientcolor','');
- Node652.a('node.text','0');
- Node652.a('node.textalign','left');
- Node652.a('node.textvAlign','middle');
- Node652.a('node.textrect', [Node652textStart, 0, Node652textWidth, Node652height]);
- Node652.a('node.color','rgba(0,0,0,1)');
- Node652.a('node.font',' '+ Node652fontSize + 'px "Arial"');
- Node652.a('node.textvisible',true);
- Node652.a('node.linefeed',false);
- if (false) {
- Node652.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node652.a('node.text') || '0';
- var color=Node652.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node652width,Node652height,15.99996*_ratio.ratioY,"left",color,' '+ Node652fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node652.a('node.underlinepoints',[Node652lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node652fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node652fontSize + 'px "Arial"').width + 6, (Node652height - Node652fontSize) * 0.5*_ratio.ratioY + Node652fontSize + 2 ]);
- Node652.a('node.underlinevisible',false);
- Node652.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node652);
- zoomNodeList.push({
- node: Node652,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node653 = new ht.Node();
- var Node653textStart, Node653textWidth, Node653lineStart, Node653align = 'center', Node653fontSize = 14.66663*_ratio.ratioY,Node653width = 67*_ratio.ratioX, Node653height = 26*_ratio.ratioY;
- (function () {
- if (Node653align === 'left') {
- Node653textStart = Node653fontSize * 0.2 > 2 ? Node653fontSize * 0.2 - 4 : Node653fontSize * 0.2 - 9;
- Node653textWidth = Node653width;
- Node653lineStart = 1;
- } else if (Node653align === 'right') {
- Node653textStart = 0;
- Node653textWidth =Node653fontSize <= 8 ? Node653width + Node653fontSize * 0.2 + 6 : Node653width - Node653fontSize * 0.2;
- Node653lineStart = (Node653width - (ht.Default.getTextSize('台', ' '+ Node653fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node653align === 'center') {
- Node653textStart = -3;
- Node653textWidth = Node653width;
- Node653lineStart = Node653width - ht.Default.getTextSize('台', ' '+ Node653fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node653.setImage(GD.getTextJSON(Node653width, Node653height, true, false, false, ' '+ Node653fontSize + 'px "Arial"'))
- Node653.setPosition(1724*ratio.ratioX, 147*ratio.ratioY);
- Node653.setWidth(Node653width);
- Node653.setHeight(Node653height);
- Node653._nodeType = 'text';
- Node653._disallowEvert = true;
- Node653.setRotation(0*Math.PI/180);
- Node653.a('node.width', Node653width);
- Node653.a('node.height', Node653height);
- Node653.a('node.rect', [0, 0, Node653width, Node653height]);
- Node653.a('node.bordercolor','rgba(105,105,105,1)');
- Node653.a('node.borderwidth', 0);
- Node653.a('node.background','' || 'rgba(0,0,0,0)');
- Node653.a('node.gradient','');
- Node653.a('node.gradientcolor','');
- Node653.a('node.text','台');
- Node653.a('node.textalign','center');
- Node653.a('node.textvAlign','middle');
- Node653.a('node.textrect', [Node653textStart, 0, Node653textWidth, Node653height]);
- Node653.a('node.color','rgba(105,105,105,1)');
- Node653.a('node.font',' '+ Node653fontSize + 'px "Arial"');
- Node653.a('node.textvisible',true);
- Node653.a('node.linefeed',false);
- if (false) {
- Node653.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node653.a('node.text') || '台';
- var color=Node653.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node653width,Node653height,14.66663*_ratio.ratioY,"center",color,' '+ Node653fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node653.a('node.underlinepoints',[Node653lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node653fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node653fontSize + 'px "Arial"').width + 6, (Node653height - Node653fontSize) * 0.5*_ratio.ratioY + Node653fontSize + 2 ]);
- Node653.a('node.underlinevisible',false);
- Node653.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node653);
- zoomNodeList.push({
- node: Node653,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node654;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_pink.jpg', PAGEROOTDIR + 'image//page_list_box_left_pink.jpg');
- Node654 = new ht.Node();
- Node654.setPosition(1613*ratio.ratioX, 131*ratio.ratioY);
- Node654.setSize(9*ratioX, 60*ratioY);
- Node654.setImage('imgimage//page_list_box_left_pink.jpg');
- Node654.setRotation(0*Math.PI/180);
- Node654._zoomBy = 'Default';
- Node654._nodeType = 'image';
- Node654._disallowEvert = true;
- dataModel.add(Node654);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node655type = 'rect';
- var Node655 = new ht.Node(),
- Node655BorderWidth = 1*2;
- if (Node655type === 'arc') {
- Node655BorderWidth *= 1;
- }
- Node655.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node655type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node655.setPosition(1682*ratio.ratioX, 131*ratio.ratioY);
- Node655.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node655.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node655.a('node.width', 127*_ratio.ratioX);
- Node655.a('node.height', 60.81538*_ratio.ratioY);
- Node655.a('node.type', Node655type);
- Node655.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node655.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node655.a('node.gradientcolor', '');
- Node655.a('node.gradient', '');
- Node655.a('node.borderwidth', Node655BorderWidth);
- Node655.a('node.color', 'rgba(128,128,128,1)');
- Node655.a('node.fillrect', [0,0,0,0]);
- Node655.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node655.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node655.a('node.fillgradient', '');
- if (Node655type !== 'rect') {
- Node655.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node655.a('node.arcTo', parseFloat('@arcTo@'));
- Node655.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node655type === 'arc') {
- Node655.a('node.arcOval', true);
- }
- Node655.setRotation(0*Math.PI/180);
- Node655.borderWidth = Node655BorderWidth;
- Node655.borderFillwidth = Node655BorderWidth;
- dataModel.add(Node655);
- Node655._nodename = 'Node655'
- Node655._nodeType = 'rect';
- zoomNodeList.push({
- node: Node655,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node655, Node655.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node656 = new ht.Node();
- var Node656textStart, Node656textWidth, Node656lineStart, Node656align = 'left', Node656fontSize = 13.3333*_ratio.ratioY,Node656width = 47*_ratio.ratioX, Node656height = 38*_ratio.ratioY;
- (function () {
- if (Node656align === 'left') {
- Node656textStart = Node656fontSize * 0.2 > 2 ? Node656fontSize * 0.2 - 4 : Node656fontSize * 0.2 - 9;
- Node656textWidth = Node656width;
- Node656lineStart = 1;
- } else if (Node656align === 'right') {
- Node656textStart = 0;
- Node656textWidth =Node656fontSize <= 8 ? Node656width + Node656fontSize * 0.2 + 6 : Node656width - Node656fontSize * 0.2;
- Node656lineStart = (Node656width - (ht.Default.getTextSize('限电', 'bold '+ Node656fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node656align === 'center') {
- Node656textStart = -3;
- Node656textWidth = Node656width;
- Node656lineStart = Node656width - ht.Default.getTextSize('限电', 'bold '+ Node656fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node656.setImage(GD.getTextJSON(Node656width, Node656height, true, false, false, 'bold '+ Node656fontSize + 'px "Arial"'))
- Node656.setPosition(1644*ratio.ratioX, 114*ratio.ratioY);
- Node656.setWidth(Node656width);
- Node656.setHeight(Node656height);
- Node656._nodeType = 'text';
- Node656._disallowEvert = true;
- Node656.setRotation(0*Math.PI/180);
- Node656.a('node.width', Node656width);
- Node656.a('node.height', Node656height);
- Node656.a('node.rect', [0, 0, Node656width, Node656height]);
- Node656.a('node.bordercolor','rgba(0,0,0,1)');
- Node656.a('node.borderwidth', 0);
- Node656.a('node.background','' || 'rgba(0,0,0,0)');
- Node656.a('node.gradient','');
- Node656.a('node.gradientcolor','');
- Node656.a('node.text','限电');
- Node656.a('node.textalign','left');
- Node656.a('node.textvAlign','middle');
- Node656.a('node.textrect', [Node656textStart, 0, Node656textWidth, Node656height]);
- Node656.a('node.color','rgba(0,0,0,1)');
- Node656.a('node.font','bold '+ Node656fontSize + 'px "Arial"');
- Node656.a('node.textvisible',true);
- Node656.a('node.linefeed',false);
- if (false) {
- Node656.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node656.a('node.text') || '限电';
- var color=Node656.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node656width,Node656height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node656fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node656.a('node.underlinepoints',[Node656lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node656fontSize + 2 , ht.Default.getTextSize('限电', 'bold '+ Node656fontSize + 'px "Arial"').width + 6, (Node656height - Node656fontSize) * 0.5*_ratio.ratioY + Node656fontSize + 2 ]);
- Node656.a('node.underlinevisible',false);
- Node656.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node656);
- zoomNodeList.push({
- node: Node656,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node657 = new ht.Node();
- var Node657textStart, Node657textWidth, Node657lineStart, Node657align = 'left', Node657fontSize = 15.99996*_ratio.ratioY,Node657width = 29*_ratio.ratioX, Node657height = 25*_ratio.ratioY;
- (function () {
- if (Node657align === 'left') {
- Node657textStart = Node657fontSize * 0.2 > 2 ? Node657fontSize * 0.2 - 4 : Node657fontSize * 0.2 - 9;
- Node657textWidth = Node657width;
- Node657lineStart = 1;
- } else if (Node657align === 'right') {
- Node657textStart = 0;
- Node657textWidth =Node657fontSize <= 8 ? Node657width + Node657fontSize * 0.2 + 6 : Node657width - Node657fontSize * 0.2;
- Node657lineStart = (Node657width - (ht.Default.getTextSize('0', ' '+ Node657fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node657align === 'center') {
- Node657textStart = -3;
- Node657textWidth = Node657width;
- Node657lineStart = Node657width - ht.Default.getTextSize('0', ' '+ Node657fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node657.setImage(GD.getTextJSON(Node657width, Node657height, true, false, false, ' '+ Node657fontSize + 'px "Arial"'))
- Node657.setPosition(1645*ratio.ratioX, 146*ratio.ratioY);
- Node657.setWidth(Node657width);
- Node657.setHeight(Node657height);
- Node657._nodeType = 'text';
- Node657._disallowEvert = true;
- Node657.setRotation(0*Math.PI/180);
- Node657.a('node.width', Node657width);
- Node657.a('node.height', Node657height);
- Node657.a('node.rect', [0, 0, Node657width, Node657height]);
- Node657.a('node.bordercolor','rgba(0,0,0,1)');
- Node657.a('node.borderwidth', 0);
- Node657.a('node.background','' || 'rgba(0,0,0,0)');
- Node657.a('node.gradient','');
- Node657.a('node.gradientcolor','');
- Node657.a('node.text','0');
- Node657.a('node.textalign','left');
- Node657.a('node.textvAlign','middle');
- Node657.a('node.textrect', [Node657textStart, 0, Node657textWidth, Node657height]);
- Node657.a('node.color','rgba(0,0,0,1)');
- Node657.a('node.font',' '+ Node657fontSize + 'px "Arial"');
- Node657.a('node.textvisible',true);
- Node657.a('node.linefeed',false);
- if (false) {
- Node657.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node657.a('node.text') || '0';
- var color=Node657.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node657width,Node657height,15.99996*_ratio.ratioY,"left",color,' '+ Node657fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node657.a('node.underlinepoints',[Node657lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node657fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node657fontSize + 'px "Arial"').width + 6, (Node657height - Node657fontSize) * 0.5*_ratio.ratioY + Node657fontSize + 2 ]);
- Node657.a('node.underlinevisible',false);
- Node657.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node657);
- zoomNodeList.push({
- node: Node657,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node658type = 'rect';
- var Node658 = new ht.Node(),
- Node658BorderWidth = 1*2;
- if (Node658type === 'arc') {
- Node658BorderWidth *= 1;
- }
- Node658.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node658type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node658.setPosition(246*ratio.ratioX, 100*ratio.ratioY);
- Node658.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node658.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node658.a('node.width', 121*_ratio.ratioX);
- Node658.a('node.height', 24.33138*_ratio.ratioY);
- Node658.a('node.type', Node658type);
- Node658.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node658.a('node.background', 'rgba(240,240,240,1)');
- Node658.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node658.a('node.gradient', '');
- Node658.a('node.borderwidth', Node658BorderWidth);
- Node658.a('node.color', 'rgba(224,224,224,1)');
- Node658.a('node.fillrect', [0,0,0,0]);
- Node658.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node658.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node658.a('node.fillgradient', '');
- if (Node658type !== 'rect') {
- Node658.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node658.a('node.arcTo', parseFloat('@arcTo@'));
- Node658.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node658type === 'arc') {
- Node658.a('node.arcOval', true);
- }
- Node658.setRotation(0*Math.PI/180);
- Node658.borderWidth = Node658BorderWidth;
- Node658.borderFillwidth = Node658BorderWidth;
- dataModel.add(Node658);
- Node658._nodename = 'Node658'
- Node658._nodeType = 'rect';
- zoomNodeList.push({
- node: Node658,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node658, Node658.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node659type = 'rect';
- var Node659 = new ht.Node(),
- Node659BorderWidth = 1*2;
- if (Node659type === 'arc') {
- Node659BorderWidth *= 1;
- }
- Node659.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node659type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node659.setPosition(246*ratio.ratioX, 76*ratio.ratioY);
- Node659.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node659.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node659.a('node.width', 121*_ratio.ratioX);
- Node659.a('node.height', 24.33138*_ratio.ratioY);
- Node659.a('node.type', Node659type);
- Node659.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node659.a('node.background', 'rgba(240,240,240,1)');
- Node659.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node659.a('node.gradient', '');
- Node659.a('node.borderwidth', Node659BorderWidth);
- Node659.a('node.color', 'rgba(224,224,224,1)');
- Node659.a('node.fillrect', [0,0,0,0]);
- Node659.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node659.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node659.a('node.fillgradient', '');
- if (Node659type !== 'rect') {
- Node659.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node659.a('node.arcTo', parseFloat('@arcTo@'));
- Node659.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node659type === 'arc') {
- Node659.a('node.arcOval', true);
- }
- Node659.setRotation(0*Math.PI/180);
- Node659.borderWidth = Node659BorderWidth;
- Node659.borderFillwidth = Node659BorderWidth;
- dataModel.add(Node659);
- Node659._nodename = 'Node659'
- Node659._nodeType = 'rect';
- zoomNodeList.push({
- node: Node659,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node659, Node659.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node660type = 'rect';
- var Node660 = new ht.Node(),
- Node660BorderWidth = 1*2;
- if (Node660type === 'arc') {
- Node660BorderWidth *= 1;
- }
- Node660.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node660type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node660.setPosition(246*ratio.ratioX, 125*ratio.ratioY);
- Node660.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node660.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node660.a('node.width', 121*_ratio.ratioX);
- Node660.a('node.height', 24.33136*_ratio.ratioY);
- Node660.a('node.type', Node660type);
- Node660.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node660.a('node.background', 'rgba(240,240,240,1)');
- Node660.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node660.a('node.gradient', '');
- Node660.a('node.borderwidth', Node660BorderWidth);
- Node660.a('node.color', 'rgba(224,224,224,1)');
- Node660.a('node.fillrect', [0,0,0,0]);
- Node660.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node660.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node660.a('node.fillgradient', '');
- if (Node660type !== 'rect') {
- Node660.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node660.a('node.arcTo', parseFloat('@arcTo@'));
- Node660.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node660type === 'arc') {
- Node660.a('node.arcOval', true);
- }
- Node660.setRotation(0*Math.PI/180);
- Node660.borderWidth = Node660BorderWidth;
- Node660.borderFillwidth = Node660BorderWidth;
- dataModel.add(Node660);
- Node660._nodename = 'Node660'
- Node660._nodeType = 'rect';
- zoomNodeList.push({
- node: Node660,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node660, Node660.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node661type = 'rect';
- var Node661 = new ht.Node(),
- Node661BorderWidth = 1*2;
- if (Node661type === 'arc') {
- Node661BorderWidth *= 1;
- }
- Node661.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node661type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node661.setPosition(246*ratio.ratioX, 52*ratio.ratioY);
- Node661.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node661.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node661.a('node.width', 121*_ratio.ratioX);
- Node661.a('node.height', 24.33136*_ratio.ratioY);
- Node661.a('node.type', Node661type);
- Node661.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node661.a('node.background', 'rgba(240,240,240,1)');
- Node661.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node661.a('node.gradient', '');
- Node661.a('node.borderwidth', Node661BorderWidth);
- Node661.a('node.color', 'rgba(224,224,224,1)');
- Node661.a('node.fillrect', [0,0,0,0]);
- Node661.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node661.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node661.a('node.fillgradient', '');
- if (Node661type !== 'rect') {
- Node661.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node661.a('node.arcTo', parseFloat('@arcTo@'));
- Node661.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node661type === 'arc') {
- Node661.a('node.arcOval', true);
- }
- Node661.setRotation(0*Math.PI/180);
- Node661.borderWidth = Node661BorderWidth;
- Node661.borderFillwidth = Node661BorderWidth;
- dataModel.add(Node661);
- Node661._nodename = 'Node661'
- Node661._nodeType = 'rect';
- zoomNodeList.push({
- node: Node661,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node661, Node661.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node662type = 'rect';
- var Node662 = new ht.Node(),
- Node662BorderWidth = 1*2;
- if (Node662type === 'arc') {
- Node662BorderWidth *= 1;
- }
- Node662.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node662type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node662.setPosition(246*ratio.ratioX, 149*ratio.ratioY);
- Node662.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node662.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node662.a('node.width', 121*_ratio.ratioX);
- Node662.a('node.height', 24.33138*_ratio.ratioY);
- Node662.a('node.type', Node662type);
- Node662.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node662.a('node.background', 'rgba(240,240,240,1)');
- Node662.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node662.a('node.gradient', '');
- Node662.a('node.borderwidth', Node662BorderWidth);
- Node662.a('node.color', 'rgba(224,224,224,1)');
- Node662.a('node.fillrect', [0,0,0,0]);
- Node662.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node662.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node662.a('node.fillgradient', '');
- if (Node662type !== 'rect') {
- Node662.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node662.a('node.arcTo', parseFloat('@arcTo@'));
- Node662.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node662type === 'arc') {
- Node662.a('node.arcOval', true);
- }
- Node662.setRotation(0*Math.PI/180);
- Node662.borderWidth = Node662BorderWidth;
- Node662.borderFillwidth = Node662BorderWidth;
- dataModel.add(Node662);
- Node662._nodename = 'Node662'
- Node662._nodeType = 'rect';
- zoomNodeList.push({
- node: Node662,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node662, Node662.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node663 = new ht.Node();
- var Node663textStart, Node663textWidth, Node663lineStart, Node663align = 'left', Node663fontSize = 13.3333*_ratio.ratioY,Node663width = 61*_ratio.ratioX, Node663height = 26*_ratio.ratioY;
- (function () {
- if (Node663align === 'left') {
- Node663textStart = Node663fontSize * 0.2 > 2 ? Node663fontSize * 0.2 - 4 : Node663fontSize * 0.2 - 9;
- Node663textWidth = Node663width;
- Node663lineStart = 1;
- } else if (Node663align === 'right') {
- Node663textStart = 0;
- Node663textWidth =Node663fontSize <= 8 ? Node663width + Node663fontSize * 0.2 + 6 : Node663width - Node663fontSize * 0.2;
- Node663lineStart = (Node663width - (ht.Default.getTextSize('功率', ' '+ Node663fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node663align === 'center') {
- Node663textStart = -3;
- Node663textWidth = Node663width;
- Node663lineStart = Node663width - ht.Default.getTextSize('功率', ' '+ Node663fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node663.setImage(GD.getTextJSON(Node663width, Node663height, true, false, false, ' '+ Node663fontSize + 'px "微软雅黑"'))
- Node663.setPosition(220*ratio.ratioX, 78*ratio.ratioY);
- Node663.setWidth(Node663width);
- Node663.setHeight(Node663height);
- Node663._nodeType = 'text';
- Node663._disallowEvert = true;
- Node663.setRotation(0*Math.PI/180);
- Node663.a('node.width', Node663width);
- Node663.a('node.height', Node663height);
- Node663.a('node.rect', [0, 0, Node663width, Node663height]);
- Node663.a('node.bordercolor','rgba(0,0,0,1)');
- Node663.a('node.borderwidth', 0);
- Node663.a('node.background','' || 'rgba(0,0,0,0)');
- Node663.a('node.gradient','');
- Node663.a('node.gradientcolor','');
- Node663.a('node.text','功率');
- Node663.a('node.textalign','left');
- Node663.a('node.textvAlign','middle');
- Node663.a('node.textrect', [Node663textStart, 0, Node663textWidth, Node663height]);
- Node663.a('node.color','rgba(0,0,0,1)');
- Node663.a('node.font',' '+ Node663fontSize + 'px "微软雅黑"');
- Node663.a('node.textvisible',true);
- Node663.a('node.linefeed',false);
- if (false) {
- Node663.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node663.a('node.text') || '功率';
- var color=Node663.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node663width,Node663height,13.3333*_ratio.ratioY,"left",color,' '+ Node663fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node663.a('node.underlinepoints',[Node663lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node663fontSize + 2 , ht.Default.getTextSize('功率', ' '+ Node663fontSize + 'px "微软雅黑"').width + 6, (Node663height - Node663fontSize) * 0.5*_ratio.ratioY + Node663fontSize + 2 ]);
- Node663.a('node.underlinevisible',false);
- Node663.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node663);
- zoomNodeList.push({
- node: Node663,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node664 = new ht.Node();
- var Node664textStart, Node664textWidth, Node664lineStart, Node664align = 'left', Node664fontSize = 13.3333*_ratio.ratioY,Node664width = 61*_ratio.ratioX, Node664height = 26*_ratio.ratioY;
- (function () {
- if (Node664align === 'left') {
- Node664textStart = Node664fontSize * 0.2 > 2 ? Node664fontSize * 0.2 - 4 : Node664fontSize * 0.2 - 9;
- Node664textWidth = Node664width;
- Node664lineStart = 1;
- } else if (Node664align === 'right') {
- Node664textStart = 0;
- Node664textWidth =Node664fontSize <= 8 ? Node664width + Node664fontSize * 0.2 + 6 : Node664width - Node664fontSize * 0.2;
- Node664lineStart = (Node664width - (ht.Default.getTextSize('风速', ' '+ Node664fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node664align === 'center') {
- Node664textStart = -3;
- Node664textWidth = Node664width;
- Node664lineStart = Node664width - ht.Default.getTextSize('风速', ' '+ Node664fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node664.setImage(GD.getTextJSON(Node664width, Node664height, true, false, false, ' '+ Node664fontSize + 'px "微软雅黑"'))
- Node664.setPosition(220*ratio.ratioX, 102*ratio.ratioY);
- Node664.setWidth(Node664width);
- Node664.setHeight(Node664height);
- Node664._nodeType = 'text';
- Node664._disallowEvert = true;
- Node664.setRotation(0*Math.PI/180);
- Node664.a('node.width', Node664width);
- Node664.a('node.height', Node664height);
- Node664.a('node.rect', [0, 0, Node664width, Node664height]);
- Node664.a('node.bordercolor','rgba(0,0,0,1)');
- Node664.a('node.borderwidth', 0);
- Node664.a('node.background','' || 'rgba(0,0,0,0)');
- Node664.a('node.gradient','');
- Node664.a('node.gradientcolor','');
- Node664.a('node.text','风速');
- Node664.a('node.textalign','left');
- Node664.a('node.textvAlign','middle');
- Node664.a('node.textrect', [Node664textStart, 0, Node664textWidth, Node664height]);
- Node664.a('node.color','rgba(0,0,0,1)');
- Node664.a('node.font',' '+ Node664fontSize + 'px "微软雅黑"');
- Node664.a('node.textvisible',true);
- Node664.a('node.linefeed',false);
- if (false) {
- Node664.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node664.a('node.text') || '风速';
- var color=Node664.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node664width,Node664height,13.3333*_ratio.ratioY,"left",color,' '+ Node664fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node664.a('node.underlinepoints',[Node664lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node664fontSize + 2 , ht.Default.getTextSize('风速', ' '+ Node664fontSize + 'px "微软雅黑"').width + 6, (Node664height - Node664fontSize) * 0.5*_ratio.ratioY + Node664fontSize + 2 ]);
- Node664.a('node.underlinevisible',false);
- Node664.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node664);
- zoomNodeList.push({
- node: Node664,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node665 = new ht.Node();
- var Node665textStart, Node665textWidth, Node665lineStart, Node665align = 'left', Node665fontSize = 13.3333*_ratio.ratioY,Node665width = 77*_ratio.ratioX, Node665height = 26*_ratio.ratioY;
- (function () {
- if (Node665align === 'left') {
- Node665textStart = Node665fontSize * 0.2 > 2 ? Node665fontSize * 0.2 - 4 : Node665fontSize * 0.2 - 9;
- Node665textWidth = Node665width;
- Node665lineStart = 1;
- } else if (Node665align === 'right') {
- Node665textStart = 0;
- Node665textWidth =Node665fontSize <= 8 ? Node665width + Node665fontSize * 0.2 + 6 : Node665width - Node665fontSize * 0.2;
- Node665lineStart = (Node665width - (ht.Default.getTextSize('发电量', ' '+ Node665fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node665align === 'center') {
- Node665textStart = -3;
- Node665textWidth = Node665width;
- Node665lineStart = Node665width - ht.Default.getTextSize('发电量', ' '+ Node665fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node665.setImage(GD.getTextJSON(Node665width, Node665height, true, false, false, ' '+ Node665fontSize + 'px "微软雅黑"'))
- Node665.setPosition(226*ratio.ratioX, 127*ratio.ratioY);
- Node665.setWidth(Node665width);
- Node665.setHeight(Node665height);
- Node665._nodeType = 'text';
- Node665._disallowEvert = true;
- Node665.setRotation(0*Math.PI/180);
- Node665.a('node.width', Node665width);
- Node665.a('node.height', Node665height);
- Node665.a('node.rect', [0, 0, Node665width, Node665height]);
- Node665.a('node.bordercolor','rgba(0,0,0,1)');
- Node665.a('node.borderwidth', 0);
- Node665.a('node.background','' || 'rgba(0,0,0,0)');
- Node665.a('node.gradient','');
- Node665.a('node.gradientcolor','');
- Node665.a('node.text','发电量');
- Node665.a('node.textalign','left');
- Node665.a('node.textvAlign','middle');
- Node665.a('node.textrect', [Node665textStart, 0, Node665textWidth, Node665height]);
- Node665.a('node.color','rgba(0,0,0,1)');
- Node665.a('node.font',' '+ Node665fontSize + 'px "微软雅黑"');
- Node665.a('node.textvisible',true);
- Node665.a('node.linefeed',false);
- if (false) {
- Node665.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node665.a('node.text') || '发电量';
- var color=Node665.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node665width,Node665height,13.3333*_ratio.ratioY,"left",color,' '+ Node665fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node665.a('node.underlinepoints',[Node665lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node665fontSize + 2 , ht.Default.getTextSize('发电量', ' '+ Node665fontSize + 'px "微软雅黑"').width + 6, (Node665height - Node665fontSize) * 0.5*_ratio.ratioY + Node665fontSize + 2 ]);
- Node665.a('node.underlinevisible',false);
- Node665.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node665);
- zoomNodeList.push({
- node: Node665,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node666type = 'rect';
- var Node666 = new ht.Node(),
- Node666BorderWidth = 1*2;
- if (Node666type === 'arc') {
- Node666BorderWidth *= 1;
- }
- Node666.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node666type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node666.setPosition(530*ratio.ratioX, 100*ratio.ratioY);
- Node666.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node666.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node666.a('node.width', 121*_ratio.ratioX);
- Node666.a('node.height', 24.33138*_ratio.ratioY);
- Node666.a('node.type', Node666type);
- Node666.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node666.a('node.background', 'rgba(240,240,240,1)');
- Node666.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node666.a('node.gradient', '');
- Node666.a('node.borderwidth', Node666BorderWidth);
- Node666.a('node.color', 'rgba(224,224,224,1)');
- Node666.a('node.fillrect', [0,0,0,0]);
- Node666.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node666.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node666.a('node.fillgradient', '');
- if (Node666type !== 'rect') {
- Node666.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node666.a('node.arcTo', parseFloat('@arcTo@'));
- Node666.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node666type === 'arc') {
- Node666.a('node.arcOval', true);
- }
- Node666.setRotation(0*Math.PI/180);
- Node666.borderWidth = Node666BorderWidth;
- Node666.borderFillwidth = Node666BorderWidth;
- dataModel.add(Node666);
- Node666._nodename = 'Node666'
- Node666._nodeType = 'rect';
- zoomNodeList.push({
- node: Node666,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node666, Node666.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node667type = 'rect';
- var Node667 = new ht.Node(),
- Node667BorderWidth = 1*2;
- if (Node667type === 'arc') {
- Node667BorderWidth *= 1;
- }
- Node667.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node667type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node667.setPosition(530*ratio.ratioX, 76*ratio.ratioY);
- Node667.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node667.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node667.a('node.width', 121*_ratio.ratioX);
- Node667.a('node.height', 24.33138*_ratio.ratioY);
- Node667.a('node.type', Node667type);
- Node667.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node667.a('node.background', 'rgba(240,240,240,1)');
- Node667.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node667.a('node.gradient', '');
- Node667.a('node.borderwidth', Node667BorderWidth);
- Node667.a('node.color', 'rgba(224,224,224,1)');
- Node667.a('node.fillrect', [0,0,0,0]);
- Node667.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node667.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node667.a('node.fillgradient', '');
- if (Node667type !== 'rect') {
- Node667.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node667.a('node.arcTo', parseFloat('@arcTo@'));
- Node667.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node667type === 'arc') {
- Node667.a('node.arcOval', true);
- }
- Node667.setRotation(0*Math.PI/180);
- Node667.borderWidth = Node667BorderWidth;
- Node667.borderFillwidth = Node667BorderWidth;
- dataModel.add(Node667);
- Node667._nodename = 'Node667'
- Node667._nodeType = 'rect';
- zoomNodeList.push({
- node: Node667,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node667, Node667.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node668type = 'rect';
- var Node668 = new ht.Node(),
- Node668BorderWidth = 1*2;
- if (Node668type === 'arc') {
- Node668BorderWidth *= 1;
- }
- Node668.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node668type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node668.setPosition(530*ratio.ratioX, 125*ratio.ratioY);
- Node668.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node668.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node668.a('node.width', 121*_ratio.ratioX);
- Node668.a('node.height', 24.33136*_ratio.ratioY);
- Node668.a('node.type', Node668type);
- Node668.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node668.a('node.background', 'rgba(240,240,240,1)');
- Node668.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node668.a('node.gradient', '');
- Node668.a('node.borderwidth', Node668BorderWidth);
- Node668.a('node.color', 'rgba(224,224,224,1)');
- Node668.a('node.fillrect', [0,0,0,0]);
- Node668.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node668.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node668.a('node.fillgradient', '');
- if (Node668type !== 'rect') {
- Node668.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node668.a('node.arcTo', parseFloat('@arcTo@'));
- Node668.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node668type === 'arc') {
- Node668.a('node.arcOval', true);
- }
- Node668.setRotation(0*Math.PI/180);
- Node668.borderWidth = Node668BorderWidth;
- Node668.borderFillwidth = Node668BorderWidth;
- dataModel.add(Node668);
- Node668._nodename = 'Node668'
- Node668._nodeType = 'rect';
- zoomNodeList.push({
- node: Node668,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node668, Node668.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node669type = 'rect';
- var Node669 = new ht.Node(),
- Node669BorderWidth = 1*2;
- if (Node669type === 'arc') {
- Node669BorderWidth *= 1;
- }
- Node669.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node669type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node669.setPosition(530*ratio.ratioX, 52*ratio.ratioY);
- Node669.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node669.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node669.a('node.width', 121*_ratio.ratioX);
- Node669.a('node.height', 24.33136*_ratio.ratioY);
- Node669.a('node.type', Node669type);
- Node669.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node669.a('node.background', 'rgba(240,240,240,1)');
- Node669.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node669.a('node.gradient', '');
- Node669.a('node.borderwidth', Node669BorderWidth);
- Node669.a('node.color', 'rgba(224,224,224,1)');
- Node669.a('node.fillrect', [0,0,0,0]);
- Node669.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node669.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node669.a('node.fillgradient', '');
- if (Node669type !== 'rect') {
- Node669.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node669.a('node.arcTo', parseFloat('@arcTo@'));
- Node669.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node669type === 'arc') {
- Node669.a('node.arcOval', true);
- }
- Node669.setRotation(0*Math.PI/180);
- Node669.borderWidth = Node669BorderWidth;
- Node669.borderFillwidth = Node669BorderWidth;
- dataModel.add(Node669);
- Node669._nodename = 'Node669'
- Node669._nodeType = 'rect';
- zoomNodeList.push({
- node: Node669,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node669, Node669.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node670type = 'rect';
- var Node670 = new ht.Node(),
- Node670BorderWidth = 1*2;
- if (Node670type === 'arc') {
- Node670BorderWidth *= 1;
- }
- Node670.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node670type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node670.setPosition(530*ratio.ratioX, 149*ratio.ratioY);
- Node670.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node670.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node670.a('node.width', 121*_ratio.ratioX);
- Node670.a('node.height', 24.33138*_ratio.ratioY);
- Node670.a('node.type', Node670type);
- Node670.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node670.a('node.background', 'rgba(240,240,240,1)');
- Node670.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node670.a('node.gradient', '');
- Node670.a('node.borderwidth', Node670BorderWidth);
- Node670.a('node.color', 'rgba(224,224,224,1)');
- Node670.a('node.fillrect', [0,0,0,0]);
- Node670.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node670.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node670.a('node.fillgradient', '');
- if (Node670type !== 'rect') {
- Node670.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node670.a('node.arcTo', parseFloat('@arcTo@'));
- Node670.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node670type === 'arc') {
- Node670.a('node.arcOval', true);
- }
- Node670.setRotation(0*Math.PI/180);
- Node670.borderWidth = Node670BorderWidth;
- Node670.borderFillwidth = Node670BorderWidth;
- dataModel.add(Node670);
- Node670._nodename = 'Node670'
- Node670._nodeType = 'rect';
- zoomNodeList.push({
- node: Node670,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node670, Node670.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node671 = new ht.Node();
- var Node671textStart, Node671textWidth, Node671lineStart, Node671align = 'center', Node671fontSize = 13.3333*_ratio.ratioY,Node671width = 113*_ratio.ratioX, Node671height = 26*_ratio.ratioY;
- (function () {
- if (Node671align === 'left') {
- Node671textStart = Node671fontSize * 0.2 > 2 ? Node671fontSize * 0.2 - 4 : Node671fontSize * 0.2 - 9;
- Node671textWidth = Node671width;
- Node671lineStart = 1;
- } else if (Node671align === 'right') {
- Node671textStart = 0;
- Node671textWidth =Node671fontSize <= 8 ? Node671width + Node671fontSize * 0.2 + 6 : Node671width - Node671fontSize * 0.2;
- Node671lineStart = (Node671width - (ht.Default.getTextSize('日维护损失电量', ' '+ Node671fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node671align === 'center') {
- Node671textStart = -3;
- Node671textWidth = Node671width;
- Node671lineStart = Node671width - ht.Default.getTextSize('日维护损失电量', ' '+ Node671fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node671.setImage(GD.getTextJSON(Node671width, Node671height, true, false, false, ' '+ Node671fontSize + 'px "微软雅黑"'))
- Node671.setPosition(530*ratio.ratioX, 54*ratio.ratioY);
- Node671.setWidth(Node671width);
- Node671.setHeight(Node671height);
- Node671._nodeType = 'text';
- Node671._disallowEvert = true;
- Node671.setRotation(0*Math.PI/180);
- Node671.a('node.width', Node671width);
- Node671.a('node.height', Node671height);
- Node671.a('node.rect', [0, 0, Node671width, Node671height]);
- Node671.a('node.bordercolor','rgba(0,0,0,1)');
- Node671.a('node.borderwidth', 0);
- Node671.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node671.a('node.gradient','');
- Node671.a('node.gradientcolor','rgba(255,255,255,0)');
- Node671.a('node.text','日维护损失电量');
- Node671.a('node.textalign','center');
- Node671.a('node.textvAlign','middle');
- Node671.a('node.textrect', [Node671textStart, 0, Node671textWidth, Node671height]);
- Node671.a('node.color','rgba(0,0,0,1)');
- Node671.a('node.font',' '+ Node671fontSize + 'px "微软雅黑"');
- Node671.a('node.textvisible',true);
- Node671.a('node.linefeed',false);
- if (false) {
- Node671.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node671.a('node.text') || '日维护损失电量';
- var color=Node671.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node671width,Node671height,13.3333*_ratio.ratioY,"center",color,' '+ Node671fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node671.a('node.underlinepoints',[Node671lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node671fontSize + 2 , ht.Default.getTextSize('日维护损失电量', ' '+ Node671fontSize + 'px "微软雅黑"').width + 6, (Node671height - Node671fontSize) * 0.5*_ratio.ratioY + Node671fontSize + 2 ]);
- Node671.a('node.underlinevisible',false);
- Node671.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node671);
- zoomNodeList.push({
- node: Node671,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node672 = new ht.Node();
- var Node672textStart, Node672textWidth, Node672lineStart, Node672align = 'center', Node672fontSize = 13.3333*_ratio.ratioY,Node672width = 113*_ratio.ratioX, Node672height = 26*_ratio.ratioY;
- (function () {
- if (Node672align === 'left') {
- Node672textStart = Node672fontSize * 0.2 > 2 ? Node672fontSize * 0.2 - 4 : Node672fontSize * 0.2 - 9;
- Node672textWidth = Node672width;
- Node672lineStart = 1;
- } else if (Node672align === 'right') {
- Node672textStart = 0;
- Node672textWidth =Node672fontSize <= 8 ? Node672width + Node672fontSize * 0.2 + 6 : Node672width - Node672fontSize * 0.2;
- Node672lineStart = (Node672width - (ht.Default.getTextSize('日故障损失电量', ' '+ Node672fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node672align === 'center') {
- Node672textStart = -3;
- Node672textWidth = Node672width;
- Node672lineStart = Node672width - ht.Default.getTextSize('日故障损失电量', ' '+ Node672fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node672.setImage(GD.getTextJSON(Node672width, Node672height, true, false, false, ' '+ Node672fontSize + 'px "微软雅黑"'))
- Node672.setPosition(531*ratio.ratioX, 78*ratio.ratioY);
- Node672.setWidth(Node672width);
- Node672.setHeight(Node672height);
- Node672._nodeType = 'text';
- Node672._disallowEvert = true;
- Node672.setRotation(0*Math.PI/180);
- Node672.a('node.width', Node672width);
- Node672.a('node.height', Node672height);
- Node672.a('node.rect', [0, 0, Node672width, Node672height]);
- Node672.a('node.bordercolor','rgba(0,0,0,1)');
- Node672.a('node.borderwidth', 0);
- Node672.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node672.a('node.gradient','');
- Node672.a('node.gradientcolor','rgba(255,255,255,0)');
- Node672.a('node.text','日故障损失电量');
- Node672.a('node.textalign','center');
- Node672.a('node.textvAlign','middle');
- Node672.a('node.textrect', [Node672textStart, 0, Node672textWidth, Node672height]);
- Node672.a('node.color','rgba(0,0,0,1)');
- Node672.a('node.font',' '+ Node672fontSize + 'px "微软雅黑"');
- Node672.a('node.textvisible',true);
- Node672.a('node.linefeed',false);
- if (false) {
- Node672.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node672.a('node.text') || '日故障损失电量';
- var color=Node672.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node672width,Node672height,13.3333*_ratio.ratioY,"center",color,' '+ Node672fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node672.a('node.underlinepoints',[Node672lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node672fontSize + 2 , ht.Default.getTextSize('日故障损失电量', ' '+ Node672fontSize + 'px "微软雅黑"').width + 6, (Node672height - Node672fontSize) * 0.5*_ratio.ratioY + Node672fontSize + 2 ]);
- Node672.a('node.underlinevisible',false);
- Node672.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node672);
- zoomNodeList.push({
- node: Node672,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node673 = new ht.Node();
- var Node673textStart, Node673textWidth, Node673lineStart, Node673align = 'center', Node673fontSize = 13.3333*_ratio.ratioY,Node673width = 113*_ratio.ratioX, Node673height = 26*_ratio.ratioY;
- (function () {
- if (Node673align === 'left') {
- Node673textStart = Node673fontSize * 0.2 > 2 ? Node673fontSize * 0.2 - 4 : Node673fontSize * 0.2 - 9;
- Node673textWidth = Node673width;
- Node673lineStart = 1;
- } else if (Node673align === 'right') {
- Node673textStart = 0;
- Node673textWidth =Node673fontSize <= 8 ? Node673width + Node673fontSize * 0.2 + 6 : Node673width - Node673fontSize * 0.2;
- Node673lineStart = (Node673width - (ht.Default.getTextSize('日限电损失电量', ' '+ Node673fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node673align === 'center') {
- Node673textStart = -3;
- Node673textWidth = Node673width;
- Node673lineStart = Node673width - ht.Default.getTextSize('日限电损失电量', ' '+ Node673fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node673.setImage(GD.getTextJSON(Node673width, Node673height, true, false, false, ' '+ Node673fontSize + 'px "微软雅黑"'))
- Node673.setPosition(531*ratio.ratioX, 103*ratio.ratioY);
- Node673.setWidth(Node673width);
- Node673.setHeight(Node673height);
- Node673._nodeType = 'text';
- Node673._disallowEvert = true;
- Node673.setRotation(0*Math.PI/180);
- Node673.a('node.width', Node673width);
- Node673.a('node.height', Node673height);
- Node673.a('node.rect', [0, 0, Node673width, Node673height]);
- Node673.a('node.bordercolor','rgba(0,0,0,1)');
- Node673.a('node.borderwidth', 0);
- Node673.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node673.a('node.gradient','');
- Node673.a('node.gradientcolor','rgba(255,255,255,0)');
- Node673.a('node.text','日限电损失电量');
- Node673.a('node.textalign','center');
- Node673.a('node.textvAlign','middle');
- Node673.a('node.textrect', [Node673textStart, 0, Node673textWidth, Node673height]);
- Node673.a('node.color','rgba(0,0,0,1)');
- Node673.a('node.font',' '+ Node673fontSize + 'px "微软雅黑"');
- Node673.a('node.textvisible',true);
- Node673.a('node.linefeed',false);
- if (false) {
- Node673.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node673.a('node.text') || '日限电损失电量';
- var color=Node673.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node673width,Node673height,13.3333*_ratio.ratioY,"center",color,' '+ Node673fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node673.a('node.underlinepoints',[Node673lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node673fontSize + 2 , ht.Default.getTextSize('日限电损失电量', ' '+ Node673fontSize + 'px "微软雅黑"').width + 6, (Node673height - Node673fontSize) * 0.5*_ratio.ratioY + Node673fontSize + 2 ]);
- Node673.a('node.underlinevisible',false);
- Node673.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node673);
- zoomNodeList.push({
- node: Node673,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node674 = new ht.Node();
- var Node674textStart, Node674textWidth, Node674lineStart, Node674align = 'center', Node674fontSize = 13.3333*_ratio.ratioY,Node674width = 113*_ratio.ratioX, Node674height = 26*_ratio.ratioY;
- (function () {
- if (Node674align === 'left') {
- Node674textStart = Node674fontSize * 0.2 > 2 ? Node674fontSize * 0.2 - 4 : Node674fontSize * 0.2 - 9;
- Node674textWidth = Node674width;
- Node674lineStart = 1;
- } else if (Node674align === 'right') {
- Node674textStart = 0;
- Node674textWidth =Node674fontSize <= 8 ? Node674width + Node674fontSize * 0.2 + 6 : Node674width - Node674fontSize * 0.2;
- Node674lineStart = (Node674width - (ht.Default.getTextSize('日受累损失电量', ' '+ Node674fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node674align === 'center') {
- Node674textStart = -3;
- Node674textWidth = Node674width;
- Node674lineStart = Node674width - ht.Default.getTextSize('日受累损失电量', ' '+ Node674fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node674.setImage(GD.getTextJSON(Node674width, Node674height, true, false, false, ' '+ Node674fontSize + 'px "微软雅黑"'))
- Node674.setPosition(531*ratio.ratioX, 127*ratio.ratioY);
- Node674.setWidth(Node674width);
- Node674.setHeight(Node674height);
- Node674._nodeType = 'text';
- Node674._disallowEvert = true;
- Node674.setRotation(0*Math.PI/180);
- Node674.a('node.width', Node674width);
- Node674.a('node.height', Node674height);
- Node674.a('node.rect', [0, 0, Node674width, Node674height]);
- Node674.a('node.bordercolor','rgba(0,0,0,1)');
- Node674.a('node.borderwidth', 0);
- Node674.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node674.a('node.gradient','');
- Node674.a('node.gradientcolor','rgba(255,255,255,0)');
- Node674.a('node.text','日受累损失电量');
- Node674.a('node.textalign','center');
- Node674.a('node.textvAlign','middle');
- Node674.a('node.textrect', [Node674textStart, 0, Node674textWidth, Node674height]);
- Node674.a('node.color','rgba(0,0,0,1)');
- Node674.a('node.font',' '+ Node674fontSize + 'px "微软雅黑"');
- Node674.a('node.textvisible',true);
- Node674.a('node.linefeed',false);
- if (false) {
- Node674.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node674.a('node.text') || '日受累损失电量';
- var color=Node674.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node674width,Node674height,13.3333*_ratio.ratioY,"center",color,' '+ Node674fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node674.a('node.underlinepoints',[Node674lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node674fontSize + 2 , ht.Default.getTextSize('日受累损失电量', ' '+ Node674fontSize + 'px "微软雅黑"').width + 6, (Node674height - Node674fontSize) * 0.5*_ratio.ratioY + Node674fontSize + 2 ]);
- Node674.a('node.underlinevisible',false);
- Node674.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node674);
- zoomNodeList.push({
- node: Node674,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node675type = 'rect';
- var Node675 = new ht.Node(),
- Node675BorderWidth = 1*2;
- if (Node675type === 'arc') {
- Node675BorderWidth *= 1;
- }
- Node675.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node675type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node675.setPosition(811*ratio.ratioX, 100*ratio.ratioY);
- Node675.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node675.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node675.a('node.width', 117*_ratio.ratioX);
- Node675.a('node.height', 24.33138*_ratio.ratioY);
- Node675.a('node.type', Node675type);
- Node675.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node675.a('node.background', 'rgba(240,240,240,1)');
- Node675.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node675.a('node.gradient', '');
- Node675.a('node.borderwidth', Node675BorderWidth);
- Node675.a('node.color', 'rgba(224,224,224,1)');
- Node675.a('node.fillrect', [0,0,0,0]);
- Node675.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node675.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node675.a('node.fillgradient', '');
- if (Node675type !== 'rect') {
- Node675.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node675.a('node.arcTo', parseFloat('@arcTo@'));
- Node675.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node675type === 'arc') {
- Node675.a('node.arcOval', true);
- }
- Node675.setRotation(0*Math.PI/180);
- Node675.borderWidth = Node675BorderWidth;
- Node675.borderFillwidth = Node675BorderWidth;
- dataModel.add(Node675);
- Node675._nodename = 'Node675'
- Node675._nodeType = 'rect';
- zoomNodeList.push({
- node: Node675,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node675, Node675.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node676type = 'rect';
- var Node676 = new ht.Node(),
- Node676BorderWidth = 1*2;
- if (Node676type === 'arc') {
- Node676BorderWidth *= 1;
- }
- Node676.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node676type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node676.setPosition(811*ratio.ratioX, 76*ratio.ratioY);
- Node676.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node676.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node676.a('node.width', 117*_ratio.ratioX);
- Node676.a('node.height', 24.33138*_ratio.ratioY);
- Node676.a('node.type', Node676type);
- Node676.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node676.a('node.background', 'rgba(240,240,240,1)');
- Node676.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node676.a('node.gradient', '');
- Node676.a('node.borderwidth', Node676BorderWidth);
- Node676.a('node.color', 'rgba(224,224,224,1)');
- Node676.a('node.fillrect', [0,0,0,0]);
- Node676.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node676.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node676.a('node.fillgradient', '');
- if (Node676type !== 'rect') {
- Node676.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node676.a('node.arcTo', parseFloat('@arcTo@'));
- Node676.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node676type === 'arc') {
- Node676.a('node.arcOval', true);
- }
- Node676.setRotation(0*Math.PI/180);
- Node676.borderWidth = Node676BorderWidth;
- Node676.borderFillwidth = Node676BorderWidth;
- dataModel.add(Node676);
- Node676._nodename = 'Node676'
- Node676._nodeType = 'rect';
- zoomNodeList.push({
- node: Node676,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node676, Node676.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node677type = 'rect';
- var Node677 = new ht.Node(),
- Node677BorderWidth = 1*2;
- if (Node677type === 'arc') {
- Node677BorderWidth *= 1;
- }
- Node677.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node677type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node677.setPosition(811*ratio.ratioX, 125*ratio.ratioY);
- Node677.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node677.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node677.a('node.width', 117*_ratio.ratioX);
- Node677.a('node.height', 24.33136*_ratio.ratioY);
- Node677.a('node.type', Node677type);
- Node677.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node677.a('node.background', 'rgba(240,240,240,1)');
- Node677.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node677.a('node.gradient', '');
- Node677.a('node.borderwidth', Node677BorderWidth);
- Node677.a('node.color', 'rgba(224,224,224,1)');
- Node677.a('node.fillrect', [0,0,0,0]);
- Node677.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node677.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node677.a('node.fillgradient', '');
- if (Node677type !== 'rect') {
- Node677.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node677.a('node.arcTo', parseFloat('@arcTo@'));
- Node677.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node677type === 'arc') {
- Node677.a('node.arcOval', true);
- }
- Node677.setRotation(0*Math.PI/180);
- Node677.borderWidth = Node677BorderWidth;
- Node677.borderFillwidth = Node677BorderWidth;
- dataModel.add(Node677);
- Node677._nodename = 'Node677'
- Node677._nodeType = 'rect';
- zoomNodeList.push({
- node: Node677,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node677, Node677.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node678type = 'rect';
- var Node678 = new ht.Node(),
- Node678BorderWidth = 1*2;
- if (Node678type === 'arc') {
- Node678BorderWidth *= 1;
- }
- Node678.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node678type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node678.setPosition(811*ratio.ratioX, 52*ratio.ratioY);
- Node678.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node678.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node678.a('node.width', 117*_ratio.ratioX);
- Node678.a('node.height', 24.33136*_ratio.ratioY);
- Node678.a('node.type', Node678type);
- Node678.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node678.a('node.background', 'rgba(240,240,240,1)');
- Node678.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node678.a('node.gradient', '');
- Node678.a('node.borderwidth', Node678BorderWidth);
- Node678.a('node.color', 'rgba(224,224,224,1)');
- Node678.a('node.fillrect', [0,0,0,0]);
- Node678.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node678.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node678.a('node.fillgradient', '');
- if (Node678type !== 'rect') {
- Node678.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node678.a('node.arcTo', parseFloat('@arcTo@'));
- Node678.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node678type === 'arc') {
- Node678.a('node.arcOval', true);
- }
- Node678.setRotation(0*Math.PI/180);
- Node678.borderWidth = Node678BorderWidth;
- Node678.borderFillwidth = Node678BorderWidth;
- dataModel.add(Node678);
- Node678._nodename = 'Node678'
- Node678._nodeType = 'rect';
- zoomNodeList.push({
- node: Node678,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node678, Node678.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node679type = 'rect';
- var Node679 = new ht.Node(),
- Node679BorderWidth = 1*2;
- if (Node679type === 'arc') {
- Node679BorderWidth *= 1;
- }
- Node679.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node679type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node679.setPosition(811*ratio.ratioX, 149*ratio.ratioY);
- Node679.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node679.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node679.a('node.width', 117*_ratio.ratioX);
- Node679.a('node.height', 24.33138*_ratio.ratioY);
- Node679.a('node.type', Node679type);
- Node679.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node679.a('node.background', 'rgba(240,240,240,1)');
- Node679.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node679.a('node.gradient', '');
- Node679.a('node.borderwidth', Node679BorderWidth);
- Node679.a('node.color', 'rgba(224,224,224,1)');
- Node679.a('node.fillrect', [0,0,0,0]);
- Node679.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node679.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node679.a('node.fillgradient', '');
- if (Node679type !== 'rect') {
- Node679.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node679.a('node.arcTo', parseFloat('@arcTo@'));
- Node679.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node679type === 'arc') {
- Node679.a('node.arcOval', true);
- }
- Node679.setRotation(0*Math.PI/180);
- Node679.borderWidth = Node679BorderWidth;
- Node679.borderFillwidth = Node679BorderWidth;
- dataModel.add(Node679);
- Node679._nodename = 'Node679'
- Node679._nodeType = 'rect';
- zoomNodeList.push({
- node: Node679,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node679, Node679.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node680 = new ht.Node();
- var Node680textStart, Node680textWidth, Node680lineStart, Node680align = 'center', Node680fontSize = 13.3333*_ratio.ratioY,Node680width = 110*_ratio.ratioX, Node680height = 26*_ratio.ratioY;
- (function () {
- if (Node680align === 'left') {
- Node680textStart = Node680fontSize * 0.2 > 2 ? Node680fontSize * 0.2 - 4 : Node680fontSize * 0.2 - 9;
- Node680textWidth = Node680width;
- Node680lineStart = 1;
- } else if (Node680align === 'right') {
- Node680textStart = 0;
- Node680textWidth =Node680fontSize <= 8 ? Node680width + Node680fontSize * 0.2 + 6 : Node680width - Node680fontSize * 0.2;
- Node680lineStart = (Node680width - (ht.Default.getTextSize('月维护损失电量', ' '+ Node680fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node680align === 'center') {
- Node680textStart = -3;
- Node680textWidth = Node680width;
- Node680lineStart = Node680width - ht.Default.getTextSize('月维护损失电量', ' '+ Node680fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node680.setImage(GD.getTextJSON(Node680width, Node680height, true, false, false, ' '+ Node680fontSize + 'px "微软雅黑"'))
- Node680.setPosition(811*ratio.ratioX, 54*ratio.ratioY);
- Node680.setWidth(Node680width);
- Node680.setHeight(Node680height);
- Node680._nodeType = 'text';
- Node680._disallowEvert = true;
- Node680.setRotation(0*Math.PI/180);
- Node680.a('node.width', Node680width);
- Node680.a('node.height', Node680height);
- Node680.a('node.rect', [0, 0, Node680width, Node680height]);
- Node680.a('node.bordercolor','rgba(0,0,0,1)');
- Node680.a('node.borderwidth', 0);
- Node680.a('node.background','' || 'rgba(0,0,0,0)');
- Node680.a('node.gradient','');
- Node680.a('node.gradientcolor','');
- Node680.a('node.text','月维护损失电量');
- Node680.a('node.textalign','center');
- Node680.a('node.textvAlign','middle');
- Node680.a('node.textrect', [Node680textStart, 0, Node680textWidth, Node680height]);
- Node680.a('node.color','rgba(0,0,0,1)');
- Node680.a('node.font',' '+ Node680fontSize + 'px "微软雅黑"');
- Node680.a('node.textvisible',true);
- Node680.a('node.linefeed',false);
- if (false) {
- Node680.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node680.a('node.text') || '月维护损失电量';
- var color=Node680.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node680width,Node680height,13.3333*_ratio.ratioY,"center",color,' '+ Node680fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node680.a('node.underlinepoints',[Node680lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node680fontSize + 2 , ht.Default.getTextSize('月维护损失电量', ' '+ Node680fontSize + 'px "微软雅黑"').width + 6, (Node680height - Node680fontSize) * 0.5*_ratio.ratioY + Node680fontSize + 2 ]);
- Node680.a('node.underlinevisible',false);
- Node680.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node680);
- zoomNodeList.push({
- node: Node680,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node681 = new ht.Node();
- var Node681textStart, Node681textWidth, Node681lineStart, Node681align = 'center', Node681fontSize = 13.3333*_ratio.ratioY,Node681width = 110*_ratio.ratioX, Node681height = 26*_ratio.ratioY;
- (function () {
- if (Node681align === 'left') {
- Node681textStart = Node681fontSize * 0.2 > 2 ? Node681fontSize * 0.2 - 4 : Node681fontSize * 0.2 - 9;
- Node681textWidth = Node681width;
- Node681lineStart = 1;
- } else if (Node681align === 'right') {
- Node681textStart = 0;
- Node681textWidth =Node681fontSize <= 8 ? Node681width + Node681fontSize * 0.2 + 6 : Node681width - Node681fontSize * 0.2;
- Node681lineStart = (Node681width - (ht.Default.getTextSize('月故障损失电量', ' '+ Node681fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node681align === 'center') {
- Node681textStart = -3;
- Node681textWidth = Node681width;
- Node681lineStart = Node681width - ht.Default.getTextSize('月故障损失电量', ' '+ Node681fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node681.setImage(GD.getTextJSON(Node681width, Node681height, true, false, false, ' '+ Node681fontSize + 'px "微软雅黑"'))
- Node681.setPosition(811*ratio.ratioX, 78*ratio.ratioY);
- Node681.setWidth(Node681width);
- Node681.setHeight(Node681height);
- Node681._nodeType = 'text';
- Node681._disallowEvert = true;
- Node681.setRotation(0*Math.PI/180);
- Node681.a('node.width', Node681width);
- Node681.a('node.height', Node681height);
- Node681.a('node.rect', [0, 0, Node681width, Node681height]);
- Node681.a('node.bordercolor','rgba(0,0,0,1)');
- Node681.a('node.borderwidth', 0);
- Node681.a('node.background','' || 'rgba(0,0,0,0)');
- Node681.a('node.gradient','');
- Node681.a('node.gradientcolor','');
- Node681.a('node.text','月故障损失电量');
- Node681.a('node.textalign','center');
- Node681.a('node.textvAlign','middle');
- Node681.a('node.textrect', [Node681textStart, 0, Node681textWidth, Node681height]);
- Node681.a('node.color','rgba(0,0,0,1)');
- Node681.a('node.font',' '+ Node681fontSize + 'px "微软雅黑"');
- Node681.a('node.textvisible',true);
- Node681.a('node.linefeed',false);
- if (false) {
- Node681.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node681.a('node.text') || '月故障损失电量';
- var color=Node681.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node681width,Node681height,13.3333*_ratio.ratioY,"center",color,' '+ Node681fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node681.a('node.underlinepoints',[Node681lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node681fontSize + 2 , ht.Default.getTextSize('月故障损失电量', ' '+ Node681fontSize + 'px "微软雅黑"').width + 6, (Node681height - Node681fontSize) * 0.5*_ratio.ratioY + Node681fontSize + 2 ]);
- Node681.a('node.underlinevisible',false);
- Node681.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node681);
- zoomNodeList.push({
- node: Node681,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node682 = new ht.Node();
- var Node682textStart, Node682textWidth, Node682lineStart, Node682align = 'center', Node682fontSize = 13.3333*_ratio.ratioY,Node682width = 110*_ratio.ratioX, Node682height = 26*_ratio.ratioY;
- (function () {
- if (Node682align === 'left') {
- Node682textStart = Node682fontSize * 0.2 > 2 ? Node682fontSize * 0.2 - 4 : Node682fontSize * 0.2 - 9;
- Node682textWidth = Node682width;
- Node682lineStart = 1;
- } else if (Node682align === 'right') {
- Node682textStart = 0;
- Node682textWidth =Node682fontSize <= 8 ? Node682width + Node682fontSize * 0.2 + 6 : Node682width - Node682fontSize * 0.2;
- Node682lineStart = (Node682width - (ht.Default.getTextSize('月限电损失电量', ' '+ Node682fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node682align === 'center') {
- Node682textStart = -3;
- Node682textWidth = Node682width;
- Node682lineStart = Node682width - ht.Default.getTextSize('月限电损失电量', ' '+ Node682fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node682.setImage(GD.getTextJSON(Node682width, Node682height, true, false, false, ' '+ Node682fontSize + 'px "微软雅黑"'))
- Node682.setPosition(811*ratio.ratioX, 103*ratio.ratioY);
- Node682.setWidth(Node682width);
- Node682.setHeight(Node682height);
- Node682._nodeType = 'text';
- Node682._disallowEvert = true;
- Node682.setRotation(0*Math.PI/180);
- Node682.a('node.width', Node682width);
- Node682.a('node.height', Node682height);
- Node682.a('node.rect', [0, 0, Node682width, Node682height]);
- Node682.a('node.bordercolor','rgba(0,0,0,1)');
- Node682.a('node.borderwidth', 0);
- Node682.a('node.background','' || 'rgba(0,0,0,0)');
- Node682.a('node.gradient','');
- Node682.a('node.gradientcolor','');
- Node682.a('node.text','月限电损失电量');
- Node682.a('node.textalign','center');
- Node682.a('node.textvAlign','middle');
- Node682.a('node.textrect', [Node682textStart, 0, Node682textWidth, Node682height]);
- Node682.a('node.color','rgba(0,0,0,1)');
- Node682.a('node.font',' '+ Node682fontSize + 'px "微软雅黑"');
- Node682.a('node.textvisible',true);
- Node682.a('node.linefeed',false);
- if (false) {
- Node682.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node682.a('node.text') || '月限电损失电量';
- var color=Node682.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node682width,Node682height,13.3333*_ratio.ratioY,"center",color,' '+ Node682fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node682.a('node.underlinepoints',[Node682lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node682fontSize + 2 , ht.Default.getTextSize('月限电损失电量', ' '+ Node682fontSize + 'px "微软雅黑"').width + 6, (Node682height - Node682fontSize) * 0.5*_ratio.ratioY + Node682fontSize + 2 ]);
- Node682.a('node.underlinevisible',false);
- Node682.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node682);
- zoomNodeList.push({
- node: Node682,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node683 = new ht.Node();
- var Node683textStart, Node683textWidth, Node683lineStart, Node683align = 'center', Node683fontSize = 13.3333*_ratio.ratioY,Node683width = 110*_ratio.ratioX, Node683height = 26*_ratio.ratioY;
- (function () {
- if (Node683align === 'left') {
- Node683textStart = Node683fontSize * 0.2 > 2 ? Node683fontSize * 0.2 - 4 : Node683fontSize * 0.2 - 9;
- Node683textWidth = Node683width;
- Node683lineStart = 1;
- } else if (Node683align === 'right') {
- Node683textStart = 0;
- Node683textWidth =Node683fontSize <= 8 ? Node683width + Node683fontSize * 0.2 + 6 : Node683width - Node683fontSize * 0.2;
- Node683lineStart = (Node683width - (ht.Default.getTextSize('月受累损失电量', ' '+ Node683fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node683align === 'center') {
- Node683textStart = -3;
- Node683textWidth = Node683width;
- Node683lineStart = Node683width - ht.Default.getTextSize('月受累损失电量', ' '+ Node683fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node683.setImage(GD.getTextJSON(Node683width, Node683height, true, false, false, ' '+ Node683fontSize + 'px "微软雅黑"'))
- Node683.setPosition(811*ratio.ratioX, 127*ratio.ratioY);
- Node683.setWidth(Node683width);
- Node683.setHeight(Node683height);
- Node683._nodeType = 'text';
- Node683._disallowEvert = true;
- Node683.setRotation(0*Math.PI/180);
- Node683.a('node.width', Node683width);
- Node683.a('node.height', Node683height);
- Node683.a('node.rect', [0, 0, Node683width, Node683height]);
- Node683.a('node.bordercolor','rgba(0,0,0,1)');
- Node683.a('node.borderwidth', 0);
- Node683.a('node.background','' || 'rgba(0,0,0,0)');
- Node683.a('node.gradient','');
- Node683.a('node.gradientcolor','');
- Node683.a('node.text','月受累损失电量');
- Node683.a('node.textalign','center');
- Node683.a('node.textvAlign','middle');
- Node683.a('node.textrect', [Node683textStart, 0, Node683textWidth, Node683height]);
- Node683.a('node.color','rgba(0,0,0,1)');
- Node683.a('node.font',' '+ Node683fontSize + 'px "微软雅黑"');
- Node683.a('node.textvisible',true);
- Node683.a('node.linefeed',false);
- if (false) {
- Node683.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node683.a('node.text') || '月受累损失电量';
- var color=Node683.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node683width,Node683height,13.3333*_ratio.ratioY,"center",color,' '+ Node683fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node683.a('node.underlinepoints',[Node683lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node683fontSize + 2 , ht.Default.getTextSize('月受累损失电量', ' '+ Node683fontSize + 'px "微软雅黑"').width + 6, (Node683height - Node683fontSize) * 0.5*_ratio.ratioY + Node683fontSize + 2 ]);
- Node683.a('node.underlinevisible',false);
- Node683.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node683);
- zoomNodeList.push({
- node: Node683,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node684type = 'rect';
- var Node684 = new ht.Node(),
- Node684BorderWidth = 1*2;
- if (Node684type === 'arc') {
- Node684BorderWidth *= 1;
- }
- Node684.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node684type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node684.setPosition(917*ratio.ratioX, 52*ratio.ratioY);
- Node684.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node684.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node684.a('node.width', 95*_ratio.ratioX);
- Node684.a('node.height', 24.33136*_ratio.ratioY);
- Node684.a('node.type', Node684type);
- Node684.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node684.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node684.a('node.gradientcolor', '');
- Node684.a('node.gradient', '');
- Node684.a('node.borderwidth', Node684BorderWidth);
- Node684.a('node.color', 'rgba(224,224,224,1)');
- Node684.a('node.fillrect', [0,0,0,0]);
- Node684.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node684.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node684.a('node.fillgradient', '');
- if (Node684type !== 'rect') {
- Node684.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node684.a('node.arcTo', parseFloat('@arcTo@'));
- Node684.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node684type === 'arc') {
- Node684.a('node.arcOval', true);
- }
- Node684.setRotation(0*Math.PI/180);
- Node684.borderWidth = Node684BorderWidth;
- Node684.borderFillwidth = Node684BorderWidth;
- dataModel.add(Node684);
- Node684._nodename = 'Node684'
- Node684._nodeType = 'rect';
- zoomNodeList.push({
- node: Node684,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node684, Node684.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node685type = 'rect';
- var Node685 = new ht.Node(),
- Node685BorderWidth = 1*2;
- if (Node685type === 'arc') {
- Node685BorderWidth *= 1;
- }
- Node685.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node685type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node685.setPosition(917*ratio.ratioX, 76*ratio.ratioY);
- Node685.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node685.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node685.a('node.width', 95*_ratio.ratioX);
- Node685.a('node.height', 24.33138*_ratio.ratioY);
- Node685.a('node.type', Node685type);
- Node685.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node685.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node685.a('node.gradientcolor', '');
- Node685.a('node.gradient', '');
- Node685.a('node.borderwidth', Node685BorderWidth);
- Node685.a('node.color', 'rgba(224,224,224,1)');
- Node685.a('node.fillrect', [0,0,0,0]);
- Node685.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node685.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node685.a('node.fillgradient', '');
- if (Node685type !== 'rect') {
- Node685.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node685.a('node.arcTo', parseFloat('@arcTo@'));
- Node685.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node685type === 'arc') {
- Node685.a('node.arcOval', true);
- }
- Node685.setRotation(0*Math.PI/180);
- Node685.borderWidth = Node685BorderWidth;
- Node685.borderFillwidth = Node685BorderWidth;
- dataModel.add(Node685);
- Node685._nodename = 'Node685'
- Node685._nodeType = 'rect';
- zoomNodeList.push({
- node: Node685,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node685, Node685.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node686type = 'rect';
- var Node686 = new ht.Node(),
- Node686BorderWidth = 1*2;
- if (Node686type === 'arc') {
- Node686BorderWidth *= 1;
- }
- Node686.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node686type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node686.setPosition(917*ratio.ratioX, 100*ratio.ratioY);
- Node686.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node686.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node686.a('node.width', 95*_ratio.ratioX);
- Node686.a('node.height', 24.33138*_ratio.ratioY);
- Node686.a('node.type', Node686type);
- Node686.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node686.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node686.a('node.gradientcolor', '');
- Node686.a('node.gradient', '');
- Node686.a('node.borderwidth', Node686BorderWidth);
- Node686.a('node.color', 'rgba(224,224,224,1)');
- Node686.a('node.fillrect', [0,0,0,0]);
- Node686.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node686.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node686.a('node.fillgradient', '');
- if (Node686type !== 'rect') {
- Node686.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node686.a('node.arcTo', parseFloat('@arcTo@'));
- Node686.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node686type === 'arc') {
- Node686.a('node.arcOval', true);
- }
- Node686.setRotation(0*Math.PI/180);
- Node686.borderWidth = Node686BorderWidth;
- Node686.borderFillwidth = Node686BorderWidth;
- dataModel.add(Node686);
- Node686._nodename = 'Node686'
- Node686._nodeType = 'rect';
- zoomNodeList.push({
- node: Node686,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node686, Node686.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node687type = 'rect';
- var Node687 = new ht.Node(),
- Node687BorderWidth = 1*2;
- if (Node687type === 'arc') {
- Node687BorderWidth *= 1;
- }
- Node687.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node687type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node687.setPosition(917*ratio.ratioX, 125*ratio.ratioY);
- Node687.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node687.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node687.a('node.width', 95*_ratio.ratioX);
- Node687.a('node.height', 24.33136*_ratio.ratioY);
- Node687.a('node.type', Node687type);
- Node687.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node687.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node687.a('node.gradientcolor', '');
- Node687.a('node.gradient', '');
- Node687.a('node.borderwidth', Node687BorderWidth);
- Node687.a('node.color', 'rgba(224,224,224,1)');
- Node687.a('node.fillrect', [0,0,0,0]);
- Node687.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node687.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node687.a('node.fillgradient', '');
- if (Node687type !== 'rect') {
- Node687.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node687.a('node.arcTo', parseFloat('@arcTo@'));
- Node687.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node687type === 'arc') {
- Node687.a('node.arcOval', true);
- }
- Node687.setRotation(0*Math.PI/180);
- Node687.borderWidth = Node687BorderWidth;
- Node687.borderFillwidth = Node687BorderWidth;
- dataModel.add(Node687);
- Node687._nodename = 'Node687'
- Node687._nodeType = 'rect';
- zoomNodeList.push({
- node: Node687,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node687, Node687.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node688type = 'rect';
- var Node688 = new ht.Node(),
- Node688BorderWidth = 1*2;
- if (Node688type === 'arc') {
- Node688BorderWidth *= 1;
- }
- Node688.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node688type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node688.setPosition(917*ratio.ratioX, 149*ratio.ratioY);
- Node688.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node688.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node688.a('node.width', 95*_ratio.ratioX);
- Node688.a('node.height', 24.33138*_ratio.ratioY);
- Node688.a('node.type', Node688type);
- Node688.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node688.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node688.a('node.gradientcolor', '');
- Node688.a('node.gradient', '');
- Node688.a('node.borderwidth', Node688BorderWidth);
- Node688.a('node.color', 'rgba(224,224,224,1)');
- Node688.a('node.fillrect', [0,0,0,0]);
- Node688.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node688.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node688.a('node.fillgradient', '');
- if (Node688type !== 'rect') {
- Node688.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node688.a('node.arcTo', parseFloat('@arcTo@'));
- Node688.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node688type === 'arc') {
- Node688.a('node.arcOval', true);
- }
- Node688.setRotation(0*Math.PI/180);
- Node688.borderWidth = Node688BorderWidth;
- Node688.borderFillwidth = Node688BorderWidth;
- dataModel.add(Node688);
- Node688._nodename = 'Node688'
- Node688._nodeType = 'rect';
- zoomNodeList.push({
- node: Node688,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node688, Node688.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node689type = 'rect';
- var Node689 = new ht.Node(),
- Node689BorderWidth = 1*2;
- if (Node689type === 'arc') {
- Node689BorderWidth *= 1;
- }
- Node689.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node689type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node689.setPosition(997*ratio.ratioX, 52*ratio.ratioY);
- Node689.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node689.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node689.a('node.width', 65*_ratio.ratioX);
- Node689.a('node.height', 24.33136*_ratio.ratioY);
- Node689.a('node.type', Node689type);
- Node689.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node689.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node689.a('node.gradientcolor', '');
- Node689.a('node.gradient', '');
- Node689.a('node.borderwidth', Node689BorderWidth);
- Node689.a('node.color', 'rgba(224,224,224,1)');
- Node689.a('node.fillrect', [0,0,0,0]);
- Node689.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node689.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node689.a('node.fillgradient', '');
- if (Node689type !== 'rect') {
- Node689.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node689.a('node.arcTo', parseFloat('@arcTo@'));
- Node689.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node689type === 'arc') {
- Node689.a('node.arcOval', true);
- }
- Node689.setRotation(0*Math.PI/180);
- Node689.borderWidth = Node689BorderWidth;
- Node689.borderFillwidth = Node689BorderWidth;
- dataModel.add(Node689);
- Node689._nodename = 'Node689'
- Node689._nodeType = 'rect';
- zoomNodeList.push({
- node: Node689,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node689, Node689.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node690 = new ht.Node();
- var Node690textStart, Node690textWidth, Node690lineStart, Node690align = 'center', Node690fontSize = 14.66663*_ratio.ratioY,Node690width = 59*_ratio.ratioX, Node690height = 26*_ratio.ratioY;
- (function () {
- if (Node690align === 'left') {
- Node690textStart = Node690fontSize * 0.2 > 2 ? Node690fontSize * 0.2 - 4 : Node690fontSize * 0.2 - 9;
- Node690textWidth = Node690width;
- Node690lineStart = 1;
- } else if (Node690align === 'right') {
- Node690textStart = 0;
- Node690textWidth =Node690fontSize <= 8 ? Node690width + Node690fontSize * 0.2 + 6 : Node690width - Node690fontSize * 0.2;
- Node690lineStart = (Node690width - (ht.Default.getTextSize('0', ' '+ Node690fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node690align === 'center') {
- Node690textStart = -3;
- Node690textWidth = Node690width;
- Node690lineStart = Node690width - ht.Default.getTextSize('0', ' '+ Node690fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node690.setImage(GD.getTextJSON(Node690width, Node690height, true, false, false, ' '+ Node690fontSize + 'px "Arial"'))
- Node690.setPosition(917*ratio.ratioX, 54*ratio.ratioY);
- Node690.setWidth(Node690width);
- Node690.setHeight(Node690height);
- Node690._nodeType = 'text';
- Node690._disallowEvert = true;
- Node690.setRotation(0*Math.PI/180);
- Node690.a('node.width', Node690width);
- Node690.a('node.height', Node690height);
- Node690.a('node.rect', [0, 0, Node690width, Node690height]);
- Node690.a('node.bordercolor','rgba(0,0,0,1)');
- Node690.a('node.borderwidth', 0);
- Node690.a('node.background','' || 'rgba(0,0,0,0)');
- Node690.a('node.gradient','');
- Node690.a('node.gradientcolor','');
- Node690.a('node.text','0');
- Node690.a('node.textalign','center');
- Node690.a('node.textvAlign','middle');
- Node690.a('node.textrect', [Node690textStart, 0, Node690textWidth, Node690height]);
- Node690.a('node.color','rgba(0,0,0,1)');
- Node690.a('node.font',' '+ Node690fontSize + 'px "Arial"');
- Node690.a('node.textvisible',true);
- Node690.a('node.linefeed',false);
- if (false) {
- Node690.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node690.a('node.text') || '0';
- var color=Node690.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node690width,Node690height,14.66663*_ratio.ratioY,"center",color,' '+ Node690fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node690.a('node.underlinepoints',[Node690lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node690fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node690fontSize + 'px "Arial"').width + 6, (Node690height - Node690fontSize) * 0.5*_ratio.ratioY + Node690fontSize + 2 ]);
- Node690.a('node.underlinevisible',false);
- Node690.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node690);
- zoomNodeList.push({
- node: Node690,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node691 = new ht.Node();
- var Node691textStart, Node691textWidth, Node691lineStart, Node691align = 'center', Node691fontSize = 14.66663*_ratio.ratioY,Node691width = 59*_ratio.ratioX, Node691height = 26*_ratio.ratioY;
- (function () {
- if (Node691align === 'left') {
- Node691textStart = Node691fontSize * 0.2 > 2 ? Node691fontSize * 0.2 - 4 : Node691fontSize * 0.2 - 9;
- Node691textWidth = Node691width;
- Node691lineStart = 1;
- } else if (Node691align === 'right') {
- Node691textStart = 0;
- Node691textWidth =Node691fontSize <= 8 ? Node691width + Node691fontSize * 0.2 + 6 : Node691width - Node691fontSize * 0.2;
- Node691lineStart = (Node691width - (ht.Default.getTextSize('0', ' '+ Node691fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node691align === 'center') {
- Node691textStart = -3;
- Node691textWidth = Node691width;
- Node691lineStart = Node691width - ht.Default.getTextSize('0', ' '+ Node691fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node691.setImage(GD.getTextJSON(Node691width, Node691height, true, false, false, ' '+ Node691fontSize + 'px "Arial"'))
- Node691.setPosition(917*ratio.ratioX, 78*ratio.ratioY);
- Node691.setWidth(Node691width);
- Node691.setHeight(Node691height);
- Node691._nodeType = 'text';
- Node691._disallowEvert = true;
- Node691.setRotation(0*Math.PI/180);
- Node691.a('node.width', Node691width);
- Node691.a('node.height', Node691height);
- Node691.a('node.rect', [0, 0, Node691width, Node691height]);
- Node691.a('node.bordercolor','rgba(0,0,0,1)');
- Node691.a('node.borderwidth', 0);
- Node691.a('node.background','' || 'rgba(0,0,0,0)');
- Node691.a('node.gradient','');
- Node691.a('node.gradientcolor','');
- Node691.a('node.text','0');
- Node691.a('node.textalign','center');
- Node691.a('node.textvAlign','middle');
- Node691.a('node.textrect', [Node691textStart, 0, Node691textWidth, Node691height]);
- Node691.a('node.color','rgba(0,0,0,1)');
- Node691.a('node.font',' '+ Node691fontSize + 'px "Arial"');
- Node691.a('node.textvisible',true);
- Node691.a('node.linefeed',false);
- if (false) {
- Node691.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node691.a('node.text') || '0';
- var color=Node691.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node691width,Node691height,14.66663*_ratio.ratioY,"center",color,' '+ Node691fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node691.a('node.underlinepoints',[Node691lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node691fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node691fontSize + 'px "Arial"').width + 6, (Node691height - Node691fontSize) * 0.5*_ratio.ratioY + Node691fontSize + 2 ]);
- Node691.a('node.underlinevisible',false);
- Node691.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node691);
- zoomNodeList.push({
- node: Node691,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node692 = new ht.Node();
- var Node692textStart, Node692textWidth, Node692lineStart, Node692align = 'center', Node692fontSize = 14.66663*_ratio.ratioY,Node692width = 59*_ratio.ratioX, Node692height = 26*_ratio.ratioY;
- (function () {
- if (Node692align === 'left') {
- Node692textStart = Node692fontSize * 0.2 > 2 ? Node692fontSize * 0.2 - 4 : Node692fontSize * 0.2 - 9;
- Node692textWidth = Node692width;
- Node692lineStart = 1;
- } else if (Node692align === 'right') {
- Node692textStart = 0;
- Node692textWidth =Node692fontSize <= 8 ? Node692width + Node692fontSize * 0.2 + 6 : Node692width - Node692fontSize * 0.2;
- Node692lineStart = (Node692width - (ht.Default.getTextSize('0', ' '+ Node692fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node692align === 'center') {
- Node692textStart = -3;
- Node692textWidth = Node692width;
- Node692lineStart = Node692width - ht.Default.getTextSize('0', ' '+ Node692fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node692.setImage(GD.getTextJSON(Node692width, Node692height, true, false, false, ' '+ Node692fontSize + 'px "Arial"'))
- Node692.setPosition(917*ratio.ratioX, 103*ratio.ratioY);
- Node692.setWidth(Node692width);
- Node692.setHeight(Node692height);
- Node692._nodeType = 'text';
- Node692._disallowEvert = true;
- Node692.setRotation(0*Math.PI/180);
- Node692.a('node.width', Node692width);
- Node692.a('node.height', Node692height);
- Node692.a('node.rect', [0, 0, Node692width, Node692height]);
- Node692.a('node.bordercolor','rgba(0,0,0,1)');
- Node692.a('node.borderwidth', 0);
- Node692.a('node.background','' || 'rgba(0,0,0,0)');
- Node692.a('node.gradient','');
- Node692.a('node.gradientcolor','');
- Node692.a('node.text','0');
- Node692.a('node.textalign','center');
- Node692.a('node.textvAlign','middle');
- Node692.a('node.textrect', [Node692textStart, 0, Node692textWidth, Node692height]);
- Node692.a('node.color','rgba(0,0,0,1)');
- Node692.a('node.font',' '+ Node692fontSize + 'px "Arial"');
- Node692.a('node.textvisible',true);
- Node692.a('node.linefeed',false);
- if (false) {
- Node692.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node692.a('node.text') || '0';
- var color=Node692.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node692width,Node692height,14.66663*_ratio.ratioY,"center",color,' '+ Node692fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node692.a('node.underlinepoints',[Node692lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node692fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node692fontSize + 'px "Arial"').width + 6, (Node692height - Node692fontSize) * 0.5*_ratio.ratioY + Node692fontSize + 2 ]);
- Node692.a('node.underlinevisible',false);
- Node692.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node692);
- zoomNodeList.push({
- node: Node692,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node693 = new ht.Node();
- var Node693textStart, Node693textWidth, Node693lineStart, Node693align = 'center', Node693fontSize = 14.66663*_ratio.ratioY,Node693width = 59*_ratio.ratioX, Node693height = 26*_ratio.ratioY;
- (function () {
- if (Node693align === 'left') {
- Node693textStart = Node693fontSize * 0.2 > 2 ? Node693fontSize * 0.2 - 4 : Node693fontSize * 0.2 - 9;
- Node693textWidth = Node693width;
- Node693lineStart = 1;
- } else if (Node693align === 'right') {
- Node693textStart = 0;
- Node693textWidth =Node693fontSize <= 8 ? Node693width + Node693fontSize * 0.2 + 6 : Node693width - Node693fontSize * 0.2;
- Node693lineStart = (Node693width - (ht.Default.getTextSize('0', ' '+ Node693fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node693align === 'center') {
- Node693textStart = -3;
- Node693textWidth = Node693width;
- Node693lineStart = Node693width - ht.Default.getTextSize('0', ' '+ Node693fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node693.setImage(GD.getTextJSON(Node693width, Node693height, true, false, false, ' '+ Node693fontSize + 'px "Arial"'))
- Node693.setPosition(917*ratio.ratioX, 126*ratio.ratioY);
- Node693.setWidth(Node693width);
- Node693.setHeight(Node693height);
- Node693._nodeType = 'text';
- Node693._disallowEvert = true;
- Node693.setRotation(0*Math.PI/180);
- Node693.a('node.width', Node693width);
- Node693.a('node.height', Node693height);
- Node693.a('node.rect', [0, 0, Node693width, Node693height]);
- Node693.a('node.bordercolor','rgba(0,0,0,1)');
- Node693.a('node.borderwidth', 0);
- Node693.a('node.background','' || 'rgba(0,0,0,0)');
- Node693.a('node.gradient','');
- Node693.a('node.gradientcolor','');
- Node693.a('node.text','0');
- Node693.a('node.textalign','center');
- Node693.a('node.textvAlign','middle');
- Node693.a('node.textrect', [Node693textStart, 0, Node693textWidth, Node693height]);
- Node693.a('node.color','rgba(0,0,0,1)');
- Node693.a('node.font',' '+ Node693fontSize + 'px "Arial"');
- Node693.a('node.textvisible',true);
- Node693.a('node.linefeed',false);
- if (false) {
- Node693.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node693.a('node.text') || '0';
- var color=Node693.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node693width,Node693height,14.66663*_ratio.ratioY,"center",color,' '+ Node693fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node693.a('node.underlinepoints',[Node693lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node693fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node693fontSize + 'px "Arial"').width + 6, (Node693height - Node693fontSize) * 0.5*_ratio.ratioY + Node693fontSize + 2 ]);
- Node693.a('node.underlinevisible',false);
- Node693.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node693);
- zoomNodeList.push({
- node: Node693,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node694type = 'rect';
- var Node694 = new ht.Node(),
- Node694BorderWidth = 1*2;
- if (Node694type === 'arc') {
- Node694BorderWidth *= 1;
- }
- Node694.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node694type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node694.setPosition(997*ratio.ratioX, 76*ratio.ratioY);
- Node694.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node694.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node694.a('node.width', 65*_ratio.ratioX);
- Node694.a('node.height', 24.33138*_ratio.ratioY);
- Node694.a('node.type', Node694type);
- Node694.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node694.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node694.a('node.gradientcolor', '');
- Node694.a('node.gradient', '');
- Node694.a('node.borderwidth', Node694BorderWidth);
- Node694.a('node.color', 'rgba(224,224,224,1)');
- Node694.a('node.fillrect', [0,0,0,0]);
- Node694.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node694.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node694.a('node.fillgradient', '');
- if (Node694type !== 'rect') {
- Node694.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node694.a('node.arcTo', parseFloat('@arcTo@'));
- Node694.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node694type === 'arc') {
- Node694.a('node.arcOval', true);
- }
- Node694.setRotation(0*Math.PI/180);
- Node694.borderWidth = Node694BorderWidth;
- Node694.borderFillwidth = Node694BorderWidth;
- dataModel.add(Node694);
- Node694._nodename = 'Node694'
- Node694._nodeType = 'rect';
- zoomNodeList.push({
- node: Node694,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node694, Node694.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node695type = 'rect';
- var Node695 = new ht.Node(),
- Node695BorderWidth = 1*2;
- if (Node695type === 'arc') {
- Node695BorderWidth *= 1;
- }
- Node695.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node695type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node695.setPosition(997*ratio.ratioX, 100*ratio.ratioY);
- Node695.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node695.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node695.a('node.width', 65*_ratio.ratioX);
- Node695.a('node.height', 24.33138*_ratio.ratioY);
- Node695.a('node.type', Node695type);
- Node695.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node695.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node695.a('node.gradientcolor', '');
- Node695.a('node.gradient', '');
- Node695.a('node.borderwidth', Node695BorderWidth);
- Node695.a('node.color', 'rgba(224,224,224,1)');
- Node695.a('node.fillrect', [0,0,0,0]);
- Node695.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node695.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node695.a('node.fillgradient', '');
- if (Node695type !== 'rect') {
- Node695.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node695.a('node.arcTo', parseFloat('@arcTo@'));
- Node695.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node695type === 'arc') {
- Node695.a('node.arcOval', true);
- }
- Node695.setRotation(0*Math.PI/180);
- Node695.borderWidth = Node695BorderWidth;
- Node695.borderFillwidth = Node695BorderWidth;
- dataModel.add(Node695);
- Node695._nodename = 'Node695'
- Node695._nodeType = 'rect';
- zoomNodeList.push({
- node: Node695,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node695, Node695.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node696type = 'rect';
- var Node696 = new ht.Node(),
- Node696BorderWidth = 1*2;
- if (Node696type === 'arc') {
- Node696BorderWidth *= 1;
- }
- Node696.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node696type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node696.setPosition(997*ratio.ratioX, 125*ratio.ratioY);
- Node696.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node696.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node696.a('node.width', 65*_ratio.ratioX);
- Node696.a('node.height', 24.33136*_ratio.ratioY);
- Node696.a('node.type', Node696type);
- Node696.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node696.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node696.a('node.gradientcolor', '');
- Node696.a('node.gradient', '');
- Node696.a('node.borderwidth', Node696BorderWidth);
- Node696.a('node.color', 'rgba(224,224,224,1)');
- Node696.a('node.fillrect', [0,0,0,0]);
- Node696.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node696.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node696.a('node.fillgradient', '');
- if (Node696type !== 'rect') {
- Node696.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node696.a('node.arcTo', parseFloat('@arcTo@'));
- Node696.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node696type === 'arc') {
- Node696.a('node.arcOval', true);
- }
- Node696.setRotation(0*Math.PI/180);
- Node696.borderWidth = Node696BorderWidth;
- Node696.borderFillwidth = Node696BorderWidth;
- dataModel.add(Node696);
- Node696._nodename = 'Node696'
- Node696._nodeType = 'rect';
- zoomNodeList.push({
- node: Node696,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node696, Node696.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node697type = 'rect';
- var Node697 = new ht.Node(),
- Node697BorderWidth = 1*2;
- if (Node697type === 'arc') {
- Node697BorderWidth *= 1;
- }
- Node697.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node697type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node697.setPosition(997*ratio.ratioX, 149*ratio.ratioY);
- Node697.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node697.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node697.a('node.width', 65*_ratio.ratioX);
- Node697.a('node.height', 24.33138*_ratio.ratioY);
- Node697.a('node.type', Node697type);
- Node697.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node697.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node697.a('node.gradientcolor', '');
- Node697.a('node.gradient', '');
- Node697.a('node.borderwidth', Node697BorderWidth);
- Node697.a('node.color', 'rgba(224,224,224,1)');
- Node697.a('node.fillrect', [0,0,0,0]);
- Node697.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node697.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node697.a('node.fillgradient', '');
- if (Node697type !== 'rect') {
- Node697.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node697.a('node.arcTo', parseFloat('@arcTo@'));
- Node697.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node697type === 'arc') {
- Node697.a('node.arcOval', true);
- }
- Node697.setRotation(0*Math.PI/180);
- Node697.borderWidth = Node697BorderWidth;
- Node697.borderFillwidth = Node697BorderWidth;
- dataModel.add(Node697);
- Node697._nodename = 'Node697'
- Node697._nodeType = 'rect';
- zoomNodeList.push({
- node: Node697,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node697, Node697.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node698 = new ht.Node();
- var Node698textStart, Node698textWidth, Node698lineStart, Node698align = 'center', Node698fontSize = 13.3333*_ratio.ratioY,Node698width = 59*_ratio.ratioX, Node698height = 26*_ratio.ratioY;
- (function () {
- if (Node698align === 'left') {
- Node698textStart = Node698fontSize * 0.2 > 2 ? Node698fontSize * 0.2 - 4 : Node698fontSize * 0.2 - 9;
- Node698textWidth = Node698width;
- Node698lineStart = 1;
- } else if (Node698align === 'right') {
- Node698textStart = 0;
- Node698textWidth =Node698fontSize <= 8 ? Node698width + Node698fontSize * 0.2 + 6 : Node698width - Node698fontSize * 0.2;
- Node698lineStart = (Node698width - (ht.Default.getTextSize('万kWh', ' '+ Node698fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node698align === 'center') {
- Node698textStart = -3;
- Node698textWidth = Node698width;
- Node698lineStart = Node698width - ht.Default.getTextSize('万kWh', ' '+ Node698fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node698.setImage(GD.getTextJSON(Node698width, Node698height, true, false, false, ' '+ Node698fontSize + 'px "Arial"'))
- Node698.setPosition(998*ratio.ratioX, 54*ratio.ratioY);
- Node698.setWidth(Node698width);
- Node698.setHeight(Node698height);
- Node698._nodeType = 'text';
- Node698._disallowEvert = true;
- Node698.setRotation(0*Math.PI/180);
- Node698.a('node.width', Node698width);
- Node698.a('node.height', Node698height);
- Node698.a('node.rect', [0, 0, Node698width, Node698height]);
- Node698.a('node.bordercolor','rgba(128,128,128,1)');
- Node698.a('node.borderwidth', 0);
- Node698.a('node.background','' || 'rgba(0,0,0,0)');
- Node698.a('node.gradient','');
- Node698.a('node.gradientcolor','');
- Node698.a('node.text','万kWh');
- Node698.a('node.textalign','center');
- Node698.a('node.textvAlign','middle');
- Node698.a('node.textrect', [Node698textStart, 0, Node698textWidth, Node698height]);
- Node698.a('node.color','rgba(128,128,128,1)');
- Node698.a('node.font',' '+ Node698fontSize + 'px "Arial"');
- Node698.a('node.textvisible',true);
- Node698.a('node.linefeed',false);
- if (false) {
- Node698.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node698.a('node.text') || '万kWh';
- var color=Node698.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node698width,Node698height,13.3333*_ratio.ratioY,"center",color,' '+ Node698fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node698.a('node.underlinepoints',[Node698lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node698fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node698fontSize + 'px "Arial"').width + 6, (Node698height - Node698fontSize) * 0.5*_ratio.ratioY + Node698fontSize + 2 ]);
- Node698.a('node.underlinevisible',false);
- Node698.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node698);
- zoomNodeList.push({
- node: Node698,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node699 = new ht.Node();
- var Node699textStart, Node699textWidth, Node699lineStart, Node699align = 'center', Node699fontSize = 13.3333*_ratio.ratioY,Node699width = 59*_ratio.ratioX, Node699height = 26*_ratio.ratioY;
- (function () {
- if (Node699align === 'left') {
- Node699textStart = Node699fontSize * 0.2 > 2 ? Node699fontSize * 0.2 - 4 : Node699fontSize * 0.2 - 9;
- Node699textWidth = Node699width;
- Node699lineStart = 1;
- } else if (Node699align === 'right') {
- Node699textStart = 0;
- Node699textWidth =Node699fontSize <= 8 ? Node699width + Node699fontSize * 0.2 + 6 : Node699width - Node699fontSize * 0.2;
- Node699lineStart = (Node699width - (ht.Default.getTextSize('万kWh', ' '+ Node699fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node699align === 'center') {
- Node699textStart = -3;
- Node699textWidth = Node699width;
- Node699lineStart = Node699width - ht.Default.getTextSize('万kWh', ' '+ Node699fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node699.setImage(GD.getTextJSON(Node699width, Node699height, true, false, false, ' '+ Node699fontSize + 'px "Arial"'))
- Node699.setPosition(998*ratio.ratioX, 78*ratio.ratioY);
- Node699.setWidth(Node699width);
- Node699.setHeight(Node699height);
- Node699._nodeType = 'text';
- Node699._disallowEvert = true;
- Node699.setRotation(0*Math.PI/180);
- Node699.a('node.width', Node699width);
- Node699.a('node.height', Node699height);
- Node699.a('node.rect', [0, 0, Node699width, Node699height]);
- Node699.a('node.bordercolor','rgba(128,128,128,1)');
- Node699.a('node.borderwidth', 0);
- Node699.a('node.background','' || 'rgba(0,0,0,0)');
- Node699.a('node.gradient','');
- Node699.a('node.gradientcolor','');
- Node699.a('node.text','万kWh');
- Node699.a('node.textalign','center');
- Node699.a('node.textvAlign','middle');
- Node699.a('node.textrect', [Node699textStart, 0, Node699textWidth, Node699height]);
- Node699.a('node.color','rgba(128,128,128,1)');
- Node699.a('node.font',' '+ Node699fontSize + 'px "Arial"');
- Node699.a('node.textvisible',true);
- Node699.a('node.linefeed',false);
- if (false) {
- Node699.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node699.a('node.text') || '万kWh';
- var color=Node699.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node699width,Node699height,13.3333*_ratio.ratioY,"center",color,' '+ Node699fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node699.a('node.underlinepoints',[Node699lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node699fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node699fontSize + 'px "Arial"').width + 6, (Node699height - Node699fontSize) * 0.5*_ratio.ratioY + Node699fontSize + 2 ]);
- Node699.a('node.underlinevisible',false);
- Node699.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node699);
- zoomNodeList.push({
- node: Node699,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node700 = new ht.Node();
- var Node700textStart, Node700textWidth, Node700lineStart, Node700align = 'center', Node700fontSize = 13.3333*_ratio.ratioY,Node700width = 59*_ratio.ratioX, Node700height = 26*_ratio.ratioY;
- (function () {
- if (Node700align === 'left') {
- Node700textStart = Node700fontSize * 0.2 > 2 ? Node700fontSize * 0.2 - 4 : Node700fontSize * 0.2 - 9;
- Node700textWidth = Node700width;
- Node700lineStart = 1;
- } else if (Node700align === 'right') {
- Node700textStart = 0;
- Node700textWidth =Node700fontSize <= 8 ? Node700width + Node700fontSize * 0.2 + 6 : Node700width - Node700fontSize * 0.2;
- Node700lineStart = (Node700width - (ht.Default.getTextSize('万kWh', ' '+ Node700fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node700align === 'center') {
- Node700textStart = -3;
- Node700textWidth = Node700width;
- Node700lineStart = Node700width - ht.Default.getTextSize('万kWh', ' '+ Node700fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node700.setImage(GD.getTextJSON(Node700width, Node700height, true, false, false, ' '+ Node700fontSize + 'px "Arial"'))
- Node700.setPosition(998*ratio.ratioX, 101*ratio.ratioY);
- Node700.setWidth(Node700width);
- Node700.setHeight(Node700height);
- Node700._nodeType = 'text';
- Node700._disallowEvert = true;
- Node700.setRotation(0*Math.PI/180);
- Node700.a('node.width', Node700width);
- Node700.a('node.height', Node700height);
- Node700.a('node.rect', [0, 0, Node700width, Node700height]);
- Node700.a('node.bordercolor','rgba(128,128,128,1)');
- Node700.a('node.borderwidth', 0);
- Node700.a('node.background','' || 'rgba(0,0,0,0)');
- Node700.a('node.gradient','');
- Node700.a('node.gradientcolor','');
- Node700.a('node.text','万kWh');
- Node700.a('node.textalign','center');
- Node700.a('node.textvAlign','middle');
- Node700.a('node.textrect', [Node700textStart, 0, Node700textWidth, Node700height]);
- Node700.a('node.color','rgba(128,128,128,1)');
- Node700.a('node.font',' '+ Node700fontSize + 'px "Arial"');
- Node700.a('node.textvisible',true);
- Node700.a('node.linefeed',false);
- if (false) {
- Node700.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node700.a('node.text') || '万kWh';
- var color=Node700.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node700width,Node700height,13.3333*_ratio.ratioY,"center",color,' '+ Node700fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node700.a('node.underlinepoints',[Node700lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node700fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node700fontSize + 'px "Arial"').width + 6, (Node700height - Node700fontSize) * 0.5*_ratio.ratioY + Node700fontSize + 2 ]);
- Node700.a('node.underlinevisible',false);
- Node700.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node700);
- zoomNodeList.push({
- node: Node700,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node701 = new ht.Node();
- var Node701textStart, Node701textWidth, Node701lineStart, Node701align = 'center', Node701fontSize = 13.3333*_ratio.ratioY,Node701width = 59*_ratio.ratioX, Node701height = 26*_ratio.ratioY;
- (function () {
- if (Node701align === 'left') {
- Node701textStart = Node701fontSize * 0.2 > 2 ? Node701fontSize * 0.2 - 4 : Node701fontSize * 0.2 - 9;
- Node701textWidth = Node701width;
- Node701lineStart = 1;
- } else if (Node701align === 'right') {
- Node701textStart = 0;
- Node701textWidth =Node701fontSize <= 8 ? Node701width + Node701fontSize * 0.2 + 6 : Node701width - Node701fontSize * 0.2;
- Node701lineStart = (Node701width - (ht.Default.getTextSize('万kWh', ' '+ Node701fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node701align === 'center') {
- Node701textStart = -3;
- Node701textWidth = Node701width;
- Node701lineStart = Node701width - ht.Default.getTextSize('万kWh', ' '+ Node701fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node701.setImage(GD.getTextJSON(Node701width, Node701height, true, false, false, ' '+ Node701fontSize + 'px "Arial"'))
- Node701.setPosition(998*ratio.ratioX, 127*ratio.ratioY);
- Node701.setWidth(Node701width);
- Node701.setHeight(Node701height);
- Node701._nodeType = 'text';
- Node701._disallowEvert = true;
- Node701.setRotation(0*Math.PI/180);
- Node701.a('node.width', Node701width);
- Node701.a('node.height', Node701height);
- Node701.a('node.rect', [0, 0, Node701width, Node701height]);
- Node701.a('node.bordercolor','rgba(128,128,128,1)');
- Node701.a('node.borderwidth', 0);
- Node701.a('node.background','' || 'rgba(0,0,0,0)');
- Node701.a('node.gradient','');
- Node701.a('node.gradientcolor','');
- Node701.a('node.text','万kWh');
- Node701.a('node.textalign','center');
- Node701.a('node.textvAlign','middle');
- Node701.a('node.textrect', [Node701textStart, 0, Node701textWidth, Node701height]);
- Node701.a('node.color','rgba(128,128,128,1)');
- Node701.a('node.font',' '+ Node701fontSize + 'px "Arial"');
- Node701.a('node.textvisible',true);
- Node701.a('node.linefeed',false);
- if (false) {
- Node701.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node701.a('node.text') || '万kWh';
- var color=Node701.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node701width,Node701height,13.3333*_ratio.ratioY,"center",color,' '+ Node701fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node701.a('node.underlinepoints',[Node701lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node701fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node701fontSize + 'px "Arial"').width + 6, (Node701height - Node701fontSize) * 0.5*_ratio.ratioY + Node701fontSize + 2 ]);
- Node701.a('node.underlinevisible',false);
- Node701.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node701);
- zoomNodeList.push({
- node: Node701,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node702type = 'rect';
- var Node702 = new ht.Node(),
- Node702BorderWidth = 1*2;
- if (Node702type === 'arc') {
- Node702BorderWidth *= 1;
- }
- Node702.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node702type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node702.setPosition(1091*ratio.ratioX, 100*ratio.ratioY);
- Node702.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node702.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node702.a('node.width', 117*_ratio.ratioX);
- Node702.a('node.height', 24.33138*_ratio.ratioY);
- Node702.a('node.type', Node702type);
- Node702.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node702.a('node.background', 'rgba(240,240,240,1)');
- Node702.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node702.a('node.gradient', '');
- Node702.a('node.borderwidth', Node702BorderWidth);
- Node702.a('node.color', 'rgba(224,224,224,1)');
- Node702.a('node.fillrect', [0,0,0,0]);
- Node702.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node702.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node702.a('node.fillgradient', '');
- if (Node702type !== 'rect') {
- Node702.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node702.a('node.arcTo', parseFloat('@arcTo@'));
- Node702.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node702type === 'arc') {
- Node702.a('node.arcOval', true);
- }
- Node702.setRotation(0*Math.PI/180);
- Node702.borderWidth = Node702BorderWidth;
- Node702.borderFillwidth = Node702BorderWidth;
- dataModel.add(Node702);
- Node702._nodename = 'Node702'
- Node702._nodeType = 'rect';
- zoomNodeList.push({
- node: Node702,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node702, Node702.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node703type = 'rect';
- var Node703 = new ht.Node(),
- Node703BorderWidth = 1*2;
- if (Node703type === 'arc') {
- Node703BorderWidth *= 1;
- }
- Node703.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node703type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node703.setPosition(1091*ratio.ratioX, 76*ratio.ratioY);
- Node703.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node703.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node703.a('node.width', 117*_ratio.ratioX);
- Node703.a('node.height', 24.33138*_ratio.ratioY);
- Node703.a('node.type', Node703type);
- Node703.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node703.a('node.background', 'rgba(240,240,240,1)');
- Node703.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node703.a('node.gradient', '');
- Node703.a('node.borderwidth', Node703BorderWidth);
- Node703.a('node.color', 'rgba(224,224,224,1)');
- Node703.a('node.fillrect', [0,0,0,0]);
- Node703.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node703.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node703.a('node.fillgradient', '');
- if (Node703type !== 'rect') {
- Node703.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node703.a('node.arcTo', parseFloat('@arcTo@'));
- Node703.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node703type === 'arc') {
- Node703.a('node.arcOval', true);
- }
- Node703.setRotation(0*Math.PI/180);
- Node703.borderWidth = Node703BorderWidth;
- Node703.borderFillwidth = Node703BorderWidth;
- dataModel.add(Node703);
- Node703._nodename = 'Node703'
- Node703._nodeType = 'rect';
- zoomNodeList.push({
- node: Node703,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node703, Node703.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node704type = 'rect';
- var Node704 = new ht.Node(),
- Node704BorderWidth = 1*2;
- if (Node704type === 'arc') {
- Node704BorderWidth *= 1;
- }
- Node704.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node704type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node704.setPosition(1091*ratio.ratioX, 125*ratio.ratioY);
- Node704.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node704.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node704.a('node.width', 117*_ratio.ratioX);
- Node704.a('node.height', 24.33136*_ratio.ratioY);
- Node704.a('node.type', Node704type);
- Node704.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node704.a('node.background', 'rgba(240,240,240,1)');
- Node704.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node704.a('node.gradient', '');
- Node704.a('node.borderwidth', Node704BorderWidth);
- Node704.a('node.color', 'rgba(224,224,224,1)');
- Node704.a('node.fillrect', [0,0,0,0]);
- Node704.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node704.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node704.a('node.fillgradient', '');
- if (Node704type !== 'rect') {
- Node704.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node704.a('node.arcTo', parseFloat('@arcTo@'));
- Node704.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node704type === 'arc') {
- Node704.a('node.arcOval', true);
- }
- Node704.setRotation(0*Math.PI/180);
- Node704.borderWidth = Node704BorderWidth;
- Node704.borderFillwidth = Node704BorderWidth;
- dataModel.add(Node704);
- Node704._nodename = 'Node704'
- Node704._nodeType = 'rect';
- zoomNodeList.push({
- node: Node704,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node704, Node704.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node705type = 'rect';
- var Node705 = new ht.Node(),
- Node705BorderWidth = 1*2;
- if (Node705type === 'arc') {
- Node705BorderWidth *= 1;
- }
- Node705.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node705type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node705.setPosition(1091*ratio.ratioX, 52*ratio.ratioY);
- Node705.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node705.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node705.a('node.width', 117*_ratio.ratioX);
- Node705.a('node.height', 24.33136*_ratio.ratioY);
- Node705.a('node.type', Node705type);
- Node705.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node705.a('node.background', 'rgba(240,240,240,1)');
- Node705.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node705.a('node.gradient', '');
- Node705.a('node.borderwidth', Node705BorderWidth);
- Node705.a('node.color', 'rgba(224,224,224,1)');
- Node705.a('node.fillrect', [0,0,0,0]);
- Node705.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node705.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node705.a('node.fillgradient', '');
- if (Node705type !== 'rect') {
- Node705.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node705.a('node.arcTo', parseFloat('@arcTo@'));
- Node705.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node705type === 'arc') {
- Node705.a('node.arcOval', true);
- }
- Node705.setRotation(0*Math.PI/180);
- Node705.borderWidth = Node705BorderWidth;
- Node705.borderFillwidth = Node705BorderWidth;
- dataModel.add(Node705);
- Node705._nodename = 'Node705'
- Node705._nodeType = 'rect';
- zoomNodeList.push({
- node: Node705,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node705, Node705.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node706type = 'rect';
- var Node706 = new ht.Node(),
- Node706BorderWidth = 1*2;
- if (Node706type === 'arc') {
- Node706BorderWidth *= 1;
- }
- Node706.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node706type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node706.setPosition(1091*ratio.ratioX, 149*ratio.ratioY);
- Node706.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node706.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node706.a('node.width', 117*_ratio.ratioX);
- Node706.a('node.height', 24.33138*_ratio.ratioY);
- Node706.a('node.type', Node706type);
- Node706.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node706.a('node.background', 'rgba(240,240,240,1)');
- Node706.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node706.a('node.gradient', '');
- Node706.a('node.borderwidth', Node706BorderWidth);
- Node706.a('node.color', 'rgba(224,224,224,1)');
- Node706.a('node.fillrect', [0,0,0,0]);
- Node706.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node706.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node706.a('node.fillgradient', '');
- if (Node706type !== 'rect') {
- Node706.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node706.a('node.arcTo', parseFloat('@arcTo@'));
- Node706.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node706type === 'arc') {
- Node706.a('node.arcOval', true);
- }
- Node706.setRotation(0*Math.PI/180);
- Node706.borderWidth = Node706BorderWidth;
- Node706.borderFillwidth = Node706BorderWidth;
- dataModel.add(Node706);
- Node706._nodename = 'Node706'
- Node706._nodeType = 'rect';
- zoomNodeList.push({
- node: Node706,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node706, Node706.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node707 = new ht.Node();
- var Node707textStart, Node707textWidth, Node707lineStart, Node707align = 'center', Node707fontSize = 13.3333*_ratio.ratioY,Node707width = 110*_ratio.ratioX, Node707height = 26*_ratio.ratioY;
- (function () {
- if (Node707align === 'left') {
- Node707textStart = Node707fontSize * 0.2 > 2 ? Node707fontSize * 0.2 - 4 : Node707fontSize * 0.2 - 9;
- Node707textWidth = Node707width;
- Node707lineStart = 1;
- } else if (Node707align === 'right') {
- Node707textStart = 0;
- Node707textWidth =Node707fontSize <= 8 ? Node707width + Node707fontSize * 0.2 + 6 : Node707width - Node707fontSize * 0.2;
- Node707lineStart = (Node707width - (ht.Default.getTextSize('年维护损失电量', ' '+ Node707fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node707align === 'center') {
- Node707textStart = -3;
- Node707textWidth = Node707width;
- Node707lineStart = Node707width - ht.Default.getTextSize('年维护损失电量', ' '+ Node707fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node707.setImage(GD.getTextJSON(Node707width, Node707height, true, false, false, ' '+ Node707fontSize + 'px "微软雅黑"'))
- Node707.setPosition(1091*ratio.ratioX, 54*ratio.ratioY);
- Node707.setWidth(Node707width);
- Node707.setHeight(Node707height);
- Node707._nodeType = 'text';
- Node707._disallowEvert = true;
- Node707.setRotation(0*Math.PI/180);
- Node707.a('node.width', Node707width);
- Node707.a('node.height', Node707height);
- Node707.a('node.rect', [0, 0, Node707width, Node707height]);
- Node707.a('node.bordercolor','rgba(0,0,0,1)');
- Node707.a('node.borderwidth', 0);
- Node707.a('node.background','' || 'rgba(0,0,0,0)');
- Node707.a('node.gradient','');
- Node707.a('node.gradientcolor','');
- Node707.a('node.text','年维护损失电量');
- Node707.a('node.textalign','center');
- Node707.a('node.textvAlign','middle');
- Node707.a('node.textrect', [Node707textStart, 0, Node707textWidth, Node707height]);
- Node707.a('node.color','rgba(0,0,0,1)');
- Node707.a('node.font',' '+ Node707fontSize + 'px "微软雅黑"');
- Node707.a('node.textvisible',true);
- Node707.a('node.linefeed',false);
- if (false) {
- Node707.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node707.a('node.text') || '年维护损失电量';
- var color=Node707.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node707width,Node707height,13.3333*_ratio.ratioY,"center",color,' '+ Node707fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node707.a('node.underlinepoints',[Node707lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node707fontSize + 2 , ht.Default.getTextSize('年维护损失电量', ' '+ Node707fontSize + 'px "微软雅黑"').width + 6, (Node707height - Node707fontSize) * 0.5*_ratio.ratioY + Node707fontSize + 2 ]);
- Node707.a('node.underlinevisible',false);
- Node707.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node707);
- zoomNodeList.push({
- node: Node707,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node708 = new ht.Node();
- var Node708textStart, Node708textWidth, Node708lineStart, Node708align = 'center', Node708fontSize = 13.3333*_ratio.ratioY,Node708width = 110*_ratio.ratioX, Node708height = 26*_ratio.ratioY;
- (function () {
- if (Node708align === 'left') {
- Node708textStart = Node708fontSize * 0.2 > 2 ? Node708fontSize * 0.2 - 4 : Node708fontSize * 0.2 - 9;
- Node708textWidth = Node708width;
- Node708lineStart = 1;
- } else if (Node708align === 'right') {
- Node708textStart = 0;
- Node708textWidth =Node708fontSize <= 8 ? Node708width + Node708fontSize * 0.2 + 6 : Node708width - Node708fontSize * 0.2;
- Node708lineStart = (Node708width - (ht.Default.getTextSize('年故障损失电量', ' '+ Node708fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node708align === 'center') {
- Node708textStart = -3;
- Node708textWidth = Node708width;
- Node708lineStart = Node708width - ht.Default.getTextSize('年故障损失电量', ' '+ Node708fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node708.setImage(GD.getTextJSON(Node708width, Node708height, true, false, false, ' '+ Node708fontSize + 'px "微软雅黑"'))
- Node708.setPosition(1091*ratio.ratioX, 77*ratio.ratioY);
- Node708.setWidth(Node708width);
- Node708.setHeight(Node708height);
- Node708._nodeType = 'text';
- Node708._disallowEvert = true;
- Node708.setRotation(0*Math.PI/180);
- Node708.a('node.width', Node708width);
- Node708.a('node.height', Node708height);
- Node708.a('node.rect', [0, 0, Node708width, Node708height]);
- Node708.a('node.bordercolor','rgba(0,0,0,1)');
- Node708.a('node.borderwidth', 0);
- Node708.a('node.background','' || 'rgba(0,0,0,0)');
- Node708.a('node.gradient','');
- Node708.a('node.gradientcolor','');
- Node708.a('node.text','年故障损失电量');
- Node708.a('node.textalign','center');
- Node708.a('node.textvAlign','middle');
- Node708.a('node.textrect', [Node708textStart, 0, Node708textWidth, Node708height]);
- Node708.a('node.color','rgba(0,0,0,1)');
- Node708.a('node.font',' '+ Node708fontSize + 'px "微软雅黑"');
- Node708.a('node.textvisible',true);
- Node708.a('node.linefeed',false);
- if (false) {
- Node708.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node708.a('node.text') || '年故障损失电量';
- var color=Node708.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node708width,Node708height,13.3333*_ratio.ratioY,"center",color,' '+ Node708fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node708.a('node.underlinepoints',[Node708lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node708fontSize + 2 , ht.Default.getTextSize('年故障损失电量', ' '+ Node708fontSize + 'px "微软雅黑"').width + 6, (Node708height - Node708fontSize) * 0.5*_ratio.ratioY + Node708fontSize + 2 ]);
- Node708.a('node.underlinevisible',false);
- Node708.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node708);
- zoomNodeList.push({
- node: Node708,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node709 = new ht.Node();
- var Node709textStart, Node709textWidth, Node709lineStart, Node709align = 'center', Node709fontSize = 13.3333*_ratio.ratioY,Node709width = 110*_ratio.ratioX, Node709height = 26*_ratio.ratioY;
- (function () {
- if (Node709align === 'left') {
- Node709textStart = Node709fontSize * 0.2 > 2 ? Node709fontSize * 0.2 - 4 : Node709fontSize * 0.2 - 9;
- Node709textWidth = Node709width;
- Node709lineStart = 1;
- } else if (Node709align === 'right') {
- Node709textStart = 0;
- Node709textWidth =Node709fontSize <= 8 ? Node709width + Node709fontSize * 0.2 + 6 : Node709width - Node709fontSize * 0.2;
- Node709lineStart = (Node709width - (ht.Default.getTextSize('年限电损失电量', ' '+ Node709fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node709align === 'center') {
- Node709textStart = -3;
- Node709textWidth = Node709width;
- Node709lineStart = Node709width - ht.Default.getTextSize('年限电损失电量', ' '+ Node709fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node709.setImage(GD.getTextJSON(Node709width, Node709height, true, false, false, ' '+ Node709fontSize + 'px "微软雅黑"'))
- Node709.setPosition(1091*ratio.ratioX, 102*ratio.ratioY);
- Node709.setWidth(Node709width);
- Node709.setHeight(Node709height);
- Node709._nodeType = 'text';
- Node709._disallowEvert = true;
- Node709.setRotation(0*Math.PI/180);
- Node709.a('node.width', Node709width);
- Node709.a('node.height', Node709height);
- Node709.a('node.rect', [0, 0, Node709width, Node709height]);
- Node709.a('node.bordercolor','rgba(0,0,0,1)');
- Node709.a('node.borderwidth', 0);
- Node709.a('node.background','' || 'rgba(0,0,0,0)');
- Node709.a('node.gradient','');
- Node709.a('node.gradientcolor','');
- Node709.a('node.text','年限电损失电量');
- Node709.a('node.textalign','center');
- Node709.a('node.textvAlign','middle');
- Node709.a('node.textrect', [Node709textStart, 0, Node709textWidth, Node709height]);
- Node709.a('node.color','rgba(0,0,0,1)');
- Node709.a('node.font',' '+ Node709fontSize + 'px "微软雅黑"');
- Node709.a('node.textvisible',true);
- Node709.a('node.linefeed',false);
- if (false) {
- Node709.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node709.a('node.text') || '年限电损失电量';
- var color=Node709.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node709width,Node709height,13.3333*_ratio.ratioY,"center",color,' '+ Node709fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node709.a('node.underlinepoints',[Node709lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node709fontSize + 2 , ht.Default.getTextSize('年限电损失电量', ' '+ Node709fontSize + 'px "微软雅黑"').width + 6, (Node709height - Node709fontSize) * 0.5*_ratio.ratioY + Node709fontSize + 2 ]);
- Node709.a('node.underlinevisible',false);
- Node709.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node709);
- zoomNodeList.push({
- node: Node709,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node710 = new ht.Node();
- var Node710textStart, Node710textWidth, Node710lineStart, Node710align = 'center', Node710fontSize = 13.3333*_ratio.ratioY,Node710width = 110*_ratio.ratioX, Node710height = 26*_ratio.ratioY;
- (function () {
- if (Node710align === 'left') {
- Node710textStart = Node710fontSize * 0.2 > 2 ? Node710fontSize * 0.2 - 4 : Node710fontSize * 0.2 - 9;
- Node710textWidth = Node710width;
- Node710lineStart = 1;
- } else if (Node710align === 'right') {
- Node710textStart = 0;
- Node710textWidth =Node710fontSize <= 8 ? Node710width + Node710fontSize * 0.2 + 6 : Node710width - Node710fontSize * 0.2;
- Node710lineStart = (Node710width - (ht.Default.getTextSize('年受累损失电量', ' '+ Node710fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node710align === 'center') {
- Node710textStart = -3;
- Node710textWidth = Node710width;
- Node710lineStart = Node710width - ht.Default.getTextSize('年受累损失电量', ' '+ Node710fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node710.setImage(GD.getTextJSON(Node710width, Node710height, true, false, false, ' '+ Node710fontSize + 'px "微软雅黑"'))
- Node710.setPosition(1091*ratio.ratioX, 127*ratio.ratioY);
- Node710.setWidth(Node710width);
- Node710.setHeight(Node710height);
- Node710._nodeType = 'text';
- Node710._disallowEvert = true;
- Node710.setRotation(0*Math.PI/180);
- Node710.a('node.width', Node710width);
- Node710.a('node.height', Node710height);
- Node710.a('node.rect', [0, 0, Node710width, Node710height]);
- Node710.a('node.bordercolor','rgba(0,0,0,1)');
- Node710.a('node.borderwidth', 0);
- Node710.a('node.background','' || 'rgba(0,0,0,0)');
- Node710.a('node.gradient','');
- Node710.a('node.gradientcolor','');
- Node710.a('node.text','年受累损失电量');
- Node710.a('node.textalign','center');
- Node710.a('node.textvAlign','middle');
- Node710.a('node.textrect', [Node710textStart, 0, Node710textWidth, Node710height]);
- Node710.a('node.color','rgba(0,0,0,1)');
- Node710.a('node.font',' '+ Node710fontSize + 'px "微软雅黑"');
- Node710.a('node.textvisible',true);
- Node710.a('node.linefeed',false);
- if (false) {
- Node710.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node710.a('node.text') || '年受累损失电量';
- var color=Node710.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node710width,Node710height,13.3333*_ratio.ratioY,"center",color,' '+ Node710fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node710.a('node.underlinepoints',[Node710lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node710fontSize + 2 , ht.Default.getTextSize('年受累损失电量', ' '+ Node710fontSize + 'px "微软雅黑"').width + 6, (Node710height - Node710fontSize) * 0.5*_ratio.ratioY + Node710fontSize + 2 ]);
- Node710.a('node.underlinevisible',false);
- Node710.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node710);
- zoomNodeList.push({
- node: Node710,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node711type = 'rect';
- var Node711 = new ht.Node(),
- Node711BorderWidth = 1*2;
- if (Node711type === 'arc') {
- Node711BorderWidth *= 1;
- }
- Node711.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node711type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node711.setPosition(1197*ratio.ratioX, 52*ratio.ratioY);
- Node711.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node711.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node711.a('node.width', 95*_ratio.ratioX);
- Node711.a('node.height', 24.33136*_ratio.ratioY);
- Node711.a('node.type', Node711type);
- Node711.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node711.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node711.a('node.gradientcolor', '');
- Node711.a('node.gradient', '');
- Node711.a('node.borderwidth', Node711BorderWidth);
- Node711.a('node.color', 'rgba(224,224,224,1)');
- Node711.a('node.fillrect', [0,0,0,0]);
- Node711.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node711.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node711.a('node.fillgradient', '');
- if (Node711type !== 'rect') {
- Node711.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node711.a('node.arcTo', parseFloat('@arcTo@'));
- Node711.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node711type === 'arc') {
- Node711.a('node.arcOval', true);
- }
- Node711.setRotation(0*Math.PI/180);
- Node711.borderWidth = Node711BorderWidth;
- Node711.borderFillwidth = Node711BorderWidth;
- dataModel.add(Node711);
- Node711._nodename = 'Node711'
- Node711._nodeType = 'rect';
- zoomNodeList.push({
- node: Node711,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node711, Node711.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node712type = 'rect';
- var Node712 = new ht.Node(),
- Node712BorderWidth = 1*2;
- if (Node712type === 'arc') {
- Node712BorderWidth *= 1;
- }
- Node712.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node712type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node712.setPosition(1197*ratio.ratioX, 76*ratio.ratioY);
- Node712.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node712.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node712.a('node.width', 95*_ratio.ratioX);
- Node712.a('node.height', 24.33138*_ratio.ratioY);
- Node712.a('node.type', Node712type);
- Node712.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node712.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node712.a('node.gradientcolor', '');
- Node712.a('node.gradient', '');
- Node712.a('node.borderwidth', Node712BorderWidth);
- Node712.a('node.color', 'rgba(224,224,224,1)');
- Node712.a('node.fillrect', [0,0,0,0]);
- Node712.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node712.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node712.a('node.fillgradient', '');
- if (Node712type !== 'rect') {
- Node712.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node712.a('node.arcTo', parseFloat('@arcTo@'));
- Node712.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node712type === 'arc') {
- Node712.a('node.arcOval', true);
- }
- Node712.setRotation(0*Math.PI/180);
- Node712.borderWidth = Node712BorderWidth;
- Node712.borderFillwidth = Node712BorderWidth;
- dataModel.add(Node712);
- Node712._nodename = 'Node712'
- Node712._nodeType = 'rect';
- zoomNodeList.push({
- node: Node712,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node712, Node712.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node713type = 'rect';
- var Node713 = new ht.Node(),
- Node713BorderWidth = 1*2;
- if (Node713type === 'arc') {
- Node713BorderWidth *= 1;
- }
- Node713.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node713type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node713.setPosition(1197*ratio.ratioX, 100*ratio.ratioY);
- Node713.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node713.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node713.a('node.width', 95*_ratio.ratioX);
- Node713.a('node.height', 24.33138*_ratio.ratioY);
- Node713.a('node.type', Node713type);
- Node713.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node713.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node713.a('node.gradientcolor', '');
- Node713.a('node.gradient', '');
- Node713.a('node.borderwidth', Node713BorderWidth);
- Node713.a('node.color', 'rgba(224,224,224,1)');
- Node713.a('node.fillrect', [0,0,0,0]);
- Node713.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node713.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node713.a('node.fillgradient', '');
- if (Node713type !== 'rect') {
- Node713.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node713.a('node.arcTo', parseFloat('@arcTo@'));
- Node713.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node713type === 'arc') {
- Node713.a('node.arcOval', true);
- }
- Node713.setRotation(0*Math.PI/180);
- Node713.borderWidth = Node713BorderWidth;
- Node713.borderFillwidth = Node713BorderWidth;
- dataModel.add(Node713);
- Node713._nodename = 'Node713'
- Node713._nodeType = 'rect';
- zoomNodeList.push({
- node: Node713,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node713, Node713.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node714type = 'rect';
- var Node714 = new ht.Node(),
- Node714BorderWidth = 1*2;
- if (Node714type === 'arc') {
- Node714BorderWidth *= 1;
- }
- Node714.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node714type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node714.setPosition(1197*ratio.ratioX, 125*ratio.ratioY);
- Node714.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node714.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node714.a('node.width', 95*_ratio.ratioX);
- Node714.a('node.height', 24.33136*_ratio.ratioY);
- Node714.a('node.type', Node714type);
- Node714.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node714.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node714.a('node.gradientcolor', '');
- Node714.a('node.gradient', '');
- Node714.a('node.borderwidth', Node714BorderWidth);
- Node714.a('node.color', 'rgba(224,224,224,1)');
- Node714.a('node.fillrect', [0,0,0,0]);
- Node714.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node714.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node714.a('node.fillgradient', '');
- if (Node714type !== 'rect') {
- Node714.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node714.a('node.arcTo', parseFloat('@arcTo@'));
- Node714.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node714type === 'arc') {
- Node714.a('node.arcOval', true);
- }
- Node714.setRotation(0*Math.PI/180);
- Node714.borderWidth = Node714BorderWidth;
- Node714.borderFillwidth = Node714BorderWidth;
- dataModel.add(Node714);
- Node714._nodename = 'Node714'
- Node714._nodeType = 'rect';
- zoomNodeList.push({
- node: Node714,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node714, Node714.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node715type = 'rect';
- var Node715 = new ht.Node(),
- Node715BorderWidth = 1*2;
- if (Node715type === 'arc') {
- Node715BorderWidth *= 1;
- }
- Node715.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node715type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node715.setPosition(1197*ratio.ratioX, 149*ratio.ratioY);
- Node715.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node715.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node715.a('node.width', 95*_ratio.ratioX);
- Node715.a('node.height', 24.33138*_ratio.ratioY);
- Node715.a('node.type', Node715type);
- Node715.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node715.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node715.a('node.gradientcolor', '');
- Node715.a('node.gradient', '');
- Node715.a('node.borderwidth', Node715BorderWidth);
- Node715.a('node.color', 'rgba(224,224,224,1)');
- Node715.a('node.fillrect', [0,0,0,0]);
- Node715.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node715.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node715.a('node.fillgradient', '');
- if (Node715type !== 'rect') {
- Node715.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node715.a('node.arcTo', parseFloat('@arcTo@'));
- Node715.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node715type === 'arc') {
- Node715.a('node.arcOval', true);
- }
- Node715.setRotation(0*Math.PI/180);
- Node715.borderWidth = Node715BorderWidth;
- Node715.borderFillwidth = Node715BorderWidth;
- dataModel.add(Node715);
- Node715._nodename = 'Node715'
- Node715._nodeType = 'rect';
- zoomNodeList.push({
- node: Node715,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node715, Node715.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node716type = 'rect';
- var Node716 = new ht.Node(),
- Node716BorderWidth = 1*2;
- if (Node716type === 'arc') {
- Node716BorderWidth *= 1;
- }
- Node716.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node716type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node716.setPosition(1277*ratio.ratioX, 52*ratio.ratioY);
- Node716.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node716.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node716.a('node.width', 65*_ratio.ratioX);
- Node716.a('node.height', 24.33136*_ratio.ratioY);
- Node716.a('node.type', Node716type);
- Node716.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node716.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node716.a('node.gradientcolor', '');
- Node716.a('node.gradient', '');
- Node716.a('node.borderwidth', Node716BorderWidth);
- Node716.a('node.color', 'rgba(224,224,224,1)');
- Node716.a('node.fillrect', [0,0,0,0]);
- Node716.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node716.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node716.a('node.fillgradient', '');
- if (Node716type !== 'rect') {
- Node716.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node716.a('node.arcTo', parseFloat('@arcTo@'));
- Node716.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node716type === 'arc') {
- Node716.a('node.arcOval', true);
- }
- Node716.setRotation(0*Math.PI/180);
- Node716.borderWidth = Node716BorderWidth;
- Node716.borderFillwidth = Node716BorderWidth;
- dataModel.add(Node716);
- Node716._nodename = 'Node716'
- Node716._nodeType = 'rect';
- zoomNodeList.push({
- node: Node716,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node716, Node716.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node717 = new ht.Node();
- var Node717textStart, Node717textWidth, Node717lineStart, Node717align = 'center', Node717fontSize = 14.66663*_ratio.ratioY,Node717width = 59*_ratio.ratioX, Node717height = 26*_ratio.ratioY;
- (function () {
- if (Node717align === 'left') {
- Node717textStart = Node717fontSize * 0.2 > 2 ? Node717fontSize * 0.2 - 4 : Node717fontSize * 0.2 - 9;
- Node717textWidth = Node717width;
- Node717lineStart = 1;
- } else if (Node717align === 'right') {
- Node717textStart = 0;
- Node717textWidth =Node717fontSize <= 8 ? Node717width + Node717fontSize * 0.2 + 6 : Node717width - Node717fontSize * 0.2;
- Node717lineStart = (Node717width - (ht.Default.getTextSize('0', ' '+ Node717fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node717align === 'center') {
- Node717textStart = -3;
- Node717textWidth = Node717width;
- Node717lineStart = Node717width - ht.Default.getTextSize('0', ' '+ Node717fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node717.setImage(GD.getTextJSON(Node717width, Node717height, true, false, false, ' '+ Node717fontSize + 'px "Arial"'))
- Node717.setPosition(1197*ratio.ratioX, 54*ratio.ratioY);
- Node717.setWidth(Node717width);
- Node717.setHeight(Node717height);
- Node717._nodeType = 'text';
- Node717._disallowEvert = true;
- Node717.setRotation(0*Math.PI/180);
- Node717.a('node.width', Node717width);
- Node717.a('node.height', Node717height);
- Node717.a('node.rect', [0, 0, Node717width, Node717height]);
- Node717.a('node.bordercolor','rgba(0,0,0,1)');
- Node717.a('node.borderwidth', 0);
- Node717.a('node.background','' || 'rgba(0,0,0,0)');
- Node717.a('node.gradient','');
- Node717.a('node.gradientcolor','');
- Node717.a('node.text','0');
- Node717.a('node.textalign','center');
- Node717.a('node.textvAlign','middle');
- Node717.a('node.textrect', [Node717textStart, 0, Node717textWidth, Node717height]);
- Node717.a('node.color','rgba(0,0,0,1)');
- Node717.a('node.font',' '+ Node717fontSize + 'px "Arial"');
- Node717.a('node.textvisible',true);
- Node717.a('node.linefeed',false);
- if (false) {
- Node717.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node717.a('node.text') || '0';
- var color=Node717.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node717width,Node717height,14.66663*_ratio.ratioY,"center",color,' '+ Node717fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node717.a('node.underlinepoints',[Node717lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node717fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node717fontSize + 'px "Arial"').width + 6, (Node717height - Node717fontSize) * 0.5*_ratio.ratioY + Node717fontSize + 2 ]);
- Node717.a('node.underlinevisible',false);
- Node717.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node717);
- zoomNodeList.push({
- node: Node717,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node718 = new ht.Node();
- var Node718textStart, Node718textWidth, Node718lineStart, Node718align = 'center', Node718fontSize = 14.66663*_ratio.ratioY,Node718width = 59*_ratio.ratioX, Node718height = 26*_ratio.ratioY;
- (function () {
- if (Node718align === 'left') {
- Node718textStart = Node718fontSize * 0.2 > 2 ? Node718fontSize * 0.2 - 4 : Node718fontSize * 0.2 - 9;
- Node718textWidth = Node718width;
- Node718lineStart = 1;
- } else if (Node718align === 'right') {
- Node718textStart = 0;
- Node718textWidth =Node718fontSize <= 8 ? Node718width + Node718fontSize * 0.2 + 6 : Node718width - Node718fontSize * 0.2;
- Node718lineStart = (Node718width - (ht.Default.getTextSize('0', ' '+ Node718fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node718align === 'center') {
- Node718textStart = -3;
- Node718textWidth = Node718width;
- Node718lineStart = Node718width - ht.Default.getTextSize('0', ' '+ Node718fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node718.setImage(GD.getTextJSON(Node718width, Node718height, true, false, false, ' '+ Node718fontSize + 'px "Arial"'))
- Node718.setPosition(1197*ratio.ratioX, 78*ratio.ratioY);
- Node718.setWidth(Node718width);
- Node718.setHeight(Node718height);
- Node718._nodeType = 'text';
- Node718._disallowEvert = true;
- Node718.setRotation(0*Math.PI/180);
- Node718.a('node.width', Node718width);
- Node718.a('node.height', Node718height);
- Node718.a('node.rect', [0, 0, Node718width, Node718height]);
- Node718.a('node.bordercolor','rgba(0,0,0,1)');
- Node718.a('node.borderwidth', 0);
- Node718.a('node.background','' || 'rgba(0,0,0,0)');
- Node718.a('node.gradient','');
- Node718.a('node.gradientcolor','');
- Node718.a('node.text','0');
- Node718.a('node.textalign','center');
- Node718.a('node.textvAlign','middle');
- Node718.a('node.textrect', [Node718textStart, 0, Node718textWidth, Node718height]);
- Node718.a('node.color','rgba(0,0,0,1)');
- Node718.a('node.font',' '+ Node718fontSize + 'px "Arial"');
- Node718.a('node.textvisible',true);
- Node718.a('node.linefeed',false);
- if (false) {
- Node718.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node718.a('node.text') || '0';
- var color=Node718.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node718width,Node718height,14.66663*_ratio.ratioY,"center",color,' '+ Node718fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node718.a('node.underlinepoints',[Node718lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node718fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node718fontSize + 'px "Arial"').width + 6, (Node718height - Node718fontSize) * 0.5*_ratio.ratioY + Node718fontSize + 2 ]);
- Node718.a('node.underlinevisible',false);
- Node718.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node718);
- zoomNodeList.push({
- node: Node718,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node719 = new ht.Node();
- var Node719textStart, Node719textWidth, Node719lineStart, Node719align = 'center', Node719fontSize = 14.66663*_ratio.ratioY,Node719width = 59*_ratio.ratioX, Node719height = 26*_ratio.ratioY;
- (function () {
- if (Node719align === 'left') {
- Node719textStart = Node719fontSize * 0.2 > 2 ? Node719fontSize * 0.2 - 4 : Node719fontSize * 0.2 - 9;
- Node719textWidth = Node719width;
- Node719lineStart = 1;
- } else if (Node719align === 'right') {
- Node719textStart = 0;
- Node719textWidth =Node719fontSize <= 8 ? Node719width + Node719fontSize * 0.2 + 6 : Node719width - Node719fontSize * 0.2;
- Node719lineStart = (Node719width - (ht.Default.getTextSize('0', ' '+ Node719fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node719align === 'center') {
- Node719textStart = -3;
- Node719textWidth = Node719width;
- Node719lineStart = Node719width - ht.Default.getTextSize('0', ' '+ Node719fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node719.setImage(GD.getTextJSON(Node719width, Node719height, true, false, false, ' '+ Node719fontSize + 'px "Arial"'))
- Node719.setPosition(1197*ratio.ratioX, 103*ratio.ratioY);
- Node719.setWidth(Node719width);
- Node719.setHeight(Node719height);
- Node719._nodeType = 'text';
- Node719._disallowEvert = true;
- Node719.setRotation(0*Math.PI/180);
- Node719.a('node.width', Node719width);
- Node719.a('node.height', Node719height);
- Node719.a('node.rect', [0, 0, Node719width, Node719height]);
- Node719.a('node.bordercolor','rgba(0,0,0,1)');
- Node719.a('node.borderwidth', 0);
- Node719.a('node.background','' || 'rgba(0,0,0,0)');
- Node719.a('node.gradient','');
- Node719.a('node.gradientcolor','');
- Node719.a('node.text','0');
- Node719.a('node.textalign','center');
- Node719.a('node.textvAlign','middle');
- Node719.a('node.textrect', [Node719textStart, 0, Node719textWidth, Node719height]);
- Node719.a('node.color','rgba(0,0,0,1)');
- Node719.a('node.font',' '+ Node719fontSize + 'px "Arial"');
- Node719.a('node.textvisible',true);
- Node719.a('node.linefeed',false);
- if (false) {
- Node719.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node719.a('node.text') || '0';
- var color=Node719.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node719width,Node719height,14.66663*_ratio.ratioY,"center",color,' '+ Node719fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node719.a('node.underlinepoints',[Node719lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node719fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node719fontSize + 'px "Arial"').width + 6, (Node719height - Node719fontSize) * 0.5*_ratio.ratioY + Node719fontSize + 2 ]);
- Node719.a('node.underlinevisible',false);
- Node719.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node719);
- zoomNodeList.push({
- node: Node719,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node720 = new ht.Node();
- var Node720textStart, Node720textWidth, Node720lineStart, Node720align = 'center', Node720fontSize = 14.66663*_ratio.ratioY,Node720width = 59*_ratio.ratioX, Node720height = 26*_ratio.ratioY;
- (function () {
- if (Node720align === 'left') {
- Node720textStart = Node720fontSize * 0.2 > 2 ? Node720fontSize * 0.2 - 4 : Node720fontSize * 0.2 - 9;
- Node720textWidth = Node720width;
- Node720lineStart = 1;
- } else if (Node720align === 'right') {
- Node720textStart = 0;
- Node720textWidth =Node720fontSize <= 8 ? Node720width + Node720fontSize * 0.2 + 6 : Node720width - Node720fontSize * 0.2;
- Node720lineStart = (Node720width - (ht.Default.getTextSize('0', ' '+ Node720fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node720align === 'center') {
- Node720textStart = -3;
- Node720textWidth = Node720width;
- Node720lineStart = Node720width - ht.Default.getTextSize('0', ' '+ Node720fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node720.setImage(GD.getTextJSON(Node720width, Node720height, true, false, false, ' '+ Node720fontSize + 'px "Arial"'))
- Node720.setPosition(1197*ratio.ratioX, 126*ratio.ratioY);
- Node720.setWidth(Node720width);
- Node720.setHeight(Node720height);
- Node720._nodeType = 'text';
- Node720._disallowEvert = true;
- Node720.setRotation(0*Math.PI/180);
- Node720.a('node.width', Node720width);
- Node720.a('node.height', Node720height);
- Node720.a('node.rect', [0, 0, Node720width, Node720height]);
- Node720.a('node.bordercolor','rgba(0,0,0,1)');
- Node720.a('node.borderwidth', 0);
- Node720.a('node.background','' || 'rgba(0,0,0,0)');
- Node720.a('node.gradient','');
- Node720.a('node.gradientcolor','');
- Node720.a('node.text','0');
- Node720.a('node.textalign','center');
- Node720.a('node.textvAlign','middle');
- Node720.a('node.textrect', [Node720textStart, 0, Node720textWidth, Node720height]);
- Node720.a('node.color','rgba(0,0,0,1)');
- Node720.a('node.font',' '+ Node720fontSize + 'px "Arial"');
- Node720.a('node.textvisible',true);
- Node720.a('node.linefeed',false);
- if (false) {
- Node720.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node720.a('node.text') || '0';
- var color=Node720.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node720width,Node720height,14.66663*_ratio.ratioY,"center",color,' '+ Node720fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node720.a('node.underlinepoints',[Node720lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node720fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node720fontSize + 'px "Arial"').width + 6, (Node720height - Node720fontSize) * 0.5*_ratio.ratioY + Node720fontSize + 2 ]);
- Node720.a('node.underlinevisible',false);
- Node720.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node720);
- zoomNodeList.push({
- node: Node720,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node721type = 'rect';
- var Node721 = new ht.Node(),
- Node721BorderWidth = 1*2;
- if (Node721type === 'arc') {
- Node721BorderWidth *= 1;
- }
- Node721.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node721type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node721.setPosition(1277*ratio.ratioX, 76*ratio.ratioY);
- Node721.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node721.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node721.a('node.width', 65*_ratio.ratioX);
- Node721.a('node.height', 24.33138*_ratio.ratioY);
- Node721.a('node.type', Node721type);
- Node721.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node721.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node721.a('node.gradientcolor', '');
- Node721.a('node.gradient', '');
- Node721.a('node.borderwidth', Node721BorderWidth);
- Node721.a('node.color', 'rgba(224,224,224,1)');
- Node721.a('node.fillrect', [0,0,0,0]);
- Node721.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node721.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node721.a('node.fillgradient', '');
- if (Node721type !== 'rect') {
- Node721.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node721.a('node.arcTo', parseFloat('@arcTo@'));
- Node721.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node721type === 'arc') {
- Node721.a('node.arcOval', true);
- }
- Node721.setRotation(0*Math.PI/180);
- Node721.borderWidth = Node721BorderWidth;
- Node721.borderFillwidth = Node721BorderWidth;
- dataModel.add(Node721);
- Node721._nodename = 'Node721'
- Node721._nodeType = 'rect';
- zoomNodeList.push({
- node: Node721,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node721, Node721.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node722type = 'rect';
- var Node722 = new ht.Node(),
- Node722BorderWidth = 1*2;
- if (Node722type === 'arc') {
- Node722BorderWidth *= 1;
- }
- Node722.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node722type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node722.setPosition(1277*ratio.ratioX, 100*ratio.ratioY);
- Node722.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node722.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node722.a('node.width', 65*_ratio.ratioX);
- Node722.a('node.height', 24.33138*_ratio.ratioY);
- Node722.a('node.type', Node722type);
- Node722.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node722.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node722.a('node.gradientcolor', '');
- Node722.a('node.gradient', '');
- Node722.a('node.borderwidth', Node722BorderWidth);
- Node722.a('node.color', 'rgba(224,224,224,1)');
- Node722.a('node.fillrect', [0,0,0,0]);
- Node722.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node722.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node722.a('node.fillgradient', '');
- if (Node722type !== 'rect') {
- Node722.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node722.a('node.arcTo', parseFloat('@arcTo@'));
- Node722.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node722type === 'arc') {
- Node722.a('node.arcOval', true);
- }
- Node722.setRotation(0*Math.PI/180);
- Node722.borderWidth = Node722BorderWidth;
- Node722.borderFillwidth = Node722BorderWidth;
- dataModel.add(Node722);
- Node722._nodename = 'Node722'
- Node722._nodeType = 'rect';
- zoomNodeList.push({
- node: Node722,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node722, Node722.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node723type = 'rect';
- var Node723 = new ht.Node(),
- Node723BorderWidth = 1*2;
- if (Node723type === 'arc') {
- Node723BorderWidth *= 1;
- }
- Node723.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node723type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node723.setPosition(1277*ratio.ratioX, 125*ratio.ratioY);
- Node723.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node723.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node723.a('node.width', 65*_ratio.ratioX);
- Node723.a('node.height', 24.33136*_ratio.ratioY);
- Node723.a('node.type', Node723type);
- Node723.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node723.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node723.a('node.gradientcolor', '');
- Node723.a('node.gradient', '');
- Node723.a('node.borderwidth', Node723BorderWidth);
- Node723.a('node.color', 'rgba(224,224,224,1)');
- Node723.a('node.fillrect', [0,0,0,0]);
- Node723.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node723.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node723.a('node.fillgradient', '');
- if (Node723type !== 'rect') {
- Node723.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node723.a('node.arcTo', parseFloat('@arcTo@'));
- Node723.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node723type === 'arc') {
- Node723.a('node.arcOval', true);
- }
- Node723.setRotation(0*Math.PI/180);
- Node723.borderWidth = Node723BorderWidth;
- Node723.borderFillwidth = Node723BorderWidth;
- dataModel.add(Node723);
- Node723._nodename = 'Node723'
- Node723._nodeType = 'rect';
- zoomNodeList.push({
- node: Node723,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node723, Node723.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node724type = 'rect';
- var Node724 = new ht.Node(),
- Node724BorderWidth = 1*2;
- if (Node724type === 'arc') {
- Node724BorderWidth *= 1;
- }
- Node724.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node724type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node724.setPosition(1277*ratio.ratioX, 149*ratio.ratioY);
- Node724.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node724.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node724.a('node.width', 65*_ratio.ratioX);
- Node724.a('node.height', 24.33138*_ratio.ratioY);
- Node724.a('node.type', Node724type);
- Node724.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node724.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node724.a('node.gradientcolor', '');
- Node724.a('node.gradient', '');
- Node724.a('node.borderwidth', Node724BorderWidth);
- Node724.a('node.color', 'rgba(224,224,224,1)');
- Node724.a('node.fillrect', [0,0,0,0]);
- Node724.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node724.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node724.a('node.fillgradient', '');
- if (Node724type !== 'rect') {
- Node724.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node724.a('node.arcTo', parseFloat('@arcTo@'));
- Node724.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node724type === 'arc') {
- Node724.a('node.arcOval', true);
- }
- Node724.setRotation(0*Math.PI/180);
- Node724.borderWidth = Node724BorderWidth;
- Node724.borderFillwidth = Node724BorderWidth;
- dataModel.add(Node724);
- Node724._nodename = 'Node724'
- Node724._nodeType = 'rect';
- zoomNodeList.push({
- node: Node724,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node724, Node724.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node725 = new ht.Node();
- var Node725textStart, Node725textWidth, Node725lineStart, Node725align = 'center', Node725fontSize = 13.3333*_ratio.ratioY,Node725width = 59*_ratio.ratioX, Node725height = 26*_ratio.ratioY;
- (function () {
- if (Node725align === 'left') {
- Node725textStart = Node725fontSize * 0.2 > 2 ? Node725fontSize * 0.2 - 4 : Node725fontSize * 0.2 - 9;
- Node725textWidth = Node725width;
- Node725lineStart = 1;
- } else if (Node725align === 'right') {
- Node725textStart = 0;
- Node725textWidth =Node725fontSize <= 8 ? Node725width + Node725fontSize * 0.2 + 6 : Node725width - Node725fontSize * 0.2;
- Node725lineStart = (Node725width - (ht.Default.getTextSize('万kWh', ' '+ Node725fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node725align === 'center') {
- Node725textStart = -3;
- Node725textWidth = Node725width;
- Node725lineStart = Node725width - ht.Default.getTextSize('万kWh', ' '+ Node725fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node725.setImage(GD.getTextJSON(Node725width, Node725height, true, false, false, ' '+ Node725fontSize + 'px "Arial"'))
- Node725.setPosition(1278*ratio.ratioX, 54*ratio.ratioY);
- Node725.setWidth(Node725width);
- Node725.setHeight(Node725height);
- Node725._nodeType = 'text';
- Node725._disallowEvert = true;
- Node725.setRotation(0*Math.PI/180);
- Node725.a('node.width', Node725width);
- Node725.a('node.height', Node725height);
- Node725.a('node.rect', [0, 0, Node725width, Node725height]);
- Node725.a('node.bordercolor','rgba(128,128,128,1)');
- Node725.a('node.borderwidth', 0);
- Node725.a('node.background','' || 'rgba(0,0,0,0)');
- Node725.a('node.gradient','');
- Node725.a('node.gradientcolor','');
- Node725.a('node.text','万kWh');
- Node725.a('node.textalign','center');
- Node725.a('node.textvAlign','middle');
- Node725.a('node.textrect', [Node725textStart, 0, Node725textWidth, Node725height]);
- Node725.a('node.color','rgba(128,128,128,1)');
- Node725.a('node.font',' '+ Node725fontSize + 'px "Arial"');
- Node725.a('node.textvisible',true);
- Node725.a('node.linefeed',false);
- if (false) {
- Node725.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node725.a('node.text') || '万kWh';
- var color=Node725.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node725width,Node725height,13.3333*_ratio.ratioY,"center",color,' '+ Node725fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node725.a('node.underlinepoints',[Node725lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node725fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node725fontSize + 'px "Arial"').width + 6, (Node725height - Node725fontSize) * 0.5*_ratio.ratioY + Node725fontSize + 2 ]);
- Node725.a('node.underlinevisible',false);
- Node725.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node725);
- zoomNodeList.push({
- node: Node725,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node726 = new ht.Node();
- var Node726textStart, Node726textWidth, Node726lineStart, Node726align = 'center', Node726fontSize = 13.3333*_ratio.ratioY,Node726width = 59*_ratio.ratioX, Node726height = 26*_ratio.ratioY;
- (function () {
- if (Node726align === 'left') {
- Node726textStart = Node726fontSize * 0.2 > 2 ? Node726fontSize * 0.2 - 4 : Node726fontSize * 0.2 - 9;
- Node726textWidth = Node726width;
- Node726lineStart = 1;
- } else if (Node726align === 'right') {
- Node726textStart = 0;
- Node726textWidth =Node726fontSize <= 8 ? Node726width + Node726fontSize * 0.2 + 6 : Node726width - Node726fontSize * 0.2;
- Node726lineStart = (Node726width - (ht.Default.getTextSize('万kWh', ' '+ Node726fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node726align === 'center') {
- Node726textStart = -3;
- Node726textWidth = Node726width;
- Node726lineStart = Node726width - ht.Default.getTextSize('万kWh', ' '+ Node726fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node726.setImage(GD.getTextJSON(Node726width, Node726height, true, false, false, ' '+ Node726fontSize + 'px "Arial"'))
- Node726.setPosition(1278*ratio.ratioX, 78*ratio.ratioY);
- Node726.setWidth(Node726width);
- Node726.setHeight(Node726height);
- Node726._nodeType = 'text';
- Node726._disallowEvert = true;
- Node726.setRotation(0*Math.PI/180);
- Node726.a('node.width', Node726width);
- Node726.a('node.height', Node726height);
- Node726.a('node.rect', [0, 0, Node726width, Node726height]);
- Node726.a('node.bordercolor','rgba(128,128,128,1)');
- Node726.a('node.borderwidth', 0);
- Node726.a('node.background','' || 'rgba(0,0,0,0)');
- Node726.a('node.gradient','');
- Node726.a('node.gradientcolor','');
- Node726.a('node.text','万kWh');
- Node726.a('node.textalign','center');
- Node726.a('node.textvAlign','middle');
- Node726.a('node.textrect', [Node726textStart, 0, Node726textWidth, Node726height]);
- Node726.a('node.color','rgba(128,128,128,1)');
- Node726.a('node.font',' '+ Node726fontSize + 'px "Arial"');
- Node726.a('node.textvisible',true);
- Node726.a('node.linefeed',false);
- if (false) {
- Node726.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node726.a('node.text') || '万kWh';
- var color=Node726.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node726width,Node726height,13.3333*_ratio.ratioY,"center",color,' '+ Node726fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node726.a('node.underlinepoints',[Node726lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node726fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node726fontSize + 'px "Arial"').width + 6, (Node726height - Node726fontSize) * 0.5*_ratio.ratioY + Node726fontSize + 2 ]);
- Node726.a('node.underlinevisible',false);
- Node726.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node726);
- zoomNodeList.push({
- node: Node726,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node727 = new ht.Node();
- var Node727textStart, Node727textWidth, Node727lineStart, Node727align = 'center', Node727fontSize = 13.3333*_ratio.ratioY,Node727width = 59*_ratio.ratioX, Node727height = 26*_ratio.ratioY;
- (function () {
- if (Node727align === 'left') {
- Node727textStart = Node727fontSize * 0.2 > 2 ? Node727fontSize * 0.2 - 4 : Node727fontSize * 0.2 - 9;
- Node727textWidth = Node727width;
- Node727lineStart = 1;
- } else if (Node727align === 'right') {
- Node727textStart = 0;
- Node727textWidth =Node727fontSize <= 8 ? Node727width + Node727fontSize * 0.2 + 6 : Node727width - Node727fontSize * 0.2;
- Node727lineStart = (Node727width - (ht.Default.getTextSize('万kWh', ' '+ Node727fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node727align === 'center') {
- Node727textStart = -3;
- Node727textWidth = Node727width;
- Node727lineStart = Node727width - ht.Default.getTextSize('万kWh', ' '+ Node727fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node727.setImage(GD.getTextJSON(Node727width, Node727height, true, false, false, ' '+ Node727fontSize + 'px "Arial"'))
- Node727.setPosition(1278*ratio.ratioX, 101*ratio.ratioY);
- Node727.setWidth(Node727width);
- Node727.setHeight(Node727height);
- Node727._nodeType = 'text';
- Node727._disallowEvert = true;
- Node727.setRotation(0*Math.PI/180);
- Node727.a('node.width', Node727width);
- Node727.a('node.height', Node727height);
- Node727.a('node.rect', [0, 0, Node727width, Node727height]);
- Node727.a('node.bordercolor','rgba(128,128,128,1)');
- Node727.a('node.borderwidth', 0);
- Node727.a('node.background','' || 'rgba(0,0,0,0)');
- Node727.a('node.gradient','');
- Node727.a('node.gradientcolor','');
- Node727.a('node.text','万kWh');
- Node727.a('node.textalign','center');
- Node727.a('node.textvAlign','middle');
- Node727.a('node.textrect', [Node727textStart, 0, Node727textWidth, Node727height]);
- Node727.a('node.color','rgba(128,128,128,1)');
- Node727.a('node.font',' '+ Node727fontSize + 'px "Arial"');
- Node727.a('node.textvisible',true);
- Node727.a('node.linefeed',false);
- if (false) {
- Node727.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node727.a('node.text') || '万kWh';
- var color=Node727.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node727width,Node727height,13.3333*_ratio.ratioY,"center",color,' '+ Node727fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node727.a('node.underlinepoints',[Node727lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node727fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node727fontSize + 'px "Arial"').width + 6, (Node727height - Node727fontSize) * 0.5*_ratio.ratioY + Node727fontSize + 2 ]);
- Node727.a('node.underlinevisible',false);
- Node727.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node727);
- zoomNodeList.push({
- node: Node727,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node728 = new ht.Node();
- var Node728textStart, Node728textWidth, Node728lineStart, Node728align = 'center', Node728fontSize = 13.3333*_ratio.ratioY,Node728width = 59*_ratio.ratioX, Node728height = 26*_ratio.ratioY;
- (function () {
- if (Node728align === 'left') {
- Node728textStart = Node728fontSize * 0.2 > 2 ? Node728fontSize * 0.2 - 4 : Node728fontSize * 0.2 - 9;
- Node728textWidth = Node728width;
- Node728lineStart = 1;
- } else if (Node728align === 'right') {
- Node728textStart = 0;
- Node728textWidth =Node728fontSize <= 8 ? Node728width + Node728fontSize * 0.2 + 6 : Node728width - Node728fontSize * 0.2;
- Node728lineStart = (Node728width - (ht.Default.getTextSize('万kWh', ' '+ Node728fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node728align === 'center') {
- Node728textStart = -3;
- Node728textWidth = Node728width;
- Node728lineStart = Node728width - ht.Default.getTextSize('万kWh', ' '+ Node728fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node728.setImage(GD.getTextJSON(Node728width, Node728height, true, false, false, ' '+ Node728fontSize + 'px "Arial"'))
- Node728.setPosition(1278*ratio.ratioX, 127*ratio.ratioY);
- Node728.setWidth(Node728width);
- Node728.setHeight(Node728height);
- Node728._nodeType = 'text';
- Node728._disallowEvert = true;
- Node728.setRotation(0*Math.PI/180);
- Node728.a('node.width', Node728width);
- Node728.a('node.height', Node728height);
- Node728.a('node.rect', [0, 0, Node728width, Node728height]);
- Node728.a('node.bordercolor','rgba(128,128,128,1)');
- Node728.a('node.borderwidth', 0);
- Node728.a('node.background','' || 'rgba(0,0,0,0)');
- Node728.a('node.gradient','');
- Node728.a('node.gradientcolor','');
- Node728.a('node.text','万kWh');
- Node728.a('node.textalign','center');
- Node728.a('node.textvAlign','middle');
- Node728.a('node.textrect', [Node728textStart, 0, Node728textWidth, Node728height]);
- Node728.a('node.color','rgba(128,128,128,1)');
- Node728.a('node.font',' '+ Node728fontSize + 'px "Arial"');
- Node728.a('node.textvisible',true);
- Node728.a('node.linefeed',false);
- if (false) {
- Node728.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node728.a('node.text') || '万kWh';
- var color=Node728.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node728width,Node728height,13.3333*_ratio.ratioY,"center",color,' '+ Node728fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node728.a('node.underlinepoints',[Node728lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node728fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node728fontSize + 'px "Arial"').width + 6, (Node728height - Node728fontSize) * 0.5*_ratio.ratioY + Node728fontSize + 2 ]);
- Node728.a('node.underlinevisible',false);
- Node728.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node728);
- zoomNodeList.push({
- node: Node728,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node729 = new ht.Node();
- var Node729textStart, Node729textWidth, Node729lineStart, Node729align = 'left', Node729fontSize = 13.3333*_ratio.ratioY,Node729width = 67*_ratio.ratioX, Node729height = 26*_ratio.ratioY;
- (function () {
- if (Node729align === 'left') {
- Node729textStart = Node729fontSize * 0.2 > 2 ? Node729fontSize * 0.2 - 4 : Node729fontSize * 0.2 - 9;
- Node729textWidth = Node729width;
- Node729lineStart = 1;
- } else if (Node729align === 'right') {
- Node729textStart = 0;
- Node729textWidth =Node729fontSize <= 8 ? Node729width + Node729fontSize * 0.2 + 6 : Node729width - Node729fontSize * 0.2;
- Node729lineStart = (Node729width - (ht.Default.getTextSize('装机容量', ' '+ Node729fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node729align === 'center') {
- Node729textStart = -3;
- Node729textWidth = Node729width;
- Node729lineStart = Node729width - ht.Default.getTextSize('装机容量', ' '+ Node729fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node729.setImage(GD.getTextJSON(Node729width, Node729height, true, false, false, ' '+ Node729fontSize + 'px "微软雅黑"'))
- Node729.setPosition(223*ratio.ratioX, 53*ratio.ratioY);
- Node729.setWidth(Node729width);
- Node729.setHeight(Node729height);
- Node729._nodeType = 'text';
- Node729._disallowEvert = true;
- Node729.setRotation(0*Math.PI/180);
- Node729.a('node.width', Node729width);
- Node729.a('node.height', Node729height);
- Node729.a('node.rect', [0, 0, Node729width, Node729height]);
- Node729.a('node.bordercolor','rgba(0,0,0,1)');
- Node729.a('node.borderwidth', 0);
- Node729.a('node.background','' || 'rgba(0,0,0,0)');
- Node729.a('node.gradient','');
- Node729.a('node.gradientcolor','');
- Node729.a('node.text','装机容量');
- Node729.a('node.textalign','left');
- Node729.a('node.textvAlign','middle');
- Node729.a('node.textrect', [Node729textStart, 0, Node729textWidth, Node729height]);
- Node729.a('node.color','rgba(0,0,0,1)');
- Node729.a('node.font',' '+ Node729fontSize + 'px "微软雅黑"');
- Node729.a('node.textvisible',true);
- Node729.a('node.linefeed',false);
- if (false) {
- Node729.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node729.a('node.text') || '装机容量';
- var color=Node729.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node729width,Node729height,13.3333*_ratio.ratioY,"left",color,' '+ Node729fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node729.a('node.underlinepoints',[Node729lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node729fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node729fontSize + 'px "微软雅黑"').width + 6, (Node729height - Node729fontSize) * 0.5*_ratio.ratioY + Node729fontSize + 2 ]);
- Node729.a('node.underlinevisible',false);
- Node729.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node729);
- zoomNodeList.push({
- node: Node729,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node730type = 'rect';
- var Node730 = new ht.Node(),
- Node730BorderWidth = 1*2;
- if (Node730type === 'arc') {
- Node730BorderWidth *= 1;
- }
- Node730.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node730type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node730.setPosition(354*ratio.ratioX, 52*ratio.ratioY);
- Node730.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node730.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node730.a('node.width', 94*_ratio.ratioX);
- Node730.a('node.height', 24.33136*_ratio.ratioY);
- Node730.a('node.type', Node730type);
- Node730.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node730.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node730.a('node.gradientcolor', '');
- Node730.a('node.gradient', '');
- Node730.a('node.borderwidth', Node730BorderWidth);
- Node730.a('node.color', 'rgba(224,224,224,1)');
- Node730.a('node.fillrect', [0,0,0,0]);
- Node730.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node730.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node730.a('node.fillgradient', '');
- if (Node730type !== 'rect') {
- Node730.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node730.a('node.arcTo', parseFloat('@arcTo@'));
- Node730.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node730type === 'arc') {
- Node730.a('node.arcOval', true);
- }
- Node730.setRotation(0*Math.PI/180);
- Node730.borderWidth = Node730BorderWidth;
- Node730.borderFillwidth = Node730BorderWidth;
- dataModel.add(Node730);
- Node730._nodename = 'Node730'
- Node730._nodeType = 'rect';
- zoomNodeList.push({
- node: Node730,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node730, Node730.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node731type = 'rect';
- var Node731 = new ht.Node(),
- Node731BorderWidth = 1*2;
- if (Node731type === 'arc') {
- Node731BorderWidth *= 1;
- }
- Node731.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node731type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node731.setPosition(354*ratio.ratioX, 100*ratio.ratioY);
- Node731.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node731.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node731.a('node.width', 94*_ratio.ratioX);
- Node731.a('node.height', 24.33138*_ratio.ratioY);
- Node731.a('node.type', Node731type);
- Node731.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node731.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node731.a('node.gradientcolor', '');
- Node731.a('node.gradient', '');
- Node731.a('node.borderwidth', Node731BorderWidth);
- Node731.a('node.color', 'rgba(224,224,224,1)');
- Node731.a('node.fillrect', [0,0,0,0]);
- Node731.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node731.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node731.a('node.fillgradient', '');
- if (Node731type !== 'rect') {
- Node731.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node731.a('node.arcTo', parseFloat('@arcTo@'));
- Node731.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node731type === 'arc') {
- Node731.a('node.arcOval', true);
- }
- Node731.setRotation(0*Math.PI/180);
- Node731.borderWidth = Node731BorderWidth;
- Node731.borderFillwidth = Node731BorderWidth;
- dataModel.add(Node731);
- Node731._nodename = 'Node731'
- Node731._nodeType = 'rect';
- zoomNodeList.push({
- node: Node731,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node731, Node731.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node732type = 'rect';
- var Node732 = new ht.Node(),
- Node732BorderWidth = 1*2;
- if (Node732type === 'arc') {
- Node732BorderWidth *= 1;
- }
- Node732.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node732type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node732.setPosition(354*ratio.ratioX, 125*ratio.ratioY);
- Node732.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node732.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node732.a('node.width', 94*_ratio.ratioX);
- Node732.a('node.height', 24.33136*_ratio.ratioY);
- Node732.a('node.type', Node732type);
- Node732.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node732.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node732.a('node.gradientcolor', '');
- Node732.a('node.gradient', '');
- Node732.a('node.borderwidth', Node732BorderWidth);
- Node732.a('node.color', 'rgba(224,224,224,1)');
- Node732.a('node.fillrect', [0,0,0,0]);
- Node732.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node732.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node732.a('node.fillgradient', '');
- if (Node732type !== 'rect') {
- Node732.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node732.a('node.arcTo', parseFloat('@arcTo@'));
- Node732.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node732type === 'arc') {
- Node732.a('node.arcOval', true);
- }
- Node732.setRotation(0*Math.PI/180);
- Node732.borderWidth = Node732BorderWidth;
- Node732.borderFillwidth = Node732BorderWidth;
- dataModel.add(Node732);
- Node732._nodename = 'Node732'
- Node732._nodeType = 'rect';
- zoomNodeList.push({
- node: Node732,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node732, Node732.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node733type = 'rect';
- var Node733 = new ht.Node(),
- Node733BorderWidth = 1*2;
- if (Node733type === 'arc') {
- Node733BorderWidth *= 1;
- }
- Node733.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node733type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node733.setPosition(354*ratio.ratioX, 149*ratio.ratioY);
- Node733.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node733.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node733.a('node.width', 94*_ratio.ratioX);
- Node733.a('node.height', 24.33138*_ratio.ratioY);
- Node733.a('node.type', Node733type);
- Node733.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node733.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node733.a('node.gradientcolor', '');
- Node733.a('node.gradient', '');
- Node733.a('node.borderwidth', Node733BorderWidth);
- Node733.a('node.color', 'rgba(224,224,224,1)');
- Node733.a('node.fillrect', [0,0,0,0]);
- Node733.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node733.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node733.a('node.fillgradient', '');
- if (Node733type !== 'rect') {
- Node733.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node733.a('node.arcTo', parseFloat('@arcTo@'));
- Node733.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node733type === 'arc') {
- Node733.a('node.arcOval', true);
- }
- Node733.setRotation(0*Math.PI/180);
- Node733.borderWidth = Node733BorderWidth;
- Node733.borderFillwidth = Node733BorderWidth;
- dataModel.add(Node733);
- Node733._nodename = 'Node733'
- Node733._nodeType = 'rect';
- zoomNodeList.push({
- node: Node733,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node733, Node733.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node734 = new ht.Node();
- var Node734textStart, Node734textWidth, Node734lineStart, Node734align = 'center', Node734fontSize = 13.3333*_ratio.ratioY,Node734width = 58*_ratio.ratioX, Node734height = 26*_ratio.ratioY;
- (function () {
- if (Node734align === 'left') {
- Node734textStart = Node734fontSize * 0.2 > 2 ? Node734fontSize * 0.2 - 4 : Node734fontSize * 0.2 - 9;
- Node734textWidth = Node734width;
- Node734lineStart = 1;
- } else if (Node734align === 'right') {
- Node734textStart = 0;
- Node734textWidth =Node734fontSize <= 8 ? Node734width + Node734fontSize * 0.2 + 6 : Node734width - Node734fontSize * 0.2;
- Node734lineStart = (Node734width - (ht.Default.getTextSize('0', ' '+ Node734fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node734align === 'center') {
- Node734textStart = -3;
- Node734textWidth = Node734width;
- Node734lineStart = Node734width - ht.Default.getTextSize('0', ' '+ Node734fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node734.setImage(GD.getTextJSON(Node734width, Node734height, true, false, false, ' '+ Node734fontSize + 'px "Arial"'))
- Node734.setPosition(354*ratio.ratioX, 103*ratio.ratioY);
- Node734.setWidth(Node734width);
- Node734.setHeight(Node734height);
- Node734._nodeType = 'text';
- Node734._disallowEvert = true;
- Node734.setRotation(0*Math.PI/180);
- Node734.a('node.width', Node734width);
- Node734.a('node.height', Node734height);
- Node734.a('node.rect', [0, 0, Node734width, Node734height]);
- Node734.a('node.bordercolor','rgba(0,0,0,1)');
- Node734.a('node.borderwidth', 0);
- Node734.a('node.background','' || 'rgba(0,0,0,0)');
- Node734.a('node.gradient','');
- Node734.a('node.gradientcolor','');
- Node734.a('node.text','0');
- Node734.a('node.textalign','center');
- Node734.a('node.textvAlign','middle');
- Node734.a('node.textrect', [Node734textStart, 0, Node734textWidth, Node734height]);
- Node734.a('node.color','rgba(0,0,0,1)');
- Node734.a('node.font',' '+ Node734fontSize + 'px "Arial"');
- Node734.a('node.textvisible',true);
- Node734.a('node.linefeed',false);
- if (false) {
- Node734.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node734.a('node.text') || '0';
- var color=Node734.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node734width,Node734height,13.3333*_ratio.ratioY,"center",color,' '+ Node734fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node734.a('node.underlinepoints',[Node734lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node734fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node734fontSize + 'px "Arial"').width + 6, (Node734height - Node734fontSize) * 0.5*_ratio.ratioY + Node734fontSize + 2 ]);
- Node734.a('node.underlinevisible',false);
- Node734.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node734);
- zoomNodeList.push({
- node: Node734,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node735 = new ht.Node();
- var Node735textStart, Node735textWidth, Node735lineStart, Node735align = 'center', Node735fontSize = 13.3333*_ratio.ratioY,Node735width = 58*_ratio.ratioX, Node735height = 26*_ratio.ratioY;
- (function () {
- if (Node735align === 'left') {
- Node735textStart = Node735fontSize * 0.2 > 2 ? Node735fontSize * 0.2 - 4 : Node735fontSize * 0.2 - 9;
- Node735textWidth = Node735width;
- Node735lineStart = 1;
- } else if (Node735align === 'right') {
- Node735textStart = 0;
- Node735textWidth =Node735fontSize <= 8 ? Node735width + Node735fontSize * 0.2 + 6 : Node735width - Node735fontSize * 0.2;
- Node735lineStart = (Node735width - (ht.Default.getTextSize('0', ' '+ Node735fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node735align === 'center') {
- Node735textStart = -3;
- Node735textWidth = Node735width;
- Node735lineStart = Node735width - ht.Default.getTextSize('0', ' '+ Node735fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node735.setImage(GD.getTextJSON(Node735width, Node735height, true, false, false, ' '+ Node735fontSize + 'px "Arial"'))
- Node735.setPosition(354*ratio.ratioX, 126*ratio.ratioY);
- Node735.setWidth(Node735width);
- Node735.setHeight(Node735height);
- Node735._nodeType = 'text';
- Node735._disallowEvert = true;
- Node735.setRotation(0*Math.PI/180);
- Node735.a('node.width', Node735width);
- Node735.a('node.height', Node735height);
- Node735.a('node.rect', [0, 0, Node735width, Node735height]);
- Node735.a('node.bordercolor','rgba(0,0,0,1)');
- Node735.a('node.borderwidth', 0);
- Node735.a('node.background','' || 'rgba(0,0,0,0)');
- Node735.a('node.gradient','');
- Node735.a('node.gradientcolor','');
- Node735.a('node.text','0');
- Node735.a('node.textalign','center');
- Node735.a('node.textvAlign','middle');
- Node735.a('node.textrect', [Node735textStart, 0, Node735textWidth, Node735height]);
- Node735.a('node.color','rgba(0,0,0,1)');
- Node735.a('node.font',' '+ Node735fontSize + 'px "Arial"');
- Node735.a('node.textvisible',true);
- Node735.a('node.linefeed',false);
- if (false) {
- Node735.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node735.a('node.text') || '0';
- var color=Node735.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node735width,Node735height,13.3333*_ratio.ratioY,"center",color,' '+ Node735fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node735.a('node.underlinepoints',[Node735lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node735fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node735fontSize + 'px "Arial"').width + 6, (Node735height - Node735fontSize) * 0.5*_ratio.ratioY + Node735fontSize + 2 ]);
- Node735.a('node.underlinevisible',false);
- Node735.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node735);
- zoomNodeList.push({
- node: Node735,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node736type = 'rect';
- var Node736 = new ht.Node(),
- Node736BorderWidth = 1*2;
- if (Node736type === 'arc') {
- Node736BorderWidth *= 1;
- }
- Node736.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node736type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node736.setPosition(433*ratio.ratioX, 52*ratio.ratioY);
- Node736.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node736.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node736.a('node.width', 65*_ratio.ratioX);
- Node736.a('node.height', 24.33136*_ratio.ratioY);
- Node736.a('node.type', Node736type);
- Node736.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node736.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node736.a('node.gradientcolor', '');
- Node736.a('node.gradient', '');
- Node736.a('node.borderwidth', Node736BorderWidth);
- Node736.a('node.color', 'rgba(224,224,224,1)');
- Node736.a('node.fillrect', [0,0,0,0]);
- Node736.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node736.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node736.a('node.fillgradient', '');
- if (Node736type !== 'rect') {
- Node736.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node736.a('node.arcTo', parseFloat('@arcTo@'));
- Node736.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node736type === 'arc') {
- Node736.a('node.arcOval', true);
- }
- Node736.setRotation(0*Math.PI/180);
- Node736.borderWidth = Node736BorderWidth;
- Node736.borderFillwidth = Node736BorderWidth;
- dataModel.add(Node736);
- Node736._nodename = 'Node736'
- Node736._nodeType = 'rect';
- zoomNodeList.push({
- node: Node736,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node736, Node736.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node737type = 'rect';
- var Node737 = new ht.Node(),
- Node737BorderWidth = 1*2;
- if (Node737type === 'arc') {
- Node737BorderWidth *= 1;
- }
- Node737.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node737type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node737.setPosition(433*ratio.ratioX, 76*ratio.ratioY);
- Node737.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node737.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node737.a('node.width', 65*_ratio.ratioX);
- Node737.a('node.height', 24.33138*_ratio.ratioY);
- Node737.a('node.type', Node737type);
- Node737.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node737.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node737.a('node.gradientcolor', '');
- Node737.a('node.gradient', '');
- Node737.a('node.borderwidth', Node737BorderWidth);
- Node737.a('node.color', 'rgba(224,224,224,1)');
- Node737.a('node.fillrect', [0,0,0,0]);
- Node737.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node737.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node737.a('node.fillgradient', '');
- if (Node737type !== 'rect') {
- Node737.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node737.a('node.arcTo', parseFloat('@arcTo@'));
- Node737.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node737type === 'arc') {
- Node737.a('node.arcOval', true);
- }
- Node737.setRotation(0*Math.PI/180);
- Node737.borderWidth = Node737BorderWidth;
- Node737.borderFillwidth = Node737BorderWidth;
- dataModel.add(Node737);
- Node737._nodename = 'Node737'
- Node737._nodeType = 'rect';
- zoomNodeList.push({
- node: Node737,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node737, Node737.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node738type = 'rect';
- var Node738 = new ht.Node(),
- Node738BorderWidth = 1*2;
- if (Node738type === 'arc') {
- Node738BorderWidth *= 1;
- }
- Node738.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node738type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node738.setPosition(433*ratio.ratioX, 100*ratio.ratioY);
- Node738.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node738.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node738.a('node.width', 65*_ratio.ratioX);
- Node738.a('node.height', 24.33138*_ratio.ratioY);
- Node738.a('node.type', Node738type);
- Node738.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node738.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node738.a('node.gradientcolor', '');
- Node738.a('node.gradient', '');
- Node738.a('node.borderwidth', Node738BorderWidth);
- Node738.a('node.color', 'rgba(224,224,224,1)');
- Node738.a('node.fillrect', [0,0,0,0]);
- Node738.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node738.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node738.a('node.fillgradient', '');
- if (Node738type !== 'rect') {
- Node738.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node738.a('node.arcTo', parseFloat('@arcTo@'));
- Node738.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node738type === 'arc') {
- Node738.a('node.arcOval', true);
- }
- Node738.setRotation(0*Math.PI/180);
- Node738.borderWidth = Node738BorderWidth;
- Node738.borderFillwidth = Node738BorderWidth;
- dataModel.add(Node738);
- Node738._nodename = 'Node738'
- Node738._nodeType = 'rect';
- zoomNodeList.push({
- node: Node738,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node738, Node738.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node739type = 'rect';
- var Node739 = new ht.Node(),
- Node739BorderWidth = 1*2;
- if (Node739type === 'arc') {
- Node739BorderWidth *= 1;
- }
- Node739.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node739type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node739.setPosition(433*ratio.ratioX, 125*ratio.ratioY);
- Node739.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node739.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node739.a('node.width', 65*_ratio.ratioX);
- Node739.a('node.height', 24.33136*_ratio.ratioY);
- Node739.a('node.type', Node739type);
- Node739.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node739.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node739.a('node.gradientcolor', '');
- Node739.a('node.gradient', '');
- Node739.a('node.borderwidth', Node739BorderWidth);
- Node739.a('node.color', 'rgba(224,224,224,1)');
- Node739.a('node.fillrect', [0,0,0,0]);
- Node739.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node739.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node739.a('node.fillgradient', '');
- if (Node739type !== 'rect') {
- Node739.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node739.a('node.arcTo', parseFloat('@arcTo@'));
- Node739.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node739type === 'arc') {
- Node739.a('node.arcOval', true);
- }
- Node739.setRotation(0*Math.PI/180);
- Node739.borderWidth = Node739BorderWidth;
- Node739.borderFillwidth = Node739BorderWidth;
- dataModel.add(Node739);
- Node739._nodename = 'Node739'
- Node739._nodeType = 'rect';
- zoomNodeList.push({
- node: Node739,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node739, Node739.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node740type = 'rect';
- var Node740 = new ht.Node(),
- Node740BorderWidth = 1*2;
- if (Node740type === 'arc') {
- Node740BorderWidth *= 1;
- }
- Node740.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node740type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node740.setPosition(433*ratio.ratioX, 149*ratio.ratioY);
- Node740.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node740.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node740.a('node.width', 65*_ratio.ratioX);
- Node740.a('node.height', 24.33138*_ratio.ratioY);
- Node740.a('node.type', Node740type);
- Node740.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node740.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node740.a('node.gradientcolor', '');
- Node740.a('node.gradient', '');
- Node740.a('node.borderwidth', Node740BorderWidth);
- Node740.a('node.color', 'rgba(224,224,224,1)');
- Node740.a('node.fillrect', [0,0,0,0]);
- Node740.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node740.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node740.a('node.fillgradient', '');
- if (Node740type !== 'rect') {
- Node740.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node740.a('node.arcTo', parseFloat('@arcTo@'));
- Node740.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node740type === 'arc') {
- Node740.a('node.arcOval', true);
- }
- Node740.setRotation(0*Math.PI/180);
- Node740.borderWidth = Node740BorderWidth;
- Node740.borderFillwidth = Node740BorderWidth;
- dataModel.add(Node740);
- Node740._nodename = 'Node740'
- Node740._nodeType = 'rect';
- zoomNodeList.push({
- node: Node740,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node740, Node740.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node741 = new ht.Node();
- var Node741textStart, Node741textWidth, Node741lineStart, Node741align = 'center', Node741fontSize = 13.3333*_ratio.ratioY,Node741width = 59*_ratio.ratioX, Node741height = 26*_ratio.ratioY;
- (function () {
- if (Node741align === 'left') {
- Node741textStart = Node741fontSize * 0.2 > 2 ? Node741fontSize * 0.2 - 4 : Node741fontSize * 0.2 - 9;
- Node741textWidth = Node741width;
- Node741lineStart = 1;
- } else if (Node741align === 'right') {
- Node741textStart = 0;
- Node741textWidth =Node741fontSize <= 8 ? Node741width + Node741fontSize * 0.2 + 6 : Node741width - Node741fontSize * 0.2;
- Node741lineStart = (Node741width - (ht.Default.getTextSize('万kW', ' '+ Node741fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node741align === 'center') {
- Node741textStart = -3;
- Node741textWidth = Node741width;
- Node741lineStart = Node741width - ht.Default.getTextSize('万kW', ' '+ Node741fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node741.setImage(GD.getTextJSON(Node741width, Node741height, true, false, false, ' '+ Node741fontSize + 'px "Arial"'))
- Node741.setPosition(434*ratio.ratioX, 54*ratio.ratioY);
- Node741.setWidth(Node741width);
- Node741.setHeight(Node741height);
- Node741._nodeType = 'text';
- Node741._disallowEvert = true;
- Node741.setRotation(0*Math.PI/180);
- Node741.a('node.width', Node741width);
- Node741.a('node.height', Node741height);
- Node741.a('node.rect', [0, 0, Node741width, Node741height]);
- Node741.a('node.bordercolor','rgba(128,128,128,1)');
- Node741.a('node.borderwidth', 0);
- Node741.a('node.background','' || 'rgba(0,0,0,0)');
- Node741.a('node.gradient','');
- Node741.a('node.gradientcolor','');
- Node741.a('node.text','万kW');
- Node741.a('node.textalign','center');
- Node741.a('node.textvAlign','middle');
- Node741.a('node.textrect', [Node741textStart, 0, Node741textWidth, Node741height]);
- Node741.a('node.color','rgba(128,128,128,1)');
- Node741.a('node.font',' '+ Node741fontSize + 'px "Arial"');
- Node741.a('node.textvisible',true);
- Node741.a('node.linefeed',false);
- if (false) {
- Node741.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node741.a('node.text') || '万kW';
- var color=Node741.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node741width,Node741height,13.3333*_ratio.ratioY,"center",color,' '+ Node741fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node741.a('node.underlinepoints',[Node741lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node741fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node741fontSize + 'px "Arial"').width + 6, (Node741height - Node741fontSize) * 0.5*_ratio.ratioY + Node741fontSize + 2 ]);
- Node741.a('node.underlinevisible',false);
- Node741.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node741);
- zoomNodeList.push({
- node: Node741,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node742 = new ht.Node();
- var Node742textStart, Node742textWidth, Node742lineStart, Node742align = 'center', Node742fontSize = 13.3333*_ratio.ratioY,Node742width = 59*_ratio.ratioX, Node742height = 26*_ratio.ratioY;
- (function () {
- if (Node742align === 'left') {
- Node742textStart = Node742fontSize * 0.2 > 2 ? Node742fontSize * 0.2 - 4 : Node742fontSize * 0.2 - 9;
- Node742textWidth = Node742width;
- Node742lineStart = 1;
- } else if (Node742align === 'right') {
- Node742textStart = 0;
- Node742textWidth =Node742fontSize <= 8 ? Node742width + Node742fontSize * 0.2 + 6 : Node742width - Node742fontSize * 0.2;
- Node742lineStart = (Node742width - (ht.Default.getTextSize('MW', ' '+ Node742fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node742align === 'center') {
- Node742textStart = -3;
- Node742textWidth = Node742width;
- Node742lineStart = Node742width - ht.Default.getTextSize('MW', ' '+ Node742fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node742.setImage(GD.getTextJSON(Node742width, Node742height, true, false, false, ' '+ Node742fontSize + 'px "Arial"'))
- Node742.setPosition(434*ratio.ratioX, 78*ratio.ratioY);
- Node742.setWidth(Node742width);
- Node742.setHeight(Node742height);
- Node742._nodeType = 'text';
- Node742._disallowEvert = true;
- Node742.setRotation(0*Math.PI/180);
- Node742.a('node.width', Node742width);
- Node742.a('node.height', Node742height);
- Node742.a('node.rect', [0, 0, Node742width, Node742height]);
- Node742.a('node.bordercolor','rgba(128,128,128,1)');
- Node742.a('node.borderwidth', 0);
- Node742.a('node.background','' || 'rgba(0,0,0,0)');
- Node742.a('node.gradient','');
- Node742.a('node.gradientcolor','');
- Node742.a('node.text','MW');
- Node742.a('node.textalign','center');
- Node742.a('node.textvAlign','middle');
- Node742.a('node.textrect', [Node742textStart, 0, Node742textWidth, Node742height]);
- Node742.a('node.color','rgba(128,128,128,1)');
- Node742.a('node.font',' '+ Node742fontSize + 'px "Arial"');
- Node742.a('node.textvisible',true);
- Node742.a('node.linefeed',false);
- if (false) {
- Node742.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node742.a('node.text') || 'MW';
- var color=Node742.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node742width,Node742height,13.3333*_ratio.ratioY,"center",color,' '+ Node742fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node742.a('node.underlinepoints',[Node742lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node742fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node742fontSize + 'px "Arial"').width + 6, (Node742height - Node742fontSize) * 0.5*_ratio.ratioY + Node742fontSize + 2 ]);
- Node742.a('node.underlinevisible',false);
- Node742.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node742);
- zoomNodeList.push({
- node: Node742,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node743 = new ht.Node();
- var Node743textStart, Node743textWidth, Node743lineStart, Node743align = 'center', Node743fontSize = 13.3333*_ratio.ratioY,Node743width = 59*_ratio.ratioX, Node743height = 26*_ratio.ratioY;
- (function () {
- if (Node743align === 'left') {
- Node743textStart = Node743fontSize * 0.2 > 2 ? Node743fontSize * 0.2 - 4 : Node743fontSize * 0.2 - 9;
- Node743textWidth = Node743width;
- Node743lineStart = 1;
- } else if (Node743align === 'right') {
- Node743textStart = 0;
- Node743textWidth =Node743fontSize <= 8 ? Node743width + Node743fontSize * 0.2 + 6 : Node743width - Node743fontSize * 0.2;
- Node743lineStart = (Node743width - (ht.Default.getTextSize('m/s', ' '+ Node743fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node743align === 'center') {
- Node743textStart = -3;
- Node743textWidth = Node743width;
- Node743lineStart = Node743width - ht.Default.getTextSize('m/s', ' '+ Node743fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node743.setImage(GD.getTextJSON(Node743width, Node743height, true, false, false, ' '+ Node743fontSize + 'px "Arial"'))
- Node743.setPosition(434*ratio.ratioX, 101*ratio.ratioY);
- Node743.setWidth(Node743width);
- Node743.setHeight(Node743height);
- Node743._nodeType = 'text';
- Node743._disallowEvert = true;
- Node743.setRotation(0*Math.PI/180);
- Node743.a('node.width', Node743width);
- Node743.a('node.height', Node743height);
- Node743.a('node.rect', [0, 0, Node743width, Node743height]);
- Node743.a('node.bordercolor','rgba(128,128,128,1)');
- Node743.a('node.borderwidth', 0);
- Node743.a('node.background','' || 'rgba(0,0,0,0)');
- Node743.a('node.gradient','');
- Node743.a('node.gradientcolor','');
- Node743.a('node.text','m/s');
- Node743.a('node.textalign','center');
- Node743.a('node.textvAlign','middle');
- Node743.a('node.textrect', [Node743textStart, 0, Node743textWidth, Node743height]);
- Node743.a('node.color','rgba(128,128,128,1)');
- Node743.a('node.font',' '+ Node743fontSize + 'px "Arial"');
- Node743.a('node.textvisible',true);
- Node743.a('node.linefeed',false);
- if (false) {
- Node743.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node743.a('node.text') || 'm/s';
- var color=Node743.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node743width,Node743height,13.3333*_ratio.ratioY,"center",color,' '+ Node743fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node743.a('node.underlinepoints',[Node743lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node743fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ Node743fontSize + 'px "Arial"').width + 6, (Node743height - Node743fontSize) * 0.5*_ratio.ratioY + Node743fontSize + 2 ]);
- Node743.a('node.underlinevisible',false);
- Node743.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node743);
- zoomNodeList.push({
- node: Node743,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node744 = new ht.Node();
- var Node744textStart, Node744textWidth, Node744lineStart, Node744align = 'center', Node744fontSize = 13.3333*_ratio.ratioY,Node744width = 59*_ratio.ratioX, Node744height = 26*_ratio.ratioY;
- (function () {
- if (Node744align === 'left') {
- Node744textStart = Node744fontSize * 0.2 > 2 ? Node744fontSize * 0.2 - 4 : Node744fontSize * 0.2 - 9;
- Node744textWidth = Node744width;
- Node744lineStart = 1;
- } else if (Node744align === 'right') {
- Node744textStart = 0;
- Node744textWidth =Node744fontSize <= 8 ? Node744width + Node744fontSize * 0.2 + 6 : Node744width - Node744fontSize * 0.2;
- Node744lineStart = (Node744width - (ht.Default.getTextSize('万kWh', ' '+ Node744fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node744align === 'center') {
- Node744textStart = -3;
- Node744textWidth = Node744width;
- Node744lineStart = Node744width - ht.Default.getTextSize('万kWh', ' '+ Node744fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node744.setImage(GD.getTextJSON(Node744width, Node744height, true, false, false, ' '+ Node744fontSize + 'px "Arial"'))
- Node744.setPosition(434*ratio.ratioX, 127*ratio.ratioY);
- Node744.setWidth(Node744width);
- Node744.setHeight(Node744height);
- Node744._nodeType = 'text';
- Node744._disallowEvert = true;
- Node744.setRotation(0*Math.PI/180);
- Node744.a('node.width', Node744width);
- Node744.a('node.height', Node744height);
- Node744.a('node.rect', [0, 0, Node744width, Node744height]);
- Node744.a('node.bordercolor','rgba(128,128,128,1)');
- Node744.a('node.borderwidth', 0);
- Node744.a('node.background','' || 'rgba(0,0,0,0)');
- Node744.a('node.gradient','');
- Node744.a('node.gradientcolor','');
- Node744.a('node.text','万kWh');
- Node744.a('node.textalign','center');
- Node744.a('node.textvAlign','middle');
- Node744.a('node.textrect', [Node744textStart, 0, Node744textWidth, Node744height]);
- Node744.a('node.color','rgba(128,128,128,1)');
- Node744.a('node.font',' '+ Node744fontSize + 'px "Arial"');
- Node744.a('node.textvisible',true);
- Node744.a('node.linefeed',false);
- if (false) {
- Node744.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node744.a('node.text') || '万kWh';
- var color=Node744.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node744width,Node744height,13.3333*_ratio.ratioY,"center",color,' '+ Node744fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node744.a('node.underlinepoints',[Node744lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node744fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node744fontSize + 'px "Arial"').width + 6, (Node744height - Node744fontSize) * 0.5*_ratio.ratioY + Node744fontSize + 2 ]);
- Node744.a('node.underlinevisible',false);
- Node744.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node744);
- zoomNodeList.push({
- node: Node744,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node745type = 'rect';
- var Node745 = new ht.Node(),
- Node745BorderWidth = 1*2;
- if (Node745type === 'arc') {
- Node745BorderWidth *= 1;
- }
- Node745.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node745type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node745.setPosition(638*ratio.ratioX, 52*ratio.ratioY);
- Node745.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node745.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node745.a('node.width', 94*_ratio.ratioX);
- Node745.a('node.height', 24.33136*_ratio.ratioY);
- Node745.a('node.type', Node745type);
- Node745.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node745.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node745.a('node.gradientcolor', '');
- Node745.a('node.gradient', '');
- Node745.a('node.borderwidth', Node745BorderWidth);
- Node745.a('node.color', 'rgba(224,224,224,1)');
- Node745.a('node.fillrect', [0,0,0,0]);
- Node745.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node745.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node745.a('node.fillgradient', '');
- if (Node745type !== 'rect') {
- Node745.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node745.a('node.arcTo', parseFloat('@arcTo@'));
- Node745.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node745type === 'arc') {
- Node745.a('node.arcOval', true);
- }
- Node745.setRotation(0*Math.PI/180);
- Node745.borderWidth = Node745BorderWidth;
- Node745.borderFillwidth = Node745BorderWidth;
- dataModel.add(Node745);
- Node745._nodename = 'Node745'
- Node745._nodeType = 'rect';
- zoomNodeList.push({
- node: Node745,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node745, Node745.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node746type = 'rect';
- var Node746 = new ht.Node(),
- Node746BorderWidth = 1*2;
- if (Node746type === 'arc') {
- Node746BorderWidth *= 1;
- }
- Node746.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node746type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node746.setPosition(638*ratio.ratioX, 76*ratio.ratioY);
- Node746.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node746.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node746.a('node.width', 94*_ratio.ratioX);
- Node746.a('node.height', 24.33138*_ratio.ratioY);
- Node746.a('node.type', Node746type);
- Node746.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node746.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node746.a('node.gradientcolor', '');
- Node746.a('node.gradient', '');
- Node746.a('node.borderwidth', Node746BorderWidth);
- Node746.a('node.color', 'rgba(224,224,224,1)');
- Node746.a('node.fillrect', [0,0,0,0]);
- Node746.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node746.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node746.a('node.fillgradient', '');
- if (Node746type !== 'rect') {
- Node746.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node746.a('node.arcTo', parseFloat('@arcTo@'));
- Node746.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node746type === 'arc') {
- Node746.a('node.arcOval', true);
- }
- Node746.setRotation(0*Math.PI/180);
- Node746.borderWidth = Node746BorderWidth;
- Node746.borderFillwidth = Node746BorderWidth;
- dataModel.add(Node746);
- Node746._nodename = 'Node746'
- Node746._nodeType = 'rect';
- zoomNodeList.push({
- node: Node746,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node746, Node746.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node747type = 'rect';
- var Node747 = new ht.Node(),
- Node747BorderWidth = 1*2;
- if (Node747type === 'arc') {
- Node747BorderWidth *= 1;
- }
- Node747.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node747type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node747.setPosition(638*ratio.ratioX, 100*ratio.ratioY);
- Node747.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node747.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node747.a('node.width', 94*_ratio.ratioX);
- Node747.a('node.height', 24.33138*_ratio.ratioY);
- Node747.a('node.type', Node747type);
- Node747.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node747.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node747.a('node.gradientcolor', '');
- Node747.a('node.gradient', '');
- Node747.a('node.borderwidth', Node747BorderWidth);
- Node747.a('node.color', 'rgba(224,224,224,1)');
- Node747.a('node.fillrect', [0,0,0,0]);
- Node747.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node747.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node747.a('node.fillgradient', '');
- if (Node747type !== 'rect') {
- Node747.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node747.a('node.arcTo', parseFloat('@arcTo@'));
- Node747.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node747type === 'arc') {
- Node747.a('node.arcOval', true);
- }
- Node747.setRotation(0*Math.PI/180);
- Node747.borderWidth = Node747BorderWidth;
- Node747.borderFillwidth = Node747BorderWidth;
- dataModel.add(Node747);
- Node747._nodename = 'Node747'
- Node747._nodeType = 'rect';
- zoomNodeList.push({
- node: Node747,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node747, Node747.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node748type = 'rect';
- var Node748 = new ht.Node(),
- Node748BorderWidth = 1*2;
- if (Node748type === 'arc') {
- Node748BorderWidth *= 1;
- }
- Node748.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node748type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node748.setPosition(638*ratio.ratioX, 125*ratio.ratioY);
- Node748.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node748.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node748.a('node.width', 94*_ratio.ratioX);
- Node748.a('node.height', 24.33136*_ratio.ratioY);
- Node748.a('node.type', Node748type);
- Node748.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node748.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node748.a('node.gradientcolor', '');
- Node748.a('node.gradient', '');
- Node748.a('node.borderwidth', Node748BorderWidth);
- Node748.a('node.color', 'rgba(224,224,224,1)');
- Node748.a('node.fillrect', [0,0,0,0]);
- Node748.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node748.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node748.a('node.fillgradient', '');
- if (Node748type !== 'rect') {
- Node748.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node748.a('node.arcTo', parseFloat('@arcTo@'));
- Node748.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node748type === 'arc') {
- Node748.a('node.arcOval', true);
- }
- Node748.setRotation(0*Math.PI/180);
- Node748.borderWidth = Node748BorderWidth;
- Node748.borderFillwidth = Node748BorderWidth;
- dataModel.add(Node748);
- Node748._nodename = 'Node748'
- Node748._nodeType = 'rect';
- zoomNodeList.push({
- node: Node748,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node748, Node748.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node749type = 'rect';
- var Node749 = new ht.Node(),
- Node749BorderWidth = 1*2;
- if (Node749type === 'arc') {
- Node749BorderWidth *= 1;
- }
- Node749.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node749type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node749.setPosition(638*ratio.ratioX, 149*ratio.ratioY);
- Node749.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node749.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node749.a('node.width', 94*_ratio.ratioX);
- Node749.a('node.height', 24.33138*_ratio.ratioY);
- Node749.a('node.type', Node749type);
- Node749.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node749.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node749.a('node.gradientcolor', '');
- Node749.a('node.gradient', '');
- Node749.a('node.borderwidth', Node749BorderWidth);
- Node749.a('node.color', 'rgba(224,224,224,1)');
- Node749.a('node.fillrect', [0,0,0,0]);
- Node749.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node749.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node749.a('node.fillgradient', '');
- if (Node749type !== 'rect') {
- Node749.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node749.a('node.arcTo', parseFloat('@arcTo@'));
- Node749.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node749type === 'arc') {
- Node749.a('node.arcOval', true);
- }
- Node749.setRotation(0*Math.PI/180);
- Node749.borderWidth = Node749BorderWidth;
- Node749.borderFillwidth = Node749BorderWidth;
- dataModel.add(Node749);
- Node749._nodename = 'Node749'
- Node749._nodeType = 'rect';
- zoomNodeList.push({
- node: Node749,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node749, Node749.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node750 = new ht.Node();
- var Node750textStart, Node750textWidth, Node750lineStart, Node750align = 'center', Node750fontSize = 13.3333*_ratio.ratioY,Node750width = 58*_ratio.ratioX, Node750height = 26*_ratio.ratioY;
- (function () {
- if (Node750align === 'left') {
- Node750textStart = Node750fontSize * 0.2 > 2 ? Node750fontSize * 0.2 - 4 : Node750fontSize * 0.2 - 9;
- Node750textWidth = Node750width;
- Node750lineStart = 1;
- } else if (Node750align === 'right') {
- Node750textStart = 0;
- Node750textWidth =Node750fontSize <= 8 ? Node750width + Node750fontSize * 0.2 + 6 : Node750width - Node750fontSize * 0.2;
- Node750lineStart = (Node750width - (ht.Default.getTextSize('0', ' '+ Node750fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node750align === 'center') {
- Node750textStart = -3;
- Node750textWidth = Node750width;
- Node750lineStart = Node750width - ht.Default.getTextSize('0', ' '+ Node750fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node750.setImage(GD.getTextJSON(Node750width, Node750height, true, false, false, ' '+ Node750fontSize + 'px "Arial"'))
- Node750.setPosition(638*ratio.ratioX, 54*ratio.ratioY);
- Node750.setWidth(Node750width);
- Node750.setHeight(Node750height);
- Node750._nodeType = 'text';
- Node750._disallowEvert = true;
- Node750.setRotation(0*Math.PI/180);
- Node750.a('node.width', Node750width);
- Node750.a('node.height', Node750height);
- Node750.a('node.rect', [0, 0, Node750width, Node750height]);
- Node750.a('node.bordercolor','rgba(0,0,0,1)');
- Node750.a('node.borderwidth', 0);
- Node750.a('node.background','' || 'rgba(0,0,0,0)');
- Node750.a('node.gradient','');
- Node750.a('node.gradientcolor','');
- Node750.a('node.text','0');
- Node750.a('node.textalign','center');
- Node750.a('node.textvAlign','middle');
- Node750.a('node.textrect', [Node750textStart, 0, Node750textWidth, Node750height]);
- Node750.a('node.color','rgba(0,0,0,1)');
- Node750.a('node.font',' '+ Node750fontSize + 'px "Arial"');
- Node750.a('node.textvisible',true);
- Node750.a('node.linefeed',false);
- if (false) {
- Node750.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node750.a('node.text') || '0';
- var color=Node750.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node750width,Node750height,13.3333*_ratio.ratioY,"center",color,' '+ Node750fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node750.a('node.underlinepoints',[Node750lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node750fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node750fontSize + 'px "Arial"').width + 6, (Node750height - Node750fontSize) * 0.5*_ratio.ratioY + Node750fontSize + 2 ]);
- Node750.a('node.underlinevisible',false);
- Node750.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node750);
- zoomNodeList.push({
- node: Node750,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node751 = new ht.Node();
- var Node751textStart, Node751textWidth, Node751lineStart, Node751align = 'center', Node751fontSize = 13.3333*_ratio.ratioY,Node751width = 58*_ratio.ratioX, Node751height = 26*_ratio.ratioY;
- (function () {
- if (Node751align === 'left') {
- Node751textStart = Node751fontSize * 0.2 > 2 ? Node751fontSize * 0.2 - 4 : Node751fontSize * 0.2 - 9;
- Node751textWidth = Node751width;
- Node751lineStart = 1;
- } else if (Node751align === 'right') {
- Node751textStart = 0;
- Node751textWidth =Node751fontSize <= 8 ? Node751width + Node751fontSize * 0.2 + 6 : Node751width - Node751fontSize * 0.2;
- Node751lineStart = (Node751width - (ht.Default.getTextSize('0', ' '+ Node751fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node751align === 'center') {
- Node751textStart = -3;
- Node751textWidth = Node751width;
- Node751lineStart = Node751width - ht.Default.getTextSize('0', ' '+ Node751fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node751.setImage(GD.getTextJSON(Node751width, Node751height, true, false, false, ' '+ Node751fontSize + 'px "Arial"'))
- Node751.setPosition(638*ratio.ratioX, 78*ratio.ratioY);
- Node751.setWidth(Node751width);
- Node751.setHeight(Node751height);
- Node751._nodeType = 'text';
- Node751._disallowEvert = true;
- Node751.setRotation(0*Math.PI/180);
- Node751.a('node.width', Node751width);
- Node751.a('node.height', Node751height);
- Node751.a('node.rect', [0, 0, Node751width, Node751height]);
- Node751.a('node.bordercolor','rgba(0,0,0,1)');
- Node751.a('node.borderwidth', 0);
- Node751.a('node.background','' || 'rgba(0,0,0,0)');
- Node751.a('node.gradient','');
- Node751.a('node.gradientcolor','');
- Node751.a('node.text','0');
- Node751.a('node.textalign','center');
- Node751.a('node.textvAlign','middle');
- Node751.a('node.textrect', [Node751textStart, 0, Node751textWidth, Node751height]);
- Node751.a('node.color','rgba(0,0,0,1)');
- Node751.a('node.font',' '+ Node751fontSize + 'px "Arial"');
- Node751.a('node.textvisible',true);
- Node751.a('node.linefeed',false);
- if (false) {
- Node751.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node751.a('node.text') || '0';
- var color=Node751.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node751width,Node751height,13.3333*_ratio.ratioY,"center",color,' '+ Node751fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node751.a('node.underlinepoints',[Node751lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node751fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node751fontSize + 'px "Arial"').width + 6, (Node751height - Node751fontSize) * 0.5*_ratio.ratioY + Node751fontSize + 2 ]);
- Node751.a('node.underlinevisible',false);
- Node751.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node751);
- zoomNodeList.push({
- node: Node751,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node752 = new ht.Node();
- var Node752textStart, Node752textWidth, Node752lineStart, Node752align = 'center', Node752fontSize = 13.3333*_ratio.ratioY,Node752width = 58*_ratio.ratioX, Node752height = 26*_ratio.ratioY;
- (function () {
- if (Node752align === 'left') {
- Node752textStart = Node752fontSize * 0.2 > 2 ? Node752fontSize * 0.2 - 4 : Node752fontSize * 0.2 - 9;
- Node752textWidth = Node752width;
- Node752lineStart = 1;
- } else if (Node752align === 'right') {
- Node752textStart = 0;
- Node752textWidth =Node752fontSize <= 8 ? Node752width + Node752fontSize * 0.2 + 6 : Node752width - Node752fontSize * 0.2;
- Node752lineStart = (Node752width - (ht.Default.getTextSize('0', ' '+ Node752fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node752align === 'center') {
- Node752textStart = -3;
- Node752textWidth = Node752width;
- Node752lineStart = Node752width - ht.Default.getTextSize('0', ' '+ Node752fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node752.setImage(GD.getTextJSON(Node752width, Node752height, true, false, false, ' '+ Node752fontSize + 'px "Arial"'))
- Node752.setPosition(638*ratio.ratioX, 103*ratio.ratioY);
- Node752.setWidth(Node752width);
- Node752.setHeight(Node752height);
- Node752._nodeType = 'text';
- Node752._disallowEvert = true;
- Node752.setRotation(0*Math.PI/180);
- Node752.a('node.width', Node752width);
- Node752.a('node.height', Node752height);
- Node752.a('node.rect', [0, 0, Node752width, Node752height]);
- Node752.a('node.bordercolor','rgba(0,0,0,1)');
- Node752.a('node.borderwidth', 0);
- Node752.a('node.background','' || 'rgba(0,0,0,0)');
- Node752.a('node.gradient','');
- Node752.a('node.gradientcolor','');
- Node752.a('node.text','0');
- Node752.a('node.textalign','center');
- Node752.a('node.textvAlign','middle');
- Node752.a('node.textrect', [Node752textStart, 0, Node752textWidth, Node752height]);
- Node752.a('node.color','rgba(0,0,0,1)');
- Node752.a('node.font',' '+ Node752fontSize + 'px "Arial"');
- Node752.a('node.textvisible',true);
- Node752.a('node.linefeed',false);
- if (false) {
- Node752.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node752.a('node.text') || '0';
- var color=Node752.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node752width,Node752height,13.3333*_ratio.ratioY,"center",color,' '+ Node752fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node752.a('node.underlinepoints',[Node752lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node752fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node752fontSize + 'px "Arial"').width + 6, (Node752height - Node752fontSize) * 0.5*_ratio.ratioY + Node752fontSize + 2 ]);
- Node752.a('node.underlinevisible',false);
- Node752.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node752);
- zoomNodeList.push({
- node: Node752,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node753 = new ht.Node();
- var Node753textStart, Node753textWidth, Node753lineStart, Node753align = 'center', Node753fontSize = 13.3333*_ratio.ratioY,Node753width = 58*_ratio.ratioX, Node753height = 26*_ratio.ratioY;
- (function () {
- if (Node753align === 'left') {
- Node753textStart = Node753fontSize * 0.2 > 2 ? Node753fontSize * 0.2 - 4 : Node753fontSize * 0.2 - 9;
- Node753textWidth = Node753width;
- Node753lineStart = 1;
- } else if (Node753align === 'right') {
- Node753textStart = 0;
- Node753textWidth =Node753fontSize <= 8 ? Node753width + Node753fontSize * 0.2 + 6 : Node753width - Node753fontSize * 0.2;
- Node753lineStart = (Node753width - (ht.Default.getTextSize('0', ' '+ Node753fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node753align === 'center') {
- Node753textStart = -3;
- Node753textWidth = Node753width;
- Node753lineStart = Node753width - ht.Default.getTextSize('0', ' '+ Node753fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node753.setImage(GD.getTextJSON(Node753width, Node753height, true, false, false, ' '+ Node753fontSize + 'px "Arial"'))
- Node753.setPosition(638*ratio.ratioX, 126*ratio.ratioY);
- Node753.setWidth(Node753width);
- Node753.setHeight(Node753height);
- Node753._nodeType = 'text';
- Node753._disallowEvert = true;
- Node753.setRotation(0*Math.PI/180);
- Node753.a('node.width', Node753width);
- Node753.a('node.height', Node753height);
- Node753.a('node.rect', [0, 0, Node753width, Node753height]);
- Node753.a('node.bordercolor','rgba(0,0,0,1)');
- Node753.a('node.borderwidth', 0);
- Node753.a('node.background','' || 'rgba(0,0,0,0)');
- Node753.a('node.gradient','');
- Node753.a('node.gradientcolor','');
- Node753.a('node.text','0');
- Node753.a('node.textalign','center');
- Node753.a('node.textvAlign','middle');
- Node753.a('node.textrect', [Node753textStart, 0, Node753textWidth, Node753height]);
- Node753.a('node.color','rgba(0,0,0,1)');
- Node753.a('node.font',' '+ Node753fontSize + 'px "Arial"');
- Node753.a('node.textvisible',true);
- Node753.a('node.linefeed',false);
- if (false) {
- Node753.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node753.a('node.text') || '0';
- var color=Node753.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node753width,Node753height,13.3333*_ratio.ratioY,"center",color,' '+ Node753fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node753.a('node.underlinepoints',[Node753lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node753fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node753fontSize + 'px "Arial"').width + 6, (Node753height - Node753fontSize) * 0.5*_ratio.ratioY + Node753fontSize + 2 ]);
- Node753.a('node.underlinevisible',false);
- Node753.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node753);
- zoomNodeList.push({
- node: Node753,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node754type = 'rect';
- var Node754 = new ht.Node(),
- Node754BorderWidth = 1*2;
- if (Node754type === 'arc') {
- Node754BorderWidth *= 1;
- }
- Node754.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node754type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node754.setPosition(717*ratio.ratioX, 52*ratio.ratioY);
- Node754.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node754.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node754.a('node.width', 65*_ratio.ratioX);
- Node754.a('node.height', 24.33136*_ratio.ratioY);
- Node754.a('node.type', Node754type);
- Node754.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node754.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node754.a('node.gradientcolor', '');
- Node754.a('node.gradient', '');
- Node754.a('node.borderwidth', Node754BorderWidth);
- Node754.a('node.color', 'rgba(224,224,224,1)');
- Node754.a('node.fillrect', [0,0,0,0]);
- Node754.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node754.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node754.a('node.fillgradient', '');
- if (Node754type !== 'rect') {
- Node754.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node754.a('node.arcTo', parseFloat('@arcTo@'));
- Node754.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node754type === 'arc') {
- Node754.a('node.arcOval', true);
- }
- Node754.setRotation(0*Math.PI/180);
- Node754.borderWidth = Node754BorderWidth;
- Node754.borderFillwidth = Node754BorderWidth;
- dataModel.add(Node754);
- Node754._nodename = 'Node754'
- Node754._nodeType = 'rect';
- zoomNodeList.push({
- node: Node754,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node754, Node754.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node755type = 'rect';
- var Node755 = new ht.Node(),
- Node755BorderWidth = 1*2;
- if (Node755type === 'arc') {
- Node755BorderWidth *= 1;
- }
- Node755.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node755type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node755.setPosition(717*ratio.ratioX, 76*ratio.ratioY);
- Node755.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node755.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node755.a('node.width', 65*_ratio.ratioX);
- Node755.a('node.height', 24.33138*_ratio.ratioY);
- Node755.a('node.type', Node755type);
- Node755.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node755.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node755.a('node.gradientcolor', '');
- Node755.a('node.gradient', '');
- Node755.a('node.borderwidth', Node755BorderWidth);
- Node755.a('node.color', 'rgba(224,224,224,1)');
- Node755.a('node.fillrect', [0,0,0,0]);
- Node755.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node755.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node755.a('node.fillgradient', '');
- if (Node755type !== 'rect') {
- Node755.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node755.a('node.arcTo', parseFloat('@arcTo@'));
- Node755.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node755type === 'arc') {
- Node755.a('node.arcOval', true);
- }
- Node755.setRotation(0*Math.PI/180);
- Node755.borderWidth = Node755BorderWidth;
- Node755.borderFillwidth = Node755BorderWidth;
- dataModel.add(Node755);
- Node755._nodename = 'Node755'
- Node755._nodeType = 'rect';
- zoomNodeList.push({
- node: Node755,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node755, Node755.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node756type = 'rect';
- var Node756 = new ht.Node(),
- Node756BorderWidth = 1*2;
- if (Node756type === 'arc') {
- Node756BorderWidth *= 1;
- }
- Node756.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node756type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node756.setPosition(717*ratio.ratioX, 100*ratio.ratioY);
- Node756.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node756.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node756.a('node.width', 65*_ratio.ratioX);
- Node756.a('node.height', 24.33138*_ratio.ratioY);
- Node756.a('node.type', Node756type);
- Node756.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node756.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node756.a('node.gradientcolor', '');
- Node756.a('node.gradient', '');
- Node756.a('node.borderwidth', Node756BorderWidth);
- Node756.a('node.color', 'rgba(224,224,224,1)');
- Node756.a('node.fillrect', [0,0,0,0]);
- Node756.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node756.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node756.a('node.fillgradient', '');
- if (Node756type !== 'rect') {
- Node756.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node756.a('node.arcTo', parseFloat('@arcTo@'));
- Node756.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node756type === 'arc') {
- Node756.a('node.arcOval', true);
- }
- Node756.setRotation(0*Math.PI/180);
- Node756.borderWidth = Node756BorderWidth;
- Node756.borderFillwidth = Node756BorderWidth;
- dataModel.add(Node756);
- Node756._nodename = 'Node756'
- Node756._nodeType = 'rect';
- zoomNodeList.push({
- node: Node756,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node756, Node756.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node757type = 'rect';
- var Node757 = new ht.Node(),
- Node757BorderWidth = 1*2;
- if (Node757type === 'arc') {
- Node757BorderWidth *= 1;
- }
- Node757.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node757type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node757.setPosition(717*ratio.ratioX, 125*ratio.ratioY);
- Node757.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node757.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node757.a('node.width', 65*_ratio.ratioX);
- Node757.a('node.height', 24.33136*_ratio.ratioY);
- Node757.a('node.type', Node757type);
- Node757.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node757.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node757.a('node.gradientcolor', '');
- Node757.a('node.gradient', '');
- Node757.a('node.borderwidth', Node757BorderWidth);
- Node757.a('node.color', 'rgba(224,224,224,1)');
- Node757.a('node.fillrect', [0,0,0,0]);
- Node757.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node757.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node757.a('node.fillgradient', '');
- if (Node757type !== 'rect') {
- Node757.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node757.a('node.arcTo', parseFloat('@arcTo@'));
- Node757.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node757type === 'arc') {
- Node757.a('node.arcOval', true);
- }
- Node757.setRotation(0*Math.PI/180);
- Node757.borderWidth = Node757BorderWidth;
- Node757.borderFillwidth = Node757BorderWidth;
- dataModel.add(Node757);
- Node757._nodename = 'Node757'
- Node757._nodeType = 'rect';
- zoomNodeList.push({
- node: Node757,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node757, Node757.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node758type = 'rect';
- var Node758 = new ht.Node(),
- Node758BorderWidth = 1*2;
- if (Node758type === 'arc') {
- Node758BorderWidth *= 1;
- }
- Node758.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node758type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node758.setPosition(717*ratio.ratioX, 149*ratio.ratioY);
- Node758.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node758.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node758.a('node.width', 65*_ratio.ratioX);
- Node758.a('node.height', 24.33138*_ratio.ratioY);
- Node758.a('node.type', Node758type);
- Node758.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node758.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node758.a('node.gradientcolor', '');
- Node758.a('node.gradient', '');
- Node758.a('node.borderwidth', Node758BorderWidth);
- Node758.a('node.color', 'rgba(224,224,224,1)');
- Node758.a('node.fillrect', [0,0,0,0]);
- Node758.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node758.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node758.a('node.fillgradient', '');
- if (Node758type !== 'rect') {
- Node758.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node758.a('node.arcTo', parseFloat('@arcTo@'));
- Node758.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node758type === 'arc') {
- Node758.a('node.arcOval', true);
- }
- Node758.setRotation(0*Math.PI/180);
- Node758.borderWidth = Node758BorderWidth;
- Node758.borderFillwidth = Node758BorderWidth;
- dataModel.add(Node758);
- Node758._nodename = 'Node758'
- Node758._nodeType = 'rect';
- zoomNodeList.push({
- node: Node758,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node758, Node758.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node759 = new ht.Node();
- var Node759textStart, Node759textWidth, Node759lineStart, Node759align = 'center', Node759fontSize = 13.3333*_ratio.ratioY,Node759width = 59*_ratio.ratioX, Node759height = 26*_ratio.ratioY;
- (function () {
- if (Node759align === 'left') {
- Node759textStart = Node759fontSize * 0.2 > 2 ? Node759fontSize * 0.2 - 4 : Node759fontSize * 0.2 - 9;
- Node759textWidth = Node759width;
- Node759lineStart = 1;
- } else if (Node759align === 'right') {
- Node759textStart = 0;
- Node759textWidth =Node759fontSize <= 8 ? Node759width + Node759fontSize * 0.2 + 6 : Node759width - Node759fontSize * 0.2;
- Node759lineStart = (Node759width - (ht.Default.getTextSize('万kWh', ' '+ Node759fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node759align === 'center') {
- Node759textStart = -3;
- Node759textWidth = Node759width;
- Node759lineStart = Node759width - ht.Default.getTextSize('万kWh', ' '+ Node759fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node759.setImage(GD.getTextJSON(Node759width, Node759height, true, false, false, ' '+ Node759fontSize + 'px "Arial"'))
- Node759.setPosition(718*ratio.ratioX, 54*ratio.ratioY);
- Node759.setWidth(Node759width);
- Node759.setHeight(Node759height);
- Node759._nodeType = 'text';
- Node759._disallowEvert = true;
- Node759.setRotation(0*Math.PI/180);
- Node759.a('node.width', Node759width);
- Node759.a('node.height', Node759height);
- Node759.a('node.rect', [0, 0, Node759width, Node759height]);
- Node759.a('node.bordercolor','rgba(128,128,128,1)');
- Node759.a('node.borderwidth', 0);
- Node759.a('node.background','' || 'rgba(0,0,0,0)');
- Node759.a('node.gradient','');
- Node759.a('node.gradientcolor','');
- Node759.a('node.text','万kWh');
- Node759.a('node.textalign','center');
- Node759.a('node.textvAlign','middle');
- Node759.a('node.textrect', [Node759textStart, 0, Node759textWidth, Node759height]);
- Node759.a('node.color','rgba(128,128,128,1)');
- Node759.a('node.font',' '+ Node759fontSize + 'px "Arial"');
- Node759.a('node.textvisible',true);
- Node759.a('node.linefeed',false);
- if (false) {
- Node759.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node759.a('node.text') || '万kWh';
- var color=Node759.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node759width,Node759height,13.3333*_ratio.ratioY,"center",color,' '+ Node759fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node759.a('node.underlinepoints',[Node759lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node759fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node759fontSize + 'px "Arial"').width + 6, (Node759height - Node759fontSize) * 0.5*_ratio.ratioY + Node759fontSize + 2 ]);
- Node759.a('node.underlinevisible',false);
- Node759.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node759);
- zoomNodeList.push({
- node: Node759,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node760 = new ht.Node();
- var Node760textStart, Node760textWidth, Node760lineStart, Node760align = 'center', Node760fontSize = 13.3333*_ratio.ratioY,Node760width = 59*_ratio.ratioX, Node760height = 26*_ratio.ratioY;
- (function () {
- if (Node760align === 'left') {
- Node760textStart = Node760fontSize * 0.2 > 2 ? Node760fontSize * 0.2 - 4 : Node760fontSize * 0.2 - 9;
- Node760textWidth = Node760width;
- Node760lineStart = 1;
- } else if (Node760align === 'right') {
- Node760textStart = 0;
- Node760textWidth =Node760fontSize <= 8 ? Node760width + Node760fontSize * 0.2 + 6 : Node760width - Node760fontSize * 0.2;
- Node760lineStart = (Node760width - (ht.Default.getTextSize('万kWh', ' '+ Node760fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node760align === 'center') {
- Node760textStart = -3;
- Node760textWidth = Node760width;
- Node760lineStart = Node760width - ht.Default.getTextSize('万kWh', ' '+ Node760fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node760.setImage(GD.getTextJSON(Node760width, Node760height, true, false, false, ' '+ Node760fontSize + 'px "Arial"'))
- Node760.setPosition(718*ratio.ratioX, 78*ratio.ratioY);
- Node760.setWidth(Node760width);
- Node760.setHeight(Node760height);
- Node760._nodeType = 'text';
- Node760._disallowEvert = true;
- Node760.setRotation(0*Math.PI/180);
- Node760.a('node.width', Node760width);
- Node760.a('node.height', Node760height);
- Node760.a('node.rect', [0, 0, Node760width, Node760height]);
- Node760.a('node.bordercolor','rgba(128,128,128,1)');
- Node760.a('node.borderwidth', 0);
- Node760.a('node.background','' || 'rgba(0,0,0,0)');
- Node760.a('node.gradient','');
- Node760.a('node.gradientcolor','');
- Node760.a('node.text','万kWh');
- Node760.a('node.textalign','center');
- Node760.a('node.textvAlign','middle');
- Node760.a('node.textrect', [Node760textStart, 0, Node760textWidth, Node760height]);
- Node760.a('node.color','rgba(128,128,128,1)');
- Node760.a('node.font',' '+ Node760fontSize + 'px "Arial"');
- Node760.a('node.textvisible',true);
- Node760.a('node.linefeed',false);
- if (false) {
- Node760.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node760.a('node.text') || '万kWh';
- var color=Node760.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node760width,Node760height,13.3333*_ratio.ratioY,"center",color,' '+ Node760fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node760.a('node.underlinepoints',[Node760lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node760fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node760fontSize + 'px "Arial"').width + 6, (Node760height - Node760fontSize) * 0.5*_ratio.ratioY + Node760fontSize + 2 ]);
- Node760.a('node.underlinevisible',false);
- Node760.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node760);
- zoomNodeList.push({
- node: Node760,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node761 = new ht.Node();
- var Node761textStart, Node761textWidth, Node761lineStart, Node761align = 'center', Node761fontSize = 13.3333*_ratio.ratioY,Node761width = 59*_ratio.ratioX, Node761height = 26*_ratio.ratioY;
- (function () {
- if (Node761align === 'left') {
- Node761textStart = Node761fontSize * 0.2 > 2 ? Node761fontSize * 0.2 - 4 : Node761fontSize * 0.2 - 9;
- Node761textWidth = Node761width;
- Node761lineStart = 1;
- } else if (Node761align === 'right') {
- Node761textStart = 0;
- Node761textWidth =Node761fontSize <= 8 ? Node761width + Node761fontSize * 0.2 + 6 : Node761width - Node761fontSize * 0.2;
- Node761lineStart = (Node761width - (ht.Default.getTextSize('万kWh', ' '+ Node761fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node761align === 'center') {
- Node761textStart = -3;
- Node761textWidth = Node761width;
- Node761lineStart = Node761width - ht.Default.getTextSize('万kWh', ' '+ Node761fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node761.setImage(GD.getTextJSON(Node761width, Node761height, true, false, false, ' '+ Node761fontSize + 'px "Arial"'))
- Node761.setPosition(718*ratio.ratioX, 101*ratio.ratioY);
- Node761.setWidth(Node761width);
- Node761.setHeight(Node761height);
- Node761._nodeType = 'text';
- Node761._disallowEvert = true;
- Node761.setRotation(0*Math.PI/180);
- Node761.a('node.width', Node761width);
- Node761.a('node.height', Node761height);
- Node761.a('node.rect', [0, 0, Node761width, Node761height]);
- Node761.a('node.bordercolor','rgba(128,128,128,1)');
- Node761.a('node.borderwidth', 0);
- Node761.a('node.background','' || 'rgba(0,0,0,0)');
- Node761.a('node.gradient','');
- Node761.a('node.gradientcolor','');
- Node761.a('node.text','万kWh');
- Node761.a('node.textalign','center');
- Node761.a('node.textvAlign','middle');
- Node761.a('node.textrect', [Node761textStart, 0, Node761textWidth, Node761height]);
- Node761.a('node.color','rgba(128,128,128,1)');
- Node761.a('node.font',' '+ Node761fontSize + 'px "Arial"');
- Node761.a('node.textvisible',true);
- Node761.a('node.linefeed',false);
- if (false) {
- Node761.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node761.a('node.text') || '万kWh';
- var color=Node761.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node761width,Node761height,13.3333*_ratio.ratioY,"center",color,' '+ Node761fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node761.a('node.underlinepoints',[Node761lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node761fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node761fontSize + 'px "Arial"').width + 6, (Node761height - Node761fontSize) * 0.5*_ratio.ratioY + Node761fontSize + 2 ]);
- Node761.a('node.underlinevisible',false);
- Node761.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node761);
- zoomNodeList.push({
- node: Node761,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node762 = new ht.Node();
- var Node762textStart, Node762textWidth, Node762lineStart, Node762align = 'center', Node762fontSize = 13.3333*_ratio.ratioY,Node762width = 59*_ratio.ratioX, Node762height = 26*_ratio.ratioY;
- (function () {
- if (Node762align === 'left') {
- Node762textStart = Node762fontSize * 0.2 > 2 ? Node762fontSize * 0.2 - 4 : Node762fontSize * 0.2 - 9;
- Node762textWidth = Node762width;
- Node762lineStart = 1;
- } else if (Node762align === 'right') {
- Node762textStart = 0;
- Node762textWidth =Node762fontSize <= 8 ? Node762width + Node762fontSize * 0.2 + 6 : Node762width - Node762fontSize * 0.2;
- Node762lineStart = (Node762width - (ht.Default.getTextSize('万kWh', ' '+ Node762fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node762align === 'center') {
- Node762textStart = -3;
- Node762textWidth = Node762width;
- Node762lineStart = Node762width - ht.Default.getTextSize('万kWh', ' '+ Node762fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node762.setImage(GD.getTextJSON(Node762width, Node762height, true, false, false, ' '+ Node762fontSize + 'px "Arial"'))
- Node762.setPosition(718*ratio.ratioX, 127*ratio.ratioY);
- Node762.setWidth(Node762width);
- Node762.setHeight(Node762height);
- Node762._nodeType = 'text';
- Node762._disallowEvert = true;
- Node762.setRotation(0*Math.PI/180);
- Node762.a('node.width', Node762width);
- Node762.a('node.height', Node762height);
- Node762.a('node.rect', [0, 0, Node762width, Node762height]);
- Node762.a('node.bordercolor','rgba(128,128,128,1)');
- Node762.a('node.borderwidth', 0);
- Node762.a('node.background','' || 'rgba(0,0,0,0)');
- Node762.a('node.gradient','');
- Node762.a('node.gradientcolor','');
- Node762.a('node.text','万kWh');
- Node762.a('node.textalign','center');
- Node762.a('node.textvAlign','middle');
- Node762.a('node.textrect', [Node762textStart, 0, Node762textWidth, Node762height]);
- Node762.a('node.color','rgba(128,128,128,1)');
- Node762.a('node.font',' '+ Node762fontSize + 'px "Arial"');
- Node762.a('node.textvisible',true);
- Node762.a('node.linefeed',false);
- if (false) {
- Node762.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node762.a('node.text') || '万kWh';
- var color=Node762.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node762width,Node762height,13.3333*_ratio.ratioY,"center",color,' '+ Node762fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node762.a('node.underlinepoints',[Node762lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node762fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node762fontSize + 'px "Arial"').width + 6, (Node762height - Node762fontSize) * 0.5*_ratio.ratioY + Node762fontSize + 2 ]);
- Node762.a('node.underlinevisible',false);
- Node762.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node762);
- zoomNodeList.push({
- node: Node762,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node763 = new ht.Node();
- var Node763textStart, Node763textWidth, Node763lineStart, Node763align = 'left', Node763fontSize = 11.99997*_ratio.ratioY,Node763width = 53*_ratio.ratioX, Node763height = 20*_ratio.ratioY;
- (function () {
- if (Node763align === 'left') {
- Node763textStart = Node763fontSize * 0.2 > 2 ? Node763fontSize * 0.2 - 4 : Node763fontSize * 0.2 - 9;
- Node763textWidth = Node763width;
- Node763lineStart = 1;
- } else if (Node763align === 'right') {
- Node763textStart = 0;
- Node763textWidth =Node763fontSize <= 8 ? Node763width + Node763fontSize * 0.2 + 6 : Node763width - Node763fontSize * 0.2;
- Node763lineStart = (Node763width - (ht.Default.getTextSize('机', 'bold '+ Node763fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node763align === 'center') {
- Node763textStart = -3;
- Node763textWidth = Node763width;
- Node763lineStart = Node763width - ht.Default.getTextSize('机', 'bold '+ Node763fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node763.setImage(GD.getTextJSON(Node763width, Node763height, true, false, false, 'bold '+ Node763fontSize + 'px "Arial"'))
- Node763.setPosition(1343*ratio.ratioX, 88*ratio.ratioY);
- Node763.setWidth(Node763width);
- Node763.setHeight(Node763height);
- Node763._nodeType = 'text';
- Node763._disallowEvert = true;
- Node763.setRotation(0*Math.PI/180);
- Node763.a('node.width', Node763width);
- Node763.a('node.height', Node763height);
- Node763.a('node.rect', [0, 0, Node763width, Node763height]);
- Node763.a('node.bordercolor','rgba(255,255,255,1)');
- Node763.a('node.borderwidth', 0);
- Node763.a('node.background','' || 'rgba(0,0,0,0)');
- Node763.a('node.gradient','');
- Node763.a('node.gradientcolor','');
- Node763.a('node.text','机');
- Node763.a('node.textalign','left');
- Node763.a('node.textvAlign','middle');
- Node763.a('node.textrect', [Node763textStart, 0, Node763textWidth, Node763height]);
- Node763.a('node.color','rgba(255,255,255,1)');
- Node763.a('node.font','bold '+ Node763fontSize + 'px "Arial"');
- Node763.a('node.textvisible',true);
- Node763.a('node.linefeed',false);
- if (false) {
- Node763.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node763.a('node.text') || '机';
- var color=Node763.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node763width,Node763height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node763fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node763.a('node.underlinepoints',[Node763lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node763fontSize + 2 , ht.Default.getTextSize('机', 'bold '+ Node763fontSize + 'px "Arial"').width + 6, (Node763height - Node763fontSize) * 0.5*_ratio.ratioY + Node763fontSize + 2 ]);
- Node763.a('node.underlinevisible',false);
- Node763.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node763);
- zoomNodeList.push({
- node: Node763,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node764 = new ht.Node();
- var Node764textStart, Node764textWidth, Node764lineStart, Node764align = 'left', Node764fontSize = 11.99997*_ratio.ratioY,Node764width = 53*_ratio.ratioX, Node764height = 20*_ratio.ratioY;
- (function () {
- if (Node764align === 'left') {
- Node764textStart = Node764fontSize * 0.2 > 2 ? Node764fontSize * 0.2 - 4 : Node764fontSize * 0.2 - 9;
- Node764textWidth = Node764width;
- Node764lineStart = 1;
- } else if (Node764align === 'right') {
- Node764textStart = 0;
- Node764textWidth =Node764fontSize <= 8 ? Node764width + Node764fontSize * 0.2 + 6 : Node764width - Node764fontSize * 0.2;
- Node764lineStart = (Node764width - (ht.Default.getTextSize('状', 'bold '+ Node764fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node764align === 'center') {
- Node764textStart = -3;
- Node764textWidth = Node764width;
- Node764lineStart = Node764width - ht.Default.getTextSize('状', 'bold '+ Node764fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node764.setImage(GD.getTextJSON(Node764width, Node764height, true, false, false, 'bold '+ Node764fontSize + 'px "Arial"'))
- Node764.setPosition(1343*ratio.ratioX, 111*ratio.ratioY);
- Node764.setWidth(Node764width);
- Node764.setHeight(Node764height);
- Node764._nodeType = 'text';
- Node764._disallowEvert = true;
- Node764.setRotation(0*Math.PI/180);
- Node764.a('node.width', Node764width);
- Node764.a('node.height', Node764height);
- Node764.a('node.rect', [0, 0, Node764width, Node764height]);
- Node764.a('node.bordercolor','rgba(255,255,255,1)');
- Node764.a('node.borderwidth', 0);
- Node764.a('node.background','' || 'rgba(0,0,0,0)');
- Node764.a('node.gradient','');
- Node764.a('node.gradientcolor','');
- Node764.a('node.text','状');
- Node764.a('node.textalign','left');
- Node764.a('node.textvAlign','middle');
- Node764.a('node.textrect', [Node764textStart, 0, Node764textWidth, Node764height]);
- Node764.a('node.color','rgba(255,255,255,1)');
- Node764.a('node.font','bold '+ Node764fontSize + 'px "Arial"');
- Node764.a('node.textvisible',true);
- Node764.a('node.linefeed',false);
- if (false) {
- Node764.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node764.a('node.text') || '状';
- var color=Node764.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node764width,Node764height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node764fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node764.a('node.underlinepoints',[Node764lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node764fontSize + 2 , ht.Default.getTextSize('状', 'bold '+ Node764fontSize + 'px "Arial"').width + 6, (Node764height - Node764fontSize) * 0.5*_ratio.ratioY + Node764fontSize + 2 ]);
- Node764.a('node.underlinevisible',false);
- Node764.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node764);
- zoomNodeList.push({
- node: Node764,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node765 = new ht.Node();
- var Node765textStart, Node765textWidth, Node765lineStart, Node765align = 'left', Node765fontSize = 11.99997*_ratio.ratioY,Node765width = 53*_ratio.ratioX, Node765height = 20*_ratio.ratioY;
- (function () {
- if (Node765align === 'left') {
- Node765textStart = Node765fontSize * 0.2 > 2 ? Node765fontSize * 0.2 - 4 : Node765fontSize * 0.2 - 9;
- Node765textWidth = Node765width;
- Node765lineStart = 1;
- } else if (Node765align === 'right') {
- Node765textStart = 0;
- Node765textWidth =Node765fontSize <= 8 ? Node765width + Node765fontSize * 0.2 + 6 : Node765width - Node765fontSize * 0.2;
- Node765lineStart = (Node765width - (ht.Default.getTextSize('态', 'bold '+ Node765fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node765align === 'center') {
- Node765textStart = -3;
- Node765textWidth = Node765width;
- Node765lineStart = Node765width - ht.Default.getTextSize('态', 'bold '+ Node765fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node765.setImage(GD.getTextJSON(Node765width, Node765height, true, false, false, 'bold '+ Node765fontSize + 'px "Arial"'))
- Node765.setPosition(1343*ratio.ratioX, 133*ratio.ratioY);
- Node765.setWidth(Node765width);
- Node765.setHeight(Node765height);
- Node765._nodeType = 'text';
- Node765._disallowEvert = true;
- Node765.setRotation(0*Math.PI/180);
- Node765.a('node.width', Node765width);
- Node765.a('node.height', Node765height);
- Node765.a('node.rect', [0, 0, Node765width, Node765height]);
- Node765.a('node.bordercolor','rgba(255,255,255,1)');
- Node765.a('node.borderwidth', 0);
- Node765.a('node.background','' || 'rgba(0,0,0,0)');
- Node765.a('node.gradient','');
- Node765.a('node.gradientcolor','');
- Node765.a('node.text','态');
- Node765.a('node.textalign','left');
- Node765.a('node.textvAlign','middle');
- Node765.a('node.textrect', [Node765textStart, 0, Node765textWidth, Node765height]);
- Node765.a('node.color','rgba(255,255,255,1)');
- Node765.a('node.font','bold '+ Node765fontSize + 'px "Arial"');
- Node765.a('node.textvisible',true);
- Node765.a('node.linefeed',false);
- if (false) {
- Node765.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node765.a('node.text') || '态';
- var color=Node765.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node765width,Node765height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node765fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node765.a('node.underlinepoints',[Node765lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node765fontSize + 2 , ht.Default.getTextSize('态', 'bold '+ Node765fontSize + 'px "Arial"').width + 6, (Node765height - Node765fontSize) * 0.5*_ratio.ratioY + Node765fontSize + 2 ]);
- Node765.a('node.underlinevisible',false);
- Node765.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node765);
- zoomNodeList.push({
- node: Node765,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node766 = new ht.Node();
- var Node766textStart, Node766textWidth, Node766lineStart, Node766align = 'center', Node766fontSize = 14.66663*_ratio.ratioY,Node766width = 67*_ratio.ratioX, Node766height = 26*_ratio.ratioY;
- (function () {
- if (Node766align === 'left') {
- Node766textStart = Node766fontSize * 0.2 > 2 ? Node766fontSize * 0.2 - 4 : Node766fontSize * 0.2 - 9;
- Node766textWidth = Node766width;
- Node766lineStart = 1;
- } else if (Node766align === 'right') {
- Node766textStart = 0;
- Node766textWidth =Node766fontSize <= 8 ? Node766width + Node766fontSize * 0.2 + 6 : Node766width - Node766fontSize * 0.2;
- Node766lineStart = (Node766width - (ht.Default.getTextSize('台', ' '+ Node766fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node766align === 'center') {
- Node766textStart = -3;
- Node766textWidth = Node766width;
- Node766lineStart = Node766width - ht.Default.getTextSize('台', ' '+ Node766fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node766.setImage(GD.getTextJSON(Node766width, Node766height, true, false, false, ' '+ Node766fontSize + 'px "Arial"'))
- Node766.setPosition(1586*ratio.ratioX, 86*ratio.ratioY);
- Node766.setWidth(Node766width);
- Node766.setHeight(Node766height);
- Node766._nodeType = 'text';
- Node766._disallowEvert = true;
- Node766.setRotation(0*Math.PI/180);
- Node766.a('node.width', Node766width);
- Node766.a('node.height', Node766height);
- Node766.a('node.rect', [0, 0, Node766width, Node766height]);
- Node766.a('node.bordercolor','rgba(105,105,105,1)');
- Node766.a('node.borderwidth', 0);
- Node766.a('node.background','' || 'rgba(0,0,0,0)');
- Node766.a('node.gradient','');
- Node766.a('node.gradientcolor','');
- Node766.a('node.text','台');
- Node766.a('node.textalign','center');
- Node766.a('node.textvAlign','middle');
- Node766.a('node.textrect', [Node766textStart, 0, Node766textWidth, Node766height]);
- Node766.a('node.color','rgba(105,105,105,1)');
- Node766.a('node.font',' '+ Node766fontSize + 'px "Arial"');
- Node766.a('node.textvisible',true);
- Node766.a('node.linefeed',false);
- if (false) {
- Node766.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node766.a('node.text') || '台';
- var color=Node766.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node766width,Node766height,14.66663*_ratio.ratioY,"center",color,' '+ Node766fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node766.a('node.underlinepoints',[Node766lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node766fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node766fontSize + 'px "Arial"').width + 6, (Node766height - Node766fontSize) * 0.5*_ratio.ratioY + Node766fontSize + 2 ]);
- Node766.a('node.underlinevisible',false);
- Node766.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node766);
- zoomNodeList.push({
- node: Node766,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node767;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_blue.jpg', PAGEROOTDIR + 'image//page_list_box_left_blue.jpg');
- Node767 = new ht.Node();
- Node767.setPosition(1475*ratio.ratioX, 70*ratio.ratioY);
- Node767.setSize(9*ratioX, 60*ratioY);
- Node767.setImage('imgimage//page_list_box_left_blue.jpg');
- Node767.setRotation(0*Math.PI/180);
- Node767._zoomBy = 'Default';
- Node767._nodeType = 'image';
- Node767._disallowEvert = true;
- dataModel.add(Node767);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node768type = 'rect';
- var Node768 = new ht.Node(),
- Node768BorderWidth = 1*2;
- if (Node768type === 'arc') {
- Node768BorderWidth *= 1;
- }
- Node768.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node768type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node768.setPosition(1544*ratio.ratioX, 70*ratio.ratioY);
- Node768.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node768.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node768.a('node.width', 127*_ratio.ratioX);
- Node768.a('node.height', 60.81538*_ratio.ratioY);
- Node768.a('node.type', Node768type);
- Node768.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node768.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node768.a('node.gradientcolor', '');
- Node768.a('node.gradient', '');
- Node768.a('node.borderwidth', Node768BorderWidth);
- Node768.a('node.color', 'rgba(128,128,128,1)');
- Node768.a('node.fillrect', [0,0,0,0]);
- Node768.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node768.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node768.a('node.fillgradient', '');
- if (Node768type !== 'rect') {
- Node768.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node768.a('node.arcTo', parseFloat('@arcTo@'));
- Node768.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node768type === 'arc') {
- Node768.a('node.arcOval', true);
- }
- Node768.setRotation(0*Math.PI/180);
- Node768.borderWidth = Node768BorderWidth;
- Node768.borderFillwidth = Node768BorderWidth;
- dataModel.add(Node768);
- Node768._nodename = 'Node768'
- Node768._nodeType = 'rect';
- zoomNodeList.push({
- node: Node768,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node768, Node768.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node769 = new ht.Node();
- var Node769textStart, Node769textWidth, Node769lineStart, Node769align = 'left', Node769fontSize = 15.99996*_ratio.ratioY,Node769width = 29*_ratio.ratioX, Node769height = 25*_ratio.ratioY;
- (function () {
- if (Node769align === 'left') {
- Node769textStart = Node769fontSize * 0.2 > 2 ? Node769fontSize * 0.2 - 4 : Node769fontSize * 0.2 - 9;
- Node769textWidth = Node769width;
- Node769lineStart = 1;
- } else if (Node769align === 'right') {
- Node769textStart = 0;
- Node769textWidth =Node769fontSize <= 8 ? Node769width + Node769fontSize * 0.2 + 6 : Node769width - Node769fontSize * 0.2;
- Node769lineStart = (Node769width - (ht.Default.getTextSize('0', ' '+ Node769fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node769align === 'center') {
- Node769textStart = -3;
- Node769textWidth = Node769width;
- Node769lineStart = Node769width - ht.Default.getTextSize('0', ' '+ Node769fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node769.setImage(GD.getTextJSON(Node769width, Node769height, true, false, false, ' '+ Node769fontSize + 'px "Arial"'))
- Node769.setPosition(1507*ratio.ratioX, 85*ratio.ratioY);
- Node769.setWidth(Node769width);
- Node769.setHeight(Node769height);
- Node769._nodeType = 'text';
- Node769._disallowEvert = true;
- Node769.setRotation(0*Math.PI/180);
- Node769.a('node.width', Node769width);
- Node769.a('node.height', Node769height);
- Node769.a('node.rect', [0, 0, Node769width, Node769height]);
- Node769.a('node.bordercolor','rgba(0,0,0,1)');
- Node769.a('node.borderwidth', 0);
- Node769.a('node.background','' || 'rgba(0,0,0,0)');
- Node769.a('node.gradient','');
- Node769.a('node.gradientcolor','');
- Node769.a('node.text','0');
- Node769.a('node.textalign','left');
- Node769.a('node.textvAlign','middle');
- Node769.a('node.textrect', [Node769textStart, 0, Node769textWidth, Node769height]);
- Node769.a('node.color','rgba(0,0,0,1)');
- Node769.a('node.font',' '+ Node769fontSize + 'px "Arial"');
- Node769.a('node.textvisible',true);
- Node769.a('node.linefeed',false);
- if (false) {
- Node769.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node769.a('node.text') || '0';
- var color=Node769.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node769width,Node769height,15.99996*_ratio.ratioY,"left",color,' '+ Node769fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node769.a('node.underlinepoints',[Node769lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node769fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node769fontSize + 'px "Arial"').width + 6, (Node769height - Node769fontSize) * 0.5*_ratio.ratioY + Node769fontSize + 2 ]);
- Node769.a('node.underlinevisible',false);
- Node769.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node769);
- zoomNodeList.push({
- node: Node769,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node770;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_red.jpg', PAGEROOTDIR + 'image//page_list_box_left_red.jpg');
- Node770 = new ht.Node();
- Node770.setPosition(1751*ratio.ratioX, 70*ratio.ratioY);
- Node770.setSize(9*ratioX, 60*ratioY);
- Node770.setImage('imgimage//page_list_box_left_red.jpg');
- Node770.setRotation(0*Math.PI/180);
- Node770._zoomBy = 'Default';
- Node770._nodeType = 'image';
- Node770._disallowEvert = true;
- dataModel.add(Node770);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node771 = new ht.Node();
- var Node771textStart, Node771textWidth, Node771lineStart, Node771align = 'left', Node771fontSize = 15.99996*_ratio.ratioY,Node771width = 29*_ratio.ratioX, Node771height = 25*_ratio.ratioY;
- (function () {
- if (Node771align === 'left') {
- Node771textStart = Node771fontSize * 0.2 > 2 ? Node771fontSize * 0.2 - 4 : Node771fontSize * 0.2 - 9;
- Node771textWidth = Node771width;
- Node771lineStart = 1;
- } else if (Node771align === 'right') {
- Node771textStart = 0;
- Node771textWidth =Node771fontSize <= 8 ? Node771width + Node771fontSize * 0.2 + 6 : Node771width - Node771fontSize * 0.2;
- Node771lineStart = (Node771width - (ht.Default.getTextSize('0', ' '+ Node771fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node771align === 'center') {
- Node771textStart = -3;
- Node771textWidth = Node771width;
- Node771lineStart = Node771width - ht.Default.getTextSize('0', ' '+ Node771fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node771.setImage(GD.getTextJSON(Node771width, Node771height, true, false, false, ' '+ Node771fontSize + 'px "Arial"'))
- Node771.setPosition(1783*ratio.ratioX, 85*ratio.ratioY);
- Node771.setWidth(Node771width);
- Node771.setHeight(Node771height);
- Node771._nodeType = 'text';
- Node771._disallowEvert = true;
- Node771.setRotation(0*Math.PI/180);
- Node771.a('node.width', Node771width);
- Node771.a('node.height', Node771height);
- Node771.a('node.rect', [0, 0, Node771width, Node771height]);
- Node771.a('node.bordercolor','rgba(0,0,0,1)');
- Node771.a('node.borderwidth', 0);
- Node771.a('node.background','' || 'rgba(0,0,0,0)');
- Node771.a('node.gradient','');
- Node771.a('node.gradientcolor','');
- Node771.a('node.text','0');
- Node771.a('node.textalign','left');
- Node771.a('node.textvAlign','middle');
- Node771.a('node.textrect', [Node771textStart, 0, Node771textWidth, Node771height]);
- Node771.a('node.color','rgba(0,0,0,1)');
- Node771.a('node.font',' '+ Node771fontSize + 'px "Arial"');
- Node771.a('node.textvisible',true);
- Node771.a('node.linefeed',false);
- if (false) {
- Node771.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node771.a('node.text') || '0';
- var color=Node771.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node771width,Node771height,15.99996*_ratio.ratioY,"left",color,' '+ Node771fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node771.a('node.underlinepoints',[Node771lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node771fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node771fontSize + 'px "Arial"').width + 6, (Node771height - Node771fontSize) * 0.5*_ratio.ratioY + Node771fontSize + 2 ]);
- Node771.a('node.underlinevisible',false);
- Node771.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node771);
- zoomNodeList.push({
- node: Node771,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node772;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_black.jpg', PAGEROOTDIR + 'image//page_list_box_left_black.jpg');
- Node772 = new ht.Node();
- Node772.setPosition(1751*ratio.ratioX, 131*ratio.ratioY);
- Node772.setSize(9*ratioX, 60*ratioY);
- Node772.setImage('imgimage//page_list_box_left_black.jpg');
- Node772.setRotation(0*Math.PI/180);
- Node772._zoomBy = 'Default';
- Node772._nodeType = 'image';
- Node772._disallowEvert = true;
- dataModel.add(Node772);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node773 = new ht.Node();
- var Node773textStart, Node773textWidth, Node773lineStart, Node773align = 'left', Node773fontSize = 13.3333*_ratio.ratioY,Node773width = 47*_ratio.ratioX, Node773height = 38*_ratio.ratioY;
- (function () {
- if (Node773align === 'left') {
- Node773textStart = Node773fontSize * 0.2 > 2 ? Node773fontSize * 0.2 - 4 : Node773fontSize * 0.2 - 9;
- Node773textWidth = Node773width;
- Node773lineStart = 1;
- } else if (Node773align === 'right') {
- Node773textStart = 0;
- Node773textWidth =Node773fontSize <= 8 ? Node773width + Node773fontSize * 0.2 + 6 : Node773width - Node773fontSize * 0.2;
- Node773lineStart = (Node773width - (ht.Default.getTextSize('离线', 'bold '+ Node773fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node773align === 'center') {
- Node773textStart = -3;
- Node773textWidth = Node773width;
- Node773lineStart = Node773width - ht.Default.getTextSize('离线', 'bold '+ Node773fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node773.setImage(GD.getTextJSON(Node773width, Node773height, true, false, false, 'bold '+ Node773fontSize + 'px "Arial"'))
- Node773.setPosition(1782*ratio.ratioX, 114*ratio.ratioY);
- Node773.setWidth(Node773width);
- Node773.setHeight(Node773height);
- Node773._nodeType = 'text';
- Node773._disallowEvert = true;
- Node773.setRotation(0*Math.PI/180);
- Node773.a('node.width', Node773width);
- Node773.a('node.height', Node773height);
- Node773.a('node.rect', [0, 0, Node773width, Node773height]);
- Node773.a('node.bordercolor','rgba(0,0,0,1)');
- Node773.a('node.borderwidth', 0);
- Node773.a('node.background','' || 'rgba(0,0,0,0)');
- Node773.a('node.gradient','');
- Node773.a('node.gradientcolor','');
- Node773.a('node.text','离线');
- Node773.a('node.textalign','left');
- Node773.a('node.textvAlign','middle');
- Node773.a('node.textrect', [Node773textStart, 0, Node773textWidth, Node773height]);
- Node773.a('node.color','rgba(0,0,0,1)');
- Node773.a('node.font','bold '+ Node773fontSize + 'px "Arial"');
- Node773.a('node.textvisible',true);
- Node773.a('node.linefeed',false);
- if (false) {
- Node773.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node773.a('node.text') || '离线';
- var color=Node773.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node773width,Node773height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node773fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node773.a('node.underlinepoints',[Node773lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node773fontSize + 2 , ht.Default.getTextSize('离线', 'bold '+ Node773fontSize + 'px "Arial"').width + 6, (Node773height - Node773fontSize) * 0.5*_ratio.ratioY + Node773fontSize + 2 ]);
- Node773.a('node.underlinevisible',false);
- Node773.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node773);
- zoomNodeList.push({
- node: Node773,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node774 = new ht.Node();
- var Node774textStart, Node774textWidth, Node774lineStart, Node774align = 'left', Node774fontSize = 15.99996*_ratio.ratioY,Node774width = 29*_ratio.ratioX, Node774height = 25*_ratio.ratioY;
- (function () {
- if (Node774align === 'left') {
- Node774textStart = Node774fontSize * 0.2 > 2 ? Node774fontSize * 0.2 - 4 : Node774fontSize * 0.2 - 9;
- Node774textWidth = Node774width;
- Node774lineStart = 1;
- } else if (Node774align === 'right') {
- Node774textStart = 0;
- Node774textWidth =Node774fontSize <= 8 ? Node774width + Node774fontSize * 0.2 + 6 : Node774width - Node774fontSize * 0.2;
- Node774lineStart = (Node774width - (ht.Default.getTextSize('0', ' '+ Node774fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node774align === 'center') {
- Node774textStart = -3;
- Node774textWidth = Node774width;
- Node774lineStart = Node774width - ht.Default.getTextSize('0', ' '+ Node774fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node774.setImage(GD.getTextJSON(Node774width, Node774height, true, false, false, ' '+ Node774fontSize + 'px "Arial"'))
- Node774.setPosition(1783*ratio.ratioX, 146*ratio.ratioY);
- Node774.setWidth(Node774width);
- Node774.setHeight(Node774height);
- Node774._nodeType = 'text';
- Node774._disallowEvert = true;
- Node774.setRotation(0*Math.PI/180);
- Node774.a('node.width', Node774width);
- Node774.a('node.height', Node774height);
- Node774.a('node.rect', [0, 0, Node774width, Node774height]);
- Node774.a('node.bordercolor','rgba(0,0,0,1)');
- Node774.a('node.borderwidth', 0);
- Node774.a('node.background','' || 'rgba(0,0,0,0)');
- Node774.a('node.gradient','');
- Node774.a('node.gradientcolor','');
- Node774.a('node.text','0');
- Node774.a('node.textalign','left');
- Node774.a('node.textvAlign','middle');
- Node774.a('node.textrect', [Node774textStart, 0, Node774textWidth, Node774height]);
- Node774.a('node.color','rgba(0,0,0,1)');
- Node774.a('node.font',' '+ Node774fontSize + 'px "Arial"');
- Node774.a('node.textvisible',true);
- Node774.a('node.linefeed',false);
- if (false) {
- Node774.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node774.a('node.text') || '0';
- var color=Node774.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node774width,Node774height,15.99996*_ratio.ratioY,"left",color,' '+ Node774fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node774.a('node.underlinepoints',[Node774lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node774fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node774fontSize + 'px "Arial"').width + 6, (Node774height - Node774fontSize) * 0.5*_ratio.ratioY + Node774fontSize + 2 ]);
- Node774.a('node.underlinevisible',false);
- Node774.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node774);
- zoomNodeList.push({
- node: Node774,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node775 = new ht.Node();
- var Node775textStart, Node775textWidth, Node775lineStart, Node775align = 'left', Node775fontSize = 13.3333*_ratio.ratioY,Node775width = 59*_ratio.ratioX, Node775height = 24*_ratio.ratioY;
- (function () {
- if (Node775align === 'left') {
- Node775textStart = Node775fontSize * 0.2 > 2 ? Node775fontSize * 0.2 - 4 : Node775fontSize * 0.2 - 9;
- Node775textWidth = Node775width;
- Node775lineStart = 1;
- } else if (Node775align === 'right') {
- Node775textStart = 0;
- Node775textWidth =Node775fontSize <= 8 ? Node775width + Node775fontSize * 0.2 + 6 : Node775width - Node775fontSize * 0.2;
- Node775lineStart = (Node775width - (ht.Default.getTextSize('0', ' '+ Node775fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node775align === 'center') {
- Node775textStart = -3;
- Node775textWidth = Node775width;
- Node775lineStart = Node775width - ht.Default.getTextSize('0', ' '+ Node775fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node775.setImage(GD.getTextJSON(Node775width, Node775height, true, false, false, ' '+ Node775fontSize + 'px "Arial"'))
- Node775.setPosition(377*ratio.ratioX, 55*ratio.ratioY);
- Node775.setWidth(Node775width);
- Node775.setHeight(Node775height);
- Node775._nodeType = 'text';
- Node775._disallowEvert = true;
- Node775.setRotation(0*Math.PI/180);
- Node775.a('node.width', Node775width);
- Node775.a('node.height', Node775height);
- Node775.a('node.rect', [0, 0, Node775width, Node775height]);
- Node775.a('node.bordercolor','rgba(0,0,0,1)');
- Node775.a('node.borderwidth', 0);
- Node775.a('node.background','' || 'rgba(0,0,0,0)');
- Node775.a('node.gradient','');
- Node775.a('node.gradientcolor','');
- Node775.a('node.text','0');
- Node775.a('node.textalign','left');
- Node775.a('node.textvAlign','middle');
- Node775.a('node.textrect', [Node775textStart, 0, Node775textWidth, Node775height]);
- Node775.a('node.color','rgba(0,0,0,1)');
- Node775.a('node.font',' '+ Node775fontSize + 'px "Arial"');
- Node775.a('node.textvisible',true);
- Node775.a('node.linefeed',false);
- if (false) {
- Node775.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node775.a('node.text') || '0';
- var color=Node775.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node775width,Node775height,13.3333*_ratio.ratioY,"left",color,' '+ Node775fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node775.a('node.underlinepoints',[Node775lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node775fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node775fontSize + 'px "Arial"').width + 6, (Node775height - Node775fontSize) * 0.5*_ratio.ratioY + Node775fontSize + 2 ]);
- Node775.a('node.underlinevisible',false);
- Node775.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node775);
- zoomNodeList.push({
- node: Node775,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node776 = new ht.Node();
- var Node776textStart, Node776textWidth, Node776lineStart, Node776align = 'center', Node776fontSize = 13.3333*_ratio.ratioY,Node776width = 58*_ratio.ratioX, Node776height = 26*_ratio.ratioY;
- (function () {
- if (Node776align === 'left') {
- Node776textStart = Node776fontSize * 0.2 > 2 ? Node776fontSize * 0.2 - 4 : Node776fontSize * 0.2 - 9;
- Node776textWidth = Node776width;
- Node776lineStart = 1;
- } else if (Node776align === 'right') {
- Node776textStart = 0;
- Node776textWidth =Node776fontSize <= 8 ? Node776width + Node776fontSize * 0.2 + 6 : Node776width - Node776fontSize * 0.2;
- Node776lineStart = (Node776width - (ht.Default.getTextSize('0', ' '+ Node776fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node776align === 'center') {
- Node776textStart = -3;
- Node776textWidth = Node776width;
- Node776lineStart = Node776width - ht.Default.getTextSize('0', ' '+ Node776fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node776.setImage(GD.getTextJSON(Node776width, Node776height, true, false, false, ' '+ Node776fontSize + 'px "Arial"'))
- Node776.setPosition(354*ratio.ratioX, 77*ratio.ratioY);
- Node776.setWidth(Node776width);
- Node776.setHeight(Node776height);
- Node776._nodeType = 'text';
- Node776._disallowEvert = true;
- Node776.setRotation(0*Math.PI/180);
- Node776.a('node.width', Node776width);
- Node776.a('node.height', Node776height);
- Node776.a('node.rect', [0, 0, Node776width, Node776height]);
- Node776.a('node.bordercolor','rgba(0,0,0,1)');
- Node776.a('node.borderwidth', 0);
- Node776.a('node.background','' || 'rgba(0,0,0,0)');
- Node776.a('node.gradient','');
- Node776.a('node.gradientcolor','');
- Node776.a('node.text','0');
- Node776.a('node.textalign','center');
- Node776.a('node.textvAlign','middle');
- Node776.a('node.textrect', [Node776textStart, 0, Node776textWidth, Node776height]);
- Node776.a('node.color','rgba(0,0,0,1)');
- Node776.a('node.font',' '+ Node776fontSize + 'px "Arial"');
- Node776.a('node.textvisible',true);
- Node776.a('node.linefeed',false);
- if (false) {
- Node776.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node776.a('node.text') || '0';
- var color=Node776.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node776width,Node776height,13.3333*_ratio.ratioY,"center",color,' '+ Node776fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node776.a('node.underlinepoints',[Node776lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node776fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node776fontSize + 'px "Arial"').width + 6, (Node776height - Node776fontSize) * 0.5*_ratio.ratioY + Node776fontSize + 2 ]);
- Node776.a('node.underlinevisible',false);
- Node776.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node776);
- zoomNodeList.push({
- node: Node776,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node777 = new ht.Node();
- var Node777textStart, Node777textWidth, Node777lineStart, Node777align = 'center', Node777fontSize = 13.3333*_ratio.ratioY,Node777width = 114*_ratio.ratioX, Node777height = 26*_ratio.ratioY;
- (function () {
- if (Node777align === 'left') {
- Node777textStart = Node777fontSize * 0.2 > 2 ? Node777fontSize * 0.2 - 4 : Node777fontSize * 0.2 - 9;
- Node777textWidth = Node777width;
- Node777lineStart = 1;
- } else if (Node777align === 'right') {
- Node777textStart = 0;
- Node777textWidth =Node777fontSize <= 8 ? Node777width + Node777fontSize * 0.2 + 6 : Node777width - Node777fontSize * 0.2;
- Node777lineStart = (Node777width - (ht.Default.getTextSize('年性能损失电量', ' '+ Node777fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node777align === 'center') {
- Node777textStart = -3;
- Node777textWidth = Node777width;
- Node777lineStart = Node777width - ht.Default.getTextSize('年性能损失电量', ' '+ Node777fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node777.setImage(GD.getTextJSON(Node777width, Node777height, true, false, false, ' '+ Node777fontSize + 'px "微软雅黑"'))
- Node777.setPosition(1091*ratio.ratioX, 150*ratio.ratioY);
- Node777.setWidth(Node777width);
- Node777.setHeight(Node777height);
- Node777._nodeType = 'text';
- Node777._disallowEvert = true;
- Node777.setRotation(0*Math.PI/180);
- Node777.a('node.width', Node777width);
- Node777.a('node.height', Node777height);
- Node777.a('node.rect', [0, 0, Node777width, Node777height]);
- Node777.a('node.bordercolor','rgba(0,0,0,1)');
- Node777.a('node.borderwidth', 0);
- Node777.a('node.background','' || 'rgba(0,0,0,0)');
- Node777.a('node.gradient','');
- Node777.a('node.gradientcolor','');
- Node777.a('node.text','年性能损失电量');
- Node777.a('node.textalign','center');
- Node777.a('node.textvAlign','middle');
- Node777.a('node.textrect', [Node777textStart, 0, Node777textWidth, Node777height]);
- Node777.a('node.color','rgba(0,0,0,1)');
- Node777.a('node.font',' '+ Node777fontSize + 'px "微软雅黑"');
- Node777.a('node.textvisible',true);
- Node777.a('node.linefeed',false);
- if (false) {
- Node777.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node777.a('node.text') || '年性能损失电量';
- var color=Node777.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node777width,Node777height,13.3333*_ratio.ratioY,"center",color,' '+ Node777fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node777.a('node.underlinepoints',[Node777lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node777fontSize + 2 , ht.Default.getTextSize('年性能损失电量', ' '+ Node777fontSize + 'px "微软雅黑"').width + 6, (Node777height - Node777fontSize) * 0.5*_ratio.ratioY + Node777fontSize + 2 ]);
- Node777.a('node.underlinevisible',false);
- Node777.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node777);
- zoomNodeList.push({
- node: Node777,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node778 = new ht.Node();
- var Node778textStart, Node778textWidth, Node778lineStart, Node778align = 'center', Node778fontSize = 13.3333*_ratio.ratioY,Node778width = 110*_ratio.ratioX, Node778height = 26*_ratio.ratioY;
- (function () {
- if (Node778align === 'left') {
- Node778textStart = Node778fontSize * 0.2 > 2 ? Node778fontSize * 0.2 - 4 : Node778fontSize * 0.2 - 9;
- Node778textWidth = Node778width;
- Node778lineStart = 1;
- } else if (Node778align === 'right') {
- Node778textStart = 0;
- Node778textWidth =Node778fontSize <= 8 ? Node778width + Node778fontSize * 0.2 + 6 : Node778width - Node778fontSize * 0.2;
- Node778lineStart = (Node778width - (ht.Default.getTextSize('月性能损失电量', ' '+ Node778fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node778align === 'center') {
- Node778textStart = -3;
- Node778textWidth = Node778width;
- Node778lineStart = Node778width - ht.Default.getTextSize('月性能损失电量', ' '+ Node778fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node778.setImage(GD.getTextJSON(Node778width, Node778height, true, false, false, ' '+ Node778fontSize + 'px "微软雅黑"'))
- Node778.setPosition(811*ratio.ratioX, 152*ratio.ratioY);
- Node778.setWidth(Node778width);
- Node778.setHeight(Node778height);
- Node778._nodeType = 'text';
- Node778._disallowEvert = true;
- Node778.setRotation(0*Math.PI/180);
- Node778.a('node.width', Node778width);
- Node778.a('node.height', Node778height);
- Node778.a('node.rect', [0, 0, Node778width, Node778height]);
- Node778.a('node.bordercolor','rgba(0,0,0,1)');
- Node778.a('node.borderwidth', 0);
- Node778.a('node.background','' || 'rgba(0,0,0,0)');
- Node778.a('node.gradient','');
- Node778.a('node.gradientcolor','');
- Node778.a('node.text','月性能损失电量');
- Node778.a('node.textalign','center');
- Node778.a('node.textvAlign','middle');
- Node778.a('node.textrect', [Node778textStart, 0, Node778textWidth, Node778height]);
- Node778.a('node.color','rgba(0,0,0,1)');
- Node778.a('node.font',' '+ Node778fontSize + 'px "微软雅黑"');
- Node778.a('node.textvisible',true);
- Node778.a('node.linefeed',false);
- if (false) {
- Node778.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node778.a('node.text') || '月性能损失电量';
- var color=Node778.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node778width,Node778height,13.3333*_ratio.ratioY,"center",color,' '+ Node778fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node778.a('node.underlinepoints',[Node778lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node778fontSize + 2 , ht.Default.getTextSize('月性能损失电量', ' '+ Node778fontSize + 'px "微软雅黑"').width + 6, (Node778height - Node778fontSize) * 0.5*_ratio.ratioY + Node778fontSize + 2 ]);
- Node778.a('node.underlinevisible',false);
- Node778.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node778);
- zoomNodeList.push({
- node: Node778,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node779 = new ht.Node();
- var Node779textStart, Node779textWidth, Node779lineStart, Node779align = 'center', Node779fontSize = 13.3333*_ratio.ratioY,Node779width = 113*_ratio.ratioX, Node779height = 26*_ratio.ratioY;
- (function () {
- if (Node779align === 'left') {
- Node779textStart = Node779fontSize * 0.2 > 2 ? Node779fontSize * 0.2 - 4 : Node779fontSize * 0.2 - 9;
- Node779textWidth = Node779width;
- Node779lineStart = 1;
- } else if (Node779align === 'right') {
- Node779textStart = 0;
- Node779textWidth =Node779fontSize <= 8 ? Node779width + Node779fontSize * 0.2 + 6 : Node779width - Node779fontSize * 0.2;
- Node779lineStart = (Node779width - (ht.Default.getTextSize('日性能损失电量', ' '+ Node779fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node779align === 'center') {
- Node779textStart = -3;
- Node779textWidth = Node779width;
- Node779lineStart = Node779width - ht.Default.getTextSize('日性能损失电量', ' '+ Node779fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node779.setImage(GD.getTextJSON(Node779width, Node779height, true, false, false, ' '+ Node779fontSize + 'px "微软雅黑"'))
- Node779.setPosition(531*ratio.ratioX, 151*ratio.ratioY);
- Node779.setWidth(Node779width);
- Node779.setHeight(Node779height);
- Node779._nodeType = 'text';
- Node779._disallowEvert = true;
- Node779.setRotation(0*Math.PI/180);
- Node779.a('node.width', Node779width);
- Node779.a('node.height', Node779height);
- Node779.a('node.rect', [0, 0, Node779width, Node779height]);
- Node779.a('node.bordercolor','rgba(0,0,0,1)');
- Node779.a('node.borderwidth', 0);
- Node779.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node779.a('node.gradient','');
- Node779.a('node.gradientcolor','rgba(255,255,255,0)');
- Node779.a('node.text','日性能损失电量');
- Node779.a('node.textalign','center');
- Node779.a('node.textvAlign','middle');
- Node779.a('node.textrect', [Node779textStart, 0, Node779textWidth, Node779height]);
- Node779.a('node.color','rgba(0,0,0,1)');
- Node779.a('node.font',' '+ Node779fontSize + 'px "微软雅黑"');
- Node779.a('node.textvisible',true);
- Node779.a('node.linefeed',false);
- if (false) {
- Node779.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node779.a('node.text') || '日性能损失电量';
- var color=Node779.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node779width,Node779height,13.3333*_ratio.ratioY,"center",color,' '+ Node779fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node779.a('node.underlinepoints',[Node779lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node779fontSize + 2 , ht.Default.getTextSize('日性能损失电量', ' '+ Node779fontSize + 'px "微软雅黑"').width + 6, (Node779height - Node779fontSize) * 0.5*_ratio.ratioY + Node779fontSize + 2 ]);
- Node779.a('node.underlinevisible',false);
- Node779.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node779);
- zoomNodeList.push({
- node: Node779,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node780 = new ht.Node();
- var Node780textStart, Node780textWidth, Node780lineStart, Node780align = 'left', Node780fontSize = 13.3333*_ratio.ratioY,Node780width = 77*_ratio.ratioX, Node780height = 26*_ratio.ratioY;
- (function () {
- if (Node780align === 'left') {
- Node780textStart = Node780fontSize * 0.2 > 2 ? Node780fontSize * 0.2 - 4 : Node780fontSize * 0.2 - 9;
- Node780textWidth = Node780width;
- Node780lineStart = 1;
- } else if (Node780align === 'right') {
- Node780textStart = 0;
- Node780textWidth =Node780fontSize <= 8 ? Node780width + Node780fontSize * 0.2 + 6 : Node780width - Node780fontSize * 0.2;
- Node780lineStart = (Node780width - (ht.Default.getTextSize('上网电量', ' '+ Node780fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node780align === 'center') {
- Node780textStart = -3;
- Node780textWidth = Node780width;
- Node780lineStart = Node780width - ht.Default.getTextSize('上网电量', ' '+ Node780fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node780.setImage(GD.getTextJSON(Node780width, Node780height, true, false, false, ' '+ Node780fontSize + 'px "微软雅黑"'))
- Node780.setPosition(226*ratio.ratioX, 152*ratio.ratioY);
- Node780.setWidth(Node780width);
- Node780.setHeight(Node780height);
- Node780._nodeType = 'text';
- Node780._disallowEvert = true;
- Node780.setRotation(0*Math.PI/180);
- Node780.a('node.width', Node780width);
- Node780.a('node.height', Node780height);
- Node780.a('node.rect', [0, 0, Node780width, Node780height]);
- Node780.a('node.bordercolor','rgba(0,0,0,1)');
- Node780.a('node.borderwidth', 0);
- Node780.a('node.background','' || 'rgba(0,0,0,0)');
- Node780.a('node.gradient','');
- Node780.a('node.gradientcolor','');
- Node780.a('node.text','上网电量');
- Node780.a('node.textalign','left');
- Node780.a('node.textvAlign','middle');
- Node780.a('node.textrect', [Node780textStart, 0, Node780textWidth, Node780height]);
- Node780.a('node.color','rgba(0,0,0,1)');
- Node780.a('node.font',' '+ Node780fontSize + 'px "微软雅黑"');
- Node780.a('node.textvisible',true);
- Node780.a('node.linefeed',false);
- if (false) {
- Node780.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node780.a('node.text') || '上网电量';
- var color=Node780.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node780width,Node780height,13.3333*_ratio.ratioY,"left",color,' '+ Node780fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node780.a('node.underlinepoints',[Node780lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node780fontSize + 2 , ht.Default.getTextSize('上网电量', ' '+ Node780fontSize + 'px "微软雅黑"').width + 6, (Node780height - Node780fontSize) * 0.5*_ratio.ratioY + Node780fontSize + 2 ]);
- Node780.a('node.underlinevisible',false);
- Node780.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node780);
- zoomNodeList.push({
- node: Node780,
- borderWidth: 0,
- attr: 'node.borderwidth'
- });
- /*@GraphList@*/
- var datas = dataModel.getDatas();
- ;(typeof PageBackground != "undefined") && (PageBackground.localDynamicVar = function ( ) {return {'anniu':PageBackground_anniu,'sy':PageBackground_sy,'ldjsc':PageBackground_ldjsc,'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,'uugjb':PageBackground_uugjb,'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,'yygjb':PageBackground_yygjb,'A':PageBackground_A,'B':PageBackground_B,'C':PageBackground_C,'D':PageBackground_D,'E':PageBackground_E,'F':PageBackground_F,'gonglv':PageBackground_gonglv,'fengsu':PageBackground_fengsu,}});
- if((0 )){Node3.s('2d.visible',true);}else{Node3.s('2d.visible',false);}
- if((0 )){Node5.s('2d.visible',true);}else{Node5.s('2d.visible',false);}
- if((0 )){Node7.s('2d.visible',true);}else{Node7.s('2d.visible',false);}
- if((0 )){Node9.s('2d.visible',true);}else{Node9.s('2d.visible',false);}
- if((0 )){Node11.s('2d.visible',true);}else{Node11.s('2d.visible',false);}
- if((0 )){Node13.s('2d.visible',true);}else{Node13.s('2d.visible',false);}
- if((0 )){Node15.s('2d.visible',true);}else{Node15.s('2d.visible',false);}
- if((0 )){Node17.s('2d.visible',true);}else{Node17.s('2d.visible',false);}
- if(typeof(Node28.borderWidth)!="undefined"){setDashStyle(Node28,"Node28",'NoDash',Node28.borderWidth);}
- if(typeof(Node45.borderWidth)!="undefined"){setDashStyle(Node45,"Node45",'NoDash',Node45.borderWidth);}
- if(typeof(Node61.borderWidth)!="undefined"){setDashStyle(Node61,"Node61",'NoDash',Node61.borderWidth);}
- if(typeof(Node62.borderWidth)!="undefined"){setDashStyle(Node62,"Node62",'NoDash',Node62.borderWidth);}
- if(typeof(Node72.borderWidth)!="undefined"){setDashStyle(Node72,"Node72",'NoDash',Node72.borderWidth);}
- if(typeof(Node319.borderWidth)!="undefined"){setDashStyle(Node319,"Node319",'NoDash',Node319.borderWidth);}
- if(typeof(Node321.borderWidth)!="undefined"){setDashStyle(Node321,"Node321",'NoDash',Node321.borderWidth);}
- if(typeof(Node323.borderWidth)!="undefined"){setDashStyle(Node323,"Node323",'NoDash',Node323.borderWidth);}
- if(typeof(Node325.borderWidth)!="undefined"){setDashStyle(Node325,"Node325",'NoDash',Node325.borderWidth);}
- ;(typeof Node331 != "undefined") && (Node331.localDynamicVar = function ( ) {return {'xianshi4':Node331_xianshi4,}});
- ;(typeof Node332 != "undefined") && (Node332.localDynamicVar = function ( ) {return {'xianshi4':Node332_xianshi4,}});
- ;(typeof Node333 != "undefined") && (Node333.localDynamicVar = function ( ) {return {'xianshi4':Node333_xianshi4,}});
- ;(typeof Node334 != "undefined") && (Node334.localDynamicVar = function ( ) {return {'xianshi4':Node334_xianshi4,}});
- ;(typeof Node335 != "undefined") && (Node335.localDynamicVar = function ( ) {return {'xianshi4':Node335_xianshi4,}});
- ;(typeof Node336 != "undefined") && (Node336.localDynamicVar = function ( ) {return {'xianshi4':Node336_xianshi4,}});
- ;(typeof Node337 != "undefined") && (Node337.localDynamicVar = function ( ) {return {'xianshi4':Node337_xianshi4,}});
- ;(typeof Node338 != "undefined") && (Node338.localDynamicVar = function ( ) {return {'xianshi4':Node338_xianshi4,}});
- ;(typeof Node339 != "undefined") && (Node339.localDynamicVar = function ( ) {return {'xianshi4':Node339_xianshi4,}});
- ;(typeof Node340 != "undefined") && (Node340.localDynamicVar = function ( ) {return {'xianshi4':Node340_xianshi4,}});
- ;(typeof Node341 != "undefined") && (Node341.localDynamicVar = function ( ) {return {'xianshi4':Node341_xianshi4,}});
- ;(typeof Node342 != "undefined") && (Node342.localDynamicVar = function ( ) {return {'xianshi4':Node342_xianshi4,}});
- ;(typeof Node343 != "undefined") && (Node343.localDynamicVar = function ( ) {return {'xianshi4':Node343_xianshi4,}});
- ;(typeof Node344 != "undefined") && (Node344.localDynamicVar = function ( ) {return {'xianshi4':Node344_xianshi4,}});
- ;(typeof Node345 != "undefined") && (Node345.localDynamicVar = function ( ) {return {'xianshi4':Node345_xianshi4,}});
- ;(typeof Node346 != "undefined") && (Node346.localDynamicVar = function ( ) {return {'xianshi4':Node346_xianshi4,}});
- ;(typeof Node347 != "undefined") && (Node347.localDynamicVar = function ( ) {return {'xianshi4':Node347_xianshi4,}});
- ;(typeof Node438 != "undefined") && (Node438.localDynamicVar = function ( ) {return {'xianshi4':Node438_xianshi4,}});
- ;(typeof Node439 != "undefined") && (Node439.localDynamicVar = function ( ) {return {'xianshi4':Node439_xianshi4,}});
- ;(typeof Node440 != "undefined") && (Node440.localDynamicVar = function ( ) {return {'xianshi4':Node440_xianshi4,}});
- ;(typeof Node441 != "undefined") && (Node441.localDynamicVar = function ( ) {return {'xianshi4':Node441_xianshi4,}});
- ;(typeof Node442 != "undefined") && (Node442.localDynamicVar = function ( ) {return {'xianshi4':Node442_xianshi4,}});
- ;(typeof Node443 != "undefined") && (Node443.localDynamicVar = function ( ) {return {'xianshi4':Node443_xianshi4,}});
- ;(typeof Node444 != "undefined") && (Node444.localDynamicVar = function ( ) {return {'xianshi4':Node444_xianshi4,}});
- ;(typeof Node445 != "undefined") && (Node445.localDynamicVar = function ( ) {return {'xianshi4':Node445_xianshi4,}});
- ;(typeof Node446 != "undefined") && (Node446.localDynamicVar = function ( ) {return {'xianshi4':Node446_xianshi4,}});
- ;(typeof Node447 != "undefined") && (Node447.localDynamicVar = function ( ) {return {'xianshi4':Node447_xianshi4,}});
- ;(typeof Node448 != "undefined") && (Node448.localDynamicVar = function ( ) {return {'xianshi4':Node448_xianshi4,}});
- ;(typeof Node449 != "undefined") && (Node449.localDynamicVar = function ( ) {return {'xianshi4':Node449_xianshi4,}});
- ;(typeof Node450 != "undefined") && (Node450.localDynamicVar = function ( ) {return {'xianshi4':Node450_xianshi4,}});
- ;(typeof Node451 != "undefined") && (Node451.localDynamicVar = function ( ) {return {'xianshi4':Node451_xianshi4,}});
- ;(typeof Node452 != "undefined") && (Node452.localDynamicVar = function ( ) {return {'xianshi4':Node452_xianshi4,}});
- ;(typeof Node453 != "undefined") && (Node453.localDynamicVar = function ( ) {return {'xianshi4':Node453_xianshi4,}});
- ;(typeof Node454 != "undefined") && (Node454.localDynamicVar = function ( ) {return {'xianshi4':Node454_xianshi4,}});
- ;(typeof Node455 != "undefined") && (Node455.localDynamicVar = function ( ) {return {'xianshi':Node455_xianshi,}});
- ;(typeof Node456 != "undefined") && (Node456.localDynamicVar = function ( ) {return {'xianshi':Node456_xianshi,}});
- ;(typeof Node457 != "undefined") && (Node457.localDynamicVar = function ( ) {return {'xianshi':Node457_xianshi,}});
- ;(typeof Node458 != "undefined") && (Node458.localDynamicVar = function ( ) {return {'xianshi':Node458_xianshi,}});
- ;(typeof Node459 != "undefined") && (Node459.localDynamicVar = function ( ) {return {'xianshi':Node459_xianshi,}});
- ;(typeof Node460 != "undefined") && (Node460.localDynamicVar = function ( ) {return {'xianshi':Node460_xianshi,}});
- ;(typeof Node461 != "undefined") && (Node461.localDynamicVar = function ( ) {return {'xianshi':Node461_xianshi,}});
- ;(typeof Node462 != "undefined") && (Node462.localDynamicVar = function ( ) {return {'xianshi':Node462_xianshi,}});
- ;(typeof Node463 != "undefined") && (Node463.localDynamicVar = function ( ) {return {'xianshi':Node463_xianshi,}});
- ;(typeof Node464 != "undefined") && (Node464.localDynamicVar = function ( ) {return {'xianshi':Node464_xianshi,}});
- ;(typeof Node465 != "undefined") && (Node465.localDynamicVar = function ( ) {return {'xianshi':Node465_xianshi,}});
- ;(typeof Node466 != "undefined") && (Node466.localDynamicVar = function ( ) {return {'xianshi1':Node466_xianshi1,}});
- ;(typeof Node467 != "undefined") && (Node467.localDynamicVar = function ( ) {return {'xianshi1':Node467_xianshi1,}});
- ;(typeof Node468 != "undefined") && (Node468.localDynamicVar = function ( ) {return {'xianshi1':Node468_xianshi1,}});
- ;(typeof Node469 != "undefined") && (Node469.localDynamicVar = function ( ) {return {'xianshi1':Node469_xianshi1,}});
- ;(typeof Node470 != "undefined") && (Node470.localDynamicVar = function ( ) {return {'xianshi1':Node470_xianshi1,}});
- ;(typeof Node471 != "undefined") && (Node471.localDynamicVar = function ( ) {return {'xianshi1':Node471_xianshi1,}});
- ;(typeof Node472 != "undefined") && (Node472.localDynamicVar = function ( ) {return {'xianshi1':Node472_xianshi1,}});
- ;(typeof Node473 != "undefined") && (Node473.localDynamicVar = function ( ) {return {'xianshi1':Node473_xianshi1,}});
- ;(typeof Node474 != "undefined") && (Node474.localDynamicVar = function ( ) {return {'xianshi1':Node474_xianshi1,}});
- ;(typeof Node475 != "undefined") && (Node475.localDynamicVar = function ( ) {return {'xianshi1':Node475_xianshi1,}});
- ;(typeof Node476 != "undefined") && (Node476.localDynamicVar = function ( ) {return {'xianshi1':Node476_xianshi1,}});
- ;(typeof Node477 != "undefined") && (Node477.localDynamicVar = function ( ) {return {'xianshi1':Node477_xianshi1,}});
- ;(typeof Node478 != "undefined") && (Node478.localDynamicVar = function ( ) {return {'xianshi1':Node478_xianshi1,}});
- ;(typeof Node479 != "undefined") && (Node479.localDynamicVar = function ( ) {return {'xianshi1':Node479_xianshi1,}});
- ;(typeof Node480 != "undefined") && (Node480.localDynamicVar = function ( ) {return {'xianshi1':Node480_xianshi1,}});
- ;(typeof Node481 != "undefined") && (Node481.localDynamicVar = function ( ) {return {'xianshi1':Node481_xianshi1,}});
- ;(typeof Node482 != "undefined") && (Node482.localDynamicVar = function ( ) {return {'xianshi1':Node482_xianshi1,}});
- ;(typeof Node483 != "undefined") && (Node483.localDynamicVar = function ( ) {return {'xianshi1':Node483_xianshi1,}});
- ;(typeof Node484 != "undefined") && (Node484.localDynamicVar = function ( ) {return {'xianshi1':Node484_xianshi1,}});
- ;(typeof Node485 != "undefined") && (Node485.localDynamicVar = function ( ) {return {'xianshi1':Node485_xianshi1,}});
- ;(typeof Node486 != "undefined") && (Node486.localDynamicVar = function ( ) {return {'xianshi1':Node486_xianshi1,}});
- ;(typeof Node487 != "undefined") && (Node487.localDynamicVar = function ( ) {return {'xianshi1':Node487_xianshi1,}});
- ;(typeof Node488 != "undefined") && (Node488.localDynamicVar = function ( ) {return {'xianshi1':Node488_xianshi1,}});
- ;(typeof Node489 != "undefined") && (Node489.localDynamicVar = function ( ) {return {'xianshi1':Node489_xianshi1,}});
- ;(typeof Node490 != "undefined") && (Node490.localDynamicVar = function ( ) {return {'xianshi1':Node490_xianshi1,}});
- ;(typeof Node491 != "undefined") && (Node491.localDynamicVar = function ( ) {return {'xianshi1':Node491_xianshi1,}});
- ;(typeof Node492 != "undefined") && (Node492.localDynamicVar = function ( ) {return {'xianshi1':Node492_xianshi1,}});
- ;(typeof Node493 != "undefined") && (Node493.localDynamicVar = function ( ) {return {'xianshi2':Node493_xianshi2,}});
- ;(typeof Node494 != "undefined") && (Node494.localDynamicVar = function ( ) {return {'xianshi2':Node494_xianshi2,}});
- ;(typeof Node495 != "undefined") && (Node495.localDynamicVar = function ( ) {return {'xianshi2':Node495_xianshi2,}});
- ;(typeof Node496 != "undefined") && (Node496.localDynamicVar = function ( ) {return {'xianshi2':Node496_xianshi2,}});
- ;(typeof Node497 != "undefined") && (Node497.localDynamicVar = function ( ) {return {'xianshi2':Node497_xianshi2,}});
- ;(typeof Node498 != "undefined") && (Node498.localDynamicVar = function ( ) {return {'xianshi2':Node498_xianshi2,}});
- ;(typeof Node499 != "undefined") && (Node499.localDynamicVar = function ( ) {return {'xianshi2':Node499_xianshi2,}});
- ;(typeof Node500 != "undefined") && (Node500.localDynamicVar = function ( ) {return {'xianshi2':Node500_xianshi2,}});
- ;(typeof Node501 != "undefined") && (Node501.localDynamicVar = function ( ) {return {'xianshi2':Node501_xianshi2,}});
- ;(typeof Node502 != "undefined") && (Node502.localDynamicVar = function ( ) {return {'xianshi2':Node502_xianshi2,}});
- ;(typeof Node503 != "undefined") && (Node503.localDynamicVar = function ( ) {return {'xianshi2':Node503_xianshi2,}});
- ;(typeof Node504 != "undefined") && (Node504.localDynamicVar = function ( ) {return {'xianshi2':Node504_xianshi2,}});
- ;(typeof Node505 != "undefined") && (Node505.localDynamicVar = function ( ) {return {'xianshi2':Node505_xianshi2,}});
- ;(typeof Node506 != "undefined") && (Node506.localDynamicVar = function ( ) {return {'xianshi2':Node506_xianshi2,}});
- ;(typeof Node507 != "undefined") && (Node507.localDynamicVar = function ( ) {return {'xianshi2':Node507_xianshi2,}});
- ;(typeof Node508 != "undefined") && (Node508.localDynamicVar = function ( ) {return {'xianshi2':Node508_xianshi2,}});
- ;(typeof Node509 != "undefined") && (Node509.localDynamicVar = function ( ) {return {'xianshi2':Node509_xianshi2,}});
- ;(typeof Node510 != "undefined") && (Node510.localDynamicVar = function ( ) {return {'xianshi2':Node510_xianshi2,}});
- ;(typeof Node511 != "undefined") && (Node511.localDynamicVar = function ( ) {return {'xianshi2':Node511_xianshi2,}});
- ;(typeof Node512 != "undefined") && (Node512.localDynamicVar = function ( ) {return {'xianshi2':Node512_xianshi2,}});
- ;(typeof Node513 != "undefined") && (Node513.localDynamicVar = function ( ) {return {'xianshi2':Node513_xianshi2,}});
- ;(typeof Node514 != "undefined") && (Node514.localDynamicVar = function ( ) {return {'xianshi2':Node514_xianshi2,}});
- ;(typeof Node515 != "undefined") && (Node515.localDynamicVar = function ( ) {return {'xianshi2':Node515_xianshi2,}});
- /*@PageInit@*/
-
- function DatarefreshTask(callback){
- /*@DataVarText@*/
- callback = callback || function () {};
- if(varList.length <= 0){
- return callback();
- }
- var ajaxdata = {};
- var ajaxtype = 'GET';
- var str = "http://" + webServiceIP + ":" + webServicePort + "/api/Snapshot?tagName=";
- var para = "";
- for(var i=0;i<varList.length;i++){
- para = para + varList[i];
- if(i!==varList.length-1)
- para = para +',';
- }
- str = str + encodeURIComponent(para);
- if (str.length > 2000) {
- para = encodeURIComponent(para);
- str = "http://" + webServiceIP + ":" + webServicePort + "/api/Snapshot/tags";
- ajaxdata = {'': para};
- ajaxtype = 'POST';
- }
- $.ajax({
- url: str ,
- type: ajaxtype,
- dataType: 'json',
- data: ajaxdata,
- cache: false,
- success: function (data) {
- if (data === null) return;
- var snapshots = eval(data);
- //判断快照是否为空
- if (snapshots != null) {
- for (var i = 0; i < snapshots.length; i++) {
- var index = varList.indexOf (snapshots[i].TagName);
- var tagName = snapshots[i].TagName.toLowerCase();
- if(index >= 0 && index< varList.length){
- if(parseFloat(snapshots[i].Value).toString()==snapshots[i].Value){
- varListObj[tagName] = VarValue[index] = parseFloat(snapshots[i].Value);
- VarSnapshotTime[tagName]=snapshots[i].Time;
- }else{
- varListObj[tagName] = VarValue[index] = snapshots[i].Value;
- VarSnapshotTime[tagName]=snapshots[i].Time;
- }
- }
- }
- }
- },
- complete: function (XHR, TS) {
- XHR = null;
- callback();
- }
- }
- );
- }
- ;(function () {
- var i = 0;
- function getdata() {
- DatarefreshTask(function () {
- i++;
- Timer1sCmd();
- Timer100msCmd();
- Timer500msCmd();
- if (i <= 4) {
- setTimeout(getdata, 50);
- }
- });
- }
- setTimeout(getdata, 20);
- })();
- intervalTimers.push(setInterval(DatarefreshTask, 500));
- /*@DataRefresh@*/
-
- function GetTagsProperty(){
- /*@DataVarText@*/
- if(varList.length <= 0){
- return;
- }
- var ajaxtype = 'GET';
- var ajaxdata = {};
- var str = "http://" + webServiceIP + ":" + webServicePort + "/api/Point?tagName=";
- var para = "";
- for(var i=0;i<varList.length;i++){
- para = para + varList[i];
- if(i!==varList.length-1)
- para = para +',';
- }
- str = str + encodeURIComponent(para);
- if (str.length > 2000) {
- para = encodeURIComponent(para);
- str = "http://" + webServiceIP + ":" + webServicePort + "/api/Point/property";
- ajaxdata = {'': para};
- ajaxtype = 'POST';
- }
- $.ajax({
- url: str ,
- type: ajaxtype,
- dataType: 'json',
- data: ajaxdata,
- cache: false,
- success: function (data) {
- if (data === null) return;
- for(var i=0;i<data.length;i++){
- var basePointInfo=data[i].BasePointInfo;
- tagInfoDic[basePointInfo.TableDotTag.toLowerCase()]=basePointInfo;
- // console.log(tagInfoDic);
- }
- },
- complete: function (XHR, TS) {
- XHR = null;
- }
- }
- );
- }
- GetTagsProperty();
- window.GD && (GD.GetTagsProperty = GetTagsProperty);
- /*@TagInfoDic@*/
- var syscurrentTime="";
- function getCurrentTime(timeformat){
- syscurrentTime= moment().format(timeformat);
- if(timeformat=="d"){
- if(syscurrentTime==1){
- syscurrentTime="星期一";
- }
- if(syscurrentTime==2){
- syscurrentTime="星期二";
- }
- if(syscurrentTime==3){
- syscurrentTime="星期三";
- }
- if(syscurrentTime==4){
- syscurrentTime="星期四";
- }
- if(syscurrentTime==5){
- syscurrentTime="星期五";
- }
- if(syscurrentTime==6){
- syscurrentTime="星期六";
- }
- if(syscurrentTime==7){
- syscurrentTime="星期日";
- }
- }
- }
- getCurrentTime();
- /*@SysCurrentTime@*/
- var Counter10ms = 0;
- var Counter100ms = 0;
- var Counter500ms = 0;
- var Counter1s = 0;
- var Counter5s = 0;
- function Timer10msCmd() {
- Counter10ms++;
- Node28_0.refresh10ms();
- Node41.refresh10ms();
- Node42.refresh10ms();
- Node45_0.refresh10ms();
- Node58.refresh10ms();
- Node59.refresh10ms();
- Node61_0.refresh10ms();
- Node62_0.refresh10ms();
- Node69.refresh10ms();
- Node72_0.refresh10ms();
- Node81.refresh10ms();
- Node82.refresh10ms();
- Node113.refresh10ms();
- Node119.refresh10ms();
- Node135.refresh10ms();
- Node139.refresh10ms();
- Node143.refresh10ms();
- Node144.refresh10ms();
- Node152.refresh10ms();
- Node153.refresh10ms();
- Node156.refresh10ms();
- Node160.refresh10ms();
- Node164.refresh10ms();
- Node165.refresh10ms();
- Node173.refresh10ms();
- Node174.refresh10ms();
- Node181.refresh10ms();
- Node184.refresh10ms();
- Node185.refresh10ms();
- Node189.refresh10ms();
- Node191.refresh10ms();
- Node212.refresh10ms();
- Node213.refresh10ms();
- Node220.refresh10ms();
- Node221.refresh10ms();
- Node223.refresh10ms();
- Node226.refresh10ms();
- Node227.refresh10ms();
- Node229.refresh10ms();
- Node267_0.refresh10ms();
- Node267_5.refresh10ms();
- Node268_0.refresh10ms();
- Node282.refresh10ms();
- Node283.refresh10ms();
- Node287.refresh10ms();
- Node289.refresh10ms();
- Node331.refresh10ms();
- Node332.refresh10ms();
- Node333.refresh10ms();
- Node334.refresh10ms();
- Node335.refresh10ms();
- Node336.refresh10ms();
- Node337.refresh10ms();
- Node338.refresh10ms();
- Node339.refresh10ms();
- Node340.refresh10ms();
- Node341.refresh10ms();
- Node342.refresh10ms();
- Node343.refresh10ms();
- Node344.refresh10ms();
- Node345.refresh10ms();
- Node346.refresh10ms();
- Node347.refresh10ms();
- Node350.refresh10ms();
- Node351.refresh10ms();
- Node353.refresh10ms();
- Node356.refresh10ms();
- Node357.refresh10ms();
- Node359.refresh10ms();
- Node362.refresh10ms();
- Node363.refresh10ms();
- Node365.refresh10ms();
- Node368.refresh10ms();
- Node369.refresh10ms();
- Node371.refresh10ms();
- Node374.refresh10ms();
- Node375.refresh10ms();
- Node377.refresh10ms();
- Node380.refresh10ms();
- Node381.refresh10ms();
- Node383.refresh10ms();
- Node386.refresh10ms();
- Node387.refresh10ms();
- Node389.refresh10ms();
- Node392.refresh10ms();
- Node393.refresh10ms();
- Node395.refresh10ms();
- Node398.refresh10ms();
- Node399.refresh10ms();
- Node401.refresh10ms();
- Node404.refresh10ms();
- Node405.refresh10ms();
- Node407.refresh10ms();
- Node410.refresh10ms();
- Node411.refresh10ms();
- Node413.refresh10ms();
- Node416.refresh10ms();
- Node417.refresh10ms();
- Node419.refresh10ms();
- Node422.refresh10ms();
- Node423.refresh10ms();
- Node425.refresh10ms();
- Node428.refresh10ms();
- Node429.refresh10ms();
- Node431.refresh10ms();
- Node434.refresh10ms();
- Node435.refresh10ms();
- Node437.refresh10ms();
- Node438.refresh10ms();
- Node439.refresh10ms();
- Node440.refresh10ms();
- Node441.refresh10ms();
- Node442.refresh10ms();
- Node443.refresh10ms();
- Node444.refresh10ms();
- Node445.refresh10ms();
- Node446.refresh10ms();
- Node447.refresh10ms();
- Node448.refresh10ms();
- Node449.refresh10ms();
- Node450.refresh10ms();
- Node451.refresh10ms();
- Node452.refresh10ms();
- Node453.refresh10ms();
- Node454.refresh10ms();
- Node455.refresh10ms();
- Node456.refresh10ms();
- Node457.refresh10ms();
- Node458.refresh10ms();
- Node459.refresh10ms();
- Node460.refresh10ms();
- Node461.refresh10ms();
- Node462.refresh10ms();
- Node463.refresh10ms();
- Node464.refresh10ms();
- Node465.refresh10ms();
- Node466.refresh10ms();
- Node467.refresh10ms();
- Node468.refresh10ms();
- Node469.refresh10ms();
- Node470.refresh10ms();
- Node471.refresh10ms();
- Node472.refresh10ms();
- Node473.refresh10ms();
- Node474.refresh10ms();
- Node475.refresh10ms();
- Node476.refresh10ms();
- Node477.refresh10ms();
- Node478.refresh10ms();
- Node479.refresh10ms();
- Node480.refresh10ms();
- Node481.refresh10ms();
- Node482.refresh10ms();
- Node483.refresh10ms();
- Node484.refresh10ms();
- Node485.refresh10ms();
- Node486.refresh10ms();
- Node487.refresh10ms();
- Node488.refresh10ms();
- Node489.refresh10ms();
- Node490.refresh10ms();
- Node491.refresh10ms();
- Node492.refresh10ms();
- Node493.refresh10ms();
- Node494.refresh10ms();
- Node495.refresh10ms();
- Node496.refresh10ms();
- Node497.refresh10ms();
- Node498.refresh10ms();
- Node499.refresh10ms();
- Node500.refresh10ms();
- Node501.refresh10ms();
- Node502.refresh10ms();
- Node503.refresh10ms();
- Node504.refresh10ms();
- Node505.refresh10ms();
- Node506.refresh10ms();
- Node507.refresh10ms();
- Node508.refresh10ms();
- Node509.refresh10ms();
- Node510.refresh10ms();
- Node511.refresh10ms();
- Node512.refresh10ms();
- Node513.refresh10ms();
- Node514.refresh10ms();
- Node515.refresh10ms();
- /*@Timer10ms@*/
- }
- // intervalTimers.push(setInterval(Timer10msCmd, 10));
- function Timer100msCmd() {
- Counter100ms++;
- Node28_0.refresh100ms();
- Node41.refresh100ms();
- Node42.refresh100ms();
- Node45_0.refresh100ms();
- Node58.refresh100ms();
- Node59.refresh100ms();
- Node61_0.refresh100ms();
- Node62_0.refresh100ms();
- Node69.refresh100ms();
- Node72_0.refresh100ms();
- Node81.refresh100ms();
- Node82.refresh100ms();
- Node113.refresh100ms();
- Node119.refresh100ms();
- Node135.refresh100ms();
- Node139.refresh100ms();
- Node143.refresh100ms();
- Node144.refresh100ms();
- Node152.refresh100ms();
- Node153.refresh100ms();
- Node156.refresh100ms();
- Node160.refresh100ms();
- Node164.refresh100ms();
- Node165.refresh100ms();
- Node173.refresh100ms();
- Node174.refresh100ms();
- Node181.refresh100ms();
- Node184.refresh100ms();
- Node185.refresh100ms();
- Node189.refresh100ms();
- Node191.refresh100ms();
- Node212.refresh100ms();
- Node213.refresh100ms();
- Node220.refresh100ms();
- Node221.refresh100ms();
- Node223.refresh100ms();
- Node226.refresh100ms();
- Node227.refresh100ms();
- Node229.refresh100ms();
- Node267_0.refresh100ms();
- Node267_5.refresh100ms();
- Node268_0.refresh100ms();
- Node282.refresh100ms();
- Node283.refresh100ms();
- Node287.refresh100ms();
- Node289.refresh100ms();
- Node331.refresh100ms();
- Node332.refresh100ms();
- Node333.refresh100ms();
- Node334.refresh100ms();
- Node335.refresh100ms();
- Node336.refresh100ms();
- Node337.refresh100ms();
- Node338.refresh100ms();
- Node339.refresh100ms();
- Node340.refresh100ms();
- Node341.refresh100ms();
- Node342.refresh100ms();
- Node343.refresh100ms();
- Node344.refresh100ms();
- Node345.refresh100ms();
- Node346.refresh100ms();
- Node347.refresh100ms();
- Node350.refresh100ms();
- Node351.refresh100ms();
- Node353.refresh100ms();
- Node356.refresh100ms();
- Node357.refresh100ms();
- Node359.refresh100ms();
- Node362.refresh100ms();
- Node363.refresh100ms();
- Node365.refresh100ms();
- Node368.refresh100ms();
- Node369.refresh100ms();
- Node371.refresh100ms();
- Node374.refresh100ms();
- Node375.refresh100ms();
- Node377.refresh100ms();
- Node380.refresh100ms();
- Node381.refresh100ms();
- Node383.refresh100ms();
- Node386.refresh100ms();
- Node387.refresh100ms();
- Node389.refresh100ms();
- Node392.refresh100ms();
- Node393.refresh100ms();
- Node395.refresh100ms();
- Node398.refresh100ms();
- Node399.refresh100ms();
- Node401.refresh100ms();
- Node404.refresh100ms();
- Node405.refresh100ms();
- Node407.refresh100ms();
- Node410.refresh100ms();
- Node411.refresh100ms();
- Node413.refresh100ms();
- Node416.refresh100ms();
- Node417.refresh100ms();
- Node419.refresh100ms();
- Node422.refresh100ms();
- Node423.refresh100ms();
- Node425.refresh100ms();
- Node428.refresh100ms();
- Node429.refresh100ms();
- Node431.refresh100ms();
- Node434.refresh100ms();
- Node435.refresh100ms();
- Node437.refresh100ms();
- Node438.refresh100ms();
- Node439.refresh100ms();
- Node440.refresh100ms();
- Node441.refresh100ms();
- Node442.refresh100ms();
- Node443.refresh100ms();
- Node444.refresh100ms();
- Node445.refresh100ms();
- Node446.refresh100ms();
- Node447.refresh100ms();
- Node448.refresh100ms();
- Node449.refresh100ms();
- Node450.refresh100ms();
- Node451.refresh100ms();
- Node452.refresh100ms();
- Node453.refresh100ms();
- Node454.refresh100ms();
- Node455.refresh100ms();
- Node456.refresh100ms();
- Node457.refresh100ms();
- Node458.refresh100ms();
- Node459.refresh100ms();
- Node460.refresh100ms();
- Node461.refresh100ms();
- Node462.refresh100ms();
- Node463.refresh100ms();
- Node464.refresh100ms();
- Node465.refresh100ms();
- Node466.refresh100ms();
- Node467.refresh100ms();
- Node468.refresh100ms();
- Node469.refresh100ms();
- Node470.refresh100ms();
- Node471.refresh100ms();
- Node472.refresh100ms();
- Node473.refresh100ms();
- Node474.refresh100ms();
- Node475.refresh100ms();
- Node476.refresh100ms();
- Node477.refresh100ms();
- Node478.refresh100ms();
- Node479.refresh100ms();
- Node480.refresh100ms();
- Node481.refresh100ms();
- Node482.refresh100ms();
- Node483.refresh100ms();
- Node484.refresh100ms();
- Node485.refresh100ms();
- Node486.refresh100ms();
- Node487.refresh100ms();
- Node488.refresh100ms();
- Node489.refresh100ms();
- Node490.refresh100ms();
- Node491.refresh100ms();
- Node492.refresh100ms();
- Node493.refresh100ms();
- Node494.refresh100ms();
- Node495.refresh100ms();
- Node496.refresh100ms();
- Node497.refresh100ms();
- Node498.refresh100ms();
- Node499.refresh100ms();
- Node500.refresh100ms();
- Node501.refresh100ms();
- Node502.refresh100ms();
- Node503.refresh100ms();
- Node504.refresh100ms();
- Node505.refresh100ms();
- Node506.refresh100ms();
- Node507.refresh100ms();
- Node508.refresh100ms();
- Node509.refresh100ms();
- Node510.refresh100ms();
- Node511.refresh100ms();
- Node512.refresh100ms();
- Node513.refresh100ms();
- Node514.refresh100ms();
- Node515.refresh100ms();
- Node517.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0326') ),-1));
- Node518.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0327') ),-1));
- Node519.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0007') ),-1));
- Node520.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0010') ),-1));
- Node521.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0011') ),-1));
- Node522.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0154') ),-1));
- Node523.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0001') ),-1));
- Node524.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0002') ),-1));
- Node525.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0003') ),-1));
- Node526.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0004') ),-1));
- Node527.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0031') ),-1));
- Node530.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0149') ),-1));
- Node531.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0150') ),-1));
- Node532.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0151') ),-1));
- Node533.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0152') ),-1));
- Node535.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0019') ),-1));
- Node536.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0020') ),-1));
- Node540.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0183') ),-1));
- Node541.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0180') ),-1));
- Node542.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0181') ),-1));
- Node543.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0182') ),-1));
- Node544.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0316') ),-1));
- Node545.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0260') ),-1));
- Node546.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0261') ),-1));
- Node547.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0262') ),-1));
- Node548.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0263') ),-1));
- Node549.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0226') ),-1));
- Node552.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0137') ),-1));
- Node553.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0145') ),-1));
- Node554.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0146') ),-1));
- Node555.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0115') ),-1));
- Node556.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0112') ),-1));
- Node557.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0113') ),-1));
- Node558.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0104') ),-1));
- Node559.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0112') ),-1));
- Node560.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0113') ),-1));
- Node561.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0126') ),-1));
- Node562.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0134') ),-1));
- Node563.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0135') ),-1));
- Node564.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0082') ),-1));
- Node565.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0090') ),-1));
- Node566.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0091') ),-1));
- Node567.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0093') ),-1));
- Node568.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0101') ),-1));
- Node569.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0102') ),-1));
- Node570.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0049') ),-1));
- Node571.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0057') ),-1));
- Node572.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0058') ),-1));
- Node573.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0060') ),-1));
- Node574.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0068') ),-1));
- Node575.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0069') ),-1));
- Node576.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0237') ),-1));
- Node579.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0226') ),-1));
- Node580.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0234') ),-1));
- Node581.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0235') ),-1));
- Node582.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0021') ),-1));
- Node583.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0022') ),-1));
- Node584.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0071') ),-1));
- Node585.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0079') ),-1));
- Node586.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0080') ),-1));
- Node587.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0215') ),-1));
- Node588.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0223') ),-1));
- Node589.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0224') ),-1));
- Node590.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0204') ),-1));
- Node591.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0212') ),-1));
- Node592.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0213') ),-1));
- Node593.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0193') ),-1));
- Node594.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0201') ),-1));
- Node595.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0202') ),-1));
- Node596.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0272') ),-1));
- Node597.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0280') ),-1));
- Node598.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0281') ),-1));
- Node599.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0283') ),-1));
- Node600.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0291') ),-1));
- Node601.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0292') ),-1));
- Node602.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0294') ),-1));
- Node603.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0302') ),-1));
- Node604.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0303') ),-1));
- Node605.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0305') ),-1));
- Node606.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0313') ),-1));
- Node607.a('node.text',GetDital((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0314') ),-1));
- Node628.a('node.text',GetDital((getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0196') ),-1));
- Node630.a('node.text',GetDital((getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0188') ),-1));
- Node632.a('node.text',GetDital((getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0126') ),-1));
- Node634.a('node.text',GetDital((getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0192') ),-1));
- Node642.a('node.text',GetDital((getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0004') + getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0009') + getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0129') + getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0130') + getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0131') + getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0171') ),-1));
- Node648.a('node.text',GetDital((getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0130') ),-1));
- Node652.a('node.text',GetDital((getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0004') ),-1));
- Node657.a('node.text',GetDital((getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0131') ),-1));
- Node690.a('node.text',GetDital((getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0144') ),-1));
- Node691.a('node.text',GetDital((getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0140') ),-1));
- Node692.a('node.text',GetDital((getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0168') ),-1));
- Node693.a('node.text',GetDital((getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0164') + getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0160') ),-1));
- Node717.a('node.text',GetDital((getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0038') ),-1));
- Node718.a('node.text',GetDital((getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0034') ),-1));
- Node719.a('node.text',GetDital((getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0065') ),-1));
- Node720.a('node.text',GetDital((getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0054') + getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0061') ),-1));
- Node734.a('node.text',GetDital((getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0124') ),-1));
- Node735.a('node.text',GetDital((getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0077') ),-1));
- Node750.a('node.text',GetDital((getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0089') ),-1));
- Node751.a('node.text',GetDital((getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0085') ),-1));
- Node752.a('node.text',GetDital((getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0116') ),-1));
- Node753.a('node.text',GetDital((getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0112') + getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0108') ),-1));
- Node769.a('node.text',GetDital((getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0171') ),-1));
- Node771.a('node.text',GetDital((getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0009') ),-1));
- Node774.a('node.text',GetDital((getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0129') ),-1));
- Node775.a('node.text',GetDital((getVarValue('GS_JCD.LN_GD_GJB_JS_XX_XX_XXX_CI0003') ),-1));
- Node776.a('node.text',GetDital((getVarValue('GJB_FC_JSD.SX_GD_YYF_JS_XX_XX_XXX__CI0125') ),-1));
- /*@Timer100ms@*/
- // graphView.redraw();
- }
- intervalTimers.push(setInterval(Timer100msCmd, 100));
- function Timer500msCmd() {
- Counter500ms++;
- if((1 )>0) {if(((sxxny==1)>0 )){Node3.s('2d.visible',true);}else{Node3.s('2d.visible',false);}}
- if((1 )>0) {if(((sxxny==0)>0 )){Node4.s('2d.visible',true);}else{Node4.s('2d.visible',false);}}
- if((1 )>0) {if(((yygjb==1)>0 )){Node5.s('2d.visible',true);}else{Node5.s('2d.visible',false);}}
- if((1 )>0) {if(((yygjb==0)>0 )){Node6.s('2d.visible',true);}else{Node6.s('2d.visible',false);}}
- if((1 )>0) {if(((plhts==1)>0 )){Node7.s('2d.visible',true);}else{Node7.s('2d.visible',false);}}
- if((1 )>0) {if(((plhts==0)>0 )){Node8.s('2d.visible',true);}else{Node8.s('2d.visible',false);}}
- if((1 )>0) {if(((tqwns==1)>0 )){Node9.s('2d.visible',true);}else{Node9.s('2d.visible',false);}}
- if((1 )>0) {if(((tqwns==0)>0 )){Node10.s('2d.visible',true);}else{Node10.s('2d.visible',false);}}
- if((1 )>0) {if(((gljf==1)>0 )){Node11.s('2d.visible',true);}else{Node11.s('2d.visible',false);}}
- if((1 )>0) {if(((gljf==0)>0 )){Node12.s('2d.visible',true);}else{Node12.s('2d.visible',false);}}
- if((1 )>0) {if(((hyfy==1)>0 )){Node13.s('2d.visible',true);}else{Node13.s('2d.visible',false);}}
- if((1 )>0) {if(((hyfy==0)>0 )){Node14.s('2d.visible',true);}else{Node14.s('2d.visible',false);}}
- if((1 )>0) {if(((llbts==1)>0 )){Node15.s('2d.visible',true);}else{Node15.s('2d.visible',false);}}
- if((1 )>0) {if(((llbts==0)>0 )){Node16.s('2d.visible',true);}else{Node16.s('2d.visible',false);}}
- if((1 )>0) {if(((ygcls==1)>0 )){Node17.s('2d.visible',true);}else{Node17.s('2d.visible',false);}}
- if((1 )>0) {if(((ygcls==0)>0 )){Node18.s('2d.visible',true);}else{Node18.s('2d.visible',false);}}
- Node28_0.refresh500ms();
- Node41.refresh500ms();
- Node42.refresh500ms();
- Node45_0.refresh500ms();
- Node58.refresh500ms();
- Node59.refresh500ms();
- Node61_0.refresh500ms();
- Node62_0.refresh500ms();
- Node69.refresh500ms();
- Node72_0.refresh500ms();
- Node81.refresh500ms();
- Node82.refresh500ms();
- Node113.refresh500ms();
- Node119.refresh500ms();
- Node135.refresh500ms();
- Node139.refresh500ms();
- Node143.refresh500ms();
- Node144.refresh500ms();
- Node152.refresh500ms();
- Node153.refresh500ms();
- Node156.refresh500ms();
- Node160.refresh500ms();
- Node164.refresh500ms();
- Node165.refresh500ms();
- Node173.refresh500ms();
- Node174.refresh500ms();
- Node181.refresh500ms();
- Node184.refresh500ms();
- Node185.refresh500ms();
- Node189.refresh500ms();
- Node191.refresh500ms();
- Node212.refresh500ms();
- Node213.refresh500ms();
- Node220.refresh500ms();
- Node221.refresh500ms();
- Node223.refresh500ms();
- Node226.refresh500ms();
- Node227.refresh500ms();
- Node229.refresh500ms();
- Node267_0.refresh500ms();
- Node267_5.refresh500ms();
- Node268_0.refresh500ms();
- Node282.refresh500ms();
- Node283.refresh500ms();
- Node287.refresh500ms();
- Node289.refresh500ms();
- Node331.refresh500ms();
- Node332.refresh500ms();
- Node333.refresh500ms();
- Node334.refresh500ms();
- Node335.refresh500ms();
- Node336.refresh500ms();
- Node337.refresh500ms();
- Node338.refresh500ms();
- Node339.refresh500ms();
- Node340.refresh500ms();
- Node341.refresh500ms();
- Node342.refresh500ms();
- Node343.refresh500ms();
- Node344.refresh500ms();
- Node345.refresh500ms();
- Node346.refresh500ms();
- Node347.refresh500ms();
- Node350.refresh500ms();
- Node351.refresh500ms();
- Node353.refresh500ms();
- Node356.refresh500ms();
- Node357.refresh500ms();
- Node359.refresh500ms();
- Node362.refresh500ms();
- Node363.refresh500ms();
- Node365.refresh500ms();
- Node368.refresh500ms();
- Node369.refresh500ms();
- Node371.refresh500ms();
- Node374.refresh500ms();
- Node375.refresh500ms();
- Node377.refresh500ms();
- Node380.refresh500ms();
- Node381.refresh500ms();
- Node383.refresh500ms();
- Node386.refresh500ms();
- Node387.refresh500ms();
- Node389.refresh500ms();
- Node392.refresh500ms();
- Node393.refresh500ms();
- Node395.refresh500ms();
- Node398.refresh500ms();
- Node399.refresh500ms();
- Node401.refresh500ms();
- Node404.refresh500ms();
- Node405.refresh500ms();
- Node407.refresh500ms();
- Node410.refresh500ms();
- Node411.refresh500ms();
- Node413.refresh500ms();
- Node416.refresh500ms();
- Node417.refresh500ms();
- Node419.refresh500ms();
- Node422.refresh500ms();
- Node423.refresh500ms();
- Node425.refresh500ms();
- Node428.refresh500ms();
- Node429.refresh500ms();
- Node431.refresh500ms();
- Node434.refresh500ms();
- Node435.refresh500ms();
- Node437.refresh500ms();
- Node438.refresh500ms();
- Node439.refresh500ms();
- Node440.refresh500ms();
- Node441.refresh500ms();
- Node442.refresh500ms();
- Node443.refresh500ms();
- Node444.refresh500ms();
- Node445.refresh500ms();
- Node446.refresh500ms();
- Node447.refresh500ms();
- Node448.refresh500ms();
- Node449.refresh500ms();
- Node450.refresh500ms();
- Node451.refresh500ms();
- Node452.refresh500ms();
- Node453.refresh500ms();
- Node454.refresh500ms();
- Node455.refresh500ms();
- Node456.refresh500ms();
- Node457.refresh500ms();
- Node458.refresh500ms();
- Node459.refresh500ms();
- Node460.refresh500ms();
- Node461.refresh500ms();
- Node462.refresh500ms();
- Node463.refresh500ms();
- Node464.refresh500ms();
- Node465.refresh500ms();
- Node466.refresh500ms();
- Node467.refresh500ms();
- Node468.refresh500ms();
- Node469.refresh500ms();
- Node470.refresh500ms();
- Node471.refresh500ms();
- Node472.refresh500ms();
- Node473.refresh500ms();
- Node474.refresh500ms();
- Node475.refresh500ms();
- Node476.refresh500ms();
- Node477.refresh500ms();
- Node478.refresh500ms();
- Node479.refresh500ms();
- Node480.refresh500ms();
- Node481.refresh500ms();
- Node482.refresh500ms();
- Node483.refresh500ms();
- Node484.refresh500ms();
- Node485.refresh500ms();
- Node486.refresh500ms();
- Node487.refresh500ms();
- Node488.refresh500ms();
- Node489.refresh500ms();
- Node490.refresh500ms();
- Node491.refresh500ms();
- Node492.refresh500ms();
- Node493.refresh500ms();
- Node494.refresh500ms();
- Node495.refresh500ms();
- Node496.refresh500ms();
- Node497.refresh500ms();
- Node498.refresh500ms();
- Node499.refresh500ms();
- Node500.refresh500ms();
- Node501.refresh500ms();
- Node502.refresh500ms();
- Node503.refresh500ms();
- Node504.refresh500ms();
- Node505.refresh500ms();
- Node506.refresh500ms();
- Node507.refresh500ms();
- Node508.refresh500ms();
- Node509.refresh500ms();
- Node510.refresh500ms();
- Node511.refresh500ms();
- Node512.refresh500ms();
- Node513.refresh500ms();
- Node514.refresh500ms();
- Node515.refresh500ms();
- if((1 )>0) {if(((getVarValue('GJB_DQ.SX_GD_YYF_DQ_P1_L1_001_AI0323'))>0 )){Node516.s('2d.visible',true);}else{Node516.s('2d.visible',false);}}
- if((1 )>0) {if(((A==0)>0 )){Node609_0.s('2d.visible',true);}else{Node609_0.s('2d.visible',false);}}
- if((1 )>0) {if(((A==0)>0 )){Node609_1.s('2d.visible',true);}else{Node609_1.s('2d.visible',false);}}
- if((1 )>0) {if(((A==1)>0 )){Node610_0.s('2d.visible',true);}else{Node610_0.s('2d.visible',false);}}
- if((1 )>0) {if(((A==1)>0 )){Node610_1.s('2d.visible',true);}else{Node610_1.s('2d.visible',false);}}
- if((1 )>0) {if(((B==0)>0 )){Node611_0.s('2d.visible',true);}else{Node611_0.s('2d.visible',false);}}
- if((1 )>0) {if(((B==0)>0 )){Node611_1.s('2d.visible',true);}else{Node611_1.s('2d.visible',false);}}
- if((1 )>0) {if(((B==1)>0 )){Node612_0.s('2d.visible',true);}else{Node612_0.s('2d.visible',false);}}
- if((1 )>0) {if(((B==1)>0 )){Node612_1.s('2d.visible',true);}else{Node612_1.s('2d.visible',false);}}
- if((1 )>0) {if(((C==0)>0 )){Node613_0.s('2d.visible',true);}else{Node613_0.s('2d.visible',false);}}
- if((1 )>0) {if(((C==0)>0 )){Node613_1.s('2d.visible',true);}else{Node613_1.s('2d.visible',false);}}
- if((1 )>0) {if(((C==1)>0 )){Node614_0.s('2d.visible',true);}else{Node614_0.s('2d.visible',false);}}
- if((1 )>0) {if(((C==1)>0 )){Node614_1.s('2d.visible',true);}else{Node614_1.s('2d.visible',false);}}
- if((1 )>0) {if(((D==1)>0 )){Node615_0.s('2d.visible',true);}else{Node615_0.s('2d.visible',false);}}
- if((1 )>0) {if(((D==1)>0 )){Node615_1.s('2d.visible',true);}else{Node615_1.s('2d.visible',false);}}
- if((1 )>0) {if(((D==0)>0 )){Node616_0.s('2d.visible',true);}else{Node616_0.s('2d.visible',false);}}
- if((1 )>0) {if(((D==0)>0 )){Node616_1.s('2d.visible',true);}else{Node616_1.s('2d.visible',false);}}
- if((1 )>0) {if(((E==1)>0 )){Node617_0.s('2d.visible',true);}else{Node617_0.s('2d.visible',false);}}
- if((1 )>0) {if(((E==1)>0 )){Node617_1.s('2d.visible',true);}else{Node617_1.s('2d.visible',false);}}
- if((1 )>0) {if(((E==0)>0 )){Node618_0.s('2d.visible',true);}else{Node618_0.s('2d.visible',false);}}
- if((1 )>0) {if(((E==0)>0 )){Node618_1.s('2d.visible',true);}else{Node618_1.s('2d.visible',false);}}
- if((1 )>0) {if(((F==0)>0 )){Node619_0.s('2d.visible',true);}else{Node619_0.s('2d.visible',false);}}
- if((1 )>0) {if(((F==0)>0 )){Node619_1.s('2d.visible',true);}else{Node619_1.s('2d.visible',false);}}
- if((1 )>0) {if(((F==1)>0 )){Node620_0.s('2d.visible',true);}else{Node620_0.s('2d.visible',false);}}
- if((1 )>0) {if(((F==1)>0 )){Node620_1.s('2d.visible',true);}else{Node620_1.s('2d.visible',false);}}
- /*@Timer500ms@*/
- // graphView.redraw();
- }
- intervalTimers.push(setInterval(Timer500msCmd, 500));
- function Timer1sCmd() {
- Counter1s++;
- if (moment(Date.now()).format('HH:mm:ss') === '23:59:59' && Counter1s > 5) location.reload();
- Node28_0.refresh1s(Counter1s);
- Node41.refresh1s(Counter1s);
- Node42.refresh1s(Counter1s);
- Node45_0.refresh1s(Counter1s);
- Node58.refresh1s(Counter1s);
- Node59.refresh1s(Counter1s);
- Node61_0.refresh1s(Counter1s);
- Node62_0.refresh1s(Counter1s);
- Node69.refresh1s(Counter1s);
- Node72_0.refresh1s(Counter1s);
- Node81.refresh1s(Counter1s);
- Node82.refresh1s(Counter1s);
- Node113.refresh1s(Counter1s);
- Node119.refresh1s(Counter1s);
- Node135.refresh1s(Counter1s);
- Node139.refresh1s(Counter1s);
- Node143.refresh1s(Counter1s);
- Node144.refresh1s(Counter1s);
- Node152.refresh1s(Counter1s);
- Node153.refresh1s(Counter1s);
- Node156.refresh1s(Counter1s);
- Node160.refresh1s(Counter1s);
- Node164.refresh1s(Counter1s);
- Node165.refresh1s(Counter1s);
- Node173.refresh1s(Counter1s);
- Node174.refresh1s(Counter1s);
- Node181.refresh1s(Counter1s);
- Node184.refresh1s(Counter1s);
- Node185.refresh1s(Counter1s);
- Node189.refresh1s(Counter1s);
- Node191.refresh1s(Counter1s);
- Node212.refresh1s(Counter1s);
- Node213.refresh1s(Counter1s);
- Node220.refresh1s(Counter1s);
- Node221.refresh1s(Counter1s);
- Node223.refresh1s(Counter1s);
- Node226.refresh1s(Counter1s);
- Node227.refresh1s(Counter1s);
- Node229.refresh1s(Counter1s);
- Node267_0.refresh1s(Counter1s);
- Node267_5.refresh1s(Counter1s);
- Node268_0.refresh1s(Counter1s);
- Node282.refresh1s(Counter1s);
- Node283.refresh1s(Counter1s);
- Node287.refresh1s(Counter1s);
- Node289.refresh1s(Counter1s);
- Node331.refresh1s(Counter1s);
- Node332.refresh1s(Counter1s);
- Node333.refresh1s(Counter1s);
- Node334.refresh1s(Counter1s);
- Node335.refresh1s(Counter1s);
- Node336.refresh1s(Counter1s);
- Node337.refresh1s(Counter1s);
- Node338.refresh1s(Counter1s);
- Node339.refresh1s(Counter1s);
- Node340.refresh1s(Counter1s);
- Node341.refresh1s(Counter1s);
- Node342.refresh1s(Counter1s);
- Node343.refresh1s(Counter1s);
- Node344.refresh1s(Counter1s);
- Node345.refresh1s(Counter1s);
- Node346.refresh1s(Counter1s);
- Node347.refresh1s(Counter1s);
- Node350.refresh1s(Counter1s);
- Node351.refresh1s(Counter1s);
- Node353.refresh1s(Counter1s);
- Node356.refresh1s(Counter1s);
- Node357.refresh1s(Counter1s);
- Node359.refresh1s(Counter1s);
- Node362.refresh1s(Counter1s);
- Node363.refresh1s(Counter1s);
- Node365.refresh1s(Counter1s);
- Node368.refresh1s(Counter1s);
- Node369.refresh1s(Counter1s);
- Node371.refresh1s(Counter1s);
- Node374.refresh1s(Counter1s);
- Node375.refresh1s(Counter1s);
- Node377.refresh1s(Counter1s);
- Node380.refresh1s(Counter1s);
- Node381.refresh1s(Counter1s);
- Node383.refresh1s(Counter1s);
- Node386.refresh1s(Counter1s);
- Node387.refresh1s(Counter1s);
- Node389.refresh1s(Counter1s);
- Node392.refresh1s(Counter1s);
- Node393.refresh1s(Counter1s);
- Node395.refresh1s(Counter1s);
- Node398.refresh1s(Counter1s);
- Node399.refresh1s(Counter1s);
- Node401.refresh1s(Counter1s);
- Node404.refresh1s(Counter1s);
- Node405.refresh1s(Counter1s);
- Node407.refresh1s(Counter1s);
- Node410.refresh1s(Counter1s);
- Node411.refresh1s(Counter1s);
- Node413.refresh1s(Counter1s);
- Node416.refresh1s(Counter1s);
- Node417.refresh1s(Counter1s);
- Node419.refresh1s(Counter1s);
- Node422.refresh1s(Counter1s);
- Node423.refresh1s(Counter1s);
- Node425.refresh1s(Counter1s);
- Node428.refresh1s(Counter1s);
- Node429.refresh1s(Counter1s);
- Node431.refresh1s(Counter1s);
- Node434.refresh1s(Counter1s);
- Node435.refresh1s(Counter1s);
- Node437.refresh1s(Counter1s);
- Node438.refresh1s(Counter1s);
- Node439.refresh1s(Counter1s);
- Node440.refresh1s(Counter1s);
- Node441.refresh1s(Counter1s);
- Node442.refresh1s(Counter1s);
- Node443.refresh1s(Counter1s);
- Node444.refresh1s(Counter1s);
- Node445.refresh1s(Counter1s);
- Node446.refresh1s(Counter1s);
- Node447.refresh1s(Counter1s);
- Node448.refresh1s(Counter1s);
- Node449.refresh1s(Counter1s);
- Node450.refresh1s(Counter1s);
- Node451.refresh1s(Counter1s);
- Node452.refresh1s(Counter1s);
- Node453.refresh1s(Counter1s);
- Node454.refresh1s(Counter1s);
- Node455.refresh1s(Counter1s);
- Node456.refresh1s(Counter1s);
- Node457.refresh1s(Counter1s);
- Node458.refresh1s(Counter1s);
- Node459.refresh1s(Counter1s);
- Node460.refresh1s(Counter1s);
- Node461.refresh1s(Counter1s);
- Node462.refresh1s(Counter1s);
- Node463.refresh1s(Counter1s);
- Node464.refresh1s(Counter1s);
- Node465.refresh1s(Counter1s);
- Node466.refresh1s(Counter1s);
- Node467.refresh1s(Counter1s);
- Node468.refresh1s(Counter1s);
- Node469.refresh1s(Counter1s);
- Node470.refresh1s(Counter1s);
- Node471.refresh1s(Counter1s);
- Node472.refresh1s(Counter1s);
- Node473.refresh1s(Counter1s);
- Node474.refresh1s(Counter1s);
- Node475.refresh1s(Counter1s);
- Node476.refresh1s(Counter1s);
- Node477.refresh1s(Counter1s);
- Node478.refresh1s(Counter1s);
- Node479.refresh1s(Counter1s);
- Node480.refresh1s(Counter1s);
- Node481.refresh1s(Counter1s);
- Node482.refresh1s(Counter1s);
- Node483.refresh1s(Counter1s);
- Node484.refresh1s(Counter1s);
- Node485.refresh1s(Counter1s);
- Node486.refresh1s(Counter1s);
- Node487.refresh1s(Counter1s);
- Node488.refresh1s(Counter1s);
- Node489.refresh1s(Counter1s);
- Node490.refresh1s(Counter1s);
- Node491.refresh1s(Counter1s);
- Node492.refresh1s(Counter1s);
- Node493.refresh1s(Counter1s);
- Node494.refresh1s(Counter1s);
- Node495.refresh1s(Counter1s);
- Node496.refresh1s(Counter1s);
- Node497.refresh1s(Counter1s);
- Node498.refresh1s(Counter1s);
- Node499.refresh1s(Counter1s);
- Node500.refresh1s(Counter1s);
- Node501.refresh1s(Counter1s);
- Node502.refresh1s(Counter1s);
- Node503.refresh1s(Counter1s);
- Node504.refresh1s(Counter1s);
- Node505.refresh1s(Counter1s);
- Node506.refresh1s(Counter1s);
- Node507.refresh1s(Counter1s);
- Node508.refresh1s(Counter1s);
- Node509.refresh1s(Counter1s);
- Node510.refresh1s(Counter1s);
- Node511.refresh1s(Counter1s);
- Node512.refresh1s(Counter1s);
- Node513.refresh1s(Counter1s);
- Node514.refresh1s(Counter1s);
- Node515.refresh1s(Counter1s);
- /*@Timer1000ms@*/
- // graphView.redraw();
- }
- Timer1sCmd();
- intervalTimers.push(setInterval(Timer1sCmd, 1000));
- function Timer5sCmd() {
- Counter5s++;
- Node28_0.refresh5s();
- Node41.refresh5s();
- Node42.refresh5s();
- Node45_0.refresh5s();
- Node58.refresh5s();
- Node59.refresh5s();
- Node61_0.refresh5s();
- Node62_0.refresh5s();
- Node69.refresh5s();
- Node72_0.refresh5s();
- Node81.refresh5s();
- Node82.refresh5s();
- Node113.refresh5s();
- Node119.refresh5s();
- Node135.refresh5s();
- Node139.refresh5s();
- Node143.refresh5s();
- Node144.refresh5s();
- Node152.refresh5s();
- Node153.refresh5s();
- Node156.refresh5s();
- Node160.refresh5s();
- Node164.refresh5s();
- Node165.refresh5s();
- Node173.refresh5s();
- Node174.refresh5s();
- Node181.refresh5s();
- Node184.refresh5s();
- Node185.refresh5s();
- Node189.refresh5s();
- Node191.refresh5s();
- Node212.refresh5s();
- Node213.refresh5s();
- Node220.refresh5s();
- Node221.refresh5s();
- Node223.refresh5s();
- Node226.refresh5s();
- Node227.refresh5s();
- Node229.refresh5s();
- Node267_0.refresh5s();
- Node267_5.refresh5s();
- Node268_0.refresh5s();
- Node282.refresh5s();
- Node283.refresh5s();
- Node287.refresh5s();
- Node289.refresh5s();
- Node331.refresh5s();
- Node332.refresh5s();
- Node333.refresh5s();
- Node334.refresh5s();
- Node335.refresh5s();
- Node336.refresh5s();
- Node337.refresh5s();
- Node338.refresh5s();
- Node339.refresh5s();
- Node340.refresh5s();
- Node341.refresh5s();
- Node342.refresh5s();
- Node343.refresh5s();
- Node344.refresh5s();
- Node345.refresh5s();
- Node346.refresh5s();
- Node347.refresh5s();
- Node350.refresh5s();
- Node351.refresh5s();
- Node353.refresh5s();
- Node356.refresh5s();
- Node357.refresh5s();
- Node359.refresh5s();
- Node362.refresh5s();
- Node363.refresh5s();
- Node365.refresh5s();
- Node368.refresh5s();
- Node369.refresh5s();
- Node371.refresh5s();
- Node374.refresh5s();
- Node375.refresh5s();
- Node377.refresh5s();
- Node380.refresh5s();
- Node381.refresh5s();
- Node383.refresh5s();
- Node386.refresh5s();
- Node387.refresh5s();
- Node389.refresh5s();
- Node392.refresh5s();
- Node393.refresh5s();
- Node395.refresh5s();
- Node398.refresh5s();
- Node399.refresh5s();
- Node401.refresh5s();
- Node404.refresh5s();
- Node405.refresh5s();
- Node407.refresh5s();
- Node410.refresh5s();
- Node411.refresh5s();
- Node413.refresh5s();
- Node416.refresh5s();
- Node417.refresh5s();
- Node419.refresh5s();
- Node422.refresh5s();
- Node423.refresh5s();
- Node425.refresh5s();
- Node428.refresh5s();
- Node429.refresh5s();
- Node431.refresh5s();
- Node434.refresh5s();
- Node435.refresh5s();
- Node437.refresh5s();
- Node438.refresh5s();
- Node439.refresh5s();
- Node440.refresh5s();
- Node441.refresh5s();
- Node442.refresh5s();
- Node443.refresh5s();
- Node444.refresh5s();
- Node445.refresh5s();
- Node446.refresh5s();
- Node447.refresh5s();
- Node448.refresh5s();
- Node449.refresh5s();
- Node450.refresh5s();
- Node451.refresh5s();
- Node452.refresh5s();
- Node453.refresh5s();
- Node454.refresh5s();
- Node455.refresh5s();
- Node456.refresh5s();
- Node457.refresh5s();
- Node458.refresh5s();
- Node459.refresh5s();
- Node460.refresh5s();
- Node461.refresh5s();
- Node462.refresh5s();
- Node463.refresh5s();
- Node464.refresh5s();
- Node465.refresh5s();
- Node466.refresh5s();
- Node467.refresh5s();
- Node468.refresh5s();
- Node469.refresh5s();
- Node470.refresh5s();
- Node471.refresh5s();
- Node472.refresh5s();
- Node473.refresh5s();
- Node474.refresh5s();
- Node475.refresh5s();
- Node476.refresh5s();
- Node477.refresh5s();
- Node478.refresh5s();
- Node479.refresh5s();
- Node480.refresh5s();
- Node481.refresh5s();
- Node482.refresh5s();
- Node483.refresh5s();
- Node484.refresh5s();
- Node485.refresh5s();
- Node486.refresh5s();
- Node487.refresh5s();
- Node488.refresh5s();
- Node489.refresh5s();
- Node490.refresh5s();
- Node491.refresh5s();
- Node492.refresh5s();
- Node493.refresh5s();
- Node494.refresh5s();
- Node495.refresh5s();
- Node496.refresh5s();
- Node497.refresh5s();
- Node498.refresh5s();
- Node499.refresh5s();
- Node500.refresh5s();
- Node501.refresh5s();
- Node502.refresh5s();
- Node503.refresh5s();
- Node504.refresh5s();
- Node505.refresh5s();
- Node506.refresh5s();
- Node507.refresh5s();
- Node508.refresh5s();
- Node509.refresh5s();
- Node510.refresh5s();
- Node511.refresh5s();
- Node512.refresh5s();
- Node513.refresh5s();
- Node514.refresh5s();
- Node515.refresh5s();
- /*@Timer5000ms@*/
- // graphView.redraw();
- }
- // intervalTimers.push(setInterval(Timer5sCmd, 5000));
- /*@EventTimer@*/
- //graphView.setInteractors(null);
- if (!!view) {
- view.eventList = view.eventList || {};
- }
- function blockDataFilter (data) {
- return !(data instanceof ht.Block || data.isLibBackground || data.__clickable === false);
- }
- var type ='mousedown';
- function doMouseDown (e, origin) {
- if(!ht.Default.isLeftButton(e)){return;}
- mouseX=e.clientX;
- mouseY=e.clientY;
- origin = origin || graphView;
- window.GD && GD.hideTagInfo();
- var data = origin.getDataAt(e, blockDataFilter);
- if (data && data.__parentLib) {
- _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'mousedown', origin);
- return;
- }
- if(data === Node3){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/ztjs2'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node5){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_yy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node7){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_pl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node9){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node11){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node13){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node610_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_yy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node610_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_yy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node612_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_yy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node612_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_yy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node614_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_yy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node614_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_yy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node615_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_yy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node615_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_yy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node617_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_yy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node617_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_yy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node620_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_yy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node620_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_yy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- /*@EvnentMouseDown@*/
- }
- view.eventList[type] = doMouseDown;
- view['on'+type] = function(e){
- doMouseDown(e);
- e.preventDefault();
- };
- type ='mouseup';
- function doMouseUp (e, origin) {
- if(!ht.Default.isLeftButton(e)){return;}
- origin = origin || graphView;
- var data = origin.getDataAt(e, blockDataFilter);
- if (data && data.__parentLib) {
- _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'mouseup', origin);
- return;
- }
- /*@EvnentMouseUp@*/
- }
- view.eventList[type] = doMouseUp;
- view['on'+type] = function(e){
- doMouseUp(e);
- e.preventDefault();
- };
- type ='click';
- function doClick (e, origin) {
- if(!ht.Default.isLeftButton(e)){return;}
- origin = origin || graphView;
- var data = origin.getDataAt(e, blockDataFilter);
- if (data && data.__parentLib) {
- _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'click', origin);
- return;
- }
- /*@EvnentClicked@*/
- }
- view.eventList[type] = doClick;
- view['on'+type] = function(e){
- doClick(e);
- e.preventDefault();
- };
- type ='mousemove';
- var objMouseOn = null, _objMouseOn = null;
- function doMouseMove (e, origin, offset) {
- var positon, data, zoom, _data, libData;
-
- origin = origin || graphView;
- position=origin.getLogicalPoint(e);
- zoom = graphView.getZoom();
- if (origin === graphView) {
- mouseX= position.x + origin.tx();
- mouseY = position.y + origin.ty();
- } else {
- offset = offset || {x: 0, y: 0};
- mouseX = position.x / zoom + offset.x + origin.tx();
- mouseY = position.y / zoom + offset.y + origin.ty();
- }
- data = origin.getDataAt(e, function (data) {return !(data instanceof ht.Block)});
- if(data === objMouseOn || data === _objMouseOn) return;
- // 如果是图元内的小图形,给libData赋值为图元本身,方便下面使用
- if (data && data.__parentLib && _libModel.getDataByKey(data.__parentLib)) {
- _data = data;
- data = libData = _libModel.getDataByKey(_data.__parentLib);
- }
- if(data !== Node3&& objMouseOn===Node3){sxxny=0; }
- if(data !== Node5&& objMouseOn===Node5){yygjb=0; }
- if(data !== Node7&& objMouseOn===Node7){plhts=0; }
- if(data !== Node9&& objMouseOn===Node9){tqwns=0; }
- if(data !== Node11&& objMouseOn===Node11){gljf=0; }
- if(data !== Node13&& objMouseOn===Node13){hyfy=0; }
- if(data !== Node15&& objMouseOn===Node15){llbts=0; }
- if(data !== Node17&& objMouseOn===Node17){ygcls=0; }
- if(data !== Node610_0&& objMouseOn===Node610_0){A=0; }
- if(data !== Node610_1&& objMouseOn===Node610_1){A=0; }
- if(data !== Node612_0&& objMouseOn===Node612_0){B=0; }
- if(data !== Node612_1&& objMouseOn===Node612_1){B=0; }
- if(data !== Node614_0&& objMouseOn===Node614_0){C=0; }
- if(data !== Node614_1&& objMouseOn===Node614_1){C=0; }
- if(data !== Node615_0&& objMouseOn===Node615_0){D=0; }
- if(data !== Node615_1&& objMouseOn===Node615_1){D=0; }
- if(data !== Node617_0&& objMouseOn===Node617_0){E=0; }
- if(data !== Node617_1&& objMouseOn===Node617_1){E=0; }
- if(data !== Node620_0&& objMouseOn===Node620_0){F=0; }
- if(data !== Node620_1&& objMouseOn===Node620_1){F=0; }
- /*@EvnentMouseLeave@*/
- if (objMouseOn && objMouseOn._baseClass && objMouseOn._baseClass.match(/^ht.lib/)) {
- objMouseOn.onEvent(e, _data, 'mousemove', origin, offset, _objMouseOn);
- }
- objMouseOn = data;
- _objMouseOn = _data;
- if(data === Node4){sxxny=1; }
- if(data === Node6){yygjb=1; }
- if(data === Node8){plhts=1; }
- if(data === Node10){tqwns=1; }
- if(data === Node12){gljf=1; }
- if(data === Node14){hyfy=1; }
- if(data === Node16){llbts=1; }
- if(data === Node18){ygcls=1; }
- if(data === Node609_0){A=1; }
- if(data === Node609_1){A=1; }
- if(data === Node611_0){B=1; }
- if(data === Node611_1){B=1; }
- if(data === Node613_0){C=1; }
- if(data === Node613_1){C=1; }
- if(data === Node616_0){D=1; }
- if(data === Node616_1){D=1; }
- if(data === Node618_0){E=1; }
- if(data === Node618_1){E=1; }
- if(data === Node619_0){F=1; }
- if(data === Node619_1){F=1; }
- /*@EvnentMouseOver@*/
- if (data && data._baseClass && data._baseClass.match(/^ht.lib/)) {
- data.onEvent(e, _data, 'mousemove', origin, offset, _objMouseOn);
- }
- }
- view.eventList[type] = doMouseMove;
- view['on'+type] = function(e){
- doMouseMove(e);
- e.preventDefault();
- };
- window.onkeydown = function doKeyDown(e) {
- var keyID = e.keyCode ? e.keyCode :e.which;
- //if(keyID === 87) { }
- /*@EvnentKeyDown@*/
- // if (keyID === 27 && graphView) {
- // graphView.setZoom(1);
- // graphView.tx(0);
- // graphView.ty(0);
- // }
- return;
- }
- /*@Event@*/
- /*@Declare@*/
- var contextmenu = new ht.widget.ContextMenu();
- contextmenu.contextMenuHoverBackground='rgb(104,216,255)';
- contextmenu.contextMenuBackground='rgb(255,255,255)';
- contextmenu.contextMenuHoverLabelColor='rgb(255,255,255)';
- contextmenu.contextMenuLabelColor='rgb(48,48,48)';
- contextmenu.beforeShow = function(e, gv) {
- gv = gv || graphView;
- if (e.originEvent && e.originEvent.currentTarget && e.originEvent.currentTarget.className === 'main') {
- gv = graphView;
- }
- this.setItems(null);
- window.GD && GD.hideTagInfo();
- var data = gv.getDataAt(e) || graphView.getDataAt(e);
- if (data && data.__parentLib) {
- _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'contextmenu', gv, {}, {}, this);
- return;
- }
- //if(false);
- /*@SetNodeContextMenu@*/
- /*@SetPageContextMenu@*/
- };
- contextmenu.afterShow = function (e) {
- var fontSize = 14,
- screenWidth = window.screen.width,
- screenHeight = window.screen.height,
- rx = screenWidth / 1920,
- ry = screenHeight / 1080,
- itemHeight = 30 * ry,
- fontFamily = '',
- width = 150 * rx;
- itemHeight = itemHeight > 30 ? itemHeight : 30;
- var $contextMenu = $(this.getView());
- $contextMenu.find('.contextmenu-item-icon').css({
- width: 14,
- height: 14,
- marginRight: 10
- });
- $contextMenu.find('li.menu-item').css({
- fontSize: fontSize,
- fontWeight: 600,
- height: itemHeight,
- minHeight: 25,
- lineHeight: itemHeight + 'px',
- fontFamily: fontFamily,
- padding: 0
- });
- $contextMenu.find('ul').css({
- width: width,
- minWidth: 100
- });
- contextmenu.setLabelMaxWidth((width > 120 ? width : 120) - 40);
- };
- view.eventList && (view.eventList['contextMenu'] = contextmenu);
- contextmenu.addTo(view);
- contextMenuOnViewList.push(contextmenu);
- /*@ControlContextMenu@*/
- graphView.getSelectWidth = function() { return 0; };
- (function () {
- var $mainContainer,
- mainContainerHeight,
- mainContainerWidth,
- originHeight,
- originWidth,
- ratioX,
- ratioY,
- isPageContainer = false;
- graphView._pageBackgroundNode = PageBackground;
- if (pageSizeRatioValue !== 'adaptBrowser') {
- window.GD && GD.setPageToCenterOrLeftTop();
- }
- function throttle () {
- var timer = null;
- return function () {
- timer && clearTimeout(timer);
- timer = setTimeout(function () {
- var value = GD.getParams('pageSizeRatioValue') || {};
- value = value.value || PageAdaptMode.value;
- GD.setPageSizeWithRatio(value, ratio, backSize);
- }, 200)
- }
- }
- try {
- if (window.parent && window.parent.openDialog) {
- autoAdaptive = false;
- }
- } catch (error) {}
- try {
- if (window.parent && window.parent.pageContainer) {
- graphView.handleScroll = function (data) {
- var t = graphView.ty() - data.deltaY;
- var contentSize = graphView.getContentRect();
- var min = contentSize.height - graphView.getHeight() + 50;
-
- if (min <= 50)
- return ;
- graphView.setTranslate(0, t, true);
- graphView.setScrollBarSize(8);
- }
- graphView.adjustTranslateY = function (value) {
- var contentSize = graphView.getContentRect();
- var min = graphView.getHeight() - contentSize.height - 50;
-
- value = value > 0 ? 0 : value;
- value = value < min ? min : value;
- return value;
- }
- autoAdaptive = false;
- isPageContainer = true;
- }
- } catch (error) {}
- if (autoAdaptive !== false && autoAdaptive !== 'false' && autoAdaptive !== 'False') {
- graphView.setScrollBarVisible(false);
- if (!graphView._pannable) {
- graphView.adjustTranslateX = function () {return 0};
- graphView.adjustTranslateY = function () {return 0};
- }
- $window.off('resize').on('resize', throttle());
- // setTimeout(resizePage, 100);
- showPage();
- } else {
- showPage();
- graphView.fitContent(false,0,true);
- $window.off('resize').on('resize', function (e) {
- if (!!isPageContainer) {
- window.parent.postMessage('getZoom', '*');
- } else {
- graphView.fitContent(false,0,true);
- }
- })
- }
- var graphViewTimer = null;
- // 监听鼠标缩放页面事件
- graphView.adjustZoom = function (value) {
- graphViewTimer && clearTimeout(graphViewTimer);
- graphViewTimer = setTimeout(function () {
- $window.trigger('graphViewZoomEnded', [value]);
- GD.resetNodeBorderWidth(zoomNodeList, 1/value);
- }, 80)
- return value;
- }
- $window.off('customEventResizeNodes').on('customEventResizeNodes', function (e) {
- var data = e.args;
- var value = GD.getParams('pageSizeRatioValue') || {};
- value = value.value || PageAdaptMode.value;
- GD.setPageSizeWithRatio(value, ratio, backSize);
- graphView.setZoom(data.zoom);
- graphView.tx(0);
- graphView.ty(0);
- });
- $window.off('beforeunload').on("beforeunload", function( event ) {
- try {
- sessionStorage.setItem(location.pathname, JSON.stringify(VarValue));
- } catch (error) {console.log(error.message);}
- ;(function () {
- var GD = window.GD;
- if (!GD || typeof GD.removeParams !== 'function') return ;
- GD.removeParams();
- GD.removeParams('pageSizeRatioValue');
- })();
-
- });
- graphView.setScrollBarColor('rgba(211,211,211,1)');
- graphView.setAutoHideScrollBar(false);
- GD.autoToggleScrollBar();
- // ;(function () {
- // var oriX=browserSize.width/backSize.width;
- // var oriY=browserSize.height/backSize.height;
- // var json = [
- // {
- // label: "25%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(0.25);
- // }
- // },
- // {
- // label: "50%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(0.5);
- // }
- // },
- // {
- // label: "100%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(1);
- // }
- // },
- // {
- // label: "200%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(2);
- // }
- // },
-
- // {
- // label: "400%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(4);
- // }
- // },
-
- // {
- // label: "实际大小",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio('originSize');
- // }
- // },
- // {
- // label: '适合屏幕',
- // action: function (item, event) {
- // GD.setPageSizeWithRatio('adaptBrowser');
- // }
- // },
- // {
- // label: "适合宽度",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio('adaptWidth');
- // }
- // },
- // {
- // label: "适合高度",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio('adaptHeight');
- // }
- // },
- // ];
-
- // var zoomMenu = new ht.widget.ContextMenu(json);
- // zoomMenu.disableGlobalKey();
- // zoomMenu.setLabelMaxWidth(100);
- // zoomMenu.addTo($('.main')[0]);
- // })();
-
- (function () {
- var btnstr="停止数据刷新";
- var json = [], item1, item2;
- item1 = {
- label: btnstr,
- action: function(item, event) {
- if(btnstr=="停止数据刷新"){
- clearInterval(intervalTimers[0]);
- intervalTimers.shift(intervalTimers[0]);
- btnstr="开启数据刷新";
- json[0].label=btnstr;
- }else{
- intervalTimers.unshift(setInterval(DatarefreshTask, 1000));
- btnstr="停止数据刷新";
- json[0].label=btnstr;
- }
- }
- };
- item2 = {
- label: "下载本页所有测点",
- action: function(item, event) {
- var time = new Date();
- var t=time.getFullYear() + "-" + (time.getMonth() + 1) + "-" + time.getDate() + " " + time.getHours() + ":" + time.getMinutes() + ":" + time.getSeconds();
- var str= "测点名\n";
- for(var i=0;i<varList.length;i++){
- str+=varList[i]+"\n"
- }
- str = encodeURIComponent(str);
- var link = document.createElement("a");
- link.download = t+"测点名称集合.csv";
- link.href ="data:text/csv;charset=utf-8,\ufeff"+str;
- link.click();
- }
- };
- item3 = {
- label: "历史回放",
- action: function(item, event) {
- createHisBackDialog(DatarefreshTask);
- }
- };
- item4 = {
- label: "保存页面图片",
- action: function(item, event) {
- savehtmlToJpg();
- }
- };
- if (false) {
- json.push(item1);
- }
- if (false) {
- json.push(item2);
- }
- if(false){
- json.push(item3);
- }
- if(false){
- json.push(item4);
- }
- function addContextMenu() {
- var dataMenu = new ht.widget.ContextMenu();
- dataMenu.enableGlobalKey();
- dataMenu.setLabelMaxWidth(120);
- dataMenu.addTo(view);
- contextMenuOnViewList.push(dataMenu);
- dataMenu.beforeShow=function(e){
- if(e.originEvent.target.className=="main"){
- if(typeof(graphView.getDataAt(e))=="undefined"){
- this.setItems(json);
- }else if(typeof(graphView.getDataAt(e)._attrObject)=="undefined"){
- this.setItems(json);
- }else{
- this.setItems(null);
- }
- }else{
- this.setItems(null);
- }
- }
- };
- if (json.length > 0) {
- addContextMenu();
- }
- })();
-
- })();
- }
|