123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535 |
- /*@WebApiFunc@*/
- var varList = ['WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0057','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0058','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0059','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0087','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0088','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0089','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0126','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0132','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0139','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0145','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0152','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0158','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0314','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0317','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0321','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0324','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0328','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0331','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0348','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0349','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0350','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0351','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0352','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0353','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0347','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0283','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0284','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0285','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0008','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0009','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0010','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0286','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0289','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0290','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0291','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0292','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0001','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0011','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0012','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0204','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0210','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0191','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0197','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0178','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0184','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0019','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0029','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0030','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0032','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0033','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0039','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0040','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0041','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0042','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0043','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0044','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0034','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0016','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0017','WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0018','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0004','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0009','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0129','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0130','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0131','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0171','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0144','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0140','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0168','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0160','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0164','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0196','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0038','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0034','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0065','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0061WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0054','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0188','GS_JCD.LN_GD_WNS_JS_XX_XX_XXX_CI0002','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0125','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0124','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0077','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0126','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0089','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0085','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0116','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0112','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0108','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0192'];
- var varListObj = {};
- var tagInfoDic={};
- // 用于保存所有的lib
- var mouseX=0,mouseY=0;
- var zoomNodeList = zoomNodeList || [];
- zoomNodeList.length = 0;
- var contextMenuOnViewList = contextMenuOnViewList || [];
- var globalVarNameList = globalVarNameList || [];
- var ratio = {ratioX: 1, ratioY: 1};
- // 保存加上图形旋转之后的缩放比例
- var _ratio = {ratioX: 1, ratioY: 1};
- var autoAdaptive = '@autoAdaptive@';
- var browserSize = {
- width: window.innerWidth || $window.innerWidth(),
- height: window.innerHeight || $window.innerHeight()
- }
- var globalVarObj = {};
- var globarParamsObj = {};
- var globalAliasObj = {};
- var pageSizeRatioValue;
- var PAGESCALABLE; // 页面是否可通过滚轮缩放
- var PageAdaptMode = {
- value: '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_wn': ['lib/倒置 接地刀闸通用图元.js','lib/开关通用图元.js','lib/断路器通用图元.js','lib/手车通用图元.js','lib/23456567.js','lib/pt接地.js','lib/接地.js','lib/紫箭头.js','lib/as.js','lib/矩形箭头竖.js','lib/mm.js','lib/矩形箭头上.js','lib/黄色接地.js','lib/ss.js','lib/主变.js','lib/fff.js','lib/img.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< 88 ;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;
- ztjs=0;
- ldjsc=0;
- sbjz=0;
- xnfx=0;
- pjgl=0;
- zbph=0;
- dbgl=0;
- bjzx=0;
- jrjs=0;
- sxxny=0;
- yygjb=0;
- plhts=0;
- tqwns=0;
- gljf=0;
- hyfy=0;
- llbts=0;
- ygcls=0;
- fs=0;
- sjgl=0;
- yfgl=0;
- rfdl=0;
- yfdl=0;
- ylyxx=0;
- nfdl=0;
- nlyxs=0;
- llfdl=0;
- whssdl=0;
- gzssdl=0;
- xdssdl=0;
- slssdl=0;
- A=0;
- B=0;
- C=0;
- D=0;
- E=0;
- F=0;
- Node25_xianshi4="0";
- Node26_xianshi4="0";
- Node27_xianshi4="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0005";
- Node28_xianshi4="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0004";
- Node29_xianshi4="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0004";
- Node30_xianshi4="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0452";
- Node31_xianshi4="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0451";
- Node32_xianshi4="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0011";
- Node33_xianshi4="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0010";
- Node34_xianshi4="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0453";
- Node35_xianshi4="0";
- Node36_xianshi4="0";
- Node37_xianshi4="0";
- Node38_xianshi4="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0017";
- Node39_xianshi4="0";
- Node40_xianshi4="0";
- Node41_xianshi4="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0386";
- Node42_xianshi4="0";
- Node43_xianshi4="0";
- Node44_xianshi4="0";
- Node45_xianshi4="0";
- Node46_xianshi4="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0462";
- Node47_xianshi4="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0465";
- Node48_xianshi4="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0468";
- Node49_xianshi4="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0471";
- Node50_xianshi4="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0474";
- Node51_xianshi4="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0477";
- Node52_xianshi="0";
- Node53_xianshi="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0002";
- Node54_xianshi="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0003";
- Node55_xianshi="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0449";
- Node56_xianshi="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0007";
- Node57_xianshi1="0";
- Node58_xianshi1="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0001";
- Node59_xianshi1="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0448";
- Node60_xianshi2="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0021";
- Node61_xianshi1="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0018";
- Node62_xianshi2="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0092";
- Node63_xianshi1="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0444";
- Node64_xianshi2="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0098";
- Node65_xianshi1="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0445";
- Node66_xianshi2="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0080";
- Node67_xianshi1="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0446";
- Node68_xianshi2="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0685";
- Node69_xianshi1="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0682";
- Node70_xianshi2="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0476";
- Node71_xianshi1="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0478";
- Node72_xianshi2="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0473";
- Node73_xianshi1="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0475";
- Node74_xianshi2="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0470";
- Node75_xianshi1="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0472";
- Node76_xianshi2="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0467";
- Node77_xianshi1="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0469";
- Node408_xianshi2="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI2640";
- Node409_xianshi2="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0464";
- Node410_xianshi1="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0466";
- Node411_xianshi2="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0461";
- Node412_xianshi1="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0463";
- Node413_xianshi2="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0458";
- Node414_xianshi2="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0460";
- Node415_xianshi2="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0086";
- Node416_xianshi1="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0443";
- Node417_xianshi2="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0074";
- Node418_xianshi1="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0442";
- Node419_xianshi2="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0068";
- Node420_xianshi1="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0441";
- Node421_xianshi2="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0062";
- Node422_xianshi1="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0440";
- Node423_xianshi2="0";
- Node424_xianshi1="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0439";
- Node425_xianshi2="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0055";
- Node426_xianshi2="0";
- Node427_xianshi1="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0438";
- Node428_xianshi2="0";
- Node429_xianshi1="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0437";
- Node430_xianshi1="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0115";
- Node431_xianshi1="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0111";
- Node432_xianshi1="0";
- Node433_xianshi1="WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0459";
- /*@PageBeforeInit@*/
- ;(function () {
- var GD = window.GD;
- if (!GD || typeof GD.useParams !== 'function') return ;
- GD.useParams();
- })();
- var backSize = {width: 1899, height: 950};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, 950*_ratio.ratioY, PageBackgroundtype, '@arcFrom@', '@arcTo@', '@arcClose@'));
- PageBackground.setPosition(949*ratio.ratioX, 475*ratio.ratioY);
- PageBackground.setSize(1899*_ratio.ratioX, 950*_ratio.ratioY);
- PageBackground.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- PageBackground.a('node.width', 1899*_ratio.ratioX);
- PageBackground.a('node.height', 950*_ratio.ratioY);
- PageBackground.a('node.type', PageBackgroundtype);
- PageBackground.a('node.rect', [0, 0, 1899*_ratio.ratioX, 950*_ratio.ratioY]);
- PageBackground.a('node.background', 'rgba(255,255,255,1)');
- PageBackground.a('node.gradientcolor', 'rgba(255,255,255,1)');
- PageBackground.a('node.gradient', '');
- PageBackground.a('node.borderwidth', PageBackgroundBorderWidth);
- PageBackground.a('node.color', 'rgba(0,0,0,1)');
- PageBackground.a('node.fillrect', [0,0,0,0]);
- PageBackground.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- PageBackground.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- PageBackground.a('node.fillgradient', '');
- if (PageBackgroundtype !== 'rect') {
- PageBackground.a('node.arcFrom', parseFloat('@arcFrom@'));
- PageBackground.a('node.arcTo', parseFloat('@arcTo@'));
- PageBackground.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (PageBackgroundtype === 'arc') {
- PageBackground.a('node.arcOval', true);
- }
- PageBackground.setRotation(0*Math.PI/180);
- PageBackground.borderWidth = PageBackgroundBorderWidth;
- PageBackground.borderFillwidth = PageBackgroundBorderWidth;
- dataModel.add(PageBackground);
- PageBackground._nodename = 'PageBackground'
- PageBackground._nodeType = 'rect';
- zoomNodeList.push({
- node: PageBackground,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(PageBackground, PageBackground.getImage());PageBackground.s({'2d.selectable': false,'2d.movable': false});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0 = new ht.Node();
- var Node0textStart, Node0textWidth, Node0lineStart, Node0align = 'center', Node0fontSize = 14.66663*_ratio.ratioY,Node0width = 67*_ratio.ratioX, Node0height = 26*_ratio.ratioY;
- (function () {
- if (Node0align === 'left') {
- Node0textStart = Node0fontSize * 0.2 > 2 ? Node0fontSize * 0.2 - 4 : Node0fontSize * 0.2 - 9;
- Node0textWidth = Node0width;
- Node0lineStart = 1;
- } else if (Node0align === 'right') {
- Node0textStart = 0;
- Node0textWidth =Node0fontSize <= 8 ? Node0width + Node0fontSize * 0.2 + 6 : Node0width - Node0fontSize * 0.2;
- Node0lineStart = (Node0width - (ht.Default.getTextSize('台', ' '+ Node0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0align === 'center') {
- Node0textStart = -3;
- Node0textWidth = Node0width;
- Node0lineStart = Node0width - ht.Default.getTextSize('台', ' '+ Node0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0.setImage(GD.getTextJSON(Node0width, Node0height, true, false, false, ' '+ Node0fontSize + 'px "Arial"'))
- Node0.setPosition(1860*ratio.ratioX, 86*ratio.ratioY);
- Node0.setWidth(Node0width);
- Node0.setHeight(Node0height);
- Node0._nodeType = 'text';
- Node0._disallowEvert = true;
- Node0.setRotation(0*Math.PI/180);
- Node0.a('node.width', Node0width);
- Node0.a('node.height', Node0height);
- Node0.a('node.rect', [0, 0, Node0width, Node0height]);
- Node0.a('node.bordercolor','rgba(105,105,105,1)');
- Node0.a('node.borderwidth', 0);
- Node0.a('node.background','' || 'rgba(0,0,0,0)');
- Node0.a('node.gradient','');
- Node0.a('node.gradientcolor','');
- Node0.a('node.text','台');
- Node0.a('node.textalign','center');
- Node0.a('node.textvAlign','middle');
- Node0.a('node.textrect', [Node0textStart, 0, Node0textWidth, Node0height]);
- Node0.a('node.color','rgba(105,105,105,1)');
- Node0.a('node.font',' '+ Node0fontSize + 'px "Arial"');
- Node0.a('node.textvisible',true);
- Node0.a('node.linefeed',false);
- if (false) {
- Node0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0.a('node.text') || '台';
- var color=Node0.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0width,Node0height,14.66663*_ratio.ratioY,"center",color,' '+ Node0fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0.a('node.underlinepoints',[Node0lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node0fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node0fontSize + 'px "Arial"').width + 6, (Node0height - Node0fontSize) * 0.5*_ratio.ratioY + Node0fontSize + 2 ]);
- Node0.a('node.underlinevisible',false);
- Node0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0);
- zoomNodeList.push({
- node: Node0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _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, 147*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 Node2type = 'rect';
- var Node2 = new ht.Node(),
- Node2BorderWidth = 0*2;
- if (Node2type === 'arc') {
- Node2BorderWidth *= 0;
- }
- Node2.setImage(GD.getRectJSON(27*_ratio.ratioX, 121*_ratio.ratioY, Node2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node2.setPosition(13*ratio.ratioX, 100*ratio.ratioY);
- Node2.setSize(27*_ratio.ratioX, 121*_ratio.ratioY);
- Node2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node2.a('node.width', 27*_ratio.ratioX);
- Node2.a('node.height', 121*_ratio.ratioY);
- Node2.a('node.type', Node2type);
- Node2.a('node.rect', [0, 0, 27*_ratio.ratioX, 121*_ratio.ratioY]);
- Node2.a('node.background', 'rgba(0,132,216,1)');
- Node2.a('node.gradientcolor', 'rgba(0,132,216,1)');
- Node2.a('node.gradient', '');
- Node2.a('node.borderwidth', Node2BorderWidth);
- Node2.a('node.color', 'rgba(0,0,255,0)');
- Node2.a('node.fillrect', [0,0,0,0]);
- Node2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node2.a('node.fillgradient', '');
- if (Node2type !== 'rect') {
- Node2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node2.a('node.arcTo', parseFloat('@arcTo@'));
- Node2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node2type === 'arc') {
- Node2.a('node.arcOval', true);
- }
- Node2.setRotation(0*Math.PI/180);
- Node2.borderWidth = Node2BorderWidth;
- Node2.borderFillwidth = Node2BorderWidth;
- dataModel.add(Node2);
- Node2._nodename = 'Node2'
- Node2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node2,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node2, Node2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node3 = new ht.Node();
- var Node3textStart, Node3textWidth, Node3lineStart, Node3align = 'left', Node3fontSize = 13.3333*_ratio.ratioY,Node3width = 53*_ratio.ratioX, Node3height = 30*_ratio.ratioY;
- (function () {
- if (Node3align === 'left') {
- Node3textStart = Node3fontSize * 0.2 > 2 ? Node3fontSize * 0.2 - 4 : Node3fontSize * 0.2 - 9;
- Node3textWidth = Node3width;
- Node3lineStart = 1;
- } else if (Node3align === 'right') {
- Node3textStart = 0;
- Node3textWidth =Node3fontSize <= 8 ? Node3width + Node3fontSize * 0.2 + 6 : Node3width - Node3fontSize * 0.2;
- Node3lineStart = (Node3width - (ht.Default.getTextSize('综', 'bold '+ Node3fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node3align === 'center') {
- Node3textStart = -3;
- Node3textWidth = Node3width;
- Node3lineStart = Node3width - ht.Default.getTextSize('综', 'bold '+ Node3fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node3.setImage(GD.getTextJSON(Node3width, Node3height, true, false, false, 'bold '+ Node3fontSize + 'px "Arial"'))
- Node3.setPosition(29*ratio.ratioX, 57*ratio.ratioY);
- Node3.setWidth(Node3width);
- Node3.setHeight(Node3height);
- Node3._nodeType = 'text';
- Node3._disallowEvert = true;
- Node3.setRotation(0*Math.PI/180);
- Node3.a('node.width', Node3width);
- Node3.a('node.height', Node3height);
- Node3.a('node.rect', [0, 0, Node3width, Node3height]);
- Node3.a('node.bordercolor','rgba(255,255,255,1)');
- Node3.a('node.borderwidth', 0);
- Node3.a('node.background','' || 'rgba(0,0,0,0)');
- Node3.a('node.gradient','');
- Node3.a('node.gradientcolor','');
- Node3.a('node.text','综');
- Node3.a('node.textalign','left');
- Node3.a('node.textvAlign','middle');
- Node3.a('node.textrect', [Node3textStart, 0, Node3textWidth, Node3height]);
- Node3.a('node.color','rgba(255,255,255,1)');
- Node3.a('node.font','bold '+ Node3fontSize + 'px "Arial"');
- Node3.a('node.textvisible',true);
- Node3.a('node.linefeed',false);
- if (false) {
- Node3.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node3.a('node.text') || '综';
- var color=Node3.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node3width,Node3height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node3fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node3.a('node.underlinepoints',[Node3lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node3fontSize + 2 , ht.Default.getTextSize('综', 'bold '+ Node3fontSize + 'px "Arial"').width + 6, (Node3height - Node3fontSize) * 0.5*_ratio.ratioY + Node3fontSize + 2 ]);
- Node3.a('node.underlinevisible',false);
- Node3.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node3);
- zoomNodeList.push({
- node: Node3,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node4type = 'rect';
- var Node4 = new ht.Node(),
- Node4BorderWidth = 0*2;
- if (Node4type === 'arc') {
- Node4BorderWidth *= 0;
- }
- Node4.setImage(GD.getRectJSON(156*_ratio.ratioX, 30*_ratio.ratioY, Node4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node4.setPosition(106*ratio.ratioX, 103*ratio.ratioY);
- Node4.setSize(156*_ratio.ratioX, 30*_ratio.ratioY);
- Node4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node4.a('node.width', 156*_ratio.ratioX);
- Node4.a('node.height', 30*_ratio.ratioY);
- Node4.a('node.type', Node4type);
- Node4.a('node.rect', [0, 0, 156*_ratio.ratioX, 30*_ratio.ratioY]);
- Node4.a('node.background', 'rgba(73,192,209,1)');
- Node4.a('node.gradientcolor', 'rgba(73,192,209,1)');
- Node4.a('node.gradient', '');
- Node4.a('node.borderwidth', Node4BorderWidth);
- Node4.a('node.color', 'rgba(0,0,0,0)');
- Node4.a('node.fillrect', [0,0,0,0]);
- Node4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node4.a('node.fillgradient', '');
- if (Node4type !== 'rect') {
- Node4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node4.a('node.arcTo', parseFloat('@arcTo@'));
- Node4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node4type === 'arc') {
- Node4.a('node.arcOval', true);
- }
- Node4.setRotation(0*Math.PI/180);
- Node4.borderWidth = Node4BorderWidth;
- Node4.borderFillwidth = Node4BorderWidth;
- dataModel.add(Node4);
- Node4._nodename = 'Node4'
- Node4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node4,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node4, Node4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node5 = new ht.Node();
- var Node5textStart, Node5textWidth, Node5lineStart, Node5align = 'left', Node5fontSize = 14.66663*_ratio.ratioY,Node5width = 157*_ratio.ratioX, Node5height = 24*_ratio.ratioY;
- (function () {
- if (Node5align === 'left') {
- Node5textStart = Node5fontSize * 0.2 > 2 ? Node5fontSize * 0.2 - 4 : Node5fontSize * 0.2 - 9;
- Node5textWidth = Node5width;
- Node5lineStart = 1;
- } else if (Node5align === 'right') {
- Node5textStart = 0;
- Node5textWidth =Node5fontSize <= 8 ? Node5width + Node5fontSize * 0.2 + 6 : Node5width - Node5fontSize * 0.2;
- Node5lineStart = (Node5width - (ht.Default.getTextSize('安全天数', 'bold '+ Node5fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node5align === 'center') {
- Node5textStart = -3;
- Node5textWidth = Node5width;
- Node5lineStart = Node5width - ht.Default.getTextSize('安全天数', 'bold '+ Node5fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node5.setImage(GD.getTextJSON(Node5width, Node5height, true, false, false, 'bold '+ Node5fontSize + 'px "Arial"'))
- Node5.setPosition(146*ratio.ratioX, 103*ratio.ratioY);
- Node5.setWidth(Node5width);
- Node5.setHeight(Node5height);
- Node5._nodeType = 'text';
- Node5._disallowEvert = true;
- Node5.setRotation(0*Math.PI/180);
- Node5.a('node.width', Node5width);
- Node5.a('node.height', Node5height);
- Node5.a('node.rect', [0, 0, Node5width, Node5height]);
- Node5.a('node.bordercolor','rgba(255,255,255,1)');
- Node5.a('node.borderwidth', 0);
- Node5.a('node.background','' || 'rgba(0,0,0,0)');
- Node5.a('node.gradient','');
- Node5.a('node.gradientcolor','');
- Node5.a('node.text','安全天数');
- Node5.a('node.textalign','left');
- Node5.a('node.textvAlign','middle');
- Node5.a('node.textrect', [Node5textStart, 0, Node5textWidth, Node5height]);
- Node5.a('node.color','rgba(255,255,255,1)');
- Node5.a('node.font','bold '+ Node5fontSize + 'px "Arial"');
- Node5.a('node.textvisible',true);
- Node5.a('node.linefeed',false);
- if (false) {
- Node5.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node5.a('node.text') || '安全天数';
- var color=Node5.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node5width,Node5height,14.66663*_ratio.ratioY,"left",color,'bold '+ Node5fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node5.a('node.underlinepoints',[Node5lineStart, (24 - 14.66663) * 0.5 * _ratio.ratioY + Node5fontSize + 2 , ht.Default.getTextSize('安全天数', 'bold '+ Node5fontSize + 'px "Arial"').width + 6, (Node5height - Node5fontSize) * 0.5*_ratio.ratioY + Node5fontSize + 2 ]);
- Node5.a('node.underlinevisible',false);
- Node5.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node5);
- zoomNodeList.push({
- node: Node5,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node6type = 'rect';
- var Node6 = new ht.Node(),
- Node6BorderWidth = 0*2;
- if (Node6type === 'arc') {
- Node6BorderWidth *= 0;
- }
- Node6.setImage(GD.getRectJSON(105*_ratio.ratioX, 48*_ratio.ratioY, Node6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node6.setPosition(82*ratio.ratioX, 140*ratio.ratioY);
- Node6.setSize(105*_ratio.ratioX, 48*_ratio.ratioY);
- Node6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node6.a('node.width', 105*_ratio.ratioX);
- Node6.a('node.height', 48*_ratio.ratioY);
- Node6.a('node.type', Node6type);
- Node6.a('node.rect', [0, 0, 105*_ratio.ratioX, 48*_ratio.ratioY]);
- Node6.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node6.a('node.gradientcolor', '');
- Node6.a('node.gradient', '');
- Node6.a('node.borderwidth', Node6BorderWidth);
- Node6.a('node.color', 'rgba(0,0,0,0)');
- Node6.a('node.fillrect', [0,0,0,0]);
- Node6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node6.a('node.fillgradient', '');
- if (Node6type !== 'rect') {
- Node6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node6.a('node.arcTo', parseFloat('@arcTo@'));
- Node6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node6type === 'arc') {
- Node6.a('node.arcOval', true);
- }
- Node6.setRotation(0*Math.PI/180);
- Node6.borderWidth = Node6BorderWidth;
- Node6.borderFillwidth = Node6BorderWidth;
- dataModel.add(Node6);
- Node6._nodename = 'Node6'
- Node6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node6,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node6, Node6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node7 = new ht.Node();
- var Node7textStart, Node7textWidth, Node7lineStart, Node7align = 'right', Node7fontSize = 19.99995*_ratio.ratioY,Node7width = 59*_ratio.ratioX, Node7height = 24*_ratio.ratioY;
- (function () {
- if (Node7align === 'left') {
- Node7textStart = Node7fontSize * 0.2 > 2 ? Node7fontSize * 0.2 - 4 : Node7fontSize * 0.2 - 9;
- Node7textWidth = Node7width;
- Node7lineStart = 1;
- } else if (Node7align === 'right') {
- Node7textStart = 0;
- Node7textWidth =Node7fontSize <= 8 ? Node7width + Node7fontSize * 0.2 + 6 : Node7width - Node7fontSize * 0.2;
- Node7lineStart = (Node7width - (ht.Default.getTextSize('0', ' '+ Node7fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node7align === 'center') {
- Node7textStart = -3;
- Node7textWidth = Node7width;
- Node7lineStart = Node7width - ht.Default.getTextSize('0', ' '+ Node7fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node7.setImage(GD.getTextJSON(Node7width, Node7height, true, false, false, ' '+ Node7fontSize + 'px "Arial"'))
- Node7.setPosition(77*ratio.ratioX, 148*ratio.ratioY);
- Node7.setWidth(Node7width);
- Node7.setHeight(Node7height);
- Node7._nodeType = 'text';
- Node7._disallowEvert = true;
- Node7.setRotation(0*Math.PI/180);
- Node7.a('node.width', Node7width);
- Node7.a('node.height', Node7height);
- Node7.a('node.rect', [0, 0, Node7width, Node7height]);
- Node7.a('node.bordercolor','rgba(0,0,0,1)');
- Node7.a('node.borderwidth', 0);
- Node7.a('node.background','' || 'rgba(0,0,0,0)');
- Node7.a('node.gradient','');
- Node7.a('node.gradientcolor','');
- Node7.a('node.text','0');
- Node7.a('node.textalign','right');
- Node7.a('node.textvAlign','middle');
- Node7.a('node.textrect', [Node7textStart, 0, Node7textWidth, Node7height]);
- Node7.a('node.color','rgba(0,0,0,1)');
- Node7.a('node.font',' '+ Node7fontSize + 'px "Arial"');
- Node7.a('node.textvisible',true);
- Node7.a('node.linefeed',false);
- if (false) {
- Node7.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node7.a('node.text') || '0';
- var color=Node7.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node7width,Node7height,19.99995*_ratio.ratioY,"right",color,' '+ Node7fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node7.a('node.underlinepoints',[Node7lineStart, (24 - 19.99995) * 0.5 * _ratio.ratioY + Node7fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node7fontSize + 'px "Arial"').width + 6, (Node7height - Node7fontSize) * 0.5*_ratio.ratioY + Node7fontSize + 2 ]);
- Node7.a('node.underlinevisible',false);
- Node7.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node7);
- zoomNodeList.push({
- node: Node7,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node8type = 'rect';
- var Node8 = new ht.Node(),
- Node8BorderWidth = 0*2;
- if (Node8type === 'arc') {
- Node8BorderWidth *= 0;
- }
- Node8.setImage(GD.getRectJSON(31*_ratio.ratioX, 31*_ratio.ratioY, Node8type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node8.setPosition(165*ratio.ratioX, 145*ratio.ratioY);
- Node8.setSize(31*_ratio.ratioX, 31*_ratio.ratioY);
- Node8.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node8.a('node.width', 31*_ratio.ratioX);
- Node8.a('node.height', 31*_ratio.ratioY);
- Node8.a('node.type', Node8type);
- Node8.a('node.rect', [0, 0, 31*_ratio.ratioX, 31*_ratio.ratioY]);
- Node8.a('node.background', 'rgba(225,102,38,1)');
- Node8.a('node.gradientcolor', 'rgba(225,102,38,1)');
- Node8.a('node.gradient', '');
- Node8.a('node.borderwidth', Node8BorderWidth);
- Node8.a('node.color', 'rgba(0,0,0,0)');
- Node8.a('node.fillrect', [0,0,0,0]);
- Node8.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node8.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node8.a('node.fillgradient', '');
- if (Node8type !== 'rect') {
- Node8.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node8.a('node.arcTo', parseFloat('@arcTo@'));
- Node8.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node8type === 'arc') {
- Node8.a('node.arcOval', true);
- }
- Node8.setRotation(0*Math.PI/180);
- Node8.borderWidth = Node8BorderWidth;
- Node8.borderFillwidth = Node8BorderWidth;
- dataModel.add(Node8);
- Node8._nodename = 'Node8'
- Node8._nodeType = 'rect';
- zoomNodeList.push({
- node: Node8,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node8, Node8.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node9 = new ht.Node();
- var Node9textStart, Node9textWidth, Node9lineStart, Node9align = 'left', Node9fontSize = 13.3333*_ratio.ratioY,Node9width = 27*_ratio.ratioX, Node9height = 16*_ratio.ratioY;
- (function () {
- if (Node9align === 'left') {
- Node9textStart = Node9fontSize * 0.2 > 2 ? Node9fontSize * 0.2 - 4 : Node9fontSize * 0.2 - 9;
- Node9textWidth = Node9width;
- Node9lineStart = 1;
- } else if (Node9align === 'right') {
- Node9textStart = 0;
- Node9textWidth =Node9fontSize <= 8 ? Node9width + Node9fontSize * 0.2 + 6 : Node9width - Node9fontSize * 0.2;
- Node9lineStart = (Node9width - (ht.Default.getTextSize('天', 'bold '+ Node9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node9align === 'center') {
- Node9textStart = -3;
- Node9textWidth = Node9width;
- Node9lineStart = Node9width - ht.Default.getTextSize('天', 'bold '+ Node9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node9.setImage(GD.getTextJSON(Node9width, Node9height, true, false, false, 'bold '+ Node9fontSize + 'px "Arial"'))
- Node9.setPosition(169*ratio.ratioX, 147*ratio.ratioY);
- Node9.setWidth(Node9width);
- Node9.setHeight(Node9height);
- Node9._nodeType = 'text';
- Node9._disallowEvert = true;
- Node9.setRotation(0*Math.PI/180);
- Node9.a('node.width', Node9width);
- Node9.a('node.height', Node9height);
- Node9.a('node.rect', [0, 0, Node9width, Node9height]);
- Node9.a('node.bordercolor','rgba(255,255,255,1)');
- Node9.a('node.borderwidth', 0);
- Node9.a('node.background','' || 'rgba(0,0,0,0)');
- Node9.a('node.gradient','');
- Node9.a('node.gradientcolor','');
- Node9.a('node.text','天');
- Node9.a('node.textalign','left');
- Node9.a('node.textvAlign','middle');
- Node9.a('node.textrect', [Node9textStart, 0, Node9textWidth, Node9height]);
- Node9.a('node.color','rgba(255,255,255,1)');
- Node9.a('node.font','bold '+ Node9fontSize + 'px "Arial"');
- Node9.a('node.textvisible',true);
- Node9.a('node.linefeed',false);
- if (false) {
- Node9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node9.a('node.text') || '天';
- var color=Node9.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node9width,Node9height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node9.a('node.underlinepoints',[Node9lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node9fontSize + 2 , ht.Default.getTextSize('天', 'bold '+ Node9fontSize + 'px "Arial"').width + 6, (Node9height - Node9fontSize) * 0.5*_ratio.ratioY + Node9fontSize + 2 ]);
- Node9.a('node.underlinevisible',false);
- Node9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node9);
- zoomNodeList.push({
- node: Node9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node10 = new ht.Node();
- var Node10textStart, Node10textWidth, Node10lineStart, Node10align = 'center', Node10fontSize = 13.3333*_ratio.ratioY,Node10width = 97*_ratio.ratioX, Node10height = 25*_ratio.ratioY;
- (function () {
- if (Node10align === 'left') {
- Node10textStart = Node10fontSize * 0.2 > 2 ? Node10fontSize * 0.2 - 4 : Node10fontSize * 0.2 - 9;
- Node10textWidth = Node10width;
- Node10lineStart = 1;
- } else if (Node10align === 'right') {
- Node10textStart = 0;
- Node10textWidth =Node10fontSize <= 8 ? Node10width + Node10fontSize * 0.2 + 6 : Node10width - Node10fontSize * 0.2;
- Node10lineStart = (Node10width - (ht.Default.getTextSize('装机容量', ' '+ Node10fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node10align === 'center') {
- Node10textStart = -3;
- Node10textWidth = Node10width;
- Node10lineStart = Node10width - ht.Default.getTextSize('装机容量', ' '+ Node10fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node10.setImage(GD.getTextJSON(Node10width, Node10height, true, false, false, ' '+ Node10fontSize + 'px "Arial"'))
- Node10.setPosition(222*ratio.ratioX, 53*ratio.ratioY);
- Node10.setWidth(Node10width);
- Node10.setHeight(Node10height);
- Node10._nodeType = 'text';
- Node10._disallowEvert = true;
- Node10.setRotation(0*Math.PI/180);
- Node10.a('node.width', Node10width);
- Node10.a('node.height', Node10height);
- Node10.a('node.rect', [0, 0, Node10width, Node10height]);
- Node10.a('node.bordercolor','rgba(0,0,0,1)');
- Node10.a('node.borderwidth', 0);
- Node10.a('node.background','' || 'rgba(0,0,0,0)');
- Node10.a('node.gradient','');
- Node10.a('node.gradientcolor','');
- Node10.a('node.text','装机容量');
- Node10.a('node.textalign','center');
- Node10.a('node.textvAlign','middle');
- Node10.a('node.textrect', [Node10textStart, 0, Node10textWidth, Node10height]);
- Node10.a('node.color','rgba(0,0,0,1)');
- Node10.a('node.font',' '+ Node10fontSize + 'px "Arial"');
- Node10.a('node.textvisible',true);
- Node10.a('node.linefeed',false);
- if (false) {
- Node10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node10.a('node.text') || '装机容量';
- var color=Node10.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node10width,Node10height,13.3333*_ratio.ratioY,"center",color,' '+ Node10fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node10.a('node.underlinepoints',[Node10lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node10fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node10fontSize + 'px "Arial"').width + 6, (Node10height - Node10fontSize) * 0.5*_ratio.ratioY + Node10fontSize + 2 ]);
- Node10.a('node.underlinevisible',false);
- Node10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node10);
- zoomNodeList.push({
- node: Node10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node11type = 'rect';
- var Node11 = new ht.Node(),
- Node11BorderWidth = 1*2;
- if (Node11type === 'arc') {
- Node11BorderWidth *= 1;
- }
- Node11.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node11type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node11.setPosition(246*ratio.ratioX, 100*ratio.ratioY);
- Node11.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node11.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node11.a('node.width', 121*_ratio.ratioX);
- Node11.a('node.height', 24.33138*_ratio.ratioY);
- Node11.a('node.type', Node11type);
- Node11.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node11.a('node.background', 'rgba(240,240,240,1)');
- Node11.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node11.a('node.gradient', '');
- Node11.a('node.borderwidth', Node11BorderWidth);
- Node11.a('node.color', 'rgba(224,224,224,1)');
- Node11.a('node.fillrect', [0,0,0,0]);
- Node11.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node11.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node11.a('node.fillgradient', '');
- if (Node11type !== 'rect') {
- Node11.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node11.a('node.arcTo', parseFloat('@arcTo@'));
- Node11.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node11type === 'arc') {
- Node11.a('node.arcOval', true);
- }
- Node11.setRotation(0*Math.PI/180);
- Node11.borderWidth = Node11BorderWidth;
- Node11.borderFillwidth = Node11BorderWidth;
- dataModel.add(Node11);
- Node11._nodename = 'Node11'
- Node11._nodeType = 'rect';
- zoomNodeList.push({
- node: Node11,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node11, Node11.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node12type = 'rect';
- var Node12 = new ht.Node(),
- Node12BorderWidth = 1*2;
- if (Node12type === 'arc') {
- Node12BorderWidth *= 1;
- }
- Node12.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node12type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node12.setPosition(246*ratio.ratioX, 76*ratio.ratioY);
- Node12.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node12.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node12.a('node.width', 121*_ratio.ratioX);
- Node12.a('node.height', 24.33138*_ratio.ratioY);
- Node12.a('node.type', Node12type);
- Node12.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node12.a('node.background', 'rgba(240,240,240,1)');
- Node12.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node12.a('node.gradient', '');
- Node12.a('node.borderwidth', Node12BorderWidth);
- Node12.a('node.color', 'rgba(224,224,224,1)');
- Node12.a('node.fillrect', [0,0,0,0]);
- Node12.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node12.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node12.a('node.fillgradient', '');
- if (Node12type !== 'rect') {
- Node12.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node12.a('node.arcTo', parseFloat('@arcTo@'));
- Node12.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node12type === 'arc') {
- Node12.a('node.arcOval', true);
- }
- Node12.setRotation(0*Math.PI/180);
- Node12.borderWidth = Node12BorderWidth;
- Node12.borderFillwidth = Node12BorderWidth;
- dataModel.add(Node12);
- Node12._nodename = 'Node12'
- Node12._nodeType = 'rect';
- zoomNodeList.push({
- node: Node12,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node12, Node12.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node13type = 'rect';
- var Node13 = new ht.Node(),
- Node13BorderWidth = 1*2;
- if (Node13type === 'arc') {
- Node13BorderWidth *= 1;
- }
- Node13.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node13type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node13.setPosition(246*ratio.ratioX, 125*ratio.ratioY);
- Node13.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node13.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node13.a('node.width', 121*_ratio.ratioX);
- Node13.a('node.height', 24.33136*_ratio.ratioY);
- Node13.a('node.type', Node13type);
- Node13.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node13.a('node.background', 'rgba(240,240,240,1)');
- Node13.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node13.a('node.gradient', '');
- Node13.a('node.borderwidth', Node13BorderWidth);
- Node13.a('node.color', 'rgba(224,224,224,1)');
- Node13.a('node.fillrect', [0,0,0,0]);
- Node13.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node13.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node13.a('node.fillgradient', '');
- if (Node13type !== 'rect') {
- Node13.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node13.a('node.arcTo', parseFloat('@arcTo@'));
- Node13.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node13type === 'arc') {
- Node13.a('node.arcOval', true);
- }
- Node13.setRotation(0*Math.PI/180);
- Node13.borderWidth = Node13BorderWidth;
- Node13.borderFillwidth = Node13BorderWidth;
- dataModel.add(Node13);
- Node13._nodename = 'Node13'
- Node13._nodeType = 'rect';
- zoomNodeList.push({
- node: Node13,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node13, Node13.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node14type = 'rect';
- var Node14 = new ht.Node(),
- Node14BorderWidth = 1*2;
- if (Node14type === 'arc') {
- Node14BorderWidth *= 1;
- }
- Node14.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node14type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node14.setPosition(246*ratio.ratioX, 52*ratio.ratioY);
- Node14.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node14.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node14.a('node.width', 121*_ratio.ratioX);
- Node14.a('node.height', 24.33136*_ratio.ratioY);
- Node14.a('node.type', Node14type);
- Node14.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node14.a('node.background', 'rgba(240,240,240,1)');
- Node14.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node14.a('node.gradient', '');
- Node14.a('node.borderwidth', Node14BorderWidth);
- Node14.a('node.color', 'rgba(224,224,224,1)');
- Node14.a('node.fillrect', [0,0,0,0]);
- Node14.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node14.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node14.a('node.fillgradient', '');
- if (Node14type !== 'rect') {
- Node14.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node14.a('node.arcTo', parseFloat('@arcTo@'));
- Node14.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node14type === 'arc') {
- Node14.a('node.arcOval', true);
- }
- Node14.setRotation(0*Math.PI/180);
- Node14.borderWidth = Node14BorderWidth;
- Node14.borderFillwidth = Node14BorderWidth;
- dataModel.add(Node14);
- Node14._nodename = 'Node14'
- Node14._nodeType = 'rect';
- zoomNodeList.push({
- node: Node14,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node14, Node14.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node15type = 'rect';
- var Node15 = new ht.Node(),
- Node15BorderWidth = 1*2;
- if (Node15type === 'arc') {
- Node15BorderWidth *= 1;
- }
- Node15.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node15type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node15.setPosition(246*ratio.ratioX, 149*ratio.ratioY);
- Node15.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node15.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node15.a('node.width', 121*_ratio.ratioX);
- Node15.a('node.height', 24.33138*_ratio.ratioY);
- Node15.a('node.type', Node15type);
- Node15.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node15.a('node.background', 'rgba(240,240,240,1)');
- Node15.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node15.a('node.gradient', '');
- Node15.a('node.borderwidth', Node15BorderWidth);
- Node15.a('node.color', 'rgba(224,224,224,1)');
- Node15.a('node.fillrect', [0,0,0,0]);
- Node15.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node15.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node15.a('node.fillgradient', '');
- if (Node15type !== 'rect') {
- Node15.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node15.a('node.arcTo', parseFloat('@arcTo@'));
- Node15.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node15type === 'arc') {
- Node15.a('node.arcOval', true);
- }
- Node15.setRotation(0*Math.PI/180);
- Node15.borderWidth = Node15BorderWidth;
- Node15.borderFillwidth = Node15BorderWidth;
- dataModel.add(Node15);
- Node15._nodename = 'Node15'
- Node15._nodeType = 'rect';
- zoomNodeList.push({
- node: Node15,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node15, Node15.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node16 = new ht.Node();
- var Node16textStart, Node16textWidth, Node16lineStart, Node16align = 'left', Node16fontSize = 13.3333*_ratio.ratioY,Node16width = 87*_ratio.ratioX, Node16height = 32*_ratio.ratioY;
- (function () {
- if (Node16align === 'left') {
- Node16textStart = Node16fontSize * 0.2 > 2 ? Node16fontSize * 0.2 - 4 : Node16fontSize * 0.2 - 9;
- Node16textWidth = Node16width;
- Node16lineStart = 1;
- } else if (Node16align === 'right') {
- Node16textStart = 0;
- Node16textWidth =Node16fontSize <= 8 ? Node16width + Node16fontSize * 0.2 + 6 : Node16width - Node16fontSize * 0.2;
- Node16lineStart = (Node16width - (ht.Default.getTextSize('上网电量', ' '+ Node16fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node16align === 'center') {
- Node16textStart = -3;
- Node16textWidth = Node16width;
- Node16lineStart = Node16width - ht.Default.getTextSize('上网电量', ' '+ Node16fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node16.setImage(GD.getTextJSON(Node16width, Node16height, true, false, false, ' '+ Node16fontSize + 'px "微软雅黑"'))
- Node16.setPosition(230*ratio.ratioX, 150*ratio.ratioY);
- Node16.setWidth(Node16width);
- Node16.setHeight(Node16height);
- Node16._nodeType = 'text';
- Node16._disallowEvert = true;
- Node16.setRotation(0*Math.PI/180);
- Node16.a('node.width', Node16width);
- Node16.a('node.height', Node16height);
- Node16.a('node.rect', [0, 0, Node16width, Node16height]);
- Node16.a('node.bordercolor','rgba(0,0,0,1)');
- Node16.a('node.borderwidth', 0);
- Node16.a('node.background','' || 'rgba(0,0,0,0)');
- Node16.a('node.gradient','');
- Node16.a('node.gradientcolor','');
- Node16.a('node.text','上网电量');
- Node16.a('node.textalign','left');
- Node16.a('node.textvAlign','middle');
- Node16.a('node.textrect', [Node16textStart, 0, Node16textWidth, Node16height]);
- Node16.a('node.color','rgba(0,0,0,1)');
- Node16.a('node.font',' '+ Node16fontSize + 'px "微软雅黑"');
- Node16.a('node.textvisible',true);
- Node16.a('node.linefeed',false);
- if (false) {
- Node16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node16.a('node.text') || '上网电量';
- var color=Node16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node16width,Node16height,13.3333*_ratio.ratioY,"left",color,' '+ Node16fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node16.a('node.underlinepoints',[Node16lineStart, (32 - 13.3333) * 0.5 * _ratio.ratioY + Node16fontSize + 2 , ht.Default.getTextSize('上网电量', ' '+ Node16fontSize + 'px "微软雅黑"').width + 6, (Node16height - Node16fontSize) * 0.5*_ratio.ratioY + Node16fontSize + 2 ]);
- Node16.a('node.underlinevisible',false);
- Node16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node16);
- zoomNodeList.push({
- node: Node16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node17 = new ht.Node();
- var Node17textStart, Node17textWidth, Node17lineStart, Node17align = 'center', Node17fontSize = 13.3333*_ratio.ratioY,Node17width = 113*_ratio.ratioX, Node17height = 32*_ratio.ratioY;
- (function () {
- if (Node17align === 'left') {
- Node17textStart = Node17fontSize * 0.2 > 2 ? Node17fontSize * 0.2 - 4 : Node17fontSize * 0.2 - 9;
- Node17textWidth = Node17width;
- Node17lineStart = 1;
- } else if (Node17align === 'right') {
- Node17textStart = 0;
- Node17textWidth =Node17fontSize <= 8 ? Node17width + Node17fontSize * 0.2 + 6 : Node17width - Node17fontSize * 0.2;
- Node17lineStart = (Node17width - (ht.Default.getTextSize('日性能损失电量', ' '+ Node17fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node17align === 'center') {
- Node17textStart = -3;
- Node17textWidth = Node17width;
- Node17lineStart = Node17width - ht.Default.getTextSize('日性能损失电量', ' '+ Node17fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node17.setImage(GD.getTextJSON(Node17width, Node17height, true, false, false, ' '+ Node17fontSize + 'px "微软雅黑"'))
- Node17.setPosition(532*ratio.ratioX, 151*ratio.ratioY);
- Node17.setWidth(Node17width);
- Node17.setHeight(Node17height);
- Node17._nodeType = 'text';
- Node17._disallowEvert = true;
- Node17.setRotation(0*Math.PI/180);
- Node17.a('node.width', Node17width);
- Node17.a('node.height', Node17height);
- Node17.a('node.rect', [0, 0, Node17width, Node17height]);
- Node17.a('node.bordercolor','rgba(64,64,64,1)');
- Node17.a('node.borderwidth', 0);
- Node17.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node17.a('node.gradient','');
- Node17.a('node.gradientcolor','rgba(255,255,255,0)');
- Node17.a('node.text','日性能损失电量');
- Node17.a('node.textalign','center');
- Node17.a('node.textvAlign','middle');
- Node17.a('node.textrect', [Node17textStart, 0, Node17textWidth, Node17height]);
- Node17.a('node.color','rgba(64,64,64,1)');
- Node17.a('node.font',' '+ Node17fontSize + 'px "微软雅黑"');
- Node17.a('node.textvisible',true);
- Node17.a('node.linefeed',false);
- if (false) {
- Node17.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node17.a('node.text') || '日性能损失电量';
- var color=Node17.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node17width,Node17height,13.3333*_ratio.ratioY,"center",color,' '+ Node17fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node17.a('node.underlinepoints',[Node17lineStart, (32 - 13.3333) * 0.5 * _ratio.ratioY + Node17fontSize + 2 , ht.Default.getTextSize('日性能损失电量', ' '+ Node17fontSize + 'px "微软雅黑"').width + 6, (Node17height - Node17fontSize) * 0.5*_ratio.ratioY + Node17fontSize + 2 ]);
- Node17.a('node.underlinevisible',false);
- Node17.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node17);
- zoomNodeList.push({
- node: Node17,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node18 = new ht.Node();
- var Node18textStart, Node18textWidth, Node18lineStart, Node18align = 'center', Node18fontSize = 13.3333*_ratio.ratioY,Node18width = 110*_ratio.ratioX, Node18height = 32*_ratio.ratioY;
- (function () {
- if (Node18align === 'left') {
- Node18textStart = Node18fontSize * 0.2 > 2 ? Node18fontSize * 0.2 - 4 : Node18fontSize * 0.2 - 9;
- Node18textWidth = Node18width;
- Node18lineStart = 1;
- } else if (Node18align === 'right') {
- Node18textStart = 0;
- Node18textWidth =Node18fontSize <= 8 ? Node18width + Node18fontSize * 0.2 + 6 : Node18width - Node18fontSize * 0.2;
- Node18lineStart = (Node18width - (ht.Default.getTextSize('月性能损失电量', ' '+ Node18fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node18align === 'center') {
- Node18textStart = -3;
- Node18textWidth = Node18width;
- Node18lineStart = Node18width - ht.Default.getTextSize('月性能损失电量', ' '+ Node18fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node18.setImage(GD.getTextJSON(Node18width, Node18height, true, false, false, ' '+ Node18fontSize + 'px "微软雅黑"'))
- Node18.setPosition(811*ratio.ratioX, 151*ratio.ratioY);
- Node18.setWidth(Node18width);
- Node18.setHeight(Node18height);
- Node18._nodeType = 'text';
- Node18._disallowEvert = true;
- Node18.setRotation(0*Math.PI/180);
- Node18.a('node.width', Node18width);
- Node18.a('node.height', Node18height);
- Node18.a('node.rect', [0, 0, Node18width, Node18height]);
- Node18.a('node.bordercolor','rgba(0,0,0,1)');
- Node18.a('node.borderwidth', 0);
- Node18.a('node.background','' || 'rgba(0,0,0,0)');
- Node18.a('node.gradient','');
- Node18.a('node.gradientcolor','');
- Node18.a('node.text','月性能损失电量');
- Node18.a('node.textalign','center');
- Node18.a('node.textvAlign','middle');
- Node18.a('node.textrect', [Node18textStart, 0, Node18textWidth, Node18height]);
- Node18.a('node.color','rgba(0,0,0,1)');
- Node18.a('node.font',' '+ Node18fontSize + 'px "微软雅黑"');
- Node18.a('node.textvisible',true);
- Node18.a('node.linefeed',false);
- if (false) {
- Node18.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node18.a('node.text') || '月性能损失电量';
- var color=Node18.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node18width,Node18height,13.3333*_ratio.ratioY,"center",color,' '+ Node18fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node18.a('node.underlinepoints',[Node18lineStart, (32 - 13.3333) * 0.5 * _ratio.ratioY + Node18fontSize + 2 , ht.Default.getTextSize('月性能损失电量', ' '+ Node18fontSize + 'px "微软雅黑"').width + 6, (Node18height - Node18fontSize) * 0.5*_ratio.ratioY + Node18fontSize + 2 ]);
- Node18.a('node.underlinevisible',false);
- Node18.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node18);
- zoomNodeList.push({
- node: Node18,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node19 = new ht.Node();
- var Node19textStart, Node19textWidth, Node19lineStart, Node19align = 'center', Node19fontSize = 13.3333*_ratio.ratioY,Node19width = 110*_ratio.ratioX, Node19height = 32*_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(1091*ratio.ratioX, 151*ratio.ratioY);
- Node19.setWidth(Node19width);
- Node19.setHeight(Node19height);
- Node19._nodeType = 'text';
- Node19._disallowEvert = true;
- Node19.setRotation(0*Math.PI/180);
- Node19.a('node.width', Node19width);
- Node19.a('node.height', Node19height);
- Node19.a('node.rect', [0, 0, Node19width, Node19height]);
- Node19.a('node.bordercolor','rgba(0,0,0,1)');
- Node19.a('node.borderwidth', 0);
- Node19.a('node.background','' || 'rgba(0,0,0,0)');
- Node19.a('node.gradient','');
- Node19.a('node.gradientcolor','');
- Node19.a('node.text','年性能损失电量');
- Node19.a('node.textalign','center');
- Node19.a('node.textvAlign','middle');
- Node19.a('node.textrect', [Node19textStart, 0, Node19textWidth, Node19height]);
- Node19.a('node.color','rgba(0,0,0,1)');
- Node19.a('node.font',' '+ Node19fontSize + 'px "微软雅黑"');
- Node19.a('node.textvisible',true);
- Node19.a('node.linefeed',false);
- if (false) {
- Node19.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node19.a('node.text') || '年性能损失电量';
- var color=Node19.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node19width,Node19height,13.3333*_ratio.ratioY,"center",color,' '+ Node19fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node19.a('node.underlinepoints',[Node19lineStart, (32 - 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'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node20 = new ht.Node();
- var Node20textStart, Node20textWidth, Node20lineStart, Node20align = 'left', Node20fontSize = 13.3333*_ratio.ratioY,Node20width = 53*_ratio.ratioX, Node20height = 30*_ratio.ratioY;
- (function () {
- if (Node20align === 'left') {
- Node20textStart = Node20fontSize * 0.2 > 2 ? Node20fontSize * 0.2 - 4 : Node20fontSize * 0.2 - 9;
- Node20textWidth = Node20width;
- Node20lineStart = 1;
- } else if (Node20align === 'right') {
- Node20textStart = 0;
- Node20textWidth =Node20fontSize <= 8 ? Node20width + Node20fontSize * 0.2 + 6 : Node20width - Node20fontSize * 0.2;
- Node20lineStart = (Node20width - (ht.Default.getTextSize('合', 'bold '+ Node20fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node20align === 'center') {
- Node20textStart = -3;
- Node20textWidth = Node20width;
- Node20lineStart = Node20width - ht.Default.getTextSize('合', 'bold '+ Node20fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node20.setImage(GD.getTextJSON(Node20width, Node20height, true, false, false, 'bold '+ Node20fontSize + 'px "Arial"'))
- Node20.setPosition(30*ratio.ratioX, 85*ratio.ratioY);
- Node20.setWidth(Node20width);
- Node20.setHeight(Node20height);
- Node20._nodeType = 'text';
- Node20._disallowEvert = true;
- Node20.setRotation(0*Math.PI/180);
- Node20.a('node.width', Node20width);
- Node20.a('node.height', Node20height);
- Node20.a('node.rect', [0, 0, Node20width, Node20height]);
- Node20.a('node.bordercolor','rgba(255,255,255,1)');
- Node20.a('node.borderwidth', 0);
- Node20.a('node.background','' || 'rgba(0,0,0,0)');
- Node20.a('node.gradient','');
- Node20.a('node.gradientcolor','');
- Node20.a('node.text','合');
- Node20.a('node.textalign','left');
- Node20.a('node.textvAlign','middle');
- Node20.a('node.textrect', [Node20textStart, 0, Node20textWidth, Node20height]);
- Node20.a('node.color','rgba(255,255,255,1)');
- Node20.a('node.font','bold '+ Node20fontSize + 'px "Arial"');
- Node20.a('node.textvisible',true);
- Node20.a('node.linefeed',false);
- if (false) {
- Node20.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node20.a('node.text') || '合';
- var color=Node20.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node20width,Node20height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node20fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node20.a('node.underlinepoints',[Node20lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node20fontSize + 2 , ht.Default.getTextSize('合', 'bold '+ Node20fontSize + 'px "Arial"').width + 6, (Node20height - Node20fontSize) * 0.5*_ratio.ratioY + Node20fontSize + 2 ]);
- Node20.a('node.underlinevisible',false);
- Node20.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node20);
- zoomNodeList.push({
- node: Node20,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node21 = new ht.Node();
- var Node21textStart, Node21textWidth, Node21lineStart, Node21align = 'left', Node21fontSize = 13.3333*_ratio.ratioY,Node21width = 53*_ratio.ratioX, Node21height = 30*_ratio.ratioY;
- (function () {
- if (Node21align === 'left') {
- Node21textStart = Node21fontSize * 0.2 > 2 ? Node21fontSize * 0.2 - 4 : Node21fontSize * 0.2 - 9;
- Node21textWidth = Node21width;
- Node21lineStart = 1;
- } else if (Node21align === 'right') {
- Node21textStart = 0;
- Node21textWidth =Node21fontSize <= 8 ? Node21width + Node21fontSize * 0.2 + 6 : Node21width - Node21fontSize * 0.2;
- Node21lineStart = (Node21width - (ht.Default.getTextSize('指', 'bold '+ Node21fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node21align === 'center') {
- Node21textStart = -3;
- Node21textWidth = Node21width;
- Node21lineStart = Node21width - ht.Default.getTextSize('指', 'bold '+ Node21fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node21.setImage(GD.getTextJSON(Node21width, Node21height, true, false, false, 'bold '+ Node21fontSize + 'px "Arial"'))
- Node21.setPosition(30*ratio.ratioX, 112*ratio.ratioY);
- Node21.setWidth(Node21width);
- Node21.setHeight(Node21height);
- Node21._nodeType = 'text';
- Node21._disallowEvert = true;
- Node21.setRotation(0*Math.PI/180);
- Node21.a('node.width', Node21width);
- Node21.a('node.height', Node21height);
- Node21.a('node.rect', [0, 0, Node21width, Node21height]);
- Node21.a('node.bordercolor','rgba(255,255,255,1)');
- Node21.a('node.borderwidth', 0);
- Node21.a('node.background','' || 'rgba(0,0,0,0)');
- Node21.a('node.gradient','');
- Node21.a('node.gradientcolor','');
- Node21.a('node.text','指');
- Node21.a('node.textalign','left');
- Node21.a('node.textvAlign','middle');
- Node21.a('node.textrect', [Node21textStart, 0, Node21textWidth, Node21height]);
- Node21.a('node.color','rgba(255,255,255,1)');
- Node21.a('node.font','bold '+ Node21fontSize + 'px "Arial"');
- Node21.a('node.textvisible',true);
- Node21.a('node.linefeed',false);
- if (false) {
- Node21.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node21.a('node.text') || '指';
- var color=Node21.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node21width,Node21height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node21fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node21.a('node.underlinepoints',[Node21lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node21fontSize + 2 , ht.Default.getTextSize('指', 'bold '+ Node21fontSize + 'px "Arial"').width + 6, (Node21height - Node21fontSize) * 0.5*_ratio.ratioY + Node21fontSize + 2 ]);
- Node21.a('node.underlinevisible',false);
- Node21.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node21);
- zoomNodeList.push({
- node: Node21,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node22 = new ht.Node();
- var Node22textStart, Node22textWidth, Node22lineStart, Node22align = 'left', Node22fontSize = 13.3333*_ratio.ratioY,Node22width = 53*_ratio.ratioX, Node22height = 30*_ratio.ratioY;
- (function () {
- if (Node22align === 'left') {
- Node22textStart = Node22fontSize * 0.2 > 2 ? Node22fontSize * 0.2 - 4 : Node22fontSize * 0.2 - 9;
- Node22textWidth = Node22width;
- Node22lineStart = 1;
- } else if (Node22align === 'right') {
- Node22textStart = 0;
- Node22textWidth =Node22fontSize <= 8 ? Node22width + Node22fontSize * 0.2 + 6 : Node22width - Node22fontSize * 0.2;
- Node22lineStart = (Node22width - (ht.Default.getTextSize('标', 'bold '+ Node22fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node22align === 'center') {
- Node22textStart = -3;
- Node22textWidth = Node22width;
- Node22lineStart = Node22width - ht.Default.getTextSize('标', 'bold '+ Node22fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node22.setImage(GD.getTextJSON(Node22width, Node22height, true, false, false, 'bold '+ Node22fontSize + 'px "Arial"'))
- Node22.setPosition(30*ratio.ratioX, 142*ratio.ratioY);
- Node22.setWidth(Node22width);
- Node22.setHeight(Node22height);
- Node22._nodeType = 'text';
- Node22._disallowEvert = true;
- Node22.setRotation(0*Math.PI/180);
- Node22.a('node.width', Node22width);
- Node22.a('node.height', Node22height);
- Node22.a('node.rect', [0, 0, Node22width, Node22height]);
- Node22.a('node.bordercolor','rgba(255,255,255,1)');
- Node22.a('node.borderwidth', 0);
- Node22.a('node.background','' || 'rgba(0,0,0,0)');
- Node22.a('node.gradient','');
- Node22.a('node.gradientcolor','');
- Node22.a('node.text','标');
- Node22.a('node.textalign','left');
- Node22.a('node.textvAlign','middle');
- Node22.a('node.textrect', [Node22textStart, 0, Node22textWidth, Node22height]);
- Node22.a('node.color','rgba(255,255,255,1)');
- Node22.a('node.font','bold '+ Node22fontSize + 'px "Arial"');
- Node22.a('node.textvisible',true);
- Node22.a('node.linefeed',false);
- if (false) {
- Node22.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node22.a('node.text') || '标';
- var color=Node22.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node22width,Node22height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node22fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node22.a('node.underlinepoints',[Node22lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node22fontSize + 2 , ht.Default.getTextSize('标', 'bold '+ Node22fontSize + 'px "Arial"').width + 6, (Node22height - Node22fontSize) * 0.5*_ratio.ratioY + Node22fontSize + 2 ]);
- Node22.a('node.underlinevisible',false);
- Node22.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node22);
- zoomNodeList.push({
- node: Node22,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node23 = new ht.Node();
- var Node23textStart, Node23textWidth, Node23lineStart, Node23align = 'left', Node23fontSize = 17.33329*_ratio.ratioY,Node23width = 143*_ratio.ratioX, Node23height = 49*_ratio.ratioY;
- (function () {
- if (Node23align === 'left') {
- Node23textStart = Node23fontSize * 0.2 > 2 ? Node23fontSize * 0.2 - 4 : Node23fontSize * 0.2 - 9;
- Node23textWidth = Node23width;
- Node23lineStart = 1;
- } else if (Node23align === 'right') {
- Node23textStart = 0;
- Node23textWidth =Node23fontSize <= 8 ? Node23width + Node23fontSize * 0.2 + 6 : Node23width - Node23fontSize * 0.2;
- Node23lineStart = (Node23width - (ht.Default.getTextSize(' ', ' '+ Node23fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node23align === 'center') {
- Node23textStart = -3;
- Node23textWidth = Node23width;
- Node23lineStart = Node23width - ht.Default.getTextSize(' ', ' '+ Node23fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node23.setImage(GD.getTextJSON(Node23width, Node23height, true, false, false, ' '+ Node23fontSize + 'px "Arial"'))
- Node23.setPosition(108*ratio.ratioX, 66*ratio.ratioY);
- Node23.setWidth(Node23width);
- Node23.setHeight(Node23height);
- Node23._nodeType = 'text';
- Node23._disallowEvert = true;
- Node23.setRotation(0*Math.PI/180);
- Node23.a('node.width', Node23width);
- Node23.a('node.height', Node23height);
- Node23.a('node.rect', [0, 0, Node23width, Node23height]);
- Node23.a('node.bordercolor','rgba(255,255,255,1)');
- Node23.a('node.borderwidth', 0);
- Node23.a('node.background','' || 'rgba(0,0,0,0)');
- Node23.a('node.gradient','');
- Node23.a('node.gradientcolor','');
- Node23.a('node.text',' ');
- Node23.a('node.textalign','left');
- Node23.a('node.textvAlign','middle');
- Node23.a('node.textrect', [Node23textStart, 0, Node23textWidth, Node23height]);
- Node23.a('node.color','rgba(255,255,255,1)');
- Node23.a('node.font',' '+ Node23fontSize + 'px "Arial"');
- Node23.a('node.textvisible',true);
- Node23.a('node.linefeed',false);
- if (false) {
- Node23.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node23.a('node.text') || ' ';
- var color=Node23.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node23width,Node23height,17.33329*_ratio.ratioY,"left",color,' '+ Node23fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node23.a('node.underlinepoints',[Node23lineStart, (49 - 17.33329) * 0.5 * _ratio.ratioY + Node23fontSize + 2 , ht.Default.getTextSize(' ', ' '+ Node23fontSize + 'px "Arial"').width + 6, (Node23height - Node23fontSize) * 0.5*_ratio.ratioY + Node23fontSize + 2 ]);
- Node23.a('node.underlinevisible',false);
- Node23.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node23);
- zoomNodeList.push({
- node: Node23,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node24_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');
- Node24_0 = new ht.Node();
- Node24_0.setPosition(106*ratio.ratioX, 63*ratio.ratioY);
- Node24_0.setSize(155*ratioX, 45*ratioY);
- Node24_0.setImage('imgimage//喜欢的蓝色.png');
- Node24_0.setRotation(0*Math.PI/180);
- Node24_0._zoomBy = 'Default';
- Node24_0._nodeType = 'image';
- Node24_0._disallowEvert = true;
- dataModel.add(Node24_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node24_1 = new ht.Node();
- var Node24_1textStart, Node24_1textWidth, Node24_1lineStart, Node24_1align = 'left', Node24_1fontSize = 17.33329*_ratio.ratioY,Node24_1width = 143*_ratio.ratioX, Node24_1height = 37*_ratio.ratioY;
- (function () {
- if (Node24_1align === 'left') {
- Node24_1textStart = Node24_1fontSize * 0.2 > 2 ? Node24_1fontSize * 0.2 - 4 : Node24_1fontSize * 0.2 - 9;
- Node24_1textWidth = Node24_1width;
- Node24_1lineStart = 1;
- } else if (Node24_1align === 'right') {
- Node24_1textStart = 0;
- Node24_1textWidth =Node24_1fontSize <= 8 ? Node24_1width + Node24_1fontSize * 0.2 + 6 : Node24_1width - Node24_1fontSize * 0.2;
- Node24_1lineStart = (Node24_1width - (ht.Default.getTextSize('太旗卧牛山电场', ' '+ Node24_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node24_1align === 'center') {
- Node24_1textStart = -3;
- Node24_1textWidth = Node24_1width;
- Node24_1lineStart = Node24_1width - ht.Default.getTextSize('太旗卧牛山电场', ' '+ Node24_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node24_1.setImage(GD.getTextJSON(Node24_1width, Node24_1height, true, false, false, ' '+ Node24_1fontSize + 'px "Arial"'))
- Node24_1.setPosition(107*ratio.ratioX, 65*ratio.ratioY);
- Node24_1.setWidth(Node24_1width);
- Node24_1.setHeight(Node24_1height);
- Node24_1._nodeType = 'text';
- Node24_1._disallowEvert = true;
- Node24_1.setRotation(0*Math.PI/180);
- Node24_1.a('node.width', Node24_1width);
- Node24_1.a('node.height', Node24_1height);
- Node24_1.a('node.rect', [0, 0, Node24_1width, Node24_1height]);
- Node24_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node24_1.a('node.borderwidth', 0);
- Node24_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node24_1.a('node.gradient','');
- Node24_1.a('node.gradientcolor','');
- Node24_1.a('node.text','太旗卧牛山电场');
- Node24_1.a('node.textalign','left');
- Node24_1.a('node.textvAlign','middle');
- Node24_1.a('node.textrect', [Node24_1textStart, 0, Node24_1textWidth, Node24_1height]);
- Node24_1.a('node.color','rgba(255,255,255,1)');
- Node24_1.a('node.font',' '+ Node24_1fontSize + 'px "Arial"');
- Node24_1.a('node.textvisible',true);
- Node24_1.a('node.linefeed',false);
- if (false) {
- Node24_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node24_1.a('node.text') || '太旗卧牛山电场';
- var color=Node24_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node24_1width,Node24_1height,17.33329*_ratio.ratioY,"left",color,' '+ Node24_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node24_1.a('node.underlinepoints',[Node24_1lineStart, (37 - 17.33329) * 0.5 * _ratio.ratioY + Node24_1fontSize + 2 , ht.Default.getTextSize('太旗卧牛山电场', ' '+ Node24_1fontSize + 'px "Arial"').width + 6, (Node24_1height - Node24_1fontSize) * 0.5*_ratio.ratioY + Node24_1fontSize + 2 ]);
- Node24_1.a('node.underlinevisible',false);
- Node24_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node24_1);
- zoomNodeList.push({
- node: Node24_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node25 = new ht.lib['倒置 接地刀闸通用图元'](199*ratio.ratioX, 217*ratio.ratioY, 14*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'0',}, function (){return {}}, 'Node25');
- _libModel.add("Node25", Node25);
- Node25.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node26 = new ht.lib['倒置 接地刀闸通用图元'](309*ratio.ratioX, 291*ratio.ratioY, 14*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'0',}, function (){return {}}, 'Node26');
- _libModel.add("Node26", Node26);
- Node26.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node27 = new ht.lib['倒置 接地刀闸通用图元'](650*ratio.ratioX, 221*ratio.ratioY, 14*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0005',}, function (){return {}}, 'Node27');
- _libModel.add("Node27", Node27);
- Node27.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node28 = new ht.lib['倒置 接地刀闸通用图元'](740*ratio.ratioX, 220*ratio.ratioY, 14*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0004',}, function (){return {}}, 'Node28');
- _libModel.add("Node28", Node28);
- Node28.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node29 = new ht.lib['倒置 接地刀闸通用图元'](740*ratio.ratioX, 295*ratio.ratioY, 14*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0004',}, function (){return {}}, 'Node29');
- _libModel.add("Node29", Node29);
- Node29.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node30 = new ht.lib['倒置 接地刀闸通用图元'](1070*ratio.ratioX, 209*ratio.ratioY, 14*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0452',}, function (){return {}}, 'Node30');
- _libModel.add("Node30", Node30);
- Node30.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node31 = new ht.lib['倒置 接地刀闸通用图元'](1180*ratio.ratioX, 287*ratio.ratioY, 14*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0451',}, function (){return {}}, 'Node31');
- _libModel.add("Node31", Node31);
- Node31.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node32 = new ht.lib['倒置 接地刀闸通用图元'](1500*ratio.ratioX, 286*ratio.ratioY, 14*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0011',}, function (){return {}}, 'Node32');
- _libModel.add("Node32", Node32);
- Node32.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node33 = new ht.lib['倒置 接地刀闸通用图元'](1600*ratio.ratioX, 282*ratio.ratioY, 14*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0010',}, function (){return {}}, 'Node33');
- _libModel.add("Node33", Node33);
- Node33.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node34 = new ht.lib['倒置 接地刀闸通用图元'](1406*ratio.ratioX, 400*ratio.ratioY, 14*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0453',}, function (){return {}}, 'Node34');
- _libModel.add("Node34", Node34);
- Node34.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node35 = new ht.lib['倒置 接地刀闸通用图元'](928*ratio.ratioX, 430*ratio.ratioY, 14*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'0',}, function (){return {}}, 'Node35');
- _libModel.add("Node35", Node35);
- Node35.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node36 = new ht.lib['倒置 接地刀闸通用图元'](798*ratio.ratioX, 430*ratio.ratioY, 14*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'0',}, function (){return {}}, 'Node36');
- _libModel.add("Node36", Node36);
- Node36.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node37 = new ht.lib['倒置 接地刀闸通用图元'](668*ratio.ratioX, 430*ratio.ratioY, 14*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'0',}, function (){return {}}, 'Node37');
- _libModel.add("Node37", Node37);
- Node37.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node38 = new ht.lib['倒置 接地刀闸通用图元'](526*ratio.ratioX, 401*ratio.ratioY, 14*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0017',}, function (){return {}}, 'Node38');
- _libModel.add("Node38", Node38);
- Node38.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node39 = new ht.lib['倒置 接地刀闸通用图元'](129*ratio.ratioX, 592*ratio.ratioY, 14*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'0',}, function (){return {}}, 'Node39');
- _libModel.add("Node39", Node39);
- Node39.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node40 = new ht.lib['倒置 接地刀闸通用图元'](299*ratio.ratioX, 592*ratio.ratioY, 14*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'0',}, function (){return {}}, 'Node40');
- _libModel.add("Node40", Node40);
- Node40.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node41 = new ht.lib['倒置 接地刀闸通用图元'](479*ratio.ratioX, 592*ratio.ratioY, 14*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0386',}, 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['倒置 接地刀闸通用图元'](569*ratio.ratioX, 592*ratio.ratioY, 14*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'0',}, 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.lib['倒置 接地刀闸通用图元'](659*ratio.ratioX, 592*ratio.ratioY, 14*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'0',}, function (){return {}}, 'Node43');
- _libModel.add("Node43", Node43);
- Node43.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node44 = new ht.lib['倒置 接地刀闸通用图元'](749*ratio.ratioX, 592*ratio.ratioY, 14*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'0',}, function (){return {}}, 'Node44');
- _libModel.add("Node44", Node44);
- Node44.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node45 = new ht.lib['倒置 接地刀闸通用图元'](839*ratio.ratioX, 592*ratio.ratioY, 14*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'0',}, function (){return {}}, 'Node45');
- _libModel.add("Node45", Node45);
- Node45.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node46 = new ht.lib['倒置 接地刀闸通用图元'](1159*ratio.ratioX, 592*ratio.ratioY, 14*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0462',}, function (){return {}}, 'Node46');
- _libModel.add("Node46", Node46);
- Node46.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node47 = new ht.lib['倒置 接地刀闸通用图元'](1259*ratio.ratioX, 592*ratio.ratioY, 14*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0465',}, function (){return {}}, 'Node47');
- _libModel.add("Node47", Node47);
- Node47.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node48 = new ht.lib['倒置 接地刀闸通用图元'](1469*ratio.ratioX, 592*ratio.ratioY, 14*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0468',}, function (){return {}}, 'Node48');
- _libModel.add("Node48", Node48);
- Node48.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node49 = new ht.lib['倒置 接地刀闸通用图元'](1569*ratio.ratioX, 592*ratio.ratioY, 14*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0471',}, function (){return {}}, 'Node49');
- _libModel.add("Node49", Node49);
- Node49.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node50 = new ht.lib['倒置 接地刀闸通用图元'](1669*ratio.ratioX, 592*ratio.ratioY, 14*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0474',}, function (){return {}}, 'Node50');
- _libModel.add("Node50", Node50);
- Node50.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node51 = new ht.lib['倒置 接地刀闸通用图元'](1769*ratio.ratioX, 592*ratio.ratioY, 14*_ratio.ratioX, 21*_ratio.ratioY, 0*Math.PI/180, {xianshi4:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0477',}, function (){return {}}, 'Node51');
- _libModel.add("Node51", Node51);
- Node51.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node52 = new ht.lib['开关通用图元'](270*ratio.ratioX, 296*ratio.ratioY, 19*_ratio.ratioX, 24*_ratio.ratioY, 0*Math.PI/180, {xianshi:'0',}, function (){return {}}, 'Node52');
- _libModel.add("Node52", Node52);
- Node52.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node53 = new ht.lib['开关通用图元'](710*ratio.ratioX, 296*ratio.ratioY, 19*_ratio.ratioX, 24*_ratio.ratioY, 0*Math.PI/180, {xianshi:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0002',}, function (){return {}}, 'Node53');
- _libModel.add("Node53", Node53);
- Node53.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node54 = new ht.lib['开关通用图元'](710*ratio.ratioX, 220*ratio.ratioY, 19*_ratio.ratioX, 24*_ratio.ratioY, 0*Math.PI/180, {xianshi:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0003',}, function (){return {}}, 'Node54');
- _libModel.add("Node54", Node54);
- Node54.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node55 = new ht.lib['开关通用图元'](1140*ratio.ratioX, 293*ratio.ratioY, 19*_ratio.ratioX, 24*_ratio.ratioY, 0*Math.PI/180, {xianshi:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0449',}, function (){return {}}, 'Node55');
- _libModel.add("Node55", Node55);
- Node55.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node56 = new ht.lib['开关通用图元'](1550*ratio.ratioX, 284*ratio.ratioY, 19*_ratio.ratioX, 24*_ratio.ratioY, 0*Math.PI/180, {xianshi:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0007',}, function (){return {}}, 'Node56');
- _libModel.add("Node56", Node56);
- Node56.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node57 = new ht.lib['断路器通用图元'](270*ratio.ratioX, 261*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'0',}, function (){return {}}, 'Node57');
- _libModel.add("Node57", Node57);
- Node57.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node58 = new ht.lib['断路器通用图元'](710*ratio.ratioX, 261*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0001',}, 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['断路器通用图元'](1140*ratio.ratioX, 251*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0448',}, 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.lib['手车通用图元'](370*ratio.ratioX, 455*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0021',}, function (){return {}}, 'Node60');
- _libModel.add("Node60", Node60);
- Node60.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node61 = new ht.lib['断路器通用图元'](370*ratio.ratioX, 456*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0018',}, function (){return {}}, 'Node61');
- _libModel.add("Node61", Node61);
- Node61.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node62 = new ht.lib['手车通用图元'](630*ratio.ratioX, 475*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0092',}, function (){return {}}, 'Node62');
- _libModel.add("Node62", Node62);
- Node62.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node63 = new ht.lib['断路器通用图元'](630*ratio.ratioX, 476*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0444',}, function (){return {}}, 'Node63');
- _libModel.add("Node63", Node63);
- Node63.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node64 = new ht.lib['手车通用图元'](760*ratio.ratioX, 475*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0098',}, function (){return {}}, 'Node64');
- _libModel.add("Node64", Node64);
- Node64.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node65 = new ht.lib['断路器通用图元'](760*ratio.ratioX, 476*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0445',}, function (){return {}}, 'Node65');
- _libModel.add("Node65", Node65);
- Node65.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node66 = new ht.lib['手车通用图元'](890*ratio.ratioX, 475*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0080',}, function (){return {}}, 'Node66');
- _libModel.add("Node66", Node66);
- Node66.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node67 = new ht.lib['断路器通用图元'](890*ratio.ratioX, 476*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0446',}, function (){return {}}, 'Node67');
- _libModel.add("Node67", Node67);
- Node67.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node68 = new ht.lib['手车通用图元'](1250*ratio.ratioX, 455*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0685',}, function (){return {}}, 'Node68');
- _libModel.add("Node68", Node68);
- Node68.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node69 = new ht.lib['断路器通用图元'](1250*ratio.ratioX, 456*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0682',}, function (){return {}}, 'Node69');
- _libModel.add("Node69", Node69);
- Node69.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node70 = new ht.lib['手车通用图元'](1740*ratio.ratioX, 535*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0476',}, function (){return {}}, 'Node70');
- _libModel.add("Node70", Node70);
- Node70.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node71 = new ht.lib['断路器通用图元'](1740*ratio.ratioX, 536*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0478',}, function (){return {}}, 'Node71');
- _libModel.add("Node71", Node71);
- Node71.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node72 = new ht.lib['手车通用图元'](1640*ratio.ratioX, 537*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0473',}, function (){return {}}, 'Node72');
- _libModel.add("Node72", Node72);
- Node72.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node73 = new ht.lib['断路器通用图元'](1640*ratio.ratioX, 538*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0475',}, function (){return {}}, 'Node73');
- _libModel.add("Node73", Node73);
- Node73.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node74 = new ht.lib['手车通用图元'](1540*ratio.ratioX, 536*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0470',}, function (){return {}}, 'Node74');
- _libModel.add("Node74", Node74);
- Node74.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node75 = new ht.lib['断路器通用图元'](1540*ratio.ratioX, 537*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0472',}, function (){return {}}, 'Node75');
- _libModel.add("Node75", Node75);
- Node75.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node76 = new ht.lib['手车通用图元'](1440*ratio.ratioX, 535*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0467',}, function (){return {}}, 'Node76');
- _libModel.add("Node76", Node76);
- Node76.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node77 = new ht.lib['断路器通用图元'](1440*ratio.ratioX, 536*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0469',}, function (){return {}}, 'Node77');
- _libModel.add("Node77", Node77);
- Node77.setRotation(0*Math.PI/180);
- ;
- ;
- var Node78points=[80, 321,1800, 321],
- Node78rect=ht.Default.unionPoint([{x:80,y:321},{x:1800,y:321}]),
- Node78compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, 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 = 3;
- 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=3;
- 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 = 3;
- 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);
- var Node79points=[60, 501,940, 501],
- Node79rect=ht.Default.unionPoint([{x:60,y:501},{x:940,y:501}]),
- Node79compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node79points.length;i++){
- if(i%2==0){
- Node79compspts.push(Node79points[i]-Node79rect.x);
- }else{
- Node79compspts.push(Node79points[i]-Node79rect.y);
- }
- }
- var Node79ptslength=Node79compspts.length;
- if (Node79rect.height === 0) {
- Node79compspts[0] -= 0;
- Node79compspts[Node79ptslength-2] += 0;
- } else if (Node79rect.width === 0){
- Node79compspts[1] -= 0;
- Node79compspts[Node79ptslength-1] += 0;
- } else {
- Node79compspts[0] -= 0;
- Node79compspts[1] -= 0;
- Node79compspts[Node79ptslength-2] += 0;
- Node79compspts[Node79ptslength-1] += 0;
- }
- Node79 = new ht.Node();
- Node79.borderWidth = 3;
- Node79rect.width = Node79rect.width === 0 ? 0.0001 : Node79rect.width;
- Node79rect.height = Node79rect.height === 0 ? 0.0001 : Node79rect.height;
- var Node79endCompspts = [Node79compspts[Node79ptslength-2],Node79compspts[Node79ptslength-1],0,0];
- var Node79startCompspts = [Node79compspts[0],Node79compspts[1],0,0];
- Node79.setImage(GD.getPolyLineJSON());
- Node79.setPosition(Node79rect.x+Node79rect.width/2,Node79rect.y+Node79rect.height/2);
- Node79.setSize(Node79rect.width,Node79rect.height);
- Node79.setStyle("opacity",1);
- Node79.s({'pixelPerfect':true});
- Node79borderwidth=3;
- Node79.setRotation(0);
- dataModel.add(Node79);
- Node79.a('node.points',Node79compspts);
- Node79.a('node.segments',[1,2]);
- Node79.a('node.color','rgba(255,128,0,1)');
- Node79.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node79.a('node.borderColor','rgba(255,128,0,1)');
- Node79.a('node.background','rgba(255,128,0,1)');
- Node79.a('node.gradient','');
- Node79.a('node.gradientcolor','rgba(255,128,0,1)');
- Node79.a('node.endCompspts',Node79endCompspts);
- Node79.a('node.startCompspts',Node79startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.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 = 'Node79';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node79, Node79.getImage(), Node79compspts, Node79endCompspts, Node79startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node80 = new ht.Node();
- var Node80textStart, Node80textWidth, Node80lineStart, Node80align = 'left', Node80fontSize = 19.99995*_ratio.ratioY,Node80width = 111*_ratio.ratioX, Node80height = 25*_ratio.ratioY;
- (function () {
- if (Node80align === 'left') {
- Node80textStart = Node80fontSize * 0.2 > 2 ? Node80fontSize * 0.2 - 4 : Node80fontSize * 0.2 - 9;
- Node80textWidth = Node80width;
- Node80lineStart = 1;
- } else if (Node80align === 'right') {
- Node80textStart = 0;
- Node80textWidth =Node80fontSize <= 8 ? Node80width + Node80fontSize * 0.2 + 6 : Node80width - Node80fontSize * 0.2;
- Node80lineStart = (Node80width - (ht.Default.getTextSize('220kV母线', ' '+ Node80fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node80align === 'center') {
- Node80textStart = -3;
- Node80textWidth = Node80width;
- Node80lineStart = Node80width - ht.Default.getTextSize('220kV母线', ' '+ Node80fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node80.setImage(GD.getTextJSON(Node80width, Node80height, true, false, false, ' '+ Node80fontSize + 'px "Arial"'))
- Node80.setPosition(135*ratio.ratioX, 301*ratio.ratioY);
- Node80.setWidth(Node80width);
- Node80.setHeight(Node80height);
- Node80._nodeType = 'text';
- Node80._disallowEvert = true;
- Node80.setRotation(0*Math.PI/180);
- Node80.a('node.width', Node80width);
- Node80.a('node.height', Node80height);
- Node80.a('node.rect', [0, 0, Node80width, Node80height]);
- Node80.a('node.bordercolor','rgba(0,0,0,1)');
- Node80.a('node.borderwidth', 0);
- Node80.a('node.background','' || 'rgba(0,0,0,0)');
- Node80.a('node.gradient','');
- Node80.a('node.gradientcolor','');
- Node80.a('node.text','220kV母线');
- Node80.a('node.textalign','left');
- Node80.a('node.textvAlign','middle');
- Node80.a('node.textrect', [Node80textStart, 0, Node80textWidth, Node80height]);
- Node80.a('node.color','rgba(0,0,0,1)');
- Node80.a('node.font',' '+ Node80fontSize + 'px "Arial"');
- Node80.a('node.textvisible',true);
- Node80.a('node.linefeed',false);
- if (false) {
- Node80.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node80.a('node.text') || '220kV母线';
- var color=Node80.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node80width,Node80height,19.99995*_ratio.ratioY,"left",color,' '+ Node80fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node80.a('node.underlinepoints',[Node80lineStart, (25 - 19.99995) * 0.5 * _ratio.ratioY + Node80fontSize + 2 , ht.Default.getTextSize('220kV母线', ' '+ Node80fontSize + 'px "Arial"').width + 6, (Node80height - Node80fontSize) * 0.5*_ratio.ratioY + Node80fontSize + 2 ]);
- Node80.a('node.underlinevisible',false);
- Node80.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node80);
- zoomNodeList.push({
- node: Node80,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node81points=[270, 321,270, 301],
- Node81rect=ht.Default.unionPoint([{x:270,y:321},{x:270,y:301}]),
- Node81compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node81points.length;i++){
- if(i%2==0){
- Node81compspts.push(Node81points[i]-Node81rect.x);
- }else{
- Node81compspts.push(Node81points[i]-Node81rect.y);
- }
- }
- var Node81ptslength=Node81compspts.length;
- if (Node81rect.height === 0) {
- Node81compspts[0] -= 0;
- Node81compspts[Node81ptslength-2] += 0;
- } else if (Node81rect.width === 0){
- Node81compspts[1] -= 0;
- Node81compspts[Node81ptslength-1] += 0;
- } else {
- Node81compspts[0] -= 0;
- Node81compspts[1] -= 0;
- Node81compspts[Node81ptslength-2] += 0;
- Node81compspts[Node81ptslength-1] += 0;
- }
- Node81 = new ht.Node();
- Node81.borderWidth = 1;
- Node81rect.width = Node81rect.width === 0 ? 0.0001 : Node81rect.width;
- Node81rect.height = Node81rect.height === 0 ? 0.0001 : Node81rect.height;
- var Node81endCompspts = [Node81compspts[Node81ptslength-2],Node81compspts[Node81ptslength-1],0,0];
- var Node81startCompspts = [Node81compspts[0],Node81compspts[1],0,0];
- Node81.setImage(GD.getPolyLineJSON());
- Node81.setPosition(Node81rect.x+Node81rect.width/2,Node81rect.y+Node81rect.height/2);
- Node81.setSize(Node81rect.width,Node81rect.height);
- Node81.setStyle("opacity",1);
- Node81.s({'pixelPerfect':true});
- Node81borderwidth=1;
- Node81.setRotation(0);
- dataModel.add(Node81);
- Node81.a('node.points',Node81compspts);
- Node81.a('node.segments',[1,2]);
- Node81.a('node.color','rgba(255,0,255,1)');
- Node81.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node81.a('node.borderColor','rgba(255,0,255,1)');
- Node81.a('node.background','rgba(255,0,255,1)');
- Node81.a('node.gradient','');
- Node81.a('node.gradientcolor','rgba(255,0,255,1)');
- Node81.a('node.endCompspts',Node81endCompspts);
- Node81.a('node.startCompspts',Node81startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node81';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node81, Node81.getImage(), Node81compspts, Node81endCompspts, Node81startCompspts);
- var Node82points=[270, 283,270, 271],
- Node82rect=ht.Default.unionPoint([{x:270,y:283},{x:270,y:271}]),
- Node82compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node82points.length;i++){
- if(i%2==0){
- Node82compspts.push(Node82points[i]-Node82rect.x);
- }else{
- Node82compspts.push(Node82points[i]-Node82rect.y);
- }
- }
- var Node82ptslength=Node82compspts.length;
- if (Node82rect.height === 0) {
- Node82compspts[0] -= 0;
- Node82compspts[Node82ptslength-2] += 0;
- } else if (Node82rect.width === 0){
- Node82compspts[1] -= 0;
- Node82compspts[Node82ptslength-1] += 0;
- } else {
- Node82compspts[0] -= 0;
- Node82compspts[1] -= 0;
- Node82compspts[Node82ptslength-2] += 0;
- Node82compspts[Node82ptslength-1] += 0;
- }
- Node82 = new ht.Node();
- Node82.borderWidth = 1;
- Node82rect.width = Node82rect.width === 0 ? 0.0001 : Node82rect.width;
- Node82rect.height = Node82rect.height === 0 ? 0.0001 : Node82rect.height;
- var Node82endCompspts = [Node82compspts[Node82ptslength-2],Node82compspts[Node82ptslength-1],0,0];
- var Node82startCompspts = [Node82compspts[0],Node82compspts[1],0,0];
- Node82.setImage(GD.getPolyLineJSON());
- Node82.setPosition(Node82rect.x+Node82rect.width/2,Node82rect.y+Node82rect.height/2);
- Node82.setSize(Node82rect.width,Node82rect.height);
- Node82.setStyle("opacity",1);
- Node82.s({'pixelPerfect':true});
- Node82borderwidth=1;
- Node82.setRotation(0);
- dataModel.add(Node82);
- Node82.a('node.points',Node82compspts);
- Node82.a('node.segments',[1,2]);
- Node82.a('node.color','rgba(255,0,255,1)');
- Node82.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node82.a('node.borderColor','rgba(255,0,255,1)');
- Node82.a('node.background','rgba(255,0,255,1)');
- Node82.a('node.gradient','');
- Node82.a('node.gradientcolor','rgba(255,0,255,1)');
- Node82.a('node.endCompspts',Node82endCompspts);
- Node82.a('node.startCompspts',Node82startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node82';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node82, Node82.getImage(), Node82compspts, Node82endCompspts, Node82startCompspts);
- var Node83points=[270, 251,270, 201],
- Node83rect=ht.Default.unionPoint([{x:270,y:251},{x:270,y:201}]),
- Node83compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node83points.length;i++){
- if(i%2==0){
- Node83compspts.push(Node83points[i]-Node83rect.x);
- }else{
- Node83compspts.push(Node83points[i]-Node83rect.y);
- }
- }
- var Node83ptslength=Node83compspts.length;
- if (Node83rect.height === 0) {
- Node83compspts[0] -= 0;
- Node83compspts[Node83ptslength-2] += 0;
- } else if (Node83rect.width === 0){
- Node83compspts[1] -= 0;
- Node83compspts[Node83ptslength-1] += 0;
- } else {
- Node83compspts[0] -= 0;
- Node83compspts[1] -= 0;
- Node83compspts[Node83ptslength-2] += 0;
- Node83compspts[Node83ptslength-1] += 0;
- }
- Node83 = new ht.Node();
- Node83.borderWidth = 1;
- Node83rect.width = Node83rect.width === 0 ? 0.0001 : Node83rect.width;
- Node83rect.height = Node83rect.height === 0 ? 0.0001 : Node83rect.height;
- var Node83endCompspts = [Node83compspts[Node83ptslength-2],Node83compspts[Node83ptslength-1],0,0];
- var Node83startCompspts = [Node83compspts[0],Node83compspts[1],0,0];
- Node83.setImage(GD.getPolyLineJSON());
- Node83.setPosition(Node83rect.x+Node83rect.width/2,Node83rect.y+Node83rect.height/2);
- Node83.setSize(Node83rect.width,Node83rect.height);
- Node83.setStyle("opacity",1);
- Node83.s({'pixelPerfect':true});
- Node83borderwidth=1;
- Node83.setRotation(0);
- dataModel.add(Node83);
- Node83.a('node.points',Node83compspts);
- Node83.a('node.segments',[1,2]);
- Node83.a('node.color','rgba(255,0,255,1)');
- Node83.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node83.a('node.borderColor','rgba(255,0,255,1)');
- Node83.a('node.background','rgba(255,0,255,1)');
- Node83.a('node.gradient','');
- Node83.a('node.gradientcolor','rgba(255,0,255,1)');
- Node83.a('node.endCompspts',Node83endCompspts);
- Node83.a('node.startCompspts',Node83startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node83';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node83, Node83.getImage(), Node83compspts, Node83endCompspts, Node83startCompspts);
- var Node84points=[270, 201,370, 201],
- Node84rect=ht.Default.unionPoint([{x:270,y:201},{x:370,y:201}]),
- Node84compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node84points.length;i++){
- if(i%2==0){
- Node84compspts.push(Node84points[i]-Node84rect.x);
- }else{
- Node84compspts.push(Node84points[i]-Node84rect.y);
- }
- }
- var Node84ptslength=Node84compspts.length;
- if (Node84rect.height === 0) {
- Node84compspts[0] -= 0;
- Node84compspts[Node84ptslength-2] += 0;
- } else if (Node84rect.width === 0){
- Node84compspts[1] -= 0;
- Node84compspts[Node84ptslength-1] += 0;
- } else {
- Node84compspts[0] -= 0;
- Node84compspts[1] -= 0;
- Node84compspts[Node84ptslength-2] += 0;
- Node84compspts[Node84ptslength-1] += 0;
- }
- Node84 = new ht.Node();
- Node84.borderWidth = 1;
- Node84rect.width = Node84rect.width === 0 ? 0.0001 : Node84rect.width;
- Node84rect.height = Node84rect.height === 0 ? 0.0001 : Node84rect.height;
- var Node84endCompspts = [Node84compspts[Node84ptslength-2],Node84compspts[Node84ptslength-1],0,0];
- var Node84startCompspts = [Node84compspts[0],Node84compspts[1],0,0];
- Node84.setImage(GD.getPolyLineJSON());
- Node84.setPosition(Node84rect.x+Node84rect.width/2,Node84rect.y+Node84rect.height/2);
- Node84.setSize(Node84rect.width,Node84rect.height);
- Node84.setStyle("opacity",1);
- Node84.s({'pixelPerfect':true});
- Node84borderwidth=1;
- Node84.setRotation(0);
- dataModel.add(Node84);
- Node84.a('node.points',Node84compspts);
- Node84.a('node.segments',[1,2]);
- Node84.a('node.color','rgba(255,0,255,1)');
- Node84.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node84.a('node.borderColor','rgba(255,0,255,1)');
- Node84.a('node.background','rgba(255,0,255,1)');
- Node84.a('node.gradient','');
- Node84.a('node.gradientcolor','rgba(255,0,255,1)');
- Node84.a('node.endCompspts',Node84endCompspts);
- Node84.a('node.startCompspts',Node84startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node84';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node84, Node84.getImage(), Node84compspts, Node84endCompspts, Node84startCompspts);
- var Node85points=[370, 201,370, 341],
- Node85rect=ht.Default.unionPoint([{x:370,y:201},{x:370,y:341}]),
- Node85compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node85points.length;i++){
- if(i%2==0){
- Node85compspts.push(Node85points[i]-Node85rect.x);
- }else{
- Node85compspts.push(Node85points[i]-Node85rect.y);
- }
- }
- var Node85ptslength=Node85compspts.length;
- if (Node85rect.height === 0) {
- Node85compspts[0] -= 0;
- Node85compspts[Node85ptslength-2] += 0;
- } else if (Node85rect.width === 0){
- Node85compspts[1] -= 0;
- Node85compspts[Node85ptslength-1] += 0;
- } else {
- Node85compspts[0] -= 0;
- Node85compspts[1] -= 0;
- Node85compspts[Node85ptslength-2] += 0;
- Node85compspts[Node85ptslength-1] += 0;
- }
- Node85 = new ht.Node();
- Node85.borderWidth = 1;
- Node85rect.width = Node85rect.width === 0 ? 0.0001 : Node85rect.width;
- Node85rect.height = Node85rect.height === 0 ? 0.0001 : Node85rect.height;
- var Node85endCompspts = [Node85compspts[Node85ptslength-2],Node85compspts[Node85ptslength-1],0,0];
- var Node85startCompspts = [Node85compspts[0],Node85compspts[1],0,0];
- Node85.setImage(GD.getPolyLineJSON());
- Node85.setPosition(Node85rect.x+Node85rect.width/2,Node85rect.y+Node85rect.height/2);
- Node85.setSize(Node85rect.width,Node85rect.height);
- Node85.setStyle("opacity",1);
- Node85.s({'pixelPerfect':true});
- Node85borderwidth=1;
- Node85.setRotation(0);
- dataModel.add(Node85);
- Node85.a('node.points',Node85compspts);
- Node85.a('node.segments',[1,2]);
- Node85.a('node.color','rgba(255,0,255,1)');
- Node85.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node85.a('node.borderColor','rgba(255,0,255,1)');
- Node85.a('node.background','rgba(255,0,255,1)');
- Node85.a('node.gradient','');
- Node85.a('node.gradientcolor','rgba(255,0,255,1)');
- Node85.a('node.endCompspts',Node85endCompspts);
- Node85.a('node.startCompspts',Node85startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node85';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node85, Node85.getImage(), Node85compspts, Node85endCompspts, Node85startCompspts);
- var Node86points=[270, 223,240, 223],
- Node86rect=ht.Default.unionPoint([{x:270,y:223},{x:240,y:223}]),
- Node86compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(0, ratio),
- _endratio = GD.getRatioWithRotation(3.14159265358979, ratio);
- for(var i=0;i<Node86points.length;i++){
- if(i%2==0){
- Node86compspts.push(Node86points[i]-Node86rect.x);
- }else{
- Node86compspts.push(Node86points[i]-Node86rect.y);
- }
- }
- var Node86ptslength=Node86compspts.length;
- if (Node86rect.height === 0) {
- Node86compspts[0] -= 0;
- Node86compspts[Node86ptslength-2] += 0;
- } else if (Node86rect.width === 0){
- Node86compspts[1] -= 0;
- Node86compspts[Node86ptslength-1] += 0;
- } else {
- Node86compspts[0] -= 0;
- Node86compspts[1] -= 0;
- Node86compspts[Node86ptslength-2] += 0;
- Node86compspts[Node86ptslength-1] += 0;
- }
- Node86 = new ht.Node();
- Node86.borderWidth = 1;
- Node86rect.width = Node86rect.width === 0 ? 0.0001 : Node86rect.width;
- Node86rect.height = Node86rect.height === 0 ? 0.0001 : Node86rect.height;
- var Node86endCompspts = [Node86compspts[Node86ptslength-2],Node86compspts[Node86ptslength-1],0,0];
- var Node86startCompspts = [Node86compspts[0],Node86compspts[1],0,0];
- Node86.setImage(GD.getPolyLineJSON());
- Node86.setPosition(Node86rect.x+Node86rect.width/2,Node86rect.y+Node86rect.height/2);
- Node86.setSize(Node86rect.width,Node86rect.height);
- Node86.setStyle("opacity",1);
- Node86.s({'pixelPerfect':true});
- Node86borderwidth=1;
- Node86.setRotation(0);
- dataModel.add(Node86);
- Node86.a('node.points',Node86compspts);
- Node86.a('node.segments',[1,2]);
- Node86.a('node.color','rgba(255,0,255,1)');
- Node86.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node86.a('node.borderColor','rgba(255,0,255,1)');
- Node86.a('node.background','rgba(255,0,255,1)');
- Node86.a('node.gradient','');
- Node86.a('node.gradientcolor','rgba(255,0,255,1)');
- Node86.a('node.endCompspts',Node86endCompspts);
- Node86.a('node.startCompspts',Node86startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node86';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node86, Node86.getImage(), Node86compspts, Node86endCompspts, Node86startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node87 = new ht.lib['23456567'](238*ratio.ratioX, 194*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node87');
- _libModel.add("Node87", Node87);
- Node87.setRotation(180*Math.PI/180);
- ;
- ;
- var Node88points=[270, 241,200, 241],
- Node88rect=ht.Default.unionPoint([{x:270,y:241},{x:200,y:241}]),
- Node88compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(0, ratio),
- _endratio = GD.getRatioWithRotation(3.14159265358979, ratio);
- for(var i=0;i<Node88points.length;i++){
- if(i%2==0){
- Node88compspts.push(Node88points[i]-Node88rect.x);
- }else{
- Node88compspts.push(Node88points[i]-Node88rect.y);
- }
- }
- var Node88ptslength=Node88compspts.length;
- if (Node88rect.height === 0) {
- Node88compspts[0] -= 0;
- Node88compspts[Node88ptslength-2] += 0;
- } else if (Node88rect.width === 0){
- Node88compspts[1] -= 0;
- Node88compspts[Node88ptslength-1] += 0;
- } else {
- Node88compspts[0] -= 0;
- Node88compspts[1] -= 0;
- Node88compspts[Node88ptslength-2] += 0;
- Node88compspts[Node88ptslength-1] += 0;
- }
- Node88 = new ht.Node();
- Node88.borderWidth = 1;
- Node88rect.width = Node88rect.width === 0 ? 0.0001 : Node88rect.width;
- Node88rect.height = Node88rect.height === 0 ? 0.0001 : Node88rect.height;
- var Node88endCompspts = [Node88compspts[Node88ptslength-2],Node88compspts[Node88ptslength-1],0,0];
- var Node88startCompspts = [Node88compspts[0],Node88compspts[1],0,0];
- Node88.setImage(GD.getPolyLineJSON());
- Node88.setPosition(Node88rect.x+Node88rect.width/2,Node88rect.y+Node88rect.height/2);
- Node88.setSize(Node88rect.width,Node88rect.height);
- Node88.setStyle("opacity",1);
- Node88.s({'pixelPerfect':true});
- Node88borderwidth=1;
- Node88.setRotation(0);
- dataModel.add(Node88);
- Node88.a('node.points',Node88compspts);
- Node88.a('node.segments',[1,2]);
- Node88.a('node.color','rgba(255,0,255,1)');
- Node88.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node88.a('node.borderColor','rgba(255,0,255,1)');
- Node88.a('node.background','rgba(255,0,255,1)');
- Node88.a('node.gradient','');
- Node88.a('node.gradientcolor','rgba(255,0,255,1)');
- Node88.a('node.endCompspts',Node88endCompspts);
- Node88.a('node.startCompspts',Node88startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node88';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node88, Node88.getImage(), Node88compspts, Node88endCompspts, Node88startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node89 = new ht.lib['pt接地'](199*ratio.ratioX, 196*ratio.ratioY, 16*_ratio.ratioX, 14*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node89');
- _libModel.add("Node89", Node89);
- Node89.setRotation(0*Math.PI/180);
- ;
- ;
- var Node90points=[200, 241,200, 231],
- Node90rect=ht.Default.unionPoint([{x:200,y:241},{x:200,y:231}]),
- Node90compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node90points.length;i++){
- if(i%2==0){
- Node90compspts.push(Node90points[i]-Node90rect.x);
- }else{
- Node90compspts.push(Node90points[i]-Node90rect.y);
- }
- }
- var Node90ptslength=Node90compspts.length;
- if (Node90rect.height === 0) {
- Node90compspts[0] -= 0;
- Node90compspts[Node90ptslength-2] += 0;
- } else if (Node90rect.width === 0){
- Node90compspts[1] -= 0;
- Node90compspts[Node90ptslength-1] += 0;
- } else {
- Node90compspts[0] -= 0;
- Node90compspts[1] -= 0;
- Node90compspts[Node90ptslength-2] += 0;
- Node90compspts[Node90ptslength-1] += 0;
- }
- Node90 = new ht.Node();
- Node90.borderWidth = 1;
- Node90rect.width = Node90rect.width === 0 ? 0.0001 : Node90rect.width;
- Node90rect.height = Node90rect.height === 0 ? 0.0001 : Node90rect.height;
- var Node90endCompspts = [Node90compspts[Node90ptslength-2],Node90compspts[Node90ptslength-1],0,0];
- var Node90startCompspts = [Node90compspts[0],Node90compspts[1],0,0];
- Node90.setImage(GD.getPolyLineJSON());
- Node90.setPosition(Node90rect.x+Node90rect.width/2,Node90rect.y+Node90rect.height/2);
- Node90.setSize(Node90rect.width,Node90rect.height);
- Node90.setStyle("opacity",1);
- Node90.s({'pixelPerfect':true});
- Node90borderwidth=1;
- Node90.setRotation(0);
- dataModel.add(Node90);
- Node90.a('node.points',Node90compspts);
- Node90.a('node.segments',[1,2]);
- Node90.a('node.color','rgba(255,0,255,1)');
- Node90.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node90.a('node.borderColor','rgba(255,0,255,1)');
- Node90.a('node.background','rgba(255,0,255,1)');
- Node90.a('node.gradient','');
- Node90.a('node.gradientcolor','rgba(255,0,255,1)');
- Node90.a('node.endCompspts',Node90endCompspts);
- Node90.a('node.startCompspts',Node90startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node90';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node90, Node90.getImage(), Node90compspts, Node90endCompspts, Node90startCompspts);
- _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 = 75*_ratio.ratioX, Node91height = 24*_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('201617', ' '+ Node91fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node91align === 'center') {
- Node91textStart = -3;
- Node91textWidth = Node91width;
- Node91lineStart = Node91width - ht.Default.getTextSize('201617', ' '+ Node91fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node91.setImage(GD.getTextJSON(Node91width, Node91height, true, false, false, ' '+ Node91fontSize + 'px "Arial"'))
- Node91.setPosition(178*ratio.ratioX, 218*ratio.ratioY);
- Node91.setWidth(Node91width);
- Node91.setHeight(Node91height);
- Node91._nodeType = 'text';
- Node91._disallowEvert = true;
- Node91.setRotation(0*Math.PI/180);
- Node91.a('node.width', Node91width);
- Node91.a('node.height', Node91height);
- Node91.a('node.rect', [0, 0, Node91width, Node91height]);
- Node91.a('node.bordercolor','rgba(0,0,0,1)');
- Node91.a('node.borderwidth', 0);
- Node91.a('node.background','' || 'rgba(0,0,0,0)');
- Node91.a('node.gradient','');
- Node91.a('node.gradientcolor','');
- Node91.a('node.text','201617');
- Node91.a('node.textalign','left');
- Node91.a('node.textvAlign','middle');
- Node91.a('node.textrect', [Node91textStart, 0, Node91textWidth, Node91height]);
- Node91.a('node.color','rgba(0,0,0,1)');
- Node91.a('node.font',' '+ Node91fontSize + 'px "Arial"');
- Node91.a('node.textvisible',true);
- Node91.a('node.linefeed',false);
- if (false) {
- Node91.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node91.a('node.text') || '201617';
- var color=Node91.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node91width,Node91height,13.3333*_ratio.ratioY,"left",color,' '+ Node91fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node91.a('node.underlinepoints',[Node91lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node91fontSize + 2 , ht.Default.getTextSize('201617', ' '+ 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 = 27*_ratio.ratioX, Node92height = 24*_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('201', ' '+ Node92fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node92align === 'center') {
- Node92textStart = -3;
- Node92textWidth = Node92width;
- Node92lineStart = Node92width - ht.Default.getTextSize('201', ' '+ Node92fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node92.setImage(GD.getTextJSON(Node92width, Node92height, true, false, false, ' '+ Node92fontSize + 'px "Arial"'))
- Node92.setPosition(249*ratio.ratioX, 262*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','201');
- 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') || '201';
- 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, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node92fontSize + 2 , ht.Default.getTextSize('201', ' '+ 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 = 34*_ratio.ratioX, Node93height = 24*_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('2011', ' '+ Node93fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node93align === 'center') {
- Node93textStart = -3;
- Node93textWidth = Node93width;
- Node93lineStart = Node93width - ht.Default.getTextSize('2011', ' '+ Node93fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node93.setImage(GD.getTextJSON(Node93width, Node93height, true, false, false, ' '+ Node93fontSize + 'px "Arial"'))
- Node93.setPosition(246*ratio.ratioX, 292*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','2011');
- 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') || '2011';
- 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, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node93fontSize + 2 , ht.Default.getTextSize('2011', ' '+ 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'
- }); var Node94points=[270, 278,310, 278],
- Node94rect=ht.Default.unionPoint([{x:270,y:278},{x:310,y:278}]),
- Node94compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node94points.length;i++){
- if(i%2==0){
- Node94compspts.push(Node94points[i]-Node94rect.x);
- }else{
- Node94compspts.push(Node94points[i]-Node94rect.y);
- }
- }
- var Node94ptslength=Node94compspts.length;
- if (Node94rect.height === 0) {
- Node94compspts[0] -= 0;
- Node94compspts[Node94ptslength-2] += 0;
- } else if (Node94rect.width === 0){
- Node94compspts[1] -= 0;
- Node94compspts[Node94ptslength-1] += 0;
- } else {
- Node94compspts[0] -= 0;
- Node94compspts[1] -= 0;
- Node94compspts[Node94ptslength-2] += 0;
- Node94compspts[Node94ptslength-1] += 0;
- }
- Node94 = new ht.Node();
- Node94.borderWidth = 1;
- Node94rect.width = Node94rect.width === 0 ? 0.0001 : Node94rect.width;
- Node94rect.height = Node94rect.height === 0 ? 0.0001 : Node94rect.height;
- var Node94endCompspts = [Node94compspts[Node94ptslength-2],Node94compspts[Node94ptslength-1],0,0];
- var Node94startCompspts = [Node94compspts[0],Node94compspts[1],0,0];
- Node94.setImage(GD.getPolyLineJSON());
- Node94.setPosition(Node94rect.x+Node94rect.width/2,Node94rect.y+Node94rect.height/2);
- Node94.setSize(Node94rect.width,Node94rect.height);
- Node94.setStyle("opacity",1);
- Node94.s({'pixelPerfect':true});
- Node94borderwidth=1;
- Node94.setRotation(0);
- dataModel.add(Node94);
- Node94.a('node.points',Node94compspts);
- Node94.a('node.segments',[1,2]);
- Node94.a('node.color','rgba(255,0,255,1)');
- Node94.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node94.a('node.borderColor','rgba(255,0,255,1)');
- Node94.a('node.background','rgba(255,0,255,1)');
- Node94.a('node.gradient','');
- Node94.a('node.gradientcolor','rgba(255,0,255,1)');
- Node94.a('node.endCompspts',Node94endCompspts);
- Node94.a('node.startCompspts',Node94startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node94';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node94, Node94.getImage(), Node94compspts, Node94endCompspts, Node94startCompspts);
- var Node95points=[310, 288,310, 278],
- Node95rect=ht.Default.unionPoint([{x:310,y:288},{x:310,y:278}]),
- Node95compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node95points.length;i++){
- if(i%2==0){
- Node95compspts.push(Node95points[i]-Node95rect.x);
- }else{
- Node95compspts.push(Node95points[i]-Node95rect.y);
- }
- }
- var Node95ptslength=Node95compspts.length;
- if (Node95rect.height === 0) {
- Node95compspts[0] -= 0;
- Node95compspts[Node95ptslength-2] += 0;
- } else if (Node95rect.width === 0){
- Node95compspts[1] -= 0;
- Node95compspts[Node95ptslength-1] += 0;
- } else {
- Node95compspts[0] -= 0;
- Node95compspts[1] -= 0;
- Node95compspts[Node95ptslength-2] += 0;
- Node95compspts[Node95ptslength-1] += 0;
- }
- Node95 = new ht.Node();
- Node95.borderWidth = 1;
- Node95rect.width = Node95rect.width === 0 ? 0.0001 : Node95rect.width;
- Node95rect.height = Node95rect.height === 0 ? 0.0001 : Node95rect.height;
- var Node95endCompspts = [Node95compspts[Node95ptslength-2],Node95compspts[Node95ptslength-1],0,0];
- var Node95startCompspts = [Node95compspts[0],Node95compspts[1],0,0];
- Node95.setImage(GD.getPolyLineJSON());
- Node95.setPosition(Node95rect.x+Node95rect.width/2,Node95rect.y+Node95rect.height/2);
- Node95.setSize(Node95rect.width,Node95rect.height);
- Node95.setStyle("opacity",1);
- Node95.s({'pixelPerfect':true});
- Node95borderwidth=1;
- Node95.setRotation(0);
- dataModel.add(Node95);
- Node95.a('node.points',Node95compspts);
- Node95.a('node.segments',[1,2]);
- Node95.a('node.color','rgba(255,0,255,1)');
- Node95.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node95.a('node.borderColor','rgba(255,0,255,1)');
- Node95.a('node.background','rgba(255,0,255,1)');
- Node95.a('node.gradient','');
- Node95.a('node.gradientcolor','rgba(255,0,255,1)');
- Node95.a('node.endCompspts',Node95endCompspts);
- Node95.a('node.startCompspts',Node95startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node95';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node95, Node95.getImage(), Node95compspts, Node95endCompspts, Node95startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node96 = new ht.lib['接地'](310*ratio.ratioX, 306*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node96');
- _libModel.add("Node96", Node96);
- Node96.setRotation(0*Math.PI/180);
- ;
- ;
- _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 = 42*_ratio.ratioX, Node97height = 24*_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('20117', ' '+ Node97fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node97align === 'center') {
- Node97textStart = -3;
- Node97textWidth = Node97width;
- Node97lineStart = Node97width - ht.Default.getTextSize('20117', ' '+ Node97fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node97.setImage(GD.getTextJSON(Node97width, Node97height, true, false, false, ' '+ Node97fontSize + 'px "Arial"'))
- Node97.setPosition(340*ratio.ratioX, 294*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','20117');
- 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') || '20117';
- 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, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node97fontSize + 2 , ht.Default.getTextSize('20117', ' '+ Node97fontSize + 'px "Arial"').width + 6, (Node97height - Node97fontSize) * 0.5*_ratio.ratioY + Node97fontSize + 2 ]);
- Node97.a('node.underlinevisible',false);
- Node97.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node97);
- zoomNodeList.push({
- node: Node97,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node98 = new ht.Node();
- var Node98textStart, Node98textWidth, Node98lineStart, Node98align = 'left', Node98fontSize = 13.3333*_ratio.ratioY,Node98width = 59*_ratio.ratioX, Node98height = 25*_ratio.ratioY;
- (function () {
- if (Node98align === 'left') {
- Node98textStart = Node98fontSize * 0.2 > 2 ? Node98fontSize * 0.2 - 4 : Node98fontSize * 0.2 - 9;
- Node98textWidth = Node98width;
- Node98lineStart = 1;
- } else if (Node98align === 'right') {
- Node98textStart = 0;
- Node98textWidth =Node98fontSize <= 8 ? Node98width + Node98fontSize * 0.2 + 6 : Node98width - Node98fontSize * 0.2;
- Node98lineStart = (Node98width - (ht.Default.getTextSize('Ia:', ' '+ Node98fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node98align === 'center') {
- Node98textStart = -3;
- Node98textWidth = Node98width;
- Node98lineStart = Node98width - ht.Default.getTextSize('Ia:', ' '+ Node98fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node98.setImage(GD.getTextJSON(Node98width, Node98height, true, false, false, ' '+ Node98fontSize + 'px "Arial"'))
- Node98.setPosition(440*ratio.ratioX, 224*ratio.ratioY);
- Node98.setWidth(Node98width);
- Node98.setHeight(Node98height);
- Node98._nodeType = 'text';
- Node98._disallowEvert = true;
- Node98.setRotation(0*Math.PI/180);
- Node98.a('node.width', Node98width);
- Node98.a('node.height', Node98height);
- Node98.a('node.rect', [0, 0, Node98width, Node98height]);
- Node98.a('node.bordercolor','rgba(255,0,255,1)');
- Node98.a('node.borderwidth', 0);
- Node98.a('node.background','' || 'rgba(0,0,0,0)');
- Node98.a('node.gradient','');
- Node98.a('node.gradientcolor','');
- Node98.a('node.text','Ia:');
- Node98.a('node.textalign','left');
- Node98.a('node.textvAlign','middle');
- Node98.a('node.textrect', [Node98textStart, 0, Node98textWidth, Node98height]);
- Node98.a('node.color','rgba(255,0,255,1)');
- Node98.a('node.font',' '+ Node98fontSize + 'px "Arial"');
- Node98.a('node.textvisible',true);
- Node98.a('node.linefeed',false);
- if (false) {
- Node98.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node98.a('node.text') || 'Ia:';
- var color=Node98.a('node.color') || 'rgba(255,0,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node98width,Node98height,13.3333*_ratio.ratioY,"left",color,' '+ Node98fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node98.a('node.underlinepoints',[Node98lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node98fontSize + 2 , ht.Default.getTextSize('Ia:', ' '+ Node98fontSize + 'px "Arial"').width + 6, (Node98height - Node98fontSize) * 0.5*_ratio.ratioY + Node98fontSize + 2 ]);
- Node98.a('node.underlinevisible',false);
- Node98.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node98);
- zoomNodeList.push({
- node: Node98,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node99points=[710, 321,710, 301],
- Node99rect=ht.Default.unionPoint([{x:710,y:321},{x:710,y:301}]),
- Node99compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node99points.length;i++){
- if(i%2==0){
- Node99compspts.push(Node99points[i]-Node99rect.x);
- }else{
- Node99compspts.push(Node99points[i]-Node99rect.y);
- }
- }
- var Node99ptslength=Node99compspts.length;
- if (Node99rect.height === 0) {
- Node99compspts[0] -= 0;
- Node99compspts[Node99ptslength-2] += 0;
- } else if (Node99rect.width === 0){
- Node99compspts[1] -= 0;
- Node99compspts[Node99ptslength-1] += 0;
- } else {
- Node99compspts[0] -= 0;
- Node99compspts[1] -= 0;
- Node99compspts[Node99ptslength-2] += 0;
- Node99compspts[Node99ptslength-1] += 0;
- }
- Node99 = new ht.Node();
- Node99.borderWidth = 1;
- Node99rect.width = Node99rect.width === 0 ? 0.0001 : Node99rect.width;
- Node99rect.height = Node99rect.height === 0 ? 0.0001 : Node99rect.height;
- var Node99endCompspts = [Node99compspts[Node99ptslength-2],Node99compspts[Node99ptslength-1],0,0];
- var Node99startCompspts = [Node99compspts[0],Node99compspts[1],0,0];
- Node99.setImage(GD.getPolyLineJSON());
- Node99.setPosition(Node99rect.x+Node99rect.width/2,Node99rect.y+Node99rect.height/2);
- Node99.setSize(Node99rect.width,Node99rect.height);
- Node99.setStyle("opacity",1);
- Node99.s({'pixelPerfect':true});
- Node99borderwidth=1;
- Node99.setRotation(0);
- dataModel.add(Node99);
- Node99.a('node.points',Node99compspts);
- Node99.a('node.segments',[1,2]);
- Node99.a('node.color','rgba(255,0,255,1)');
- Node99.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node99.a('node.borderColor','rgba(255,0,255,1)');
- Node99.a('node.background','rgba(255,0,255,1)');
- Node99.a('node.gradient','');
- Node99.a('node.gradientcolor','rgba(255,0,255,1)');
- Node99.a('node.endCompspts',Node99endCompspts);
- Node99.a('node.startCompspts',Node99startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node99';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node99, Node99.getImage(), Node99compspts, Node99endCompspts, Node99startCompspts);
- var Node100points=[710, 291,710, 271],
- Node100rect=ht.Default.unionPoint([{x:710,y:291},{x:710,y:271}]),
- Node100compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node100points.length;i++){
- if(i%2==0){
- Node100compspts.push(Node100points[i]-Node100rect.x);
- }else{
- Node100compspts.push(Node100points[i]-Node100rect.y);
- }
- }
- var Node100ptslength=Node100compspts.length;
- if (Node100rect.height === 0) {
- Node100compspts[0] -= 0;
- Node100compspts[Node100ptslength-2] += 0;
- } else if (Node100rect.width === 0){
- Node100compspts[1] -= 0;
- Node100compspts[Node100ptslength-1] += 0;
- } else {
- Node100compspts[0] -= 0;
- Node100compspts[1] -= 0;
- Node100compspts[Node100ptslength-2] += 0;
- Node100compspts[Node100ptslength-1] += 0;
- }
- Node100 = new ht.Node();
- Node100.borderWidth = 1;
- Node100rect.width = Node100rect.width === 0 ? 0.0001 : Node100rect.width;
- Node100rect.height = Node100rect.height === 0 ? 0.0001 : Node100rect.height;
- var Node100endCompspts = [Node100compspts[Node100ptslength-2],Node100compspts[Node100ptslength-1],0,0];
- var Node100startCompspts = [Node100compspts[0],Node100compspts[1],0,0];
- Node100.setImage(GD.getPolyLineJSON());
- Node100.setPosition(Node100rect.x+Node100rect.width/2,Node100rect.y+Node100rect.height/2);
- Node100.setSize(Node100rect.width,Node100rect.height);
- Node100.setStyle("opacity",1);
- Node100.s({'pixelPerfect':true});
- Node100borderwidth=1;
- Node100.setRotation(0);
- dataModel.add(Node100);
- Node100.a('node.points',Node100compspts);
- Node100.a('node.segments',[1,2]);
- Node100.a('node.color','rgba(255,0,255,1)');
- Node100.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node100.a('node.borderColor','rgba(255,0,255,1)');
- Node100.a('node.background','rgba(255,0,255,1)');
- Node100.a('node.gradient','');
- Node100.a('node.gradientcolor','rgba(255,0,255,1)');
- Node100.a('node.endCompspts',Node100endCompspts);
- Node100.a('node.startCompspts',Node100startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node100';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node100, Node100.getImage(), Node100compspts, Node100endCompspts, Node100startCompspts);
- var Node101points=[710, 251,710, 231],
- Node101rect=ht.Default.unionPoint([{x:710,y:251},{x:710,y:231}]),
- Node101compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node101points.length;i++){
- if(i%2==0){
- Node101compspts.push(Node101points[i]-Node101rect.x);
- }else{
- Node101compspts.push(Node101points[i]-Node101rect.y);
- }
- }
- var Node101ptslength=Node101compspts.length;
- if (Node101rect.height === 0) {
- Node101compspts[0] -= 0;
- Node101compspts[Node101ptslength-2] += 0;
- } else if (Node101rect.width === 0){
- Node101compspts[1] -= 0;
- Node101compspts[Node101ptslength-1] += 0;
- } else {
- Node101compspts[0] -= 0;
- Node101compspts[1] -= 0;
- Node101compspts[Node101ptslength-2] += 0;
- Node101compspts[Node101ptslength-1] += 0;
- }
- Node101 = new ht.Node();
- Node101.borderWidth = 1;
- Node101rect.width = Node101rect.width === 0 ? 0.0001 : Node101rect.width;
- Node101rect.height = Node101rect.height === 0 ? 0.0001 : Node101rect.height;
- var Node101endCompspts = [Node101compspts[Node101ptslength-2],Node101compspts[Node101ptslength-1],0,0];
- var Node101startCompspts = [Node101compspts[0],Node101compspts[1],0,0];
- Node101.setImage(GD.getPolyLineJSON());
- Node101.setPosition(Node101rect.x+Node101rect.width/2,Node101rect.y+Node101rect.height/2);
- Node101.setSize(Node101rect.width,Node101rect.height);
- Node101.setStyle("opacity",1);
- Node101.s({'pixelPerfect':true});
- Node101borderwidth=1;
- Node101.setRotation(0);
- dataModel.add(Node101);
- Node101.a('node.points',Node101compspts);
- Node101.a('node.segments',[1,2]);
- Node101.a('node.color','rgba(255,0,255,1)');
- Node101.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node101.a('node.borderColor','rgba(255,0,255,1)');
- Node101.a('node.background','rgba(255,0,255,1)');
- Node101.a('node.gradient','');
- Node101.a('node.gradientcolor','rgba(255,0,255,1)');
- Node101.a('node.endCompspts',Node101endCompspts);
- Node101.a('node.startCompspts',Node101startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node101';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node101, Node101.getImage(), Node101compspts, Node101endCompspts, Node101startCompspts);
- var Node102points=[710, 211,710, 181],
- Node102rect=ht.Default.unionPoint([{x:710,y:211},{x:710,y:181}]),
- Node102compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node102points.length;i++){
- if(i%2==0){
- Node102compspts.push(Node102points[i]-Node102rect.x);
- }else{
- Node102compspts.push(Node102points[i]-Node102rect.y);
- }
- }
- var Node102ptslength=Node102compspts.length;
- if (Node102rect.height === 0) {
- Node102compspts[0] -= 0;
- Node102compspts[Node102ptslength-2] += 0;
- } else if (Node102rect.width === 0){
- Node102compspts[1] -= 0;
- Node102compspts[Node102ptslength-1] += 0;
- } else {
- Node102compspts[0] -= 0;
- Node102compspts[1] -= 0;
- Node102compspts[Node102ptslength-2] += 0;
- Node102compspts[Node102ptslength-1] += 0;
- }
- Node102 = new ht.Node();
- Node102.borderWidth = 1;
- Node102rect.width = Node102rect.width === 0 ? 0.0001 : Node102rect.width;
- Node102rect.height = Node102rect.height === 0 ? 0.0001 : Node102rect.height;
- var Node102endCompspts = [Node102compspts[Node102ptslength-2],Node102compspts[Node102ptslength-1],0,0];
- var Node102startCompspts = [Node102compspts[0],Node102compspts[1],0,0];
- Node102.setImage(GD.getPolyLineJSON());
- Node102.setPosition(Node102rect.x+Node102rect.width/2,Node102rect.y+Node102rect.height/2);
- Node102.setSize(Node102rect.width,Node102rect.height);
- Node102.setStyle("opacity",1);
- Node102.s({'pixelPerfect':true});
- Node102borderwidth=1;
- Node102.setRotation(0);
- dataModel.add(Node102);
- Node102.a('node.points',Node102compspts);
- Node102.a('node.segments',[1,2]);
- Node102.a('node.color','rgba(255,0,255,1)');
- Node102.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node102.a('node.borderColor','rgba(255,0,255,1)');
- Node102.a('node.background','rgba(255,0,255,1)');
- Node102.a('node.gradient','');
- Node102.a('node.gradientcolor','rgba(255,0,255,1)');
- Node102.a('node.endCompspts',Node102endCompspts);
- Node102.a('node.startCompspts',Node102startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node102';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node102, Node102.getImage(), Node102compspts, Node102endCompspts, Node102startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node103 = new ht.lib['紫箭头'](710*ratio.ratioX, 176*ratio.ratioY, 9*_ratio.ratioX, 10*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node103');
- _libModel.add("Node103", Node103);
- Node103.setRotation(0*Math.PI/180);
- ;
- ;
- var Node104points=[710, 241,650, 241],
- Node104rect=ht.Default.unionPoint([{x:710,y:241},{x:650,y:241}]),
- Node104compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(0, ratio),
- _endratio = GD.getRatioWithRotation(3.14159265358979, ratio);
- for(var i=0;i<Node104points.length;i++){
- if(i%2==0){
- Node104compspts.push(Node104points[i]-Node104rect.x);
- }else{
- Node104compspts.push(Node104points[i]-Node104rect.y);
- }
- }
- var Node104ptslength=Node104compspts.length;
- if (Node104rect.height === 0) {
- Node104compspts[0] -= 0;
- Node104compspts[Node104ptslength-2] += 0;
- } else if (Node104rect.width === 0){
- Node104compspts[1] -= 0;
- Node104compspts[Node104ptslength-1] += 0;
- } else {
- Node104compspts[0] -= 0;
- Node104compspts[1] -= 0;
- Node104compspts[Node104ptslength-2] += 0;
- Node104compspts[Node104ptslength-1] += 0;
- }
- Node104 = new ht.Node();
- Node104.borderWidth = 1;
- Node104rect.width = Node104rect.width === 0 ? 0.0001 : Node104rect.width;
- Node104rect.height = Node104rect.height === 0 ? 0.0001 : Node104rect.height;
- var Node104endCompspts = [Node104compspts[Node104ptslength-2],Node104compspts[Node104ptslength-1],0,0];
- var Node104startCompspts = [Node104compspts[0],Node104compspts[1],0,0];
- Node104.setImage(GD.getPolyLineJSON());
- Node104.setPosition(Node104rect.x+Node104rect.width/2,Node104rect.y+Node104rect.height/2);
- Node104.setSize(Node104rect.width,Node104rect.height);
- Node104.setStyle("opacity",1);
- Node104.s({'pixelPerfect':true});
- Node104borderwidth=1;
- Node104.setRotation(0);
- dataModel.add(Node104);
- Node104.a('node.points',Node104compspts);
- Node104.a('node.segments',[1,2]);
- Node104.a('node.color','rgba(255,0,255,1)');
- Node104.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node104.a('node.borderColor','rgba(255,0,255,1)');
- Node104.a('node.background','rgba(255,0,255,1)');
- Node104.a('node.gradient','');
- Node104.a('node.gradientcolor','rgba(255,0,255,1)');
- Node104.a('node.endCompspts',Node104endCompspts);
- Node104.a('node.startCompspts',Node104startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node104';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node104, Node104.getImage(), Node104compspts, Node104endCompspts, Node104startCompspts);
- var Node105points=[650, 241,650, 231],
- Node105rect=ht.Default.unionPoint([{x:650,y:241},{x:650,y:231}]),
- Node105compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, 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,0,255,1)');
- Node105.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node105.a('node.borderColor','rgba(255,0,255,1)');
- Node105.a('node.background','rgba(255,0,255,1)');
- Node105.a('node.gradient','');
- Node105.a('node.gradientcolor','rgba(255,0,255,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);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node106 = new ht.lib['pt接地'](650*ratio.ratioX, 204*ratio.ratioY, 16*_ratio.ratioX, 14*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node106');
- _libModel.add("Node106", Node106);
- Node106.setRotation(0*Math.PI/180);
- ;
- ;
- var Node107points=[710, 191,580, 191],
- Node107rect=ht.Default.unionPoint([{x:710,y:191},{x:580,y:191}]),
- Node107compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(0, ratio),
- _endratio = GD.getRatioWithRotation(3.14159265358979, ratio);
- for(var i=0;i<Node107points.length;i++){
- if(i%2==0){
- Node107compspts.push(Node107points[i]-Node107rect.x);
- }else{
- Node107compspts.push(Node107points[i]-Node107rect.y);
- }
- }
- var Node107ptslength=Node107compspts.length;
- if (Node107rect.height === 0) {
- Node107compspts[0] -= 0;
- Node107compspts[Node107ptslength-2] += 0;
- } else if (Node107rect.width === 0){
- Node107compspts[1] -= 0;
- Node107compspts[Node107ptslength-1] += 0;
- } else {
- Node107compspts[0] -= 0;
- Node107compspts[1] -= 0;
- Node107compspts[Node107ptslength-2] += 0;
- Node107compspts[Node107ptslength-1] += 0;
- }
- Node107 = new ht.Node();
- Node107.borderWidth = 1;
- Node107rect.width = Node107rect.width === 0 ? 0.0001 : Node107rect.width;
- Node107rect.height = Node107rect.height === 0 ? 0.0001 : Node107rect.height;
- var Node107endCompspts = [Node107compspts[Node107ptslength-2],Node107compspts[Node107ptslength-1],0,0];
- var Node107startCompspts = [Node107compspts[0],Node107compspts[1],0,0];
- Node107.setImage(GD.getPolyLineJSON());
- Node107.setPosition(Node107rect.x+Node107rect.width/2,Node107rect.y+Node107rect.height/2);
- Node107.setSize(Node107rect.width,Node107rect.height);
- Node107.setStyle("opacity",1);
- Node107.s({'pixelPerfect':true});
- Node107borderwidth=1;
- Node107.setRotation(0);
- dataModel.add(Node107);
- Node107.a('node.points',Node107compspts);
- Node107.a('node.segments',[1,2]);
- Node107.a('node.color','rgba(255,0,255,1)');
- Node107.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node107.a('node.borderColor','rgba(255,0,255,1)');
- Node107.a('node.background','rgba(255,0,255,1)');
- Node107.a('node.gradient','');
- Node107.a('node.gradientcolor','rgba(255,0,255,1)');
- Node107.a('node.endCompspts',Node107endCompspts);
- Node107.a('node.startCompspts',Node107startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node107';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node107, Node107.getImage(), Node107compspts, Node107endCompspts, Node107startCompspts);
- var Node108points=[580, 191,580, 231],
- Node108rect=ht.Default.unionPoint([{x:580,y:191},{x:580,y:231}]),
- Node108compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node108points.length;i++){
- if(i%2==0){
- Node108compspts.push(Node108points[i]-Node108rect.x);
- }else{
- Node108compspts.push(Node108points[i]-Node108rect.y);
- }
- }
- var Node108ptslength=Node108compspts.length;
- if (Node108rect.height === 0) {
- Node108compspts[0] -= 0;
- Node108compspts[Node108ptslength-2] += 0;
- } else if (Node108rect.width === 0){
- Node108compspts[1] -= 0;
- Node108compspts[Node108ptslength-1] += 0;
- } else {
- Node108compspts[0] -= 0;
- Node108compspts[1] -= 0;
- Node108compspts[Node108ptslength-2] += 0;
- Node108compspts[Node108ptslength-1] += 0;
- }
- Node108 = new ht.Node();
- Node108.borderWidth = 1;
- Node108rect.width = Node108rect.width === 0 ? 0.0001 : Node108rect.width;
- Node108rect.height = Node108rect.height === 0 ? 0.0001 : Node108rect.height;
- var Node108endCompspts = [Node108compspts[Node108ptslength-2],Node108compspts[Node108ptslength-1],0,0];
- var Node108startCompspts = [Node108compspts[0],Node108compspts[1],0,0];
- Node108.setImage(GD.getPolyLineJSON());
- Node108.setPosition(Node108rect.x+Node108rect.width/2,Node108rect.y+Node108rect.height/2);
- Node108.setSize(Node108rect.width,Node108rect.height);
- Node108.setStyle("opacity",1);
- Node108.s({'pixelPerfect':true});
- Node108borderwidth=1;
- Node108.setRotation(0);
- dataModel.add(Node108);
- Node108.a('node.points',Node108compspts);
- Node108.a('node.segments',[1,2]);
- Node108.a('node.color','rgba(255,0,255,1)');
- Node108.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node108.a('node.borderColor','rgba(255,0,255,1)');
- Node108.a('node.background','rgba(255,0,255,1)');
- Node108.a('node.gradient','');
- Node108.a('node.gradientcolor','rgba(255,0,255,1)');
- Node108.a('node.endCompspts',Node108endCompspts);
- Node108.a('node.startCompspts',Node108startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node108';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node108, Node108.getImage(), Node108compspts, Node108endCompspts, Node108startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node109 = new ht.lib['as'](573*ratio.ratioX, 246*ratio.ratioY, 36*_ratio.ratioX, 30*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node109');
- _libModel.add("Node109", Node109);
- Node109.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node110 = new ht.Node();
- var Node110textStart, Node110textWidth, Node110lineStart, Node110align = 'left', Node110fontSize = 13.3333*_ratio.ratioY,Node110width = 55*_ratio.ratioX, Node110height = 24*_ratio.ratioY;
- (function () {
- if (Node110align === 'left') {
- Node110textStart = Node110fontSize * 0.2 > 2 ? Node110fontSize * 0.2 - 4 : Node110fontSize * 0.2 - 9;
- Node110textWidth = Node110width;
- Node110lineStart = 1;
- } else if (Node110align === 'right') {
- Node110textStart = 0;
- Node110textWidth =Node110fontSize <= 8 ? Node110width + Node110fontSize * 0.2 + 6 : Node110width - Node110fontSize * 0.2;
- Node110lineStart = (Node110width - (ht.Default.getTextSize('25167', ' '+ Node110fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node110align === 'center') {
- Node110textStart = -3;
- Node110textWidth = Node110width;
- Node110lineStart = Node110width - ht.Default.getTextSize('25167', ' '+ Node110fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node110.setImage(GD.getTextJSON(Node110width, Node110height, true, false, false, ' '+ Node110fontSize + 'px "Arial"'))
- Node110.setPosition(625*ratio.ratioX, 221*ratio.ratioY);
- Node110.setWidth(Node110width);
- Node110.setHeight(Node110height);
- Node110._nodeType = 'text';
- Node110._disallowEvert = true;
- Node110.setRotation(0*Math.PI/180);
- Node110.a('node.width', Node110width);
- Node110.a('node.height', Node110height);
- Node110.a('node.rect', [0, 0, Node110width, Node110height]);
- Node110.a('node.bordercolor','rgba(0,0,0,1)');
- Node110.a('node.borderwidth', 0);
- Node110.a('node.background','' || 'rgba(0,0,0,0)');
- Node110.a('node.gradient','');
- Node110.a('node.gradientcolor','');
- Node110.a('node.text','25167');
- Node110.a('node.textalign','left');
- Node110.a('node.textvAlign','middle');
- Node110.a('node.textrect', [Node110textStart, 0, Node110textWidth, Node110height]);
- Node110.a('node.color','rgba(0,0,0,1)');
- Node110.a('node.font',' '+ Node110fontSize + 'px "Arial"');
- Node110.a('node.textvisible',true);
- Node110.a('node.linefeed',false);
- if (false) {
- Node110.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node110.a('node.text') || '25167';
- var color=Node110.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node110width,Node110height,13.3333*_ratio.ratioY,"left",color,' '+ Node110fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node110.a('node.underlinepoints',[Node110lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node110fontSize + 2 , ht.Default.getTextSize('25167', ' '+ Node110fontSize + 'px "Arial"').width + 6, (Node110height - Node110fontSize) * 0.5*_ratio.ratioY + Node110fontSize + 2 ]);
- Node110.a('node.underlinevisible',false);
- Node110.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node110);
- zoomNodeList.push({
- node: Node110,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node111 = new ht.Node();
- var Node111textStart, Node111textWidth, Node111lineStart, Node111align = 'left', Node111fontSize = 13.3333*_ratio.ratioY,Node111width = 35*_ratio.ratioX, Node111height = 24*_ratio.ratioY;
- (function () {
- if (Node111align === 'left') {
- Node111textStart = Node111fontSize * 0.2 > 2 ? Node111fontSize * 0.2 - 4 : Node111fontSize * 0.2 - 9;
- Node111textWidth = Node111width;
- Node111lineStart = 1;
- } else if (Node111align === 'right') {
- Node111textStart = 0;
- Node111textWidth =Node111fontSize <= 8 ? Node111width + Node111fontSize * 0.2 + 6 : Node111width - Node111fontSize * 0.2;
- Node111lineStart = (Node111width - (ht.Default.getTextSize('2516', ' '+ Node111fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node111align === 'center') {
- Node111textStart = -3;
- Node111textWidth = Node111width;
- Node111lineStart = Node111width - ht.Default.getTextSize('2516', ' '+ Node111fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node111.setImage(GD.getTextJSON(Node111width, Node111height, true, false, false, ' '+ Node111fontSize + 'px "Arial"'))
- Node111.setPosition(685*ratio.ratioX, 221*ratio.ratioY);
- Node111.setWidth(Node111width);
- Node111.setHeight(Node111height);
- Node111._nodeType = 'text';
- Node111._disallowEvert = true;
- Node111.setRotation(0*Math.PI/180);
- Node111.a('node.width', Node111width);
- Node111.a('node.height', Node111height);
- Node111.a('node.rect', [0, 0, Node111width, Node111height]);
- Node111.a('node.bordercolor','rgba(0,0,0,1)');
- Node111.a('node.borderwidth', 0);
- Node111.a('node.background','' || 'rgba(0,0,0,0)');
- Node111.a('node.gradient','');
- Node111.a('node.gradientcolor','');
- Node111.a('node.text','2516');
- Node111.a('node.textalign','left');
- Node111.a('node.textvAlign','middle');
- Node111.a('node.textrect', [Node111textStart, 0, Node111textWidth, Node111height]);
- Node111.a('node.color','rgba(0,0,0,1)');
- Node111.a('node.font',' '+ Node111fontSize + 'px "Arial"');
- Node111.a('node.textvisible',true);
- Node111.a('node.linefeed',false);
- if (false) {
- Node111.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node111.a('node.text') || '2516';
- var color=Node111.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node111width,Node111height,13.3333*_ratio.ratioY,"left",color,' '+ Node111fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node111.a('node.underlinepoints',[Node111lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node111fontSize + 2 , ht.Default.getTextSize('2516', ' '+ Node111fontSize + 'px "Arial"').width + 6, (Node111height - Node111fontSize) * 0.5*_ratio.ratioY + Node111fontSize + 2 ]);
- Node111.a('node.underlinevisible',false);
- Node111.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node111);
- zoomNodeList.push({
- node: Node111,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node112points=[710, 201,740, 201],
- Node112rect=ht.Default.unionPoint([{x:710,y:201},{x:740,y:201}]),
- Node112compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, 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,0,255,1)');
- Node112.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node112.a('node.borderColor','rgba(255,0,255,1)');
- Node112.a('node.background','rgba(255,0,255,1)');
- Node112.a('node.gradient','');
- Node112.a('node.gradientcolor','rgba(255,0,255,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);
- var Node113points=[740, 201,740, 211],
- Node113rect=ht.Default.unionPoint([{x:740,y:201},{x:740,y:211}]),
- Node113compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node113points.length;i++){
- if(i%2==0){
- Node113compspts.push(Node113points[i]-Node113rect.x);
- }else{
- Node113compspts.push(Node113points[i]-Node113rect.y);
- }
- }
- var Node113ptslength=Node113compspts.length;
- if (Node113rect.height === 0) {
- Node113compspts[0] -= 0;
- Node113compspts[Node113ptslength-2] += 0;
- } else if (Node113rect.width === 0){
- Node113compspts[1] -= 0;
- Node113compspts[Node113ptslength-1] += 0;
- } else {
- Node113compspts[0] -= 0;
- Node113compspts[1] -= 0;
- Node113compspts[Node113ptslength-2] += 0;
- Node113compspts[Node113ptslength-1] += 0;
- }
- Node113 = new ht.Node();
- Node113.borderWidth = 1;
- Node113rect.width = Node113rect.width === 0 ? 0.0001 : Node113rect.width;
- Node113rect.height = Node113rect.height === 0 ? 0.0001 : Node113rect.height;
- var Node113endCompspts = [Node113compspts[Node113ptslength-2],Node113compspts[Node113ptslength-1],0,0];
- var Node113startCompspts = [Node113compspts[0],Node113compspts[1],0,0];
- Node113.setImage(GD.getPolyLineJSON());
- Node113.setPosition(Node113rect.x+Node113rect.width/2,Node113rect.y+Node113rect.height/2);
- Node113.setSize(Node113rect.width,Node113rect.height);
- Node113.setStyle("opacity",1);
- Node113.s({'pixelPerfect':true});
- Node113borderwidth=1;
- Node113.setRotation(0);
- dataModel.add(Node113);
- Node113.a('node.points',Node113compspts);
- Node113.a('node.segments',[1,2]);
- Node113.a('node.color','rgba(255,0,255,1)');
- Node113.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node113.a('node.borderColor','rgba(255,0,255,1)');
- Node113.a('node.background','rgba(255,0,255,1)');
- Node113.a('node.gradient','');
- Node113.a('node.gradientcolor','rgba(255,0,255,1)');
- Node113.a('node.endCompspts',Node113endCompspts);
- Node113.a('node.startCompspts',Node113startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node113';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node113, Node113.getImage(), Node113compspts, Node113endCompspts, Node113startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node114 = new ht.lib['pt接地'](740*ratio.ratioX, 239*ratio.ratioY, 16*_ratio.ratioX, 14*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node114');
- _libModel.add("Node114", Node114);
- Node114.setRotation(180*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node115 = new ht.Node();
- var Node115textStart, Node115textWidth, Node115lineStart, Node115align = 'left', Node115fontSize = 13.3333*_ratio.ratioY,Node115width = 27*_ratio.ratioX, Node115height = 24*_ratio.ratioY;
- (function () {
- if (Node115align === 'left') {
- Node115textStart = Node115fontSize * 0.2 > 2 ? Node115fontSize * 0.2 - 4 : Node115fontSize * 0.2 - 9;
- Node115textWidth = Node115width;
- Node115lineStart = 1;
- } else if (Node115align === 'right') {
- Node115textStart = 0;
- Node115textWidth =Node115fontSize <= 8 ? Node115width + Node115fontSize * 0.2 + 6 : Node115width - Node115fontSize * 0.2;
- Node115lineStart = (Node115width - (ht.Default.getTextSize('251', ' '+ Node115fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node115align === 'center') {
- Node115textStart = -3;
- Node115textWidth = Node115width;
- Node115lineStart = Node115width - ht.Default.getTextSize('251', ' '+ Node115fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node115.setImage(GD.getTextJSON(Node115width, Node115height, true, false, false, ' '+ Node115fontSize + 'px "Arial"'))
- Node115.setPosition(689*ratio.ratioX, 264*ratio.ratioY);
- Node115.setWidth(Node115width);
- Node115.setHeight(Node115height);
- Node115._nodeType = 'text';
- Node115._disallowEvert = true;
- Node115.setRotation(0*Math.PI/180);
- Node115.a('node.width', Node115width);
- Node115.a('node.height', Node115height);
- Node115.a('node.rect', [0, 0, Node115width, Node115height]);
- Node115.a('node.bordercolor','rgba(0,0,0,1)');
- Node115.a('node.borderwidth', 0);
- Node115.a('node.background','' || 'rgba(0,0,0,0)');
- Node115.a('node.gradient','');
- Node115.a('node.gradientcolor','');
- Node115.a('node.text','251');
- Node115.a('node.textalign','left');
- Node115.a('node.textvAlign','middle');
- Node115.a('node.textrect', [Node115textStart, 0, Node115textWidth, Node115height]);
- Node115.a('node.color','rgba(0,0,0,1)');
- Node115.a('node.font',' '+ Node115fontSize + 'px "Arial"');
- Node115.a('node.textvisible',true);
- Node115.a('node.linefeed',false);
- if (false) {
- Node115.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node115.a('node.text') || '251';
- var color=Node115.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node115width,Node115height,13.3333*_ratio.ratioY,"left",color,' '+ Node115fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node115.a('node.underlinepoints',[Node115lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node115fontSize + 2 , ht.Default.getTextSize('251', ' '+ Node115fontSize + 'px "Arial"').width + 6, (Node115height - Node115fontSize) * 0.5*_ratio.ratioY + Node115fontSize + 2 ]);
- Node115.a('node.underlinevisible',false);
- Node115.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node115);
- zoomNodeList.push({
- node: Node115,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node116 = new ht.Node();
- var Node116textStart, Node116textWidth, Node116lineStart, Node116align = 'left', Node116fontSize = 13.3333*_ratio.ratioY,Node116width = 34*_ratio.ratioX, Node116height = 24*_ratio.ratioY;
- (function () {
- if (Node116align === 'left') {
- Node116textStart = Node116fontSize * 0.2 > 2 ? Node116fontSize * 0.2 - 4 : Node116fontSize * 0.2 - 9;
- Node116textWidth = Node116width;
- Node116lineStart = 1;
- } else if (Node116align === 'right') {
- Node116textStart = 0;
- Node116textWidth =Node116fontSize <= 8 ? Node116width + Node116fontSize * 0.2 + 6 : Node116width - Node116fontSize * 0.2;
- Node116lineStart = (Node116width - (ht.Default.getTextSize('2511', ' '+ Node116fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node116align === 'center') {
- Node116textStart = -3;
- Node116textWidth = Node116width;
- Node116lineStart = Node116width - ht.Default.getTextSize('2511', ' '+ Node116fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node116.setImage(GD.getTextJSON(Node116width, Node116height, true, false, false, ' '+ Node116fontSize + 'px "Arial"'))
- Node116.setPosition(686*ratio.ratioX, 294*ratio.ratioY);
- Node116.setWidth(Node116width);
- Node116.setHeight(Node116height);
- Node116._nodeType = 'text';
- Node116._disallowEvert = true;
- Node116.setRotation(0*Math.PI/180);
- Node116.a('node.width', Node116width);
- Node116.a('node.height', Node116height);
- Node116.a('node.rect', [0, 0, Node116width, Node116height]);
- Node116.a('node.bordercolor','rgba(0,0,0,1)');
- Node116.a('node.borderwidth', 0);
- Node116.a('node.background','' || 'rgba(0,0,0,0)');
- Node116.a('node.gradient','');
- Node116.a('node.gradientcolor','');
- Node116.a('node.text','2511');
- Node116.a('node.textalign','left');
- Node116.a('node.textvAlign','middle');
- Node116.a('node.textrect', [Node116textStart, 0, Node116textWidth, Node116height]);
- Node116.a('node.color','rgba(0,0,0,1)');
- Node116.a('node.font',' '+ Node116fontSize + 'px "Arial"');
- Node116.a('node.textvisible',true);
- Node116.a('node.linefeed',false);
- if (false) {
- Node116.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node116.a('node.text') || '2511';
- var color=Node116.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node116width,Node116height,13.3333*_ratio.ratioY,"left",color,' '+ Node116fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node116.a('node.underlinepoints',[Node116lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node116fontSize + 2 , ht.Default.getTextSize('2511', ' '+ Node116fontSize + 'px "Arial"').width + 6, (Node116height - Node116fontSize) * 0.5*_ratio.ratioY + Node116fontSize + 2 ]);
- Node116.a('node.underlinevisible',false);
- Node116.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node116);
- zoomNodeList.push({
- node: Node116,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node117points=[710, 281,740, 281],
- Node117rect=ht.Default.unionPoint([{x:710,y:281},{x:740,y:281}]),
- 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=[740, 281,740, 291],
- Node118rect=ht.Default.unionPoint([{x:740,y:281},{x:740,y:291}]),
- 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(180*Math.PI/180, ratio);
- var Node119 = new ht.lib['pt接地'](740*ratio.ratioX, 311*ratio.ratioY, 16*_ratio.ratioX, 14*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node119');
- _libModel.add("Node119", Node119);
- Node119.setRotation(180*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 = 55*_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('25117', ' '+ Node120fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node120align === 'center') {
- Node120textStart = -3;
- Node120textWidth = Node120width;
- Node120lineStart = Node120width - ht.Default.getTextSize('25117', ' '+ Node120fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node120.setImage(GD.getTextJSON(Node120width, Node120height, true, false, false, ' '+ Node120fontSize + 'px "Arial"'))
- Node120.setPosition(779*ratio.ratioX, 299*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','25117');
- 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') || '25117';
- 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('25117', ' '+ Node120fontSize + 'px "Arial"').width + 6, (Node120height - Node120fontSize) * 0.5*_ratio.ratioY + Node120fontSize + 2 ]);
- Node120.a('node.underlinevisible',false);
- Node120.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node120);
- zoomNodeList.push({
- node: Node120,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node121 = new ht.Node();
- var Node121textStart, Node121textWidth, Node121lineStart, Node121align = 'left', Node121fontSize = 13.3333*_ratio.ratioY,Node121width = 55*_ratio.ratioX, Node121height = 24*_ratio.ratioY;
- (function () {
- if (Node121align === 'left') {
- Node121textStart = Node121fontSize * 0.2 > 2 ? Node121fontSize * 0.2 - 4 : Node121fontSize * 0.2 - 9;
- Node121textWidth = Node121width;
- Node121lineStart = 1;
- } else if (Node121align === 'right') {
- Node121textStart = 0;
- Node121textWidth =Node121fontSize <= 8 ? Node121width + Node121fontSize * 0.2 + 6 : Node121width - Node121fontSize * 0.2;
- Node121lineStart = (Node121width - (ht.Default.getTextSize('251617', ' '+ Node121fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node121align === 'center') {
- Node121textStart = -3;
- Node121textWidth = Node121width;
- Node121lineStart = Node121width - ht.Default.getTextSize('251617', ' '+ Node121fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node121.setImage(GD.getTextJSON(Node121width, Node121height, true, false, false, ' '+ Node121fontSize + 'px "Arial"'))
- Node121.setPosition(779*ratio.ratioX, 222*ratio.ratioY);
- Node121.setWidth(Node121width);
- Node121.setHeight(Node121height);
- Node121._nodeType = 'text';
- Node121._disallowEvert = true;
- Node121.setRotation(0*Math.PI/180);
- Node121.a('node.width', Node121width);
- Node121.a('node.height', Node121height);
- Node121.a('node.rect', [0, 0, Node121width, Node121height]);
- Node121.a('node.bordercolor','rgba(0,0,0,1)');
- Node121.a('node.borderwidth', 0);
- Node121.a('node.background','' || 'rgba(0,0,0,0)');
- Node121.a('node.gradient','');
- Node121.a('node.gradientcolor','');
- Node121.a('node.text','251617');
- Node121.a('node.textalign','left');
- Node121.a('node.textvAlign','middle');
- Node121.a('node.textrect', [Node121textStart, 0, Node121textWidth, Node121height]);
- Node121.a('node.color','rgba(0,0,0,1)');
- Node121.a('node.font',' '+ Node121fontSize + 'px "Arial"');
- Node121.a('node.textvisible',true);
- Node121.a('node.linefeed',false);
- if (false) {
- Node121.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node121.a('node.text') || '251617';
- var color=Node121.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node121width,Node121height,13.3333*_ratio.ratioY,"left",color,' '+ Node121fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node121.a('node.underlinepoints',[Node121lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node121fontSize + 2 , ht.Default.getTextSize('251617', ' '+ Node121fontSize + 'px "Arial"').width + 6, (Node121height - Node121fontSize) * 0.5*_ratio.ratioY + Node121fontSize + 2 ]);
- Node121.a('node.underlinevisible',false);
- Node121.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node121);
- zoomNodeList.push({
- node: Node121,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node122points=[1140, 321,1140, 301],
- Node122rect=ht.Default.unionPoint([{x:1140,y:321},{x:1140,y:301}]),
- Node122compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, 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,0,255,1)');
- Node122.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node122.a('node.borderColor','rgba(255,0,255,1)');
- Node122.a('node.background','rgba(255,0,255,1)');
- Node122.a('node.gradient','');
- Node122.a('node.gradientcolor','rgba(255,0,255,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=[1140, 281,1140, 261],
- Node123rect=ht.Default.unionPoint([{x:1140,y:281},{x:1140,y:261}]),
- Node123compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node123points.length;i++){
- if(i%2==0){
- Node123compspts.push(Node123points[i]-Node123rect.x);
- }else{
- Node123compspts.push(Node123points[i]-Node123rect.y);
- }
- }
- var Node123ptslength=Node123compspts.length;
- if (Node123rect.height === 0) {
- Node123compspts[0] -= 0;
- Node123compspts[Node123ptslength-2] += 0;
- } else if (Node123rect.width === 0){
- Node123compspts[1] -= 0;
- Node123compspts[Node123ptslength-1] += 0;
- } else {
- Node123compspts[0] -= 0;
- Node123compspts[1] -= 0;
- Node123compspts[Node123ptslength-2] += 0;
- Node123compspts[Node123ptslength-1] += 0;
- }
- Node123 = new ht.Node();
- Node123.borderWidth = 1;
- Node123rect.width = Node123rect.width === 0 ? 0.0001 : Node123rect.width;
- Node123rect.height = Node123rect.height === 0 ? 0.0001 : Node123rect.height;
- var Node123endCompspts = [Node123compspts[Node123ptslength-2],Node123compspts[Node123ptslength-1],0,0];
- var Node123startCompspts = [Node123compspts[0],Node123compspts[1],0,0];
- Node123.setImage(GD.getPolyLineJSON());
- Node123.setPosition(Node123rect.x+Node123rect.width/2,Node123rect.y+Node123rect.height/2);
- Node123.setSize(Node123rect.width,Node123rect.height);
- Node123.setStyle("opacity",1);
- Node123.s({'pixelPerfect':true});
- Node123borderwidth=1;
- Node123.setRotation(0);
- dataModel.add(Node123);
- Node123.a('node.points',Node123compspts);
- Node123.a('node.segments',[1,2]);
- Node123.a('node.color','rgba(255,0,255,1)');
- Node123.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node123.a('node.borderColor','rgba(255,0,255,1)');
- Node123.a('node.background','rgba(255,0,255,1)');
- Node123.a('node.gradient','');
- Node123.a('node.gradientcolor','rgba(255,0,255,1)');
- Node123.a('node.endCompspts',Node123endCompspts);
- Node123.a('node.startCompspts',Node123startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node123';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node123, Node123.getImage(), Node123compspts, Node123endCompspts, Node123startCompspts);
- var Node124points=[1140, 241,1140, 191],
- Node124rect=ht.Default.unionPoint([{x:1140,y:241},{x:1140,y:191}]),
- Node124compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node124points.length;i++){
- if(i%2==0){
- Node124compspts.push(Node124points[i]-Node124rect.x);
- }else{
- Node124compspts.push(Node124points[i]-Node124rect.y);
- }
- }
- var Node124ptslength=Node124compspts.length;
- if (Node124rect.height === 0) {
- Node124compspts[0] -= 0;
- Node124compspts[Node124ptslength-2] += 0;
- } else if (Node124rect.width === 0){
- Node124compspts[1] -= 0;
- Node124compspts[Node124ptslength-1] += 0;
- } else {
- Node124compspts[0] -= 0;
- Node124compspts[1] -= 0;
- Node124compspts[Node124ptslength-2] += 0;
- Node124compspts[Node124ptslength-1] += 0;
- }
- Node124 = new ht.Node();
- Node124.borderWidth = 1;
- Node124rect.width = Node124rect.width === 0 ? 0.0001 : Node124rect.width;
- Node124rect.height = Node124rect.height === 0 ? 0.0001 : Node124rect.height;
- var Node124endCompspts = [Node124compspts[Node124ptslength-2],Node124compspts[Node124ptslength-1],0,0];
- var Node124startCompspts = [Node124compspts[0],Node124compspts[1],0,0];
- Node124.setImage(GD.getPolyLineJSON());
- Node124.setPosition(Node124rect.x+Node124rect.width/2,Node124rect.y+Node124rect.height/2);
- Node124.setSize(Node124rect.width,Node124rect.height);
- Node124.setStyle("opacity",1);
- Node124.s({'pixelPerfect':true});
- Node124borderwidth=1;
- Node124.setRotation(0);
- dataModel.add(Node124);
- Node124.a('node.points',Node124compspts);
- Node124.a('node.segments',[1,2]);
- Node124.a('node.color','rgba(255,0,255,1)');
- Node124.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node124.a('node.borderColor','rgba(255,0,255,1)');
- Node124.a('node.background','rgba(255,0,255,1)');
- Node124.a('node.gradient','');
- Node124.a('node.gradientcolor','rgba(255,0,255,1)');
- Node124.a('node.endCompspts',Node124endCompspts);
- Node124.a('node.startCompspts',Node124startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node124';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node124, Node124.getImage(), Node124compspts, Node124endCompspts, Node124startCompspts);
- var Node125points=[1140, 191,1250, 191],
- Node125rect=ht.Default.unionPoint([{x:1140,y:191},{x:1250,y:191}]),
- Node125compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node125points.length;i++){
- if(i%2==0){
- Node125compspts.push(Node125points[i]-Node125rect.x);
- }else{
- Node125compspts.push(Node125points[i]-Node125rect.y);
- }
- }
- var Node125ptslength=Node125compspts.length;
- if (Node125rect.height === 0) {
- Node125compspts[0] -= 0;
- Node125compspts[Node125ptslength-2] += 0;
- } else if (Node125rect.width === 0){
- Node125compspts[1] -= 0;
- Node125compspts[Node125ptslength-1] += 0;
- } else {
- Node125compspts[0] -= 0;
- Node125compspts[1] -= 0;
- Node125compspts[Node125ptslength-2] += 0;
- Node125compspts[Node125ptslength-1] += 0;
- }
- Node125 = new ht.Node();
- Node125.borderWidth = 1;
- Node125rect.width = Node125rect.width === 0 ? 0.0001 : Node125rect.width;
- Node125rect.height = Node125rect.height === 0 ? 0.0001 : Node125rect.height;
- var Node125endCompspts = [Node125compspts[Node125ptslength-2],Node125compspts[Node125ptslength-1],0,0];
- var Node125startCompspts = [Node125compspts[0],Node125compspts[1],0,0];
- Node125.setImage(GD.getPolyLineJSON());
- Node125.setPosition(Node125rect.x+Node125rect.width/2,Node125rect.y+Node125rect.height/2);
- Node125.setSize(Node125rect.width,Node125rect.height);
- Node125.setStyle("opacity",1);
- Node125.s({'pixelPerfect':true});
- Node125borderwidth=1;
- Node125.setRotation(0);
- dataModel.add(Node125);
- Node125.a('node.points',Node125compspts);
- Node125.a('node.segments',[1,2]);
- Node125.a('node.color','rgba(255,0,255,1)');
- Node125.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node125.a('node.borderColor','rgba(255,0,255,1)');
- Node125.a('node.background','rgba(255,0,255,1)');
- Node125.a('node.gradient','');
- Node125.a('node.gradientcolor','rgba(255,0,255,1)');
- Node125.a('node.endCompspts',Node125endCompspts);
- Node125.a('node.startCompspts',Node125startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node125';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node125, Node125.getImage(), Node125compspts, Node125endCompspts, Node125startCompspts);
- var Node126points=[1250, 191,1250, 321],
- Node126rect=ht.Default.unionPoint([{x:1250,y:191},{x:1250,y:321}]),
- Node126compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node126points.length;i++){
- if(i%2==0){
- Node126compspts.push(Node126points[i]-Node126rect.x);
- }else{
- Node126compspts.push(Node126points[i]-Node126rect.y);
- }
- }
- var Node126ptslength=Node126compspts.length;
- if (Node126rect.height === 0) {
- Node126compspts[0] -= 0;
- Node126compspts[Node126ptslength-2] += 0;
- } else if (Node126rect.width === 0){
- Node126compspts[1] -= 0;
- Node126compspts[Node126ptslength-1] += 0;
- } else {
- Node126compspts[0] -= 0;
- Node126compspts[1] -= 0;
- Node126compspts[Node126ptslength-2] += 0;
- Node126compspts[Node126ptslength-1] += 0;
- }
- Node126 = new ht.Node();
- Node126.borderWidth = 1;
- Node126rect.width = Node126rect.width === 0 ? 0.0001 : Node126rect.width;
- Node126rect.height = Node126rect.height === 0 ? 0.0001 : Node126rect.height;
- var Node126endCompspts = [Node126compspts[Node126ptslength-2],Node126compspts[Node126ptslength-1],0,0];
- var Node126startCompspts = [Node126compspts[0],Node126compspts[1],0,0];
- Node126.setImage(GD.getPolyLineJSON());
- Node126.setPosition(Node126rect.x+Node126rect.width/2,Node126rect.y+Node126rect.height/2);
- Node126.setSize(Node126rect.width,Node126rect.height);
- Node126.setStyle("opacity",1);
- Node126.s({'pixelPerfect':true});
- Node126borderwidth=1;
- Node126.setRotation(0);
- dataModel.add(Node126);
- Node126.a('node.points',Node126compspts);
- Node126.a('node.segments',[1,2]);
- Node126.a('node.color','rgba(255,0,255,1)');
- Node126.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node126.a('node.borderColor','rgba(255,0,255,1)');
- Node126.a('node.background','rgba(255,0,255,1)');
- Node126.a('node.gradient','');
- Node126.a('node.gradientcolor','rgba(255,0,255,1)');
- Node126.a('node.endCompspts',Node126endCompspts);
- Node126.a('node.startCompspts',Node126startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node126';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node126, Node126.getImage(), Node126compspts, Node126endCompspts, Node126startCompspts);
- var Node127points=[1140, 223,1100, 223],
- Node127rect=ht.Default.unionPoint([{x:1140,y:223},{x:1100,y:223}]),
- Node127compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(0, ratio),
- _endratio = GD.getRatioWithRotation(3.14159265358979, ratio);
- for(var i=0;i<Node127points.length;i++){
- if(i%2==0){
- Node127compspts.push(Node127points[i]-Node127rect.x);
- }else{
- Node127compspts.push(Node127points[i]-Node127rect.y);
- }
- }
- var Node127ptslength=Node127compspts.length;
- if (Node127rect.height === 0) {
- Node127compspts[0] -= 0;
- Node127compspts[Node127ptslength-2] += 0;
- } else if (Node127rect.width === 0){
- Node127compspts[1] -= 0;
- Node127compspts[Node127ptslength-1] += 0;
- } else {
- Node127compspts[0] -= 0;
- Node127compspts[1] -= 0;
- Node127compspts[Node127ptslength-2] += 0;
- Node127compspts[Node127ptslength-1] += 0;
- }
- Node127 = new ht.Node();
- Node127.borderWidth = 1;
- Node127rect.width = Node127rect.width === 0 ? 0.0001 : Node127rect.width;
- Node127rect.height = Node127rect.height === 0 ? 0.0001 : Node127rect.height;
- var Node127endCompspts = [Node127compspts[Node127ptslength-2],Node127compspts[Node127ptslength-1],0,0];
- var Node127startCompspts = [Node127compspts[0],Node127compspts[1],0,0];
- Node127.setImage(GD.getPolyLineJSON());
- Node127.setPosition(Node127rect.x+Node127rect.width/2,Node127rect.y+Node127rect.height/2);
- Node127.setSize(Node127rect.width,Node127rect.height);
- Node127.setStyle("opacity",1);
- Node127.s({'pixelPerfect':true});
- Node127borderwidth=1;
- Node127.setRotation(0);
- dataModel.add(Node127);
- Node127.a('node.points',Node127compspts);
- Node127.a('node.segments',[1,2]);
- Node127.a('node.color','rgba(255,0,255,1)');
- Node127.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node127.a('node.borderColor','rgba(255,0,255,1)');
- Node127.a('node.background','rgba(255,0,255,1)');
- Node127.a('node.gradient','');
- Node127.a('node.gradientcolor','rgba(255,0,255,1)');
- Node127.a('node.endCompspts',Node127endCompspts);
- Node127.a('node.startCompspts',Node127startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node127';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node127, Node127.getImage(), Node127compspts, Node127endCompspts, Node127startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node128 = new ht.lib['矩形箭头竖'](1099*ratio.ratioX, 194*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node128');
- _libModel.add("Node128", Node128);
- Node128.setRotation(180*Math.PI/180);
- ;
- ;
- var Node129points=[1140, 231,1070, 231],
- Node129rect=ht.Default.unionPoint([{x:1140,y:231},{x:1070,y:231}]),
- Node129compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(0, ratio),
- _endratio = GD.getRatioWithRotation(3.14159265358979, ratio);
- for(var i=0;i<Node129points.length;i++){
- if(i%2==0){
- Node129compspts.push(Node129points[i]-Node129rect.x);
- }else{
- Node129compspts.push(Node129points[i]-Node129rect.y);
- }
- }
- var Node129ptslength=Node129compspts.length;
- if (Node129rect.height === 0) {
- Node129compspts[0] -= 0;
- Node129compspts[Node129ptslength-2] += 0;
- } else if (Node129rect.width === 0){
- Node129compspts[1] -= 0;
- Node129compspts[Node129ptslength-1] += 0;
- } else {
- Node129compspts[0] -= 0;
- Node129compspts[1] -= 0;
- Node129compspts[Node129ptslength-2] += 0;
- Node129compspts[Node129ptslength-1] += 0;
- }
- Node129 = new ht.Node();
- Node129.borderWidth = 1;
- Node129rect.width = Node129rect.width === 0 ? 0.0001 : Node129rect.width;
- Node129rect.height = Node129rect.height === 0 ? 0.0001 : Node129rect.height;
- var Node129endCompspts = [Node129compspts[Node129ptslength-2],Node129compspts[Node129ptslength-1],0,0];
- var Node129startCompspts = [Node129compspts[0],Node129compspts[1],0,0];
- Node129.setImage(GD.getPolyLineJSON());
- Node129.setPosition(Node129rect.x+Node129rect.width/2,Node129rect.y+Node129rect.height/2);
- Node129.setSize(Node129rect.width,Node129rect.height);
- Node129.setStyle("opacity",1);
- Node129.s({'pixelPerfect':true});
- Node129borderwidth=1;
- Node129.setRotation(0);
- dataModel.add(Node129);
- Node129.a('node.points',Node129compspts);
- Node129.a('node.segments',[1,2]);
- Node129.a('node.color','rgba(255,0,255,1)');
- Node129.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node129.a('node.borderColor','rgba(255,0,255,1)');
- Node129.a('node.background','rgba(255,0,255,1)');
- Node129.a('node.gradient','');
- Node129.a('node.gradientcolor','rgba(255,0,255,1)');
- Node129.a('node.endCompspts',Node129endCompspts);
- Node129.a('node.startCompspts',Node129startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node129';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node129, Node129.getImage(), Node129compspts, Node129endCompspts, Node129startCompspts);
- var Node130points=[1070, 231,1070, 221],
- Node130rect=ht.Default.unionPoint([{x:1070,y:231},{x:1070,y:221}]),
- Node130compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node130points.length;i++){
- if(i%2==0){
- Node130compspts.push(Node130points[i]-Node130rect.x);
- }else{
- Node130compspts.push(Node130points[i]-Node130rect.y);
- }
- }
- var Node130ptslength=Node130compspts.length;
- if (Node130rect.height === 0) {
- Node130compspts[0] -= 0;
- Node130compspts[Node130ptslength-2] += 0;
- } else if (Node130rect.width === 0){
- Node130compspts[1] -= 0;
- Node130compspts[Node130ptslength-1] += 0;
- } else {
- Node130compspts[0] -= 0;
- Node130compspts[1] -= 0;
- Node130compspts[Node130ptslength-2] += 0;
- Node130compspts[Node130ptslength-1] += 0;
- }
- Node130 = new ht.Node();
- Node130.borderWidth = 1;
- Node130rect.width = Node130rect.width === 0 ? 0.0001 : Node130rect.width;
- Node130rect.height = Node130rect.height === 0 ? 0.0001 : Node130rect.height;
- var Node130endCompspts = [Node130compspts[Node130ptslength-2],Node130compspts[Node130ptslength-1],0,0];
- var Node130startCompspts = [Node130compspts[0],Node130compspts[1],0,0];
- Node130.setImage(GD.getPolyLineJSON());
- Node130.setPosition(Node130rect.x+Node130rect.width/2,Node130rect.y+Node130rect.height/2);
- Node130.setSize(Node130rect.width,Node130rect.height);
- Node130.setStyle("opacity",1);
- Node130.s({'pixelPerfect':true});
- Node130borderwidth=1;
- Node130.setRotation(0);
- dataModel.add(Node130);
- Node130.a('node.points',Node130compspts);
- Node130.a('node.segments',[1,2]);
- Node130.a('node.color','rgba(255,0,255,1)');
- Node130.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node130.a('node.borderColor','rgba(255,0,255,1)');
- Node130.a('node.background','rgba(255,0,255,1)');
- Node130.a('node.gradient','');
- Node130.a('node.gradientcolor','rgba(255,0,255,1)');
- Node130.a('node.endCompspts',Node130endCompspts);
- Node130.a('node.startCompspts',Node130startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node130';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node130, Node130.getImage(), Node130compspts, Node130endCompspts, Node130startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node131 = new ht.lib['接地'](1069*ratio.ratioX, 191*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node131');
- _libModel.add("Node131", Node131);
- Node131.setRotation(180*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node132 = new ht.Node();
- var Node132textStart, Node132textWidth, Node132lineStart, Node132align = 'left', Node132fontSize = 13.3333*_ratio.ratioY,Node132width = 55*_ratio.ratioX, Node132height = 24*_ratio.ratioY;
- (function () {
- if (Node132align === 'left') {
- Node132textStart = Node132fontSize * 0.2 > 2 ? Node132fontSize * 0.2 - 4 : Node132fontSize * 0.2 - 9;
- Node132textWidth = Node132width;
- Node132lineStart = 1;
- } else if (Node132align === 'right') {
- Node132textStart = 0;
- Node132textWidth =Node132fontSize <= 8 ? Node132width + Node132fontSize * 0.2 + 6 : Node132width - Node132fontSize * 0.2;
- Node132lineStart = (Node132width - (ht.Default.getTextSize('202617', ' '+ Node132fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node132align === 'center') {
- Node132textStart = -3;
- Node132textWidth = Node132width;
- Node132lineStart = Node132width - ht.Default.getTextSize('202617', ' '+ Node132fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node132.setImage(GD.getTextJSON(Node132width, Node132height, true, false, false, ' '+ Node132fontSize + 'px "Arial"'))
- Node132.setPosition(1031*ratio.ratioX, 212*ratio.ratioY);
- Node132.setWidth(Node132width);
- Node132.setHeight(Node132height);
- Node132._nodeType = 'text';
- Node132._disallowEvert = true;
- Node132.setRotation(0*Math.PI/180);
- Node132.a('node.width', Node132width);
- Node132.a('node.height', Node132height);
- Node132.a('node.rect', [0, 0, Node132width, Node132height]);
- Node132.a('node.bordercolor','rgba(0,0,0,1)');
- Node132.a('node.borderwidth', 0);
- Node132.a('node.background','' || 'rgba(0,0,0,0)');
- Node132.a('node.gradient','');
- Node132.a('node.gradientcolor','');
- Node132.a('node.text','202617');
- Node132.a('node.textalign','left');
- Node132.a('node.textvAlign','middle');
- Node132.a('node.textrect', [Node132textStart, 0, Node132textWidth, Node132height]);
- Node132.a('node.color','rgba(0,0,0,1)');
- Node132.a('node.font',' '+ Node132fontSize + 'px "Arial"');
- Node132.a('node.textvisible',true);
- Node132.a('node.linefeed',false);
- if (false) {
- Node132.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node132.a('node.text') || '202617';
- var color=Node132.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node132width,Node132height,13.3333*_ratio.ratioY,"left",color,' '+ Node132fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node132.a('node.underlinepoints',[Node132lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node132fontSize + 2 , ht.Default.getTextSize('202617', ' '+ Node132fontSize + 'px "Arial"').width + 6, (Node132height - Node132fontSize) * 0.5*_ratio.ratioY + Node132fontSize + 2 ]);
- Node132.a('node.underlinevisible',false);
- Node132.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node132);
- zoomNodeList.push({
- node: Node132,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node133 = new ht.Node();
- var Node133textStart, Node133textWidth, Node133lineStart, Node133align = 'left', Node133fontSize = 13.3333*_ratio.ratioY,Node133width = 27*_ratio.ratioX, Node133height = 24*_ratio.ratioY;
- (function () {
- if (Node133align === 'left') {
- Node133textStart = Node133fontSize * 0.2 > 2 ? Node133fontSize * 0.2 - 4 : Node133fontSize * 0.2 - 9;
- Node133textWidth = Node133width;
- Node133lineStart = 1;
- } else if (Node133align === 'right') {
- Node133textStart = 0;
- Node133textWidth =Node133fontSize <= 8 ? Node133width + Node133fontSize * 0.2 + 6 : Node133width - Node133fontSize * 0.2;
- Node133lineStart = (Node133width - (ht.Default.getTextSize('202', ' '+ Node133fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node133align === 'center') {
- Node133textStart = -3;
- Node133textWidth = Node133width;
- Node133lineStart = Node133width - ht.Default.getTextSize('202', ' '+ Node133fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node133.setImage(GD.getTextJSON(Node133width, Node133height, true, false, false, ' '+ Node133fontSize + 'px "Arial"'))
- Node133.setPosition(1116*ratio.ratioX, 252*ratio.ratioY);
- Node133.setWidth(Node133width);
- Node133.setHeight(Node133height);
- Node133._nodeType = 'text';
- Node133._disallowEvert = true;
- Node133.setRotation(0*Math.PI/180);
- Node133.a('node.width', Node133width);
- Node133.a('node.height', Node133height);
- Node133.a('node.rect', [0, 0, Node133width, Node133height]);
- Node133.a('node.bordercolor','rgba(0,0,0,1)');
- Node133.a('node.borderwidth', 0);
- Node133.a('node.background','' || 'rgba(0,0,0,0)');
- Node133.a('node.gradient','');
- Node133.a('node.gradientcolor','');
- Node133.a('node.text','202');
- Node133.a('node.textalign','left');
- Node133.a('node.textvAlign','middle');
- Node133.a('node.textrect', [Node133textStart, 0, Node133textWidth, Node133height]);
- Node133.a('node.color','rgba(0,0,0,1)');
- Node133.a('node.font',' '+ Node133fontSize + 'px "Arial"');
- Node133.a('node.textvisible',true);
- Node133.a('node.linefeed',false);
- if (false) {
- Node133.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node133.a('node.text') || '202';
- var color=Node133.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node133width,Node133height,13.3333*_ratio.ratioY,"left",color,' '+ Node133fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node133.a('node.underlinepoints',[Node133lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node133fontSize + 2 , ht.Default.getTextSize('202', ' '+ Node133fontSize + 'px "Arial"').width + 6, (Node133height - Node133fontSize) * 0.5*_ratio.ratioY + Node133fontSize + 2 ]);
- Node133.a('node.underlinevisible',false);
- Node133.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node133);
- zoomNodeList.push({
- node: Node133,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node134 = new ht.Node();
- var Node134textStart, Node134textWidth, Node134lineStart, Node134align = 'left', Node134fontSize = 13.3333*_ratio.ratioY,Node134width = 34*_ratio.ratioX, Node134height = 24*_ratio.ratioY;
- (function () {
- if (Node134align === 'left') {
- Node134textStart = Node134fontSize * 0.2 > 2 ? Node134fontSize * 0.2 - 4 : Node134fontSize * 0.2 - 9;
- Node134textWidth = Node134width;
- Node134lineStart = 1;
- } else if (Node134align === 'right') {
- Node134textStart = 0;
- Node134textWidth =Node134fontSize <= 8 ? Node134width + Node134fontSize * 0.2 + 6 : Node134width - Node134fontSize * 0.2;
- Node134lineStart = (Node134width - (ht.Default.getTextSize('2021', ' '+ Node134fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node134align === 'center') {
- Node134textStart = -3;
- Node134textWidth = Node134width;
- Node134lineStart = Node134width - ht.Default.getTextSize('2021', ' '+ Node134fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node134.setImage(GD.getTextJSON(Node134width, Node134height, true, false, false, ' '+ Node134fontSize + 'px "Arial"'))
- Node134.setPosition(1112*ratio.ratioX, 292*ratio.ratioY);
- Node134.setWidth(Node134width);
- Node134.setHeight(Node134height);
- Node134._nodeType = 'text';
- Node134._disallowEvert = true;
- Node134.setRotation(0*Math.PI/180);
- Node134.a('node.width', Node134width);
- Node134.a('node.height', Node134height);
- Node134.a('node.rect', [0, 0, Node134width, Node134height]);
- Node134.a('node.bordercolor','rgba(0,0,0,1)');
- Node134.a('node.borderwidth', 0);
- Node134.a('node.background','' || 'rgba(0,0,0,0)');
- Node134.a('node.gradient','');
- Node134.a('node.gradientcolor','');
- Node134.a('node.text','2021');
- Node134.a('node.textalign','left');
- Node134.a('node.textvAlign','middle');
- Node134.a('node.textrect', [Node134textStart, 0, Node134textWidth, Node134height]);
- Node134.a('node.color','rgba(0,0,0,1)');
- Node134.a('node.font',' '+ Node134fontSize + 'px "Arial"');
- Node134.a('node.textvisible',true);
- Node134.a('node.linefeed',false);
- if (false) {
- Node134.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node134.a('node.text') || '2021';
- var color=Node134.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node134width,Node134height,13.3333*_ratio.ratioY,"left",color,' '+ Node134fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node134.a('node.underlinepoints',[Node134lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node134fontSize + 2 , ht.Default.getTextSize('2021', ' '+ Node134fontSize + 'px "Arial"').width + 6, (Node134height - Node134fontSize) * 0.5*_ratio.ratioY + Node134fontSize + 2 ]);
- Node134.a('node.underlinevisible',false);
- Node134.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node134);
- zoomNodeList.push({
- node: Node134,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node135points=[1140, 271,1180, 271],
- Node135rect=ht.Default.unionPoint([{x:1140,y:271},{x:1180,y:271}]),
- Node135compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node135points.length;i++){
- if(i%2==0){
- Node135compspts.push(Node135points[i]-Node135rect.x);
- }else{
- Node135compspts.push(Node135points[i]-Node135rect.y);
- }
- }
- var Node135ptslength=Node135compspts.length;
- if (Node135rect.height === 0) {
- Node135compspts[0] -= 0;
- Node135compspts[Node135ptslength-2] += 0;
- } else if (Node135rect.width === 0){
- Node135compspts[1] -= 0;
- Node135compspts[Node135ptslength-1] += 0;
- } else {
- Node135compspts[0] -= 0;
- Node135compspts[1] -= 0;
- Node135compspts[Node135ptslength-2] += 0;
- Node135compspts[Node135ptslength-1] += 0;
- }
- Node135 = new ht.Node();
- Node135.borderWidth = 1;
- Node135rect.width = Node135rect.width === 0 ? 0.0001 : Node135rect.width;
- Node135rect.height = Node135rect.height === 0 ? 0.0001 : Node135rect.height;
- var Node135endCompspts = [Node135compspts[Node135ptslength-2],Node135compspts[Node135ptslength-1],0,0];
- var Node135startCompspts = [Node135compspts[0],Node135compspts[1],0,0];
- Node135.setImage(GD.getPolyLineJSON());
- Node135.setPosition(Node135rect.x+Node135rect.width/2,Node135rect.y+Node135rect.height/2);
- Node135.setSize(Node135rect.width,Node135rect.height);
- Node135.setStyle("opacity",1);
- Node135.s({'pixelPerfect':true});
- Node135borderwidth=1;
- Node135.setRotation(0);
- dataModel.add(Node135);
- Node135.a('node.points',Node135compspts);
- Node135.a('node.segments',[1,2]);
- Node135.a('node.color','rgba(255,0,255,1)');
- Node135.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node135.a('node.borderColor','rgba(255,0,255,1)');
- Node135.a('node.background','rgba(255,0,255,1)');
- Node135.a('node.gradient','');
- Node135.a('node.gradientcolor','rgba(255,0,255,1)');
- Node135.a('node.endCompspts',Node135endCompspts);
- Node135.a('node.startCompspts',Node135startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node135';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node135, Node135.getImage(), Node135compspts, Node135endCompspts, Node135startCompspts);
- var Node136points=[1180, 271,1180, 281],
- Node136rect=ht.Default.unionPoint([{x:1180,y:271},{x:1180,y:281}]),
- Node136compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node136points.length;i++){
- if(i%2==0){
- Node136compspts.push(Node136points[i]-Node136rect.x);
- }else{
- Node136compspts.push(Node136points[i]-Node136rect.y);
- }
- }
- var Node136ptslength=Node136compspts.length;
- if (Node136rect.height === 0) {
- Node136compspts[0] -= 0;
- Node136compspts[Node136ptslength-2] += 0;
- } else if (Node136rect.width === 0){
- Node136compspts[1] -= 0;
- Node136compspts[Node136ptslength-1] += 0;
- } else {
- Node136compspts[0] -= 0;
- Node136compspts[1] -= 0;
- Node136compspts[Node136ptslength-2] += 0;
- Node136compspts[Node136ptslength-1] += 0;
- }
- Node136 = new ht.Node();
- Node136.borderWidth = 1;
- Node136rect.width = Node136rect.width === 0 ? 0.0001 : Node136rect.width;
- Node136rect.height = Node136rect.height === 0 ? 0.0001 : Node136rect.height;
- var Node136endCompspts = [Node136compspts[Node136ptslength-2],Node136compspts[Node136ptslength-1],0,0];
- var Node136startCompspts = [Node136compspts[0],Node136compspts[1],0,0];
- Node136.setImage(GD.getPolyLineJSON());
- Node136.setPosition(Node136rect.x+Node136rect.width/2,Node136rect.y+Node136rect.height/2);
- Node136.setSize(Node136rect.width,Node136rect.height);
- Node136.setStyle("opacity",1);
- Node136.s({'pixelPerfect':true});
- Node136borderwidth=1;
- Node136.setRotation(0);
- dataModel.add(Node136);
- Node136.a('node.points',Node136compspts);
- Node136.a('node.segments',[1,2]);
- Node136.a('node.color','rgba(255,0,255,1)');
- Node136.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node136.a('node.borderColor','rgba(255,0,255,1)');
- Node136.a('node.background','rgba(255,0,255,1)');
- Node136.a('node.gradient','');
- Node136.a('node.gradientcolor','rgba(255,0,255,1)');
- Node136.a('node.endCompspts',Node136endCompspts);
- Node136.a('node.startCompspts',Node136startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node136';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node136, Node136.getImage(), Node136compspts, Node136endCompspts, Node136startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node137 = new ht.lib['接地'](1180*ratio.ratioX, 304*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node137');
- _libModel.add("Node137", Node137);
- Node137.setRotation(0*Math.PI/180);
- ;
- ;
- _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 = 55*_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('20217', ' '+ Node138fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node138align === 'center') {
- Node138textStart = -3;
- Node138textWidth = Node138width;
- Node138lineStart = Node138width - ht.Default.getTextSize('20217', ' '+ Node138fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node138.setImage(GD.getTextJSON(Node138width, Node138height, true, false, false, ' '+ Node138fontSize + 'px "Arial"'))
- Node138.setPosition(1211*ratio.ratioX, 292*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','20217');
- 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') || '20217';
- 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('20217', ' '+ 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_0 = new ht.Node();
- var Node139_0textStart, Node139_0textWidth, Node139_0lineStart, Node139_0align = 'left', Node139_0fontSize = 13.3333*_ratio.ratioY,Node139_0width = 59*_ratio.ratioX, Node139_0height = 25*_ratio.ratioY;
- (function () {
- if (Node139_0align === 'left') {
- Node139_0textStart = Node139_0fontSize * 0.2 > 2 ? Node139_0fontSize * 0.2 - 4 : Node139_0fontSize * 0.2 - 9;
- Node139_0textWidth = Node139_0width;
- Node139_0lineStart = 1;
- } else if (Node139_0align === 'right') {
- Node139_0textStart = 0;
- Node139_0textWidth =Node139_0fontSize <= 8 ? Node139_0width + Node139_0fontSize * 0.2 + 6 : Node139_0width - Node139_0fontSize * 0.2;
- Node139_0lineStart = (Node139_0width - (ht.Default.getTextSize('Ia:', ' '+ Node139_0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node139_0align === 'center') {
- Node139_0textStart = -3;
- Node139_0textWidth = Node139_0width;
- Node139_0lineStart = Node139_0width - ht.Default.getTextSize('Ia:', ' '+ Node139_0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node139_0.setImage(GD.getTextJSON(Node139_0width, Node139_0height, true, false, false, ' '+ Node139_0fontSize + 'px "Arial"'))
- Node139_0.setPosition(854*ratio.ratioX, 263*ratio.ratioY);
- Node139_0.setWidth(Node139_0width);
- Node139_0.setHeight(Node139_0height);
- Node139_0._nodeType = 'text';
- Node139_0._disallowEvert = true;
- Node139_0.setRotation(0*Math.PI/180);
- Node139_0.a('node.width', Node139_0width);
- Node139_0.a('node.height', Node139_0height);
- Node139_0.a('node.rect', [0, 0, Node139_0width, Node139_0height]);
- Node139_0.a('node.bordercolor','rgba(255,0,255,1)');
- Node139_0.a('node.borderwidth', 0);
- Node139_0.a('node.background','' || 'rgba(0,0,0,0)');
- Node139_0.a('node.gradient','');
- Node139_0.a('node.gradientcolor','');
- Node139_0.a('node.text','Ia:');
- Node139_0.a('node.textalign','left');
- Node139_0.a('node.textvAlign','middle');
- Node139_0.a('node.textrect', [Node139_0textStart, 0, Node139_0textWidth, Node139_0height]);
- Node139_0.a('node.color','rgba(255,0,255,1)');
- Node139_0.a('node.font',' '+ Node139_0fontSize + 'px "Arial"');
- Node139_0.a('node.textvisible',true);
- Node139_0.a('node.linefeed',false);
- if (false) {
- Node139_0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node139_0.a('node.text') || 'Ia:';
- var color=Node139_0.a('node.color') || 'rgba(255,0,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node139_0width,Node139_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node139_0fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node139_0.a('node.underlinepoints',[Node139_0lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node139_0fontSize + 2 , ht.Default.getTextSize('Ia:', ' '+ Node139_0fontSize + 'px "Arial"').width + 6, (Node139_0height - Node139_0fontSize) * 0.5*_ratio.ratioY + Node139_0fontSize + 2 ]);
- Node139_0.a('node.underlinevisible',false);
- Node139_0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node139_0);
- zoomNodeList.push({
- node: Node139_0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node139_1 = new ht.Node();
- var Node139_1textStart, Node139_1textWidth, Node139_1lineStart, Node139_1align = 'left', Node139_1fontSize = 13.3333*_ratio.ratioY,Node139_1width = 59*_ratio.ratioX, Node139_1height = 25*_ratio.ratioY;
- (function () {
- if (Node139_1align === 'left') {
- Node139_1textStart = Node139_1fontSize * 0.2 > 2 ? Node139_1fontSize * 0.2 - 4 : Node139_1fontSize * 0.2 - 9;
- Node139_1textWidth = Node139_1width;
- Node139_1lineStart = 1;
- } else if (Node139_1align === 'right') {
- Node139_1textStart = 0;
- Node139_1textWidth =Node139_1fontSize <= 8 ? Node139_1width + Node139_1fontSize * 0.2 + 6 : Node139_1width - Node139_1fontSize * 0.2;
- Node139_1lineStart = (Node139_1width - (ht.Default.getTextSize('P:', ' '+ Node139_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node139_1align === 'center') {
- Node139_1textStart = -3;
- Node139_1textWidth = Node139_1width;
- Node139_1lineStart = Node139_1width - ht.Default.getTextSize('P:', ' '+ Node139_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node139_1.setImage(GD.getTextJSON(Node139_1width, Node139_1height, true, false, false, ' '+ Node139_1fontSize + 'px "Arial"'))
- Node139_1.setPosition(857*ratio.ratioX, 283*ratio.ratioY);
- Node139_1.setWidth(Node139_1width);
- Node139_1.setHeight(Node139_1height);
- Node139_1._nodeType = 'text';
- Node139_1._disallowEvert = true;
- Node139_1.setRotation(0*Math.PI/180);
- Node139_1.a('node.width', Node139_1width);
- Node139_1.a('node.height', Node139_1height);
- Node139_1.a('node.rect', [0, 0, Node139_1width, Node139_1height]);
- Node139_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node139_1.a('node.borderwidth', 0);
- Node139_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node139_1.a('node.gradient','');
- Node139_1.a('node.gradientcolor','');
- Node139_1.a('node.text','P:');
- Node139_1.a('node.textalign','left');
- Node139_1.a('node.textvAlign','middle');
- Node139_1.a('node.textrect', [Node139_1textStart, 0, Node139_1textWidth, Node139_1height]);
- Node139_1.a('node.color','rgba(0,0,0,1)');
- Node139_1.a('node.font',' '+ Node139_1fontSize + 'px "Arial"');
- Node139_1.a('node.textvisible',true);
- Node139_1.a('node.linefeed',false);
- if (false) {
- Node139_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node139_1.a('node.text') || 'P:';
- var color=Node139_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node139_1width,Node139_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node139_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node139_1.a('node.underlinepoints',[Node139_1lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node139_1fontSize + 2 , ht.Default.getTextSize('P:', ' '+ Node139_1fontSize + 'px "Arial"').width + 6, (Node139_1height - Node139_1fontSize) * 0.5*_ratio.ratioY + Node139_1fontSize + 2 ]);
- Node139_1.a('node.underlinevisible',false);
- Node139_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node139_1);
- zoomNodeList.push({
- node: Node139_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node139_2 = new ht.Node();
- var Node139_2textStart, Node139_2textWidth, Node139_2lineStart, Node139_2align = 'left', Node139_2fontSize = 13.3333*_ratio.ratioY,Node139_2width = 59*_ratio.ratioX, Node139_2height = 25*_ratio.ratioY;
- (function () {
- if (Node139_2align === 'left') {
- Node139_2textStart = Node139_2fontSize * 0.2 > 2 ? Node139_2fontSize * 0.2 - 4 : Node139_2fontSize * 0.2 - 9;
- Node139_2textWidth = Node139_2width;
- Node139_2lineStart = 1;
- } else if (Node139_2align === 'right') {
- Node139_2textStart = 0;
- Node139_2textWidth =Node139_2fontSize <= 8 ? Node139_2width + Node139_2fontSize * 0.2 + 6 : Node139_2width - Node139_2fontSize * 0.2;
- Node139_2lineStart = (Node139_2width - (ht.Default.getTextSize('Q:', ' '+ Node139_2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node139_2align === 'center') {
- Node139_2textStart = -3;
- Node139_2textWidth = Node139_2width;
- Node139_2lineStart = Node139_2width - ht.Default.getTextSize('Q:', ' '+ Node139_2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node139_2.setImage(GD.getTextJSON(Node139_2width, Node139_2height, true, false, false, ' '+ Node139_2fontSize + 'px "Arial"'))
- Node139_2.setPosition(854*ratio.ratioX, 303*ratio.ratioY);
- Node139_2.setWidth(Node139_2width);
- Node139_2.setHeight(Node139_2height);
- Node139_2._nodeType = 'text';
- Node139_2._disallowEvert = true;
- Node139_2.setRotation(0*Math.PI/180);
- Node139_2.a('node.width', Node139_2width);
- Node139_2.a('node.height', Node139_2height);
- Node139_2.a('node.rect', [0, 0, Node139_2width, Node139_2height]);
- Node139_2.a('node.bordercolor','rgba(0,0,0,1)');
- Node139_2.a('node.borderwidth', 0);
- Node139_2.a('node.background','' || 'rgba(0,0,0,0)');
- Node139_2.a('node.gradient','');
- Node139_2.a('node.gradientcolor','');
- Node139_2.a('node.text','Q:');
- Node139_2.a('node.textalign','left');
- Node139_2.a('node.textvAlign','middle');
- Node139_2.a('node.textrect', [Node139_2textStart, 0, Node139_2textWidth, Node139_2height]);
- Node139_2.a('node.color','rgba(0,0,0,1)');
- Node139_2.a('node.font',' '+ Node139_2fontSize + 'px "Arial"');
- Node139_2.a('node.textvisible',true);
- Node139_2.a('node.linefeed',false);
- if (false) {
- Node139_2.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node139_2.a('node.text') || 'Q:';
- var color=Node139_2.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node139_2width,Node139_2height,13.3333*_ratio.ratioY,"left",color,' '+ Node139_2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node139_2.a('node.underlinepoints',[Node139_2lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node139_2fontSize + 2 , ht.Default.getTextSize('Q:', ' '+ Node139_2fontSize + 'px "Arial"').width + 6, (Node139_2height - Node139_2fontSize) * 0.5*_ratio.ratioY + Node139_2fontSize + 2 ]);
- Node139_2.a('node.underlinevisible',false);
- Node139_2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node139_2);
- zoomNodeList.push({
- node: Node139_2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node140 = new ht.Node();
- var Node140textStart, Node140textWidth, Node140lineStart, Node140align = 'left', Node140fontSize = 13.3333*_ratio.ratioY,Node140width = 59*_ratio.ratioX, Node140height = 25*_ratio.ratioY;
- (function () {
- if (Node140align === 'left') {
- Node140textStart = Node140fontSize * 0.2 > 2 ? Node140fontSize * 0.2 - 4 : Node140fontSize * 0.2 - 9;
- Node140textWidth = Node140width;
- Node140lineStart = 1;
- } else if (Node140align === 'right') {
- Node140textStart = 0;
- Node140textWidth =Node140fontSize <= 8 ? Node140width + Node140fontSize * 0.2 + 6 : Node140width - Node140fontSize * 0.2;
- Node140lineStart = (Node140width - (ht.Default.getTextSize('Ia:', ' '+ Node140fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node140align === 'center') {
- Node140textStart = -3;
- Node140textWidth = Node140width;
- Node140lineStart = Node140width - ht.Default.getTextSize('Ia:', ' '+ Node140fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node140.setImage(GD.getTextJSON(Node140width, Node140height, true, false, false, ' '+ Node140fontSize + 'px "Arial"'))
- Node140.setPosition(1304*ratio.ratioX, 223*ratio.ratioY);
- Node140.setWidth(Node140width);
- Node140.setHeight(Node140height);
- Node140._nodeType = 'text';
- Node140._disallowEvert = true;
- Node140.setRotation(0*Math.PI/180);
- Node140.a('node.width', Node140width);
- Node140.a('node.height', Node140height);
- Node140.a('node.rect', [0, 0, Node140width, Node140height]);
- Node140.a('node.bordercolor','rgba(255,0,255,1)');
- Node140.a('node.borderwidth', 0);
- Node140.a('node.background','' || 'rgba(0,0,0,0)');
- Node140.a('node.gradient','');
- Node140.a('node.gradientcolor','');
- Node140.a('node.text','Ia:');
- Node140.a('node.textalign','left');
- Node140.a('node.textvAlign','middle');
- Node140.a('node.textrect', [Node140textStart, 0, Node140textWidth, Node140height]);
- Node140.a('node.color','rgba(255,0,255,1)');
- Node140.a('node.font',' '+ Node140fontSize + 'px "Arial"');
- Node140.a('node.textvisible',true);
- Node140.a('node.linefeed',false);
- if (false) {
- Node140.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node140.a('node.text') || 'Ia:';
- var color=Node140.a('node.color') || 'rgba(255,0,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node140width,Node140height,13.3333*_ratio.ratioY,"left",color,' '+ Node140fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node140.a('node.underlinepoints',[Node140lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node140fontSize + 2 , ht.Default.getTextSize('Ia:', ' '+ Node140fontSize + 'px "Arial"').width + 6, (Node140height - Node140fontSize) * 0.5*_ratio.ratioY + Node140fontSize + 2 ]);
- Node140.a('node.underlinevisible',false);
- Node140.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node140);
- zoomNodeList.push({
- node: Node140,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node141 = new ht.Node();
- var Node141textStart, Node141textWidth, Node141lineStart, Node141align = 'left', Node141fontSize = 13.3333*_ratio.ratioY,Node141width = 59*_ratio.ratioX, Node141height = 25*_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('P:', ' '+ Node141fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node141align === 'center') {
- Node141textStart = -3;
- Node141textWidth = Node141width;
- Node141lineStart = Node141width - ht.Default.getTextSize('P:', ' '+ Node141fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node141.setImage(GD.getTextJSON(Node141width, Node141height, true, false, false, ' '+ Node141fontSize + 'px "Arial"'))
- Node141.setPosition(1307*ratio.ratioX, 243*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','P:');
- Node141.a('node.textalign','left');
- Node141.a('node.textvAlign','middle');
- Node141.a('node.textrect', [Node141textStart, 0, Node141textWidth, Node141height]);
- Node141.a('node.color','rgba(0,0,0,1)');
- Node141.a('node.font',' '+ Node141fontSize + 'px "Arial"');
- Node141.a('node.textvisible',true);
- Node141.a('node.linefeed',false);
- if (false) {
- Node141.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node141.a('node.text') || 'P:';
- 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,' '+ Node141fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node141.a('node.underlinepoints',[Node141lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node141fontSize + 2 , ht.Default.getTextSize('P:', ' '+ 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=[1550, 321,1550, 291],
- Node142rect=ht.Default.unionPoint([{x:1550,y:321},{x:1550,y:291}]),
- Node142compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, 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,0,255,1)');
- Node142.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node142.a('node.borderColor','rgba(255,0,255,1)');
- Node142.a('node.background','rgba(255,0,255,1)');
- Node142.a('node.gradient','');
- Node142.a('node.gradientcolor','rgba(255,0,255,1)');
- Node142.a('node.endCompspts',Node142endCompspts);
- Node142.a('node.startCompspts',Node142startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node142';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node142, Node142.getImage(), Node142compspts, Node142endCompspts, Node142startCompspts);
- var Node143points=[1550, 301,1500, 301],
- Node143rect=ht.Default.unionPoint([{x:1550,y:301},{x:1500,y:301}]),
- Node143compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(0, ratio),
- _endratio = GD.getRatioWithRotation(3.14159265358979, ratio);
- for(var i=0;i<Node143points.length;i++){
- if(i%2==0){
- Node143compspts.push(Node143points[i]-Node143rect.x);
- }else{
- Node143compspts.push(Node143points[i]-Node143rect.y);
- }
- }
- var Node143ptslength=Node143compspts.length;
- if (Node143rect.height === 0) {
- Node143compspts[0] -= 0;
- Node143compspts[Node143ptslength-2] += 0;
- } else if (Node143rect.width === 0){
- Node143compspts[1] -= 0;
- Node143compspts[Node143ptslength-1] += 0;
- } else {
- Node143compspts[0] -= 0;
- Node143compspts[1] -= 0;
- Node143compspts[Node143ptslength-2] += 0;
- Node143compspts[Node143ptslength-1] += 0;
- }
- Node143 = new ht.Node();
- Node143.borderWidth = 1;
- Node143rect.width = Node143rect.width === 0 ? 0.0001 : Node143rect.width;
- Node143rect.height = Node143rect.height === 0 ? 0.0001 : Node143rect.height;
- var Node143endCompspts = [Node143compspts[Node143ptslength-2],Node143compspts[Node143ptslength-1],0,0];
- var Node143startCompspts = [Node143compspts[0],Node143compspts[1],0,0];
- Node143.setImage(GD.getPolyLineJSON());
- Node143.setPosition(Node143rect.x+Node143rect.width/2,Node143rect.y+Node143rect.height/2);
- Node143.setSize(Node143rect.width,Node143rect.height);
- Node143.setStyle("opacity",1);
- Node143.s({'pixelPerfect':true});
- Node143borderwidth=1;
- Node143.setRotation(0);
- dataModel.add(Node143);
- Node143.a('node.points',Node143compspts);
- Node143.a('node.segments',[1,2]);
- Node143.a('node.color','rgba(255,0,255,1)');
- Node143.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node143.a('node.borderColor','rgba(255,0,255,1)');
- Node143.a('node.background','rgba(255,0,255,1)');
- Node143.a('node.gradient','');
- Node143.a('node.gradientcolor','rgba(255,0,255,1)');
- Node143.a('node.endCompspts',Node143endCompspts);
- Node143.a('node.startCompspts',Node143startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node143';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node143, Node143.getImage(), Node143compspts, Node143endCompspts, Node143startCompspts);
- var Node144points=[1500, 301,1500, 291],
- Node144rect=ht.Default.unionPoint([{x:1500,y:301},{x:1500,y:291}]),
- Node144compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node144points.length;i++){
- if(i%2==0){
- Node144compspts.push(Node144points[i]-Node144rect.x);
- }else{
- Node144compspts.push(Node144points[i]-Node144rect.y);
- }
- }
- var Node144ptslength=Node144compspts.length;
- if (Node144rect.height === 0) {
- Node144compspts[0] -= 0;
- Node144compspts[Node144ptslength-2] += 0;
- } else if (Node144rect.width === 0){
- Node144compspts[1] -= 0;
- Node144compspts[Node144ptslength-1] += 0;
- } else {
- Node144compspts[0] -= 0;
- Node144compspts[1] -= 0;
- Node144compspts[Node144ptslength-2] += 0;
- Node144compspts[Node144ptslength-1] += 0;
- }
- Node144 = new ht.Node();
- Node144.borderWidth = 1;
- Node144rect.width = Node144rect.width === 0 ? 0.0001 : Node144rect.width;
- Node144rect.height = Node144rect.height === 0 ? 0.0001 : Node144rect.height;
- var Node144endCompspts = [Node144compspts[Node144ptslength-2],Node144compspts[Node144ptslength-1],0,0];
- var Node144startCompspts = [Node144compspts[0],Node144compspts[1],0,0];
- Node144.setImage(GD.getPolyLineJSON());
- Node144.setPosition(Node144rect.x+Node144rect.width/2,Node144rect.y+Node144rect.height/2);
- Node144.setSize(Node144rect.width,Node144rect.height);
- Node144.setStyle("opacity",1);
- Node144.s({'pixelPerfect':true});
- Node144borderwidth=1;
- Node144.setRotation(0);
- dataModel.add(Node144);
- Node144.a('node.points',Node144compspts);
- Node144.a('node.segments',[1,2]);
- Node144.a('node.color','rgba(255,0,255,1)');
- Node144.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node144.a('node.borderColor','rgba(255,0,255,1)');
- Node144.a('node.background','rgba(255,0,255,1)');
- Node144.a('node.gradient','');
- Node144.a('node.gradientcolor','rgba(255,0,255,1)');
- Node144.a('node.endCompspts',Node144endCompspts);
- Node144.a('node.startCompspts',Node144startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node144';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node144, Node144.getImage(), Node144compspts, Node144endCompspts, Node144startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node145 = new ht.lib['接地'](1500*ratio.ratioX, 269*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node145');
- _libModel.add("Node145", Node145);
- Node145.setRotation(180*Math.PI/180);
- ;
- ;
- var Node146points=[1550, 271,1550, 231],
- Node146rect=ht.Default.unionPoint([{x:1550,y:271},{x:1550,y:231}]),
- 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);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node147 = new ht.lib['mm'](1550*ratio.ratioX, 215*ratio.ratioY, 53*_ratio.ratioX, 30*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node147');
- _libModel.add("Node147", Node147);
- Node147.setRotation(0*Math.PI/180);
- ;
- ;
- var Node148points=[1550, 241,1600, 241],
- Node148rect=ht.Default.unionPoint([{x:1550,y:241},{x:1600,y:241}]),
- 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=[1600, 241,1600, 231],
- Node149rect=ht.Default.unionPoint([{x:1600,y:241},{x:1600,y:231}]),
- Node149compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, 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);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node150 = new ht.lib['接地'](1599*ratio.ratioX, 223*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node150');
- _libModel.add("Node150", Node150);
- Node150.setRotation(180*Math.PI/180);
- ;
- ;
- var Node151points=[1550, 261,1600, 261],
- Node151rect=ht.Default.unionPoint([{x:1550,y:261},{x:1600,y:261}]),
- Node151compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node151points.length;i++){
- if(i%2==0){
- Node151compspts.push(Node151points[i]-Node151rect.x);
- }else{
- Node151compspts.push(Node151points[i]-Node151rect.y);
- }
- }
- var Node151ptslength=Node151compspts.length;
- if (Node151rect.height === 0) {
- Node151compspts[0] -= 0;
- Node151compspts[Node151ptslength-2] += 0;
- } else if (Node151rect.width === 0){
- Node151compspts[1] -= 0;
- Node151compspts[Node151ptslength-1] += 0;
- } else {
- Node151compspts[0] -= 0;
- Node151compspts[1] -= 0;
- Node151compspts[Node151ptslength-2] += 0;
- Node151compspts[Node151ptslength-1] += 0;
- }
- Node151 = new ht.Node();
- Node151.borderWidth = 1;
- Node151rect.width = Node151rect.width === 0 ? 0.0001 : Node151rect.width;
- Node151rect.height = Node151rect.height === 0 ? 0.0001 : Node151rect.height;
- var Node151endCompspts = [Node151compspts[Node151ptslength-2],Node151compspts[Node151ptslength-1],0,0];
- var Node151startCompspts = [Node151compspts[0],Node151compspts[1],0,0];
- Node151.setImage(GD.getPolyLineJSON());
- Node151.setPosition(Node151rect.x+Node151rect.width/2,Node151rect.y+Node151rect.height/2);
- Node151.setSize(Node151rect.width,Node151rect.height);
- Node151.setStyle("opacity",1);
- Node151.s({'pixelPerfect':true});
- Node151borderwidth=1;
- Node151.setRotation(0);
- dataModel.add(Node151);
- Node151.a('node.points',Node151compspts);
- Node151.a('node.segments',[1,2]);
- Node151.a('node.color','rgba(255,0,255,1)');
- Node151.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node151.a('node.borderColor','rgba(255,0,255,1)');
- Node151.a('node.background','rgba(255,0,255,1)');
- Node151.a('node.gradient','');
- Node151.a('node.gradientcolor','rgba(255,0,255,1)');
- Node151.a('node.endCompspts',Node151endCompspts);
- Node151.a('node.startCompspts',Node151startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node151';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node151, Node151.getImage(), Node151compspts, Node151endCompspts, Node151startCompspts);
- var Node152points=[1600, 261,1600, 271],
- Node152rect=ht.Default.unionPoint([{x:1600,y:261},{x:1600,y:271}]),
- Node152compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node152points.length;i++){
- if(i%2==0){
- Node152compspts.push(Node152points[i]-Node152rect.x);
- }else{
- Node152compspts.push(Node152points[i]-Node152rect.y);
- }
- }
- var Node152ptslength=Node152compspts.length;
- if (Node152rect.height === 0) {
- Node152compspts[0] -= 0;
- Node152compspts[Node152ptslength-2] += 0;
- } else if (Node152rect.width === 0){
- Node152compspts[1] -= 0;
- Node152compspts[Node152ptslength-1] += 0;
- } else {
- Node152compspts[0] -= 0;
- Node152compspts[1] -= 0;
- Node152compspts[Node152ptslength-2] += 0;
- Node152compspts[Node152ptslength-1] += 0;
- }
- Node152 = new ht.Node();
- Node152.borderWidth = 1;
- Node152rect.width = Node152rect.width === 0 ? 0.0001 : Node152rect.width;
- Node152rect.height = Node152rect.height === 0 ? 0.0001 : Node152rect.height;
- var Node152endCompspts = [Node152compspts[Node152ptslength-2],Node152compspts[Node152ptslength-1],0,0];
- var Node152startCompspts = [Node152compspts[0],Node152compspts[1],0,0];
- Node152.setImage(GD.getPolyLineJSON());
- Node152.setPosition(Node152rect.x+Node152rect.width/2,Node152rect.y+Node152rect.height/2);
- Node152.setSize(Node152rect.width,Node152rect.height);
- Node152.setStyle("opacity",1);
- Node152.s({'pixelPerfect':true});
- Node152borderwidth=1;
- Node152.setRotation(0);
- dataModel.add(Node152);
- Node152.a('node.points',Node152compspts);
- Node152.a('node.segments',[1,2]);
- Node152.a('node.color','rgba(255,0,255,1)');
- Node152.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node152.a('node.borderColor','rgba(255,0,255,1)');
- Node152.a('node.background','rgba(255,0,255,1)');
- Node152.a('node.gradient','');
- Node152.a('node.gradientcolor','rgba(255,0,255,1)');
- Node152.a('node.endCompspts',Node152endCompspts);
- Node152.a('node.startCompspts',Node152startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node152';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node152, Node152.getImage(), Node152compspts, Node152endCompspts, Node152startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node153 = new ht.lib['接地'](1600*ratio.ratioX, 299*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node153');
- _libModel.add("Node153", Node153);
- Node153.setRotation(0*Math.PI/180);
- ;
- ;
- var Node154points=[1550, 251,1500, 251],
- Node154rect=ht.Default.unionPoint([{x:1550,y:251},{x:1500,y:251}]),
- Node154compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(0, ratio),
- _endratio = GD.getRatioWithRotation(3.14159265358979, 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);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node155 = new ht.lib['矩形箭头竖'](1499*ratio.ratioX, 222*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node155');
- _libModel.add("Node155", Node155);
- Node155.setRotation(180*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node156 = new ht.Node();
- var Node156textStart, Node156textWidth, Node156lineStart, Node156align = 'left', Node156fontSize = 13.3333*_ratio.ratioY,Node156width = 34*_ratio.ratioX, Node156height = 24*_ratio.ratioY;
- (function () {
- if (Node156align === 'left') {
- Node156textStart = Node156fontSize * 0.2 > 2 ? Node156fontSize * 0.2 - 4 : Node156fontSize * 0.2 - 9;
- Node156textWidth = Node156width;
- Node156lineStart = 1;
- } else if (Node156align === 'right') {
- Node156textStart = 0;
- Node156textWidth =Node156fontSize <= 8 ? Node156width + Node156fontSize * 0.2 + 6 : Node156width - Node156fontSize * 0.2;
- Node156lineStart = (Node156width - (ht.Default.getTextSize('2117', ' '+ Node156fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node156align === 'center') {
- Node156textStart = -3;
- Node156textWidth = Node156width;
- Node156lineStart = Node156width - ht.Default.getTextSize('2117', ' '+ Node156fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node156.setImage(GD.getTextJSON(Node156width, Node156height, true, false, false, ' '+ Node156fontSize + 'px "Arial"'))
- Node156.setPosition(1470*ratio.ratioX, 284*ratio.ratioY);
- Node156.setWidth(Node156width);
- Node156.setHeight(Node156height);
- Node156._nodeType = 'text';
- Node156._disallowEvert = true;
- Node156.setRotation(0*Math.PI/180);
- Node156.a('node.width', Node156width);
- Node156.a('node.height', Node156height);
- Node156.a('node.rect', [0, 0, Node156width, Node156height]);
- Node156.a('node.bordercolor','rgba(0,0,0,1)');
- Node156.a('node.borderwidth', 0);
- Node156.a('node.background','' || 'rgba(0,0,0,0)');
- Node156.a('node.gradient','');
- Node156.a('node.gradientcolor','');
- Node156.a('node.text','2117');
- Node156.a('node.textalign','left');
- Node156.a('node.textvAlign','middle');
- Node156.a('node.textrect', [Node156textStart, 0, Node156textWidth, Node156height]);
- Node156.a('node.color','rgba(0,0,0,1)');
- Node156.a('node.font',' '+ Node156fontSize + 'px "Arial"');
- Node156.a('node.textvisible',true);
- Node156.a('node.linefeed',false);
- if (false) {
- Node156.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node156.a('node.text') || '2117';
- var color=Node156.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node156width,Node156height,13.3333*_ratio.ratioY,"left",color,' '+ Node156fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node156.a('node.underlinepoints',[Node156lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node156fontSize + 2 , ht.Default.getTextSize('2117', ' '+ Node156fontSize + 'px "Arial"').width + 6, (Node156height - Node156fontSize) * 0.5*_ratio.ratioY + Node156fontSize + 2 ]);
- Node156.a('node.underlinevisible',false);
- Node156.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node156);
- zoomNodeList.push({
- node: Node156,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node157 = new ht.Node();
- var Node157textStart, Node157textWidth, Node157lineStart, Node157align = 'left', Node157fontSize = 13.3333*_ratio.ratioY,Node157width = 34*_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('219', ' '+ Node157fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node157align === 'center') {
- Node157textStart = -3;
- Node157textWidth = Node157width;
- Node157lineStart = Node157width - ht.Default.getTextSize('219', ' '+ Node157fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node157.setImage(GD.getTextJSON(Node157width, Node157height, true, false, false, ' '+ Node157fontSize + 'px "Arial"'))
- Node157.setPosition(1530*ratio.ratioX, 284*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','219');
- 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') || '219';
- 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('219', ' '+ 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 = 34*_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('2197', ' '+ Node158fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node158align === 'center') {
- Node158textStart = -3;
- Node158textWidth = Node158width;
- Node158lineStart = Node158width - ht.Default.getTextSize('2197', ' '+ Node158fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node158.setImage(GD.getTextJSON(Node158width, Node158height, true, false, false, ' '+ Node158fontSize + 'px "Arial"'))
- Node158.setPosition(1630*ratio.ratioX, 284*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','2197');
- 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') || '2197';
- 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('2197', ' '+ 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 = 72*_ratio.ratioX, Node159height = 25*_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('Uab(KV):', ' '+ Node159fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node159align === 'center') {
- Node159textStart = -3;
- Node159textWidth = Node159width;
- Node159lineStart = Node159width - ht.Default.getTextSize('Uab(KV):', ' '+ Node159fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node159.setImage(GD.getTextJSON(Node159width, Node159height, true, false, false, ' '+ Node159fontSize + 'px "Arial"'))
- Node159.setPosition(1712*ratio.ratioX, 263*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','Uab(KV):');
- 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') || 'Uab(KV):';
- 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, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node159fontSize + 2 , ht.Default.getTextSize('Uab(KV):', ' '+ Node159fontSize + 'px "Arial"').width + 6, (Node159height - Node159fontSize) * 0.5*_ratio.ratioY + Node159fontSize + 2 ]);
- Node159.a('node.underlinevisible',false);
- Node159.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node159);
- zoomNodeList.push({
- node: Node159,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node160 = new ht.Node();
- var Node160textStart, Node160textWidth, Node160lineStart, Node160align = 'left', Node160fontSize = 13.3333*_ratio.ratioY,Node160width = 71*_ratio.ratioX, Node160height = 25*_ratio.ratioY;
- (function () {
- if (Node160align === 'left') {
- Node160textStart = Node160fontSize * 0.2 > 2 ? Node160fontSize * 0.2 - 4 : Node160fontSize * 0.2 - 9;
- Node160textWidth = Node160width;
- Node160lineStart = 1;
- } else if (Node160align === 'right') {
- Node160textStart = 0;
- Node160textWidth =Node160fontSize <= 8 ? Node160width + Node160fontSize * 0.2 + 6 : Node160width - Node160fontSize * 0.2;
- Node160lineStart = (Node160width - (ht.Default.getTextSize('Ubc(KV):', ' '+ Node160fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node160align === 'center') {
- Node160textStart = -3;
- Node160textWidth = Node160width;
- Node160lineStart = Node160width - ht.Default.getTextSize('Ubc(KV):', ' '+ Node160fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node160.setImage(GD.getTextJSON(Node160width, Node160height, true, false, false, ' '+ Node160fontSize + 'px "Arial"'))
- Node160.setPosition(1712*ratio.ratioX, 283*ratio.ratioY);
- Node160.setWidth(Node160width);
- Node160.setHeight(Node160height);
- Node160._nodeType = 'text';
- Node160._disallowEvert = true;
- Node160.setRotation(0*Math.PI/180);
- Node160.a('node.width', Node160width);
- Node160.a('node.height', Node160height);
- Node160.a('node.rect', [0, 0, Node160width, Node160height]);
- Node160.a('node.bordercolor','rgba(0,0,0,1)');
- Node160.a('node.borderwidth', 0);
- Node160.a('node.background','' || 'rgba(0,0,0,0)');
- Node160.a('node.gradient','');
- Node160.a('node.gradientcolor','');
- Node160.a('node.text','Ubc(KV):');
- Node160.a('node.textalign','left');
- Node160.a('node.textvAlign','middle');
- Node160.a('node.textrect', [Node160textStart, 0, Node160textWidth, Node160height]);
- Node160.a('node.color','rgba(0,0,0,1)');
- Node160.a('node.font',' '+ Node160fontSize + 'px "Arial"');
- Node160.a('node.textvisible',true);
- Node160.a('node.linefeed',false);
- if (false) {
- Node160.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node160.a('node.text') || 'Ubc(KV):';
- var color=Node160.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node160width,Node160height,13.3333*_ratio.ratioY,"left",color,' '+ Node160fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node160.a('node.underlinepoints',[Node160lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node160fontSize + 2 , ht.Default.getTextSize('Ubc(KV):', ' '+ Node160fontSize + 'px "Arial"').width + 6, (Node160height - Node160fontSize) * 0.5*_ratio.ratioY + Node160fontSize + 2 ]);
- Node160.a('node.underlinevisible',false);
- Node160.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node160);
- zoomNodeList.push({
- node: Node160,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node161 = new ht.Node();
- var Node161textStart, Node161textWidth, Node161lineStart, Node161align = 'left', Node161fontSize = 13.3333*_ratio.ratioY,Node161width = 71*_ratio.ratioX, Node161height = 25*_ratio.ratioY;
- (function () {
- if (Node161align === 'left') {
- Node161textStart = Node161fontSize * 0.2 > 2 ? Node161fontSize * 0.2 - 4 : Node161fontSize * 0.2 - 9;
- Node161textWidth = Node161width;
- Node161lineStart = 1;
- } else if (Node161align === 'right') {
- Node161textStart = 0;
- Node161textWidth =Node161fontSize <= 8 ? Node161width + Node161fontSize * 0.2 + 6 : Node161width - Node161fontSize * 0.2;
- Node161lineStart = (Node161width - (ht.Default.getTextSize('Uca(KV):', ' '+ Node161fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node161align === 'center') {
- Node161textStart = -3;
- Node161textWidth = Node161width;
- Node161lineStart = Node161width - ht.Default.getTextSize('Uca(KV):', ' '+ Node161fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node161.setImage(GD.getTextJSON(Node161width, Node161height, true, false, false, ' '+ Node161fontSize + 'px "Arial"'))
- Node161.setPosition(1712*ratio.ratioX, 303*ratio.ratioY);
- Node161.setWidth(Node161width);
- Node161.setHeight(Node161height);
- Node161._nodeType = 'text';
- Node161._disallowEvert = true;
- Node161.setRotation(0*Math.PI/180);
- Node161.a('node.width', Node161width);
- Node161.a('node.height', Node161height);
- Node161.a('node.rect', [0, 0, Node161width, Node161height]);
- Node161.a('node.bordercolor','rgba(0,0,0,1)');
- Node161.a('node.borderwidth', 0);
- Node161.a('node.background','' || 'rgba(0,0,0,0)');
- Node161.a('node.gradient','');
- Node161.a('node.gradientcolor','');
- Node161.a('node.text','Uca(KV):');
- Node161.a('node.textalign','left');
- Node161.a('node.textvAlign','middle');
- Node161.a('node.textrect', [Node161textStart, 0, Node161textWidth, Node161height]);
- Node161.a('node.color','rgba(0,0,0,1)');
- Node161.a('node.font',' '+ Node161fontSize + 'px "Arial"');
- Node161.a('node.textvisible',true);
- Node161.a('node.linefeed',false);
- if (false) {
- Node161.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node161.a('node.text') || 'Uca(KV):';
- var color=Node161.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node161width,Node161height,13.3333*_ratio.ratioY,"left",color,' '+ Node161fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node161.a('node.underlinepoints',[Node161lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node161fontSize + 2 , ht.Default.getTextSize('Uca(KV):', ' '+ Node161fontSize + 'px "Arial"').width + 6, (Node161height - Node161fontSize) * 0.5*_ratio.ratioY + Node161fontSize + 2 ]);
- Node161.a('node.underlinevisible',false);
- Node161.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node161);
- zoomNodeList.push({
- node: Node161,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node162 = new ht.Node();
- var Node162textStart, Node162textWidth, Node162lineStart, Node162align = 'left', Node162fontSize = 13.3333*_ratio.ratioY,Node162width = 59*_ratio.ratioX, Node162height = 25*_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('COS:', ' '+ Node162fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node162align === 'center') {
- Node162textStart = -3;
- Node162textWidth = Node162width;
- Node162lineStart = Node162width - ht.Default.getTextSize('COS:', ' '+ Node162fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node162.setImage(GD.getTextJSON(Node162width, Node162height, true, false, false, ' '+ Node162fontSize + 'px "Arial"'))
- Node162.setPosition(1285*ratio.ratioX, 283*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','COS:');
- Node162.a('node.textalign','left');
- Node162.a('node.textvAlign','middle');
- Node162.a('node.textrect', [Node162textStart, 0, Node162textWidth, Node162height]);
- Node162.a('node.color','rgba(0,0,0,1)');
- Node162.a('node.font',' '+ Node162fontSize + 'px "Arial"');
- Node162.a('node.textvisible',true);
- Node162.a('node.linefeed',false);
- if (false) {
- Node162.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node162.a('node.text') || 'COS:';
- 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,' '+ Node162fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node162.a('node.underlinepoints',[Node162lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node162fontSize + 2 , ht.Default.getTextSize('COS:', ' '+ Node162fontSize + 'px "Arial"').width + 6, (Node162height - Node162fontSize) * 0.5*_ratio.ratioY + Node162fontSize + 2 ]);
- Node162.a('node.underlinevisible',false);
- Node162.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node162);
- zoomNodeList.push({
- node: Node162,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node163 = new ht.Node();
- var Node163textStart, Node163textWidth, Node163lineStart, Node163align = 'left', Node163fontSize = 13.3333*_ratio.ratioY,Node163width = 59*_ratio.ratioX, Node163height = 25*_ratio.ratioY;
- (function () {
- if (Node163align === 'left') {
- Node163textStart = Node163fontSize * 0.2 > 2 ? Node163fontSize * 0.2 - 4 : Node163fontSize * 0.2 - 9;
- Node163textWidth = Node163width;
- Node163lineStart = 1;
- } else if (Node163align === 'right') {
- Node163textStart = 0;
- Node163textWidth =Node163fontSize <= 8 ? Node163width + Node163fontSize * 0.2 + 6 : Node163width - Node163fontSize * 0.2;
- Node163lineStart = (Node163width - (ht.Default.getTextSize('Q:', ' '+ Node163fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node163align === 'center') {
- Node163textStart = -3;
- Node163textWidth = Node163width;
- Node163lineStart = Node163width - ht.Default.getTextSize('Q:', ' '+ Node163fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node163.setImage(GD.getTextJSON(Node163width, Node163height, true, false, false, ' '+ Node163fontSize + 'px "Arial"'))
- Node163.setPosition(1304*ratio.ratioX, 263*ratio.ratioY);
- Node163.setWidth(Node163width);
- Node163.setHeight(Node163height);
- Node163._nodeType = 'text';
- Node163._disallowEvert = true;
- Node163.setRotation(0*Math.PI/180);
- Node163.a('node.width', Node163width);
- Node163.a('node.height', Node163height);
- Node163.a('node.rect', [0, 0, Node163width, Node163height]);
- Node163.a('node.bordercolor','rgba(0,0,0,1)');
- Node163.a('node.borderwidth', 0);
- Node163.a('node.background','' || 'rgba(0,0,0,0)');
- Node163.a('node.gradient','');
- Node163.a('node.gradientcolor','');
- Node163.a('node.text','Q:');
- Node163.a('node.textalign','left');
- Node163.a('node.textvAlign','middle');
- Node163.a('node.textrect', [Node163textStart, 0, Node163textWidth, Node163height]);
- Node163.a('node.color','rgba(0,0,0,1)');
- Node163.a('node.font',' '+ Node163fontSize + 'px "Arial"');
- Node163.a('node.textvisible',true);
- Node163.a('node.linefeed',false);
- if (false) {
- Node163.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node163.a('node.text') || 'Q:';
- var color=Node163.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node163width,Node163height,13.3333*_ratio.ratioY,"left",color,' '+ Node163fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node163.a('node.underlinepoints',[Node163lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node163fontSize + 2 , ht.Default.getTextSize('Q:', ' '+ Node163fontSize + 'px "Arial"').width + 6, (Node163height - Node163fontSize) * 0.5*_ratio.ratioY + Node163fontSize + 2 ]);
- Node163.a('node.underlinevisible',false);
- Node163.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node163);
- zoomNodeList.push({
- node: Node163,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node164 = new ht.Node();
- var Node164textStart, Node164textWidth, Node164lineStart, Node164align = 'left', Node164fontSize = 13.3333*_ratio.ratioY,Node164width = 59*_ratio.ratioX, Node164height = 25*_ratio.ratioY;
- (function () {
- if (Node164align === 'left') {
- Node164textStart = Node164fontSize * 0.2 > 2 ? Node164fontSize * 0.2 - 4 : Node164fontSize * 0.2 - 9;
- Node164textWidth = Node164width;
- Node164lineStart = 1;
- } else if (Node164align === 'right') {
- Node164textStart = 0;
- Node164textWidth =Node164fontSize <= 8 ? Node164width + Node164fontSize * 0.2 + 6 : Node164width - Node164fontSize * 0.2;
- Node164lineStart = (Node164width - (ht.Default.getTextSize('F:', ' '+ Node164fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node164align === 'center') {
- Node164textStart = -3;
- Node164textWidth = Node164width;
- Node164lineStart = Node164width - ht.Default.getTextSize('F:', ' '+ Node164fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node164.setImage(GD.getTextJSON(Node164width, Node164height, true, false, false, ' '+ Node164fontSize + 'px "Arial"'))
- Node164.setPosition(1306*ratio.ratioX, 303*ratio.ratioY);
- Node164.setWidth(Node164width);
- Node164.setHeight(Node164height);
- Node164._nodeType = 'text';
- Node164._disallowEvert = true;
- Node164.setRotation(0*Math.PI/180);
- Node164.a('node.width', Node164width);
- Node164.a('node.height', Node164height);
- Node164.a('node.rect', [0, 0, Node164width, Node164height]);
- Node164.a('node.bordercolor','rgba(0,0,0,1)');
- Node164.a('node.borderwidth', 0);
- Node164.a('node.background','' || 'rgba(0,0,0,0)');
- Node164.a('node.gradient','');
- Node164.a('node.gradientcolor','');
- Node164.a('node.text','F:');
- Node164.a('node.textalign','left');
- Node164.a('node.textvAlign','middle');
- Node164.a('node.textrect', [Node164textStart, 0, Node164textWidth, Node164height]);
- Node164.a('node.color','rgba(0,0,0,1)');
- Node164.a('node.font',' '+ Node164fontSize + 'px "Arial"');
- Node164.a('node.textvisible',true);
- Node164.a('node.linefeed',false);
- if (false) {
- Node164.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node164.a('node.text') || 'F:';
- var color=Node164.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node164width,Node164height,13.3333*_ratio.ratioY,"left",color,' '+ Node164fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node164.a('node.underlinepoints',[Node164lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node164fontSize + 2 , ht.Default.getTextSize('F:', ' '+ Node164fontSize + 'px "Arial"').width + 6, (Node164height - Node164fontSize) * 0.5*_ratio.ratioY + Node164fontSize + 2 ]);
- Node164.a('node.underlinevisible',false);
- Node164.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node164);
- zoomNodeList.push({
- node: Node164,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node165 = new ht.Node();
- var Node165textStart, Node165textWidth, Node165lineStart, Node165align = 'left', Node165fontSize = 19.99995*_ratio.ratioY,Node165width = 111*_ratio.ratioX, Node165height = 25*_ratio.ratioY;
- (function () {
- if (Node165align === 'left') {
- Node165textStart = Node165fontSize * 0.2 > 2 ? Node165fontSize * 0.2 - 4 : Node165fontSize * 0.2 - 9;
- Node165textWidth = Node165width;
- Node165lineStart = 1;
- } else if (Node165align === 'right') {
- Node165textStart = 0;
- Node165textWidth =Node165fontSize <= 8 ? Node165width + Node165fontSize * 0.2 + 6 : Node165width - Node165fontSize * 0.2;
- Node165lineStart = (Node165width - (ht.Default.getTextSize('35kV I段', ' '+ Node165fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node165align === 'center') {
- Node165textStart = -3;
- Node165textWidth = Node165width;
- Node165lineStart = Node165width - ht.Default.getTextSize('35kV I段', ' '+ Node165fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node165.setImage(GD.getTextJSON(Node165width, Node165height, true, false, false, ' '+ Node165fontSize + 'px "Arial"'))
- Node165.setPosition(115*ratio.ratioX, 481*ratio.ratioY);
- Node165.setWidth(Node165width);
- Node165.setHeight(Node165height);
- Node165._nodeType = 'text';
- Node165._disallowEvert = true;
- Node165.setRotation(0*Math.PI/180);
- Node165.a('node.width', Node165width);
- Node165.a('node.height', Node165height);
- Node165.a('node.rect', [0, 0, Node165width, Node165height]);
- Node165.a('node.bordercolor','rgba(0,0,0,1)');
- Node165.a('node.borderwidth', 0);
- Node165.a('node.background','' || 'rgba(0,0,0,0)');
- Node165.a('node.gradient','');
- Node165.a('node.gradientcolor','');
- Node165.a('node.text','35kV I段');
- Node165.a('node.textalign','left');
- Node165.a('node.textvAlign','middle');
- Node165.a('node.textrect', [Node165textStart, 0, Node165textWidth, Node165height]);
- Node165.a('node.color','rgba(0,0,0,1)');
- Node165.a('node.font',' '+ Node165fontSize + 'px "Arial"');
- Node165.a('node.textvisible',true);
- Node165.a('node.linefeed',false);
- if (false) {
- Node165.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node165.a('node.text') || '35kV I段';
- var color=Node165.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node165width,Node165height,19.99995*_ratio.ratioY,"left",color,' '+ Node165fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node165.a('node.underlinepoints',[Node165lineStart, (25 - 19.99995) * 0.5 * _ratio.ratioY + Node165fontSize + 2 , ht.Default.getTextSize('35kV I段', ' '+ Node165fontSize + 'px "Arial"').width + 6, (Node165height - Node165fontSize) * 0.5*_ratio.ratioY + Node165fontSize + 2 ]);
- Node165.a('node.underlinevisible',false);
- Node165.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node165);
- zoomNodeList.push({
- node: Node165,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node166points=[370, 481,370, 501],
- Node166rect=ht.Default.unionPoint([{x:370,y:481},{x:370,y:501}]),
- Node166compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, 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,128,0,1)');
- Node166.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node166.a('node.borderColor','rgba(255,128,0,1)');
- Node166.a('node.background','rgba(255,128,0,1)');
- Node166.a('node.gradient','');
- Node166.a('node.gradientcolor','rgba(255,128,0,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);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node167 = new ht.Node();
- var Node167textStart, Node167textWidth, Node167lineStart, Node167align = 'left', Node167fontSize = 13.3333*_ratio.ratioY,Node167width = 27*_ratio.ratioX, Node167height = 24*_ratio.ratioY;
- (function () {
- if (Node167align === 'left') {
- Node167textStart = Node167fontSize * 0.2 > 2 ? Node167fontSize * 0.2 - 4 : Node167fontSize * 0.2 - 9;
- Node167textWidth = Node167width;
- Node167lineStart = 1;
- } else if (Node167align === 'right') {
- Node167textStart = 0;
- Node167textWidth =Node167fontSize <= 8 ? Node167width + Node167fontSize * 0.2 + 6 : Node167width - Node167fontSize * 0.2;
- Node167lineStart = (Node167width - (ht.Default.getTextSize('210', ' '+ Node167fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node167align === 'center') {
- Node167textStart = -3;
- Node167textWidth = Node167width;
- Node167lineStart = Node167width - ht.Default.getTextSize('210', ' '+ Node167fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node167.setImage(GD.getTextJSON(Node167width, Node167height, true, false, false, ' '+ Node167fontSize + 'px "Arial"'))
- Node167.setPosition(549*ratio.ratioX, 402*ratio.ratioY);
- Node167.setWidth(Node167width);
- Node167.setHeight(Node167height);
- Node167._nodeType = 'text';
- Node167._disallowEvert = true;
- Node167.setRotation(0*Math.PI/180);
- Node167.a('node.width', Node167width);
- Node167.a('node.height', Node167height);
- Node167.a('node.rect', [0, 0, Node167width, Node167height]);
- Node167.a('node.bordercolor','rgba(0,0,0,1)');
- Node167.a('node.borderwidth', 0);
- Node167.a('node.background','' || 'rgba(0,0,0,0)');
- Node167.a('node.gradient','');
- Node167.a('node.gradientcolor','');
- Node167.a('node.text','210');
- Node167.a('node.textalign','left');
- Node167.a('node.textvAlign','middle');
- Node167.a('node.textrect', [Node167textStart, 0, Node167textWidth, Node167height]);
- Node167.a('node.color','rgba(0,0,0,1)');
- Node167.a('node.font',' '+ Node167fontSize + 'px "Arial"');
- Node167.a('node.textvisible',true);
- Node167.a('node.linefeed',false);
- if (false) {
- Node167.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node167.a('node.text') || '210';
- var color=Node167.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node167width,Node167height,13.3333*_ratio.ratioY,"left",color,' '+ Node167fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node167.a('node.underlinepoints',[Node167lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node167fontSize + 2 , ht.Default.getTextSize('210', ' '+ Node167fontSize + 'px "Arial"').width + 6, (Node167height - Node167fontSize) * 0.5*_ratio.ratioY + Node167fontSize + 2 ]);
- Node167.a('node.underlinevisible',false);
- Node167.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node167);
- zoomNodeList.push({
- node: Node167,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node168points=[630, 501,630, 491],
- Node168rect=ht.Default.unionPoint([{x:630,y:501},{x:630,y:491}]),
- Node168compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, 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,128,0,1)');
- Node168.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node168.a('node.borderColor','rgba(255,128,0,1)');
- Node168.a('node.background','rgba(255,128,0,1)');
- Node168.a('node.gradient','');
- Node168.a('node.gradientcolor','rgba(255,128,0,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);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node169 = new ht.Node();
- var Node169textStart, Node169textWidth, Node169lineStart, Node169align = 'left', Node169fontSize = 19.99995*_ratio.ratioY,Node169width = 74*_ratio.ratioX, Node169height = 25*_ratio.ratioY;
- (function () {
- if (Node169align === 'left') {
- Node169textStart = Node169fontSize * 0.2 > 2 ? Node169fontSize * 0.2 - 4 : Node169fontSize * 0.2 - 9;
- Node169textWidth = Node169width;
- Node169lineStart = 1;
- } else if (Node169align === 'right') {
- Node169textStart = 0;
- Node169textWidth =Node169fontSize <= 8 ? Node169width + Node169fontSize * 0.2 + 6 : Node169width - Node169fontSize * 0.2;
- Node169lineStart = (Node169width - (ht.Default.getTextSize('4#出线', ' '+ Node169fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node169align === 'center') {
- Node169textStart = -3;
- Node169textWidth = Node169width;
- Node169lineStart = Node169width - ht.Default.getTextSize('4#出线', ' '+ Node169fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node169.setImage(GD.getTextJSON(Node169width, Node169height, true, false, false, ' '+ Node169fontSize + 'px "Arial"'))
- Node169.setPosition(633*ratio.ratioX, 382*ratio.ratioY);
- Node169.setWidth(Node169width);
- Node169.setHeight(Node169height);
- Node169._nodeType = 'text';
- Node169._disallowEvert = true;
- Node169.setRotation(0*Math.PI/180);
- Node169.a('node.width', Node169width);
- Node169.a('node.height', Node169height);
- Node169.a('node.rect', [0, 0, Node169width, Node169height]);
- Node169.a('node.bordercolor','rgba(0,0,0,1)');
- Node169.a('node.borderwidth', 0);
- Node169.a('node.background','' || 'rgba(0,0,0,0)');
- Node169.a('node.gradient','');
- Node169.a('node.gradientcolor','');
- Node169.a('node.text','4#出线');
- Node169.a('node.textalign','left');
- Node169.a('node.textvAlign','middle');
- Node169.a('node.textrect', [Node169textStart, 0, Node169textWidth, Node169height]);
- Node169.a('node.color','rgba(0,0,0,1)');
- Node169.a('node.font',' '+ Node169fontSize + 'px "Arial"');
- Node169.a('node.textvisible',true);
- Node169.a('node.linefeed',false);
- if (false) {
- Node169.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node169.a('node.text') || '4#出线';
- var color=Node169.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node169width,Node169height,19.99995*_ratio.ratioY,"left",color,' '+ Node169fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node169.a('node.underlinepoints',[Node169lineStart, (25 - 19.99995) * 0.5 * _ratio.ratioY + Node169fontSize + 2 , ht.Default.getTextSize('4#出线', ' '+ Node169fontSize + 'px "Arial"').width + 6, (Node169height - Node169fontSize) * 0.5*_ratio.ratioY + Node169fontSize + 2 ]);
- Node169.a('node.underlinevisible',false);
- Node169.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node169);
- zoomNodeList.push({
- node: Node169,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node170_0 = new ht.lib['矩形箭头上'](586*ratio.ratioX, 421*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node170_0');
- _libModel.add("Node170_0", Node170_0);
- Node170_0.setRotation(180*Math.PI/180);
- ;
- ;
- var Node170_1points=[588, 450,668, 450],
- Node170_1rect=ht.Default.unionPoint([{x:588,y:450},{x:668,y:450}]),
- Node170_1compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node170_1points.length;i++){
- if(i%2==0){
- Node170_1compspts.push(Node170_1points[i]-Node170_1rect.x);
- }else{
- Node170_1compspts.push(Node170_1points[i]-Node170_1rect.y);
- }
- }
- var Node170_1ptslength=Node170_1compspts.length;
- if (Node170_1rect.height === 0) {
- Node170_1compspts[0] -= 0;
- Node170_1compspts[Node170_1ptslength-2] += 0;
- } else if (Node170_1rect.width === 0){
- Node170_1compspts[1] -= 0;
- Node170_1compspts[Node170_1ptslength-1] += 0;
- } else {
- Node170_1compspts[0] -= 0;
- Node170_1compspts[1] -= 0;
- Node170_1compspts[Node170_1ptslength-2] += 0;
- Node170_1compspts[Node170_1ptslength-1] += 0;
- }
- Node170_1 = new ht.Node();
- Node170_1.borderWidth = 1;
- Node170_1rect.width = Node170_1rect.width === 0 ? 0.0001 : Node170_1rect.width;
- Node170_1rect.height = Node170_1rect.height === 0 ? 0.0001 : Node170_1rect.height;
- var Node170_1endCompspts = [Node170_1compspts[Node170_1ptslength-2],Node170_1compspts[Node170_1ptslength-1],0,0];
- var Node170_1startCompspts = [Node170_1compspts[0],Node170_1compspts[1],0,0];
- Node170_1.setImage(GD.getPolyLineJSON());
- Node170_1.setPosition(Node170_1rect.x+Node170_1rect.width/2,Node170_1rect.y+Node170_1rect.height/2);
- Node170_1.setSize(Node170_1rect.width,Node170_1rect.height);
- Node170_1.setStyle("opacity",1);
- Node170_1.s({'pixelPerfect':true});
- Node170_1borderwidth=1;
- Node170_1.setRotation(0);
- dataModel.add(Node170_1);
- Node170_1.a('node.points',Node170_1compspts);
- Node170_1.a('node.segments',[1,2]);
- Node170_1.a('node.color','rgba(255,128,0,1)');
- Node170_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node170_1.a('node.borderColor','rgba(255,128,0,1)');
- Node170_1.a('node.background','rgba(255,128,0,1)');
- Node170_1.a('node.gradient','');
- Node170_1.a('node.gradientcolor','rgba(255,128,0,1)');
- Node170_1.a('node.endCompspts',Node170_1endCompspts);
- Node170_1.a('node.startCompspts',Node170_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 = 'Node170_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);
- }
- })(Node170_1, Node170_1.getImage(), Node170_1compspts, Node170_1endCompspts, Node170_1startCompspts);
- var Node170_2points=[668, 450,668, 440],
- Node170_2rect=ht.Default.unionPoint([{x:668,y:450},{x:668,y:440}]),
- Node170_2compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node170_2points.length;i++){
- if(i%2==0){
- Node170_2compspts.push(Node170_2points[i]-Node170_2rect.x);
- }else{
- Node170_2compspts.push(Node170_2points[i]-Node170_2rect.y);
- }
- }
- var Node170_2ptslength=Node170_2compspts.length;
- if (Node170_2rect.height === 0) {
- Node170_2compspts[0] -= 0;
- Node170_2compspts[Node170_2ptslength-2] += 0;
- } else if (Node170_2rect.width === 0){
- Node170_2compspts[1] -= 0;
- Node170_2compspts[Node170_2ptslength-1] += 0;
- } else {
- Node170_2compspts[0] -= 0;
- Node170_2compspts[1] -= 0;
- Node170_2compspts[Node170_2ptslength-2] += 0;
- Node170_2compspts[Node170_2ptslength-1] += 0;
- }
- Node170_2 = new ht.Node();
- Node170_2.borderWidth = 1;
- Node170_2rect.width = Node170_2rect.width === 0 ? 0.0001 : Node170_2rect.width;
- Node170_2rect.height = Node170_2rect.height === 0 ? 0.0001 : Node170_2rect.height;
- var Node170_2endCompspts = [Node170_2compspts[Node170_2ptslength-2],Node170_2compspts[Node170_2ptslength-1],0,0];
- var Node170_2startCompspts = [Node170_2compspts[0],Node170_2compspts[1],0,0];
- Node170_2.setImage(GD.getPolyLineJSON());
- Node170_2.setPosition(Node170_2rect.x+Node170_2rect.width/2,Node170_2rect.y+Node170_2rect.height/2);
- Node170_2.setSize(Node170_2rect.width,Node170_2rect.height);
- Node170_2.setStyle("opacity",1);
- Node170_2.s({'pixelPerfect':true});
- Node170_2borderwidth=1;
- Node170_2.setRotation(0);
- dataModel.add(Node170_2);
- Node170_2.a('node.points',Node170_2compspts);
- Node170_2.a('node.segments',[1,2]);
- Node170_2.a('node.color','rgba(255,128,0,1)');
- Node170_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node170_2.a('node.borderColor','rgba(255,128,0,1)');
- Node170_2.a('node.background','rgba(255,128,0,1)');
- Node170_2.a('node.gradient','');
- Node170_2.a('node.gradientcolor','rgba(255,128,0,1)');
- Node170_2.a('node.endCompspts',Node170_2endCompspts);
- Node170_2.a('node.startCompspts',Node170_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 = 'Node170_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);
- }
- })(Node170_2, Node170_2.getImage(), Node170_2compspts, Node170_2endCompspts, Node170_2startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node170_3 = new ht.lib['黄色接地'](667*ratio.ratioX, 411*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node170_3');
- _libModel.add("Node170_3", Node170_3);
- Node170_3.setRotation(180*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node170_4 = new ht.lib['ss'](629*ratio.ratioX, 431*ratio.ratioY, 10*_ratio.ratioX, 44*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node170_4');
- _libModel.add("Node170_4", Node170_4);
- Node170_4.setRotation(0*Math.PI/180);
- ;
- ;
- var Node170_5points=[629, 463,629, 453],
- Node170_5rect=ht.Default.unionPoint([{x:629,y:463},{x:629,y:453}]),
- Node170_5compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node170_5points.length;i++){
- if(i%2==0){
- Node170_5compspts.push(Node170_5points[i]-Node170_5rect.x);
- }else{
- Node170_5compspts.push(Node170_5points[i]-Node170_5rect.y);
- }
- }
- var Node170_5ptslength=Node170_5compspts.length;
- if (Node170_5rect.height === 0) {
- Node170_5compspts[0] -= 0;
- Node170_5compspts[Node170_5ptslength-2] += 0;
- } else if (Node170_5rect.width === 0){
- Node170_5compspts[1] -= 0;
- Node170_5compspts[Node170_5ptslength-1] += 0;
- } else {
- Node170_5compspts[0] -= 0;
- Node170_5compspts[1] -= 0;
- Node170_5compspts[Node170_5ptslength-2] += 0;
- Node170_5compspts[Node170_5ptslength-1] += 0;
- }
- Node170_5 = new ht.Node();
- Node170_5.borderWidth = 1;
- Node170_5rect.width = Node170_5rect.width === 0 ? 0.0001 : Node170_5rect.width;
- Node170_5rect.height = Node170_5rect.height === 0 ? 0.0001 : Node170_5rect.height;
- var Node170_5endCompspts = [Node170_5compspts[Node170_5ptslength-2],Node170_5compspts[Node170_5ptslength-1],0,0];
- var Node170_5startCompspts = [Node170_5compspts[0],Node170_5compspts[1],0,0];
- Node170_5.setImage(GD.getPolyLineJSON());
- Node170_5.setPosition(Node170_5rect.x+Node170_5rect.width/2,Node170_5rect.y+Node170_5rect.height/2);
- Node170_5.setSize(Node170_5rect.width,Node170_5rect.height);
- Node170_5.setStyle("opacity",1);
- Node170_5.s({'pixelPerfect':true});
- Node170_5borderwidth=1;
- Node170_5.setRotation(0);
- dataModel.add(Node170_5);
- Node170_5.a('node.points',Node170_5compspts);
- Node170_5.a('node.segments',[1,2]);
- Node170_5.a('node.color','rgba(255,128,0,1)');
- Node170_5.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node170_5.a('node.borderColor','rgba(255,128,0,1)');
- Node170_5.a('node.background','rgba(255,128,0,1)');
- Node170_5.a('node.gradient','');
- Node170_5.a('node.gradientcolor','rgba(255,128,0,1)');
- Node170_5.a('node.endCompspts',Node170_5endCompspts);
- Node170_5.a('node.startCompspts',Node170_5startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('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_5';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 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_5, Node170_5.getImage(), Node170_5compspts, Node170_5endCompspts, Node170_5startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node171_0 = new ht.lib['矩形箭头上'](716*ratio.ratioX, 422*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node171_0');
- _libModel.add("Node171_0", Node171_0);
- Node171_0.setRotation(180*Math.PI/180);
- ;
- ;
- var Node171_1points=[718, 451,798, 451],
- Node171_1rect=ht.Default.unionPoint([{x:718,y:451},{x:798,y:451}]),
- Node171_1compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node171_1points.length;i++){
- if(i%2==0){
- Node171_1compspts.push(Node171_1points[i]-Node171_1rect.x);
- }else{
- Node171_1compspts.push(Node171_1points[i]-Node171_1rect.y);
- }
- }
- var Node171_1ptslength=Node171_1compspts.length;
- if (Node171_1rect.height === 0) {
- Node171_1compspts[0] -= 0;
- Node171_1compspts[Node171_1ptslength-2] += 0;
- } else if (Node171_1rect.width === 0){
- Node171_1compspts[1] -= 0;
- Node171_1compspts[Node171_1ptslength-1] += 0;
- } else {
- Node171_1compspts[0] -= 0;
- Node171_1compspts[1] -= 0;
- Node171_1compspts[Node171_1ptslength-2] += 0;
- Node171_1compspts[Node171_1ptslength-1] += 0;
- }
- Node171_1 = new ht.Node();
- Node171_1.borderWidth = 1;
- Node171_1rect.width = Node171_1rect.width === 0 ? 0.0001 : Node171_1rect.width;
- Node171_1rect.height = Node171_1rect.height === 0 ? 0.0001 : Node171_1rect.height;
- var Node171_1endCompspts = [Node171_1compspts[Node171_1ptslength-2],Node171_1compspts[Node171_1ptslength-1],0,0];
- var Node171_1startCompspts = [Node171_1compspts[0],Node171_1compspts[1],0,0];
- Node171_1.setImage(GD.getPolyLineJSON());
- Node171_1.setPosition(Node171_1rect.x+Node171_1rect.width/2,Node171_1rect.y+Node171_1rect.height/2);
- Node171_1.setSize(Node171_1rect.width,Node171_1rect.height);
- Node171_1.setStyle("opacity",1);
- Node171_1.s({'pixelPerfect':true});
- Node171_1borderwidth=1;
- Node171_1.setRotation(0);
- dataModel.add(Node171_1);
- Node171_1.a('node.points',Node171_1compspts);
- Node171_1.a('node.segments',[1,2]);
- Node171_1.a('node.color','rgba(255,128,0,1)');
- Node171_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node171_1.a('node.borderColor','rgba(255,128,0,1)');
- Node171_1.a('node.background','rgba(255,128,0,1)');
- Node171_1.a('node.gradient','');
- Node171_1.a('node.gradientcolor','rgba(255,128,0,1)');
- Node171_1.a('node.endCompspts',Node171_1endCompspts);
- Node171_1.a('node.startCompspts',Node171_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 = 'Node171_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);
- }
- })(Node171_1, Node171_1.getImage(), Node171_1compspts, Node171_1endCompspts, Node171_1startCompspts);
- var Node171_2points=[798, 451,798, 441],
- Node171_2rect=ht.Default.unionPoint([{x:798,y:451},{x:798,y:441}]),
- Node171_2compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node171_2points.length;i++){
- if(i%2==0){
- Node171_2compspts.push(Node171_2points[i]-Node171_2rect.x);
- }else{
- Node171_2compspts.push(Node171_2points[i]-Node171_2rect.y);
- }
- }
- var Node171_2ptslength=Node171_2compspts.length;
- if (Node171_2rect.height === 0) {
- Node171_2compspts[0] -= 0;
- Node171_2compspts[Node171_2ptslength-2] += 0;
- } else if (Node171_2rect.width === 0){
- Node171_2compspts[1] -= 0;
- Node171_2compspts[Node171_2ptslength-1] += 0;
- } else {
- Node171_2compspts[0] -= 0;
- Node171_2compspts[1] -= 0;
- Node171_2compspts[Node171_2ptslength-2] += 0;
- Node171_2compspts[Node171_2ptslength-1] += 0;
- }
- Node171_2 = new ht.Node();
- Node171_2.borderWidth = 1;
- Node171_2rect.width = Node171_2rect.width === 0 ? 0.0001 : Node171_2rect.width;
- Node171_2rect.height = Node171_2rect.height === 0 ? 0.0001 : Node171_2rect.height;
- var Node171_2endCompspts = [Node171_2compspts[Node171_2ptslength-2],Node171_2compspts[Node171_2ptslength-1],0,0];
- var Node171_2startCompspts = [Node171_2compspts[0],Node171_2compspts[1],0,0];
- Node171_2.setImage(GD.getPolyLineJSON());
- Node171_2.setPosition(Node171_2rect.x+Node171_2rect.width/2,Node171_2rect.y+Node171_2rect.height/2);
- Node171_2.setSize(Node171_2rect.width,Node171_2rect.height);
- Node171_2.setStyle("opacity",1);
- Node171_2.s({'pixelPerfect':true});
- Node171_2borderwidth=1;
- Node171_2.setRotation(0);
- dataModel.add(Node171_2);
- Node171_2.a('node.points',Node171_2compspts);
- Node171_2.a('node.segments',[1,2]);
- Node171_2.a('node.color','rgba(255,128,0,1)');
- Node171_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node171_2.a('node.borderColor','rgba(255,128,0,1)');
- Node171_2.a('node.background','rgba(255,128,0,1)');
- Node171_2.a('node.gradient','');
- Node171_2.a('node.gradientcolor','rgba(255,128,0,1)');
- Node171_2.a('node.endCompspts',Node171_2endCompspts);
- Node171_2.a('node.startCompspts',Node171_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 = 'Node171_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);
- }
- })(Node171_2, Node171_2.getImage(), Node171_2compspts, Node171_2endCompspts, Node171_2startCompspts);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node171_3 = new ht.lib['黄色接地'](797*ratio.ratioX, 412*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node171_3');
- _libModel.add("Node171_3", Node171_3);
- Node171_3.setRotation(180*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node171_4 = new ht.lib['ss'](759*ratio.ratioX, 432*ratio.ratioY, 10*_ratio.ratioX, 44*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node171_4');
- _libModel.add("Node171_4", Node171_4);
- Node171_4.setRotation(0*Math.PI/180);
- ;
- ;
- var Node171_5points=[759, 464,759, 454],
- Node171_5rect=ht.Default.unionPoint([{x:759,y:464},{x:759,y:454}]),
- Node171_5compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node171_5points.length;i++){
- if(i%2==0){
- Node171_5compspts.push(Node171_5points[i]-Node171_5rect.x);
- }else{
- Node171_5compspts.push(Node171_5points[i]-Node171_5rect.y);
- }
- }
- var Node171_5ptslength=Node171_5compspts.length;
- if (Node171_5rect.height === 0) {
- Node171_5compspts[0] -= 0;
- Node171_5compspts[Node171_5ptslength-2] += 0;
- } else if (Node171_5rect.width === 0){
- Node171_5compspts[1] -= 0;
- Node171_5compspts[Node171_5ptslength-1] += 0;
- } else {
- Node171_5compspts[0] -= 0;
- Node171_5compspts[1] -= 0;
- Node171_5compspts[Node171_5ptslength-2] += 0;
- Node171_5compspts[Node171_5ptslength-1] += 0;
- }
- Node171_5 = new ht.Node();
- Node171_5.borderWidth = 1;
- Node171_5rect.width = Node171_5rect.width === 0 ? 0.0001 : Node171_5rect.width;
- Node171_5rect.height = Node171_5rect.height === 0 ? 0.0001 : Node171_5rect.height;
- var Node171_5endCompspts = [Node171_5compspts[Node171_5ptslength-2],Node171_5compspts[Node171_5ptslength-1],0,0];
- var Node171_5startCompspts = [Node171_5compspts[0],Node171_5compspts[1],0,0];
- Node171_5.setImage(GD.getPolyLineJSON());
- Node171_5.setPosition(Node171_5rect.x+Node171_5rect.width/2,Node171_5rect.y+Node171_5rect.height/2);
- Node171_5.setSize(Node171_5rect.width,Node171_5rect.height);
- Node171_5.setStyle("opacity",1);
- Node171_5.s({'pixelPerfect':true});
- Node171_5borderwidth=1;
- Node171_5.setRotation(0);
- dataModel.add(Node171_5);
- Node171_5.a('node.points',Node171_5compspts);
- Node171_5.a('node.segments',[1,2]);
- Node171_5.a('node.color','rgba(255,128,0,1)');
- Node171_5.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node171_5.a('node.borderColor','rgba(255,128,0,1)');
- Node171_5.a('node.background','rgba(255,128,0,1)');
- Node171_5.a('node.gradient','');
- Node171_5.a('node.gradientcolor','rgba(255,128,0,1)');
- Node171_5.a('node.endCompspts',Node171_5endCompspts);
- Node171_5.a('node.startCompspts',Node171_5startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('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_5';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 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_5, Node171_5.getImage(), Node171_5compspts, Node171_5endCompspts, Node171_5startCompspts);
- var Node172points=[760, 501,760, 491],
- Node172rect=ht.Default.unionPoint([{x:760,y:501},{x:760,y:491}]),
- Node172compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node172points.length;i++){
- if(i%2==0){
- Node172compspts.push(Node172points[i]-Node172rect.x);
- }else{
- Node172compspts.push(Node172points[i]-Node172rect.y);
- }
- }
- var Node172ptslength=Node172compspts.length;
- if (Node172rect.height === 0) {
- Node172compspts[0] -= 0;
- Node172compspts[Node172ptslength-2] += 0;
- } else if (Node172rect.width === 0){
- Node172compspts[1] -= 0;
- Node172compspts[Node172ptslength-1] += 0;
- } else {
- Node172compspts[0] -= 0;
- Node172compspts[1] -= 0;
- Node172compspts[Node172ptslength-2] += 0;
- Node172compspts[Node172ptslength-1] += 0;
- }
- Node172 = new ht.Node();
- Node172.borderWidth = 1;
- Node172rect.width = Node172rect.width === 0 ? 0.0001 : Node172rect.width;
- Node172rect.height = Node172rect.height === 0 ? 0.0001 : Node172rect.height;
- var Node172endCompspts = [Node172compspts[Node172ptslength-2],Node172compspts[Node172ptslength-1],0,0];
- var Node172startCompspts = [Node172compspts[0],Node172compspts[1],0,0];
- Node172.setImage(GD.getPolyLineJSON());
- Node172.setPosition(Node172rect.x+Node172rect.width/2,Node172rect.y+Node172rect.height/2);
- Node172.setSize(Node172rect.width,Node172rect.height);
- Node172.setStyle("opacity",1);
- Node172.s({'pixelPerfect':true});
- Node172borderwidth=1;
- Node172.setRotation(0);
- dataModel.add(Node172);
- Node172.a('node.points',Node172compspts);
- Node172.a('node.segments',[1,2]);
- Node172.a('node.color','rgba(255,128,0,1)');
- Node172.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node172.a('node.borderColor','rgba(255,128,0,1)');
- Node172.a('node.background','rgba(255,128,0,1)');
- Node172.a('node.gradient','');
- Node172.a('node.gradientcolor','rgba(255,128,0,1)');
- Node172.a('node.endCompspts',Node172endCompspts);
- Node172.a('node.startCompspts',Node172startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node172';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node172, Node172.getImage(), Node172compspts, Node172endCompspts, Node172startCompspts);
- var Node173points=[890, 500,890, 490],
- Node173rect=ht.Default.unionPoint([{x:890,y:500},{x:890,y:490}]),
- Node173compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node173points.length;i++){
- if(i%2==0){
- Node173compspts.push(Node173points[i]-Node173rect.x);
- }else{
- Node173compspts.push(Node173points[i]-Node173rect.y);
- }
- }
- var Node173ptslength=Node173compspts.length;
- if (Node173rect.height === 0) {
- Node173compspts[0] -= 0;
- Node173compspts[Node173ptslength-2] += 0;
- } else if (Node173rect.width === 0){
- Node173compspts[1] -= 0;
- Node173compspts[Node173ptslength-1] += 0;
- } else {
- Node173compspts[0] -= 0;
- Node173compspts[1] -= 0;
- Node173compspts[Node173ptslength-2] += 0;
- Node173compspts[Node173ptslength-1] += 0;
- }
- Node173 = new ht.Node();
- Node173.borderWidth = 1;
- Node173rect.width = Node173rect.width === 0 ? 0.0001 : Node173rect.width;
- Node173rect.height = Node173rect.height === 0 ? 0.0001 : Node173rect.height;
- var Node173endCompspts = [Node173compspts[Node173ptslength-2],Node173compspts[Node173ptslength-1],0,0];
- var Node173startCompspts = [Node173compspts[0],Node173compspts[1],0,0];
- Node173.setImage(GD.getPolyLineJSON());
- Node173.setPosition(Node173rect.x+Node173rect.width/2,Node173rect.y+Node173rect.height/2);
- Node173.setSize(Node173rect.width,Node173rect.height);
- Node173.setStyle("opacity",1);
- Node173.s({'pixelPerfect':true});
- Node173borderwidth=1;
- Node173.setRotation(0);
- dataModel.add(Node173);
- Node173.a('node.points',Node173compspts);
- Node173.a('node.segments',[1,2]);
- Node173.a('node.color','rgba(255,128,0,1)');
- Node173.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node173.a('node.borderColor','rgba(255,128,0,1)');
- Node173.a('node.background','rgba(255,128,0,1)');
- Node173.a('node.gradient','');
- Node173.a('node.gradientcolor','rgba(255,128,0,1)');
- Node173.a('node.endCompspts',Node173endCompspts);
- Node173.a('node.startCompspts',Node173startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node173';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node173, Node173.getImage(), Node173compspts, Node173endCompspts, Node173startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node174 = new ht.Node();
- var Node174textStart, Node174textWidth, Node174lineStart, Node174align = 'left', Node174fontSize = 19.99995*_ratio.ratioY,Node174width = 74*_ratio.ratioX, Node174height = 25*_ratio.ratioY;
- (function () {
- if (Node174align === 'left') {
- Node174textStart = Node174fontSize * 0.2 > 2 ? Node174fontSize * 0.2 - 4 : Node174fontSize * 0.2 - 9;
- Node174textWidth = Node174width;
- Node174lineStart = 1;
- } else if (Node174align === 'right') {
- Node174textStart = 0;
- Node174textWidth =Node174fontSize <= 8 ? Node174width + Node174fontSize * 0.2 + 6 : Node174width - Node174fontSize * 0.2;
- Node174lineStart = (Node174width - (ht.Default.getTextSize('5#出线', ' '+ Node174fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node174align === 'center') {
- Node174textStart = -3;
- Node174textWidth = Node174width;
- Node174lineStart = Node174width - ht.Default.getTextSize('5#出线', ' '+ Node174fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node174.setImage(GD.getTextJSON(Node174width, Node174height, true, false, false, ' '+ Node174fontSize + 'px "Arial"'))
- Node174.setPosition(763*ratio.ratioX, 384*ratio.ratioY);
- Node174.setWidth(Node174width);
- Node174.setHeight(Node174height);
- Node174._nodeType = 'text';
- Node174._disallowEvert = true;
- Node174.setRotation(0*Math.PI/180);
- Node174.a('node.width', Node174width);
- Node174.a('node.height', Node174height);
- Node174.a('node.rect', [0, 0, Node174width, Node174height]);
- Node174.a('node.bordercolor','rgba(0,0,0,1)');
- Node174.a('node.borderwidth', 0);
- Node174.a('node.background','' || 'rgba(0,0,0,0)');
- Node174.a('node.gradient','');
- Node174.a('node.gradientcolor','');
- Node174.a('node.text','5#出线');
- Node174.a('node.textalign','left');
- Node174.a('node.textvAlign','middle');
- Node174.a('node.textrect', [Node174textStart, 0, Node174textWidth, Node174height]);
- Node174.a('node.color','rgba(0,0,0,1)');
- Node174.a('node.font',' '+ Node174fontSize + 'px "Arial"');
- Node174.a('node.textvisible',true);
- Node174.a('node.linefeed',false);
- if (false) {
- Node174.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node174.a('node.text') || '5#出线';
- var color=Node174.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node174width,Node174height,19.99995*_ratio.ratioY,"left",color,' '+ Node174fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node174.a('node.underlinepoints',[Node174lineStart, (25 - 19.99995) * 0.5 * _ratio.ratioY + Node174fontSize + 2 , ht.Default.getTextSize('5#出线', ' '+ Node174fontSize + 'px "Arial"').width + 6, (Node174height - Node174fontSize) * 0.5*_ratio.ratioY + Node174fontSize + 2 ]);
- Node174.a('node.underlinevisible',false);
- Node174.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node174);
- zoomNodeList.push({
- node: Node174,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node175 = new ht.Node();
- var Node175textStart, Node175textWidth, Node175lineStart, Node175align = 'left', Node175fontSize = 19.99995*_ratio.ratioY,Node175width = 74*_ratio.ratioX, Node175height = 25*_ratio.ratioY;
- (function () {
- if (Node175align === 'left') {
- Node175textStart = Node175fontSize * 0.2 > 2 ? Node175fontSize * 0.2 - 4 : Node175fontSize * 0.2 - 9;
- Node175textWidth = Node175width;
- Node175lineStart = 1;
- } else if (Node175align === 'right') {
- Node175textStart = 0;
- Node175textWidth =Node175fontSize <= 8 ? Node175width + Node175fontSize * 0.2 + 6 : Node175width - Node175fontSize * 0.2;
- Node175lineStart = (Node175width - (ht.Default.getTextSize('6#出线', ' '+ Node175fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node175align === 'center') {
- Node175textStart = -3;
- Node175textWidth = Node175width;
- Node175lineStart = Node175width - ht.Default.getTextSize('6#出线', ' '+ Node175fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node175.setImage(GD.getTextJSON(Node175width, Node175height, true, false, false, ' '+ Node175fontSize + 'px "Arial"'))
- Node175.setPosition(893*ratio.ratioX, 383*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','6#出线');
- 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') || '6#出线';
- var color=Node175.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node175width,Node175height,19.99995*_ratio.ratioY,"left",color,' '+ Node175fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node175.a('node.underlinepoints',[Node175lineStart, (25 - 19.99995) * 0.5 * _ratio.ratioY + Node175fontSize + 2 , ht.Default.getTextSize('6#出线', ' '+ 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_0 = new ht.Node();
- var Node176_0textStart, Node176_0textWidth, Node176_0lineStart, Node176_0align = 'left', Node176_0fontSize = 13.3333*_ratio.ratioY,Node176_0width = 59*_ratio.ratioX, Node176_0height = 25*_ratio.ratioY;
- (function () {
- if (Node176_0align === 'left') {
- Node176_0textStart = Node176_0fontSize * 0.2 > 2 ? Node176_0fontSize * 0.2 - 4 : Node176_0fontSize * 0.2 - 9;
- Node176_0textWidth = Node176_0width;
- Node176_0lineStart = 1;
- } else if (Node176_0align === 'right') {
- Node176_0textStart = 0;
- Node176_0textWidth =Node176_0fontSize <= 8 ? Node176_0width + Node176_0fontSize * 0.2 + 6 : Node176_0width - Node176_0fontSize * 0.2;
- Node176_0lineStart = (Node176_0width - (ht.Default.getTextSize('Ia:', ' '+ Node176_0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node176_0align === 'center') {
- Node176_0textStart = -3;
- Node176_0textWidth = Node176_0width;
- Node176_0lineStart = Node176_0width - ht.Default.getTextSize('Ia:', ' '+ Node176_0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node176_0.setImage(GD.getTextJSON(Node176_0width, Node176_0height, true, false, false, ' '+ Node176_0fontSize + 'px "Arial"'))
- Node176_0.setPosition(594*ratio.ratioX, 336*ratio.ratioY);
- Node176_0.setWidth(Node176_0width);
- Node176_0.setHeight(Node176_0height);
- Node176_0._nodeType = 'text';
- Node176_0._disallowEvert = true;
- Node176_0.setRotation(0*Math.PI/180);
- Node176_0.a('node.width', Node176_0width);
- Node176_0.a('node.height', Node176_0height);
- Node176_0.a('node.rect', [0, 0, Node176_0width, Node176_0height]);
- Node176_0.a('node.bordercolor','rgba(255,0,255,1)');
- Node176_0.a('node.borderwidth', 0);
- Node176_0.a('node.background','' || 'rgba(0,0,0,0)');
- Node176_0.a('node.gradient','');
- Node176_0.a('node.gradientcolor','');
- Node176_0.a('node.text','Ia:');
- Node176_0.a('node.textalign','left');
- Node176_0.a('node.textvAlign','middle');
- Node176_0.a('node.textrect', [Node176_0textStart, 0, Node176_0textWidth, Node176_0height]);
- Node176_0.a('node.color','rgba(255,0,255,1)');
- Node176_0.a('node.font',' '+ Node176_0fontSize + 'px "Arial"');
- Node176_0.a('node.textvisible',true);
- Node176_0.a('node.linefeed',false);
- if (false) {
- Node176_0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node176_0.a('node.text') || 'Ia:';
- var color=Node176_0.a('node.color') || 'rgba(255,0,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node176_0width,Node176_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node176_0fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node176_0.a('node.underlinepoints',[Node176_0lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node176_0fontSize + 2 , ht.Default.getTextSize('Ia:', ' '+ Node176_0fontSize + 'px "Arial"').width + 6, (Node176_0height - Node176_0fontSize) * 0.5*_ratio.ratioY + Node176_0fontSize + 2 ]);
- Node176_0.a('node.underlinevisible',false);
- Node176_0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node176_0);
- zoomNodeList.push({
- node: Node176_0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node176_1 = new ht.Node();
- var Node176_1textStart, Node176_1textWidth, Node176_1lineStart, Node176_1align = 'left', Node176_1fontSize = 13.3333*_ratio.ratioY,Node176_1width = 59*_ratio.ratioX, Node176_1height = 25*_ratio.ratioY;
- (function () {
- if (Node176_1align === 'left') {
- Node176_1textStart = Node176_1fontSize * 0.2 > 2 ? Node176_1fontSize * 0.2 - 4 : Node176_1fontSize * 0.2 - 9;
- Node176_1textWidth = Node176_1width;
- Node176_1lineStart = 1;
- } else if (Node176_1align === 'right') {
- Node176_1textStart = 0;
- Node176_1textWidth =Node176_1fontSize <= 8 ? Node176_1width + Node176_1fontSize * 0.2 + 6 : Node176_1width - Node176_1fontSize * 0.2;
- Node176_1lineStart = (Node176_1width - (ht.Default.getTextSize('P:', ' '+ Node176_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node176_1align === 'center') {
- Node176_1textStart = -3;
- Node176_1textWidth = Node176_1width;
- Node176_1lineStart = Node176_1width - ht.Default.getTextSize('P:', ' '+ Node176_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node176_1.setImage(GD.getTextJSON(Node176_1width, Node176_1height, true, false, false, ' '+ Node176_1fontSize + 'px "Arial"'))
- Node176_1.setPosition(596*ratio.ratioX, 357*ratio.ratioY);
- Node176_1.setWidth(Node176_1width);
- Node176_1.setHeight(Node176_1height);
- Node176_1._nodeType = 'text';
- Node176_1._disallowEvert = true;
- Node176_1.setRotation(0*Math.PI/180);
- Node176_1.a('node.width', Node176_1width);
- Node176_1.a('node.height', Node176_1height);
- Node176_1.a('node.rect', [0, 0, Node176_1width, Node176_1height]);
- Node176_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node176_1.a('node.borderwidth', 0);
- Node176_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node176_1.a('node.gradient','');
- Node176_1.a('node.gradientcolor','');
- Node176_1.a('node.text','P:');
- Node176_1.a('node.textalign','left');
- Node176_1.a('node.textvAlign','middle');
- Node176_1.a('node.textrect', [Node176_1textStart, 0, Node176_1textWidth, Node176_1height]);
- Node176_1.a('node.color','rgba(0,0,0,1)');
- Node176_1.a('node.font',' '+ Node176_1fontSize + 'px "Arial"');
- Node176_1.a('node.textvisible',true);
- Node176_1.a('node.linefeed',false);
- if (false) {
- Node176_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node176_1.a('node.text') || 'P:';
- var color=Node176_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node176_1width,Node176_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node176_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node176_1.a('node.underlinepoints',[Node176_1lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node176_1fontSize + 2 , ht.Default.getTextSize('P:', ' '+ Node176_1fontSize + 'px "Arial"').width + 6, (Node176_1height - Node176_1fontSize) * 0.5*_ratio.ratioY + Node176_1fontSize + 2 ]);
- Node176_1.a('node.underlinevisible',false);
- Node176_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node176_1);
- zoomNodeList.push({
- node: Node176_1,
- 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 = 59*_ratio.ratioX, Node177height = 25*_ratio.ratioY;
- (function () {
- if (Node177align === 'left') {
- Node177textStart = Node177fontSize * 0.2 > 2 ? Node177fontSize * 0.2 - 4 : Node177fontSize * 0.2 - 9;
- Node177textWidth = Node177width;
- Node177lineStart = 1;
- } else if (Node177align === 'right') {
- Node177textStart = 0;
- Node177textWidth =Node177fontSize <= 8 ? Node177width + Node177fontSize * 0.2 + 6 : Node177width - Node177fontSize * 0.2;
- Node177lineStart = (Node177width - (ht.Default.getTextSize('Ia:', ' '+ Node177fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node177align === 'center') {
- Node177textStart = -3;
- Node177textWidth = Node177width;
- Node177lineStart = Node177width - ht.Default.getTextSize('Ia:', ' '+ Node177fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node177.setImage(GD.getTextJSON(Node177width, Node177height, true, false, false, ' '+ Node177fontSize + 'px "Arial"'))
- Node177.setPosition(874*ratio.ratioX, 335*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(255,0,255,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','Ia:');
- Node177.a('node.textalign','left');
- Node177.a('node.textvAlign','middle');
- Node177.a('node.textrect', [Node177textStart, 0, Node177textWidth, Node177height]);
- Node177.a('node.color','rgba(255,0,255,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') || 'Ia:';
- var color=Node177.a('node.color') || 'rgba(255,0,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node177width,Node177height,13.3333*_ratio.ratioY,"left",color,' '+ Node177fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node177.a('node.underlinepoints',[Node177lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node177fontSize + 2 , ht.Default.getTextSize('Ia:', ' '+ 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 = 59*_ratio.ratioX, Node178height = 25*_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('P:', ' '+ Node178fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node178align === 'center') {
- Node178textStart = -3;
- Node178textWidth = Node178width;
- Node178lineStart = Node178width - ht.Default.getTextSize('P:', ' '+ Node178fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node178.setImage(GD.getTextJSON(Node178width, Node178height, true, false, false, ' '+ Node178fontSize + 'px "Arial"'))
- Node178.setPosition(876*ratio.ratioX, 356*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','P:');
- 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') || 'P:';
- 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, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node178fontSize + 2 , ht.Default.getTextSize('P:', ' '+ Node178fontSize + 'px "Arial"').width + 6, (Node178height - Node178fontSize) * 0.5*_ratio.ratioY + Node178fontSize + 2 ]);
- Node178.a('node.underlinevisible',false);
- Node178.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node178);
- zoomNodeList.push({
- node: Node178,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node179 = new ht.Node();
- var Node179textStart, Node179textWidth, Node179lineStart, Node179align = 'left', Node179fontSize = 13.3333*_ratio.ratioY,Node179width = 59*_ratio.ratioX, Node179height = 25*_ratio.ratioY;
- (function () {
- if (Node179align === 'left') {
- Node179textStart = Node179fontSize * 0.2 > 2 ? Node179fontSize * 0.2 - 4 : Node179fontSize * 0.2 - 9;
- Node179textWidth = Node179width;
- Node179lineStart = 1;
- } else if (Node179align === 'right') {
- Node179textStart = 0;
- Node179textWidth =Node179fontSize <= 8 ? Node179width + Node179fontSize * 0.2 + 6 : Node179width - Node179fontSize * 0.2;
- Node179lineStart = (Node179width - (ht.Default.getTextSize('Ia:', ' '+ Node179fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node179align === 'center') {
- Node179textStart = -3;
- Node179textWidth = Node179width;
- Node179lineStart = Node179width - ht.Default.getTextSize('Ia:', ' '+ Node179fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node179.setImage(GD.getTextJSON(Node179width, Node179height, true, false, false, ' '+ Node179fontSize + 'px "Arial"'))
- Node179.setPosition(724*ratio.ratioX, 334*ratio.ratioY);
- Node179.setWidth(Node179width);
- Node179.setHeight(Node179height);
- Node179._nodeType = 'text';
- Node179._disallowEvert = true;
- Node179.setRotation(0*Math.PI/180);
- Node179.a('node.width', Node179width);
- Node179.a('node.height', Node179height);
- Node179.a('node.rect', [0, 0, Node179width, Node179height]);
- Node179.a('node.bordercolor','rgba(255,0,255,1)');
- Node179.a('node.borderwidth', 0);
- Node179.a('node.background','' || 'rgba(0,0,0,0)');
- Node179.a('node.gradient','');
- Node179.a('node.gradientcolor','');
- Node179.a('node.text','Ia:');
- Node179.a('node.textalign','left');
- Node179.a('node.textvAlign','middle');
- Node179.a('node.textrect', [Node179textStart, 0, Node179textWidth, Node179height]);
- Node179.a('node.color','rgba(255,0,255,1)');
- Node179.a('node.font',' '+ Node179fontSize + 'px "Arial"');
- Node179.a('node.textvisible',true);
- Node179.a('node.linefeed',false);
- if (false) {
- Node179.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node179.a('node.text') || 'Ia:';
- var color=Node179.a('node.color') || 'rgba(255,0,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node179width,Node179height,13.3333*_ratio.ratioY,"left",color,' '+ Node179fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node179.a('node.underlinepoints',[Node179lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node179fontSize + 2 , ht.Default.getTextSize('Ia:', ' '+ Node179fontSize + 'px "Arial"').width + 6, (Node179height - Node179fontSize) * 0.5*_ratio.ratioY + Node179fontSize + 2 ]);
- Node179.a('node.underlinevisible',false);
- Node179.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node179);
- zoomNodeList.push({
- node: Node179,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node180 = new ht.Node();
- var Node180textStart, Node180textWidth, Node180lineStart, Node180align = 'left', Node180fontSize = 13.3333*_ratio.ratioY,Node180width = 59*_ratio.ratioX, Node180height = 25*_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('P:', ' '+ Node180fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node180align === 'center') {
- Node180textStart = -3;
- Node180textWidth = Node180width;
- Node180lineStart = Node180width - ht.Default.getTextSize('P:', ' '+ Node180fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node180.setImage(GD.getTextJSON(Node180width, Node180height, true, false, false, ' '+ Node180fontSize + 'px "Arial"'))
- Node180.setPosition(726*ratio.ratioX, 356*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','P:');
- 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') || 'P:';
- 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, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node180fontSize + 2 , ht.Default.getTextSize('P:', ' '+ Node180fontSize + 'px "Arial"').width + 6, (Node180height - Node180fontSize) * 0.5*_ratio.ratioY + Node180fontSize + 2 ]);
- Node180.a('node.underlinevisible',false);
- Node180.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node180);
- zoomNodeList.push({
- node: Node180,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node181 = new ht.Node();
- var Node181textStart, Node181textWidth, Node181lineStart, Node181align = 'left', Node181fontSize = 13.3333*_ratio.ratioY,Node181width = 59*_ratio.ratioX, Node181height = 25*_ratio.ratioY;
- (function () {
- if (Node181align === 'left') {
- Node181textStart = Node181fontSize * 0.2 > 2 ? Node181fontSize * 0.2 - 4 : Node181fontSize * 0.2 - 9;
- Node181textWidth = Node181width;
- Node181lineStart = 1;
- } else if (Node181align === 'right') {
- Node181textStart = 0;
- Node181textWidth =Node181fontSize <= 8 ? Node181width + Node181fontSize * 0.2 + 6 : Node181width - Node181fontSize * 0.2;
- Node181lineStart = (Node181width - (ht.Default.getTextSize('P:', ' '+ Node181fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node181align === 'center') {
- Node181textStart = -3;
- Node181textWidth = Node181width;
- Node181lineStart = Node181width - ht.Default.getTextSize('P:', ' '+ Node181fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node181.setImage(GD.getTextJSON(Node181width, Node181height, true, false, false, ' '+ Node181fontSize + 'px "Arial"'))
- Node181.setPosition(440*ratio.ratioX, 244*ratio.ratioY);
- Node181.setWidth(Node181width);
- Node181.setHeight(Node181height);
- Node181._nodeType = 'text';
- Node181._disallowEvert = true;
- Node181.setRotation(0*Math.PI/180);
- Node181.a('node.width', Node181width);
- Node181.a('node.height', Node181height);
- Node181.a('node.rect', [0, 0, Node181width, Node181height]);
- Node181.a('node.bordercolor','rgba(0,0,0,1)');
- Node181.a('node.borderwidth', 0);
- Node181.a('node.background','' || 'rgba(0,0,0,0)');
- Node181.a('node.gradient','');
- Node181.a('node.gradientcolor','');
- Node181.a('node.text','P:');
- Node181.a('node.textalign','left');
- Node181.a('node.textvAlign','middle');
- Node181.a('node.textrect', [Node181textStart, 0, Node181textWidth, Node181height]);
- Node181.a('node.color','rgba(0,0,0,1)');
- Node181.a('node.font',' '+ Node181fontSize + 'px "Arial"');
- Node181.a('node.textvisible',true);
- Node181.a('node.linefeed',false);
- if (false) {
- Node181.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node181.a('node.text') || 'P:';
- var color=Node181.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node181width,Node181height,13.3333*_ratio.ratioY,"left",color,' '+ Node181fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node181.a('node.underlinepoints',[Node181lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node181fontSize + 2 , ht.Default.getTextSize('P:', ' '+ Node181fontSize + 'px "Arial"').width + 6, (Node181height - Node181fontSize) * 0.5*_ratio.ratioY + Node181fontSize + 2 ]);
- Node181.a('node.underlinevisible',false);
- Node181.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node181);
- zoomNodeList.push({
- node: Node181,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node182 = new ht.Node();
- var Node182textStart, Node182textWidth, Node182lineStart, Node182align = 'left', Node182fontSize = 13.3333*_ratio.ratioY,Node182width = 59*_ratio.ratioX, Node182height = 25*_ratio.ratioY;
- (function () {
- if (Node182align === 'left') {
- Node182textStart = Node182fontSize * 0.2 > 2 ? Node182fontSize * 0.2 - 4 : Node182fontSize * 0.2 - 9;
- Node182textWidth = Node182width;
- Node182lineStart = 1;
- } else if (Node182align === 'right') {
- Node182textStart = 0;
- Node182textWidth =Node182fontSize <= 8 ? Node182width + Node182fontSize * 0.2 + 6 : Node182width - Node182fontSize * 0.2;
- Node182lineStart = (Node182width - (ht.Default.getTextSize('Q:', ' '+ Node182fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node182align === 'center') {
- Node182textStart = -3;
- Node182textWidth = Node182width;
- Node182lineStart = Node182width - ht.Default.getTextSize('Q:', ' '+ Node182fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node182.setImage(GD.getTextJSON(Node182width, Node182height, true, false, false, ' '+ Node182fontSize + 'px "Arial"'))
- Node182.setPosition(440*ratio.ratioX, 264*ratio.ratioY);
- Node182.setWidth(Node182width);
- Node182.setHeight(Node182height);
- Node182._nodeType = 'text';
- Node182._disallowEvert = true;
- Node182.setRotation(0*Math.PI/180);
- Node182.a('node.width', Node182width);
- Node182.a('node.height', Node182height);
- Node182.a('node.rect', [0, 0, Node182width, Node182height]);
- Node182.a('node.bordercolor','rgba(0,0,0,1)');
- Node182.a('node.borderwidth', 0);
- Node182.a('node.background','' || 'rgba(0,0,0,0)');
- Node182.a('node.gradient','');
- Node182.a('node.gradientcolor','');
- Node182.a('node.text','Q:');
- Node182.a('node.textalign','left');
- Node182.a('node.textvAlign','middle');
- Node182.a('node.textrect', [Node182textStart, 0, Node182textWidth, Node182height]);
- Node182.a('node.color','rgba(0,0,0,1)');
- Node182.a('node.font',' '+ Node182fontSize + 'px "Arial"');
- Node182.a('node.textvisible',true);
- Node182.a('node.linefeed',false);
- if (false) {
- Node182.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node182.a('node.text') || 'Q:';
- var color=Node182.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node182width,Node182height,13.3333*_ratio.ratioY,"left",color,' '+ Node182fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node182.a('node.underlinepoints',[Node182lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node182fontSize + 2 , ht.Default.getTextSize('Q:', ' '+ Node182fontSize + 'px "Arial"').width + 6, (Node182height - Node182fontSize) * 0.5*_ratio.ratioY + Node182fontSize + 2 ]);
- Node182.a('node.underlinevisible',false);
- Node182.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node182);
- zoomNodeList.push({
- node: Node182,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node183 = new ht.Node();
- var Node183textStart, Node183textWidth, Node183lineStart, Node183align = 'left', Node183fontSize = 13.3333*_ratio.ratioY,Node183width = 59*_ratio.ratioX, Node183height = 25*_ratio.ratioY;
- (function () {
- if (Node183align === 'left') {
- Node183textStart = Node183fontSize * 0.2 > 2 ? Node183fontSize * 0.2 - 4 : Node183fontSize * 0.2 - 9;
- Node183textWidth = Node183width;
- Node183lineStart = 1;
- } else if (Node183align === 'right') {
- Node183textStart = 0;
- Node183textWidth =Node183fontSize <= 8 ? Node183width + Node183fontSize * 0.2 + 6 : Node183width - Node183fontSize * 0.2;
- Node183lineStart = (Node183width - (ht.Default.getTextSize('COS:', ' '+ Node183fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node183align === 'center') {
- Node183textStart = -3;
- Node183textWidth = Node183width;
- Node183lineStart = Node183width - ht.Default.getTextSize('COS:', ' '+ Node183fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node183.setImage(GD.getTextJSON(Node183width, Node183height, true, false, false, ' '+ Node183fontSize + 'px "Arial"'))
- Node183.setPosition(421*ratio.ratioX, 284*ratio.ratioY);
- Node183.setWidth(Node183width);
- Node183.setHeight(Node183height);
- Node183._nodeType = 'text';
- Node183._disallowEvert = true;
- Node183.setRotation(0*Math.PI/180);
- Node183.a('node.width', Node183width);
- Node183.a('node.height', Node183height);
- Node183.a('node.rect', [0, 0, Node183width, Node183height]);
- Node183.a('node.bordercolor','rgba(0,0,0,1)');
- Node183.a('node.borderwidth', 0);
- Node183.a('node.background','' || 'rgba(0,0,0,0)');
- Node183.a('node.gradient','');
- Node183.a('node.gradientcolor','');
- Node183.a('node.text','COS:');
- Node183.a('node.textalign','left');
- Node183.a('node.textvAlign','middle');
- Node183.a('node.textrect', [Node183textStart, 0, Node183textWidth, Node183height]);
- Node183.a('node.color','rgba(0,0,0,1)');
- Node183.a('node.font',' '+ Node183fontSize + 'px "Arial"');
- Node183.a('node.textvisible',true);
- Node183.a('node.linefeed',false);
- if (false) {
- Node183.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node183.a('node.text') || 'COS:';
- var color=Node183.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node183width,Node183height,13.3333*_ratio.ratioY,"left",color,' '+ Node183fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node183.a('node.underlinepoints',[Node183lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node183fontSize + 2 , ht.Default.getTextSize('COS:', ' '+ Node183fontSize + 'px "Arial"').width + 6, (Node183height - Node183fontSize) * 0.5*_ratio.ratioY + Node183fontSize + 2 ]);
- Node183.a('node.underlinevisible',false);
- Node183.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node183);
- zoomNodeList.push({
- node: Node183,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node184 = new ht.Node();
- var Node184textStart, Node184textWidth, Node184lineStart, Node184align = 'left', Node184fontSize = 13.3333*_ratio.ratioY,Node184width = 59*_ratio.ratioX, Node184height = 25*_ratio.ratioY;
- (function () {
- if (Node184align === 'left') {
- Node184textStart = Node184fontSize * 0.2 > 2 ? Node184fontSize * 0.2 - 4 : Node184fontSize * 0.2 - 9;
- Node184textWidth = Node184width;
- Node184lineStart = 1;
- } else if (Node184align === 'right') {
- Node184textStart = 0;
- Node184textWidth =Node184fontSize <= 8 ? Node184width + Node184fontSize * 0.2 + 6 : Node184width - Node184fontSize * 0.2;
- Node184lineStart = (Node184width - (ht.Default.getTextSize('F:', ' '+ Node184fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node184align === 'center') {
- Node184textStart = -3;
- Node184textWidth = Node184width;
- Node184lineStart = Node184width - ht.Default.getTextSize('F:', ' '+ Node184fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node184.setImage(GD.getTextJSON(Node184width, Node184height, true, false, false, ' '+ Node184fontSize + 'px "Arial"'))
- Node184.setPosition(442*ratio.ratioX, 304*ratio.ratioY);
- Node184.setWidth(Node184width);
- Node184.setHeight(Node184height);
- Node184._nodeType = 'text';
- Node184._disallowEvert = true;
- Node184.setRotation(0*Math.PI/180);
- Node184.a('node.width', Node184width);
- Node184.a('node.height', Node184height);
- Node184.a('node.rect', [0, 0, Node184width, Node184height]);
- Node184.a('node.bordercolor','rgba(0,0,0,1)');
- Node184.a('node.borderwidth', 0);
- Node184.a('node.background','' || 'rgba(0,0,0,0)');
- Node184.a('node.gradient','');
- Node184.a('node.gradientcolor','');
- Node184.a('node.text','F:');
- Node184.a('node.textalign','left');
- Node184.a('node.textvAlign','middle');
- Node184.a('node.textrect', [Node184textStart, 0, Node184textWidth, Node184height]);
- Node184.a('node.color','rgba(0,0,0,1)');
- Node184.a('node.font',' '+ Node184fontSize + 'px "Arial"');
- Node184.a('node.textvisible',true);
- Node184.a('node.linefeed',false);
- if (false) {
- Node184.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node184.a('node.text') || 'F:';
- var color=Node184.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node184width,Node184height,13.3333*_ratio.ratioY,"left",color,' '+ Node184fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node184.a('node.underlinepoints',[Node184lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node184fontSize + 2 , ht.Default.getTextSize('F:', ' '+ Node184fontSize + 'px "Arial"').width + 6, (Node184height - Node184fontSize) * 0.5*_ratio.ratioY + Node184fontSize + 2 ]);
- Node184.a('node.underlinevisible',false);
- Node184.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node184);
- zoomNodeList.push({
- node: Node184,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node185 = new ht.Node();
- var Node185textStart, Node185textWidth, Node185lineStart, Node185align = 'left', Node185fontSize = 13.3333*_ratio.ratioY,Node185width = 27*_ratio.ratioX, Node185height = 24*_ratio.ratioY;
- (function () {
- if (Node185align === 'left') {
- Node185textStart = Node185fontSize * 0.2 > 2 ? Node185fontSize * 0.2 - 4 : Node185fontSize * 0.2 - 9;
- Node185textWidth = Node185width;
- Node185lineStart = 1;
- } else if (Node185align === 'right') {
- Node185textStart = 0;
- Node185textWidth =Node185fontSize <= 8 ? Node185width + Node185fontSize * 0.2 + 6 : Node185width - Node185fontSize * 0.2;
- Node185lineStart = (Node185width - (ht.Default.getTextSize('358', ' '+ Node185fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node185align === 'center') {
- Node185textStart = -3;
- Node185textWidth = Node185width;
- Node185lineStart = Node185width - ht.Default.getTextSize('358', ' '+ Node185fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node185.setImage(GD.getTextJSON(Node185width, Node185height, true, false, false, ' '+ Node185fontSize + 'px "Arial"'))
- Node185.setPosition(599*ratio.ratioX, 472*ratio.ratioY);
- Node185.setWidth(Node185width);
- Node185.setHeight(Node185height);
- Node185._nodeType = 'text';
- Node185._disallowEvert = true;
- Node185.setRotation(0*Math.PI/180);
- Node185.a('node.width', Node185width);
- Node185.a('node.height', Node185height);
- Node185.a('node.rect', [0, 0, Node185width, Node185height]);
- Node185.a('node.bordercolor','rgba(0,0,0,1)');
- Node185.a('node.borderwidth', 0);
- Node185.a('node.background','' || 'rgba(0,0,0,0)');
- Node185.a('node.gradient','');
- Node185.a('node.gradientcolor','');
- Node185.a('node.text','358');
- Node185.a('node.textalign','left');
- Node185.a('node.textvAlign','middle');
- Node185.a('node.textrect', [Node185textStart, 0, Node185textWidth, Node185height]);
- Node185.a('node.color','rgba(0,0,0,1)');
- Node185.a('node.font',' '+ Node185fontSize + 'px "Arial"');
- Node185.a('node.textvisible',true);
- Node185.a('node.linefeed',false);
- if (false) {
- Node185.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node185.a('node.text') || '358';
- var color=Node185.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node185width,Node185height,13.3333*_ratio.ratioY,"left",color,' '+ Node185fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node185.a('node.underlinepoints',[Node185lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node185fontSize + 2 , ht.Default.getTextSize('358', ' '+ Node185fontSize + 'px "Arial"').width + 6, (Node185height - Node185fontSize) * 0.5*_ratio.ratioY + Node185fontSize + 2 ]);
- Node185.a('node.underlinevisible',false);
- Node185.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node185);
- zoomNodeList.push({
- node: Node185,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node186 = new ht.Node();
- var Node186textStart, Node186textWidth, Node186lineStart, Node186align = 'left', Node186fontSize = 13.3333*_ratio.ratioY,Node186width = 27*_ratio.ratioX, Node186height = 24*_ratio.ratioY;
- (function () {
- if (Node186align === 'left') {
- Node186textStart = Node186fontSize * 0.2 > 2 ? Node186fontSize * 0.2 - 4 : Node186fontSize * 0.2 - 9;
- Node186textWidth = Node186width;
- Node186lineStart = 1;
- } else if (Node186align === 'right') {
- Node186textStart = 0;
- Node186textWidth =Node186fontSize <= 8 ? Node186width + Node186fontSize * 0.2 + 6 : Node186width - Node186fontSize * 0.2;
- Node186lineStart = (Node186width - (ht.Default.getTextSize('359', ' '+ Node186fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node186align === 'center') {
- Node186textStart = -3;
- Node186textWidth = Node186width;
- Node186lineStart = Node186width - ht.Default.getTextSize('359', ' '+ Node186fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node186.setImage(GD.getTextJSON(Node186width, Node186height, true, false, false, ' '+ Node186fontSize + 'px "Arial"'))
- Node186.setPosition(739*ratio.ratioX, 472*ratio.ratioY);
- Node186.setWidth(Node186width);
- Node186.setHeight(Node186height);
- Node186._nodeType = 'text';
- Node186._disallowEvert = true;
- Node186.setRotation(0*Math.PI/180);
- Node186.a('node.width', Node186width);
- Node186.a('node.height', Node186height);
- Node186.a('node.rect', [0, 0, Node186width, Node186height]);
- Node186.a('node.bordercolor','rgba(0,0,0,1)');
- Node186.a('node.borderwidth', 0);
- Node186.a('node.background','' || 'rgba(0,0,0,0)');
- Node186.a('node.gradient','');
- Node186.a('node.gradientcolor','');
- Node186.a('node.text','359');
- Node186.a('node.textalign','left');
- Node186.a('node.textvAlign','middle');
- Node186.a('node.textrect', [Node186textStart, 0, Node186textWidth, Node186height]);
- Node186.a('node.color','rgba(0,0,0,1)');
- Node186.a('node.font',' '+ Node186fontSize + 'px "Arial"');
- Node186.a('node.textvisible',true);
- Node186.a('node.linefeed',false);
- if (false) {
- Node186.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node186.a('node.text') || '359';
- var color=Node186.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node186width,Node186height,13.3333*_ratio.ratioY,"left",color,' '+ Node186fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node186.a('node.underlinepoints',[Node186lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node186fontSize + 2 , ht.Default.getTextSize('359', ' '+ Node186fontSize + 'px "Arial"').width + 6, (Node186height - Node186fontSize) * 0.5*_ratio.ratioY + Node186fontSize + 2 ]);
- Node186.a('node.underlinevisible',false);
- Node186.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node186);
- zoomNodeList.push({
- node: Node186,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node187 = new ht.Node();
- var Node187textStart, Node187textWidth, Node187lineStart, Node187align = 'left', Node187fontSize = 13.3333*_ratio.ratioY,Node187width = 27*_ratio.ratioX, Node187height = 24*_ratio.ratioY;
- (function () {
- if (Node187align === 'left') {
- Node187textStart = Node187fontSize * 0.2 > 2 ? Node187fontSize * 0.2 - 4 : Node187fontSize * 0.2 - 9;
- Node187textWidth = Node187width;
- Node187lineStart = 1;
- } else if (Node187align === 'right') {
- Node187textStart = 0;
- Node187textWidth =Node187fontSize <= 8 ? Node187width + Node187fontSize * 0.2 + 6 : Node187width - Node187fontSize * 0.2;
- Node187lineStart = (Node187width - (ht.Default.getTextSize('361', ' '+ Node187fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node187align === 'center') {
- Node187textStart = -3;
- Node187textWidth = Node187width;
- Node187lineStart = Node187width - ht.Default.getTextSize('361', ' '+ Node187fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node187.setImage(GD.getTextJSON(Node187width, Node187height, true, false, false, ' '+ Node187fontSize + 'px "Arial"'))
- Node187.setPosition(869*ratio.ratioX, 472*ratio.ratioY);
- Node187.setWidth(Node187width);
- Node187.setHeight(Node187height);
- Node187._nodeType = 'text';
- Node187._disallowEvert = true;
- Node187.setRotation(0*Math.PI/180);
- Node187.a('node.width', Node187width);
- Node187.a('node.height', Node187height);
- Node187.a('node.rect', [0, 0, Node187width, Node187height]);
- Node187.a('node.bordercolor','rgba(0,0,0,1)');
- Node187.a('node.borderwidth', 0);
- Node187.a('node.background','' || 'rgba(0,0,0,0)');
- Node187.a('node.gradient','');
- Node187.a('node.gradientcolor','');
- Node187.a('node.text','361');
- Node187.a('node.textalign','left');
- Node187.a('node.textvAlign','middle');
- Node187.a('node.textrect', [Node187textStart, 0, Node187textWidth, Node187height]);
- Node187.a('node.color','rgba(0,0,0,1)');
- Node187.a('node.font',' '+ Node187fontSize + 'px "Arial"');
- Node187.a('node.textvisible',true);
- Node187.a('node.linefeed',false);
- if (false) {
- Node187.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node187.a('node.text') || '361';
- var color=Node187.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node187width,Node187height,13.3333*_ratio.ratioY,"left",color,' '+ Node187fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node187.a('node.underlinepoints',[Node187lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node187fontSize + 2 , ht.Default.getTextSize('361', ' '+ Node187fontSize + 'px "Arial"').width + 6, (Node187height - Node187fontSize) * 0.5*_ratio.ratioY + Node187fontSize + 2 ]);
- Node187.a('node.underlinevisible',false);
- Node187.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node187);
- zoomNodeList.push({
- node: Node187,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node188 = new ht.Node();
- var Node188textStart, Node188textWidth, Node188lineStart, Node188align = 'left', Node188fontSize = 13.3333*_ratio.ratioY,Node188width = 39*_ratio.ratioX, Node188height = 24*_ratio.ratioY;
- (function () {
- if (Node188align === 'left') {
- Node188textStart = Node188fontSize * 0.2 > 2 ? Node188fontSize * 0.2 - 4 : Node188fontSize * 0.2 - 9;
- Node188textWidth = Node188width;
- Node188lineStart = 1;
- } else if (Node188align === 'right') {
- Node188textStart = 0;
- Node188textWidth =Node188fontSize <= 8 ? Node188width + Node188fontSize * 0.2 + 6 : Node188width - Node188fontSize * 0.2;
- Node188lineStart = (Node188width - (ht.Default.getTextSize('358-7', ' '+ Node188fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node188align === 'center') {
- Node188textStart = -3;
- Node188textWidth = Node188width;
- Node188lineStart = Node188width - ht.Default.getTextSize('358-7', ' '+ Node188fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node188.setImage(GD.getTextJSON(Node188width, Node188height, true, false, false, ' '+ Node188fontSize + 'px "Arial"'))
- Node188.setPosition(693*ratio.ratioX, 432*ratio.ratioY);
- Node188.setWidth(Node188width);
- Node188.setHeight(Node188height);
- Node188._nodeType = 'text';
- Node188._disallowEvert = true;
- Node188.setRotation(0*Math.PI/180);
- Node188.a('node.width', Node188width);
- Node188.a('node.height', Node188height);
- Node188.a('node.rect', [0, 0, Node188width, Node188height]);
- Node188.a('node.bordercolor','rgba(0,0,0,1)');
- Node188.a('node.borderwidth', 0);
- Node188.a('node.background','' || 'rgba(0,0,0,0)');
- Node188.a('node.gradient','');
- Node188.a('node.gradientcolor','');
- Node188.a('node.text','358-7');
- Node188.a('node.textalign','left');
- Node188.a('node.textvAlign','middle');
- Node188.a('node.textrect', [Node188textStart, 0, Node188textWidth, Node188height]);
- Node188.a('node.color','rgba(0,0,0,1)');
- Node188.a('node.font',' '+ Node188fontSize + 'px "Arial"');
- Node188.a('node.textvisible',true);
- Node188.a('node.linefeed',false);
- if (false) {
- Node188.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node188.a('node.text') || '358-7';
- var color=Node188.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node188width,Node188height,13.3333*_ratio.ratioY,"left",color,' '+ Node188fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node188.a('node.underlinepoints',[Node188lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node188fontSize + 2 , ht.Default.getTextSize('358-7', ' '+ Node188fontSize + 'px "Arial"').width + 6, (Node188height - Node188fontSize) * 0.5*_ratio.ratioY + Node188fontSize + 2 ]);
- Node188.a('node.underlinevisible',false);
- Node188.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node188);
- zoomNodeList.push({
- node: Node188,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node189 = new ht.Node();
- var Node189textStart, Node189textWidth, Node189lineStart, Node189align = 'left', Node189fontSize = 13.3333*_ratio.ratioY,Node189width = 39*_ratio.ratioX, Node189height = 24*_ratio.ratioY;
- (function () {
- if (Node189align === 'left') {
- Node189textStart = Node189fontSize * 0.2 > 2 ? Node189fontSize * 0.2 - 4 : Node189fontSize * 0.2 - 9;
- Node189textWidth = Node189width;
- Node189lineStart = 1;
- } else if (Node189align === 'right') {
- Node189textStart = 0;
- Node189textWidth =Node189fontSize <= 8 ? Node189width + Node189fontSize * 0.2 + 6 : Node189width - Node189fontSize * 0.2;
- Node189lineStart = (Node189width - (ht.Default.getTextSize('359-7', ' '+ Node189fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node189align === 'center') {
- Node189textStart = -3;
- Node189textWidth = Node189width;
- Node189lineStart = Node189width - ht.Default.getTextSize('359-7', ' '+ Node189fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node189.setImage(GD.getTextJSON(Node189width, Node189height, true, false, false, ' '+ Node189fontSize + 'px "Arial"'))
- Node189.setPosition(820*ratio.ratioX, 434*ratio.ratioY);
- Node189.setWidth(Node189width);
- Node189.setHeight(Node189height);
- Node189._nodeType = 'text';
- Node189._disallowEvert = true;
- Node189.setRotation(0*Math.PI/180);
- Node189.a('node.width', Node189width);
- Node189.a('node.height', Node189height);
- Node189.a('node.rect', [0, 0, Node189width, Node189height]);
- Node189.a('node.bordercolor','rgba(0,0,0,1)');
- Node189.a('node.borderwidth', 0);
- Node189.a('node.background','' || 'rgba(0,0,0,0)');
- Node189.a('node.gradient','');
- Node189.a('node.gradientcolor','');
- Node189.a('node.text','359-7');
- Node189.a('node.textalign','left');
- Node189.a('node.textvAlign','middle');
- Node189.a('node.textrect', [Node189textStart, 0, Node189textWidth, Node189height]);
- Node189.a('node.color','rgba(0,0,0,1)');
- Node189.a('node.font',' '+ Node189fontSize + 'px "Arial"');
- Node189.a('node.textvisible',true);
- Node189.a('node.linefeed',false);
- if (false) {
- Node189.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node189.a('node.text') || '359-7';
- var color=Node189.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node189width,Node189height,13.3333*_ratio.ratioY,"left",color,' '+ Node189fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node189.a('node.underlinepoints',[Node189lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node189fontSize + 2 , ht.Default.getTextSize('359-7', ' '+ Node189fontSize + 'px "Arial"').width + 6, (Node189height - Node189fontSize) * 0.5*_ratio.ratioY + Node189fontSize + 2 ]);
- Node189.a('node.underlinevisible',false);
- Node189.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node189);
- zoomNodeList.push({
- node: Node189,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node190 = new ht.Node();
- var Node190textStart, Node190textWidth, Node190lineStart, Node190align = 'left', Node190fontSize = 13.3333*_ratio.ratioY,Node190width = 39*_ratio.ratioX, Node190height = 24*_ratio.ratioY;
- (function () {
- if (Node190align === 'left') {
- Node190textStart = Node190fontSize * 0.2 > 2 ? Node190fontSize * 0.2 - 4 : Node190fontSize * 0.2 - 9;
- Node190textWidth = Node190width;
- Node190lineStart = 1;
- } else if (Node190align === 'right') {
- Node190textStart = 0;
- Node190textWidth =Node190fontSize <= 8 ? Node190width + Node190fontSize * 0.2 + 6 : Node190width - Node190fontSize * 0.2;
- Node190lineStart = (Node190width - (ht.Default.getTextSize('361-7', ' '+ Node190fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node190align === 'center') {
- Node190textStart = -3;
- Node190textWidth = Node190width;
- Node190lineStart = Node190width - ht.Default.getTextSize('361-7', ' '+ Node190fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node190.setImage(GD.getTextJSON(Node190width, Node190height, true, false, false, ' '+ Node190fontSize + 'px "Arial"'))
- Node190.setPosition(953*ratio.ratioX, 432*ratio.ratioY);
- Node190.setWidth(Node190width);
- Node190.setHeight(Node190height);
- Node190._nodeType = 'text';
- Node190._disallowEvert = true;
- Node190.setRotation(0*Math.PI/180);
- Node190.a('node.width', Node190width);
- Node190.a('node.height', Node190height);
- Node190.a('node.rect', [0, 0, Node190width, Node190height]);
- Node190.a('node.bordercolor','rgba(0,0,0,1)');
- Node190.a('node.borderwidth', 0);
- Node190.a('node.background','' || 'rgba(0,0,0,0)');
- Node190.a('node.gradient','');
- Node190.a('node.gradientcolor','');
- Node190.a('node.text','361-7');
- Node190.a('node.textalign','left');
- Node190.a('node.textvAlign','middle');
- Node190.a('node.textrect', [Node190textStart, 0, Node190textWidth, Node190height]);
- Node190.a('node.color','rgba(0,0,0,1)');
- Node190.a('node.font',' '+ Node190fontSize + 'px "Arial"');
- Node190.a('node.textvisible',true);
- Node190.a('node.linefeed',false);
- if (false) {
- Node190.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node190.a('node.text') || '361-7';
- var color=Node190.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node190width,Node190height,13.3333*_ratio.ratioY,"left",color,' '+ Node190fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node190.a('node.underlinepoints',[Node190lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node190fontSize + 2 , ht.Default.getTextSize('361-7', ' '+ Node190fontSize + 'px "Arial"').width + 6, (Node190height - Node190fontSize) * 0.5*_ratio.ratioY + Node190fontSize + 2 ]);
- Node190.a('node.underlinevisible',false);
- Node190.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node190);
- zoomNodeList.push({
- node: Node190,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node191points=[1250, 321,1250, 341],
- Node191rect=ht.Default.unionPoint([{x:1250,y:321},{x:1250,y:341}]),
- Node191compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node191points.length;i++){
- if(i%2==0){
- Node191compspts.push(Node191points[i]-Node191rect.x);
- }else{
- Node191compspts.push(Node191points[i]-Node191rect.y);
- }
- }
- var Node191ptslength=Node191compspts.length;
- if (Node191rect.height === 0) {
- Node191compspts[0] -= 0;
- Node191compspts[Node191ptslength-2] += 0;
- } else if (Node191rect.width === 0){
- Node191compspts[1] -= 0;
- Node191compspts[Node191ptslength-1] += 0;
- } else {
- Node191compspts[0] -= 0;
- Node191compspts[1] -= 0;
- Node191compspts[Node191ptslength-2] += 0;
- Node191compspts[Node191ptslength-1] += 0;
- }
- Node191 = new ht.Node();
- Node191.borderWidth = 1;
- Node191rect.width = Node191rect.width === 0 ? 0.0001 : Node191rect.width;
- Node191rect.height = Node191rect.height === 0 ? 0.0001 : Node191rect.height;
- var Node191endCompspts = [Node191compspts[Node191ptslength-2],Node191compspts[Node191ptslength-1],0,0];
- var Node191startCompspts = [Node191compspts[0],Node191compspts[1],0,0];
- Node191.setImage(GD.getPolyLineJSON());
- Node191.setPosition(Node191rect.x+Node191rect.width/2,Node191rect.y+Node191rect.height/2);
- Node191.setSize(Node191rect.width,Node191rect.height);
- Node191.setStyle("opacity",1);
- Node191.s({'pixelPerfect':true});
- Node191borderwidth=1;
- Node191.setRotation(0);
- dataModel.add(Node191);
- Node191.a('node.points',Node191compspts);
- Node191.a('node.segments',[1,2]);
- Node191.a('node.color','rgba(255,0,255,1)');
- Node191.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node191.a('node.borderColor','rgba(255,0,255,1)');
- Node191.a('node.background','rgba(255,0,255,1)');
- Node191.a('node.gradient','');
- Node191.a('node.gradientcolor','rgba(255,0,255,1)');
- Node191.a('node.endCompspts',Node191endCompspts);
- Node191.a('node.startCompspts',Node191startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node191';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node191, Node191.getImage(), Node191compspts, Node191endCompspts, Node191startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node192_0 = new ht.lib['主变'](366*ratio.ratioX, 363*ratio.ratioY, 65*_ratio.ratioX, 48*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node192_0');
- _libModel.add("Node192_0", Node192_0);
- Node192_0.setRotation(0*Math.PI/180);
- ;
- ;
- var Node192_1points=[369, 389,369, 429],
- Node192_1rect=ht.Default.unionPoint([{x:369,y:389},{x:369,y:429}]),
- Node192_1compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node192_1points.length;i++){
- if(i%2==0){
- Node192_1compspts.push(Node192_1points[i]-Node192_1rect.x);
- }else{
- Node192_1compspts.push(Node192_1points[i]-Node192_1rect.y);
- }
- }
- var Node192_1ptslength=Node192_1compspts.length;
- if (Node192_1rect.height === 0) {
- Node192_1compspts[0] -= 0;
- Node192_1compspts[Node192_1ptslength-2] += 0;
- } else if (Node192_1rect.width === 0){
- Node192_1compspts[1] -= 0;
- Node192_1compspts[Node192_1ptslength-1] += 0;
- } else {
- Node192_1compspts[0] -= 0;
- Node192_1compspts[1] -= 0;
- Node192_1compspts[Node192_1ptslength-2] += 0;
- Node192_1compspts[Node192_1ptslength-1] += 0;
- }
- Node192_1 = new ht.Node();
- Node192_1.borderWidth = 1;
- Node192_1rect.width = Node192_1rect.width === 0 ? 0.0001 : Node192_1rect.width;
- Node192_1rect.height = Node192_1rect.height === 0 ? 0.0001 : Node192_1rect.height;
- var Node192_1endCompspts = [Node192_1compspts[Node192_1ptslength-2],Node192_1compspts[Node192_1ptslength-1],0,0];
- var Node192_1startCompspts = [Node192_1compspts[0],Node192_1compspts[1],0,0];
- Node192_1.setImage(GD.getPolyLineJSON());
- Node192_1.setPosition(Node192_1rect.x+Node192_1rect.width/2,Node192_1rect.y+Node192_1rect.height/2);
- Node192_1.setSize(Node192_1rect.width,Node192_1rect.height);
- Node192_1.setStyle("opacity",1);
- Node192_1.s({'pixelPerfect':true});
- Node192_1borderwidth=1;
- Node192_1.setRotation(0);
- dataModel.add(Node192_1);
- Node192_1.a('node.points',Node192_1compspts);
- Node192_1.a('node.segments',[1,2]);
- Node192_1.a('node.color','rgba(255,128,0,1)');
- Node192_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node192_1.a('node.borderColor','rgba(255,128,0,1)');
- Node192_1.a('node.background','rgba(255,128,0,1)');
- Node192_1.a('node.gradient','');
- Node192_1.a('node.gradientcolor','rgba(255,128,0,1)');
- Node192_1.a('node.endCompspts',Node192_1endCompspts);
- Node192_1.a('node.startCompspts',Node192_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 = 'Node192_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);
- }
- })(Node192_1, Node192_1.getImage(), Node192_1compspts, Node192_1endCompspts, Node192_1startCompspts);
- var Node192_2points=[369, 419,419, 419],
- Node192_2rect=ht.Default.unionPoint([{x:369,y:419},{x:419,y:419}]),
- Node192_2compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node192_2points.length;i++){
- if(i%2==0){
- Node192_2compspts.push(Node192_2points[i]-Node192_2rect.x);
- }else{
- Node192_2compspts.push(Node192_2points[i]-Node192_2rect.y);
- }
- }
- var Node192_2ptslength=Node192_2compspts.length;
- if (Node192_2rect.height === 0) {
- Node192_2compspts[0] -= 0;
- Node192_2compspts[Node192_2ptslength-2] += 0;
- } else if (Node192_2rect.width === 0){
- Node192_2compspts[1] -= 0;
- Node192_2compspts[Node192_2ptslength-1] += 0;
- } else {
- Node192_2compspts[0] -= 0;
- Node192_2compspts[1] -= 0;
- Node192_2compspts[Node192_2ptslength-2] += 0;
- Node192_2compspts[Node192_2ptslength-1] += 0;
- }
- Node192_2 = new ht.Node();
- Node192_2.borderWidth = 1;
- Node192_2rect.width = Node192_2rect.width === 0 ? 0.0001 : Node192_2rect.width;
- Node192_2rect.height = Node192_2rect.height === 0 ? 0.0001 : Node192_2rect.height;
- var Node192_2endCompspts = [Node192_2compspts[Node192_2ptslength-2],Node192_2compspts[Node192_2ptslength-1],0,0];
- var Node192_2startCompspts = [Node192_2compspts[0],Node192_2compspts[1],0,0];
- Node192_2.setImage(GD.getPolyLineJSON());
- Node192_2.setPosition(Node192_2rect.x+Node192_2rect.width/2,Node192_2rect.y+Node192_2rect.height/2);
- Node192_2.setSize(Node192_2rect.width,Node192_2rect.height);
- Node192_2.setStyle("opacity",1);
- Node192_2.s({'pixelPerfect':true});
- Node192_2borderwidth=1;
- Node192_2.setRotation(0);
- dataModel.add(Node192_2);
- Node192_2.a('node.points',Node192_2compspts);
- Node192_2.a('node.segments',[1,2]);
- Node192_2.a('node.color','rgba(255,128,0,1)');
- Node192_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node192_2.a('node.borderColor','rgba(255,128,0,1)');
- Node192_2.a('node.background','rgba(255,128,0,1)');
- Node192_2.a('node.gradient','');
- Node192_2.a('node.gradientcolor','rgba(255,128,0,1)');
- Node192_2.a('node.endCompspts',Node192_2endCompspts);
- Node192_2.a('node.startCompspts',Node192_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 = 'Node192_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);
- }
- })(Node192_2, Node192_2.getImage(), Node192_2compspts, Node192_2endCompspts, Node192_2startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node192_3 = new ht.lib['矩形箭头上'](418*ratio.ratioX, 446*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node192_3');
- _libModel.add("Node192_3", Node192_3);
- Node192_3.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node192_4 = new ht.Node();
- var Node192_4textStart, Node192_4textWidth, Node192_4lineStart, Node192_4align = 'left', Node192_4fontSize = 13.3333*_ratio.ratioY,Node192_4width = 27*_ratio.ratioX, Node192_4height = 24*_ratio.ratioY;
- (function () {
- if (Node192_4align === 'left') {
- Node192_4textStart = Node192_4fontSize * 0.2 > 2 ? Node192_4fontSize * 0.2 - 4 : Node192_4fontSize * 0.2 - 9;
- Node192_4textWidth = Node192_4width;
- Node192_4lineStart = 1;
- } else if (Node192_4align === 'right') {
- Node192_4textStart = 0;
- Node192_4textWidth =Node192_4fontSize <= 8 ? Node192_4width + Node192_4fontSize * 0.2 + 6 : Node192_4width - Node192_4fontSize * 0.2;
- Node192_4lineStart = (Node192_4width - (ht.Default.getTextSize('301', ' '+ Node192_4fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node192_4align === 'center') {
- Node192_4textStart = -3;
- Node192_4textWidth = Node192_4width;
- Node192_4lineStart = Node192_4width - ht.Default.getTextSize('301', ' '+ Node192_4fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node192_4.setImage(GD.getTextJSON(Node192_4width, Node192_4height, true, false, false, ' '+ Node192_4fontSize + 'px "Arial"'))
- Node192_4.setPosition(336*ratio.ratioX, 454*ratio.ratioY);
- Node192_4.setWidth(Node192_4width);
- Node192_4.setHeight(Node192_4height);
- Node192_4._nodeType = 'text';
- Node192_4._disallowEvert = true;
- Node192_4.setRotation(0*Math.PI/180);
- Node192_4.a('node.width', Node192_4width);
- Node192_4.a('node.height', Node192_4height);
- Node192_4.a('node.rect', [0, 0, Node192_4width, Node192_4height]);
- Node192_4.a('node.bordercolor','rgba(0,0,0,1)');
- Node192_4.a('node.borderwidth', 0);
- Node192_4.a('node.background','' || 'rgba(0,0,0,0)');
- Node192_4.a('node.gradient','');
- Node192_4.a('node.gradientcolor','');
- Node192_4.a('node.text','301');
- Node192_4.a('node.textalign','left');
- Node192_4.a('node.textvAlign','middle');
- Node192_4.a('node.textrect', [Node192_4textStart, 0, Node192_4textWidth, Node192_4height]);
- Node192_4.a('node.color','rgba(0,0,0,1)');
- Node192_4.a('node.font',' '+ Node192_4fontSize + 'px "Arial"');
- Node192_4.a('node.textvisible',true);
- Node192_4.a('node.linefeed',false);
- if (false) {
- Node192_4.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node192_4.a('node.text') || '301';
- var color=Node192_4.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node192_4width,Node192_4height,13.3333*_ratio.ratioY,"left",color,' '+ Node192_4fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node192_4.a('node.underlinepoints',[Node192_4lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node192_4fontSize + 2 , ht.Default.getTextSize('301', ' '+ Node192_4fontSize + 'px "Arial"').width + 6, (Node192_4height - Node192_4fontSize) * 0.5*_ratio.ratioY + Node192_4fontSize + 2 ]);
- Node192_4.a('node.underlinevisible',false);
- Node192_4.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node192_4);
- zoomNodeList.push({
- node: Node192_4,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node192_5points=[385, 359,525, 359],
- Node192_5rect=ht.Default.unionPoint([{x:385,y:359},{x:525,y:359}]),
- Node192_5compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node192_5points.length;i++){
- if(i%2==0){
- Node192_5compspts.push(Node192_5points[i]-Node192_5rect.x);
- }else{
- Node192_5compspts.push(Node192_5points[i]-Node192_5rect.y);
- }
- }
- var Node192_5ptslength=Node192_5compspts.length;
- if (Node192_5rect.height === 0) {
- Node192_5compspts[0] -= 0;
- Node192_5compspts[Node192_5ptslength-2] += 0;
- } else if (Node192_5rect.width === 0){
- Node192_5compspts[1] -= 0;
- Node192_5compspts[Node192_5ptslength-1] += 0;
- } else {
- Node192_5compspts[0] -= 0;
- Node192_5compspts[1] -= 0;
- Node192_5compspts[Node192_5ptslength-2] += 0;
- Node192_5compspts[Node192_5ptslength-1] += 0;
- }
- Node192_5 = new ht.Node();
- Node192_5.borderWidth = 1;
- Node192_5rect.width = Node192_5rect.width === 0 ? 0.0001 : Node192_5rect.width;
- Node192_5rect.height = Node192_5rect.height === 0 ? 0.0001 : Node192_5rect.height;
- var Node192_5endCompspts = [Node192_5compspts[Node192_5ptslength-2],Node192_5compspts[Node192_5ptslength-1],0,0];
- var Node192_5startCompspts = [Node192_5compspts[0],Node192_5compspts[1],0,0];
- Node192_5.setImage(GD.getPolyLineJSON());
- Node192_5.setPosition(Node192_5rect.x+Node192_5rect.width/2,Node192_5rect.y+Node192_5rect.height/2);
- Node192_5.setSize(Node192_5rect.width,Node192_5rect.height);
- Node192_5.setStyle("opacity",1);
- Node192_5.s({'pixelPerfect':true});
- Node192_5borderwidth=1;
- Node192_5.setRotation(0);
- dataModel.add(Node192_5);
- Node192_5.a('node.points',Node192_5compspts);
- Node192_5.a('node.segments',[1,2]);
- Node192_5.a('node.color','rgba(255,0,255,1)');
- Node192_5.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node192_5.a('node.borderColor','rgba(255,0,255,1)');
- Node192_5.a('node.background','rgba(255,0,255,1)');
- Node192_5.a('node.gradient','');
- Node192_5.a('node.gradientcolor','rgba(255,0,255,1)');
- Node192_5.a('node.endCompspts',Node192_5endCompspts);
- Node192_5.a('node.startCompspts',Node192_5startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node192_5';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node192_5, Node192_5.getImage(), Node192_5compspts, Node192_5endCompspts, Node192_5startCompspts);
- var Node192_6points=[525, 359,525, 389],
- Node192_6rect=ht.Default.unionPoint([{x:525,y:359},{x:525,y:389}]),
- Node192_6compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node192_6points.length;i++){
- if(i%2==0){
- Node192_6compspts.push(Node192_6points[i]-Node192_6rect.x);
- }else{
- Node192_6compspts.push(Node192_6points[i]-Node192_6rect.y);
- }
- }
- var Node192_6ptslength=Node192_6compspts.length;
- if (Node192_6rect.height === 0) {
- Node192_6compspts[0] -= 0;
- Node192_6compspts[Node192_6ptslength-2] += 0;
- } else if (Node192_6rect.width === 0){
- Node192_6compspts[1] -= 0;
- Node192_6compspts[Node192_6ptslength-1] += 0;
- } else {
- Node192_6compspts[0] -= 0;
- Node192_6compspts[1] -= 0;
- Node192_6compspts[Node192_6ptslength-2] += 0;
- Node192_6compspts[Node192_6ptslength-1] += 0;
- }
- Node192_6 = new ht.Node();
- Node192_6.borderWidth = 1;
- Node192_6rect.width = Node192_6rect.width === 0 ? 0.0001 : Node192_6rect.width;
- Node192_6rect.height = Node192_6rect.height === 0 ? 0.0001 : Node192_6rect.height;
- var Node192_6endCompspts = [Node192_6compspts[Node192_6ptslength-2],Node192_6compspts[Node192_6ptslength-1],0,0];
- var Node192_6startCompspts = [Node192_6compspts[0],Node192_6compspts[1],0,0];
- Node192_6.setImage(GD.getPolyLineJSON());
- Node192_6.setPosition(Node192_6rect.x+Node192_6rect.width/2,Node192_6rect.y+Node192_6rect.height/2);
- Node192_6.setSize(Node192_6rect.width,Node192_6rect.height);
- Node192_6.setStyle("opacity",1);
- Node192_6.s({'pixelPerfect':true});
- Node192_6borderwidth=1;
- Node192_6.setRotation(0);
- dataModel.add(Node192_6);
- Node192_6.a('node.points',Node192_6compspts);
- Node192_6.a('node.segments',[1,2]);
- Node192_6.a('node.color','rgba(255,0,255,1)');
- Node192_6.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node192_6.a('node.borderColor','rgba(255,0,255,1)');
- Node192_6.a('node.background','rgba(255,0,255,1)');
- Node192_6.a('node.gradient','');
- Node192_6.a('node.gradientcolor','rgba(255,0,255,1)');
- Node192_6.a('node.endCompspts',Node192_6endCompspts);
- Node192_6.a('node.startCompspts',Node192_6startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node192_6';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node192_6, Node192_6.getImage(), Node192_6compspts, Node192_6endCompspts, Node192_6startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node192_7 = new ht.lib['接地'](525*ratio.ratioX, 416*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node192_7');
- _libModel.add("Node192_7", Node192_7);
- Node192_7.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node192_8 = new ht.lib['矩形箭头竖'](445*ratio.ratioX, 387*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node192_8');
- _libModel.add("Node192_8", Node192_8);
- Node192_8.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node192_9 = new ht.lib['fff'](486*ratio.ratioX, 390*ratio.ratioY, 15*_ratio.ratioX, 62*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node192_9');
- _libModel.add("Node192_9", Node192_9);
- Node192_9.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node193 = new ht.lib['主变'](1247*ratio.ratioX, 365*ratio.ratioY, 65*_ratio.ratioX, 48*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node193');
- _libModel.add("Node193", Node193);
- Node193.setRotation(0*Math.PI/180);
- ;
- ;
- var Node194points=[1250, 391,1250, 431],
- Node194rect=ht.Default.unionPoint([{x:1250,y:391},{x:1250,y:431}]),
- Node194compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node194points.length;i++){
- if(i%2==0){
- Node194compspts.push(Node194points[i]-Node194rect.x);
- }else{
- Node194compspts.push(Node194points[i]-Node194rect.y);
- }
- }
- var Node194ptslength=Node194compspts.length;
- if (Node194rect.height === 0) {
- Node194compspts[0] -= 0;
- Node194compspts[Node194ptslength-2] += 0;
- } else if (Node194rect.width === 0){
- Node194compspts[1] -= 0;
- Node194compspts[Node194ptslength-1] += 0;
- } else {
- Node194compspts[0] -= 0;
- Node194compspts[1] -= 0;
- Node194compspts[Node194ptslength-2] += 0;
- Node194compspts[Node194ptslength-1] += 0;
- }
- Node194 = new ht.Node();
- Node194.borderWidth = 1;
- Node194rect.width = Node194rect.width === 0 ? 0.0001 : Node194rect.width;
- Node194rect.height = Node194rect.height === 0 ? 0.0001 : Node194rect.height;
- var Node194endCompspts = [Node194compspts[Node194ptslength-2],Node194compspts[Node194ptslength-1],0,0];
- var Node194startCompspts = [Node194compspts[0],Node194compspts[1],0,0];
- Node194.setImage(GD.getPolyLineJSON());
- Node194.setPosition(Node194rect.x+Node194rect.width/2,Node194rect.y+Node194rect.height/2);
- Node194.setSize(Node194rect.width,Node194rect.height);
- Node194.setStyle("opacity",1);
- Node194.s({'pixelPerfect':true});
- Node194borderwidth=1;
- Node194.setRotation(0);
- dataModel.add(Node194);
- Node194.a('node.points',Node194compspts);
- Node194.a('node.segments',[1,2]);
- Node194.a('node.color','rgba(255,128,0,1)');
- Node194.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node194.a('node.borderColor','rgba(255,128,0,1)');
- Node194.a('node.background','rgba(255,128,0,1)');
- Node194.a('node.gradient','');
- Node194.a('node.gradientcolor','rgba(255,128,0,1)');
- Node194.a('node.endCompspts',Node194endCompspts);
- Node194.a('node.startCompspts',Node194startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node194';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node194, Node194.getImage(), Node194compspts, Node194endCompspts, Node194startCompspts);
- var Node195points=[1250, 421,1300, 421],
- Node195rect=ht.Default.unionPoint([{x:1250,y:421},{x:1300,y:421}]),
- Node195compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node195points.length;i++){
- if(i%2==0){
- Node195compspts.push(Node195points[i]-Node195rect.x);
- }else{
- Node195compspts.push(Node195points[i]-Node195rect.y);
- }
- }
- var Node195ptslength=Node195compspts.length;
- if (Node195rect.height === 0) {
- Node195compspts[0] -= 0;
- Node195compspts[Node195ptslength-2] += 0;
- } else if (Node195rect.width === 0){
- Node195compspts[1] -= 0;
- Node195compspts[Node195ptslength-1] += 0;
- } else {
- Node195compspts[0] -= 0;
- Node195compspts[1] -= 0;
- Node195compspts[Node195ptslength-2] += 0;
- Node195compspts[Node195ptslength-1] += 0;
- }
- Node195 = new ht.Node();
- Node195.borderWidth = 1;
- Node195rect.width = Node195rect.width === 0 ? 0.0001 : Node195rect.width;
- Node195rect.height = Node195rect.height === 0 ? 0.0001 : Node195rect.height;
- var Node195endCompspts = [Node195compspts[Node195ptslength-2],Node195compspts[Node195ptslength-1],0,0];
- var Node195startCompspts = [Node195compspts[0],Node195compspts[1],0,0];
- Node195.setImage(GD.getPolyLineJSON());
- Node195.setPosition(Node195rect.x+Node195rect.width/2,Node195rect.y+Node195rect.height/2);
- Node195.setSize(Node195rect.width,Node195rect.height);
- Node195.setStyle("opacity",1);
- Node195.s({'pixelPerfect':true});
- Node195borderwidth=1;
- Node195.setRotation(0);
- dataModel.add(Node195);
- Node195.a('node.points',Node195compspts);
- Node195.a('node.segments',[1,2]);
- Node195.a('node.color','rgba(255,128,0,1)');
- Node195.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node195.a('node.borderColor','rgba(255,128,0,1)');
- Node195.a('node.background','rgba(255,128,0,1)');
- Node195.a('node.gradient','');
- Node195.a('node.gradientcolor','rgba(255,128,0,1)');
- Node195.a('node.endCompspts',Node195endCompspts);
- Node195.a('node.startCompspts',Node195startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node195';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node195, Node195.getImage(), Node195compspts, Node195endCompspts, Node195startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node196 = new ht.lib['矩形箭头上'](1299*ratio.ratioX, 448*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node196');
- _libModel.add("Node196", Node196);
- Node196.setRotation(0*Math.PI/180);
- ;
- ;
- _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 = 27*_ratio.ratioX, Node197height = 24*_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('302', ' '+ Node197fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node197align === 'center') {
- Node197textStart = -3;
- Node197textWidth = Node197width;
- Node197lineStart = Node197width - ht.Default.getTextSize('302', ' '+ Node197fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node197.setImage(GD.getTextJSON(Node197width, Node197height, true, false, false, ' '+ Node197fontSize + 'px "Arial"'))
- Node197.setPosition(1217*ratio.ratioX, 456*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','302');
- 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') || '302';
- 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, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node197fontSize + 2 , ht.Default.getTextSize('302', ' '+ 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'
- }); var Node198points=[1266, 361,1406, 361],
- Node198rect=ht.Default.unionPoint([{x:1266,y:361},{x:1406,y:361}]),
- Node198compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node198points.length;i++){
- if(i%2==0){
- Node198compspts.push(Node198points[i]-Node198rect.x);
- }else{
- Node198compspts.push(Node198points[i]-Node198rect.y);
- }
- }
- var Node198ptslength=Node198compspts.length;
- if (Node198rect.height === 0) {
- Node198compspts[0] -= 0;
- Node198compspts[Node198ptslength-2] += 0;
- } else if (Node198rect.width === 0){
- Node198compspts[1] -= 0;
- Node198compspts[Node198ptslength-1] += 0;
- } else {
- Node198compspts[0] -= 0;
- Node198compspts[1] -= 0;
- Node198compspts[Node198ptslength-2] += 0;
- Node198compspts[Node198ptslength-1] += 0;
- }
- Node198 = new ht.Node();
- Node198.borderWidth = 1;
- Node198rect.width = Node198rect.width === 0 ? 0.0001 : Node198rect.width;
- Node198rect.height = Node198rect.height === 0 ? 0.0001 : Node198rect.height;
- var Node198endCompspts = [Node198compspts[Node198ptslength-2],Node198compspts[Node198ptslength-1],0,0];
- var Node198startCompspts = [Node198compspts[0],Node198compspts[1],0,0];
- Node198.setImage(GD.getPolyLineJSON());
- Node198.setPosition(Node198rect.x+Node198rect.width/2,Node198rect.y+Node198rect.height/2);
- Node198.setSize(Node198rect.width,Node198rect.height);
- Node198.setStyle("opacity",1);
- Node198.s({'pixelPerfect':true});
- Node198borderwidth=1;
- Node198.setRotation(0);
- dataModel.add(Node198);
- Node198.a('node.points',Node198compspts);
- Node198.a('node.segments',[1,2]);
- Node198.a('node.color','rgba(255,0,255,1)');
- Node198.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node198.a('node.borderColor','rgba(255,0,255,1)');
- Node198.a('node.background','rgba(255,0,255,1)');
- Node198.a('node.gradient','');
- Node198.a('node.gradientcolor','rgba(255,0,255,1)');
- Node198.a('node.endCompspts',Node198endCompspts);
- Node198.a('node.startCompspts',Node198startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node198';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node198, Node198.getImage(), Node198compspts, Node198endCompspts, Node198startCompspts);
- var Node199points=[1406, 361,1406, 391],
- Node199rect=ht.Default.unionPoint([{x:1406,y:361},{x:1406,y:391}]),
- Node199compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node199points.length;i++){
- if(i%2==0){
- Node199compspts.push(Node199points[i]-Node199rect.x);
- }else{
- Node199compspts.push(Node199points[i]-Node199rect.y);
- }
- }
- var Node199ptslength=Node199compspts.length;
- if (Node199rect.height === 0) {
- Node199compspts[0] -= 0;
- Node199compspts[Node199ptslength-2] += 0;
- } else if (Node199rect.width === 0){
- Node199compspts[1] -= 0;
- Node199compspts[Node199ptslength-1] += 0;
- } else {
- Node199compspts[0] -= 0;
- Node199compspts[1] -= 0;
- Node199compspts[Node199ptslength-2] += 0;
- Node199compspts[Node199ptslength-1] += 0;
- }
- Node199 = new ht.Node();
- Node199.borderWidth = 1;
- Node199rect.width = Node199rect.width === 0 ? 0.0001 : Node199rect.width;
- Node199rect.height = Node199rect.height === 0 ? 0.0001 : Node199rect.height;
- var Node199endCompspts = [Node199compspts[Node199ptslength-2],Node199compspts[Node199ptslength-1],0,0];
- var Node199startCompspts = [Node199compspts[0],Node199compspts[1],0,0];
- Node199.setImage(GD.getPolyLineJSON());
- Node199.setPosition(Node199rect.x+Node199rect.width/2,Node199rect.y+Node199rect.height/2);
- Node199.setSize(Node199rect.width,Node199rect.height);
- Node199.setStyle("opacity",1);
- Node199.s({'pixelPerfect':true});
- Node199borderwidth=1;
- Node199.setRotation(0);
- dataModel.add(Node199);
- Node199.a('node.points',Node199compspts);
- Node199.a('node.segments',[1,2]);
- Node199.a('node.color','rgba(255,0,255,1)');
- Node199.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node199.a('node.borderColor','rgba(255,0,255,1)');
- Node199.a('node.background','rgba(255,0,255,1)');
- Node199.a('node.gradient','');
- Node199.a('node.gradientcolor','rgba(255,0,255,1)');
- Node199.a('node.endCompspts',Node199endCompspts);
- Node199.a('node.startCompspts',Node199startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node199';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node199, Node199.getImage(), Node199compspts, Node199endCompspts, Node199startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node200 = new ht.lib['接地'](1406*ratio.ratioX, 418*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node200');
- _libModel.add("Node200", Node200);
- Node200.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node201 = new ht.lib['矩形箭头竖'](1326*ratio.ratioX, 389*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node201');
- _libModel.add("Node201", Node201);
- Node201.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node202 = new ht.lib['fff'](1367*ratio.ratioX, 392*ratio.ratioY, 15*_ratio.ratioX, 62*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node202');
- _libModel.add("Node202", Node202);
- Node202.setRotation(0*Math.PI/180);
- ;
- ;
- _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 = 27*_ratio.ratioX, Node203height = 24*_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('220', ' '+ Node203fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node203align === 'center') {
- Node203textStart = -3;
- Node203textWidth = Node203width;
- Node203lineStart = Node203width - ht.Default.getTextSize('220', ' '+ Node203fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node203.setImage(GD.getTextJSON(Node203width, Node203height, true, false, false, ' '+ Node203fontSize + 'px "Arial"'))
- Node203.setPosition(1437*ratio.ratioX, 406*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','220');
- 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') || '220';
- 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, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node203fontSize + 2 , ht.Default.getTextSize('220', ' '+ 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_0 = new ht.Node();
- var Node204_0textStart, Node204_0textWidth, Node204_0lineStart, Node204_0align = 'left', Node204_0fontSize = 13.3333*_ratio.ratioY,Node204_0width = 75*_ratio.ratioX, Node204_0height = 24*_ratio.ratioY;
- (function () {
- if (Node204_0align === 'left') {
- Node204_0textStart = Node204_0fontSize * 0.2 > 2 ? Node204_0fontSize * 0.2 - 4 : Node204_0fontSize * 0.2 - 9;
- Node204_0textWidth = Node204_0width;
- Node204_0lineStart = 1;
- } else if (Node204_0align === 'right') {
- Node204_0textStart = 0;
- Node204_0textWidth =Node204_0fontSize <= 8 ? Node204_0width + Node204_0fontSize * 0.2 + 6 : Node204_0width - Node204_0fontSize * 0.2;
- Node204_0lineStart = (Node204_0width - (ht.Default.getTextSize('1号主变', ' '+ Node204_0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node204_0align === 'center') {
- Node204_0textStart = -3;
- Node204_0textWidth = Node204_0width;
- Node204_0lineStart = Node204_0width - ht.Default.getTextSize('1号主变', ' '+ Node204_0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node204_0.setImage(GD.getTextJSON(Node204_0width, Node204_0height, true, false, false, ' '+ Node204_0fontSize + 'px "Arial"'))
- Node204_0.setPosition(281*ratio.ratioX, 366*ratio.ratioY);
- Node204_0.setWidth(Node204_0width);
- Node204_0.setHeight(Node204_0height);
- Node204_0._nodeType = 'text';
- Node204_0._disallowEvert = true;
- Node204_0.setRotation(0*Math.PI/180);
- Node204_0.a('node.width', Node204_0width);
- Node204_0.a('node.height', Node204_0height);
- Node204_0.a('node.rect', [0, 0, Node204_0width, Node204_0height]);
- Node204_0.a('node.bordercolor','rgba(0,0,0,1)');
- Node204_0.a('node.borderwidth', 0);
- Node204_0.a('node.background','' || 'rgba(0,0,0,0)');
- Node204_0.a('node.gradient','');
- Node204_0.a('node.gradientcolor','');
- Node204_0.a('node.text','1号主变');
- Node204_0.a('node.textalign','left');
- Node204_0.a('node.textvAlign','middle');
- Node204_0.a('node.textrect', [Node204_0textStart, 0, Node204_0textWidth, Node204_0height]);
- Node204_0.a('node.color','rgba(0,0,0,1)');
- Node204_0.a('node.font',' '+ Node204_0fontSize + 'px "Arial"');
- Node204_0.a('node.textvisible',true);
- Node204_0.a('node.linefeed',false);
- if (false) {
- Node204_0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node204_0.a('node.text') || '1号主变';
- var color=Node204_0.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node204_0width,Node204_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node204_0fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node204_0.a('node.underlinepoints',[Node204_0lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node204_0fontSize + 2 , ht.Default.getTextSize('1号主变', ' '+ Node204_0fontSize + 'px "Arial"').width + 6, (Node204_0height - Node204_0fontSize) * 0.5*_ratio.ratioY + Node204_0fontSize + 2 ]);
- Node204_0.a('node.underlinevisible',false);
- Node204_0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node204_0);
- zoomNodeList.push({
- node: Node204_0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node204_1 = new ht.Node();
- var Node204_1textStart, Node204_1textWidth, Node204_1lineStart, Node204_1align = 'left', Node204_1fontSize = 13.3333*_ratio.ratioY,Node204_1width = 75*_ratio.ratioX, Node204_1height = 24*_ratio.ratioY;
- (function () {
- if (Node204_1align === 'left') {
- Node204_1textStart = Node204_1fontSize * 0.2 > 2 ? Node204_1fontSize * 0.2 - 4 : Node204_1fontSize * 0.2 - 9;
- Node204_1textWidth = Node204_1width;
- Node204_1lineStart = 1;
- } else if (Node204_1align === 'right') {
- Node204_1textStart = 0;
- Node204_1textWidth =Node204_1fontSize <= 8 ? Node204_1width + Node204_1fontSize * 0.2 + 6 : Node204_1width - Node204_1fontSize * 0.2;
- Node204_1lineStart = (Node204_1width - (ht.Default.getTextSize('档位:', ' '+ Node204_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node204_1align === 'center') {
- Node204_1textStart = -3;
- Node204_1textWidth = Node204_1width;
- Node204_1lineStart = Node204_1width - ht.Default.getTextSize('档位:', ' '+ Node204_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node204_1.setImage(GD.getTextJSON(Node204_1width, Node204_1height, true, false, false, ' '+ Node204_1fontSize + 'px "Arial"'))
- Node204_1.setPosition(295*ratio.ratioX, 386*ratio.ratioY);
- Node204_1.setWidth(Node204_1width);
- Node204_1.setHeight(Node204_1height);
- Node204_1._nodeType = 'text';
- Node204_1._disallowEvert = true;
- Node204_1.setRotation(0*Math.PI/180);
- Node204_1.a('node.width', Node204_1width);
- Node204_1.a('node.height', Node204_1height);
- Node204_1.a('node.rect', [0, 0, Node204_1width, Node204_1height]);
- Node204_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node204_1.a('node.borderwidth', 0);
- Node204_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node204_1.a('node.gradient','');
- Node204_1.a('node.gradientcolor','');
- Node204_1.a('node.text','档位:');
- Node204_1.a('node.textalign','left');
- Node204_1.a('node.textvAlign','middle');
- Node204_1.a('node.textrect', [Node204_1textStart, 0, Node204_1textWidth, Node204_1height]);
- Node204_1.a('node.color','rgba(0,0,0,1)');
- Node204_1.a('node.font',' '+ Node204_1fontSize + 'px "Arial"');
- Node204_1.a('node.textvisible',true);
- Node204_1.a('node.linefeed',false);
- if (false) {
- Node204_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node204_1.a('node.text') || '档位:';
- var color=Node204_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node204_1width,Node204_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node204_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node204_1.a('node.underlinepoints',[Node204_1lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node204_1fontSize + 2 , ht.Default.getTextSize('档位:', ' '+ Node204_1fontSize + 'px "Arial"').width + 6, (Node204_1height - Node204_1fontSize) * 0.5*_ratio.ratioY + Node204_1fontSize + 2 ]);
- Node204_1.a('node.underlinevisible',false);
- Node204_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node204_1);
- zoomNodeList.push({
- node: Node204_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node204_2 = new ht.Node();
- var Node204_2textStart, Node204_2textWidth, Node204_2lineStart, Node204_2align = 'left', Node204_2fontSize = 13.3333*_ratio.ratioY,Node204_2width = 79*_ratio.ratioX, Node204_2height = 24*_ratio.ratioY;
- (function () {
- if (Node204_2align === 'left') {
- Node204_2textStart = Node204_2fontSize * 0.2 > 2 ? Node204_2fontSize * 0.2 - 4 : Node204_2fontSize * 0.2 - 9;
- Node204_2textWidth = Node204_2width;
- Node204_2lineStart = 1;
- } else if (Node204_2align === 'right') {
- Node204_2textStart = 0;
- Node204_2textWidth =Node204_2fontSize <= 8 ? Node204_2width + Node204_2fontSize * 0.2 + 6 : Node204_2width - Node204_2fontSize * 0.2;
- Node204_2lineStart = (Node204_2width - (ht.Default.getTextSize('上层油温:', ' '+ Node204_2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node204_2align === 'center') {
- Node204_2textStart = -3;
- Node204_2textWidth = Node204_2width;
- Node204_2lineStart = Node204_2width - ht.Default.getTextSize('上层油温:', ' '+ Node204_2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node204_2.setImage(GD.getTextJSON(Node204_2width, Node204_2height, true, false, false, ' '+ Node204_2fontSize + 'px "Arial"'))
- Node204_2.setPosition(267*ratio.ratioX, 406*ratio.ratioY);
- Node204_2.setWidth(Node204_2width);
- Node204_2.setHeight(Node204_2height);
- Node204_2._nodeType = 'text';
- Node204_2._disallowEvert = true;
- Node204_2.setRotation(0*Math.PI/180);
- Node204_2.a('node.width', Node204_2width);
- Node204_2.a('node.height', Node204_2height);
- Node204_2.a('node.rect', [0, 0, Node204_2width, Node204_2height]);
- Node204_2.a('node.bordercolor','rgba(0,0,0,1)');
- Node204_2.a('node.borderwidth', 0);
- Node204_2.a('node.background','' || 'rgba(0,0,0,0)');
- Node204_2.a('node.gradient','');
- Node204_2.a('node.gradientcolor','');
- Node204_2.a('node.text','上层油温:');
- Node204_2.a('node.textalign','left');
- Node204_2.a('node.textvAlign','middle');
- Node204_2.a('node.textrect', [Node204_2textStart, 0, Node204_2textWidth, Node204_2height]);
- Node204_2.a('node.color','rgba(0,0,0,1)');
- Node204_2.a('node.font',' '+ Node204_2fontSize + 'px "Arial"');
- Node204_2.a('node.textvisible',true);
- Node204_2.a('node.linefeed',false);
- if (false) {
- Node204_2.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node204_2.a('node.text') || '上层油温:';
- var color=Node204_2.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node204_2width,Node204_2height,13.3333*_ratio.ratioY,"left",color,' '+ Node204_2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node204_2.a('node.underlinepoints',[Node204_2lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node204_2fontSize + 2 , ht.Default.getTextSize('上层油温:', ' '+ Node204_2fontSize + 'px "Arial"').width + 6, (Node204_2height - Node204_2fontSize) * 0.5*_ratio.ratioY + Node204_2fontSize + 2 ]);
- Node204_2.a('node.underlinevisible',false);
- Node204_2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node204_2);
- zoomNodeList.push({
- node: Node204_2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node204_3 = new ht.Node();
- var Node204_3textStart, Node204_3textWidth, Node204_3lineStart, Node204_3align = 'left', Node204_3fontSize = 13.3333*_ratio.ratioY,Node204_3width = 79*_ratio.ratioX, Node204_3height = 24*_ratio.ratioY;
- (function () {
- if (Node204_3align === 'left') {
- Node204_3textStart = Node204_3fontSize * 0.2 > 2 ? Node204_3fontSize * 0.2 - 4 : Node204_3fontSize * 0.2 - 9;
- Node204_3textWidth = Node204_3width;
- Node204_3lineStart = 1;
- } else if (Node204_3align === 'right') {
- Node204_3textStart = 0;
- Node204_3textWidth =Node204_3fontSize <= 8 ? Node204_3width + Node204_3fontSize * 0.2 + 6 : Node204_3width - Node204_3fontSize * 0.2;
- Node204_3lineStart = (Node204_3width - (ht.Default.getTextSize('下层油温:', ' '+ Node204_3fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node204_3align === 'center') {
- Node204_3textStart = -3;
- Node204_3textWidth = Node204_3width;
- Node204_3lineStart = Node204_3width - ht.Default.getTextSize('下层油温:', ' '+ Node204_3fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node204_3.setImage(GD.getTextJSON(Node204_3width, Node204_3height, true, false, false, ' '+ Node204_3fontSize + 'px "Arial"'))
- Node204_3.setPosition(267*ratio.ratioX, 426*ratio.ratioY);
- Node204_3.setWidth(Node204_3width);
- Node204_3.setHeight(Node204_3height);
- Node204_3._nodeType = 'text';
- Node204_3._disallowEvert = true;
- Node204_3.setRotation(0*Math.PI/180);
- Node204_3.a('node.width', Node204_3width);
- Node204_3.a('node.height', Node204_3height);
- Node204_3.a('node.rect', [0, 0, Node204_3width, Node204_3height]);
- Node204_3.a('node.bordercolor','rgba(0,0,0,1)');
- Node204_3.a('node.borderwidth', 0);
- Node204_3.a('node.background','' || 'rgba(0,0,0,0)');
- Node204_3.a('node.gradient','');
- Node204_3.a('node.gradientcolor','');
- Node204_3.a('node.text','下层油温:');
- Node204_3.a('node.textalign','left');
- Node204_3.a('node.textvAlign','middle');
- Node204_3.a('node.textrect', [Node204_3textStart, 0, Node204_3textWidth, Node204_3height]);
- Node204_3.a('node.color','rgba(0,0,0,1)');
- Node204_3.a('node.font',' '+ Node204_3fontSize + 'px "Arial"');
- Node204_3.a('node.textvisible',true);
- Node204_3.a('node.linefeed',false);
- if (false) {
- Node204_3.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node204_3.a('node.text') || '下层油温:';
- var color=Node204_3.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node204_3width,Node204_3height,13.3333*_ratio.ratioY,"left",color,' '+ Node204_3fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node204_3.a('node.underlinepoints',[Node204_3lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node204_3fontSize + 2 , ht.Default.getTextSize('下层油温:', ' '+ Node204_3fontSize + 'px "Arial"').width + 6, (Node204_3height - Node204_3fontSize) * 0.5*_ratio.ratioY + Node204_3fontSize + 2 ]);
- Node204_3.a('node.underlinevisible',false);
- Node204_3.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node204_3);
- zoomNodeList.push({
- node: Node204_3,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node204_4 = new ht.Node();
- var Node204_4textStart, Node204_4textWidth, Node204_4lineStart, Node204_4align = 'left', Node204_4fontSize = 13.3333*_ratio.ratioY,Node204_4width = 79*_ratio.ratioX, Node204_4height = 24*_ratio.ratioY;
- (function () {
- if (Node204_4align === 'left') {
- Node204_4textStart = Node204_4fontSize * 0.2 > 2 ? Node204_4fontSize * 0.2 - 4 : Node204_4fontSize * 0.2 - 9;
- Node204_4textWidth = Node204_4width;
- Node204_4lineStart = 1;
- } else if (Node204_4align === 'right') {
- Node204_4textStart = 0;
- Node204_4textWidth =Node204_4fontSize <= 8 ? Node204_4width + Node204_4fontSize * 0.2 + 6 : Node204_4width - Node204_4fontSize * 0.2;
- Node204_4lineStart = (Node204_4width - (ht.Default.getTextSize('绕组油温:', ' '+ Node204_4fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node204_4align === 'center') {
- Node204_4textStart = -3;
- Node204_4textWidth = Node204_4width;
- Node204_4lineStart = Node204_4width - ht.Default.getTextSize('绕组油温:', ' '+ Node204_4fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node204_4.setImage(GD.getTextJSON(Node204_4width, Node204_4height, true, false, false, ' '+ Node204_4fontSize + 'px "Arial"'))
- Node204_4.setPosition(267*ratio.ratioX, 445*ratio.ratioY);
- Node204_4.setWidth(Node204_4width);
- Node204_4.setHeight(Node204_4height);
- Node204_4._nodeType = 'text';
- Node204_4._disallowEvert = true;
- Node204_4.setRotation(0*Math.PI/180);
- Node204_4.a('node.width', Node204_4width);
- Node204_4.a('node.height', Node204_4height);
- Node204_4.a('node.rect', [0, 0, Node204_4width, Node204_4height]);
- Node204_4.a('node.bordercolor','rgba(0,0,0,1)');
- Node204_4.a('node.borderwidth', 0);
- Node204_4.a('node.background','' || 'rgba(0,0,0,0)');
- Node204_4.a('node.gradient','');
- Node204_4.a('node.gradientcolor','');
- Node204_4.a('node.text','绕组油温:');
- Node204_4.a('node.textalign','left');
- Node204_4.a('node.textvAlign','middle');
- Node204_4.a('node.textrect', [Node204_4textStart, 0, Node204_4textWidth, Node204_4height]);
- Node204_4.a('node.color','rgba(0,0,0,1)');
- Node204_4.a('node.font',' '+ Node204_4fontSize + 'px "Arial"');
- Node204_4.a('node.textvisible',true);
- Node204_4.a('node.linefeed',false);
- if (false) {
- Node204_4.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node204_4.a('node.text') || '绕组油温:';
- var color=Node204_4.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node204_4width,Node204_4height,13.3333*_ratio.ratioY,"left",color,' '+ Node204_4fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node204_4.a('node.underlinepoints',[Node204_4lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node204_4fontSize + 2 , ht.Default.getTextSize('绕组油温:', ' '+ Node204_4fontSize + 'px "Arial"').width + 6, (Node204_4height - Node204_4fontSize) * 0.5*_ratio.ratioY + Node204_4fontSize + 2 ]);
- Node204_4.a('node.underlinevisible',false);
- Node204_4.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node204_4);
- zoomNodeList.push({
- node: Node204_4,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node205_0 = new ht.Node();
- var Node205_0textStart, Node205_0textWidth, Node205_0lineStart, Node205_0align = 'left', Node205_0fontSize = 13.3333*_ratio.ratioY,Node205_0width = 75*_ratio.ratioX, Node205_0height = 24*_ratio.ratioY;
- (function () {
- if (Node205_0align === 'left') {
- Node205_0textStart = Node205_0fontSize * 0.2 > 2 ? Node205_0fontSize * 0.2 - 4 : Node205_0fontSize * 0.2 - 9;
- Node205_0textWidth = Node205_0width;
- Node205_0lineStart = 1;
- } else if (Node205_0align === 'right') {
- Node205_0textStart = 0;
- Node205_0textWidth =Node205_0fontSize <= 8 ? Node205_0width + Node205_0fontSize * 0.2 + 6 : Node205_0width - Node205_0fontSize * 0.2;
- Node205_0lineStart = (Node205_0width - (ht.Default.getTextSize('Um(KV):', ' '+ Node205_0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node205_0align === 'center') {
- Node205_0textStart = -3;
- Node205_0textWidth = Node205_0width;
- Node205_0lineStart = Node205_0width - ht.Default.getTextSize('Um(KV):', ' '+ Node205_0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node205_0.setImage(GD.getTextJSON(Node205_0width, Node205_0height, true, false, false, ' '+ Node205_0fontSize + 'px "Arial"'))
- Node205_0.setPosition(131*ratio.ratioX, 346*ratio.ratioY);
- Node205_0.setWidth(Node205_0width);
- Node205_0.setHeight(Node205_0height);
- Node205_0._nodeType = 'text';
- Node205_0._disallowEvert = true;
- Node205_0.setRotation(0*Math.PI/180);
- Node205_0.a('node.width', Node205_0width);
- Node205_0.a('node.height', Node205_0height);
- Node205_0.a('node.rect', [0, 0, Node205_0width, Node205_0height]);
- Node205_0.a('node.bordercolor','rgba(0,0,0,1)');
- Node205_0.a('node.borderwidth', 0);
- Node205_0.a('node.background','' || 'rgba(0,0,0,0)');
- Node205_0.a('node.gradient','');
- Node205_0.a('node.gradientcolor','');
- Node205_0.a('node.text','Um(KV):');
- Node205_0.a('node.textalign','left');
- Node205_0.a('node.textvAlign','middle');
- Node205_0.a('node.textrect', [Node205_0textStart, 0, Node205_0textWidth, Node205_0height]);
- Node205_0.a('node.color','rgba(0,0,0,1)');
- Node205_0.a('node.font',' '+ Node205_0fontSize + 'px "Arial"');
- Node205_0.a('node.textvisible',true);
- Node205_0.a('node.linefeed',false);
- if (false) {
- Node205_0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node205_0.a('node.text') || 'Um(KV):';
- var color=Node205_0.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node205_0width,Node205_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node205_0fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node205_0.a('node.underlinepoints',[Node205_0lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node205_0fontSize + 2 , ht.Default.getTextSize('Um(KV):', ' '+ Node205_0fontSize + 'px "Arial"').width + 6, (Node205_0height - Node205_0fontSize) * 0.5*_ratio.ratioY + Node205_0fontSize + 2 ]);
- Node205_0.a('node.underlinevisible',false);
- Node205_0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node205_0);
- zoomNodeList.push({
- node: Node205_0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node205_1 = new ht.Node();
- var Node205_1textStart, Node205_1textWidth, Node205_1lineStart, Node205_1align = 'left', Node205_1fontSize = 13.3333*_ratio.ratioY,Node205_1width = 75*_ratio.ratioX, Node205_1height = 24*_ratio.ratioY;
- (function () {
- if (Node205_1align === 'left') {
- Node205_1textStart = Node205_1fontSize * 0.2 > 2 ? Node205_1fontSize * 0.2 - 4 : Node205_1fontSize * 0.2 - 9;
- Node205_1textWidth = Node205_1width;
- Node205_1lineStart = 1;
- } else if (Node205_1align === 'right') {
- Node205_1textStart = 0;
- Node205_1textWidth =Node205_1fontSize <= 8 ? Node205_1width + Node205_1fontSize * 0.2 + 6 : Node205_1width - Node205_1fontSize * 0.2;
- Node205_1lineStart = (Node205_1width - (ht.Default.getTextSize('Ub(KV):', ' '+ Node205_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node205_1align === 'center') {
- Node205_1textStart = -3;
- Node205_1textWidth = Node205_1width;
- Node205_1lineStart = Node205_1width - ht.Default.getTextSize('Ub(KV):', ' '+ Node205_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node205_1.setImage(GD.getTextJSON(Node205_1width, Node205_1height, true, false, false, ' '+ Node205_1fontSize + 'px "Arial"'))
- Node205_1.setPosition(135*ratio.ratioX, 366*ratio.ratioY);
- Node205_1.setWidth(Node205_1width);
- Node205_1.setHeight(Node205_1height);
- Node205_1._nodeType = 'text';
- Node205_1._disallowEvert = true;
- Node205_1.setRotation(0*Math.PI/180);
- Node205_1.a('node.width', Node205_1width);
- Node205_1.a('node.height', Node205_1height);
- Node205_1.a('node.rect', [0, 0, Node205_1width, Node205_1height]);
- Node205_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node205_1.a('node.borderwidth', 0);
- Node205_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node205_1.a('node.gradient','');
- Node205_1.a('node.gradientcolor','');
- Node205_1.a('node.text','Ub(KV):');
- Node205_1.a('node.textalign','left');
- Node205_1.a('node.textvAlign','middle');
- Node205_1.a('node.textrect', [Node205_1textStart, 0, Node205_1textWidth, Node205_1height]);
- Node205_1.a('node.color','rgba(0,0,0,1)');
- Node205_1.a('node.font',' '+ Node205_1fontSize + 'px "Arial"');
- Node205_1.a('node.textvisible',true);
- Node205_1.a('node.linefeed',false);
- if (false) {
- Node205_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node205_1.a('node.text') || 'Ub(KV):';
- var color=Node205_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node205_1width,Node205_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node205_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node205_1.a('node.underlinepoints',[Node205_1lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node205_1fontSize + 2 , ht.Default.getTextSize('Ub(KV):', ' '+ Node205_1fontSize + 'px "Arial"').width + 6, (Node205_1height - Node205_1fontSize) * 0.5*_ratio.ratioY + Node205_1fontSize + 2 ]);
- Node205_1.a('node.underlinevisible',false);
- Node205_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node205_1);
- zoomNodeList.push({
- node: Node205_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node205_2 = new ht.Node();
- var Node205_2textStart, Node205_2textWidth, Node205_2lineStart, Node205_2align = 'left', Node205_2fontSize = 13.3333*_ratio.ratioY,Node205_2width = 75*_ratio.ratioX, Node205_2height = 24*_ratio.ratioY;
- (function () {
- if (Node205_2align === 'left') {
- Node205_2textStart = Node205_2fontSize * 0.2 > 2 ? Node205_2fontSize * 0.2 - 4 : Node205_2fontSize * 0.2 - 9;
- Node205_2textWidth = Node205_2width;
- Node205_2lineStart = 1;
- } else if (Node205_2align === 'right') {
- Node205_2textStart = 0;
- Node205_2textWidth =Node205_2fontSize <= 8 ? Node205_2width + Node205_2fontSize * 0.2 + 6 : Node205_2width - Node205_2fontSize * 0.2;
- Node205_2lineStart = (Node205_2width - (ht.Default.getTextSize('Uc(KV):', ' '+ Node205_2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node205_2align === 'center') {
- Node205_2textStart = -3;
- Node205_2textWidth = Node205_2width;
- Node205_2lineStart = Node205_2width - ht.Default.getTextSize('Uc(KV):', ' '+ Node205_2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node205_2.setImage(GD.getTextJSON(Node205_2width, Node205_2height, true, false, false, ' '+ Node205_2fontSize + 'px "Arial"'))
- Node205_2.setPosition(136*ratio.ratioX, 386*ratio.ratioY);
- Node205_2.setWidth(Node205_2width);
- Node205_2.setHeight(Node205_2height);
- Node205_2._nodeType = 'text';
- Node205_2._disallowEvert = true;
- Node205_2.setRotation(0*Math.PI/180);
- Node205_2.a('node.width', Node205_2width);
- Node205_2.a('node.height', Node205_2height);
- Node205_2.a('node.rect', [0, 0, Node205_2width, Node205_2height]);
- Node205_2.a('node.bordercolor','rgba(0,0,0,1)');
- Node205_2.a('node.borderwidth', 0);
- Node205_2.a('node.background','' || 'rgba(0,0,0,0)');
- Node205_2.a('node.gradient','');
- Node205_2.a('node.gradientcolor','');
- Node205_2.a('node.text','Uc(KV):');
- Node205_2.a('node.textalign','left');
- Node205_2.a('node.textvAlign','middle');
- Node205_2.a('node.textrect', [Node205_2textStart, 0, Node205_2textWidth, Node205_2height]);
- Node205_2.a('node.color','rgba(0,0,0,1)');
- Node205_2.a('node.font',' '+ Node205_2fontSize + 'px "Arial"');
- Node205_2.a('node.textvisible',true);
- Node205_2.a('node.linefeed',false);
- if (false) {
- Node205_2.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node205_2.a('node.text') || 'Uc(KV):';
- var color=Node205_2.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node205_2width,Node205_2height,13.3333*_ratio.ratioY,"left",color,' '+ Node205_2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node205_2.a('node.underlinepoints',[Node205_2lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node205_2fontSize + 2 , ht.Default.getTextSize('Uc(KV):', ' '+ Node205_2fontSize + 'px "Arial"').width + 6, (Node205_2height - Node205_2fontSize) * 0.5*_ratio.ratioY + Node205_2fontSize + 2 ]);
- Node205_2.a('node.underlinevisible',false);
- Node205_2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node205_2);
- zoomNodeList.push({
- node: Node205_2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node205_3 = new ht.Node();
- var Node205_3textStart, Node205_3textWidth, Node205_3lineStart, Node205_3align = 'left', Node205_3fontSize = 13.3333*_ratio.ratioY,Node205_3width = 72*_ratio.ratioX, Node205_3height = 24*_ratio.ratioY;
- (function () {
- if (Node205_3align === 'left') {
- Node205_3textStart = Node205_3fontSize * 0.2 > 2 ? Node205_3fontSize * 0.2 - 4 : Node205_3fontSize * 0.2 - 9;
- Node205_3textWidth = Node205_3width;
- Node205_3lineStart = 1;
- } else if (Node205_3align === 'right') {
- Node205_3textStart = 0;
- Node205_3textWidth =Node205_3fontSize <= 8 ? Node205_3width + Node205_3fontSize * 0.2 + 6 : Node205_3width - Node205_3fontSize * 0.2;
- Node205_3lineStart = (Node205_3width - (ht.Default.getTextSize('Uab(KV):', ' '+ Node205_3fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node205_3align === 'center') {
- Node205_3textStart = -3;
- Node205_3textWidth = Node205_3width;
- Node205_3lineStart = Node205_3width - ht.Default.getTextSize('Uab(KV):', ' '+ Node205_3fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node205_3.setImage(GD.getTextJSON(Node205_3width, Node205_3height, true, false, false, ' '+ Node205_3fontSize + 'px "Arial"'))
- Node205_3.setPosition(125*ratio.ratioX, 406*ratio.ratioY);
- Node205_3.setWidth(Node205_3width);
- Node205_3.setHeight(Node205_3height);
- Node205_3._nodeType = 'text';
- Node205_3._disallowEvert = true;
- Node205_3.setRotation(0*Math.PI/180);
- Node205_3.a('node.width', Node205_3width);
- Node205_3.a('node.height', Node205_3height);
- Node205_3.a('node.rect', [0, 0, Node205_3width, Node205_3height]);
- Node205_3.a('node.bordercolor','rgba(0,0,0,1)');
- Node205_3.a('node.borderwidth', 0);
- Node205_3.a('node.background','' || 'rgba(0,0,0,0)');
- Node205_3.a('node.gradient','');
- Node205_3.a('node.gradientcolor','');
- Node205_3.a('node.text','Uab(KV):');
- Node205_3.a('node.textalign','left');
- Node205_3.a('node.textvAlign','middle');
- Node205_3.a('node.textrect', [Node205_3textStart, 0, Node205_3textWidth, Node205_3height]);
- Node205_3.a('node.color','rgba(0,0,0,1)');
- Node205_3.a('node.font',' '+ Node205_3fontSize + 'px "Arial"');
- Node205_3.a('node.textvisible',true);
- Node205_3.a('node.linefeed',false);
- if (false) {
- Node205_3.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node205_3.a('node.text') || 'Uab(KV):';
- var color=Node205_3.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node205_3width,Node205_3height,13.3333*_ratio.ratioY,"left",color,' '+ Node205_3fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node205_3.a('node.underlinepoints',[Node205_3lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node205_3fontSize + 2 , ht.Default.getTextSize('Uab(KV):', ' '+ Node205_3fontSize + 'px "Arial"').width + 6, (Node205_3height - Node205_3fontSize) * 0.5*_ratio.ratioY + Node205_3fontSize + 2 ]);
- Node205_3.a('node.underlinevisible',false);
- Node205_3.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node205_3);
- zoomNodeList.push({
- node: Node205_3,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node205_4 = new ht.Node();
- var Node205_4textStart, Node205_4textWidth, Node205_4lineStart, Node205_4align = 'left', Node205_4fontSize = 13.3333*_ratio.ratioY,Node205_4width = 75*_ratio.ratioX, Node205_4height = 24*_ratio.ratioY;
- (function () {
- if (Node205_4align === 'left') {
- Node205_4textStart = Node205_4fontSize * 0.2 > 2 ? Node205_4fontSize * 0.2 - 4 : Node205_4fontSize * 0.2 - 9;
- Node205_4textWidth = Node205_4width;
- Node205_4lineStart = 1;
- } else if (Node205_4align === 'right') {
- Node205_4textStart = 0;
- Node205_4textWidth =Node205_4fontSize <= 8 ? Node205_4width + Node205_4fontSize * 0.2 + 6 : Node205_4width - Node205_4fontSize * 0.2;
- Node205_4lineStart = (Node205_4width - (ht.Default.getTextSize('Ubc(KV):', ' '+ Node205_4fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node205_4align === 'center') {
- Node205_4textStart = -3;
- Node205_4textWidth = Node205_4width;
- Node205_4lineStart = Node205_4width - ht.Default.getTextSize('Ubc(KV):', ' '+ Node205_4fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node205_4.setImage(GD.getTextJSON(Node205_4width, Node205_4height, true, false, false, ' '+ Node205_4fontSize + 'px "Arial"'))
- Node205_4.setPosition(127*ratio.ratioX, 426*ratio.ratioY);
- Node205_4.setWidth(Node205_4width);
- Node205_4.setHeight(Node205_4height);
- Node205_4._nodeType = 'text';
- Node205_4._disallowEvert = true;
- Node205_4.setRotation(0*Math.PI/180);
- Node205_4.a('node.width', Node205_4width);
- Node205_4.a('node.height', Node205_4height);
- Node205_4.a('node.rect', [0, 0, Node205_4width, Node205_4height]);
- Node205_4.a('node.bordercolor','rgba(0,0,0,1)');
- Node205_4.a('node.borderwidth', 0);
- Node205_4.a('node.background','' || 'rgba(0,0,0,0)');
- Node205_4.a('node.gradient','');
- Node205_4.a('node.gradientcolor','');
- Node205_4.a('node.text','Ubc(KV):');
- Node205_4.a('node.textalign','left');
- Node205_4.a('node.textvAlign','middle');
- Node205_4.a('node.textrect', [Node205_4textStart, 0, Node205_4textWidth, Node205_4height]);
- Node205_4.a('node.color','rgba(0,0,0,1)');
- Node205_4.a('node.font',' '+ Node205_4fontSize + 'px "Arial"');
- Node205_4.a('node.textvisible',true);
- Node205_4.a('node.linefeed',false);
- if (false) {
- Node205_4.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node205_4.a('node.text') || 'Ubc(KV):';
- var color=Node205_4.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node205_4width,Node205_4height,13.3333*_ratio.ratioY,"left",color,' '+ Node205_4fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node205_4.a('node.underlinepoints',[Node205_4lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node205_4fontSize + 2 , ht.Default.getTextSize('Ubc(KV):', ' '+ Node205_4fontSize + 'px "Arial"').width + 6, (Node205_4height - Node205_4fontSize) * 0.5*_ratio.ratioY + Node205_4fontSize + 2 ]);
- Node205_4.a('node.underlinevisible',false);
- Node205_4.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node205_4);
- zoomNodeList.push({
- node: Node205_4,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node205_5 = new ht.Node();
- var Node205_5textStart, Node205_5textWidth, Node205_5lineStart, Node205_5align = 'left', Node205_5fontSize = 13.3333*_ratio.ratioY,Node205_5width = 75*_ratio.ratioX, Node205_5height = 24*_ratio.ratioY;
- (function () {
- if (Node205_5align === 'left') {
- Node205_5textStart = Node205_5fontSize * 0.2 > 2 ? Node205_5fontSize * 0.2 - 4 : Node205_5fontSize * 0.2 - 9;
- Node205_5textWidth = Node205_5width;
- Node205_5lineStart = 1;
- } else if (Node205_5align === 'right') {
- Node205_5textStart = 0;
- Node205_5textWidth =Node205_5fontSize <= 8 ? Node205_5width + Node205_5fontSize * 0.2 + 6 : Node205_5width - Node205_5fontSize * 0.2;
- Node205_5lineStart = (Node205_5width - (ht.Default.getTextSize('Uca(KV):', ' '+ Node205_5fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node205_5align === 'center') {
- Node205_5textStart = -3;
- Node205_5textWidth = Node205_5width;
- Node205_5lineStart = Node205_5width - ht.Default.getTextSize('Uca(KV):', ' '+ Node205_5fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node205_5.setImage(GD.getTextJSON(Node205_5width, Node205_5height, true, false, false, ' '+ Node205_5fontSize + 'px "Arial"'))
- Node205_5.setPosition(127*ratio.ratioX, 446*ratio.ratioY);
- Node205_5.setWidth(Node205_5width);
- Node205_5.setHeight(Node205_5height);
- Node205_5._nodeType = 'text';
- Node205_5._disallowEvert = true;
- Node205_5.setRotation(0*Math.PI/180);
- Node205_5.a('node.width', Node205_5width);
- Node205_5.a('node.height', Node205_5height);
- Node205_5.a('node.rect', [0, 0, Node205_5width, Node205_5height]);
- Node205_5.a('node.bordercolor','rgba(0,0,0,1)');
- Node205_5.a('node.borderwidth', 0);
- Node205_5.a('node.background','' || 'rgba(0,0,0,0)');
- Node205_5.a('node.gradient','');
- Node205_5.a('node.gradientcolor','');
- Node205_5.a('node.text','Uca(KV):');
- Node205_5.a('node.textalign','left');
- Node205_5.a('node.textvAlign','middle');
- Node205_5.a('node.textrect', [Node205_5textStart, 0, Node205_5textWidth, Node205_5height]);
- Node205_5.a('node.color','rgba(0,0,0,1)');
- Node205_5.a('node.font',' '+ Node205_5fontSize + 'px "Arial"');
- Node205_5.a('node.textvisible',true);
- Node205_5.a('node.linefeed',false);
- if (false) {
- Node205_5.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node205_5.a('node.text') || 'Uca(KV):';
- var color=Node205_5.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node205_5width,Node205_5height,13.3333*_ratio.ratioY,"left",color,' '+ Node205_5fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node205_5.a('node.underlinepoints',[Node205_5lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node205_5fontSize + 2 , ht.Default.getTextSize('Uca(KV):', ' '+ Node205_5fontSize + 'px "Arial"').width + 6, (Node205_5height - Node205_5fontSize) * 0.5*_ratio.ratioY + Node205_5fontSize + 2 ]);
- Node205_5.a('node.underlinevisible',false);
- Node205_5.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node205_5);
- zoomNodeList.push({
- node: Node205_5,
- 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 = 75*_ratio.ratioX, Node206height = 24*_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('2号主变', ' '+ Node206fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node206align === 'center') {
- Node206textStart = -3;
- Node206textWidth = Node206width;
- Node206lineStart = Node206width - ht.Default.getTextSize('2号主变', ' '+ Node206fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node206.setImage(GD.getTextJSON(Node206width, Node206height, true, false, false, ' '+ Node206fontSize + 'px "Arial"'))
- Node206.setPosition(1551*ratio.ratioX, 366*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','2号主变');
- 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') || '2号主变';
- 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, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node206fontSize + 2 , ht.Default.getTextSize('2号主变', ' '+ 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 = 75*_ratio.ratioX, Node207height = 24*_ratio.ratioY;
- (function () {
- if (Node207align === 'left') {
- Node207textStart = Node207fontSize * 0.2 > 2 ? Node207fontSize * 0.2 - 4 : Node207fontSize * 0.2 - 9;
- Node207textWidth = Node207width;
- Node207lineStart = 1;
- } else if (Node207align === 'right') {
- Node207textStart = 0;
- Node207textWidth =Node207fontSize <= 8 ? Node207width + Node207fontSize * 0.2 + 6 : Node207width - Node207fontSize * 0.2;
- Node207lineStart = (Node207width - (ht.Default.getTextSize('档位:', ' '+ Node207fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node207align === 'center') {
- Node207textStart = -3;
- Node207textWidth = Node207width;
- Node207lineStart = Node207width - ht.Default.getTextSize('档位:', ' '+ Node207fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node207.setImage(GD.getTextJSON(Node207width, Node207height, true, false, false, ' '+ Node207fontSize + 'px "Arial"'))
- Node207.setPosition(1565*ratio.ratioX, 386*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','档位:');
- 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') || '档位:';
- 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, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node207fontSize + 2 , ht.Default.getTextSize('档位:', ' '+ Node207fontSize + 'px "Arial"').width + 6, (Node207height - Node207fontSize) * 0.5*_ratio.ratioY + Node207fontSize + 2 ]);
- Node207.a('node.underlinevisible',false);
- Node207.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node207);
- zoomNodeList.push({
- node: Node207,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node208 = new ht.Node();
- var Node208textStart, Node208textWidth, Node208lineStart, Node208align = 'left', Node208fontSize = 13.3333*_ratio.ratioY,Node208width = 79*_ratio.ratioX, Node208height = 24*_ratio.ratioY;
- (function () {
- if (Node208align === 'left') {
- Node208textStart = Node208fontSize * 0.2 > 2 ? Node208fontSize * 0.2 - 4 : Node208fontSize * 0.2 - 9;
- Node208textWidth = Node208width;
- Node208lineStart = 1;
- } else if (Node208align === 'right') {
- Node208textStart = 0;
- Node208textWidth =Node208fontSize <= 8 ? Node208width + Node208fontSize * 0.2 + 6 : Node208width - Node208fontSize * 0.2;
- Node208lineStart = (Node208width - (ht.Default.getTextSize('上层油温:', ' '+ Node208fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node208align === 'center') {
- Node208textStart = -3;
- Node208textWidth = Node208width;
- Node208lineStart = Node208width - ht.Default.getTextSize('上层油温:', ' '+ Node208fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node208.setImage(GD.getTextJSON(Node208width, Node208height, true, false, false, ' '+ Node208fontSize + 'px "Arial"'))
- Node208.setPosition(1537*ratio.ratioX, 406*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','上层油温:');
- 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') || '上层油温:';
- 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, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node208fontSize + 2 , ht.Default.getTextSize('上层油温:', ' '+ Node208fontSize + 'px "Arial"').width + 6, (Node208height - Node208fontSize) * 0.5*_ratio.ratioY + Node208fontSize + 2 ]);
- Node208.a('node.underlinevisible',false);
- Node208.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node208);
- zoomNodeList.push({
- node: Node208,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node209 = new ht.Node();
- var Node209textStart, Node209textWidth, Node209lineStart, Node209align = 'left', Node209fontSize = 13.3333*_ratio.ratioY,Node209width = 79*_ratio.ratioX, Node209height = 24*_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('下层油温:', ' '+ Node209fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node209align === 'center') {
- Node209textStart = -3;
- Node209textWidth = Node209width;
- Node209lineStart = Node209width - ht.Default.getTextSize('下层油温:', ' '+ Node209fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node209.setImage(GD.getTextJSON(Node209width, Node209height, true, false, false, ' '+ Node209fontSize + 'px "Arial"'))
- Node209.setPosition(1537*ratio.ratioX, 426*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','下层油温:');
- 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') || '下层油温:';
- 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, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node209fontSize + 2 , ht.Default.getTextSize('下层油温:', ' '+ Node209fontSize + 'px "Arial"').width + 6, (Node209height - Node209fontSize) * 0.5*_ratio.ratioY + Node209fontSize + 2 ]);
- Node209.a('node.underlinevisible',false);
- Node209.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node209);
- zoomNodeList.push({
- node: Node209,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node210 = new ht.Node();
- var Node210textStart, Node210textWidth, Node210lineStart, Node210align = 'left', Node210fontSize = 13.3333*_ratio.ratioY,Node210width = 79*_ratio.ratioX, Node210height = 24*_ratio.ratioY;
- (function () {
- if (Node210align === 'left') {
- Node210textStart = Node210fontSize * 0.2 > 2 ? Node210fontSize * 0.2 - 4 : Node210fontSize * 0.2 - 9;
- Node210textWidth = Node210width;
- Node210lineStart = 1;
- } else if (Node210align === 'right') {
- Node210textStart = 0;
- Node210textWidth =Node210fontSize <= 8 ? Node210width + Node210fontSize * 0.2 + 6 : Node210width - Node210fontSize * 0.2;
- Node210lineStart = (Node210width - (ht.Default.getTextSize('绕组油温:', ' '+ Node210fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node210align === 'center') {
- Node210textStart = -3;
- Node210textWidth = Node210width;
- Node210lineStart = Node210width - ht.Default.getTextSize('绕组油温:', ' '+ Node210fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node210.setImage(GD.getTextJSON(Node210width, Node210height, true, false, false, ' '+ Node210fontSize + 'px "Arial"'))
- Node210.setPosition(1537*ratio.ratioX, 445*ratio.ratioY);
- Node210.setWidth(Node210width);
- Node210.setHeight(Node210height);
- Node210._nodeType = 'text';
- Node210._disallowEvert = true;
- Node210.setRotation(0*Math.PI/180);
- Node210.a('node.width', Node210width);
- Node210.a('node.height', Node210height);
- Node210.a('node.rect', [0, 0, Node210width, Node210height]);
- Node210.a('node.bordercolor','rgba(0,0,0,1)');
- Node210.a('node.borderwidth', 0);
- Node210.a('node.background','' || 'rgba(0,0,0,0)');
- Node210.a('node.gradient','');
- Node210.a('node.gradientcolor','');
- Node210.a('node.text','绕组油温:');
- Node210.a('node.textalign','left');
- Node210.a('node.textvAlign','middle');
- Node210.a('node.textrect', [Node210textStart, 0, Node210textWidth, Node210height]);
- Node210.a('node.color','rgba(0,0,0,1)');
- Node210.a('node.font',' '+ Node210fontSize + 'px "Arial"');
- Node210.a('node.textvisible',true);
- Node210.a('node.linefeed',false);
- if (false) {
- Node210.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node210.a('node.text') || '绕组油温:';
- var color=Node210.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node210width,Node210height,13.3333*_ratio.ratioY,"left",color,' '+ Node210fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node210.a('node.underlinepoints',[Node210lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node210fontSize + 2 , ht.Default.getTextSize('绕组油温:', ' '+ Node210fontSize + 'px "Arial"').width + 6, (Node210height - Node210fontSize) * 0.5*_ratio.ratioY + Node210fontSize + 2 ]);
- Node210.a('node.underlinevisible',false);
- Node210.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node210);
- zoomNodeList.push({
- node: Node210,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node211 = new ht.Node();
- var Node211textStart, Node211textWidth, Node211lineStart, Node211align = 'left', Node211fontSize = 13.3333*_ratio.ratioY,Node211width = 75*_ratio.ratioX, Node211height = 24*_ratio.ratioY;
- (function () {
- if (Node211align === 'left') {
- Node211textStart = Node211fontSize * 0.2 > 2 ? Node211fontSize * 0.2 - 4 : Node211fontSize * 0.2 - 9;
- Node211textWidth = Node211width;
- Node211lineStart = 1;
- } else if (Node211align === 'right') {
- Node211textStart = 0;
- Node211textWidth =Node211fontSize <= 8 ? Node211width + Node211fontSize * 0.2 + 6 : Node211width - Node211fontSize * 0.2;
- Node211lineStart = (Node211width - (ht.Default.getTextSize('Um(KV):', ' '+ Node211fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node211align === 'center') {
- Node211textStart = -3;
- Node211textWidth = Node211width;
- Node211lineStart = Node211width - ht.Default.getTextSize('Um(KV):', ' '+ Node211fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node211.setImage(GD.getTextJSON(Node211width, Node211height, true, false, false, ' '+ Node211fontSize + 'px "Arial"'))
- Node211.setPosition(1671*ratio.ratioX, 347*ratio.ratioY);
- Node211.setWidth(Node211width);
- Node211.setHeight(Node211height);
- Node211._nodeType = 'text';
- Node211._disallowEvert = true;
- Node211.setRotation(0*Math.PI/180);
- Node211.a('node.width', Node211width);
- Node211.a('node.height', Node211height);
- Node211.a('node.rect', [0, 0, Node211width, Node211height]);
- Node211.a('node.bordercolor','rgba(0,0,0,1)');
- Node211.a('node.borderwidth', 0);
- Node211.a('node.background','' || 'rgba(0,0,0,0)');
- Node211.a('node.gradient','');
- Node211.a('node.gradientcolor','');
- Node211.a('node.text','Um(KV):');
- Node211.a('node.textalign','left');
- Node211.a('node.textvAlign','middle');
- Node211.a('node.textrect', [Node211textStart, 0, Node211textWidth, Node211height]);
- Node211.a('node.color','rgba(0,0,0,1)');
- Node211.a('node.font',' '+ Node211fontSize + 'px "Arial"');
- Node211.a('node.textvisible',true);
- Node211.a('node.linefeed',false);
- if (false) {
- Node211.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node211.a('node.text') || 'Um(KV):';
- var color=Node211.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node211width,Node211height,13.3333*_ratio.ratioY,"left",color,' '+ Node211fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node211.a('node.underlinepoints',[Node211lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node211fontSize + 2 , ht.Default.getTextSize('Um(KV):', ' '+ Node211fontSize + 'px "Arial"').width + 6, (Node211height - Node211fontSize) * 0.5*_ratio.ratioY + Node211fontSize + 2 ]);
- Node211.a('node.underlinevisible',false);
- Node211.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node211);
- zoomNodeList.push({
- node: Node211,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node212 = new ht.Node();
- var Node212textStart, Node212textWidth, Node212lineStart, Node212align = 'left', Node212fontSize = 13.3333*_ratio.ratioY,Node212width = 75*_ratio.ratioX, Node212height = 24*_ratio.ratioY;
- (function () {
- if (Node212align === 'left') {
- Node212textStart = Node212fontSize * 0.2 > 2 ? Node212fontSize * 0.2 - 4 : Node212fontSize * 0.2 - 9;
- Node212textWidth = Node212width;
- Node212lineStart = 1;
- } else if (Node212align === 'right') {
- Node212textStart = 0;
- Node212textWidth =Node212fontSize <= 8 ? Node212width + Node212fontSize * 0.2 + 6 : Node212width - Node212fontSize * 0.2;
- Node212lineStart = (Node212width - (ht.Default.getTextSize('Ub(KV):', ' '+ Node212fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node212align === 'center') {
- Node212textStart = -3;
- Node212textWidth = Node212width;
- Node212lineStart = Node212width - ht.Default.getTextSize('Ub(KV):', ' '+ Node212fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node212.setImage(GD.getTextJSON(Node212width, Node212height, true, false, false, ' '+ Node212fontSize + 'px "Arial"'))
- Node212.setPosition(1675*ratio.ratioX, 367*ratio.ratioY);
- Node212.setWidth(Node212width);
- Node212.setHeight(Node212height);
- Node212._nodeType = 'text';
- Node212._disallowEvert = true;
- Node212.setRotation(0*Math.PI/180);
- Node212.a('node.width', Node212width);
- Node212.a('node.height', Node212height);
- Node212.a('node.rect', [0, 0, Node212width, Node212height]);
- Node212.a('node.bordercolor','rgba(0,0,0,1)');
- Node212.a('node.borderwidth', 0);
- Node212.a('node.background','' || 'rgba(0,0,0,0)');
- Node212.a('node.gradient','');
- Node212.a('node.gradientcolor','');
- Node212.a('node.text','Ub(KV):');
- Node212.a('node.textalign','left');
- Node212.a('node.textvAlign','middle');
- Node212.a('node.textrect', [Node212textStart, 0, Node212textWidth, Node212height]);
- Node212.a('node.color','rgba(0,0,0,1)');
- Node212.a('node.font',' '+ Node212fontSize + 'px "Arial"');
- Node212.a('node.textvisible',true);
- Node212.a('node.linefeed',false);
- if (false) {
- Node212.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node212.a('node.text') || 'Ub(KV):';
- var color=Node212.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node212width,Node212height,13.3333*_ratio.ratioY,"left",color,' '+ Node212fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node212.a('node.underlinepoints',[Node212lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node212fontSize + 2 , ht.Default.getTextSize('Ub(KV):', ' '+ Node212fontSize + 'px "Arial"').width + 6, (Node212height - Node212fontSize) * 0.5*_ratio.ratioY + Node212fontSize + 2 ]);
- Node212.a('node.underlinevisible',false);
- Node212.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node212);
- zoomNodeList.push({
- node: Node212,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node213 = new ht.Node();
- var Node213textStart, Node213textWidth, Node213lineStart, Node213align = 'left', Node213fontSize = 13.3333*_ratio.ratioY,Node213width = 75*_ratio.ratioX, Node213height = 24*_ratio.ratioY;
- (function () {
- if (Node213align === 'left') {
- Node213textStart = Node213fontSize * 0.2 > 2 ? Node213fontSize * 0.2 - 4 : Node213fontSize * 0.2 - 9;
- Node213textWidth = Node213width;
- Node213lineStart = 1;
- } else if (Node213align === 'right') {
- Node213textStart = 0;
- Node213textWidth =Node213fontSize <= 8 ? Node213width + Node213fontSize * 0.2 + 6 : Node213width - Node213fontSize * 0.2;
- Node213lineStart = (Node213width - (ht.Default.getTextSize('Uc(KV):', ' '+ Node213fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node213align === 'center') {
- Node213textStart = -3;
- Node213textWidth = Node213width;
- Node213lineStart = Node213width - ht.Default.getTextSize('Uc(KV):', ' '+ Node213fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node213.setImage(GD.getTextJSON(Node213width, Node213height, true, false, false, ' '+ Node213fontSize + 'px "Arial"'))
- Node213.setPosition(1676*ratio.ratioX, 387*ratio.ratioY);
- Node213.setWidth(Node213width);
- Node213.setHeight(Node213height);
- Node213._nodeType = 'text';
- Node213._disallowEvert = true;
- Node213.setRotation(0*Math.PI/180);
- Node213.a('node.width', Node213width);
- Node213.a('node.height', Node213height);
- Node213.a('node.rect', [0, 0, Node213width, Node213height]);
- Node213.a('node.bordercolor','rgba(0,0,0,1)');
- Node213.a('node.borderwidth', 0);
- Node213.a('node.background','' || 'rgba(0,0,0,0)');
- Node213.a('node.gradient','');
- Node213.a('node.gradientcolor','');
- Node213.a('node.text','Uc(KV):');
- Node213.a('node.textalign','left');
- Node213.a('node.textvAlign','middle');
- Node213.a('node.textrect', [Node213textStart, 0, Node213textWidth, Node213height]);
- Node213.a('node.color','rgba(0,0,0,1)');
- Node213.a('node.font',' '+ Node213fontSize + 'px "Arial"');
- Node213.a('node.textvisible',true);
- Node213.a('node.linefeed',false);
- if (false) {
- Node213.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node213.a('node.text') || 'Uc(KV):';
- var color=Node213.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node213width,Node213height,13.3333*_ratio.ratioY,"left",color,' '+ Node213fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node213.a('node.underlinepoints',[Node213lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node213fontSize + 2 , ht.Default.getTextSize('Uc(KV):', ' '+ Node213fontSize + 'px "Arial"').width + 6, (Node213height - Node213fontSize) * 0.5*_ratio.ratioY + Node213fontSize + 2 ]);
- Node213.a('node.underlinevisible',false);
- Node213.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node213);
- zoomNodeList.push({
- node: Node213,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node214 = new ht.Node();
- var Node214textStart, Node214textWidth, Node214lineStart, Node214align = 'left', Node214fontSize = 13.3333*_ratio.ratioY,Node214width = 72*_ratio.ratioX, Node214height = 24*_ratio.ratioY;
- (function () {
- if (Node214align === 'left') {
- Node214textStart = Node214fontSize * 0.2 > 2 ? Node214fontSize * 0.2 - 4 : Node214fontSize * 0.2 - 9;
- Node214textWidth = Node214width;
- Node214lineStart = 1;
- } else if (Node214align === 'right') {
- Node214textStart = 0;
- Node214textWidth =Node214fontSize <= 8 ? Node214width + Node214fontSize * 0.2 + 6 : Node214width - Node214fontSize * 0.2;
- Node214lineStart = (Node214width - (ht.Default.getTextSize('Uab(KV):', ' '+ Node214fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node214align === 'center') {
- Node214textStart = -3;
- Node214textWidth = Node214width;
- Node214lineStart = Node214width - ht.Default.getTextSize('Uab(KV):', ' '+ Node214fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node214.setImage(GD.getTextJSON(Node214width, Node214height, true, false, false, ' '+ Node214fontSize + 'px "Arial"'))
- Node214.setPosition(1665*ratio.ratioX, 407*ratio.ratioY);
- Node214.setWidth(Node214width);
- Node214.setHeight(Node214height);
- Node214._nodeType = 'text';
- Node214._disallowEvert = true;
- Node214.setRotation(0*Math.PI/180);
- Node214.a('node.width', Node214width);
- Node214.a('node.height', Node214height);
- Node214.a('node.rect', [0, 0, Node214width, Node214height]);
- Node214.a('node.bordercolor','rgba(0,0,0,1)');
- Node214.a('node.borderwidth', 0);
- Node214.a('node.background','' || 'rgba(0,0,0,0)');
- Node214.a('node.gradient','');
- Node214.a('node.gradientcolor','');
- Node214.a('node.text','Uab(KV):');
- Node214.a('node.textalign','left');
- Node214.a('node.textvAlign','middle');
- Node214.a('node.textrect', [Node214textStart, 0, Node214textWidth, Node214height]);
- Node214.a('node.color','rgba(0,0,0,1)');
- Node214.a('node.font',' '+ Node214fontSize + 'px "Arial"');
- Node214.a('node.textvisible',true);
- Node214.a('node.linefeed',false);
- if (false) {
- Node214.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node214.a('node.text') || 'Uab(KV):';
- var color=Node214.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node214width,Node214height,13.3333*_ratio.ratioY,"left",color,' '+ Node214fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node214.a('node.underlinepoints',[Node214lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node214fontSize + 2 , ht.Default.getTextSize('Uab(KV):', ' '+ Node214fontSize + 'px "Arial"').width + 6, (Node214height - Node214fontSize) * 0.5*_ratio.ratioY + Node214fontSize + 2 ]);
- Node214.a('node.underlinevisible',false);
- Node214.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node214);
- zoomNodeList.push({
- node: Node214,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node215 = new ht.Node();
- var Node215textStart, Node215textWidth, Node215lineStart, Node215align = 'left', Node215fontSize = 13.3333*_ratio.ratioY,Node215width = 75*_ratio.ratioX, Node215height = 24*_ratio.ratioY;
- (function () {
- if (Node215align === 'left') {
- Node215textStart = Node215fontSize * 0.2 > 2 ? Node215fontSize * 0.2 - 4 : Node215fontSize * 0.2 - 9;
- Node215textWidth = Node215width;
- Node215lineStart = 1;
- } else if (Node215align === 'right') {
- Node215textStart = 0;
- Node215textWidth =Node215fontSize <= 8 ? Node215width + Node215fontSize * 0.2 + 6 : Node215width - Node215fontSize * 0.2;
- Node215lineStart = (Node215width - (ht.Default.getTextSize('Ubc(KV):', ' '+ Node215fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node215align === 'center') {
- Node215textStart = -3;
- Node215textWidth = Node215width;
- Node215lineStart = Node215width - ht.Default.getTextSize('Ubc(KV):', ' '+ Node215fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node215.setImage(GD.getTextJSON(Node215width, Node215height, true, false, false, ' '+ Node215fontSize + 'px "Arial"'))
- Node215.setPosition(1667*ratio.ratioX, 427*ratio.ratioY);
- Node215.setWidth(Node215width);
- Node215.setHeight(Node215height);
- Node215._nodeType = 'text';
- Node215._disallowEvert = true;
- Node215.setRotation(0*Math.PI/180);
- Node215.a('node.width', Node215width);
- Node215.a('node.height', Node215height);
- Node215.a('node.rect', [0, 0, Node215width, Node215height]);
- Node215.a('node.bordercolor','rgba(0,0,0,1)');
- Node215.a('node.borderwidth', 0);
- Node215.a('node.background','' || 'rgba(0,0,0,0)');
- Node215.a('node.gradient','');
- Node215.a('node.gradientcolor','');
- Node215.a('node.text','Ubc(KV):');
- Node215.a('node.textalign','left');
- Node215.a('node.textvAlign','middle');
- Node215.a('node.textrect', [Node215textStart, 0, Node215textWidth, Node215height]);
- Node215.a('node.color','rgba(0,0,0,1)');
- Node215.a('node.font',' '+ Node215fontSize + 'px "Arial"');
- Node215.a('node.textvisible',true);
- Node215.a('node.linefeed',false);
- if (false) {
- Node215.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node215.a('node.text') || 'Ubc(KV):';
- var color=Node215.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node215width,Node215height,13.3333*_ratio.ratioY,"left",color,' '+ Node215fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node215.a('node.underlinepoints',[Node215lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node215fontSize + 2 , ht.Default.getTextSize('Ubc(KV):', ' '+ Node215fontSize + 'px "Arial"').width + 6, (Node215height - Node215fontSize) * 0.5*_ratio.ratioY + Node215fontSize + 2 ]);
- Node215.a('node.underlinevisible',false);
- Node215.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node215);
- zoomNodeList.push({
- node: Node215,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node216 = new ht.Node();
- var Node216textStart, Node216textWidth, Node216lineStart, Node216align = 'left', Node216fontSize = 13.3333*_ratio.ratioY,Node216width = 75*_ratio.ratioX, Node216height = 24*_ratio.ratioY;
- (function () {
- if (Node216align === 'left') {
- Node216textStart = Node216fontSize * 0.2 > 2 ? Node216fontSize * 0.2 - 4 : Node216fontSize * 0.2 - 9;
- Node216textWidth = Node216width;
- Node216lineStart = 1;
- } else if (Node216align === 'right') {
- Node216textStart = 0;
- Node216textWidth =Node216fontSize <= 8 ? Node216width + Node216fontSize * 0.2 + 6 : Node216width - Node216fontSize * 0.2;
- Node216lineStart = (Node216width - (ht.Default.getTextSize('Uca(KV):', ' '+ Node216fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node216align === 'center') {
- Node216textStart = -3;
- Node216textWidth = Node216width;
- Node216lineStart = Node216width - ht.Default.getTextSize('Uca(KV):', ' '+ Node216fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node216.setImage(GD.getTextJSON(Node216width, Node216height, true, false, false, ' '+ Node216fontSize + 'px "Arial"'))
- Node216.setPosition(1667*ratio.ratioX, 447*ratio.ratioY);
- Node216.setWidth(Node216width);
- Node216.setHeight(Node216height);
- Node216._nodeType = 'text';
- Node216._disallowEvert = true;
- Node216.setRotation(0*Math.PI/180);
- Node216.a('node.width', Node216width);
- Node216.a('node.height', Node216height);
- Node216.a('node.rect', [0, 0, Node216width, Node216height]);
- Node216.a('node.bordercolor','rgba(0,0,0,1)');
- Node216.a('node.borderwidth', 0);
- Node216.a('node.background','' || 'rgba(0,0,0,0)');
- Node216.a('node.gradient','');
- Node216.a('node.gradientcolor','');
- Node216.a('node.text','Uca(KV):');
- Node216.a('node.textalign','left');
- Node216.a('node.textvAlign','middle');
- Node216.a('node.textrect', [Node216textStart, 0, Node216textWidth, Node216height]);
- Node216.a('node.color','rgba(0,0,0,1)');
- Node216.a('node.font',' '+ Node216fontSize + 'px "Arial"');
- Node216.a('node.textvisible',true);
- Node216.a('node.linefeed',false);
- if (false) {
- Node216.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node216.a('node.text') || 'Uca(KV):';
- var color=Node216.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node216width,Node216height,13.3333*_ratio.ratioY,"left",color,' '+ Node216fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node216.a('node.underlinepoints',[Node216lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node216fontSize + 2 , ht.Default.getTextSize('Uca(KV):', ' '+ Node216fontSize + 'px "Arial"').width + 6, (Node216height - Node216fontSize) * 0.5*_ratio.ratioY + Node216fontSize + 2 ]);
- Node216.a('node.underlinevisible',false);
- Node216.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node216);
- zoomNodeList.push({
- node: Node216,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node217points=[990, 501,1840, 501],
- Node217rect=ht.Default.unionPoint([{x:990,y:501},{x:1840,y:501}]),
- Node217compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, 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 = 3;
- 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=3;
- 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 = 3;
- 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=[1250, 481,1250, 501],
- Node218rect=ht.Default.unionPoint([{x:1250,y:481},{x:1250,y:501}]),
- Node218compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, 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);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node219 = new ht.Node();
- var Node219textStart, Node219textWidth, Node219lineStart, Node219align = 'left', Node219fontSize = 19.99995*_ratio.ratioY,Node219width = 111*_ratio.ratioX, Node219height = 25*_ratio.ratioY;
- (function () {
- if (Node219align === 'left') {
- Node219textStart = Node219fontSize * 0.2 > 2 ? Node219fontSize * 0.2 - 4 : Node219fontSize * 0.2 - 9;
- Node219textWidth = Node219width;
- Node219lineStart = 1;
- } else if (Node219align === 'right') {
- Node219textStart = 0;
- Node219textWidth =Node219fontSize <= 8 ? Node219width + Node219fontSize * 0.2 + 6 : Node219width - Node219fontSize * 0.2;
- Node219lineStart = (Node219width - (ht.Default.getTextSize('35kV II段', ' '+ Node219fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node219align === 'center') {
- Node219textStart = -3;
- Node219textWidth = Node219width;
- Node219lineStart = Node219width - ht.Default.getTextSize('35kV II段', ' '+ Node219fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node219.setImage(GD.getTextJSON(Node219width, Node219height, true, false, false, ' '+ Node219fontSize + 'px "Arial"'))
- Node219.setPosition(1045*ratio.ratioX, 481*ratio.ratioY);
- Node219.setWidth(Node219width);
- Node219.setHeight(Node219height);
- Node219._nodeType = 'text';
- Node219._disallowEvert = true;
- Node219.setRotation(0*Math.PI/180);
- Node219.a('node.width', Node219width);
- Node219.a('node.height', Node219height);
- Node219.a('node.rect', [0, 0, Node219width, Node219height]);
- Node219.a('node.bordercolor','rgba(0,0,0,1)');
- Node219.a('node.borderwidth', 0);
- Node219.a('node.background','' || 'rgba(0,0,0,0)');
- Node219.a('node.gradient','');
- Node219.a('node.gradientcolor','');
- Node219.a('node.text','35kV II段');
- Node219.a('node.textalign','left');
- Node219.a('node.textvAlign','middle');
- Node219.a('node.textrect', [Node219textStart, 0, Node219textWidth, Node219height]);
- Node219.a('node.color','rgba(0,0,0,1)');
- Node219.a('node.font',' '+ Node219fontSize + 'px "Arial"');
- Node219.a('node.textvisible',true);
- Node219.a('node.linefeed',false);
- if (false) {
- Node219.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node219.a('node.text') || '35kV II段';
- var color=Node219.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node219width,Node219height,19.99995*_ratio.ratioY,"left",color,' '+ Node219fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node219.a('node.underlinepoints',[Node219lineStart, (25 - 19.99995) * 0.5 * _ratio.ratioY + Node219fontSize + 2 , ht.Default.getTextSize('35kV II段', ' '+ Node219fontSize + 'px "Arial"').width + 6, (Node219height - Node219fontSize) * 0.5*_ratio.ratioY + Node219fontSize + 2 ]);
- Node219.a('node.underlinevisible',false);
- Node219.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node219);
- zoomNodeList.push({
- node: Node219,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node220points=[100, 501,100, 521],
- Node220rect=ht.Default.unionPoint([{x:100,y:501},{x:100,y:521}]),
- Node220compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node220points.length;i++){
- if(i%2==0){
- Node220compspts.push(Node220points[i]-Node220rect.x);
- }else{
- Node220compspts.push(Node220points[i]-Node220rect.y);
- }
- }
- var Node220ptslength=Node220compspts.length;
- if (Node220rect.height === 0) {
- Node220compspts[0] -= 0;
- Node220compspts[Node220ptslength-2] += 0;
- } else if (Node220rect.width === 0){
- Node220compspts[1] -= 0;
- Node220compspts[Node220ptslength-1] += 0;
- } else {
- Node220compspts[0] -= 0;
- Node220compspts[1] -= 0;
- Node220compspts[Node220ptslength-2] += 0;
- Node220compspts[Node220ptslength-1] += 0;
- }
- Node220 = new ht.Node();
- Node220.borderWidth = 1;
- Node220rect.width = Node220rect.width === 0 ? 0.0001 : Node220rect.width;
- Node220rect.height = Node220rect.height === 0 ? 0.0001 : Node220rect.height;
- var Node220endCompspts = [Node220compspts[Node220ptslength-2],Node220compspts[Node220ptslength-1],0,0];
- var Node220startCompspts = [Node220compspts[0],Node220compspts[1],0,0];
- Node220.setImage(GD.getPolyLineJSON());
- Node220.setPosition(Node220rect.x+Node220rect.width/2,Node220rect.y+Node220rect.height/2);
- Node220.setSize(Node220rect.width,Node220rect.height);
- Node220.setStyle("opacity",1);
- Node220.s({'pixelPerfect':true});
- Node220borderwidth=1;
- Node220.setRotation(0);
- dataModel.add(Node220);
- Node220.a('node.points',Node220compspts);
- Node220.a('node.segments',[1,2]);
- Node220.a('node.color','rgba(255,128,0,1)');
- Node220.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node220.a('node.borderColor','rgba(255,128,0,1)');
- Node220.a('node.background','rgba(255,128,0,1)');
- Node220.a('node.gradient','');
- Node220.a('node.gradientcolor','rgba(255,128,0,1)');
- Node220.a('node.endCompspts',Node220endCompspts);
- Node220.a('node.startCompspts',Node220startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node220';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node220, Node220.getImage(), Node220compspts, Node220endCompspts, Node220startCompspts);
- var Node221points=[270, 501,270, 521],
- Node221rect=ht.Default.unionPoint([{x:270,y:501},{x:270,y:521}]),
- Node221compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node221points.length;i++){
- if(i%2==0){
- Node221compspts.push(Node221points[i]-Node221rect.x);
- }else{
- Node221compspts.push(Node221points[i]-Node221rect.y);
- }
- }
- var Node221ptslength=Node221compspts.length;
- if (Node221rect.height === 0) {
- Node221compspts[0] -= 0;
- Node221compspts[Node221ptslength-2] += 0;
- } else if (Node221rect.width === 0){
- Node221compspts[1] -= 0;
- Node221compspts[Node221ptslength-1] += 0;
- } else {
- Node221compspts[0] -= 0;
- Node221compspts[1] -= 0;
- Node221compspts[Node221ptslength-2] += 0;
- Node221compspts[Node221ptslength-1] += 0;
- }
- Node221 = new ht.Node();
- Node221.borderWidth = 1;
- Node221rect.width = Node221rect.width === 0 ? 0.0001 : Node221rect.width;
- Node221rect.height = Node221rect.height === 0 ? 0.0001 : Node221rect.height;
- var Node221endCompspts = [Node221compspts[Node221ptslength-2],Node221compspts[Node221ptslength-1],0,0];
- var Node221startCompspts = [Node221compspts[0],Node221compspts[1],0,0];
- Node221.setImage(GD.getPolyLineJSON());
- Node221.setPosition(Node221rect.x+Node221rect.width/2,Node221rect.y+Node221rect.height/2);
- Node221.setSize(Node221rect.width,Node221rect.height);
- Node221.setStyle("opacity",1);
- Node221.s({'pixelPerfect':true});
- Node221borderwidth=1;
- Node221.setRotation(0);
- dataModel.add(Node221);
- Node221.a('node.points',Node221compspts);
- Node221.a('node.segments',[1,2]);
- Node221.a('node.color','rgba(255,128,0,1)');
- Node221.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node221.a('node.borderColor','rgba(255,128,0,1)');
- Node221.a('node.background','rgba(255,128,0,1)');
- Node221.a('node.gradient','');
- Node221.a('node.gradientcolor','rgba(255,128,0,1)');
- Node221.a('node.endCompspts',Node221endCompspts);
- Node221.a('node.startCompspts',Node221startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node221';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node221, Node221.getImage(), Node221compspts, Node221endCompspts, Node221startCompspts);
- var Node222points=[450, 501,450, 521],
- Node222rect=ht.Default.unionPoint([{x:450,y:501},{x:450,y:521}]),
- 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);
- var Node223points=[340, 501,340, 521],
- Node223rect=ht.Default.unionPoint([{x:340,y:501},{x:340,y:521}]),
- Node223compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node223points.length;i++){
- if(i%2==0){
- Node223compspts.push(Node223points[i]-Node223rect.x);
- }else{
- Node223compspts.push(Node223points[i]-Node223rect.y);
- }
- }
- var Node223ptslength=Node223compspts.length;
- if (Node223rect.height === 0) {
- Node223compspts[0] -= 0;
- Node223compspts[Node223ptslength-2] += 0;
- } else if (Node223rect.width === 0){
- Node223compspts[1] -= 0;
- Node223compspts[Node223ptslength-1] += 0;
- } else {
- Node223compspts[0] -= 0;
- Node223compspts[1] -= 0;
- Node223compspts[Node223ptslength-2] += 0;
- Node223compspts[Node223ptslength-1] += 0;
- }
- Node223 = new ht.Node();
- Node223.borderWidth = 1;
- Node223rect.width = Node223rect.width === 0 ? 0.0001 : Node223rect.width;
- Node223rect.height = Node223rect.height === 0 ? 0.0001 : Node223rect.height;
- var Node223endCompspts = [Node223compspts[Node223ptslength-2],Node223compspts[Node223ptslength-1],0,0];
- var Node223startCompspts = [Node223compspts[0],Node223compspts[1],0,0];
- Node223.setImage(GD.getPolyLineJSON());
- Node223.setPosition(Node223rect.x+Node223rect.width/2,Node223rect.y+Node223rect.height/2);
- Node223.setSize(Node223rect.width,Node223rect.height);
- Node223.setStyle("opacity",1);
- Node223.s({'pixelPerfect':true});
- Node223borderwidth=1;
- Node223.setRotation(0);
- dataModel.add(Node223);
- Node223.a('node.points',Node223compspts);
- Node223.a('node.segments',[1,2]);
- Node223.a('node.color','rgba(255,128,0,1)');
- Node223.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node223.a('node.borderColor','rgba(255,128,0,1)');
- Node223.a('node.background','rgba(255,128,0,1)');
- Node223.a('node.gradient','');
- Node223.a('node.gradientcolor','rgba(255,128,0,1)');
- Node223.a('node.endCompspts',Node223endCompspts);
- Node223.a('node.startCompspts',Node223startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node223';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node223, Node223.getImage(), Node223compspts, Node223endCompspts, Node223startCompspts);
- var Node224points=[540, 501,540, 521],
- Node224rect=ht.Default.unionPoint([{x:540,y:501},{x:540,y:521}]),
- Node224compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, 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=[630, 501,630, 521],
- Node225rect=ht.Default.unionPoint([{x:630,y:501},{x:630,y:521}]),
- Node225compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node225points.length;i++){
- if(i%2==0){
- Node225compspts.push(Node225points[i]-Node225rect.x);
- }else{
- Node225compspts.push(Node225points[i]-Node225rect.y);
- }
- }
- var Node225ptslength=Node225compspts.length;
- if (Node225rect.height === 0) {
- Node225compspts[0] -= 0;
- Node225compspts[Node225ptslength-2] += 0;
- } else if (Node225rect.width === 0){
- Node225compspts[1] -= 0;
- Node225compspts[Node225ptslength-1] += 0;
- } else {
- Node225compspts[0] -= 0;
- Node225compspts[1] -= 0;
- Node225compspts[Node225ptslength-2] += 0;
- Node225compspts[Node225ptslength-1] += 0;
- }
- Node225 = new ht.Node();
- Node225.borderWidth = 1;
- Node225rect.width = Node225rect.width === 0 ? 0.0001 : Node225rect.width;
- Node225rect.height = Node225rect.height === 0 ? 0.0001 : Node225rect.height;
- var Node225endCompspts = [Node225compspts[Node225ptslength-2],Node225compspts[Node225ptslength-1],0,0];
- var Node225startCompspts = [Node225compspts[0],Node225compspts[1],0,0];
- Node225.setImage(GD.getPolyLineJSON());
- Node225.setPosition(Node225rect.x+Node225rect.width/2,Node225rect.y+Node225rect.height/2);
- Node225.setSize(Node225rect.width,Node225rect.height);
- Node225.setStyle("opacity",1);
- Node225.s({'pixelPerfect':true});
- Node225borderwidth=1;
- Node225.setRotation(0);
- dataModel.add(Node225);
- Node225.a('node.points',Node225compspts);
- Node225.a('node.segments',[1,2]);
- Node225.a('node.color','rgba(255,128,0,1)');
- Node225.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node225.a('node.borderColor','rgba(255,128,0,1)');
- Node225.a('node.background','rgba(255,128,0,1)');
- Node225.a('node.gradient','');
- Node225.a('node.gradientcolor','rgba(255,128,0,1)');
- Node225.a('node.endCompspts',Node225endCompspts);
- Node225.a('node.startCompspts',Node225startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node225';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node225, Node225.getImage(), Node225compspts, Node225endCompspts, Node225startCompspts);
- var Node226points=[720, 501,720, 521],
- Node226rect=ht.Default.unionPoint([{x:720,y:501},{x:720,y:521}]),
- Node226compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node226points.length;i++){
- if(i%2==0){
- Node226compspts.push(Node226points[i]-Node226rect.x);
- }else{
- Node226compspts.push(Node226points[i]-Node226rect.y);
- }
- }
- var Node226ptslength=Node226compspts.length;
- if (Node226rect.height === 0) {
- Node226compspts[0] -= 0;
- Node226compspts[Node226ptslength-2] += 0;
- } else if (Node226rect.width === 0){
- Node226compspts[1] -= 0;
- Node226compspts[Node226ptslength-1] += 0;
- } else {
- Node226compspts[0] -= 0;
- Node226compspts[1] -= 0;
- Node226compspts[Node226ptslength-2] += 0;
- Node226compspts[Node226ptslength-1] += 0;
- }
- Node226 = new ht.Node();
- Node226.borderWidth = 1;
- Node226rect.width = Node226rect.width === 0 ? 0.0001 : Node226rect.width;
- Node226rect.height = Node226rect.height === 0 ? 0.0001 : Node226rect.height;
- var Node226endCompspts = [Node226compspts[Node226ptslength-2],Node226compspts[Node226ptslength-1],0,0];
- var Node226startCompspts = [Node226compspts[0],Node226compspts[1],0,0];
- Node226.setImage(GD.getPolyLineJSON());
- Node226.setPosition(Node226rect.x+Node226rect.width/2,Node226rect.y+Node226rect.height/2);
- Node226.setSize(Node226rect.width,Node226rect.height);
- Node226.setStyle("opacity",1);
- Node226.s({'pixelPerfect':true});
- Node226borderwidth=1;
- Node226.setRotation(0);
- dataModel.add(Node226);
- Node226.a('node.points',Node226compspts);
- Node226.a('node.segments',[1,2]);
- Node226.a('node.color','rgba(255,128,0,1)');
- Node226.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node226.a('node.borderColor','rgba(255,128,0,1)');
- Node226.a('node.background','rgba(255,128,0,1)');
- Node226.a('node.gradient','');
- Node226.a('node.gradientcolor','rgba(255,128,0,1)');
- Node226.a('node.endCompspts',Node226endCompspts);
- Node226.a('node.startCompspts',Node226startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node226';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node226, Node226.getImage(), Node226compspts, Node226endCompspts, Node226startCompspts);
- var Node227points=[810, 501,810, 521],
- Node227rect=ht.Default.unionPoint([{x:810,y:501},{x:810,y:521}]),
- Node227compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node227points.length;i++){
- if(i%2==0){
- Node227compspts.push(Node227points[i]-Node227rect.x);
- }else{
- Node227compspts.push(Node227points[i]-Node227rect.y);
- }
- }
- var Node227ptslength=Node227compspts.length;
- if (Node227rect.height === 0) {
- Node227compspts[0] -= 0;
- Node227compspts[Node227ptslength-2] += 0;
- } else if (Node227rect.width === 0){
- Node227compspts[1] -= 0;
- Node227compspts[Node227ptslength-1] += 0;
- } else {
- Node227compspts[0] -= 0;
- Node227compspts[1] -= 0;
- Node227compspts[Node227ptslength-2] += 0;
- Node227compspts[Node227ptslength-1] += 0;
- }
- Node227 = new ht.Node();
- Node227.borderWidth = 1;
- Node227rect.width = Node227rect.width === 0 ? 0.0001 : Node227rect.width;
- Node227rect.height = Node227rect.height === 0 ? 0.0001 : Node227rect.height;
- var Node227endCompspts = [Node227compspts[Node227ptslength-2],Node227compspts[Node227ptslength-1],0,0];
- var Node227startCompspts = [Node227compspts[0],Node227compspts[1],0,0];
- Node227.setImage(GD.getPolyLineJSON());
- Node227.setPosition(Node227rect.x+Node227rect.width/2,Node227rect.y+Node227rect.height/2);
- Node227.setSize(Node227rect.width,Node227rect.height);
- Node227.setStyle("opacity",1);
- Node227.s({'pixelPerfect':true});
- Node227borderwidth=1;
- Node227.setRotation(0);
- dataModel.add(Node227);
- Node227.a('node.points',Node227compspts);
- Node227.a('node.segments',[1,2]);
- Node227.a('node.color','rgba(255,128,0,1)');
- Node227.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node227.a('node.borderColor','rgba(255,128,0,1)');
- Node227.a('node.background','rgba(255,128,0,1)');
- Node227.a('node.gradient','');
- Node227.a('node.gradientcolor','rgba(255,128,0,1)');
- Node227.a('node.endCompspts',Node227endCompspts);
- Node227.a('node.startCompspts',Node227startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node227';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node227, Node227.getImage(), Node227compspts, Node227endCompspts, Node227startCompspts);
- var Node228points=[900, 501,900, 521],
- Node228rect=ht.Default.unionPoint([{x:900,y:501},{x:900,y:521}]),
- 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);
- var Node229points=[1030, 501,1030, 521],
- Node229rect=ht.Default.unionPoint([{x:1030,y:501},{x:1030,y:521}]),
- Node229compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node229points.length;i++){
- if(i%2==0){
- Node229compspts.push(Node229points[i]-Node229rect.x);
- }else{
- Node229compspts.push(Node229points[i]-Node229rect.y);
- }
- }
- var Node229ptslength=Node229compspts.length;
- if (Node229rect.height === 0) {
- Node229compspts[0] -= 0;
- Node229compspts[Node229ptslength-2] += 0;
- } else if (Node229rect.width === 0){
- Node229compspts[1] -= 0;
- Node229compspts[Node229ptslength-1] += 0;
- } else {
- Node229compspts[0] -= 0;
- Node229compspts[1] -= 0;
- Node229compspts[Node229ptslength-2] += 0;
- Node229compspts[Node229ptslength-1] += 0;
- }
- Node229 = new ht.Node();
- Node229.borderWidth = 1;
- Node229rect.width = Node229rect.width === 0 ? 0.0001 : Node229rect.width;
- Node229rect.height = Node229rect.height === 0 ? 0.0001 : Node229rect.height;
- var Node229endCompspts = [Node229compspts[Node229ptslength-2],Node229compspts[Node229ptslength-1],0,0];
- var Node229startCompspts = [Node229compspts[0],Node229compspts[1],0,0];
- Node229.setImage(GD.getPolyLineJSON());
- Node229.setPosition(Node229rect.x+Node229rect.width/2,Node229rect.y+Node229rect.height/2);
- Node229.setSize(Node229rect.width,Node229rect.height);
- Node229.setStyle("opacity",1);
- Node229.s({'pixelPerfect':true});
- Node229borderwidth=1;
- Node229.setRotation(0);
- dataModel.add(Node229);
- Node229.a('node.points',Node229compspts);
- Node229.a('node.segments',[1,2]);
- Node229.a('node.color','rgba(255,128,0,1)');
- Node229.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node229.a('node.borderColor','rgba(255,128,0,1)');
- Node229.a('node.background','rgba(255,128,0,1)');
- Node229.a('node.gradient','');
- Node229.a('node.gradientcolor','rgba(255,128,0,1)');
- Node229.a('node.endCompspts',Node229endCompspts);
- Node229.a('node.startCompspts',Node229startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node229';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node229, Node229.getImage(), Node229compspts, Node229endCompspts, Node229startCompspts);
- var Node230points=[1130, 501,1130, 521],
- Node230rect=ht.Default.unionPoint([{x:1130,y:501},{x:1130,y:521}]),
- Node230compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node230points.length;i++){
- if(i%2==0){
- Node230compspts.push(Node230points[i]-Node230rect.x);
- }else{
- Node230compspts.push(Node230points[i]-Node230rect.y);
- }
- }
- var Node230ptslength=Node230compspts.length;
- if (Node230rect.height === 0) {
- Node230compspts[0] -= 0;
- Node230compspts[Node230ptslength-2] += 0;
- } else if (Node230rect.width === 0){
- Node230compspts[1] -= 0;
- Node230compspts[Node230ptslength-1] += 0;
- } else {
- Node230compspts[0] -= 0;
- Node230compspts[1] -= 0;
- Node230compspts[Node230ptslength-2] += 0;
- Node230compspts[Node230ptslength-1] += 0;
- }
- Node230 = new ht.Node();
- Node230.borderWidth = 1;
- Node230rect.width = Node230rect.width === 0 ? 0.0001 : Node230rect.width;
- Node230rect.height = Node230rect.height === 0 ? 0.0001 : Node230rect.height;
- var Node230endCompspts = [Node230compspts[Node230ptslength-2],Node230compspts[Node230ptslength-1],0,0];
- var Node230startCompspts = [Node230compspts[0],Node230compspts[1],0,0];
- Node230.setImage(GD.getPolyLineJSON());
- Node230.setPosition(Node230rect.x+Node230rect.width/2,Node230rect.y+Node230rect.height/2);
- Node230.setSize(Node230rect.width,Node230rect.height);
- Node230.setStyle("opacity",1);
- Node230.s({'pixelPerfect':true});
- Node230borderwidth=1;
- Node230.setRotation(0);
- dataModel.add(Node230);
- Node230.a('node.points',Node230compspts);
- Node230.a('node.segments',[1,2]);
- Node230.a('node.color','rgba(255,128,0,1)');
- Node230.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node230.a('node.borderColor','rgba(255,128,0,1)');
- Node230.a('node.background','rgba(255,128,0,1)');
- Node230.a('node.gradient','');
- Node230.a('node.gradientcolor','rgba(255,128,0,1)');
- Node230.a('node.endCompspts',Node230endCompspts);
- Node230.a('node.startCompspts',Node230startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node230';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node230, Node230.getImage(), Node230compspts, Node230endCompspts, Node230startCompspts);
- var Node231points=[1230, 501,1230, 521],
- Node231rect=ht.Default.unionPoint([{x:1230,y:501},{x:1230,y:521}]),
- Node231compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node231points.length;i++){
- if(i%2==0){
- Node231compspts.push(Node231points[i]-Node231rect.x);
- }else{
- Node231compspts.push(Node231points[i]-Node231rect.y);
- }
- }
- var Node231ptslength=Node231compspts.length;
- if (Node231rect.height === 0) {
- Node231compspts[0] -= 0;
- Node231compspts[Node231ptslength-2] += 0;
- } else if (Node231rect.width === 0){
- Node231compspts[1] -= 0;
- Node231compspts[Node231ptslength-1] += 0;
- } else {
- Node231compspts[0] -= 0;
- Node231compspts[1] -= 0;
- Node231compspts[Node231ptslength-2] += 0;
- Node231compspts[Node231ptslength-1] += 0;
- }
- Node231 = new ht.Node();
- Node231.borderWidth = 1;
- Node231rect.width = Node231rect.width === 0 ? 0.0001 : Node231rect.width;
- Node231rect.height = Node231rect.height === 0 ? 0.0001 : Node231rect.height;
- var Node231endCompspts = [Node231compspts[Node231ptslength-2],Node231compspts[Node231ptslength-1],0,0];
- var Node231startCompspts = [Node231compspts[0],Node231compspts[1],0,0];
- Node231.setImage(GD.getPolyLineJSON());
- Node231.setPosition(Node231rect.x+Node231rect.width/2,Node231rect.y+Node231rect.height/2);
- Node231.setSize(Node231rect.width,Node231rect.height);
- Node231.setStyle("opacity",1);
- Node231.s({'pixelPerfect':true});
- Node231borderwidth=1;
- Node231.setRotation(0);
- dataModel.add(Node231);
- Node231.a('node.points',Node231compspts);
- Node231.a('node.segments',[1,2]);
- Node231.a('node.color','rgba(255,128,0,1)');
- Node231.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node231.a('node.borderColor','rgba(255,128,0,1)');
- Node231.a('node.background','rgba(255,128,0,1)');
- Node231.a('node.gradient','');
- Node231.a('node.gradientcolor','rgba(255,128,0,1)');
- Node231.a('node.endCompspts',Node231endCompspts);
- Node231.a('node.startCompspts',Node231startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node231';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node231, Node231.getImage(), Node231compspts, Node231endCompspts, Node231startCompspts);
- var Node232points=[1330, 501,1330, 521],
- Node232rect=ht.Default.unionPoint([{x:1330,y:501},{x:1330,y:521}]),
- Node232compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node232points.length;i++){
- if(i%2==0){
- Node232compspts.push(Node232points[i]-Node232rect.x);
- }else{
- Node232compspts.push(Node232points[i]-Node232rect.y);
- }
- }
- var Node232ptslength=Node232compspts.length;
- if (Node232rect.height === 0) {
- Node232compspts[0] -= 0;
- Node232compspts[Node232ptslength-2] += 0;
- } else if (Node232rect.width === 0){
- Node232compspts[1] -= 0;
- Node232compspts[Node232ptslength-1] += 0;
- } else {
- Node232compspts[0] -= 0;
- Node232compspts[1] -= 0;
- Node232compspts[Node232ptslength-2] += 0;
- Node232compspts[Node232ptslength-1] += 0;
- }
- Node232 = new ht.Node();
- Node232.borderWidth = 1;
- Node232rect.width = Node232rect.width === 0 ? 0.0001 : Node232rect.width;
- Node232rect.height = Node232rect.height === 0 ? 0.0001 : Node232rect.height;
- var Node232endCompspts = [Node232compspts[Node232ptslength-2],Node232compspts[Node232ptslength-1],0,0];
- var Node232startCompspts = [Node232compspts[0],Node232compspts[1],0,0];
- Node232.setImage(GD.getPolyLineJSON());
- Node232.setPosition(Node232rect.x+Node232rect.width/2,Node232rect.y+Node232rect.height/2);
- Node232.setSize(Node232rect.width,Node232rect.height);
- Node232.setStyle("opacity",1);
- Node232.s({'pixelPerfect':true});
- Node232borderwidth=1;
- Node232.setRotation(0);
- dataModel.add(Node232);
- Node232.a('node.points',Node232compspts);
- Node232.a('node.segments',[1,2]);
- Node232.a('node.color','rgba(255,128,0,1)');
- Node232.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node232.a('node.borderColor','rgba(255,128,0,1)');
- Node232.a('node.background','rgba(255,128,0,1)');
- Node232.a('node.gradient','');
- Node232.a('node.gradientcolor','rgba(255,128,0,1)');
- Node232.a('node.endCompspts',Node232endCompspts);
- Node232.a('node.startCompspts',Node232startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node232';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node232, Node232.getImage(), Node232compspts, Node232endCompspts, Node232startCompspts);
- var Node233points=[1440, 501,1440, 521],
- Node233rect=ht.Default.unionPoint([{x:1440,y:501},{x:1440,y:521}]),
- Node233compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node233points.length;i++){
- if(i%2==0){
- Node233compspts.push(Node233points[i]-Node233rect.x);
- }else{
- Node233compspts.push(Node233points[i]-Node233rect.y);
- }
- }
- var Node233ptslength=Node233compspts.length;
- if (Node233rect.height === 0) {
- Node233compspts[0] -= 0;
- Node233compspts[Node233ptslength-2] += 0;
- } else if (Node233rect.width === 0){
- Node233compspts[1] -= 0;
- Node233compspts[Node233ptslength-1] += 0;
- } else {
- Node233compspts[0] -= 0;
- Node233compspts[1] -= 0;
- Node233compspts[Node233ptslength-2] += 0;
- Node233compspts[Node233ptslength-1] += 0;
- }
- Node233 = new ht.Node();
- Node233.borderWidth = 1;
- Node233rect.width = Node233rect.width === 0 ? 0.0001 : Node233rect.width;
- Node233rect.height = Node233rect.height === 0 ? 0.0001 : Node233rect.height;
- var Node233endCompspts = [Node233compspts[Node233ptslength-2],Node233compspts[Node233ptslength-1],0,0];
- var Node233startCompspts = [Node233compspts[0],Node233compspts[1],0,0];
- Node233.setImage(GD.getPolyLineJSON());
- Node233.setPosition(Node233rect.x+Node233rect.width/2,Node233rect.y+Node233rect.height/2);
- Node233.setSize(Node233rect.width,Node233rect.height);
- Node233.setStyle("opacity",1);
- Node233.s({'pixelPerfect':true});
- Node233borderwidth=1;
- Node233.setRotation(0);
- dataModel.add(Node233);
- Node233.a('node.points',Node233compspts);
- Node233.a('node.segments',[1,2]);
- Node233.a('node.color','rgba(255,128,0,1)');
- Node233.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node233.a('node.borderColor','rgba(255,128,0,1)');
- Node233.a('node.background','rgba(255,128,0,1)');
- Node233.a('node.gradient','');
- Node233.a('node.gradientcolor','rgba(255,128,0,1)');
- Node233.a('node.endCompspts',Node233endCompspts);
- Node233.a('node.startCompspts',Node233startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node233';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node233, Node233.getImage(), Node233compspts, Node233endCompspts, Node233startCompspts);
- var Node234points=[1540, 501,1540, 521],
- Node234rect=ht.Default.unionPoint([{x:1540,y:501},{x:1540,y:521}]),
- 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=[1740, 501,1740, 521],
- Node235rect=ht.Default.unionPoint([{x:1740,y:501},{x:1740,y:521}]),
- 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=[1640, 501,1640, 521],
- Node236rect=ht.Default.unionPoint([{x:1640,y:501},{x:1640,y:521}]),
- 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);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node237 = new ht.lib['矩形箭头上'](846*ratio.ratioX, 421*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node237');
- _libModel.add("Node237", Node237);
- Node237.setRotation(180*Math.PI/180);
- ;
- ;
- var Node238points=[848, 450,928, 450],
- Node238rect=ht.Default.unionPoint([{x:848,y:450},{x:928,y:450}]),
- Node238compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, 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=[928, 450,928, 440],
- Node239rect=ht.Default.unionPoint([{x:928,y:450},{x:928,y:440}]),
- Node239compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, 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);
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node240 = new ht.lib['黄色接地'](927*ratio.ratioX, 411*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node240');
- _libModel.add("Node240", Node240);
- Node240.setRotation(180*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node241 = new ht.lib['ss'](889*ratio.ratioX, 431*ratio.ratioY, 10*_ratio.ratioX, 44*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node241');
- _libModel.add("Node241", Node241);
- Node241.setRotation(0*Math.PI/180);
- ;
- ;
- var Node242points=[889, 463,889, 453],
- Node242rect=ht.Default.unionPoint([{x:889,y:463},{x:889,y:453}]),
- Node242compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, 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);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node243 = new ht.lib['img'](99*ratio.ratioX, 630*ratio.ratioY, 9*_ratio.ratioX, 10*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node243');
- _libModel.add("Node243", Node243);
- Node243.setRotation(0*Math.PI/180);
- ;
- ;
- var Node244points=[100, 761,100, 631],
- Node244rect=ht.Default.unionPoint([{x:100,y:761},{x:100,y:631}]),
- Node244compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, 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 = 1;
- 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=1;
- 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 = 1;
- 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);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node245 = new ht.Node();
- var Node245textStart, Node245textWidth, Node245lineStart, Node245align = 'left', Node245fontSize = 13.3333*_ratio.ratioY,Node245width = 50*_ratio.ratioX, Node245height = 24*_ratio.ratioY;
- (function () {
- if (Node245align === 'left') {
- Node245textStart = Node245fontSize * 0.2 > 2 ? Node245fontSize * 0.2 - 4 : Node245fontSize * 0.2 - 9;
- Node245textWidth = Node245width;
- Node245lineStart = 1;
- } else if (Node245align === 'right') {
- Node245textStart = 0;
- Node245textWidth =Node245fontSize <= 8 ? Node245width + Node245fontSize * 0.2 + 6 : Node245width - Node245fontSize * 0.2;
- Node245lineStart = (Node245width - (ht.Default.getTextSize('351-7', ' '+ Node245fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node245align === 'center') {
- Node245textStart = -3;
- Node245textWidth = Node245width;
- Node245lineStart = Node245width - ht.Default.getTextSize('351-7', ' '+ Node245fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node245.setImage(GD.getTextJSON(Node245width, Node245height, true, false, false, ' '+ Node245fontSize + 'px "Arial"'))
- Node245.setPosition(135*ratio.ratioX, 633*ratio.ratioY);
- Node245.setWidth(Node245width);
- Node245.setHeight(Node245height);
- Node245._nodeType = 'text';
- Node245._disallowEvert = true;
- Node245.setRotation(0*Math.PI/180);
- Node245.a('node.width', Node245width);
- Node245.a('node.height', Node245height);
- Node245.a('node.rect', [0, 0, Node245width, Node245height]);
- Node245.a('node.bordercolor','rgba(0,0,0,1)');
- Node245.a('node.borderwidth', 0);
- Node245.a('node.background','' || 'rgba(0,0,0,0)');
- Node245.a('node.gradient','');
- Node245.a('node.gradientcolor','');
- Node245.a('node.text','351-7');
- Node245.a('node.textalign','left');
- Node245.a('node.textvAlign','middle');
- Node245.a('node.textrect', [Node245textStart, 0, Node245textWidth, Node245height]);
- Node245.a('node.color','rgba(0,0,0,1)');
- Node245.a('node.font',' '+ Node245fontSize + 'px "Arial"');
- Node245.a('node.textvisible',true);
- Node245.a('node.linefeed',false);
- if (false) {
- Node245.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node245.a('node.text') || '351-7';
- var color=Node245.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node245width,Node245height,13.3333*_ratio.ratioY,"left",color,' '+ Node245fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node245.a('node.underlinepoints',[Node245lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node245fontSize + 2 , ht.Default.getTextSize('351-7', ' '+ Node245fontSize + 'px "Arial"').width + 6, (Node245height - Node245fontSize) * 0.5*_ratio.ratioY + Node245fontSize + 2 ]);
- Node245.a('node.underlinevisible',false);
- Node245.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node245);
- zoomNodeList.push({
- node: Node245,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node246points=[100, 741,130, 741],
- Node246rect=ht.Default.unionPoint([{x:100,y:741},{x:130,y:741}]),
- Node246compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, 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 = 1;
- 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=1;
- 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 = 1;
- 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(270*Math.PI/180, ratio);
- var Node247 = new ht.lib['黄色接地'](137*ratio.ratioX, 740*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 270*Math.PI/180, {}, function (){return {}}, 'Node247');
- _libModel.add("Node247", Node247);
- Node247.setRotation(270*Math.PI/180);
- ;
- ;
- var Node248points=[60, 801,300, 801],
- Node248rect=ht.Default.unionPoint([{x:60,y:801},{x:300,y:801}]),
- Node248compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node248points.length;i++){
- if(i%2==0){
- Node248compspts.push(Node248points[i]-Node248rect.x);
- }else{
- Node248compspts.push(Node248points[i]-Node248rect.y);
- }
- }
- var Node248ptslength=Node248compspts.length;
- if (Node248rect.height === 0) {
- Node248compspts[0] -= 0;
- Node248compspts[Node248ptslength-2] += 0;
- } else if (Node248rect.width === 0){
- Node248compspts[1] -= 0;
- Node248compspts[Node248ptslength-1] += 0;
- } else {
- Node248compspts[0] -= 0;
- Node248compspts[1] -= 0;
- Node248compspts[Node248ptslength-2] += 0;
- Node248compspts[Node248ptslength-1] += 0;
- }
- Node248 = new ht.Node();
- Node248.borderWidth = 3;
- Node248rect.width = Node248rect.width === 0 ? 0.0001 : Node248rect.width;
- Node248rect.height = Node248rect.height === 0 ? 0.0001 : Node248rect.height;
- var Node248endCompspts = [Node248compspts[Node248ptslength-2],Node248compspts[Node248ptslength-1],0,0];
- var Node248startCompspts = [Node248compspts[0],Node248compspts[1],0,0];
- Node248.setImage(GD.getPolyLineJSON());
- Node248.setPosition(Node248rect.x+Node248rect.width/2,Node248rect.y+Node248rect.height/2);
- Node248.setSize(Node248rect.width,Node248rect.height);
- Node248.setStyle("opacity",1);
- Node248.s({'pixelPerfect':true});
- Node248borderwidth=3;
- Node248.setRotation(0);
- dataModel.add(Node248);
- Node248.a('node.points',Node248compspts);
- Node248.a('node.segments',[1,2]);
- Node248.a('node.color','rgba(255,128,0,1)');
- Node248.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node248.a('node.borderColor','rgba(255,128,0,1)');
- Node248.a('node.background','rgba(255,128,0,1)');
- Node248.a('node.gradient','');
- Node248.a('node.gradientcolor','rgba(255,128,0,1)');
- Node248.a('node.endCompspts',Node248endCompspts);
- Node248.a('node.startCompspts',Node248startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.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 = 'Node248';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node248, Node248.getImage(), Node248compspts, Node248endCompspts, Node248startCompspts);
- var Node249points=[270, 801,270, 791],
- Node249rect=ht.Default.unionPoint([{x:270,y:801},{x:270,y:791}]),
- Node249compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node249points.length;i++){
- if(i%2==0){
- Node249compspts.push(Node249points[i]-Node249rect.x);
- }else{
- Node249compspts.push(Node249points[i]-Node249rect.y);
- }
- }
- var Node249ptslength=Node249compspts.length;
- if (Node249rect.height === 0) {
- Node249compspts[0] -= 0;
- Node249compspts[Node249ptslength-2] += 0;
- } else if (Node249rect.width === 0){
- Node249compspts[1] -= 0;
- Node249compspts[Node249ptslength-1] += 0;
- } else {
- Node249compspts[0] -= 0;
- Node249compspts[1] -= 0;
- Node249compspts[Node249ptslength-2] += 0;
- Node249compspts[Node249ptslength-1] += 0;
- }
- Node249 = new ht.Node();
- Node249.borderWidth = 1;
- Node249rect.width = Node249rect.width === 0 ? 0.0001 : Node249rect.width;
- Node249rect.height = Node249rect.height === 0 ? 0.0001 : Node249rect.height;
- var Node249endCompspts = [Node249compspts[Node249ptslength-2],Node249compspts[Node249ptslength-1],0,0];
- var Node249startCompspts = [Node249compspts[0],Node249compspts[1],0,0];
- Node249.setImage(GD.getPolyLineJSON());
- Node249.setPosition(Node249rect.x+Node249rect.width/2,Node249rect.y+Node249rect.height/2);
- Node249.setSize(Node249rect.width,Node249rect.height);
- Node249.setStyle("opacity",1);
- Node249.s({'pixelPerfect':true});
- Node249borderwidth=1;
- Node249.setRotation(0);
- dataModel.add(Node249);
- Node249.a('node.points',Node249compspts);
- Node249.a('node.segments',[1,2]);
- Node249.a('node.color','rgba(255,128,0,1)');
- Node249.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node249.a('node.borderColor','rgba(255,128,0,1)');
- Node249.a('node.background','rgba(255,128,0,1)');
- Node249.a('node.gradient','');
- Node249.a('node.gradientcolor','rgba(255,128,0,1)');
- Node249.a('node.endCompspts',Node249endCompspts);
- Node249.a('node.startCompspts',Node249startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node249';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node249, Node249.getImage(), Node249compspts, Node249endCompspts, Node249startCompspts);
- var Node250points=[100, 801,100, 791],
- Node250rect=ht.Default.unionPoint([{x:100,y:801},{x:100,y:791}]),
- Node250compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node250points.length;i++){
- if(i%2==0){
- Node250compspts.push(Node250points[i]-Node250rect.x);
- }else{
- Node250compspts.push(Node250points[i]-Node250rect.y);
- }
- }
- var Node250ptslength=Node250compspts.length;
- if (Node250rect.height === 0) {
- Node250compspts[0] -= 0;
- Node250compspts[Node250ptslength-2] += 0;
- } else if (Node250rect.width === 0){
- Node250compspts[1] -= 0;
- Node250compspts[Node250ptslength-1] += 0;
- } else {
- Node250compspts[0] -= 0;
- Node250compspts[1] -= 0;
- Node250compspts[Node250ptslength-2] += 0;
- Node250compspts[Node250ptslength-1] += 0;
- }
- Node250 = new ht.Node();
- Node250.borderWidth = 1;
- Node250rect.width = Node250rect.width === 0 ? 0.0001 : Node250rect.width;
- Node250rect.height = Node250rect.height === 0 ? 0.0001 : Node250rect.height;
- var Node250endCompspts = [Node250compspts[Node250ptslength-2],Node250compspts[Node250ptslength-1],0,0];
- var Node250startCompspts = [Node250compspts[0],Node250compspts[1],0,0];
- Node250.setImage(GD.getPolyLineJSON());
- Node250.setPosition(Node250rect.x+Node250rect.width/2,Node250rect.y+Node250rect.height/2);
- Node250.setSize(Node250rect.width,Node250rect.height);
- Node250.setStyle("opacity",1);
- Node250.s({'pixelPerfect':true});
- Node250borderwidth=1;
- Node250.setRotation(0);
- dataModel.add(Node250);
- Node250.a('node.points',Node250compspts);
- Node250.a('node.segments',[1,2]);
- Node250.a('node.color','rgba(255,128,0,1)');
- Node250.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node250.a('node.borderColor','rgba(255,128,0,1)');
- Node250.a('node.background','rgba(255,128,0,1)');
- Node250.a('node.gradient','');
- Node250.a('node.gradientcolor','rgba(255,128,0,1)');
- Node250.a('node.endCompspts',Node250endCompspts);
- Node250.a('node.startCompspts',Node250startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node250';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node250, Node250.getImage(), Node250compspts, Node250endCompspts, Node250startCompspts);
- _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 = 30*_ratio.ratioX, Node251height = 16*_ratio.ratioY;
- (function () {
- if (Node251align === 'left') {
- Node251textStart = Node251fontSize * 0.2 > 2 ? Node251fontSize * 0.2 - 4 : Node251fontSize * 0.2 - 9;
- Node251textWidth = Node251width;
- Node251lineStart = 1;
- } else if (Node251align === 'right') {
- Node251textStart = 0;
- Node251textWidth =Node251fontSize <= 8 ? Node251width + Node251fontSize * 0.2 + 6 : Node251width - Node251fontSize * 0.2;
- Node251lineStart = (Node251width - (ht.Default.getTextSize('411', ' '+ Node251fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node251align === 'center') {
- Node251textStart = -3;
- Node251textWidth = Node251width;
- Node251lineStart = Node251width - ht.Default.getTextSize('411', ' '+ Node251fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node251.setImage(GD.getTextJSON(Node251width, Node251height, true, false, false, ' '+ Node251fontSize + 'px "Arial"'))
- Node251.setPosition(81*ratio.ratioX, 777*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','411');
- 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') || '411';
- var color=Node251.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node251width,Node251height,13.3333*_ratio.ratioY,"left",color,' '+ Node251fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node251.a('node.underlinepoints',[Node251lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node251fontSize + 2 , ht.Default.getTextSize('411', ' '+ 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'
- }); var Node252points=[270, 761,270, 731],
- Node252rect=ht.Default.unionPoint([{x:270,y:761},{x:270,y:731}]),
- Node252compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node252points.length;i++){
- if(i%2==0){
- Node252compspts.push(Node252points[i]-Node252rect.x);
- }else{
- Node252compspts.push(Node252points[i]-Node252rect.y);
- }
- }
- var Node252ptslength=Node252compspts.length;
- if (Node252rect.height === 0) {
- Node252compspts[0] -= 0;
- Node252compspts[Node252ptslength-2] += 0;
- } else if (Node252rect.width === 0){
- Node252compspts[1] -= 0;
- Node252compspts[Node252ptslength-1] += 0;
- } else {
- Node252compspts[0] -= 0;
- Node252compspts[1] -= 0;
- Node252compspts[Node252ptslength-2] += 0;
- Node252compspts[Node252ptslength-1] += 0;
- }
- Node252 = new ht.Node();
- Node252.borderWidth = 1;
- Node252rect.width = Node252rect.width === 0 ? 0.0001 : Node252rect.width;
- Node252rect.height = Node252rect.height === 0 ? 0.0001 : Node252rect.height;
- var Node252endCompspts = [Node252compspts[Node252ptslength-2],Node252compspts[Node252ptslength-1],0,0];
- var Node252startCompspts = [Node252compspts[0],Node252compspts[1],0,0];
- Node252.setImage(GD.getPolyLineJSON());
- Node252.setPosition(Node252rect.x+Node252rect.width/2,Node252rect.y+Node252rect.height/2);
- Node252.setSize(Node252rect.width,Node252rect.height);
- Node252.setStyle("opacity",1);
- Node252.s({'pixelPerfect':true});
- Node252borderwidth=1;
- Node252.setRotation(0);
- dataModel.add(Node252);
- Node252.a('node.points',Node252compspts);
- Node252.a('node.segments',[1,2]);
- Node252.a('node.color','rgba(255,128,0,1)');
- Node252.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node252.a('node.borderColor','rgba(255,128,0,1)');
- Node252.a('node.background','rgba(255,128,0,1)');
- Node252.a('node.gradient','');
- Node252.a('node.gradientcolor','rgba(255,128,0,1)');
- Node252.a('node.endCompspts',Node252endCompspts);
- Node252.a('node.startCompspts',Node252startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node252';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node252, Node252.getImage(), Node252compspts, Node252endCompspts, Node252startCompspts);
- _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 = 30*_ratio.ratioX, Node253height = 16*_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('400', ' '+ Node253fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node253align === 'center') {
- Node253textStart = -3;
- Node253textWidth = Node253width;
- Node253lineStart = Node253width - ht.Default.getTextSize('400', ' '+ Node253fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node253.setImage(GD.getTextJSON(Node253width, Node253height, true, false, false, ' '+ Node253fontSize + 'px "Arial"'))
- Node253.setPosition(241*ratio.ratioX, 777*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','400');
- 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') || '400';
- 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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node253fontSize + 2 , ht.Default.getTextSize('400', ' '+ 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'
- }); var Node254points=[380, 801,380, 801],
- Node254rect=ht.Default.unionPoint([{x:380,y:801},{x:380,y:801}]),
- Node254compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node254points.length;i++){
- if(i%2==0){
- Node254compspts.push(Node254points[i]-Node254rect.x);
- }else{
- Node254compspts.push(Node254points[i]-Node254rect.y);
- }
- }
- var Node254ptslength=Node254compspts.length;
- if (Node254rect.height === 0) {
- Node254compspts[0] -= 0;
- Node254compspts[Node254ptslength-2] += 0;
- } else if (Node254rect.width === 0){
- Node254compspts[1] -= 0;
- Node254compspts[Node254ptslength-1] += 0;
- } else {
- Node254compspts[0] -= 0;
- Node254compspts[1] -= 0;
- Node254compspts[Node254ptslength-2] += 0;
- Node254compspts[Node254ptslength-1] += 0;
- }
- Node254 = new ht.Node();
- Node254.borderWidth = 1;
- Node254rect.width = Node254rect.width === 0 ? 0.0001 : Node254rect.width;
- Node254rect.height = Node254rect.height === 0 ? 0.0001 : Node254rect.height;
- var Node254endCompspts = [Node254compspts[Node254ptslength-2],Node254compspts[Node254ptslength-1],0,0];
- var Node254startCompspts = [Node254compspts[0],Node254compspts[1],0,0];
- Node254.setImage(GD.getPolyLineJSON());
- Node254.setPosition(Node254rect.x+Node254rect.width/2,Node254rect.y+Node254rect.height/2);
- Node254.setSize(Node254rect.width,Node254rect.height);
- Node254.setStyle("opacity",1);
- Node254.s({'pixelPerfect':true});
- Node254borderwidth=1;
- Node254.setRotation(0);
- dataModel.add(Node254);
- Node254.a('node.points',Node254compspts);
- Node254.a('node.segments',[1,2]);
- Node254.a('node.color','rgba(0,0,0,1)');
- Node254.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node254.a('node.borderColor','rgba(0,0,0,1)');
- Node254.a('node.background','rgba(0,0,0,1)');
- Node254.a('node.gradient','');
- Node254.a('node.gradientcolor','rgba(0,0,0,1)');
- Node254.a('node.endCompspts',Node254endCompspts);
- Node254.a('node.startCompspts',Node254startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node254';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node254, Node254.getImage(), Node254compspts, Node254endCompspts, Node254startCompspts);
- var Node255points=[370, 801,600, 801],
- Node255rect=ht.Default.unionPoint([{x:370,y:801},{x:600,y:801}]),
- Node255compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node255points.length;i++){
- if(i%2==0){
- Node255compspts.push(Node255points[i]-Node255rect.x);
- }else{
- Node255compspts.push(Node255points[i]-Node255rect.y);
- }
- }
- var Node255ptslength=Node255compspts.length;
- if (Node255rect.height === 0) {
- Node255compspts[0] -= 0;
- Node255compspts[Node255ptslength-2] += 0;
- } else if (Node255rect.width === 0){
- Node255compspts[1] -= 0;
- Node255compspts[Node255ptslength-1] += 0;
- } else {
- Node255compspts[0] -= 0;
- Node255compspts[1] -= 0;
- Node255compspts[Node255ptslength-2] += 0;
- Node255compspts[Node255ptslength-1] += 0;
- }
- Node255 = new ht.Node();
- Node255.borderWidth = 3;
- Node255rect.width = Node255rect.width === 0 ? 0.0001 : Node255rect.width;
- Node255rect.height = Node255rect.height === 0 ? 0.0001 : Node255rect.height;
- var Node255endCompspts = [Node255compspts[Node255ptslength-2],Node255compspts[Node255ptslength-1],0,0];
- var Node255startCompspts = [Node255compspts[0],Node255compspts[1],0,0];
- Node255.setImage(GD.getPolyLineJSON());
- Node255.setPosition(Node255rect.x+Node255rect.width/2,Node255rect.y+Node255rect.height/2);
- Node255.setSize(Node255rect.width,Node255rect.height);
- Node255.setStyle("opacity",1);
- Node255.s({'pixelPerfect':true});
- Node255borderwidth=3;
- Node255.setRotation(0);
- dataModel.add(Node255);
- Node255.a('node.points',Node255compspts);
- Node255.a('node.segments',[1,2]);
- Node255.a('node.color','rgba(255,128,0,1)');
- Node255.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node255.a('node.borderColor','rgba(255,128,0,1)');
- Node255.a('node.background','rgba(255,128,0,1)');
- Node255.a('node.gradient','');
- Node255.a('node.gradientcolor','rgba(255,128,0,1)');
- Node255.a('node.endCompspts',Node255endCompspts);
- Node255.a('node.startCompspts',Node255startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.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 = 'Node255';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node255, Node255.getImage(), Node255compspts, Node255endCompspts, Node255startCompspts);
- var Node256points=[270, 731,400, 731],
- Node256rect=ht.Default.unionPoint([{x:270,y:731},{x:400,y:731}]),
- Node256compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node256points.length;i++){
- if(i%2==0){
- Node256compspts.push(Node256points[i]-Node256rect.x);
- }else{
- Node256compspts.push(Node256points[i]-Node256rect.y);
- }
- }
- var Node256ptslength=Node256compspts.length;
- if (Node256rect.height === 0) {
- Node256compspts[0] -= 0;
- Node256compspts[Node256ptslength-2] += 0;
- } else if (Node256rect.width === 0){
- Node256compspts[1] -= 0;
- Node256compspts[Node256ptslength-1] += 0;
- } else {
- Node256compspts[0] -= 0;
- Node256compspts[1] -= 0;
- Node256compspts[Node256ptslength-2] += 0;
- Node256compspts[Node256ptslength-1] += 0;
- }
- Node256 = new ht.Node();
- Node256.borderWidth = 1;
- Node256rect.width = Node256rect.width === 0 ? 0.0001 : Node256rect.width;
- Node256rect.height = Node256rect.height === 0 ? 0.0001 : Node256rect.height;
- var Node256endCompspts = [Node256compspts[Node256ptslength-2],Node256compspts[Node256ptslength-1],0,0];
- var Node256startCompspts = [Node256compspts[0],Node256compspts[1],0,0];
- Node256.setImage(GD.getPolyLineJSON());
- Node256.setPosition(Node256rect.x+Node256rect.width/2,Node256rect.y+Node256rect.height/2);
- Node256.setSize(Node256rect.width,Node256rect.height);
- Node256.setStyle("opacity",1);
- Node256.s({'pixelPerfect':true});
- Node256borderwidth=1;
- Node256.setRotation(0);
- dataModel.add(Node256);
- Node256.a('node.points',Node256compspts);
- Node256.a('node.segments',[1,2]);
- Node256.a('node.color','rgba(255,128,0,1)');
- Node256.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node256.a('node.borderColor','rgba(255,128,0,1)');
- Node256.a('node.background','rgba(255,128,0,1)');
- Node256.a('node.gradient','');
- Node256.a('node.gradientcolor','rgba(255,128,0,1)');
- Node256.a('node.endCompspts',Node256endCompspts);
- Node256.a('node.startCompspts',Node256startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node256';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node256, Node256.getImage(), Node256compspts, Node256endCompspts, Node256startCompspts);
- var Node257points=[400, 731,400, 801],
- Node257rect=ht.Default.unionPoint([{x:400,y:731},{x:400,y:801}]),
- Node257compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node257points.length;i++){
- if(i%2==0){
- Node257compspts.push(Node257points[i]-Node257rect.x);
- }else{
- Node257compspts.push(Node257points[i]-Node257rect.y);
- }
- }
- var Node257ptslength=Node257compspts.length;
- if (Node257rect.height === 0) {
- Node257compspts[0] -= 0;
- Node257compspts[Node257ptslength-2] += 0;
- } else if (Node257rect.width === 0){
- Node257compspts[1] -= 0;
- Node257compspts[Node257ptslength-1] += 0;
- } else {
- Node257compspts[0] -= 0;
- Node257compspts[1] -= 0;
- Node257compspts[Node257ptslength-2] += 0;
- Node257compspts[Node257ptslength-1] += 0;
- }
- Node257 = new ht.Node();
- Node257.borderWidth = 1;
- Node257rect.width = Node257rect.width === 0 ? 0.0001 : Node257rect.width;
- Node257rect.height = Node257rect.height === 0 ? 0.0001 : Node257rect.height;
- var Node257endCompspts = [Node257compspts[Node257ptslength-2],Node257compspts[Node257ptslength-1],0,0];
- var Node257startCompspts = [Node257compspts[0],Node257compspts[1],0,0];
- Node257.setImage(GD.getPolyLineJSON());
- Node257.setPosition(Node257rect.x+Node257rect.width/2,Node257rect.y+Node257rect.height/2);
- Node257.setSize(Node257rect.width,Node257rect.height);
- Node257.setStyle("opacity",1);
- Node257.s({'pixelPerfect':true});
- Node257borderwidth=1;
- Node257.setRotation(0);
- dataModel.add(Node257);
- Node257.a('node.points',Node257compspts);
- Node257.a('node.segments',[1,2]);
- Node257.a('node.color','rgba(255,168,0,1)');
- Node257.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node257.a('node.borderColor','rgba(255,168,0,1)');
- Node257.a('node.background','rgba(255,168,0,1)');
- Node257.a('node.gradient','');
- Node257.a('node.gradientcolor','rgba(255,168,0,1)');
- Node257.a('node.endCompspts',Node257endCompspts);
- Node257.a('node.startCompspts',Node257startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node257';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node257, Node257.getImage(), Node257compspts, Node257endCompspts, Node257startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node258_0= new ht.Node();
- Node258_0._borderWidth = 1;
- Node258_0.setImage({
- width: 70*_ratio.ratioX,
- height:40*_ratio.ratioY,
- clip:function(g, width, height, data){
- drawRoundRect(g,0,0,width,height,3,3,'rgba(255,128,0,1)', Node258_0._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 70*_ratio.ratioX, 40*_ratio.ratioY], func: 'attr@Node258_0.rect'},
- background:{value:'rgba(255,255,255,0.003921569)', func: 'attr@Node258_0.background'},
- gradient: {value:'', func: 'attr@Node258_0.gradient'},
- gradientColor:{value:'', func: 'attr@Node258_0.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node258_0.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node258_0.fillrect'},
- background: {value: 'rgba(255,255,255,0.003921569)', func: 'attr@Node258_0.fillbackcolor'},
- gradientColor: {value: '', func: 'attr@Node258_0.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node258_0.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,70*_ratio.ratioX, 40*_ratio.ratioY], func: 'attr@Node258_0.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node258_0.borderwidth'},
- borderColor: {value: 'rgba(255,128,0,1)', func: 'attr@Node258_0.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node258_0.borderPattern'}
- }
- ]
- });
- var Node258_0borderwidth = 1;
- var Node258_0borderFillwidth = 1*2;
- Node258_0 .setPosition(225*ratio.ratioX,831*ratio.ratioY);
- Node258_0.setSize(70*_ratio.ratioX, 40*_ratio.ratioY);
- Node258_0.setRotation(0*Math.PI/180);
- Node258_0.s({'pixelPerfect':true});
- Node258_0.a('Node258_0.borderwidth',1);
- Node258_0.a('Node258_0.color','@bordercolor@');
- Node258_0.a('Node258_0.background','rgba(255,255,255,0.003921569)');
- Node258_0.a('Node258_0.gradient','');
- Node258_0.a('Node258_0.gradientcolor','');
- Node258_0.a('Node258_0.borderPattern',getDashStyle("Solid"));
- Node258_0.a('Node258_0.fillrect',[0,0,0,0]);
- Node258_0.a('Node258_0.fillbackcolor','rgba(0, 0, 0, 0)');
- Node258_0.a('Node258_0.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node258_0.a('Node258_0.fillgradient','');
- Node258_0borderwidth=1;
- dataModel.add(Node258_0);
- Node258_0.borderWidth = 1;
- Node258_0.borderFillwidth = 1*2;
- Node258_0._nodename = 'Node258_0';
- Node258_0._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node258_0,
- attr: 'Node258_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('Node258_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('Node258_0.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node258_0, Node258_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node258_1 = new ht.Node();
- var Node258_1textStart, Node258_1textWidth, Node258_1lineStart, Node258_1align = 'left', Node258_1fontSize = 13.3333*_ratio.ratioY,Node258_1width = 34*_ratio.ratioX, Node258_1height = 16*_ratio.ratioY;
- (function () {
- if (Node258_1align === 'left') {
- Node258_1textStart = Node258_1fontSize * 0.2 > 2 ? Node258_1fontSize * 0.2 - 4 : Node258_1fontSize * 0.2 - 9;
- Node258_1textWidth = Node258_1width;
- Node258_1lineStart = 1;
- } else if (Node258_1align === 'right') {
- Node258_1textStart = 0;
- Node258_1textWidth =Node258_1fontSize <= 8 ? Node258_1width + Node258_1fontSize * 0.2 + 6 : Node258_1width - Node258_1fontSize * 0.2;
- Node258_1lineStart = (Node258_1width - (ht.Default.getTextSize('就地', ' '+ Node258_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node258_1align === 'center') {
- Node258_1textStart = -3;
- Node258_1textWidth = Node258_1width;
- Node258_1lineStart = Node258_1width - ht.Default.getTextSize('就地', ' '+ Node258_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node258_1.setImage(GD.getTextJSON(Node258_1width, Node258_1height, true, false, false, ' '+ Node258_1fontSize + 'px "Arial"'))
- Node258_1.setPosition(241*ratio.ratioX, 825*ratio.ratioY);
- Node258_1.setWidth(Node258_1width);
- Node258_1.setHeight(Node258_1height);
- Node258_1._nodeType = 'text';
- Node258_1._disallowEvert = true;
- Node258_1.setRotation(0*Math.PI/180);
- Node258_1.a('node.width', Node258_1width);
- Node258_1.a('node.height', Node258_1height);
- Node258_1.a('node.rect', [0, 0, Node258_1width, Node258_1height]);
- Node258_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node258_1.a('node.borderwidth', 0);
- Node258_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node258_1.a('node.gradient','');
- Node258_1.a('node.gradientcolor','');
- Node258_1.a('node.text','就地');
- Node258_1.a('node.textalign','left');
- Node258_1.a('node.textvAlign','middle');
- Node258_1.a('node.textrect', [Node258_1textStart, 0, Node258_1textWidth, Node258_1height]);
- Node258_1.a('node.color','rgba(0,0,0,1)');
- Node258_1.a('node.font',' '+ Node258_1fontSize + 'px "Arial"');
- Node258_1.a('node.textvisible',true);
- Node258_1.a('node.linefeed',false);
- if (false) {
- Node258_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node258_1.a('node.text') || '就地';
- var color=Node258_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node258_1width,Node258_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node258_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node258_1.a('node.underlinepoints',[Node258_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node258_1fontSize + 2 , ht.Default.getTextSize('就地', ' '+ Node258_1fontSize + 'px "Arial"').width + 6, (Node258_1height - Node258_1fontSize) * 0.5*_ratio.ratioY + Node258_1fontSize + 2 ]);
- Node258_1.a('node.underlinevisible',false);
- Node258_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node258_1);
- zoomNodeList.push({
- node: Node258_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node258_2 = new ht.Node();
- var Node258_2textStart, Node258_2textWidth, Node258_2lineStart, Node258_2align = 'left', Node258_2fontSize = 13.3333*_ratio.ratioY,Node258_2width = 34*_ratio.ratioX, Node258_2height = 16*_ratio.ratioY;
- (function () {
- if (Node258_2align === 'left') {
- Node258_2textStart = Node258_2fontSize * 0.2 > 2 ? Node258_2fontSize * 0.2 - 4 : Node258_2fontSize * 0.2 - 9;
- Node258_2textWidth = Node258_2width;
- Node258_2lineStart = 1;
- } else if (Node258_2align === 'right') {
- Node258_2textStart = 0;
- Node258_2textWidth =Node258_2fontSize <= 8 ? Node258_2width + Node258_2fontSize * 0.2 + 6 : Node258_2width - Node258_2fontSize * 0.2;
- Node258_2lineStart = (Node258_2width - (ht.Default.getTextSize('远方', ' '+ Node258_2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node258_2align === 'center') {
- Node258_2textStart = -3;
- Node258_2textWidth = Node258_2width;
- Node258_2lineStart = Node258_2width - ht.Default.getTextSize('远方', ' '+ Node258_2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node258_2.setImage(GD.getTextJSON(Node258_2width, Node258_2height, true, false, false, ' '+ Node258_2fontSize + 'px "Arial"'))
- Node258_2.setPosition(209*ratio.ratioX, 843*ratio.ratioY);
- Node258_2.setWidth(Node258_2width);
- Node258_2.setHeight(Node258_2height);
- Node258_2._nodeType = 'text';
- Node258_2._disallowEvert = true;
- Node258_2.setRotation(0*Math.PI/180);
- Node258_2.a('node.width', Node258_2width);
- Node258_2.a('node.height', Node258_2height);
- Node258_2.a('node.rect', [0, 0, Node258_2width, Node258_2height]);
- Node258_2.a('node.bordercolor','rgba(0,0,0,1)');
- Node258_2.a('node.borderwidth', 0);
- Node258_2.a('node.background','' || 'rgba(0,0,0,0)');
- Node258_2.a('node.gradient','');
- Node258_2.a('node.gradientcolor','');
- Node258_2.a('node.text','远方');
- Node258_2.a('node.textalign','left');
- Node258_2.a('node.textvAlign','middle');
- Node258_2.a('node.textrect', [Node258_2textStart, 0, Node258_2textWidth, Node258_2height]);
- Node258_2.a('node.color','rgba(0,0,0,1)');
- Node258_2.a('node.font',' '+ Node258_2fontSize + 'px "Arial"');
- Node258_2.a('node.textvisible',true);
- Node258_2.a('node.linefeed',false);
- if (false) {
- Node258_2.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node258_2.a('node.text') || '远方';
- var color=Node258_2.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node258_2width,Node258_2height,13.3333*_ratio.ratioY,"left",color,' '+ Node258_2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node258_2.a('node.underlinepoints',[Node258_2lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node258_2fontSize + 2 , ht.Default.getTextSize('远方', ' '+ Node258_2fontSize + 'px "Arial"').width + 6, (Node258_2height - Node258_2fontSize) * 0.5*_ratio.ratioY + Node258_2fontSize + 2 ]);
- Node258_2.a('node.underlinevisible',false);
- Node258_2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node258_2);
- zoomNodeList.push({
- node: Node258_2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node259_0= new ht.Node();
- Node259_0._borderWidth = 1;
- Node259_0.setImage({
- width: 70*_ratio.ratioX,
- height:40*_ratio.ratioY,
- clip:function(g, width, height, data){
- drawRoundRect(g,0,0,width,height,3,3,'rgba(255,128,0,1)', Node259_0._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 70*_ratio.ratioX, 40*_ratio.ratioY], func: 'attr@Node259_0.rect'},
- background:{value:'rgba(255,255,255,0.003921569)', func: 'attr@Node259_0.background'},
- gradient: {value:'', func: 'attr@Node259_0.gradient'},
- gradientColor:{value:'', func: 'attr@Node259_0.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node259_0.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node259_0.fillrect'},
- background: {value: 'rgba(255,255,255,0.003921569)', func: 'attr@Node259_0.fillbackcolor'},
- gradientColor: {value: '', func: 'attr@Node259_0.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node259_0.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,70*_ratio.ratioX, 40*_ratio.ratioY], func: 'attr@Node259_0.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node259_0.borderwidth'},
- borderColor: {value: 'rgba(255,128,0,1)', func: 'attr@Node259_0.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node259_0.borderPattern'}
- }
- ]
- });
- var Node259_0borderwidth = 1;
- var Node259_0borderFillwidth = 1*2;
- Node259_0 .setPosition(455*ratio.ratioX,771*ratio.ratioY);
- Node259_0.setSize(70*_ratio.ratioX, 40*_ratio.ratioY);
- Node259_0.setRotation(0*Math.PI/180);
- Node259_0.s({'pixelPerfect':true});
- Node259_0.a('Node259_0.borderwidth',1);
- Node259_0.a('Node259_0.color','@bordercolor@');
- Node259_0.a('Node259_0.background','rgba(255,255,255,0.003921569)');
- Node259_0.a('Node259_0.gradient','');
- Node259_0.a('Node259_0.gradientcolor','');
- Node259_0.a('Node259_0.borderPattern',getDashStyle("Solid"));
- Node259_0.a('Node259_0.fillrect',[0,0,0,0]);
- Node259_0.a('Node259_0.fillbackcolor','rgba(0, 0, 0, 0)');
- Node259_0.a('Node259_0.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node259_0.a('Node259_0.fillgradient','');
- Node259_0borderwidth=1;
- dataModel.add(Node259_0);
- Node259_0.borderWidth = 1;
- Node259_0.borderFillwidth = 1*2;
- Node259_0._nodename = 'Node259_0';
- Node259_0._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node259_0,
- attr: 'Node259_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('Node259_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('Node259_0.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node259_0, Node259_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node259_1 = new ht.Node();
- var Node259_1textStart, Node259_1textWidth, Node259_1lineStart, Node259_1align = 'left', Node259_1fontSize = 13.3333*_ratio.ratioY,Node259_1width = 34*_ratio.ratioX, Node259_1height = 16*_ratio.ratioY;
- (function () {
- if (Node259_1align === 'left') {
- Node259_1textStart = Node259_1fontSize * 0.2 > 2 ? Node259_1fontSize * 0.2 - 4 : Node259_1fontSize * 0.2 - 9;
- Node259_1textWidth = Node259_1width;
- Node259_1lineStart = 1;
- } else if (Node259_1align === 'right') {
- Node259_1textStart = 0;
- Node259_1textWidth =Node259_1fontSize <= 8 ? Node259_1width + Node259_1fontSize * 0.2 + 6 : Node259_1width - Node259_1fontSize * 0.2;
- Node259_1lineStart = (Node259_1width - (ht.Default.getTextSize('就地', ' '+ Node259_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node259_1align === 'center') {
- Node259_1textStart = -3;
- Node259_1textWidth = Node259_1width;
- Node259_1lineStart = Node259_1width - ht.Default.getTextSize('就地', ' '+ Node259_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node259_1.setImage(GD.getTextJSON(Node259_1width, Node259_1height, true, false, false, ' '+ Node259_1fontSize + 'px "Arial"'))
- Node259_1.setPosition(471*ratio.ratioX, 765*ratio.ratioY);
- Node259_1.setWidth(Node259_1width);
- Node259_1.setHeight(Node259_1height);
- Node259_1._nodeType = 'text';
- Node259_1._disallowEvert = true;
- Node259_1.setRotation(0*Math.PI/180);
- Node259_1.a('node.width', Node259_1width);
- Node259_1.a('node.height', Node259_1height);
- Node259_1.a('node.rect', [0, 0, Node259_1width, Node259_1height]);
- Node259_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node259_1.a('node.borderwidth', 0);
- Node259_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node259_1.a('node.gradient','');
- Node259_1.a('node.gradientcolor','');
- Node259_1.a('node.text','就地');
- Node259_1.a('node.textalign','left');
- Node259_1.a('node.textvAlign','middle');
- Node259_1.a('node.textrect', [Node259_1textStart, 0, Node259_1textWidth, Node259_1height]);
- Node259_1.a('node.color','rgba(0,0,0,1)');
- Node259_1.a('node.font',' '+ Node259_1fontSize + 'px "Arial"');
- Node259_1.a('node.textvisible',true);
- Node259_1.a('node.linefeed',false);
- if (false) {
- Node259_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node259_1.a('node.text') || '就地';
- var color=Node259_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node259_1width,Node259_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node259_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node259_1.a('node.underlinepoints',[Node259_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node259_1fontSize + 2 , ht.Default.getTextSize('就地', ' '+ Node259_1fontSize + 'px "Arial"').width + 6, (Node259_1height - Node259_1fontSize) * 0.5*_ratio.ratioY + Node259_1fontSize + 2 ]);
- Node259_1.a('node.underlinevisible',false);
- Node259_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node259_1);
- zoomNodeList.push({
- node: Node259_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node259_2 = new ht.Node();
- var Node259_2textStart, Node259_2textWidth, Node259_2lineStart, Node259_2align = 'left', Node259_2fontSize = 13.3333*_ratio.ratioY,Node259_2width = 34*_ratio.ratioX, Node259_2height = 16*_ratio.ratioY;
- (function () {
- if (Node259_2align === 'left') {
- Node259_2textStart = Node259_2fontSize * 0.2 > 2 ? Node259_2fontSize * 0.2 - 4 : Node259_2fontSize * 0.2 - 9;
- Node259_2textWidth = Node259_2width;
- Node259_2lineStart = 1;
- } else if (Node259_2align === 'right') {
- Node259_2textStart = 0;
- Node259_2textWidth =Node259_2fontSize <= 8 ? Node259_2width + Node259_2fontSize * 0.2 + 6 : Node259_2width - Node259_2fontSize * 0.2;
- Node259_2lineStart = (Node259_2width - (ht.Default.getTextSize('远方', ' '+ Node259_2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node259_2align === 'center') {
- Node259_2textStart = -3;
- Node259_2textWidth = Node259_2width;
- Node259_2lineStart = Node259_2width - ht.Default.getTextSize('远方', ' '+ Node259_2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node259_2.setImage(GD.getTextJSON(Node259_2width, Node259_2height, true, false, false, ' '+ Node259_2fontSize + 'px "Arial"'))
- Node259_2.setPosition(439*ratio.ratioX, 783*ratio.ratioY);
- Node259_2.setWidth(Node259_2width);
- Node259_2.setHeight(Node259_2height);
- Node259_2._nodeType = 'text';
- Node259_2._disallowEvert = true;
- Node259_2.setRotation(0*Math.PI/180);
- Node259_2.a('node.width', Node259_2width);
- Node259_2.a('node.height', Node259_2height);
- Node259_2.a('node.rect', [0, 0, Node259_2width, Node259_2height]);
- Node259_2.a('node.bordercolor','rgba(0,0,0,1)');
- Node259_2.a('node.borderwidth', 0);
- Node259_2.a('node.background','' || 'rgba(0,0,0,0)');
- Node259_2.a('node.gradient','');
- Node259_2.a('node.gradientcolor','');
- Node259_2.a('node.text','远方');
- Node259_2.a('node.textalign','left');
- Node259_2.a('node.textvAlign','middle');
- Node259_2.a('node.textrect', [Node259_2textStart, 0, Node259_2textWidth, Node259_2height]);
- Node259_2.a('node.color','rgba(0,0,0,1)');
- Node259_2.a('node.font',' '+ Node259_2fontSize + 'px "Arial"');
- Node259_2.a('node.textvisible',true);
- Node259_2.a('node.linefeed',false);
- if (false) {
- Node259_2.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node259_2.a('node.text') || '远方';
- var color=Node259_2.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node259_2width,Node259_2height,13.3333*_ratio.ratioY,"left",color,' '+ Node259_2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node259_2.a('node.underlinepoints',[Node259_2lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node259_2fontSize + 2 , ht.Default.getTextSize('远方', ' '+ Node259_2fontSize + 'px "Arial"').width + 6, (Node259_2height - Node259_2fontSize) * 0.5*_ratio.ratioY + Node259_2fontSize + 2 ]);
- Node259_2.a('node.underlinevisible',false);
- Node259_2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node259_2);
- zoomNodeList.push({
- node: Node259_2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node260_0 = new ht.Node();
- var Node260_0textStart, Node260_0textWidth, Node260_0lineStart, Node260_0align = 'left', Node260_0fontSize = 13.3333*_ratio.ratioY,Node260_0width = 59*_ratio.ratioX, Node260_0height = 25*_ratio.ratioY;
- (function () {
- if (Node260_0align === 'left') {
- Node260_0textStart = Node260_0fontSize * 0.2 > 2 ? Node260_0fontSize * 0.2 - 4 : Node260_0fontSize * 0.2 - 9;
- Node260_0textWidth = Node260_0width;
- Node260_0lineStart = 1;
- } else if (Node260_0align === 'right') {
- Node260_0textStart = 0;
- Node260_0textWidth =Node260_0fontSize <= 8 ? Node260_0width + Node260_0fontSize * 0.2 + 6 : Node260_0width - Node260_0fontSize * 0.2;
- Node260_0lineStart = (Node260_0width - (ht.Default.getTextSize('Ia:', ' '+ Node260_0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node260_0align === 'center') {
- Node260_0textStart = -3;
- Node260_0textWidth = Node260_0width;
- Node260_0lineStart = Node260_0width - ht.Default.getTextSize('Ia:', ' '+ Node260_0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node260_0.setImage(GD.getTextJSON(Node260_0width, Node260_0height, true, false, false, ' '+ Node260_0fontSize + 'px "Arial"'))
- Node260_0.setPosition(184*ratio.ratioX, 744*ratio.ratioY);
- Node260_0.setWidth(Node260_0width);
- Node260_0.setHeight(Node260_0height);
- Node260_0._nodeType = 'text';
- Node260_0._disallowEvert = true;
- Node260_0.setRotation(0*Math.PI/180);
- Node260_0.a('node.width', Node260_0width);
- Node260_0.a('node.height', Node260_0height);
- Node260_0.a('node.rect', [0, 0, Node260_0width, Node260_0height]);
- Node260_0.a('node.bordercolor','rgba(255,0,255,1)');
- Node260_0.a('node.borderwidth', 0);
- Node260_0.a('node.background','' || 'rgba(0,0,0,0)');
- Node260_0.a('node.gradient','');
- Node260_0.a('node.gradientcolor','');
- Node260_0.a('node.text','Ia:');
- Node260_0.a('node.textalign','left');
- Node260_0.a('node.textvAlign','middle');
- Node260_0.a('node.textrect', [Node260_0textStart, 0, Node260_0textWidth, Node260_0height]);
- Node260_0.a('node.color','rgba(255,0,255,1)');
- Node260_0.a('node.font',' '+ Node260_0fontSize + 'px "Arial"');
- Node260_0.a('node.textvisible',true);
- Node260_0.a('node.linefeed',false);
- if (false) {
- Node260_0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node260_0.a('node.text') || 'Ia:';
- var color=Node260_0.a('node.color') || 'rgba(255,0,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node260_0width,Node260_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node260_0fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node260_0.a('node.underlinepoints',[Node260_0lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node260_0fontSize + 2 , ht.Default.getTextSize('Ia:', ' '+ Node260_0fontSize + 'px "Arial"').width + 6, (Node260_0height - Node260_0fontSize) * 0.5*_ratio.ratioY + Node260_0fontSize + 2 ]);
- Node260_0.a('node.underlinevisible',false);
- Node260_0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node260_0);
- zoomNodeList.push({
- node: Node260_0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node260_1 = new ht.Node();
- var Node260_1textStart, Node260_1textWidth, Node260_1lineStart, Node260_1align = 'left', Node260_1fontSize = 13.3333*_ratio.ratioY,Node260_1width = 59*_ratio.ratioX, Node260_1height = 25*_ratio.ratioY;
- (function () {
- if (Node260_1align === 'left') {
- Node260_1textStart = Node260_1fontSize * 0.2 > 2 ? Node260_1fontSize * 0.2 - 4 : Node260_1fontSize * 0.2 - 9;
- Node260_1textWidth = Node260_1width;
- Node260_1lineStart = 1;
- } else if (Node260_1align === 'right') {
- Node260_1textStart = 0;
- Node260_1textWidth =Node260_1fontSize <= 8 ? Node260_1width + Node260_1fontSize * 0.2 + 6 : Node260_1width - Node260_1fontSize * 0.2;
- Node260_1lineStart = (Node260_1width - (ht.Default.getTextSize('Ib:', ' '+ Node260_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node260_1align === 'center') {
- Node260_1textStart = -3;
- Node260_1textWidth = Node260_1width;
- Node260_1lineStart = Node260_1width - ht.Default.getTextSize('Ib:', ' '+ Node260_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node260_1.setImage(GD.getTextJSON(Node260_1width, Node260_1height, true, false, false, ' '+ Node260_1fontSize + 'px "Arial"'))
- Node260_1.setPosition(186*ratio.ratioX, 767*ratio.ratioY);
- Node260_1.setWidth(Node260_1width);
- Node260_1.setHeight(Node260_1height);
- Node260_1._nodeType = 'text';
- Node260_1._disallowEvert = true;
- Node260_1.setRotation(0*Math.PI/180);
- Node260_1.a('node.width', Node260_1width);
- Node260_1.a('node.height', Node260_1height);
- Node260_1.a('node.rect', [0, 0, Node260_1width, Node260_1height]);
- Node260_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node260_1.a('node.borderwidth', 0);
- Node260_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node260_1.a('node.gradient','');
- Node260_1.a('node.gradientcolor','');
- Node260_1.a('node.text','Ib:');
- Node260_1.a('node.textalign','left');
- Node260_1.a('node.textvAlign','middle');
- Node260_1.a('node.textrect', [Node260_1textStart, 0, Node260_1textWidth, Node260_1height]);
- Node260_1.a('node.color','rgba(0,0,0,1)');
- Node260_1.a('node.font',' '+ Node260_1fontSize + 'px "Arial"');
- Node260_1.a('node.textvisible',true);
- Node260_1.a('node.linefeed',false);
- if (false) {
- Node260_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node260_1.a('node.text') || 'Ib:';
- var color=Node260_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node260_1width,Node260_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node260_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node260_1.a('node.underlinepoints',[Node260_1lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node260_1fontSize + 2 , ht.Default.getTextSize('Ib:', ' '+ Node260_1fontSize + 'px "Arial"').width + 6, (Node260_1height - Node260_1fontSize) * 0.5*_ratio.ratioY + Node260_1fontSize + 2 ]);
- Node260_1.a('node.underlinevisible',false);
- Node260_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node260_1);
- zoomNodeList.push({
- node: Node260_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node260_2 = new ht.Node();
- var Node260_2textStart, Node260_2textWidth, Node260_2lineStart, Node260_2align = 'left', Node260_2fontSize = 13.3333*_ratio.ratioY,Node260_2width = 59*_ratio.ratioX, Node260_2height = 25*_ratio.ratioY;
- (function () {
- if (Node260_2align === 'left') {
- Node260_2textStart = Node260_2fontSize * 0.2 > 2 ? Node260_2fontSize * 0.2 - 4 : Node260_2fontSize * 0.2 - 9;
- Node260_2textWidth = Node260_2width;
- Node260_2lineStart = 1;
- } else if (Node260_2align === 'right') {
- Node260_2textStart = 0;
- Node260_2textWidth =Node260_2fontSize <= 8 ? Node260_2width + Node260_2fontSize * 0.2 + 6 : Node260_2width - Node260_2fontSize * 0.2;
- Node260_2lineStart = (Node260_2width - (ht.Default.getTextSize('Ic:', ' '+ Node260_2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node260_2align === 'center') {
- Node260_2textStart = -3;
- Node260_2textWidth = Node260_2width;
- Node260_2lineStart = Node260_2width - ht.Default.getTextSize('Ic:', ' '+ Node260_2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node260_2.setImage(GD.getTextJSON(Node260_2width, Node260_2height, true, false, false, ' '+ Node260_2fontSize + 'px "Arial"'))
- Node260_2.setPosition(186*ratio.ratioX, 788*ratio.ratioY);
- Node260_2.setWidth(Node260_2width);
- Node260_2.setHeight(Node260_2height);
- Node260_2._nodeType = 'text';
- Node260_2._disallowEvert = true;
- Node260_2.setRotation(0*Math.PI/180);
- Node260_2.a('node.width', Node260_2width);
- Node260_2.a('node.height', Node260_2height);
- Node260_2.a('node.rect', [0, 0, Node260_2width, Node260_2height]);
- Node260_2.a('node.bordercolor','rgba(0,0,0,1)');
- Node260_2.a('node.borderwidth', 0);
- Node260_2.a('node.background','' || 'rgba(0,0,0,0)');
- Node260_2.a('node.gradient','');
- Node260_2.a('node.gradientcolor','');
- Node260_2.a('node.text','Ic:');
- Node260_2.a('node.textalign','left');
- Node260_2.a('node.textvAlign','middle');
- Node260_2.a('node.textrect', [Node260_2textStart, 0, Node260_2textWidth, Node260_2height]);
- Node260_2.a('node.color','rgba(0,0,0,1)');
- Node260_2.a('node.font',' '+ Node260_2fontSize + 'px "Arial"');
- Node260_2.a('node.textvisible',true);
- Node260_2.a('node.linefeed',false);
- if (false) {
- Node260_2.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node260_2.a('node.text') || 'Ic:';
- var color=Node260_2.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node260_2width,Node260_2height,13.3333*_ratio.ratioY,"left",color,' '+ Node260_2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node260_2.a('node.underlinepoints',[Node260_2lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node260_2fontSize + 2 , ht.Default.getTextSize('Ic:', ' '+ Node260_2fontSize + 'px "Arial"').width + 6, (Node260_2height - Node260_2fontSize) * 0.5*_ratio.ratioY + Node260_2fontSize + 2 ]);
- Node260_2.a('node.underlinevisible',false);
- Node260_2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node260_2);
- zoomNodeList.push({
- node: Node260_2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node261_0 = new ht.Node();
- var Node261_0textStart, Node261_0textWidth, Node261_0lineStart, Node261_0align = 'left', Node261_0fontSize = 13.3333*_ratio.ratioY,Node261_0width = 59*_ratio.ratioX, Node261_0height = 25*_ratio.ratioY;
- (function () {
- if (Node261_0align === 'left') {
- Node261_0textStart = Node261_0fontSize * 0.2 > 2 ? Node261_0fontSize * 0.2 - 4 : Node261_0fontSize * 0.2 - 9;
- Node261_0textWidth = Node261_0width;
- Node261_0lineStart = 1;
- } else if (Node261_0align === 'right') {
- Node261_0textStart = 0;
- Node261_0textWidth =Node261_0fontSize <= 8 ? Node261_0width + Node261_0fontSize * 0.2 + 6 : Node261_0width - Node261_0fontSize * 0.2;
- Node261_0lineStart = (Node261_0width - (ht.Default.getTextSize('Ia:', ' '+ Node261_0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node261_0align === 'center') {
- Node261_0textStart = -3;
- Node261_0textWidth = Node261_0width;
- Node261_0lineStart = Node261_0width - ht.Default.getTextSize('Ia:', ' '+ Node261_0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node261_0.setImage(GD.getTextJSON(Node261_0width, Node261_0height, true, false, false, ' '+ Node261_0fontSize + 'px "Arial"'))
- Node261_0.setPosition(316*ratio.ratioX, 746*ratio.ratioY);
- Node261_0.setWidth(Node261_0width);
- Node261_0.setHeight(Node261_0height);
- Node261_0._nodeType = 'text';
- Node261_0._disallowEvert = true;
- Node261_0.setRotation(0*Math.PI/180);
- Node261_0.a('node.width', Node261_0width);
- Node261_0.a('node.height', Node261_0height);
- Node261_0.a('node.rect', [0, 0, Node261_0width, Node261_0height]);
- Node261_0.a('node.bordercolor','rgba(255,0,255,1)');
- Node261_0.a('node.borderwidth', 0);
- Node261_0.a('node.background','' || 'rgba(0,0,0,0)');
- Node261_0.a('node.gradient','');
- Node261_0.a('node.gradientcolor','');
- Node261_0.a('node.text','Ia:');
- Node261_0.a('node.textalign','left');
- Node261_0.a('node.textvAlign','middle');
- Node261_0.a('node.textrect', [Node261_0textStart, 0, Node261_0textWidth, Node261_0height]);
- Node261_0.a('node.color','rgba(255,0,255,1)');
- Node261_0.a('node.font',' '+ Node261_0fontSize + 'px "Arial"');
- Node261_0.a('node.textvisible',true);
- Node261_0.a('node.linefeed',false);
- if (false) {
- Node261_0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node261_0.a('node.text') || 'Ia:';
- var color=Node261_0.a('node.color') || 'rgba(255,0,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node261_0width,Node261_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node261_0fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node261_0.a('node.underlinepoints',[Node261_0lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node261_0fontSize + 2 , ht.Default.getTextSize('Ia:', ' '+ Node261_0fontSize + 'px "Arial"').width + 6, (Node261_0height - Node261_0fontSize) * 0.5*_ratio.ratioY + Node261_0fontSize + 2 ]);
- Node261_0.a('node.underlinevisible',false);
- Node261_0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node261_0);
- zoomNodeList.push({
- node: Node261_0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node261_1 = new ht.Node();
- var Node261_1textStart, Node261_1textWidth, Node261_1lineStart, Node261_1align = 'left', Node261_1fontSize = 13.3333*_ratio.ratioY,Node261_1width = 59*_ratio.ratioX, Node261_1height = 25*_ratio.ratioY;
- (function () {
- if (Node261_1align === 'left') {
- Node261_1textStart = Node261_1fontSize * 0.2 > 2 ? Node261_1fontSize * 0.2 - 4 : Node261_1fontSize * 0.2 - 9;
- Node261_1textWidth = Node261_1width;
- Node261_1lineStart = 1;
- } else if (Node261_1align === 'right') {
- Node261_1textStart = 0;
- Node261_1textWidth =Node261_1fontSize <= 8 ? Node261_1width + Node261_1fontSize * 0.2 + 6 : Node261_1width - Node261_1fontSize * 0.2;
- Node261_1lineStart = (Node261_1width - (ht.Default.getTextSize('Ib:', ' '+ Node261_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node261_1align === 'center') {
- Node261_1textStart = -3;
- Node261_1textWidth = Node261_1width;
- Node261_1lineStart = Node261_1width - ht.Default.getTextSize('Ib:', ' '+ Node261_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node261_1.setImage(GD.getTextJSON(Node261_1width, Node261_1height, true, false, false, ' '+ Node261_1fontSize + 'px "Arial"'))
- Node261_1.setPosition(318*ratio.ratioX, 769*ratio.ratioY);
- Node261_1.setWidth(Node261_1width);
- Node261_1.setHeight(Node261_1height);
- Node261_1._nodeType = 'text';
- Node261_1._disallowEvert = true;
- Node261_1.setRotation(0*Math.PI/180);
- Node261_1.a('node.width', Node261_1width);
- Node261_1.a('node.height', Node261_1height);
- Node261_1.a('node.rect', [0, 0, Node261_1width, Node261_1height]);
- Node261_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node261_1.a('node.borderwidth', 0);
- Node261_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node261_1.a('node.gradient','');
- Node261_1.a('node.gradientcolor','');
- Node261_1.a('node.text','Ib:');
- Node261_1.a('node.textalign','left');
- Node261_1.a('node.textvAlign','middle');
- Node261_1.a('node.textrect', [Node261_1textStart, 0, Node261_1textWidth, Node261_1height]);
- Node261_1.a('node.color','rgba(0,0,0,1)');
- Node261_1.a('node.font',' '+ Node261_1fontSize + 'px "Arial"');
- Node261_1.a('node.textvisible',true);
- Node261_1.a('node.linefeed',false);
- if (false) {
- Node261_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node261_1.a('node.text') || 'Ib:';
- var color=Node261_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node261_1width,Node261_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node261_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node261_1.a('node.underlinepoints',[Node261_1lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node261_1fontSize + 2 , ht.Default.getTextSize('Ib:', ' '+ Node261_1fontSize + 'px "Arial"').width + 6, (Node261_1height - Node261_1fontSize) * 0.5*_ratio.ratioY + Node261_1fontSize + 2 ]);
- Node261_1.a('node.underlinevisible',false);
- Node261_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node261_1);
- zoomNodeList.push({
- node: Node261_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node261_2 = new ht.Node();
- var Node261_2textStart, Node261_2textWidth, Node261_2lineStart, Node261_2align = 'left', Node261_2fontSize = 13.3333*_ratio.ratioY,Node261_2width = 59*_ratio.ratioX, Node261_2height = 25*_ratio.ratioY;
- (function () {
- if (Node261_2align === 'left') {
- Node261_2textStart = Node261_2fontSize * 0.2 > 2 ? Node261_2fontSize * 0.2 - 4 : Node261_2fontSize * 0.2 - 9;
- Node261_2textWidth = Node261_2width;
- Node261_2lineStart = 1;
- } else if (Node261_2align === 'right') {
- Node261_2textStart = 0;
- Node261_2textWidth =Node261_2fontSize <= 8 ? Node261_2width + Node261_2fontSize * 0.2 + 6 : Node261_2width - Node261_2fontSize * 0.2;
- Node261_2lineStart = (Node261_2width - (ht.Default.getTextSize('Ic:', ' '+ Node261_2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node261_2align === 'center') {
- Node261_2textStart = -3;
- Node261_2textWidth = Node261_2width;
- Node261_2lineStart = Node261_2width - ht.Default.getTextSize('Ic:', ' '+ Node261_2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node261_2.setImage(GD.getTextJSON(Node261_2width, Node261_2height, true, false, false, ' '+ Node261_2fontSize + 'px "Arial"'))
- Node261_2.setPosition(318*ratio.ratioX, 790*ratio.ratioY);
- Node261_2.setWidth(Node261_2width);
- Node261_2.setHeight(Node261_2height);
- Node261_2._nodeType = 'text';
- Node261_2._disallowEvert = true;
- Node261_2.setRotation(0*Math.PI/180);
- Node261_2.a('node.width', Node261_2width);
- Node261_2.a('node.height', Node261_2height);
- Node261_2.a('node.rect', [0, 0, Node261_2width, Node261_2height]);
- Node261_2.a('node.bordercolor','rgba(0,0,0,1)');
- Node261_2.a('node.borderwidth', 0);
- Node261_2.a('node.background','' || 'rgba(0,0,0,0)');
- Node261_2.a('node.gradient','');
- Node261_2.a('node.gradientcolor','');
- Node261_2.a('node.text','Ic:');
- Node261_2.a('node.textalign','left');
- Node261_2.a('node.textvAlign','middle');
- Node261_2.a('node.textrect', [Node261_2textStart, 0, Node261_2textWidth, Node261_2height]);
- Node261_2.a('node.color','rgba(0,0,0,1)');
- Node261_2.a('node.font',' '+ Node261_2fontSize + 'px "Arial"');
- Node261_2.a('node.textvisible',true);
- Node261_2.a('node.linefeed',false);
- if (false) {
- Node261_2.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node261_2.a('node.text') || 'Ic:';
- var color=Node261_2.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node261_2width,Node261_2height,13.3333*_ratio.ratioY,"left",color,' '+ Node261_2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node261_2.a('node.underlinepoints',[Node261_2lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node261_2fontSize + 2 , ht.Default.getTextSize('Ic:', ' '+ Node261_2fontSize + 'px "Arial"').width + 6, (Node261_2height - Node261_2fontSize) * 0.5*_ratio.ratioY + Node261_2fontSize + 2 ]);
- Node261_2.a('node.underlinevisible',false);
- Node261_2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node261_2);
- zoomNodeList.push({
- node: Node261_2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node262points=[520, 801,520, 791],
- Node262rect=ht.Default.unionPoint([{x:520,y:801},{x:520,y:791}]),
- Node262compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node262points.length;i++){
- if(i%2==0){
- Node262compspts.push(Node262points[i]-Node262rect.x);
- }else{
- Node262compspts.push(Node262points[i]-Node262rect.y);
- }
- }
- var Node262ptslength=Node262compspts.length;
- if (Node262rect.height === 0) {
- Node262compspts[0] -= 0;
- Node262compspts[Node262ptslength-2] += 0;
- } else if (Node262rect.width === 0){
- Node262compspts[1] -= 0;
- Node262compspts[Node262ptslength-1] += 0;
- } else {
- Node262compspts[0] -= 0;
- Node262compspts[1] -= 0;
- Node262compspts[Node262ptslength-2] += 0;
- Node262compspts[Node262ptslength-1] += 0;
- }
- Node262 = new ht.Node();
- Node262.borderWidth = 1;
- Node262rect.width = Node262rect.width === 0 ? 0.0001 : Node262rect.width;
- Node262rect.height = Node262rect.height === 0 ? 0.0001 : Node262rect.height;
- var Node262endCompspts = [Node262compspts[Node262ptslength-2],Node262compspts[Node262ptslength-1],0,0];
- var Node262startCompspts = [Node262compspts[0],Node262compspts[1],0,0];
- Node262.setImage(GD.getPolyLineJSON());
- Node262.setPosition(Node262rect.x+Node262rect.width/2,Node262rect.y+Node262rect.height/2);
- Node262.setSize(Node262rect.width,Node262rect.height);
- Node262.setStyle("opacity",1);
- Node262.s({'pixelPerfect':true});
- Node262borderwidth=1;
- Node262.setRotation(0);
- dataModel.add(Node262);
- Node262.a('node.points',Node262compspts);
- Node262.a('node.segments',[1,2]);
- Node262.a('node.color','rgba(255,128,0,1)');
- Node262.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node262.a('node.borderColor','rgba(255,128,0,1)');
- Node262.a('node.background','rgba(255,128,0,1)');
- Node262.a('node.gradient','');
- Node262.a('node.gradientcolor','rgba(255,128,0,1)');
- Node262.a('node.endCompspts',Node262endCompspts);
- Node262.a('node.startCompspts',Node262startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node262';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node262, Node262.getImage(), Node262compspts, Node262endCompspts, Node262startCompspts);
- var Node263points=[520, 781,520, 761],
- Node263rect=ht.Default.unionPoint([{x:520,y:781},{x:520,y:761}]),
- Node263compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node263points.length;i++){
- if(i%2==0){
- Node263compspts.push(Node263points[i]-Node263rect.x);
- }else{
- Node263compspts.push(Node263points[i]-Node263rect.y);
- }
- }
- var Node263ptslength=Node263compspts.length;
- if (Node263rect.height === 0) {
- Node263compspts[0] -= 0;
- Node263compspts[Node263ptslength-2] += 0;
- } else if (Node263rect.width === 0){
- Node263compspts[1] -= 0;
- Node263compspts[Node263ptslength-1] += 0;
- } else {
- Node263compspts[0] -= 0;
- Node263compspts[1] -= 0;
- Node263compspts[Node263ptslength-2] += 0;
- Node263compspts[Node263ptslength-1] += 0;
- }
- Node263 = new ht.Node();
- Node263.borderWidth = 1;
- Node263rect.width = Node263rect.width === 0 ? 0.0001 : Node263rect.width;
- Node263rect.height = Node263rect.height === 0 ? 0.0001 : Node263rect.height;
- var Node263endCompspts = [Node263compspts[Node263ptslength-2],Node263compspts[Node263ptslength-1],0,0];
- var Node263startCompspts = [Node263compspts[0],Node263compspts[1],0,0];
- Node263.setImage(GD.getPolyLineJSON());
- Node263.setPosition(Node263rect.x+Node263rect.width/2,Node263rect.y+Node263rect.height/2);
- Node263.setSize(Node263rect.width,Node263rect.height);
- Node263.setStyle("opacity",1);
- Node263.s({'pixelPerfect':true});
- Node263borderwidth=1;
- Node263.setRotation(0);
- dataModel.add(Node263);
- Node263.a('node.points',Node263compspts);
- Node263.a('node.segments',[1,2]);
- Node263.a('node.color','rgba(255,128,0,1)');
- Node263.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node263.a('node.borderColor','rgba(255,128,0,1)');
- Node263.a('node.background','rgba(255,128,0,1)');
- Node263.a('node.gradient','');
- Node263.a('node.gradientcolor','rgba(255,128,0,1)');
- Node263.a('node.endCompspts',Node263endCompspts);
- Node263.a('node.startCompspts',Node263startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node263';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node263, Node263.getImage(), Node263compspts, Node263endCompspts, Node263startCompspts);
- var Node264points=[520, 761,560, 761],
- Node264rect=ht.Default.unionPoint([{x:520,y:761},{x:560,y:761}]),
- Node264compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node264points.length;i++){
- if(i%2==0){
- Node264compspts.push(Node264points[i]-Node264rect.x);
- }else{
- Node264compspts.push(Node264points[i]-Node264rect.y);
- }
- }
- var Node264ptslength=Node264compspts.length;
- if (Node264rect.height === 0) {
- Node264compspts[0] -= 0;
- Node264compspts[Node264ptslength-2] += 0;
- } else if (Node264rect.width === 0){
- Node264compspts[1] -= 0;
- Node264compspts[Node264ptslength-1] += 0;
- } else {
- Node264compspts[0] -= 0;
- Node264compspts[1] -= 0;
- Node264compspts[Node264ptslength-2] += 0;
- Node264compspts[Node264ptslength-1] += 0;
- }
- Node264 = new ht.Node();
- Node264.borderWidth = 1;
- Node264rect.width = Node264rect.width === 0 ? 0.0001 : Node264rect.width;
- Node264rect.height = Node264rect.height === 0 ? 0.0001 : Node264rect.height;
- var Node264endCompspts = [Node264compspts[Node264ptslength-2],Node264compspts[Node264ptslength-1],0,0];
- var Node264startCompspts = [Node264compspts[0],Node264compspts[1],0,0];
- Node264.setImage(GD.getPolyLineJSON());
- Node264.setPosition(Node264rect.x+Node264rect.width/2,Node264rect.y+Node264rect.height/2);
- Node264.setSize(Node264rect.width,Node264rect.height);
- Node264.setStyle("opacity",1);
- Node264.s({'pixelPerfect':true});
- Node264borderwidth=1;
- Node264.setRotation(0);
- dataModel.add(Node264);
- Node264.a('node.points',Node264compspts);
- Node264.a('node.segments',[1,2]);
- Node264.a('node.color','rgba(255,128,0,1)');
- Node264.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node264.a('node.borderColor','rgba(255,128,0,1)');
- Node264.a('node.background','rgba(255,128,0,1)');
- Node264.a('node.gradient','');
- Node264.a('node.gradientcolor','rgba(255,128,0,1)');
- Node264.a('node.endCompspts',Node264endCompspts);
- Node264.a('node.startCompspts',Node264startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node264';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node264, Node264.getImage(), Node264compspts, Node264endCompspts, Node264startCompspts);
- _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 = 142*_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('备用电源正常', ' '+ Node265fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node265align === 'center') {
- Node265textStart = -3;
- Node265textWidth = Node265width;
- Node265lineStart = Node265width - ht.Default.getTextSize('备用电源正常', ' '+ Node265fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node265.setImage(GD.getTextJSON(Node265width, Node265height, true, false, false, ' '+ Node265fontSize + 'px "Arial"'))
- Node265.setPosition(641*ratio.ratioX, 763*ratio.ratioY);
- Node265.setWidth(Node265width);
- Node265.setHeight(Node265height);
- Node265._nodeType = 'text';
- Node265._disallowEvert = true;
- Node265.setRotation(0*Math.PI/180);
- Node265.a('node.width', Node265width);
- Node265.a('node.height', Node265height);
- Node265.a('node.rect', [0, 0, Node265width, Node265height]);
- Node265.a('node.bordercolor','rgba(0,0,0,1)');
- Node265.a('node.borderwidth', 0);
- Node265.a('node.background','' || 'rgba(0,0,0,0)');
- Node265.a('node.gradient','');
- Node265.a('node.gradientcolor','');
- Node265.a('node.text','备用电源正常');
- Node265.a('node.textalign','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') || '备用电源正常';
- 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('备用电源正常', ' '+ 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_0 = new ht.Node();
- var Node266_0textStart, Node266_0textWidth, Node266_0lineStart, Node266_0align = 'left', Node266_0fontSize = 13.3333*_ratio.ratioY,Node266_0width = 59*_ratio.ratioX, Node266_0height = 25*_ratio.ratioY;
- (function () {
- if (Node266_0align === 'left') {
- Node266_0textStart = Node266_0fontSize * 0.2 > 2 ? Node266_0fontSize * 0.2 - 4 : Node266_0fontSize * 0.2 - 9;
- Node266_0textWidth = Node266_0width;
- Node266_0lineStart = 1;
- } else if (Node266_0align === 'right') {
- Node266_0textStart = 0;
- Node266_0textWidth =Node266_0fontSize <= 8 ? Node266_0width + Node266_0fontSize * 0.2 + 6 : Node266_0width - Node266_0fontSize * 0.2;
- Node266_0lineStart = (Node266_0width - (ht.Default.getTextSize('Ia:', ' '+ Node266_0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node266_0align === 'center') {
- Node266_0textStart = -3;
- Node266_0textWidth = Node266_0width;
- Node266_0lineStart = Node266_0width - ht.Default.getTextSize('Ia:', ' '+ Node266_0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node266_0.setImage(GD.getTextJSON(Node266_0width, Node266_0height, true, false, false, ' '+ Node266_0fontSize + 'px "Arial"'))
- Node266_0.setPosition(646*ratio.ratioX, 786*ratio.ratioY);
- Node266_0.setWidth(Node266_0width);
- Node266_0.setHeight(Node266_0height);
- Node266_0._nodeType = 'text';
- Node266_0._disallowEvert = true;
- Node266_0.setRotation(0*Math.PI/180);
- Node266_0.a('node.width', Node266_0width);
- Node266_0.a('node.height', Node266_0height);
- Node266_0.a('node.rect', [0, 0, Node266_0width, Node266_0height]);
- Node266_0.a('node.bordercolor','rgba(255,0,255,1)');
- Node266_0.a('node.borderwidth', 0);
- Node266_0.a('node.background','' || 'rgba(0,0,0,0)');
- Node266_0.a('node.gradient','');
- Node266_0.a('node.gradientcolor','');
- Node266_0.a('node.text','Ia:');
- Node266_0.a('node.textalign','left');
- Node266_0.a('node.textvAlign','middle');
- Node266_0.a('node.textrect', [Node266_0textStart, 0, Node266_0textWidth, Node266_0height]);
- Node266_0.a('node.color','rgba(255,0,255,1)');
- Node266_0.a('node.font',' '+ Node266_0fontSize + 'px "Arial"');
- Node266_0.a('node.textvisible',true);
- Node266_0.a('node.linefeed',false);
- if (false) {
- Node266_0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node266_0.a('node.text') || 'Ia:';
- var color=Node266_0.a('node.color') || 'rgba(255,0,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node266_0width,Node266_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node266_0fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node266_0.a('node.underlinepoints',[Node266_0lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node266_0fontSize + 2 , ht.Default.getTextSize('Ia:', ' '+ Node266_0fontSize + 'px "Arial"').width + 6, (Node266_0height - Node266_0fontSize) * 0.5*_ratio.ratioY + Node266_0fontSize + 2 ]);
- Node266_0.a('node.underlinevisible',false);
- Node266_0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node266_0);
- zoomNodeList.push({
- node: Node266_0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node266_1 = new ht.Node();
- var Node266_1textStart, Node266_1textWidth, Node266_1lineStart, Node266_1align = 'left', Node266_1fontSize = 13.3333*_ratio.ratioY,Node266_1width = 59*_ratio.ratioX, Node266_1height = 25*_ratio.ratioY;
- (function () {
- if (Node266_1align === 'left') {
- Node266_1textStart = Node266_1fontSize * 0.2 > 2 ? Node266_1fontSize * 0.2 - 4 : Node266_1fontSize * 0.2 - 9;
- Node266_1textWidth = Node266_1width;
- Node266_1lineStart = 1;
- } else if (Node266_1align === 'right') {
- Node266_1textStart = 0;
- Node266_1textWidth =Node266_1fontSize <= 8 ? Node266_1width + Node266_1fontSize * 0.2 + 6 : Node266_1width - Node266_1fontSize * 0.2;
- Node266_1lineStart = (Node266_1width - (ht.Default.getTextSize('Ib:', ' '+ Node266_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node266_1align === 'center') {
- Node266_1textStart = -3;
- Node266_1textWidth = Node266_1width;
- Node266_1lineStart = Node266_1width - ht.Default.getTextSize('Ib:', ' '+ Node266_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node266_1.setImage(GD.getTextJSON(Node266_1width, Node266_1height, true, false, false, ' '+ Node266_1fontSize + 'px "Arial"'))
- Node266_1.setPosition(648*ratio.ratioX, 809*ratio.ratioY);
- Node266_1.setWidth(Node266_1width);
- Node266_1.setHeight(Node266_1height);
- Node266_1._nodeType = 'text';
- Node266_1._disallowEvert = true;
- Node266_1.setRotation(0*Math.PI/180);
- Node266_1.a('node.width', Node266_1width);
- Node266_1.a('node.height', Node266_1height);
- Node266_1.a('node.rect', [0, 0, Node266_1width, Node266_1height]);
- Node266_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node266_1.a('node.borderwidth', 0);
- Node266_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node266_1.a('node.gradient','');
- Node266_1.a('node.gradientcolor','');
- Node266_1.a('node.text','Ib:');
- Node266_1.a('node.textalign','left');
- Node266_1.a('node.textvAlign','middle');
- Node266_1.a('node.textrect', [Node266_1textStart, 0, Node266_1textWidth, Node266_1height]);
- Node266_1.a('node.color','rgba(0,0,0,1)');
- Node266_1.a('node.font',' '+ Node266_1fontSize + 'px "Arial"');
- Node266_1.a('node.textvisible',true);
- Node266_1.a('node.linefeed',false);
- if (false) {
- Node266_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node266_1.a('node.text') || 'Ib:';
- var color=Node266_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node266_1width,Node266_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node266_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node266_1.a('node.underlinepoints',[Node266_1lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node266_1fontSize + 2 , ht.Default.getTextSize('Ib:', ' '+ Node266_1fontSize + 'px "Arial"').width + 6, (Node266_1height - Node266_1fontSize) * 0.5*_ratio.ratioY + Node266_1fontSize + 2 ]);
- Node266_1.a('node.underlinevisible',false);
- Node266_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node266_1);
- zoomNodeList.push({
- node: Node266_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node266_2 = new ht.Node();
- var Node266_2textStart, Node266_2textWidth, Node266_2lineStart, Node266_2align = 'left', Node266_2fontSize = 13.3333*_ratio.ratioY,Node266_2width = 59*_ratio.ratioX, Node266_2height = 25*_ratio.ratioY;
- (function () {
- if (Node266_2align === 'left') {
- Node266_2textStart = Node266_2fontSize * 0.2 > 2 ? Node266_2fontSize * 0.2 - 4 : Node266_2fontSize * 0.2 - 9;
- Node266_2textWidth = Node266_2width;
- Node266_2lineStart = 1;
- } else if (Node266_2align === 'right') {
- Node266_2textStart = 0;
- Node266_2textWidth =Node266_2fontSize <= 8 ? Node266_2width + Node266_2fontSize * 0.2 + 6 : Node266_2width - Node266_2fontSize * 0.2;
- Node266_2lineStart = (Node266_2width - (ht.Default.getTextSize('Ic:', ' '+ Node266_2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node266_2align === 'center') {
- Node266_2textStart = -3;
- Node266_2textWidth = Node266_2width;
- Node266_2lineStart = Node266_2width - ht.Default.getTextSize('Ic:', ' '+ Node266_2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node266_2.setImage(GD.getTextJSON(Node266_2width, Node266_2height, true, false, false, ' '+ Node266_2fontSize + 'px "Arial"'))
- Node266_2.setPosition(648*ratio.ratioX, 830*ratio.ratioY);
- Node266_2.setWidth(Node266_2width);
- Node266_2.setHeight(Node266_2height);
- Node266_2._nodeType = 'text';
- Node266_2._disallowEvert = true;
- Node266_2.setRotation(0*Math.PI/180);
- Node266_2.a('node.width', Node266_2width);
- Node266_2.a('node.height', Node266_2height);
- Node266_2.a('node.rect', [0, 0, Node266_2width, Node266_2height]);
- Node266_2.a('node.bordercolor','rgba(0,0,0,1)');
- Node266_2.a('node.borderwidth', 0);
- Node266_2.a('node.background','' || 'rgba(0,0,0,0)');
- Node266_2.a('node.gradient','');
- Node266_2.a('node.gradientcolor','');
- Node266_2.a('node.text','Ic:');
- Node266_2.a('node.textalign','left');
- Node266_2.a('node.textvAlign','middle');
- Node266_2.a('node.textrect', [Node266_2textStart, 0, Node266_2textWidth, Node266_2height]);
- Node266_2.a('node.color','rgba(0,0,0,1)');
- Node266_2.a('node.font',' '+ Node266_2fontSize + 'px "Arial"');
- Node266_2.a('node.textvisible',true);
- Node266_2.a('node.linefeed',false);
- if (false) {
- Node266_2.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node266_2.a('node.text') || 'Ic:';
- var color=Node266_2.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node266_2width,Node266_2height,13.3333*_ratio.ratioY,"left",color,' '+ Node266_2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node266_2.a('node.underlinepoints',[Node266_2lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node266_2fontSize + 2 , ht.Default.getTextSize('Ic:', ' '+ Node266_2fontSize + 'px "Arial"').width + 6, (Node266_2height - Node266_2fontSize) * 0.5*_ratio.ratioY + Node266_2fontSize + 2 ]);
- Node266_2.a('node.underlinevisible',false);
- Node266_2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node266_2);
- zoomNodeList.push({
- node: Node266_2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node267_0= new ht.Node();
- Node267_0._borderWidth = 1;
- Node267_0.setImage({
- width: 90*_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)', Node267_0._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 90*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node267_0.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node267_0.background'},
- gradient: {value:'', func: 'attr@Node267_0.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node267_0.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node267_0.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node267_0.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node267_0.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node267_0.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node267_0.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,90*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node267_0.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node267_0.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node267_0.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node267_0.borderPattern'}
- }
- ]
- });
- var Node267_0borderwidth = 1;
- var Node267_0borderFillwidth = 1*2;
- Node267_0 .setPosition(155*ratio.ratioX,661*ratio.ratioY);
- Node267_0.setSize(90*_ratio.ratioX, 20*_ratio.ratioY);
- Node267_0.setRotation(0*Math.PI/180);
- Node267_0.s({'pixelPerfect':true});
- Node267_0.a('Node267_0.borderwidth',1);
- Node267_0.a('Node267_0.color','@bordercolor@');
- Node267_0.a('Node267_0.background','rgba(0,0,192,1)');
- Node267_0.a('Node267_0.gradient','');
- Node267_0.a('Node267_0.gradientcolor','rgba(0,0,192,1)');
- Node267_0.a('Node267_0.borderPattern',getDashStyle("Solid"));
- Node267_0.a('Node267_0.fillrect',[0,0,0,0]);
- Node267_0.a('Node267_0.fillbackcolor','rgba(0, 0, 0, 0)');
- Node267_0.a('Node267_0.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node267_0.a('Node267_0.fillgradient','');
- Node267_0borderwidth=1;
- dataModel.add(Node267_0);
- Node267_0.borderWidth = 1;
- Node267_0.borderFillwidth = 1*2;
- Node267_0._nodename = 'Node267_0';
- Node267_0._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node267_0,
- attr: 'Node267_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('Node267_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('Node267_0.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node267_0, Node267_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node267_1 = new ht.Node();
- var Node267_1textStart, Node267_1textWidth, Node267_1lineStart, Node267_1align = 'left', Node267_1fontSize = 13.3333*_ratio.ratioY,Node267_1width = 79*_ratio.ratioX, Node267_1height = 25*_ratio.ratioY;
- (function () {
- if (Node267_1align === 'left') {
- Node267_1textStart = Node267_1fontSize * 0.2 > 2 ? Node267_1fontSize * 0.2 - 4 : Node267_1fontSize * 0.2 - 9;
- Node267_1textWidth = Node267_1width;
- Node267_1lineStart = 1;
- } else if (Node267_1align === 'right') {
- Node267_1textStart = 0;
- Node267_1textWidth =Node267_1fontSize <= 8 ? Node267_1width + Node267_1fontSize * 0.2 + 6 : Node267_1width - Node267_1fontSize * 0.2;
- Node267_1lineStart = (Node267_1width - (ht.Default.getTextSize('站用工作变', ' '+ Node267_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node267_1align === 'center') {
- Node267_1textStart = -3;
- Node267_1textWidth = Node267_1width;
- Node267_1lineStart = Node267_1width - ht.Default.getTextSize('站用工作变', ' '+ Node267_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node267_1.setImage(GD.getTextJSON(Node267_1width, Node267_1height, true, false, false, ' '+ Node267_1fontSize + 'px "Arial"'))
- Node267_1.setPosition(154*ratio.ratioX, 663*ratio.ratioY);
- Node267_1.setWidth(Node267_1width);
- Node267_1.setHeight(Node267_1height);
- Node267_1._nodeType = 'text';
- Node267_1._disallowEvert = true;
- Node267_1.setRotation(0*Math.PI/180);
- Node267_1.a('node.width', Node267_1width);
- Node267_1.a('node.height', Node267_1height);
- Node267_1.a('node.rect', [0, 0, Node267_1width, Node267_1height]);
- Node267_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node267_1.a('node.borderwidth', 0);
- Node267_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node267_1.a('node.gradient','');
- Node267_1.a('node.gradientcolor','');
- Node267_1.a('node.text','站用工作变');
- Node267_1.a('node.textalign','left');
- Node267_1.a('node.textvAlign','middle');
- Node267_1.a('node.textrect', [Node267_1textStart, 0, Node267_1textWidth, Node267_1height]);
- Node267_1.a('node.color','rgba(255,255,255,1)');
- Node267_1.a('node.font',' '+ Node267_1fontSize + 'px "Arial"');
- Node267_1.a('node.textvisible',true);
- Node267_1.a('node.linefeed',false);
- if (false) {
- Node267_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node267_1.a('node.text') || '站用工作变';
- var color=Node267_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node267_1width,Node267_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node267_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node267_1.a('node.underlinepoints',[Node267_1lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node267_1fontSize + 2 , ht.Default.getTextSize('站用工作变', ' '+ Node267_1fontSize + 'px "Arial"').width + 6, (Node267_1height - Node267_1fontSize) * 0.5*_ratio.ratioY + Node267_1fontSize + 2 ]);
- Node267_1.a('node.underlinevisible',false);
- Node267_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node267_1);
- zoomNodeList.push({
- node: Node267_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node268= new ht.Node();
- Node268._borderWidth = 1;
- Node268.setImage({
- width: 70*_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)', Node268._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 70*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node268.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node268.background'},
- gradient: {value:'', func: 'attr@Node268.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node268.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node268.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node268.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node268.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node268.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node268.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,70*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node268.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node268.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node268.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node268.borderPattern'}
- }
- ]
- });
- var Node268borderwidth = 1;
- var Node268borderFillwidth = 1*2;
- Node268 .setPosition(265*ratio.ratioX,661*ratio.ratioY);
- Node268.setSize(70*_ratio.ratioX, 20*_ratio.ratioY);
- Node268.setRotation(0*Math.PI/180);
- Node268.s({'pixelPerfect':true});
- Node268.a('Node268.borderwidth',1);
- Node268.a('Node268.color','@bordercolor@');
- Node268.a('Node268.background','rgba(0,0,192,1)');
- Node268.a('Node268.gradient','');
- Node268.a('Node268.gradientcolor','rgba(0,0,192,1)');
- Node268.a('Node268.borderPattern',getDashStyle("Solid"));
- Node268.a('Node268.fillrect',[0,0,0,0]);
- Node268.a('Node268.fillbackcolor','rgba(0, 0, 0, 0)');
- Node268.a('Node268.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node268.a('Node268.fillgradient','');
- Node268borderwidth=1;
- dataModel.add(Node268);
- Node268.borderWidth = 1;
- Node268.borderFillwidth = 1*2;
- Node268._nodename = 'Node268';
- Node268._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node268,
- attr: 'Node268.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('Node268.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('Node268.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node268, Node268.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node269 = new ht.Node();
- var Node269textStart, Node269textWidth, Node269lineStart, Node269align = 'left', Node269fontSize = 13.3333*_ratio.ratioY,Node269width = 49*_ratio.ratioX, Node269height = 25*_ratio.ratioY;
- (function () {
- if (Node269align === 'left') {
- Node269textStart = Node269fontSize * 0.2 > 2 ? Node269fontSize * 0.2 - 4 : Node269fontSize * 0.2 - 9;
- Node269textWidth = Node269width;
- Node269lineStart = 1;
- } else if (Node269align === 'right') {
- Node269textStart = 0;
- Node269textWidth =Node269fontSize <= 8 ? Node269width + Node269fontSize * 0.2 + 6 : Node269width - Node269fontSize * 0.2;
- Node269lineStart = (Node269width - (ht.Default.getTextSize('备用', ' '+ Node269fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node269align === 'center') {
- Node269textStart = -3;
- Node269textWidth = Node269width;
- Node269lineStart = Node269width - ht.Default.getTextSize('备用', ' '+ Node269fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node269.setImage(GD.getTextJSON(Node269width, Node269height, true, false, false, ' '+ Node269fontSize + 'px "Arial"'))
- Node269.setPosition(274*ratio.ratioX, 663*ratio.ratioY);
- Node269.setWidth(Node269width);
- Node269.setHeight(Node269height);
- Node269._nodeType = 'text';
- Node269._disallowEvert = true;
- Node269.setRotation(0*Math.PI/180);
- Node269.a('node.width', Node269width);
- Node269.a('node.height', Node269height);
- Node269.a('node.rect', [0, 0, Node269width, Node269height]);
- Node269.a('node.bordercolor','rgba(255,255,255,1)');
- Node269.a('node.borderwidth', 0);
- Node269.a('node.background','' || 'rgba(0,0,0,0)');
- Node269.a('node.gradient','');
- Node269.a('node.gradientcolor','');
- Node269.a('node.text','备用');
- Node269.a('node.textalign','left');
- Node269.a('node.textvAlign','middle');
- Node269.a('node.textrect', [Node269textStart, 0, Node269textWidth, Node269height]);
- Node269.a('node.color','rgba(255,255,255,1)');
- Node269.a('node.font',' '+ Node269fontSize + 'px "Arial"');
- Node269.a('node.textvisible',true);
- Node269.a('node.linefeed',false);
- if (false) {
- Node269.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node269.a('node.text') || '备用';
- var color=Node269.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node269width,Node269height,13.3333*_ratio.ratioY,"left",color,' '+ Node269fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node269.a('node.underlinepoints',[Node269lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node269fontSize + 2 , ht.Default.getTextSize('备用', ' '+ Node269fontSize + 'px "Arial"').width + 6, (Node269height - Node269fontSize) * 0.5*_ratio.ratioY + Node269fontSize + 2 ]);
- Node269.a('node.underlinevisible',false);
- Node269.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node269);
- zoomNodeList.push({
- node: Node269,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node270points=[340, 511,380, 511],
- Node270rect=ht.Default.unionPoint([{x:340,y:511},{x:380,y:511}]),
- Node270compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node270points.length;i++){
- if(i%2==0){
- Node270compspts.push(Node270points[i]-Node270rect.x);
- }else{
- Node270compspts.push(Node270points[i]-Node270rect.y);
- }
- }
- var Node270ptslength=Node270compspts.length;
- if (Node270rect.height === 0) {
- Node270compspts[0] -= 0;
- Node270compspts[Node270ptslength-2] += 0;
- } else if (Node270rect.width === 0){
- Node270compspts[1] -= 0;
- Node270compspts[Node270ptslength-1] += 0;
- } else {
- Node270compspts[0] -= 0;
- Node270compspts[1] -= 0;
- Node270compspts[Node270ptslength-2] += 0;
- Node270compspts[Node270ptslength-1] += 0;
- }
- Node270 = new ht.Node();
- Node270.borderWidth = 1;
- Node270rect.width = Node270rect.width === 0 ? 0.0001 : Node270rect.width;
- Node270rect.height = Node270rect.height === 0 ? 0.0001 : Node270rect.height;
- var Node270endCompspts = [Node270compspts[Node270ptslength-2],Node270compspts[Node270ptslength-1],0,0];
- var Node270startCompspts = [Node270compspts[0],Node270compspts[1],0,0];
- Node270.setImage(GD.getPolyLineJSON());
- Node270.setPosition(Node270rect.x+Node270rect.width/2,Node270rect.y+Node270rect.height/2);
- Node270.setSize(Node270rect.width,Node270rect.height);
- Node270.setStyle("opacity",1);
- Node270.s({'pixelPerfect':true});
- Node270borderwidth=1;
- Node270.setRotation(0);
- dataModel.add(Node270);
- Node270.a('node.points',Node270compspts);
- Node270.a('node.segments',[1,2]);
- Node270.a('node.color','rgba(255,128,0,1)');
- Node270.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node270.a('node.borderColor','rgba(255,128,0,1)');
- Node270.a('node.background','rgba(255,128,0,1)');
- Node270.a('node.gradient','');
- Node270.a('node.gradientcolor','rgba(255,128,0,1)');
- Node270.a('node.endCompspts',Node270endCompspts);
- Node270.a('node.startCompspts',Node270startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node270';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node270, Node270.getImage(), Node270compspts, Node270endCompspts, Node270startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node271 = new ht.lib['矩形箭头上'](72*ratio.ratioX, 599*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node271');
- _libModel.add("Node271", Node271);
- Node271.setRotation(0*Math.PI/180);
- ;
- ;
- var Node272points=[71, 571,131, 571],
- Node272rect=ht.Default.unionPoint([{x:71,y:571},{x:131,y:571}]),
- Node272compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node272points.length;i++){
- if(i%2==0){
- Node272compspts.push(Node272points[i]-Node272rect.x);
- }else{
- Node272compspts.push(Node272points[i]-Node272rect.y);
- }
- }
- var Node272ptslength=Node272compspts.length;
- if (Node272rect.height === 0) {
- Node272compspts[0] -= 0;
- Node272compspts[Node272ptslength-2] += 0;
- } else if (Node272rect.width === 0){
- Node272compspts[1] -= 0;
- Node272compspts[Node272ptslength-1] += 0;
- } else {
- Node272compspts[0] -= 0;
- Node272compspts[1] -= 0;
- Node272compspts[Node272ptslength-2] += 0;
- Node272compspts[Node272ptslength-1] += 0;
- }
- Node272 = new ht.Node();
- Node272.borderWidth = 1;
- Node272rect.width = Node272rect.width === 0 ? 0.0001 : Node272rect.width;
- Node272rect.height = Node272rect.height === 0 ? 0.0001 : Node272rect.height;
- var Node272endCompspts = [Node272compspts[Node272ptslength-2],Node272compspts[Node272ptslength-1],0,0];
- var Node272startCompspts = [Node272compspts[0],Node272compspts[1],0,0];
- Node272.setImage(GD.getPolyLineJSON());
- Node272.setPosition(Node272rect.x+Node272rect.width/2,Node272rect.y+Node272rect.height/2);
- Node272.setSize(Node272rect.width,Node272rect.height);
- Node272.setStyle("opacity",1);
- Node272.s({'pixelPerfect':true});
- Node272borderwidth=1;
- Node272.setRotation(0);
- dataModel.add(Node272);
- Node272.a('node.points',Node272compspts);
- Node272.a('node.segments',[1,2]);
- Node272.a('node.color','rgba(255,128,0,1)');
- Node272.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node272.a('node.borderColor','rgba(255,128,0,1)');
- Node272.a('node.background','rgba(255,128,0,1)');
- Node272.a('node.gradient','');
- Node272.a('node.gradientcolor','rgba(255,128,0,1)');
- Node272.a('node.endCompspts',Node272endCompspts);
- Node272.a('node.startCompspts',Node272startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node272';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node272, Node272.getImage(), Node272compspts, Node272endCompspts, Node272startCompspts);
- var Node273points=[130, 571,130, 581],
- Node273rect=ht.Default.unionPoint([{x:130,y:571},{x:130,y:581}]),
- Node273compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node273points.length;i++){
- if(i%2==0){
- Node273compspts.push(Node273points[i]-Node273rect.x);
- }else{
- Node273compspts.push(Node273points[i]-Node273rect.y);
- }
- }
- var Node273ptslength=Node273compspts.length;
- if (Node273rect.height === 0) {
- Node273compspts[0] -= 0;
- Node273compspts[Node273ptslength-2] += 0;
- } else if (Node273rect.width === 0){
- Node273compspts[1] -= 0;
- Node273compspts[Node273ptslength-1] += 0;
- } else {
- Node273compspts[0] -= 0;
- Node273compspts[1] -= 0;
- Node273compspts[Node273ptslength-2] += 0;
- Node273compspts[Node273ptslength-1] += 0;
- }
- Node273 = new ht.Node();
- Node273.borderWidth = 1;
- Node273rect.width = Node273rect.width === 0 ? 0.0001 : Node273rect.width;
- Node273rect.height = Node273rect.height === 0 ? 0.0001 : Node273rect.height;
- var Node273endCompspts = [Node273compspts[Node273ptslength-2],Node273compspts[Node273ptslength-1],0,0];
- var Node273startCompspts = [Node273compspts[0],Node273compspts[1],0,0];
- Node273.setImage(GD.getPolyLineJSON());
- Node273.setPosition(Node273rect.x+Node273rect.width/2,Node273rect.y+Node273rect.height/2);
- Node273.setSize(Node273rect.width,Node273rect.height);
- Node273.setStyle("opacity",1);
- Node273.s({'pixelPerfect':true});
- Node273borderwidth=1;
- Node273.setRotation(0);
- dataModel.add(Node273);
- Node273.a('node.points',Node273compspts);
- Node273.a('node.segments',[1,2]);
- Node273.a('node.color','rgba(255,128,0,1)');
- Node273.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node273.a('node.borderColor','rgba(255,128,0,1)');
- Node273.a('node.background','rgba(255,128,0,1)');
- Node273.a('node.gradient','');
- Node273.a('node.gradientcolor','rgba(255,128,0,1)');
- Node273.a('node.endCompspts',Node273endCompspts);
- Node273.a('node.startCompspts',Node273startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node273';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node273, Node273.getImage(), Node273compspts, Node273endCompspts, Node273startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node274 = new ht.lib['黄色接地'](129*ratio.ratioX, 611*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node274');
- _libModel.add("Node274", Node274);
- Node274.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node275 = new ht.lib['ss'](100*ratio.ratioX, 601*ratio.ratioY, 10*_ratio.ratioX, 44*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node275');
- _libModel.add("Node275", Node275);
- Node275.setRotation(180*Math.PI/180);
- ;
- ;
- var Node276points=[100, 581,100, 561],
- Node276rect=ht.Default.unionPoint([{x:100,y:581},{x:100,y:561}]),
- Node276compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node276points.length;i++){
- if(i%2==0){
- Node276compspts.push(Node276points[i]-Node276rect.x);
- }else{
- Node276compspts.push(Node276points[i]-Node276rect.y);
- }
- }
- var Node276ptslength=Node276compspts.length;
- if (Node276rect.height === 0) {
- Node276compspts[0] -= 0;
- Node276compspts[Node276ptslength-2] += 0;
- } else if (Node276rect.width === 0){
- Node276compspts[1] -= 0;
- Node276compspts[Node276ptslength-1] += 0;
- } else {
- Node276compspts[0] -= 0;
- Node276compspts[1] -= 0;
- Node276compspts[Node276ptslength-2] += 0;
- Node276compspts[Node276ptslength-1] += 0;
- }
- Node276 = new ht.Node();
- Node276.borderWidth = 1;
- Node276rect.width = Node276rect.width === 0 ? 0.0001 : Node276rect.width;
- Node276rect.height = Node276rect.height === 0 ? 0.0001 : Node276rect.height;
- var Node276endCompspts = [Node276compspts[Node276ptslength-2],Node276compspts[Node276ptslength-1],0,0];
- var Node276startCompspts = [Node276compspts[0],Node276compspts[1],0,0];
- Node276.setImage(GD.getPolyLineJSON());
- Node276.setPosition(Node276rect.x+Node276rect.width/2,Node276rect.y+Node276rect.height/2);
- Node276.setSize(Node276rect.width,Node276rect.height);
- Node276.setStyle("opacity",1);
- Node276.s({'pixelPerfect':true});
- Node276borderwidth=1;
- Node276.setRotation(0);
- dataModel.add(Node276);
- Node276.a('node.points',Node276compspts);
- Node276.a('node.segments',[1,2]);
- Node276.a('node.color','rgba(255,128,0,1)');
- Node276.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node276.a('node.borderColor','rgba(255,128,0,1)');
- Node276.a('node.background','rgba(255,128,0,1)');
- Node276.a('node.gradient','');
- Node276.a('node.gradientcolor','rgba(255,128,0,1)');
- Node276.a('node.endCompspts',Node276endCompspts);
- Node276.a('node.startCompspts',Node276startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node276';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node276, Node276.getImage(), Node276compspts, Node276endCompspts, Node276startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node277 = new ht.lib['矩形箭头上'](381*ratio.ratioX, 538*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node277');
- _libModel.add("Node277", Node277);
- Node277.setRotation(0*Math.PI/180);
- ;
- ;
- var Node278points=[340, 561,340, 571],
- Node278rect=ht.Default.unionPoint([{x:340,y:561},{x:340,y:571}]),
- Node278compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node278points.length;i++){
- if(i%2==0){
- Node278compspts.push(Node278points[i]-Node278rect.x);
- }else{
- Node278compspts.push(Node278points[i]-Node278rect.y);
- }
- }
- var Node278ptslength=Node278compspts.length;
- if (Node278rect.height === 0) {
- Node278compspts[0] -= 0;
- Node278compspts[Node278ptslength-2] += 0;
- } else if (Node278rect.width === 0){
- Node278compspts[1] -= 0;
- Node278compspts[Node278ptslength-1] += 0;
- } else {
- Node278compspts[0] -= 0;
- Node278compspts[1] -= 0;
- Node278compspts[Node278ptslength-2] += 0;
- Node278compspts[Node278ptslength-1] += 0;
- }
- Node278 = new ht.Node();
- Node278.borderWidth = 1;
- Node278rect.width = Node278rect.width === 0 ? 0.0001 : Node278rect.width;
- Node278rect.height = Node278rect.height === 0 ? 0.0001 : Node278rect.height;
- var Node278endCompspts = [Node278compspts[Node278ptslength-2],Node278compspts[Node278ptslength-1],0,0];
- var Node278startCompspts = [Node278compspts[0],Node278compspts[1],0,0];
- Node278.setImage(GD.getPolyLineJSON());
- Node278.setPosition(Node278rect.x+Node278rect.width/2,Node278rect.y+Node278rect.height/2);
- Node278.setSize(Node278rect.width,Node278rect.height);
- Node278.setStyle("opacity",1);
- Node278.s({'pixelPerfect':true});
- Node278borderwidth=1;
- Node278.setRotation(0);
- dataModel.add(Node278);
- Node278.a('node.points',Node278compspts);
- Node278.a('node.segments',[1,2]);
- Node278.a('node.color','rgba(255,128,0,1)');
- Node278.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node278.a('node.borderColor','rgba(255,128,0,1)');
- Node278.a('node.background','rgba(255,128,0,1)');
- Node278.a('node.gradient','');
- Node278.a('node.gradientcolor','rgba(255,128,0,1)');
- Node278.a('node.endCompspts',Node278endCompspts);
- Node278.a('node.startCompspts',Node278startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node278';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node278, Node278.getImage(), Node278compspts, Node278endCompspts, Node278startCompspts);
- var Node279points=[340, 571,360, 571],
- Node279rect=ht.Default.unionPoint([{x:340,y:571},{x:360,y:571}]),
- Node279compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node279points.length;i++){
- if(i%2==0){
- Node279compspts.push(Node279points[i]-Node279rect.x);
- }else{
- Node279compspts.push(Node279points[i]-Node279rect.y);
- }
- }
- var Node279ptslength=Node279compspts.length;
- if (Node279rect.height === 0) {
- Node279compspts[0] -= 0;
- Node279compspts[Node279ptslength-2] += 0;
- } else if (Node279rect.width === 0){
- Node279compspts[1] -= 0;
- Node279compspts[Node279ptslength-1] += 0;
- } else {
- Node279compspts[0] -= 0;
- Node279compspts[1] -= 0;
- Node279compspts[Node279ptslength-2] += 0;
- Node279compspts[Node279ptslength-1] += 0;
- }
- Node279 = new ht.Node();
- Node279.borderWidth = 1;
- Node279rect.width = Node279rect.width === 0 ? 0.0001 : Node279rect.width;
- Node279rect.height = Node279rect.height === 0 ? 0.0001 : Node279rect.height;
- var Node279endCompspts = [Node279compspts[Node279ptslength-2],Node279compspts[Node279ptslength-1],0,0];
- var Node279startCompspts = [Node279compspts[0],Node279compspts[1],0,0];
- Node279.setImage(GD.getPolyLineJSON());
- Node279.setPosition(Node279rect.x+Node279rect.width/2,Node279rect.y+Node279rect.height/2);
- Node279.setSize(Node279rect.width,Node279rect.height);
- Node279.setStyle("opacity",1);
- Node279.s({'pixelPerfect':true});
- Node279borderwidth=1;
- Node279.setRotation(0);
- dataModel.add(Node279);
- Node279.a('node.points',Node279compspts);
- Node279.a('node.segments',[1,2]);
- Node279.a('node.color','rgba(255,128,0,1)');
- Node279.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node279.a('node.borderColor','rgba(255,128,0,1)');
- Node279.a('node.background','rgba(255,128,0,1)');
- Node279.a('node.gradient','');
- Node279.a('node.gradientcolor','rgba(255,128,0,1)');
- Node279.a('node.endCompspts',Node279endCompspts);
- Node279.a('node.startCompspts',Node279startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node279';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node279, Node279.getImage(), Node279compspts, Node279endCompspts, Node279startCompspts);
- var Node280points=[360, 571,360, 611],
- Node280rect=ht.Default.unionPoint([{x:360,y:571},{x:360,y:611}]),
- Node280compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node280points.length;i++){
- if(i%2==0){
- Node280compspts.push(Node280points[i]-Node280rect.x);
- }else{
- Node280compspts.push(Node280points[i]-Node280rect.y);
- }
- }
- var Node280ptslength=Node280compspts.length;
- if (Node280rect.height === 0) {
- Node280compspts[0] -= 0;
- Node280compspts[Node280ptslength-2] += 0;
- } else if (Node280rect.width === 0){
- Node280compspts[1] -= 0;
- Node280compspts[Node280ptslength-1] += 0;
- } else {
- Node280compspts[0] -= 0;
- Node280compspts[1] -= 0;
- Node280compspts[Node280ptslength-2] += 0;
- Node280compspts[Node280ptslength-1] += 0;
- }
- Node280 = new ht.Node();
- Node280.borderWidth = 1;
- Node280rect.width = Node280rect.width === 0 ? 0.0001 : Node280rect.width;
- Node280rect.height = Node280rect.height === 0 ? 0.0001 : Node280rect.height;
- var Node280endCompspts = [Node280compspts[Node280ptslength-2],Node280compspts[Node280ptslength-1],0,0];
- var Node280startCompspts = [Node280compspts[0],Node280compspts[1],0,0];
- Node280.setImage(GD.getPolyLineJSON());
- Node280.setPosition(Node280rect.x+Node280rect.width/2,Node280rect.y+Node280rect.height/2);
- Node280.setSize(Node280rect.width,Node280rect.height);
- Node280.setStyle("opacity",1);
- Node280.s({'pixelPerfect':true});
- Node280borderwidth=1;
- Node280.setRotation(0);
- dataModel.add(Node280);
- Node280.a('node.points',Node280compspts);
- Node280.a('node.segments',[1,2]);
- Node280.a('node.color','rgba(255,128,0,1)');
- Node280.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node280.a('node.borderColor','rgba(255,128,0,1)');
- Node280.a('node.background','rgba(255,128,0,1)');
- Node280.a('node.gradient','');
- Node280.a('node.gradientcolor','rgba(255,128,0,1)');
- Node280.a('node.endCompspts',Node280endCompspts);
- Node280.a('node.startCompspts',Node280startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node280';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node280, Node280.getImage(), Node280compspts, Node280endCompspts, Node280startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node281 = new ht.lib['黄色接地'](360*ratio.ratioX, 618*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node281');
- _libModel.add("Node281", Node281);
- Node281.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node282 = new ht.Node();
- var Node282textStart, Node282textWidth, Node282lineStart, Node282align = 'left', Node282fontSize = 13.3333*_ratio.ratioY,Node282width = 50*_ratio.ratioX, Node282height = 24*_ratio.ratioY;
- (function () {
- if (Node282align === 'left') {
- Node282textStart = Node282fontSize * 0.2 > 2 ? Node282fontSize * 0.2 - 4 : Node282fontSize * 0.2 - 9;
- Node282textWidth = Node282width;
- Node282lineStart = 1;
- } else if (Node282align === 'right') {
- Node282textStart = 0;
- Node282textWidth =Node282fontSize <= 8 ? Node282width + Node282fontSize * 0.2 + 6 : Node282width - Node282fontSize * 0.2;
- Node282lineStart = (Node282width - (ht.Default.getTextSize('351', ' '+ Node282fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node282align === 'center') {
- Node282textStart = -3;
- Node282textWidth = Node282width;
- Node282lineStart = Node282width - ht.Default.getTextSize('351', ' '+ Node282fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node282.setImage(GD.getTextJSON(Node282width, Node282height, true, false, false, ' '+ Node282fontSize + 'px "Arial"'))
- Node282.setPosition(135*ratio.ratioX, 543*ratio.ratioY);
- Node282.setWidth(Node282width);
- Node282.setHeight(Node282height);
- Node282._nodeType = 'text';
- Node282._disallowEvert = true;
- Node282.setRotation(0*Math.PI/180);
- Node282.a('node.width', Node282width);
- Node282.a('node.height', Node282height);
- Node282.a('node.rect', [0, 0, Node282width, Node282height]);
- Node282.a('node.bordercolor','rgba(0,0,0,1)');
- Node282.a('node.borderwidth', 0);
- Node282.a('node.background','' || 'rgba(0,0,0,0)');
- Node282.a('node.gradient','');
- Node282.a('node.gradientcolor','');
- Node282.a('node.text','351');
- Node282.a('node.textalign','left');
- Node282.a('node.textvAlign','middle');
- Node282.a('node.textrect', [Node282textStart, 0, Node282textWidth, Node282height]);
- Node282.a('node.color','rgba(0,0,0,1)');
- Node282.a('node.font',' '+ Node282fontSize + 'px "Arial"');
- Node282.a('node.textvisible',true);
- Node282.a('node.linefeed',false);
- if (false) {
- Node282.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node282.a('node.text') || '351';
- var color=Node282.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node282width,Node282height,13.3333*_ratio.ratioY,"left",color,' '+ Node282fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node282.a('node.underlinepoints',[Node282lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node282fontSize + 2 , ht.Default.getTextSize('351', ' '+ Node282fontSize + 'px "Arial"').width + 6, (Node282height - Node282fontSize) * 0.5*_ratio.ratioY + Node282fontSize + 2 ]);
- Node282.a('node.underlinevisible',false);
- Node282.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node282);
- zoomNodeList.push({
- node: Node282,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node283 = new ht.Node();
- var Node283textStart, Node283textWidth, Node283lineStart, Node283align = 'left', Node283fontSize = 13.3333*_ratio.ratioY,Node283width = 50*_ratio.ratioX, Node283height = 24*_ratio.ratioY;
- (function () {
- if (Node283align === 'left') {
- Node283textStart = Node283fontSize * 0.2 > 2 ? Node283fontSize * 0.2 - 4 : Node283fontSize * 0.2 - 9;
- Node283textWidth = Node283width;
- Node283lineStart = 1;
- } else if (Node283align === 'right') {
- Node283textStart = 0;
- Node283textWidth =Node283fontSize <= 8 ? Node283width + Node283fontSize * 0.2 + 6 : Node283width - Node283fontSize * 0.2;
- Node283lineStart = (Node283width - (ht.Default.getTextSize('352', ' '+ Node283fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node283align === 'center') {
- Node283textStart = -3;
- Node283textWidth = Node283width;
- Node283lineStart = Node283width - ht.Default.getTextSize('352', ' '+ Node283fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node283.setImage(GD.getTextJSON(Node283width, Node283height, true, false, false, ' '+ Node283fontSize + 'px "Arial"'))
- Node283.setPosition(305*ratio.ratioX, 543*ratio.ratioY);
- Node283.setWidth(Node283width);
- Node283.setHeight(Node283height);
- Node283._nodeType = 'text';
- Node283._disallowEvert = true;
- Node283.setRotation(0*Math.PI/180);
- Node283.a('node.width', Node283width);
- Node283.a('node.height', Node283height);
- Node283.a('node.rect', [0, 0, Node283width, Node283height]);
- Node283.a('node.bordercolor','rgba(0,0,0,1)');
- Node283.a('node.borderwidth', 0);
- Node283.a('node.background','' || 'rgba(0,0,0,0)');
- Node283.a('node.gradient','');
- Node283.a('node.gradientcolor','');
- Node283.a('node.text','352');
- Node283.a('node.textalign','left');
- Node283.a('node.textvAlign','middle');
- Node283.a('node.textrect', [Node283textStart, 0, Node283textWidth, Node283height]);
- Node283.a('node.color','rgba(0,0,0,1)');
- Node283.a('node.font',' '+ Node283fontSize + 'px "Arial"');
- Node283.a('node.textvisible',true);
- Node283.a('node.linefeed',false);
- if (false) {
- Node283.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node283.a('node.text') || '352';
- var color=Node283.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node283width,Node283height,13.3333*_ratio.ratioY,"left",color,' '+ Node283fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node283.a('node.underlinepoints',[Node283lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node283fontSize + 2 , ht.Default.getTextSize('352', ' '+ Node283fontSize + 'px "Arial"').width + 6, (Node283height - Node283fontSize) * 0.5*_ratio.ratioY + Node283fontSize + 2 ]);
- Node283.a('node.underlinevisible',false);
- Node283.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node283);
- zoomNodeList.push({
- node: Node283,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node284 = new ht.Node();
- var Node284textStart, Node284textWidth, Node284lineStart, Node284align = 'left', Node284fontSize = 13.3333*_ratio.ratioY,Node284width = 50*_ratio.ratioX, Node284height = 24*_ratio.ratioY;
- (function () {
- if (Node284align === 'left') {
- Node284textStart = Node284fontSize * 0.2 > 2 ? Node284fontSize * 0.2 - 4 : Node284fontSize * 0.2 - 9;
- Node284textWidth = Node284width;
- Node284lineStart = 1;
- } else if (Node284align === 'right') {
- Node284textStart = 0;
- Node284textWidth =Node284fontSize <= 8 ? Node284width + Node284fontSize * 0.2 + 6 : Node284width - Node284fontSize * 0.2;
- Node284lineStart = (Node284width - (ht.Default.getTextSize('319', ' '+ Node284fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node284align === 'center') {
- Node284textStart = -3;
- Node284textWidth = Node284width;
- Node284lineStart = Node284width - ht.Default.getTextSize('319', ' '+ Node284fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node284.setImage(GD.getTextJSON(Node284width, Node284height, true, false, false, ' '+ Node284fontSize + 'px "Arial"'))
- Node284.setPosition(374*ratio.ratioX, 543*ratio.ratioY);
- Node284.setWidth(Node284width);
- Node284.setHeight(Node284height);
- Node284._nodeType = 'text';
- Node284._disallowEvert = true;
- Node284.setRotation(0*Math.PI/180);
- Node284.a('node.width', Node284width);
- Node284.a('node.height', Node284height);
- Node284.a('node.rect', [0, 0, Node284width, Node284height]);
- Node284.a('node.bordercolor','rgba(0,0,0,1)');
- Node284.a('node.borderwidth', 0);
- Node284.a('node.background','' || 'rgba(0,0,0,0)');
- Node284.a('node.gradient','');
- Node284.a('node.gradientcolor','');
- Node284.a('node.text','319');
- Node284.a('node.textalign','left');
- Node284.a('node.textvAlign','middle');
- Node284.a('node.textrect', [Node284textStart, 0, Node284textWidth, Node284height]);
- Node284.a('node.color','rgba(0,0,0,1)');
- Node284.a('node.font',' '+ Node284fontSize + 'px "Arial"');
- Node284.a('node.textvisible',true);
- Node284.a('node.linefeed',false);
- if (false) {
- Node284.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node284.a('node.text') || '319';
- var color=Node284.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node284width,Node284height,13.3333*_ratio.ratioY,"left",color,' '+ Node284fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node284.a('node.underlinepoints',[Node284lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node284fontSize + 2 , ht.Default.getTextSize('319', ' '+ Node284fontSize + 'px "Arial"').width + 6, (Node284height - Node284fontSize) * 0.5*_ratio.ratioY + Node284fontSize + 2 ]);
- Node284.a('node.underlinevisible',false);
- Node284.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node284);
- zoomNodeList.push({
- node: Node284,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node285_0= new ht.Node();
- Node285_0._borderWidth = 1;
- Node285_0.setImage({
- width: 70*_ratio.ratioX,
- height:40*_ratio.ratioY,
- clip:function(g, width, height, data){
- drawRoundRect(g,0,0,width,height,3,3,'rgba(255,128,0,1)', Node285_0._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 70*_ratio.ratioX, 40*_ratio.ratioY], func: 'attr@Node285_0.rect'},
- background:{value:'rgba(255,255,255,0.003921569)', func: 'attr@Node285_0.background'},
- gradient: {value:'', func: 'attr@Node285_0.gradient'},
- gradientColor:{value:'', func: 'attr@Node285_0.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node285_0.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node285_0.fillrect'},
- background: {value: 'rgba(255,255,255,0.003921569)', func: 'attr@Node285_0.fillbackcolor'},
- gradientColor: {value: '', func: 'attr@Node285_0.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node285_0.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,70*_ratio.ratioX, 40*_ratio.ratioY], func: 'attr@Node285_0.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node285_0.borderwidth'},
- borderColor: {value: 'rgba(255,128,0,1)', func: 'attr@Node285_0.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node285_0.borderPattern'}
- }
- ]
- });
- var Node285_0borderwidth = 1;
- var Node285_0borderFillwidth = 1*2;
- Node285_0 .setPosition(797*ratio.ratioX,801*ratio.ratioY);
- Node285_0.setSize(70*_ratio.ratioX, 40*_ratio.ratioY);
- Node285_0.setRotation(0*Math.PI/180);
- Node285_0.s({'pixelPerfect':true});
- Node285_0.a('Node285_0.borderwidth',1);
- Node285_0.a('Node285_0.color','@bordercolor@');
- Node285_0.a('Node285_0.background','rgba(255,255,255,0.003921569)');
- Node285_0.a('Node285_0.gradient','');
- Node285_0.a('Node285_0.gradientcolor','');
- Node285_0.a('Node285_0.borderPattern',getDashStyle("Solid"));
- Node285_0.a('Node285_0.fillrect',[0,0,0,0]);
- Node285_0.a('Node285_0.fillbackcolor','rgba(0, 0, 0, 0)');
- Node285_0.a('Node285_0.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node285_0.a('Node285_0.fillgradient','');
- Node285_0borderwidth=1;
- dataModel.add(Node285_0);
- Node285_0.borderWidth = 1;
- Node285_0.borderFillwidth = 1*2;
- Node285_0._nodename = 'Node285_0';
- Node285_0._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node285_0,
- attr: 'Node285_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('Node285_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('Node285_0.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node285_0, Node285_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node285_1 = new ht.Node();
- var Node285_1textStart, Node285_1textWidth, Node285_1lineStart, Node285_1align = 'left', Node285_1fontSize = 13.3333*_ratio.ratioY,Node285_1width = 34*_ratio.ratioX, Node285_1height = 16*_ratio.ratioY;
- (function () {
- if (Node285_1align === 'left') {
- Node285_1textStart = Node285_1fontSize * 0.2 > 2 ? Node285_1fontSize * 0.2 - 4 : Node285_1fontSize * 0.2 - 9;
- Node285_1textWidth = Node285_1width;
- Node285_1lineStart = 1;
- } else if (Node285_1align === 'right') {
- Node285_1textStart = 0;
- Node285_1textWidth =Node285_1fontSize <= 8 ? Node285_1width + Node285_1fontSize * 0.2 + 6 : Node285_1width - Node285_1fontSize * 0.2;
- Node285_1lineStart = (Node285_1width - (ht.Default.getTextSize('就地', ' '+ Node285_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node285_1align === 'center') {
- Node285_1textStart = -3;
- Node285_1textWidth = Node285_1width;
- Node285_1lineStart = Node285_1width - ht.Default.getTextSize('就地', ' '+ Node285_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node285_1.setImage(GD.getTextJSON(Node285_1width, Node285_1height, true, false, false, ' '+ Node285_1fontSize + 'px "Arial"'))
- Node285_1.setPosition(813*ratio.ratioX, 795*ratio.ratioY);
- Node285_1.setWidth(Node285_1width);
- Node285_1.setHeight(Node285_1height);
- Node285_1._nodeType = 'text';
- Node285_1._disallowEvert = true;
- Node285_1.setRotation(0*Math.PI/180);
- Node285_1.a('node.width', Node285_1width);
- Node285_1.a('node.height', Node285_1height);
- Node285_1.a('node.rect', [0, 0, Node285_1width, Node285_1height]);
- Node285_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node285_1.a('node.borderwidth', 0);
- Node285_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node285_1.a('node.gradient','');
- Node285_1.a('node.gradientcolor','');
- Node285_1.a('node.text','就地');
- Node285_1.a('node.textalign','left');
- Node285_1.a('node.textvAlign','middle');
- Node285_1.a('node.textrect', [Node285_1textStart, 0, Node285_1textWidth, Node285_1height]);
- Node285_1.a('node.color','rgba(0,0,0,1)');
- Node285_1.a('node.font',' '+ Node285_1fontSize + 'px "Arial"');
- Node285_1.a('node.textvisible',true);
- Node285_1.a('node.linefeed',false);
- if (false) {
- Node285_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node285_1.a('node.text') || '就地';
- var color=Node285_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node285_1width,Node285_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node285_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node285_1.a('node.underlinepoints',[Node285_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node285_1fontSize + 2 , ht.Default.getTextSize('就地', ' '+ Node285_1fontSize + 'px "Arial"').width + 6, (Node285_1height - Node285_1fontSize) * 0.5*_ratio.ratioY + Node285_1fontSize + 2 ]);
- Node285_1.a('node.underlinevisible',false);
- Node285_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node285_1);
- zoomNodeList.push({
- node: Node285_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node285_2 = new ht.Node();
- var Node285_2textStart, Node285_2textWidth, Node285_2lineStart, Node285_2align = 'left', Node285_2fontSize = 13.3333*_ratio.ratioY,Node285_2width = 34*_ratio.ratioX, Node285_2height = 16*_ratio.ratioY;
- (function () {
- if (Node285_2align === 'left') {
- Node285_2textStart = Node285_2fontSize * 0.2 > 2 ? Node285_2fontSize * 0.2 - 4 : Node285_2fontSize * 0.2 - 9;
- Node285_2textWidth = Node285_2width;
- Node285_2lineStart = 1;
- } else if (Node285_2align === 'right') {
- Node285_2textStart = 0;
- Node285_2textWidth =Node285_2fontSize <= 8 ? Node285_2width + Node285_2fontSize * 0.2 + 6 : Node285_2width - Node285_2fontSize * 0.2;
- Node285_2lineStart = (Node285_2width - (ht.Default.getTextSize('远方', ' '+ Node285_2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node285_2align === 'center') {
- Node285_2textStart = -3;
- Node285_2textWidth = Node285_2width;
- Node285_2lineStart = Node285_2width - ht.Default.getTextSize('远方', ' '+ Node285_2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node285_2.setImage(GD.getTextJSON(Node285_2width, Node285_2height, true, false, false, ' '+ Node285_2fontSize + 'px "Arial"'))
- Node285_2.setPosition(781*ratio.ratioX, 813*ratio.ratioY);
- Node285_2.setWidth(Node285_2width);
- Node285_2.setHeight(Node285_2height);
- Node285_2._nodeType = 'text';
- Node285_2._disallowEvert = true;
- Node285_2.setRotation(0*Math.PI/180);
- Node285_2.a('node.width', Node285_2width);
- Node285_2.a('node.height', Node285_2height);
- Node285_2.a('node.rect', [0, 0, Node285_2width, Node285_2height]);
- Node285_2.a('node.bordercolor','rgba(0,0,0,1)');
- Node285_2.a('node.borderwidth', 0);
- Node285_2.a('node.background','' || 'rgba(0,0,0,0)');
- Node285_2.a('node.gradient','');
- Node285_2.a('node.gradientcolor','');
- Node285_2.a('node.text','远方');
- Node285_2.a('node.textalign','left');
- Node285_2.a('node.textvAlign','middle');
- Node285_2.a('node.textrect', [Node285_2textStart, 0, Node285_2textWidth, Node285_2height]);
- Node285_2.a('node.color','rgba(0,0,0,1)');
- Node285_2.a('node.font',' '+ Node285_2fontSize + 'px "Arial"');
- Node285_2.a('node.textvisible',true);
- Node285_2.a('node.linefeed',false);
- if (false) {
- Node285_2.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node285_2.a('node.text') || '远方';
- var color=Node285_2.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node285_2width,Node285_2height,13.3333*_ratio.ratioY,"left",color,' '+ Node285_2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node285_2.a('node.underlinepoints',[Node285_2lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node285_2fontSize + 2 , ht.Default.getTextSize('远方', ' '+ Node285_2fontSize + 'px "Arial"').width + 6, (Node285_2height - Node285_2fontSize) * 0.5*_ratio.ratioY + Node285_2fontSize + 2 ]);
- Node285_2.a('node.underlinevisible',false);
- Node285_2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node285_2);
- zoomNodeList.push({
- node: Node285_2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node286_0 = new ht.Node();
- var Node286_0textStart, Node286_0textWidth, Node286_0lineStart, Node286_0align = 'left', Node286_0fontSize = 13.3333*_ratio.ratioY,Node286_0width = 50*_ratio.ratioX, Node286_0height = 24*_ratio.ratioY;
- (function () {
- if (Node286_0align === 'left') {
- Node286_0textStart = Node286_0fontSize * 0.2 > 2 ? Node286_0fontSize * 0.2 - 4 : Node286_0fontSize * 0.2 - 9;
- Node286_0textWidth = Node286_0width;
- Node286_0lineStart = 1;
- } else if (Node286_0align === 'right') {
- Node286_0textStart = 0;
- Node286_0textWidth =Node286_0fontSize <= 8 ? Node286_0width + Node286_0fontSize * 0.2 + 6 : Node286_0width - Node286_0fontSize * 0.2;
- Node286_0lineStart = (Node286_0width - (ht.Default.getTextSize('352-7', ' '+ Node286_0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node286_0align === 'center') {
- Node286_0textStart = -3;
- Node286_0textWidth = Node286_0width;
- Node286_0lineStart = Node286_0width - ht.Default.getTextSize('352-7', ' '+ Node286_0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node286_0.setImage(GD.getTextJSON(Node286_0width, Node286_0height, true, false, false, ' '+ Node286_0fontSize + 'px "Arial"'))
- Node286_0.setPosition(305*ratio.ratioX, 633*ratio.ratioY);
- Node286_0.setWidth(Node286_0width);
- Node286_0.setHeight(Node286_0height);
- Node286_0._nodeType = 'text';
- Node286_0._disallowEvert = true;
- Node286_0.setRotation(0*Math.PI/180);
- Node286_0.a('node.width', Node286_0width);
- Node286_0.a('node.height', Node286_0height);
- Node286_0.a('node.rect', [0, 0, Node286_0width, Node286_0height]);
- Node286_0.a('node.bordercolor','rgba(0,0,0,1)');
- Node286_0.a('node.borderwidth', 0);
- Node286_0.a('node.background','' || 'rgba(0,0,0,0)');
- Node286_0.a('node.gradient','');
- Node286_0.a('node.gradientcolor','');
- Node286_0.a('node.text','352-7');
- Node286_0.a('node.textalign','left');
- Node286_0.a('node.textvAlign','middle');
- Node286_0.a('node.textrect', [Node286_0textStart, 0, Node286_0textWidth, Node286_0height]);
- Node286_0.a('node.color','rgba(0,0,0,1)');
- Node286_0.a('node.font',' '+ Node286_0fontSize + 'px "Arial"');
- Node286_0.a('node.textvisible',true);
- Node286_0.a('node.linefeed',false);
- if (false) {
- Node286_0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node286_0.a('node.text') || '352-7';
- var color=Node286_0.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node286_0width,Node286_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node286_0fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node286_0.a('node.underlinepoints',[Node286_0lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node286_0fontSize + 2 , ht.Default.getTextSize('352-7', ' '+ Node286_0fontSize + 'px "Arial"').width + 6, (Node286_0height - Node286_0fontSize) * 0.5*_ratio.ratioY + Node286_0fontSize + 2 ]);
- Node286_0.a('node.underlinevisible',false);
- Node286_0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node286_0);
- zoomNodeList.push({
- node: Node286_0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node286_1 = new ht.lib['矩形箭头上'](242*ratio.ratioX, 599*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node286_1');
- _libModel.add("Node286_1", Node286_1);
- Node286_1.setRotation(0*Math.PI/180);
- ;
- ;
- var Node286_2points=[241, 571,301, 571],
- Node286_2rect=ht.Default.unionPoint([{x:241,y:571},{x:301,y:571}]),
- Node286_2compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node286_2points.length;i++){
- if(i%2==0){
- Node286_2compspts.push(Node286_2points[i]-Node286_2rect.x);
- }else{
- Node286_2compspts.push(Node286_2points[i]-Node286_2rect.y);
- }
- }
- var Node286_2ptslength=Node286_2compspts.length;
- if (Node286_2rect.height === 0) {
- Node286_2compspts[0] -= 0;
- Node286_2compspts[Node286_2ptslength-2] += 0;
- } else if (Node286_2rect.width === 0){
- Node286_2compspts[1] -= 0;
- Node286_2compspts[Node286_2ptslength-1] += 0;
- } else {
- Node286_2compspts[0] -= 0;
- Node286_2compspts[1] -= 0;
- Node286_2compspts[Node286_2ptslength-2] += 0;
- Node286_2compspts[Node286_2ptslength-1] += 0;
- }
- Node286_2 = new ht.Node();
- Node286_2.borderWidth = 1;
- Node286_2rect.width = Node286_2rect.width === 0 ? 0.0001 : Node286_2rect.width;
- Node286_2rect.height = Node286_2rect.height === 0 ? 0.0001 : Node286_2rect.height;
- var Node286_2endCompspts = [Node286_2compspts[Node286_2ptslength-2],Node286_2compspts[Node286_2ptslength-1],0,0];
- var Node286_2startCompspts = [Node286_2compspts[0],Node286_2compspts[1],0,0];
- Node286_2.setImage(GD.getPolyLineJSON());
- Node286_2.setPosition(Node286_2rect.x+Node286_2rect.width/2,Node286_2rect.y+Node286_2rect.height/2);
- Node286_2.setSize(Node286_2rect.width,Node286_2rect.height);
- Node286_2.setStyle("opacity",1);
- Node286_2.s({'pixelPerfect':true});
- Node286_2borderwidth=1;
- Node286_2.setRotation(0);
- dataModel.add(Node286_2);
- Node286_2.a('node.points',Node286_2compspts);
- Node286_2.a('node.segments',[1,2]);
- Node286_2.a('node.color','rgba(255,128,0,1)');
- Node286_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node286_2.a('node.borderColor','rgba(255,128,0,1)');
- Node286_2.a('node.background','rgba(255,128,0,1)');
- Node286_2.a('node.gradient','');
- Node286_2.a('node.gradientcolor','rgba(255,128,0,1)');
- Node286_2.a('node.endCompspts',Node286_2endCompspts);
- Node286_2.a('node.startCompspts',Node286_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 = 'Node286_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);
- }
- })(Node286_2, Node286_2.getImage(), Node286_2compspts, Node286_2endCompspts, Node286_2startCompspts);
- var Node286_3points=[300, 571,300, 581],
- Node286_3rect=ht.Default.unionPoint([{x:300,y:571},{x:300,y:581}]),
- Node286_3compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node286_3points.length;i++){
- if(i%2==0){
- Node286_3compspts.push(Node286_3points[i]-Node286_3rect.x);
- }else{
- Node286_3compspts.push(Node286_3points[i]-Node286_3rect.y);
- }
- }
- var Node286_3ptslength=Node286_3compspts.length;
- if (Node286_3rect.height === 0) {
- Node286_3compspts[0] -= 0;
- Node286_3compspts[Node286_3ptslength-2] += 0;
- } else if (Node286_3rect.width === 0){
- Node286_3compspts[1] -= 0;
- Node286_3compspts[Node286_3ptslength-1] += 0;
- } else {
- Node286_3compspts[0] -= 0;
- Node286_3compspts[1] -= 0;
- Node286_3compspts[Node286_3ptslength-2] += 0;
- Node286_3compspts[Node286_3ptslength-1] += 0;
- }
- Node286_3 = new ht.Node();
- Node286_3.borderWidth = 1;
- Node286_3rect.width = Node286_3rect.width === 0 ? 0.0001 : Node286_3rect.width;
- Node286_3rect.height = Node286_3rect.height === 0 ? 0.0001 : Node286_3rect.height;
- var Node286_3endCompspts = [Node286_3compspts[Node286_3ptslength-2],Node286_3compspts[Node286_3ptslength-1],0,0];
- var Node286_3startCompspts = [Node286_3compspts[0],Node286_3compspts[1],0,0];
- Node286_3.setImage(GD.getPolyLineJSON());
- Node286_3.setPosition(Node286_3rect.x+Node286_3rect.width/2,Node286_3rect.y+Node286_3rect.height/2);
- Node286_3.setSize(Node286_3rect.width,Node286_3rect.height);
- Node286_3.setStyle("opacity",1);
- Node286_3.s({'pixelPerfect':true});
- Node286_3borderwidth=1;
- Node286_3.setRotation(0);
- dataModel.add(Node286_3);
- Node286_3.a('node.points',Node286_3compspts);
- Node286_3.a('node.segments',[1,2]);
- Node286_3.a('node.color','rgba(255,128,0,1)');
- Node286_3.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node286_3.a('node.borderColor','rgba(255,128,0,1)');
- Node286_3.a('node.background','rgba(255,128,0,1)');
- Node286_3.a('node.gradient','');
- Node286_3.a('node.gradientcolor','rgba(255,128,0,1)');
- Node286_3.a('node.endCompspts',Node286_3endCompspts);
- Node286_3.a('node.startCompspts',Node286_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 = 'Node286_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);
- }
- })(Node286_3, Node286_3.getImage(), Node286_3compspts, Node286_3endCompspts, Node286_3startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node286_4 = new ht.lib['黄色接地'](299*ratio.ratioX, 611*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node286_4');
- _libModel.add("Node286_4", Node286_4);
- Node286_4.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node286_5 = new ht.lib['ss'](270*ratio.ratioX, 601*ratio.ratioY, 10*_ratio.ratioX, 44*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node286_5');
- _libModel.add("Node286_5", Node286_5);
- Node286_5.setRotation(180*Math.PI/180);
- ;
- ;
- var Node286_6points=[270, 581,270, 561],
- Node286_6rect=ht.Default.unionPoint([{x:270,y:581},{x:270,y:561}]),
- Node286_6compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node286_6points.length;i++){
- if(i%2==0){
- Node286_6compspts.push(Node286_6points[i]-Node286_6rect.x);
- }else{
- Node286_6compspts.push(Node286_6points[i]-Node286_6rect.y);
- }
- }
- var Node286_6ptslength=Node286_6compspts.length;
- if (Node286_6rect.height === 0) {
- Node286_6compspts[0] -= 0;
- Node286_6compspts[Node286_6ptslength-2] += 0;
- } else if (Node286_6rect.width === 0){
- Node286_6compspts[1] -= 0;
- Node286_6compspts[Node286_6ptslength-1] += 0;
- } else {
- Node286_6compspts[0] -= 0;
- Node286_6compspts[1] -= 0;
- Node286_6compspts[Node286_6ptslength-2] += 0;
- Node286_6compspts[Node286_6ptslength-1] += 0;
- }
- Node286_6 = new ht.Node();
- Node286_6.borderWidth = 1;
- Node286_6rect.width = Node286_6rect.width === 0 ? 0.0001 : Node286_6rect.width;
- Node286_6rect.height = Node286_6rect.height === 0 ? 0.0001 : Node286_6rect.height;
- var Node286_6endCompspts = [Node286_6compspts[Node286_6ptslength-2],Node286_6compspts[Node286_6ptslength-1],0,0];
- var Node286_6startCompspts = [Node286_6compspts[0],Node286_6compspts[1],0,0];
- Node286_6.setImage(GD.getPolyLineJSON());
- Node286_6.setPosition(Node286_6rect.x+Node286_6rect.width/2,Node286_6rect.y+Node286_6rect.height/2);
- Node286_6.setSize(Node286_6rect.width,Node286_6rect.height);
- Node286_6.setStyle("opacity",1);
- Node286_6.s({'pixelPerfect':true});
- Node286_6borderwidth=1;
- Node286_6.setRotation(0);
- dataModel.add(Node286_6);
- Node286_6.a('node.points',Node286_6compspts);
- Node286_6.a('node.segments',[1,2]);
- Node286_6.a('node.color','rgba(255,128,0,1)');
- Node286_6.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node286_6.a('node.borderColor','rgba(255,128,0,1)');
- Node286_6.a('node.background','rgba(255,128,0,1)');
- Node286_6.a('node.gradient','');
- Node286_6.a('node.gradientcolor','rgba(255,128,0,1)');
- Node286_6.a('node.endCompspts',Node286_6endCompspts);
- Node286_6.a('node.startCompspts',Node286_6startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('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_6';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 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_6, Node286_6.getImage(), Node286_6compspts, Node286_6endCompspts, Node286_6startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node287 = new ht.Node();
- var Node287textStart, Node287textWidth, Node287lineStart, Node287align = 'left', Node287fontSize = 13.3333*_ratio.ratioY,Node287width = 50*_ratio.ratioX, Node287height = 24*_ratio.ratioY;
- (function () {
- if (Node287align === 'left') {
- Node287textStart = Node287fontSize * 0.2 > 2 ? Node287fontSize * 0.2 - 4 : Node287fontSize * 0.2 - 9;
- Node287textWidth = Node287width;
- Node287lineStart = 1;
- } else if (Node287align === 'right') {
- Node287textStart = 0;
- Node287textWidth =Node287fontSize <= 8 ? Node287width + Node287fontSize * 0.2 + 6 : Node287width - Node287fontSize * 0.2;
- Node287lineStart = (Node287width - (ht.Default.getTextSize('353-7', ' '+ Node287fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node287align === 'center') {
- Node287textStart = -3;
- Node287textWidth = Node287width;
- Node287lineStart = Node287width - ht.Default.getTextSize('353-7', ' '+ Node287fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node287.setImage(GD.getTextJSON(Node287width, Node287height, true, false, false, ' '+ Node287fontSize + 'px "Arial"'))
- Node287.setPosition(485*ratio.ratioX, 633*ratio.ratioY);
- Node287.setWidth(Node287width);
- Node287.setHeight(Node287height);
- Node287._nodeType = 'text';
- Node287._disallowEvert = true;
- Node287.setRotation(0*Math.PI/180);
- Node287.a('node.width', Node287width);
- Node287.a('node.height', Node287height);
- Node287.a('node.rect', [0, 0, Node287width, Node287height]);
- Node287.a('node.bordercolor','rgba(0,0,0,1)');
- Node287.a('node.borderwidth', 0);
- Node287.a('node.background','' || 'rgba(0,0,0,0)');
- Node287.a('node.gradient','');
- Node287.a('node.gradientcolor','');
- Node287.a('node.text','353-7');
- Node287.a('node.textalign','left');
- Node287.a('node.textvAlign','middle');
- Node287.a('node.textrect', [Node287textStart, 0, Node287textWidth, Node287height]);
- Node287.a('node.color','rgba(0,0,0,1)');
- Node287.a('node.font',' '+ Node287fontSize + 'px "Arial"');
- Node287.a('node.textvisible',true);
- Node287.a('node.linefeed',false);
- if (false) {
- Node287.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node287.a('node.text') || '353-7';
- var color=Node287.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node287width,Node287height,13.3333*_ratio.ratioY,"left",color,' '+ Node287fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node287.a('node.underlinepoints',[Node287lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node287fontSize + 2 , ht.Default.getTextSize('353-7', ' '+ Node287fontSize + 'px "Arial"').width + 6, (Node287height - Node287fontSize) * 0.5*_ratio.ratioY + Node287fontSize + 2 ]);
- Node287.a('node.underlinevisible',false);
- Node287.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node287);
- zoomNodeList.push({
- node: Node287,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node288 = new ht.lib['矩形箭头上'](422*ratio.ratioX, 599*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node288');
- _libModel.add("Node288", Node288);
- Node288.setRotation(0*Math.PI/180);
- ;
- ;
- var Node289points=[421, 571,481, 571],
- Node289rect=ht.Default.unionPoint([{x:421,y:571},{x:481,y:571}]),
- Node289compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node289points.length;i++){
- if(i%2==0){
- Node289compspts.push(Node289points[i]-Node289rect.x);
- }else{
- Node289compspts.push(Node289points[i]-Node289rect.y);
- }
- }
- var Node289ptslength=Node289compspts.length;
- if (Node289rect.height === 0) {
- Node289compspts[0] -= 0;
- Node289compspts[Node289ptslength-2] += 0;
- } else if (Node289rect.width === 0){
- Node289compspts[1] -= 0;
- Node289compspts[Node289ptslength-1] += 0;
- } else {
- Node289compspts[0] -= 0;
- Node289compspts[1] -= 0;
- Node289compspts[Node289ptslength-2] += 0;
- Node289compspts[Node289ptslength-1] += 0;
- }
- Node289 = new ht.Node();
- Node289.borderWidth = 1;
- Node289rect.width = Node289rect.width === 0 ? 0.0001 : Node289rect.width;
- Node289rect.height = Node289rect.height === 0 ? 0.0001 : Node289rect.height;
- var Node289endCompspts = [Node289compspts[Node289ptslength-2],Node289compspts[Node289ptslength-1],0,0];
- var Node289startCompspts = [Node289compspts[0],Node289compspts[1],0,0];
- Node289.setImage(GD.getPolyLineJSON());
- Node289.setPosition(Node289rect.x+Node289rect.width/2,Node289rect.y+Node289rect.height/2);
- Node289.setSize(Node289rect.width,Node289rect.height);
- Node289.setStyle("opacity",1);
- Node289.s({'pixelPerfect':true});
- Node289borderwidth=1;
- Node289.setRotation(0);
- dataModel.add(Node289);
- Node289.a('node.points',Node289compspts);
- Node289.a('node.segments',[1,2]);
- Node289.a('node.color','rgba(255,128,0,1)');
- Node289.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node289.a('node.borderColor','rgba(255,128,0,1)');
- Node289.a('node.background','rgba(255,128,0,1)');
- Node289.a('node.gradient','');
- Node289.a('node.gradientcolor','rgba(255,128,0,1)');
- Node289.a('node.endCompspts',Node289endCompspts);
- Node289.a('node.startCompspts',Node289startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node289';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node289, Node289.getImage(), Node289compspts, Node289endCompspts, Node289startCompspts);
- var Node290points=[480, 571,480, 581],
- Node290rect=ht.Default.unionPoint([{x:480,y:571},{x:480,y:581}]),
- Node290compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node290points.length;i++){
- if(i%2==0){
- Node290compspts.push(Node290points[i]-Node290rect.x);
- }else{
- Node290compspts.push(Node290points[i]-Node290rect.y);
- }
- }
- var Node290ptslength=Node290compspts.length;
- if (Node290rect.height === 0) {
- Node290compspts[0] -= 0;
- Node290compspts[Node290ptslength-2] += 0;
- } else if (Node290rect.width === 0){
- Node290compspts[1] -= 0;
- Node290compspts[Node290ptslength-1] += 0;
- } else {
- Node290compspts[0] -= 0;
- Node290compspts[1] -= 0;
- Node290compspts[Node290ptslength-2] += 0;
- Node290compspts[Node290ptslength-1] += 0;
- }
- Node290 = new ht.Node();
- Node290.borderWidth = 1;
- Node290rect.width = Node290rect.width === 0 ? 0.0001 : Node290rect.width;
- Node290rect.height = Node290rect.height === 0 ? 0.0001 : Node290rect.height;
- var Node290endCompspts = [Node290compspts[Node290ptslength-2],Node290compspts[Node290ptslength-1],0,0];
- var Node290startCompspts = [Node290compspts[0],Node290compspts[1],0,0];
- Node290.setImage(GD.getPolyLineJSON());
- Node290.setPosition(Node290rect.x+Node290rect.width/2,Node290rect.y+Node290rect.height/2);
- Node290.setSize(Node290rect.width,Node290rect.height);
- Node290.setStyle("opacity",1);
- Node290.s({'pixelPerfect':true});
- Node290borderwidth=1;
- Node290.setRotation(0);
- dataModel.add(Node290);
- Node290.a('node.points',Node290compspts);
- Node290.a('node.segments',[1,2]);
- Node290.a('node.color','rgba(255,128,0,1)');
- Node290.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node290.a('node.borderColor','rgba(255,128,0,1)');
- Node290.a('node.background','rgba(255,128,0,1)');
- Node290.a('node.gradient','');
- Node290.a('node.gradientcolor','rgba(255,128,0,1)');
- Node290.a('node.endCompspts',Node290endCompspts);
- Node290.a('node.startCompspts',Node290startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node290';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node290, Node290.getImage(), Node290compspts, Node290endCompspts, Node290startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node291 = new ht.lib['黄色接地'](479*ratio.ratioX, 611*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node291');
- _libModel.add("Node291", Node291);
- Node291.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node292 = new ht.lib['ss'](450*ratio.ratioX, 601*ratio.ratioY, 10*_ratio.ratioX, 44*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node292');
- _libModel.add("Node292", Node292);
- Node292.setRotation(180*Math.PI/180);
- ;
- ;
- var Node293points=[450, 581,450, 561],
- Node293rect=ht.Default.unionPoint([{x:450,y:581},{x:450,y:561}]),
- Node293compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node293points.length;i++){
- if(i%2==0){
- Node293compspts.push(Node293points[i]-Node293rect.x);
- }else{
- Node293compspts.push(Node293points[i]-Node293rect.y);
- }
- }
- var Node293ptslength=Node293compspts.length;
- if (Node293rect.height === 0) {
- Node293compspts[0] -= 0;
- Node293compspts[Node293ptslength-2] += 0;
- } else if (Node293rect.width === 0){
- Node293compspts[1] -= 0;
- Node293compspts[Node293ptslength-1] += 0;
- } else {
- Node293compspts[0] -= 0;
- Node293compspts[1] -= 0;
- Node293compspts[Node293ptslength-2] += 0;
- Node293compspts[Node293ptslength-1] += 0;
- }
- Node293 = new ht.Node();
- Node293.borderWidth = 1;
- Node293rect.width = Node293rect.width === 0 ? 0.0001 : Node293rect.width;
- Node293rect.height = Node293rect.height === 0 ? 0.0001 : Node293rect.height;
- var Node293endCompspts = [Node293compspts[Node293ptslength-2],Node293compspts[Node293ptslength-1],0,0];
- var Node293startCompspts = [Node293compspts[0],Node293compspts[1],0,0];
- Node293.setImage(GD.getPolyLineJSON());
- Node293.setPosition(Node293rect.x+Node293rect.width/2,Node293rect.y+Node293rect.height/2);
- Node293.setSize(Node293rect.width,Node293rect.height);
- Node293.setStyle("opacity",1);
- Node293.s({'pixelPerfect':true});
- Node293borderwidth=1;
- Node293.setRotation(0);
- dataModel.add(Node293);
- Node293.a('node.points',Node293compspts);
- Node293.a('node.segments',[1,2]);
- Node293.a('node.color','rgba(255,128,0,1)');
- Node293.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node293.a('node.borderColor','rgba(255,128,0,1)');
- Node293.a('node.background','rgba(255,128,0,1)');
- Node293.a('node.gradient','');
- Node293.a('node.gradientcolor','rgba(255,128,0,1)');
- Node293.a('node.endCompspts',Node293endCompspts);
- Node293.a('node.startCompspts',Node293startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node293';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node293, Node293.getImage(), Node293compspts, Node293endCompspts, Node293startCompspts);
- _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 = 50*_ratio.ratioX, Node294height = 24*_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('354-7', ' '+ Node294fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node294align === 'center') {
- Node294textStart = -3;
- Node294textWidth = Node294width;
- Node294lineStart = Node294width - ht.Default.getTextSize('354-7', ' '+ Node294fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node294.setImage(GD.getTextJSON(Node294width, Node294height, true, false, false, ' '+ Node294fontSize + 'px "Arial"'))
- Node294.setPosition(575*ratio.ratioX, 633*ratio.ratioY);
- Node294.setWidth(Node294width);
- Node294.setHeight(Node294height);
- Node294._nodeType = 'text';
- Node294._disallowEvert = true;
- Node294.setRotation(0*Math.PI/180);
- Node294.a('node.width', Node294width);
- Node294.a('node.height', Node294height);
- Node294.a('node.rect', [0, 0, Node294width, Node294height]);
- Node294.a('node.bordercolor','rgba(0,0,0,1)');
- Node294.a('node.borderwidth', 0);
- Node294.a('node.background','' || 'rgba(0,0,0,0)');
- Node294.a('node.gradient','');
- Node294.a('node.gradientcolor','');
- Node294.a('node.text','354-7');
- Node294.a('node.textalign','left');
- Node294.a('node.textvAlign','middle');
- Node294.a('node.textrect', [Node294textStart, 0, Node294textWidth, Node294height]);
- Node294.a('node.color','rgba(0,0,0,1)');
- Node294.a('node.font',' '+ Node294fontSize + 'px "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') || '354-7';
- var color=Node294.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node294width,Node294height,13.3333*_ratio.ratioY,"left",color,' '+ Node294fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node294.a('node.underlinepoints',[Node294lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node294fontSize + 2 , ht.Default.getTextSize('354-7', ' '+ 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.lib['矩形箭头上'](512*ratio.ratioX, 599*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node295');
- _libModel.add("Node295", Node295);
- Node295.setRotation(0*Math.PI/180);
- ;
- ;
- var Node296points=[511, 571,571, 571],
- Node296rect=ht.Default.unionPoint([{x:511,y:571},{x:571,y:571}]),
- Node296compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node296points.length;i++){
- if(i%2==0){
- Node296compspts.push(Node296points[i]-Node296rect.x);
- }else{
- Node296compspts.push(Node296points[i]-Node296rect.y);
- }
- }
- var Node296ptslength=Node296compspts.length;
- if (Node296rect.height === 0) {
- Node296compspts[0] -= 0;
- Node296compspts[Node296ptslength-2] += 0;
- } else if (Node296rect.width === 0){
- Node296compspts[1] -= 0;
- Node296compspts[Node296ptslength-1] += 0;
- } else {
- Node296compspts[0] -= 0;
- Node296compspts[1] -= 0;
- Node296compspts[Node296ptslength-2] += 0;
- Node296compspts[Node296ptslength-1] += 0;
- }
- Node296 = new ht.Node();
- Node296.borderWidth = 1;
- Node296rect.width = Node296rect.width === 0 ? 0.0001 : Node296rect.width;
- Node296rect.height = Node296rect.height === 0 ? 0.0001 : Node296rect.height;
- var Node296endCompspts = [Node296compspts[Node296ptslength-2],Node296compspts[Node296ptslength-1],0,0];
- var Node296startCompspts = [Node296compspts[0],Node296compspts[1],0,0];
- Node296.setImage(GD.getPolyLineJSON());
- Node296.setPosition(Node296rect.x+Node296rect.width/2,Node296rect.y+Node296rect.height/2);
- Node296.setSize(Node296rect.width,Node296rect.height);
- Node296.setStyle("opacity",1);
- Node296.s({'pixelPerfect':true});
- Node296borderwidth=1;
- Node296.setRotation(0);
- dataModel.add(Node296);
- Node296.a('node.points',Node296compspts);
- Node296.a('node.segments',[1,2]);
- Node296.a('node.color','rgba(255,128,0,1)');
- Node296.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node296.a('node.borderColor','rgba(255,128,0,1)');
- Node296.a('node.background','rgba(255,128,0,1)');
- Node296.a('node.gradient','');
- Node296.a('node.gradientcolor','rgba(255,128,0,1)');
- Node296.a('node.endCompspts',Node296endCompspts);
- Node296.a('node.startCompspts',Node296startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node296';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node296, Node296.getImage(), Node296compspts, Node296endCompspts, Node296startCompspts);
- var Node297points=[570, 571,570, 581],
- Node297rect=ht.Default.unionPoint([{x:570,y:571},{x:570,y:581}]),
- Node297compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node297points.length;i++){
- if(i%2==0){
- Node297compspts.push(Node297points[i]-Node297rect.x);
- }else{
- Node297compspts.push(Node297points[i]-Node297rect.y);
- }
- }
- var Node297ptslength=Node297compspts.length;
- if (Node297rect.height === 0) {
- Node297compspts[0] -= 0;
- Node297compspts[Node297ptslength-2] += 0;
- } else if (Node297rect.width === 0){
- Node297compspts[1] -= 0;
- Node297compspts[Node297ptslength-1] += 0;
- } else {
- Node297compspts[0] -= 0;
- Node297compspts[1] -= 0;
- Node297compspts[Node297ptslength-2] += 0;
- Node297compspts[Node297ptslength-1] += 0;
- }
- Node297 = new ht.Node();
- Node297.borderWidth = 1;
- Node297rect.width = Node297rect.width === 0 ? 0.0001 : Node297rect.width;
- Node297rect.height = Node297rect.height === 0 ? 0.0001 : Node297rect.height;
- var Node297endCompspts = [Node297compspts[Node297ptslength-2],Node297compspts[Node297ptslength-1],0,0];
- var Node297startCompspts = [Node297compspts[0],Node297compspts[1],0,0];
- Node297.setImage(GD.getPolyLineJSON());
- Node297.setPosition(Node297rect.x+Node297rect.width/2,Node297rect.y+Node297rect.height/2);
- Node297.setSize(Node297rect.width,Node297rect.height);
- Node297.setStyle("opacity",1);
- Node297.s({'pixelPerfect':true});
- Node297borderwidth=1;
- Node297.setRotation(0);
- dataModel.add(Node297);
- Node297.a('node.points',Node297compspts);
- Node297.a('node.segments',[1,2]);
- Node297.a('node.color','rgba(255,128,0,1)');
- Node297.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node297.a('node.borderColor','rgba(255,128,0,1)');
- Node297.a('node.background','rgba(255,128,0,1)');
- Node297.a('node.gradient','');
- Node297.a('node.gradientcolor','rgba(255,128,0,1)');
- Node297.a('node.endCompspts',Node297endCompspts);
- Node297.a('node.startCompspts',Node297startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node297';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node297, Node297.getImage(), Node297compspts, Node297endCompspts, Node297startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node298 = new ht.lib['黄色接地'](569*ratio.ratioX, 611*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node298');
- _libModel.add("Node298", Node298);
- Node298.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node299 = new ht.lib['ss'](540*ratio.ratioX, 601*ratio.ratioY, 10*_ratio.ratioX, 44*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node299');
- _libModel.add("Node299", Node299);
- Node299.setRotation(180*Math.PI/180);
- ;
- ;
- var Node300points=[540, 581,540, 561],
- Node300rect=ht.Default.unionPoint([{x:540,y:581},{x:540,y:561}]),
- Node300compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node300points.length;i++){
- if(i%2==0){
- Node300compspts.push(Node300points[i]-Node300rect.x);
- }else{
- Node300compspts.push(Node300points[i]-Node300rect.y);
- }
- }
- var Node300ptslength=Node300compspts.length;
- if (Node300rect.height === 0) {
- Node300compspts[0] -= 0;
- Node300compspts[Node300ptslength-2] += 0;
- } else if (Node300rect.width === 0){
- Node300compspts[1] -= 0;
- Node300compspts[Node300ptslength-1] += 0;
- } else {
- Node300compspts[0] -= 0;
- Node300compspts[1] -= 0;
- Node300compspts[Node300ptslength-2] += 0;
- Node300compspts[Node300ptslength-1] += 0;
- }
- Node300 = new ht.Node();
- Node300.borderWidth = 1;
- Node300rect.width = Node300rect.width === 0 ? 0.0001 : Node300rect.width;
- Node300rect.height = Node300rect.height === 0 ? 0.0001 : Node300rect.height;
- var Node300endCompspts = [Node300compspts[Node300ptslength-2],Node300compspts[Node300ptslength-1],0,0];
- var Node300startCompspts = [Node300compspts[0],Node300compspts[1],0,0];
- Node300.setImage(GD.getPolyLineJSON());
- Node300.setPosition(Node300rect.x+Node300rect.width/2,Node300rect.y+Node300rect.height/2);
- Node300.setSize(Node300rect.width,Node300rect.height);
- Node300.setStyle("opacity",1);
- Node300.s({'pixelPerfect':true});
- Node300borderwidth=1;
- Node300.setRotation(0);
- dataModel.add(Node300);
- Node300.a('node.points',Node300compspts);
- Node300.a('node.segments',[1,2]);
- Node300.a('node.color','rgba(255,128,0,1)');
- Node300.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node300.a('node.borderColor','rgba(255,128,0,1)');
- Node300.a('node.background','rgba(255,128,0,1)');
- Node300.a('node.gradient','');
- Node300.a('node.gradientcolor','rgba(255,128,0,1)');
- Node300.a('node.endCompspts',Node300endCompspts);
- Node300.a('node.startCompspts',Node300startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node300';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node300, Node300.getImage(), Node300compspts, Node300endCompspts, Node300startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node301 = new ht.Node();
- var Node301textStart, Node301textWidth, Node301lineStart, Node301align = 'left', Node301fontSize = 13.3333*_ratio.ratioY,Node301width = 50*_ratio.ratioX, Node301height = 24*_ratio.ratioY;
- (function () {
- if (Node301align === 'left') {
- Node301textStart = Node301fontSize * 0.2 > 2 ? Node301fontSize * 0.2 - 4 : Node301fontSize * 0.2 - 9;
- Node301textWidth = Node301width;
- Node301lineStart = 1;
- } else if (Node301align === 'right') {
- Node301textStart = 0;
- Node301textWidth =Node301fontSize <= 8 ? Node301width + Node301fontSize * 0.2 + 6 : Node301width - Node301fontSize * 0.2;
- Node301lineStart = (Node301width - (ht.Default.getTextSize('355-7', ' '+ Node301fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node301align === 'center') {
- Node301textStart = -3;
- Node301textWidth = Node301width;
- Node301lineStart = Node301width - ht.Default.getTextSize('355-7', ' '+ Node301fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node301.setImage(GD.getTextJSON(Node301width, Node301height, true, false, false, ' '+ Node301fontSize + 'px "Arial"'))
- Node301.setPosition(665*ratio.ratioX, 633*ratio.ratioY);
- Node301.setWidth(Node301width);
- Node301.setHeight(Node301height);
- Node301._nodeType = 'text';
- Node301._disallowEvert = true;
- Node301.setRotation(0*Math.PI/180);
- Node301.a('node.width', Node301width);
- Node301.a('node.height', Node301height);
- Node301.a('node.rect', [0, 0, Node301width, Node301height]);
- Node301.a('node.bordercolor','rgba(0,0,0,1)');
- Node301.a('node.borderwidth', 0);
- Node301.a('node.background','' || 'rgba(0,0,0,0)');
- Node301.a('node.gradient','');
- Node301.a('node.gradientcolor','');
- Node301.a('node.text','355-7');
- Node301.a('node.textalign','left');
- Node301.a('node.textvAlign','middle');
- Node301.a('node.textrect', [Node301textStart, 0, Node301textWidth, Node301height]);
- Node301.a('node.color','rgba(0,0,0,1)');
- Node301.a('node.font',' '+ Node301fontSize + 'px "Arial"');
- Node301.a('node.textvisible',true);
- Node301.a('node.linefeed',false);
- if (false) {
- Node301.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node301.a('node.text') || '355-7';
- var color=Node301.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node301width,Node301height,13.3333*_ratio.ratioY,"left",color,' '+ Node301fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node301.a('node.underlinepoints',[Node301lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node301fontSize + 2 , ht.Default.getTextSize('355-7', ' '+ Node301fontSize + 'px "Arial"').width + 6, (Node301height - Node301fontSize) * 0.5*_ratio.ratioY + Node301fontSize + 2 ]);
- Node301.a('node.underlinevisible',false);
- Node301.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node301);
- zoomNodeList.push({
- node: Node301,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node302 = new ht.lib['矩形箭头上'](602*ratio.ratioX, 599*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node302');
- _libModel.add("Node302", Node302);
- Node302.setRotation(0*Math.PI/180);
- ;
- ;
- var Node303points=[601, 571,661, 571],
- Node303rect=ht.Default.unionPoint([{x:601,y:571},{x:661,y:571}]),
- Node303compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node303points.length;i++){
- if(i%2==0){
- Node303compspts.push(Node303points[i]-Node303rect.x);
- }else{
- Node303compspts.push(Node303points[i]-Node303rect.y);
- }
- }
- var Node303ptslength=Node303compspts.length;
- if (Node303rect.height === 0) {
- Node303compspts[0] -= 0;
- Node303compspts[Node303ptslength-2] += 0;
- } else if (Node303rect.width === 0){
- Node303compspts[1] -= 0;
- Node303compspts[Node303ptslength-1] += 0;
- } else {
- Node303compspts[0] -= 0;
- Node303compspts[1] -= 0;
- Node303compspts[Node303ptslength-2] += 0;
- Node303compspts[Node303ptslength-1] += 0;
- }
- Node303 = new ht.Node();
- Node303.borderWidth = 1;
- Node303rect.width = Node303rect.width === 0 ? 0.0001 : Node303rect.width;
- Node303rect.height = Node303rect.height === 0 ? 0.0001 : Node303rect.height;
- var Node303endCompspts = [Node303compspts[Node303ptslength-2],Node303compspts[Node303ptslength-1],0,0];
- var Node303startCompspts = [Node303compspts[0],Node303compspts[1],0,0];
- Node303.setImage(GD.getPolyLineJSON());
- Node303.setPosition(Node303rect.x+Node303rect.width/2,Node303rect.y+Node303rect.height/2);
- Node303.setSize(Node303rect.width,Node303rect.height);
- Node303.setStyle("opacity",1);
- Node303.s({'pixelPerfect':true});
- Node303borderwidth=1;
- Node303.setRotation(0);
- dataModel.add(Node303);
- Node303.a('node.points',Node303compspts);
- Node303.a('node.segments',[1,2]);
- Node303.a('node.color','rgba(255,128,0,1)');
- Node303.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node303.a('node.borderColor','rgba(255,128,0,1)');
- Node303.a('node.background','rgba(255,128,0,1)');
- Node303.a('node.gradient','');
- Node303.a('node.gradientcolor','rgba(255,128,0,1)');
- Node303.a('node.endCompspts',Node303endCompspts);
- Node303.a('node.startCompspts',Node303startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node303';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node303, Node303.getImage(), Node303compspts, Node303endCompspts, Node303startCompspts);
- var Node304points=[660, 571,660, 581],
- Node304rect=ht.Default.unionPoint([{x:660,y:571},{x:660,y:581}]),
- Node304compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node304points.length;i++){
- if(i%2==0){
- Node304compspts.push(Node304points[i]-Node304rect.x);
- }else{
- Node304compspts.push(Node304points[i]-Node304rect.y);
- }
- }
- var Node304ptslength=Node304compspts.length;
- if (Node304rect.height === 0) {
- Node304compspts[0] -= 0;
- Node304compspts[Node304ptslength-2] += 0;
- } else if (Node304rect.width === 0){
- Node304compspts[1] -= 0;
- Node304compspts[Node304ptslength-1] += 0;
- } else {
- Node304compspts[0] -= 0;
- Node304compspts[1] -= 0;
- Node304compspts[Node304ptslength-2] += 0;
- Node304compspts[Node304ptslength-1] += 0;
- }
- Node304 = new ht.Node();
- Node304.borderWidth = 1;
- Node304rect.width = Node304rect.width === 0 ? 0.0001 : Node304rect.width;
- Node304rect.height = Node304rect.height === 0 ? 0.0001 : Node304rect.height;
- var Node304endCompspts = [Node304compspts[Node304ptslength-2],Node304compspts[Node304ptslength-1],0,0];
- var Node304startCompspts = [Node304compspts[0],Node304compspts[1],0,0];
- Node304.setImage(GD.getPolyLineJSON());
- Node304.setPosition(Node304rect.x+Node304rect.width/2,Node304rect.y+Node304rect.height/2);
- Node304.setSize(Node304rect.width,Node304rect.height);
- Node304.setStyle("opacity",1);
- Node304.s({'pixelPerfect':true});
- Node304borderwidth=1;
- Node304.setRotation(0);
- dataModel.add(Node304);
- Node304.a('node.points',Node304compspts);
- Node304.a('node.segments',[1,2]);
- Node304.a('node.color','rgba(255,128,0,1)');
- Node304.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node304.a('node.borderColor','rgba(255,128,0,1)');
- Node304.a('node.background','rgba(255,128,0,1)');
- Node304.a('node.gradient','');
- Node304.a('node.gradientcolor','rgba(255,128,0,1)');
- Node304.a('node.endCompspts',Node304endCompspts);
- Node304.a('node.startCompspts',Node304startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node304';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node304, Node304.getImage(), Node304compspts, Node304endCompspts, Node304startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node305 = new ht.lib['黄色接地'](659*ratio.ratioX, 611*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node305');
- _libModel.add("Node305", Node305);
- Node305.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node306 = new ht.lib['ss'](630*ratio.ratioX, 601*ratio.ratioY, 10*_ratio.ratioX, 44*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node306');
- _libModel.add("Node306", Node306);
- Node306.setRotation(180*Math.PI/180);
- ;
- ;
- var Node307points=[630, 581,630, 561],
- Node307rect=ht.Default.unionPoint([{x:630,y:581},{x:630,y:561}]),
- Node307compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node307points.length;i++){
- if(i%2==0){
- Node307compspts.push(Node307points[i]-Node307rect.x);
- }else{
- Node307compspts.push(Node307points[i]-Node307rect.y);
- }
- }
- var Node307ptslength=Node307compspts.length;
- if (Node307rect.height === 0) {
- Node307compspts[0] -= 0;
- Node307compspts[Node307ptslength-2] += 0;
- } else if (Node307rect.width === 0){
- Node307compspts[1] -= 0;
- Node307compspts[Node307ptslength-1] += 0;
- } else {
- Node307compspts[0] -= 0;
- Node307compspts[1] -= 0;
- Node307compspts[Node307ptslength-2] += 0;
- Node307compspts[Node307ptslength-1] += 0;
- }
- Node307 = new ht.Node();
- Node307.borderWidth = 1;
- Node307rect.width = Node307rect.width === 0 ? 0.0001 : Node307rect.width;
- Node307rect.height = Node307rect.height === 0 ? 0.0001 : Node307rect.height;
- var Node307endCompspts = [Node307compspts[Node307ptslength-2],Node307compspts[Node307ptslength-1],0,0];
- var Node307startCompspts = [Node307compspts[0],Node307compspts[1],0,0];
- Node307.setImage(GD.getPolyLineJSON());
- Node307.setPosition(Node307rect.x+Node307rect.width/2,Node307rect.y+Node307rect.height/2);
- Node307.setSize(Node307rect.width,Node307rect.height);
- Node307.setStyle("opacity",1);
- Node307.s({'pixelPerfect':true});
- Node307borderwidth=1;
- Node307.setRotation(0);
- dataModel.add(Node307);
- Node307.a('node.points',Node307compspts);
- Node307.a('node.segments',[1,2]);
- Node307.a('node.color','rgba(255,128,0,1)');
- Node307.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node307.a('node.borderColor','rgba(255,128,0,1)');
- Node307.a('node.background','rgba(255,128,0,1)');
- Node307.a('node.gradient','');
- Node307.a('node.gradientcolor','rgba(255,128,0,1)');
- Node307.a('node.endCompspts',Node307endCompspts);
- Node307.a('node.startCompspts',Node307startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node307';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node307, Node307.getImage(), Node307compspts, Node307endCompspts, Node307startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node308_0 = new ht.Node();
- var Node308_0textStart, Node308_0textWidth, Node308_0lineStart, Node308_0align = 'left', Node308_0fontSize = 13.3333*_ratio.ratioY,Node308_0width = 50*_ratio.ratioX, Node308_0height = 24*_ratio.ratioY;
- (function () {
- if (Node308_0align === 'left') {
- Node308_0textStart = Node308_0fontSize * 0.2 > 2 ? Node308_0fontSize * 0.2 - 4 : Node308_0fontSize * 0.2 - 9;
- Node308_0textWidth = Node308_0width;
- Node308_0lineStart = 1;
- } else if (Node308_0align === 'right') {
- Node308_0textStart = 0;
- Node308_0textWidth =Node308_0fontSize <= 8 ? Node308_0width + Node308_0fontSize * 0.2 + 6 : Node308_0width - Node308_0fontSize * 0.2;
- Node308_0lineStart = (Node308_0width - (ht.Default.getTextSize('356-7', ' '+ Node308_0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node308_0align === 'center') {
- Node308_0textStart = -3;
- Node308_0textWidth = Node308_0width;
- Node308_0lineStart = Node308_0width - ht.Default.getTextSize('356-7', ' '+ Node308_0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node308_0.setImage(GD.getTextJSON(Node308_0width, Node308_0height, true, false, false, ' '+ Node308_0fontSize + 'px "Arial"'))
- Node308_0.setPosition(755*ratio.ratioX, 633*ratio.ratioY);
- Node308_0.setWidth(Node308_0width);
- Node308_0.setHeight(Node308_0height);
- Node308_0._nodeType = 'text';
- Node308_0._disallowEvert = true;
- Node308_0.setRotation(0*Math.PI/180);
- Node308_0.a('node.width', Node308_0width);
- Node308_0.a('node.height', Node308_0height);
- Node308_0.a('node.rect', [0, 0, Node308_0width, Node308_0height]);
- Node308_0.a('node.bordercolor','rgba(0,0,0,1)');
- Node308_0.a('node.borderwidth', 0);
- Node308_0.a('node.background','' || 'rgba(0,0,0,0)');
- Node308_0.a('node.gradient','');
- Node308_0.a('node.gradientcolor','');
- Node308_0.a('node.text','356-7');
- Node308_0.a('node.textalign','left');
- Node308_0.a('node.textvAlign','middle');
- Node308_0.a('node.textrect', [Node308_0textStart, 0, Node308_0textWidth, Node308_0height]);
- Node308_0.a('node.color','rgba(0,0,0,1)');
- Node308_0.a('node.font',' '+ Node308_0fontSize + 'px "Arial"');
- Node308_0.a('node.textvisible',true);
- Node308_0.a('node.linefeed',false);
- if (false) {
- Node308_0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node308_0.a('node.text') || '356-7';
- var color=Node308_0.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node308_0width,Node308_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node308_0fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node308_0.a('node.underlinepoints',[Node308_0lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node308_0fontSize + 2 , ht.Default.getTextSize('356-7', ' '+ Node308_0fontSize + 'px "Arial"').width + 6, (Node308_0height - Node308_0fontSize) * 0.5*_ratio.ratioY + Node308_0fontSize + 2 ]);
- Node308_0.a('node.underlinevisible',false);
- Node308_0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node308_0);
- zoomNodeList.push({
- node: Node308_0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node308_1 = new ht.lib['矩形箭头上'](692*ratio.ratioX, 599*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node308_1');
- _libModel.add("Node308_1", Node308_1);
- Node308_1.setRotation(0*Math.PI/180);
- ;
- ;
- var Node308_2points=[691, 571,751, 571],
- Node308_2rect=ht.Default.unionPoint([{x:691,y:571},{x:751,y:571}]),
- Node308_2compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node308_2points.length;i++){
- if(i%2==0){
- Node308_2compspts.push(Node308_2points[i]-Node308_2rect.x);
- }else{
- Node308_2compspts.push(Node308_2points[i]-Node308_2rect.y);
- }
- }
- var Node308_2ptslength=Node308_2compspts.length;
- if (Node308_2rect.height === 0) {
- Node308_2compspts[0] -= 0;
- Node308_2compspts[Node308_2ptslength-2] += 0;
- } else if (Node308_2rect.width === 0){
- Node308_2compspts[1] -= 0;
- Node308_2compspts[Node308_2ptslength-1] += 0;
- } else {
- Node308_2compspts[0] -= 0;
- Node308_2compspts[1] -= 0;
- Node308_2compspts[Node308_2ptslength-2] += 0;
- Node308_2compspts[Node308_2ptslength-1] += 0;
- }
- Node308_2 = new ht.Node();
- Node308_2.borderWidth = 1;
- Node308_2rect.width = Node308_2rect.width === 0 ? 0.0001 : Node308_2rect.width;
- Node308_2rect.height = Node308_2rect.height === 0 ? 0.0001 : Node308_2rect.height;
- var Node308_2endCompspts = [Node308_2compspts[Node308_2ptslength-2],Node308_2compspts[Node308_2ptslength-1],0,0];
- var Node308_2startCompspts = [Node308_2compspts[0],Node308_2compspts[1],0,0];
- Node308_2.setImage(GD.getPolyLineJSON());
- Node308_2.setPosition(Node308_2rect.x+Node308_2rect.width/2,Node308_2rect.y+Node308_2rect.height/2);
- Node308_2.setSize(Node308_2rect.width,Node308_2rect.height);
- Node308_2.setStyle("opacity",1);
- Node308_2.s({'pixelPerfect':true});
- Node308_2borderwidth=1;
- Node308_2.setRotation(0);
- dataModel.add(Node308_2);
- Node308_2.a('node.points',Node308_2compspts);
- Node308_2.a('node.segments',[1,2]);
- Node308_2.a('node.color','rgba(255,128,0,1)');
- Node308_2.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node308_2.a('node.borderColor','rgba(255,128,0,1)');
- Node308_2.a('node.background','rgba(255,128,0,1)');
- Node308_2.a('node.gradient','');
- Node308_2.a('node.gradientcolor','rgba(255,128,0,1)');
- Node308_2.a('node.endCompspts',Node308_2endCompspts);
- Node308_2.a('node.startCompspts',Node308_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 = 'Node308_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);
- }
- })(Node308_2, Node308_2.getImage(), Node308_2compspts, Node308_2endCompspts, Node308_2startCompspts);
- var Node308_3points=[750, 571,750, 581],
- Node308_3rect=ht.Default.unionPoint([{x:750,y:571},{x:750,y:581}]),
- Node308_3compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node308_3points.length;i++){
- if(i%2==0){
- Node308_3compspts.push(Node308_3points[i]-Node308_3rect.x);
- }else{
- Node308_3compspts.push(Node308_3points[i]-Node308_3rect.y);
- }
- }
- var Node308_3ptslength=Node308_3compspts.length;
- if (Node308_3rect.height === 0) {
- Node308_3compspts[0] -= 0;
- Node308_3compspts[Node308_3ptslength-2] += 0;
- } else if (Node308_3rect.width === 0){
- Node308_3compspts[1] -= 0;
- Node308_3compspts[Node308_3ptslength-1] += 0;
- } else {
- Node308_3compspts[0] -= 0;
- Node308_3compspts[1] -= 0;
- Node308_3compspts[Node308_3ptslength-2] += 0;
- Node308_3compspts[Node308_3ptslength-1] += 0;
- }
- Node308_3 = new ht.Node();
- Node308_3.borderWidth = 1;
- Node308_3rect.width = Node308_3rect.width === 0 ? 0.0001 : Node308_3rect.width;
- Node308_3rect.height = Node308_3rect.height === 0 ? 0.0001 : Node308_3rect.height;
- var Node308_3endCompspts = [Node308_3compspts[Node308_3ptslength-2],Node308_3compspts[Node308_3ptslength-1],0,0];
- var Node308_3startCompspts = [Node308_3compspts[0],Node308_3compspts[1],0,0];
- Node308_3.setImage(GD.getPolyLineJSON());
- Node308_3.setPosition(Node308_3rect.x+Node308_3rect.width/2,Node308_3rect.y+Node308_3rect.height/2);
- Node308_3.setSize(Node308_3rect.width,Node308_3rect.height);
- Node308_3.setStyle("opacity",1);
- Node308_3.s({'pixelPerfect':true});
- Node308_3borderwidth=1;
- Node308_3.setRotation(0);
- dataModel.add(Node308_3);
- Node308_3.a('node.points',Node308_3compspts);
- Node308_3.a('node.segments',[1,2]);
- Node308_3.a('node.color','rgba(255,128,0,1)');
- Node308_3.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node308_3.a('node.borderColor','rgba(255,128,0,1)');
- Node308_3.a('node.background','rgba(255,128,0,1)');
- Node308_3.a('node.gradient','');
- Node308_3.a('node.gradientcolor','rgba(255,128,0,1)');
- Node308_3.a('node.endCompspts',Node308_3endCompspts);
- Node308_3.a('node.startCompspts',Node308_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 = 'Node308_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);
- }
- })(Node308_3, Node308_3.getImage(), Node308_3compspts, Node308_3endCompspts, Node308_3startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node308_4 = new ht.lib['黄色接地'](749*ratio.ratioX, 611*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node308_4');
- _libModel.add("Node308_4", Node308_4);
- Node308_4.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node308_5 = new ht.lib['ss'](720*ratio.ratioX, 601*ratio.ratioY, 10*_ratio.ratioX, 44*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node308_5');
- _libModel.add("Node308_5", Node308_5);
- Node308_5.setRotation(180*Math.PI/180);
- ;
- ;
- var Node308_6points=[720, 581,720, 561],
- Node308_6rect=ht.Default.unionPoint([{x:720,y:581},{x:720,y:561}]),
- Node308_6compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node308_6points.length;i++){
- if(i%2==0){
- Node308_6compspts.push(Node308_6points[i]-Node308_6rect.x);
- }else{
- Node308_6compspts.push(Node308_6points[i]-Node308_6rect.y);
- }
- }
- var Node308_6ptslength=Node308_6compspts.length;
- if (Node308_6rect.height === 0) {
- Node308_6compspts[0] -= 0;
- Node308_6compspts[Node308_6ptslength-2] += 0;
- } else if (Node308_6rect.width === 0){
- Node308_6compspts[1] -= 0;
- Node308_6compspts[Node308_6ptslength-1] += 0;
- } else {
- Node308_6compspts[0] -= 0;
- Node308_6compspts[1] -= 0;
- Node308_6compspts[Node308_6ptslength-2] += 0;
- Node308_6compspts[Node308_6ptslength-1] += 0;
- }
- Node308_6 = new ht.Node();
- Node308_6.borderWidth = 1;
- Node308_6rect.width = Node308_6rect.width === 0 ? 0.0001 : Node308_6rect.width;
- Node308_6rect.height = Node308_6rect.height === 0 ? 0.0001 : Node308_6rect.height;
- var Node308_6endCompspts = [Node308_6compspts[Node308_6ptslength-2],Node308_6compspts[Node308_6ptslength-1],0,0];
- var Node308_6startCompspts = [Node308_6compspts[0],Node308_6compspts[1],0,0];
- Node308_6.setImage(GD.getPolyLineJSON());
- Node308_6.setPosition(Node308_6rect.x+Node308_6rect.width/2,Node308_6rect.y+Node308_6rect.height/2);
- Node308_6.setSize(Node308_6rect.width,Node308_6rect.height);
- Node308_6.setStyle("opacity",1);
- Node308_6.s({'pixelPerfect':true});
- Node308_6borderwidth=1;
- Node308_6.setRotation(0);
- dataModel.add(Node308_6);
- Node308_6.a('node.points',Node308_6compspts);
- Node308_6.a('node.segments',[1,2]);
- Node308_6.a('node.color','rgba(255,128,0,1)');
- Node308_6.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node308_6.a('node.borderColor','rgba(255,128,0,1)');
- Node308_6.a('node.background','rgba(255,128,0,1)');
- Node308_6.a('node.gradient','');
- Node308_6.a('node.gradientcolor','rgba(255,128,0,1)');
- Node308_6.a('node.endCompspts',Node308_6endCompspts);
- Node308_6.a('node.startCompspts',Node308_6startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node308_6';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node308_6, Node308_6.getImage(), Node308_6compspts, Node308_6endCompspts, Node308_6startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node309 = new ht.Node();
- var Node309textStart, Node309textWidth, Node309lineStart, Node309align = 'left', Node309fontSize = 13.3333*_ratio.ratioY,Node309width = 50*_ratio.ratioX, Node309height = 24*_ratio.ratioY;
- (function () {
- if (Node309align === 'left') {
- Node309textStart = Node309fontSize * 0.2 > 2 ? Node309fontSize * 0.2 - 4 : Node309fontSize * 0.2 - 9;
- Node309textWidth = Node309width;
- Node309lineStart = 1;
- } else if (Node309align === 'right') {
- Node309textStart = 0;
- Node309textWidth =Node309fontSize <= 8 ? Node309width + Node309fontSize * 0.2 + 6 : Node309width - Node309fontSize * 0.2;
- Node309lineStart = (Node309width - (ht.Default.getTextSize('357-7', ' '+ Node309fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node309align === 'center') {
- Node309textStart = -3;
- Node309textWidth = Node309width;
- Node309lineStart = Node309width - ht.Default.getTextSize('357-7', ' '+ Node309fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node309.setImage(GD.getTextJSON(Node309width, Node309height, true, false, false, ' '+ Node309fontSize + 'px "Arial"'))
- Node309.setPosition(845*ratio.ratioX, 633*ratio.ratioY);
- Node309.setWidth(Node309width);
- Node309.setHeight(Node309height);
- Node309._nodeType = 'text';
- Node309._disallowEvert = true;
- Node309.setRotation(0*Math.PI/180);
- Node309.a('node.width', Node309width);
- Node309.a('node.height', Node309height);
- Node309.a('node.rect', [0, 0, Node309width, Node309height]);
- Node309.a('node.bordercolor','rgba(0,0,0,1)');
- Node309.a('node.borderwidth', 0);
- Node309.a('node.background','' || 'rgba(0,0,0,0)');
- Node309.a('node.gradient','');
- Node309.a('node.gradientcolor','');
- Node309.a('node.text','357-7');
- Node309.a('node.textalign','left');
- Node309.a('node.textvAlign','middle');
- Node309.a('node.textrect', [Node309textStart, 0, Node309textWidth, Node309height]);
- Node309.a('node.color','rgba(0,0,0,1)');
- Node309.a('node.font',' '+ Node309fontSize + 'px "Arial"');
- Node309.a('node.textvisible',true);
- Node309.a('node.linefeed',false);
- if (false) {
- Node309.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node309.a('node.text') || '357-7';
- var color=Node309.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node309width,Node309height,13.3333*_ratio.ratioY,"left",color,' '+ Node309fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node309.a('node.underlinepoints',[Node309lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node309fontSize + 2 , ht.Default.getTextSize('357-7', ' '+ Node309fontSize + 'px "Arial"').width + 6, (Node309height - Node309fontSize) * 0.5*_ratio.ratioY + Node309fontSize + 2 ]);
- Node309.a('node.underlinevisible',false);
- Node309.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node309);
- zoomNodeList.push({
- node: Node309,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node310 = new ht.lib['矩形箭头上'](782*ratio.ratioX, 599*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node310');
- _libModel.add("Node310", Node310);
- Node310.setRotation(0*Math.PI/180);
- ;
- ;
- var Node311points=[781, 571,841, 571],
- Node311rect=ht.Default.unionPoint([{x:781,y:571},{x:841,y:571}]),
- Node311compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node311points.length;i++){
- if(i%2==0){
- Node311compspts.push(Node311points[i]-Node311rect.x);
- }else{
- Node311compspts.push(Node311points[i]-Node311rect.y);
- }
- }
- var Node311ptslength=Node311compspts.length;
- if (Node311rect.height === 0) {
- Node311compspts[0] -= 0;
- Node311compspts[Node311ptslength-2] += 0;
- } else if (Node311rect.width === 0){
- Node311compspts[1] -= 0;
- Node311compspts[Node311ptslength-1] += 0;
- } else {
- Node311compspts[0] -= 0;
- Node311compspts[1] -= 0;
- Node311compspts[Node311ptslength-2] += 0;
- Node311compspts[Node311ptslength-1] += 0;
- }
- Node311 = new ht.Node();
- Node311.borderWidth = 1;
- Node311rect.width = Node311rect.width === 0 ? 0.0001 : Node311rect.width;
- Node311rect.height = Node311rect.height === 0 ? 0.0001 : Node311rect.height;
- var Node311endCompspts = [Node311compspts[Node311ptslength-2],Node311compspts[Node311ptslength-1],0,0];
- var Node311startCompspts = [Node311compspts[0],Node311compspts[1],0,0];
- Node311.setImage(GD.getPolyLineJSON());
- Node311.setPosition(Node311rect.x+Node311rect.width/2,Node311rect.y+Node311rect.height/2);
- Node311.setSize(Node311rect.width,Node311rect.height);
- Node311.setStyle("opacity",1);
- Node311.s({'pixelPerfect':true});
- Node311borderwidth=1;
- Node311.setRotation(0);
- dataModel.add(Node311);
- Node311.a('node.points',Node311compspts);
- Node311.a('node.segments',[1,2]);
- Node311.a('node.color','rgba(255,128,0,1)');
- Node311.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node311.a('node.borderColor','rgba(255,128,0,1)');
- Node311.a('node.background','rgba(255,128,0,1)');
- Node311.a('node.gradient','');
- Node311.a('node.gradientcolor','rgba(255,128,0,1)');
- Node311.a('node.endCompspts',Node311endCompspts);
- Node311.a('node.startCompspts',Node311startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node311';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node311, Node311.getImage(), Node311compspts, Node311endCompspts, Node311startCompspts);
- var Node312points=[840, 571,840, 581],
- Node312rect=ht.Default.unionPoint([{x:840,y:571},{x:840,y:581}]),
- Node312compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node312points.length;i++){
- if(i%2==0){
- Node312compspts.push(Node312points[i]-Node312rect.x);
- }else{
- Node312compspts.push(Node312points[i]-Node312rect.y);
- }
- }
- var Node312ptslength=Node312compspts.length;
- if (Node312rect.height === 0) {
- Node312compspts[0] -= 0;
- Node312compspts[Node312ptslength-2] += 0;
- } else if (Node312rect.width === 0){
- Node312compspts[1] -= 0;
- Node312compspts[Node312ptslength-1] += 0;
- } else {
- Node312compspts[0] -= 0;
- Node312compspts[1] -= 0;
- Node312compspts[Node312ptslength-2] += 0;
- Node312compspts[Node312ptslength-1] += 0;
- }
- Node312 = new ht.Node();
- Node312.borderWidth = 1;
- Node312rect.width = Node312rect.width === 0 ? 0.0001 : Node312rect.width;
- Node312rect.height = Node312rect.height === 0 ? 0.0001 : Node312rect.height;
- var Node312endCompspts = [Node312compspts[Node312ptslength-2],Node312compspts[Node312ptslength-1],0,0];
- var Node312startCompspts = [Node312compspts[0],Node312compspts[1],0,0];
- Node312.setImage(GD.getPolyLineJSON());
- Node312.setPosition(Node312rect.x+Node312rect.width/2,Node312rect.y+Node312rect.height/2);
- Node312.setSize(Node312rect.width,Node312rect.height);
- Node312.setStyle("opacity",1);
- Node312.s({'pixelPerfect':true});
- Node312borderwidth=1;
- Node312.setRotation(0);
- dataModel.add(Node312);
- Node312.a('node.points',Node312compspts);
- Node312.a('node.segments',[1,2]);
- Node312.a('node.color','rgba(255,128,0,1)');
- Node312.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node312.a('node.borderColor','rgba(255,128,0,1)');
- Node312.a('node.background','rgba(255,128,0,1)');
- Node312.a('node.gradient','');
- Node312.a('node.gradientcolor','rgba(255,128,0,1)');
- Node312.a('node.endCompspts',Node312endCompspts);
- Node312.a('node.startCompspts',Node312startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node312';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node312, Node312.getImage(), Node312compspts, Node312endCompspts, Node312startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node313 = new ht.lib['黄色接地'](839*ratio.ratioX, 611*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node313');
- _libModel.add("Node313", Node313);
- Node313.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node314 = new ht.lib['ss'](810*ratio.ratioX, 601*ratio.ratioY, 10*_ratio.ratioX, 44*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node314');
- _libModel.add("Node314", Node314);
- Node314.setRotation(180*Math.PI/180);
- ;
- ;
- var Node315points=[810, 581,810, 561],
- Node315rect=ht.Default.unionPoint([{x:810,y:581},{x:810,y:561}]),
- Node315compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node315points.length;i++){
- if(i%2==0){
- Node315compspts.push(Node315points[i]-Node315rect.x);
- }else{
- Node315compspts.push(Node315points[i]-Node315rect.y);
- }
- }
- var Node315ptslength=Node315compspts.length;
- if (Node315rect.height === 0) {
- Node315compspts[0] -= 0;
- Node315compspts[Node315ptslength-2] += 0;
- } else if (Node315rect.width === 0){
- Node315compspts[1] -= 0;
- Node315compspts[Node315ptslength-1] += 0;
- } else {
- Node315compspts[0] -= 0;
- Node315compspts[1] -= 0;
- Node315compspts[Node315ptslength-2] += 0;
- Node315compspts[Node315ptslength-1] += 0;
- }
- Node315 = new ht.Node();
- Node315.borderWidth = 1;
- Node315rect.width = Node315rect.width === 0 ? 0.0001 : Node315rect.width;
- Node315rect.height = Node315rect.height === 0 ? 0.0001 : Node315rect.height;
- var Node315endCompspts = [Node315compspts[Node315ptslength-2],Node315compspts[Node315ptslength-1],0,0];
- var Node315startCompspts = [Node315compspts[0],Node315compspts[1],0,0];
- Node315.setImage(GD.getPolyLineJSON());
- Node315.setPosition(Node315rect.x+Node315rect.width/2,Node315rect.y+Node315rect.height/2);
- Node315.setSize(Node315rect.width,Node315rect.height);
- Node315.setStyle("opacity",1);
- Node315.s({'pixelPerfect':true});
- Node315borderwidth=1;
- Node315.setRotation(0);
- dataModel.add(Node315);
- Node315.a('node.points',Node315compspts);
- Node315.a('node.segments',[1,2]);
- Node315.a('node.color','rgba(255,128,0,1)');
- Node315.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node315.a('node.borderColor','rgba(255,128,0,1)');
- Node315.a('node.background','rgba(255,128,0,1)');
- Node315.a('node.gradient','');
- Node315.a('node.gradientcolor','rgba(255,128,0,1)');
- Node315.a('node.endCompspts',Node315endCompspts);
- Node315.a('node.startCompspts',Node315startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node315';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node315, Node315.getImage(), Node315compspts, Node315endCompspts, Node315startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node316 = new ht.Node();
- var Node316textStart, Node316textWidth, Node316lineStart, Node316align = 'left', Node316fontSize = 13.3333*_ratio.ratioY,Node316width = 50*_ratio.ratioX, Node316height = 24*_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('353', ' '+ Node316fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node316align === 'center') {
- Node316textStart = -3;
- Node316textWidth = Node316width;
- Node316lineStart = Node316width - ht.Default.getTextSize('353', ' '+ Node316fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node316.setImage(GD.getTextJSON(Node316width, Node316height, true, false, false, ' '+ Node316fontSize + 'px "Arial"'))
- Node316.setPosition(484*ratio.ratioX, 542*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','353');
- 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') || '353';
- 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, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node316fontSize + 2 , ht.Default.getTextSize('353', ' '+ 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 = 50*_ratio.ratioX, Node317height = 24*_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('354', ' '+ Node317fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node317align === 'center') {
- Node317textStart = -3;
- Node317textWidth = Node317width;
- Node317lineStart = Node317width - ht.Default.getTextSize('354', ' '+ Node317fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node317.setImage(GD.getTextJSON(Node317width, Node317height, true, false, false, ' '+ Node317fontSize + 'px "Arial"'))
- Node317.setPosition(575*ratio.ratioX, 543*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','354');
- 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') || '354';
- 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, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node317fontSize + 2 , ht.Default.getTextSize('354', ' '+ 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 = 50*_ratio.ratioX, Node318height = 24*_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('355', ' '+ Node318fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node318align === 'center') {
- Node318textStart = -3;
- Node318textWidth = Node318width;
- Node318lineStart = Node318width - ht.Default.getTextSize('355', ' '+ Node318fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node318.setImage(GD.getTextJSON(Node318width, Node318height, true, false, false, ' '+ Node318fontSize + 'px "Arial"'))
- Node318.setPosition(665*ratio.ratioX, 543*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','355');
- 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') || '355';
- 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, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node318fontSize + 2 , ht.Default.getTextSize('355', ' '+ 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 Node319 = new ht.Node();
- var Node319textStart, Node319textWidth, Node319lineStart, Node319align = 'left', Node319fontSize = 13.3333*_ratio.ratioY,Node319width = 50*_ratio.ratioX, Node319height = 24*_ratio.ratioY;
- (function () {
- if (Node319align === 'left') {
- Node319textStart = Node319fontSize * 0.2 > 2 ? Node319fontSize * 0.2 - 4 : Node319fontSize * 0.2 - 9;
- Node319textWidth = Node319width;
- Node319lineStart = 1;
- } else if (Node319align === 'right') {
- Node319textStart = 0;
- Node319textWidth =Node319fontSize <= 8 ? Node319width + Node319fontSize * 0.2 + 6 : Node319width - Node319fontSize * 0.2;
- Node319lineStart = (Node319width - (ht.Default.getTextSize('356', ' '+ Node319fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node319align === 'center') {
- Node319textStart = -3;
- Node319textWidth = Node319width;
- Node319lineStart = Node319width - ht.Default.getTextSize('356', ' '+ Node319fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node319.setImage(GD.getTextJSON(Node319width, Node319height, true, false, false, ' '+ Node319fontSize + 'px "Arial"'))
- Node319.setPosition(755*ratio.ratioX, 543*ratio.ratioY);
- Node319.setWidth(Node319width);
- Node319.setHeight(Node319height);
- Node319._nodeType = 'text';
- Node319._disallowEvert = true;
- Node319.setRotation(0*Math.PI/180);
- Node319.a('node.width', Node319width);
- Node319.a('node.height', Node319height);
- Node319.a('node.rect', [0, 0, Node319width, Node319height]);
- Node319.a('node.bordercolor','rgba(0,0,0,1)');
- Node319.a('node.borderwidth', 0);
- Node319.a('node.background','' || 'rgba(0,0,0,0)');
- Node319.a('node.gradient','');
- Node319.a('node.gradientcolor','');
- Node319.a('node.text','356');
- Node319.a('node.textalign','left');
- Node319.a('node.textvAlign','middle');
- Node319.a('node.textrect', [Node319textStart, 0, Node319textWidth, Node319height]);
- Node319.a('node.color','rgba(0,0,0,1)');
- Node319.a('node.font',' '+ Node319fontSize + 'px "Arial"');
- Node319.a('node.textvisible',true);
- Node319.a('node.linefeed',false);
- if (false) {
- Node319.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node319.a('node.text') || '356';
- var color=Node319.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node319width,Node319height,13.3333*_ratio.ratioY,"left",color,' '+ Node319fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node319.a('node.underlinepoints',[Node319lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node319fontSize + 2 , ht.Default.getTextSize('356', ' '+ Node319fontSize + 'px "Arial"').width + 6, (Node319height - Node319fontSize) * 0.5*_ratio.ratioY + Node319fontSize + 2 ]);
- Node319.a('node.underlinevisible',false);
- Node319.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node319);
- zoomNodeList.push({
- node: Node319,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _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 = 50*_ratio.ratioX, Node320height = 24*_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('357', ' '+ Node320fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node320align === 'center') {
- Node320textStart = -3;
- Node320textWidth = Node320width;
- Node320lineStart = Node320width - ht.Default.getTextSize('357', ' '+ Node320fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node320.setImage(GD.getTextJSON(Node320width, Node320height, true, false, false, ' '+ Node320fontSize + 'px "Arial"'))
- Node320.setPosition(845*ratio.ratioX, 543*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(0,0,0,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','357');
- Node320.a('node.textalign','left');
- Node320.a('node.textvAlign','middle');
- Node320.a('node.textrect', [Node320textStart, 0, Node320textWidth, Node320height]);
- Node320.a('node.color','rgba(0,0,0,1)');
- Node320.a('node.font',' '+ 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') || '357';
- var color=Node320.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node320width,Node320height,13.3333*_ratio.ratioY,"left",color,' '+ Node320fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node320.a('node.underlinepoints',[Node320lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node320fontSize + 2 , ht.Default.getTextSize('357', ' '+ 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 Node321= new ht.Node();
- Node321._borderWidth = 1;
- Node321.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)', Node321._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node321.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node321.background'},
- gradient: {value:'', func: 'attr@Node321.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node321.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node321.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node321.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node321.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node321.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node321.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,80*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node321.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node321.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node321.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node321.borderPattern'}
- }
- ]
- });
- var Node321borderwidth = 1;
- var Node321borderFillwidth = 1*2;
- Node321 .setPosition(450*ratio.ratioX,661*ratio.ratioY);
- Node321.setSize(80*_ratio.ratioX, 20*_ratio.ratioY);
- Node321.setRotation(0*Math.PI/180);
- Node321.s({'pixelPerfect':true});
- Node321.a('Node321.borderwidth',1);
- Node321.a('Node321.color','@bordercolor@');
- Node321.a('Node321.background','rgba(0,0,192,1)');
- Node321.a('Node321.gradient','');
- Node321.a('Node321.gradientcolor','rgba(0,0,192,1)');
- Node321.a('Node321.borderPattern',getDashStyle("Solid"));
- Node321.a('Node321.fillrect',[0,0,0,0]);
- Node321.a('Node321.fillbackcolor','rgba(0, 0, 0, 0)');
- Node321.a('Node321.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node321.a('Node321.fillgradient','');
- Node321borderwidth=1;
- dataModel.add(Node321);
- Node321.borderWidth = 1;
- Node321.borderFillwidth = 1*2;
- Node321._nodename = 'Node321';
- Node321._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node321,
- attr: 'Node321.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('Node321.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('Node321.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 = 13.3333*_ratio.ratioY,Node322width = 80*_ratio.ratioX, Node322height = 25*_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('1#无功补偿', ' '+ Node322fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node322align === 'center') {
- Node322textStart = -3;
- Node322textWidth = Node322width;
- Node322lineStart = Node322width - ht.Default.getTextSize('1#无功补偿', ' '+ Node322fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node322.setImage(GD.getTextJSON(Node322width, Node322height, true, false, false, ' '+ Node322fontSize + 'px "Arial"'))
- Node322.setPosition(449*ratio.ratioX, 663*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','1#无功补偿');
- 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',' '+ 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') || '1#无功补偿';
- var color=Node322.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node322width,Node322height,13.3333*_ratio.ratioY,"left",color,' '+ Node322fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node322.a('node.underlinepoints',[Node322lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node322fontSize + 2 , ht.Default.getTextSize('1#无功补偿', ' '+ Node322fontSize + 'px "Arial"').width + 6, (Node322height - Node322fontSize) * 0.5*_ratio.ratioY + Node322fontSize + 2 ]);
- Node322.a('node.underlinevisible',false);
- Node322.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node322);
- zoomNodeList.push({
- node: Node322,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node323= new ht.Node();
- Node323._borderWidth = 1;
- Node323.setImage({
- width: 50*_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)', Node323._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 50*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node323.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node323.background'},
- gradient: {value:'', func: 'attr@Node323.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node323.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node323.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node323.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node323.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node323.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node323.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,50*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node323.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node323.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node323.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node323.borderPattern'}
- }
- ]
- });
- var Node323borderwidth = 1;
- var Node323borderFillwidth = 1*2;
- Node323 .setPosition(364*ratio.ratioX,661*ratio.ratioY);
- Node323.setSize(50*_ratio.ratioX, 20*_ratio.ratioY);
- Node323.setRotation(0*Math.PI/180);
- Node323.s({'pixelPerfect':true});
- Node323.a('Node323.borderwidth',1);
- Node323.a('Node323.color','@bordercolor@');
- Node323.a('Node323.background','rgba(0,0,192,1)');
- Node323.a('Node323.gradient','');
- Node323.a('Node323.gradientcolor','rgba(0,0,192,1)');
- Node323.a('Node323.borderPattern',getDashStyle("Solid"));
- Node323.a('Node323.fillrect',[0,0,0,0]);
- Node323.a('Node323.fillbackcolor','rgba(0, 0, 0, 0)');
- Node323.a('Node323.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node323.a('Node323.fillgradient','');
- Node323borderwidth=1;
- dataModel.add(Node323);
- Node323.borderWidth = 1;
- Node323.borderFillwidth = 1*2;
- Node323._nodename = 'Node323';
- Node323._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node323,
- attr: 'Node323.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('Node323.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('Node323.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 = 'left', Node324fontSize = 13.3333*_ratio.ratioY,Node324width = 39*_ratio.ratioX, Node324height = 25*_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('PT柜', ' '+ Node324fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node324align === 'center') {
- Node324textStart = -3;
- Node324textWidth = Node324width;
- Node324lineStart = Node324width - ht.Default.getTextSize('PT柜', ' '+ Node324fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node324.setImage(GD.getTextJSON(Node324width, Node324height, true, false, false, ' '+ Node324fontSize + 'px "Arial"'))
- Node324.setPosition(365*ratio.ratioX, 663*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(255,255,255,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','PT柜');
- Node324.a('node.textalign','left');
- Node324.a('node.textvAlign','middle');
- Node324.a('node.textrect', [Node324textStart, 0, Node324textWidth, Node324height]);
- Node324.a('node.color','rgba(255,255,255,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') || 'PT柜';
- var color=Node324.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node324width,Node324height,13.3333*_ratio.ratioY,"left",color,' '+ Node324fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node324.a('node.underlinepoints',[Node324lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node324fontSize + 2 , ht.Default.getTextSize('PT柜', ' '+ Node324fontSize + 'px "Arial"').width + 6, (Node324height - Node324fontSize) * 0.5*_ratio.ratioY + Node324fontSize + 2 ]);
- Node324.a('node.underlinevisible',false);
- Node324.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node324);
- zoomNodeList.push({
- node: Node324,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node325_0= new ht.Node();
- Node325_0._borderWidth = 1;
- Node325_0.setImage({
- width: 70*_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)', Node325_0._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 70*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node325_0.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node325_0.background'},
- gradient: {value:'', func: 'attr@Node325_0.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node325_0.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node325_0.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node325_0.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node325_0.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node325_0.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node325_0.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,70*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node325_0.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node325_0.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node325_0.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node325_0.borderPattern'}
- }
- ]
- });
- var Node325_0borderwidth = 1;
- var Node325_0borderFillwidth = 1*2;
- Node325_0 .setPosition(540*ratio.ratioX,661*ratio.ratioY);
- Node325_0.setSize(70*_ratio.ratioX, 20*_ratio.ratioY);
- Node325_0.setRotation(0*Math.PI/180);
- Node325_0.s({'pixelPerfect':true});
- Node325_0.a('Node325_0.borderwidth',1);
- Node325_0.a('Node325_0.color','@bordercolor@');
- Node325_0.a('Node325_0.background','rgba(0,0,192,1)');
- Node325_0.a('Node325_0.gradient','');
- Node325_0.a('Node325_0.gradientcolor','rgba(0,0,192,1)');
- Node325_0.a('Node325_0.borderPattern',getDashStyle("Solid"));
- Node325_0.a('Node325_0.fillrect',[0,0,0,0]);
- Node325_0.a('Node325_0.fillbackcolor','rgba(0, 0, 0, 0)');
- Node325_0.a('Node325_0.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node325_0.a('Node325_0.fillgradient','');
- Node325_0borderwidth=1;
- dataModel.add(Node325_0);
- Node325_0.borderWidth = 1;
- Node325_0.borderFillwidth = 1*2;
- Node325_0._nodename = 'Node325_0';
- Node325_0._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node325_0,
- attr: 'Node325_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('Node325_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('Node325_0.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node325_0, Node325_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node325_1 = new ht.Node();
- var Node325_1textStart, Node325_1textWidth, Node325_1lineStart, Node325_1align = 'left', Node325_1fontSize = 13.3333*_ratio.ratioY,Node325_1width = 79*_ratio.ratioX, Node325_1height = 25*_ratio.ratioY;
- (function () {
- if (Node325_1align === 'left') {
- Node325_1textStart = Node325_1fontSize * 0.2 > 2 ? Node325_1fontSize * 0.2 - 4 : Node325_1fontSize * 0.2 - 9;
- Node325_1textWidth = Node325_1width;
- Node325_1lineStart = 1;
- } else if (Node325_1align === 'right') {
- Node325_1textStart = 0;
- Node325_1textWidth =Node325_1fontSize <= 8 ? Node325_1width + Node325_1fontSize * 0.2 + 6 : Node325_1width - Node325_1fontSize * 0.2;
- Node325_1lineStart = (Node325_1width - (ht.Default.getTextSize('1#出线', ' '+ Node325_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node325_1align === 'center') {
- Node325_1textStart = -3;
- Node325_1textWidth = Node325_1width;
- Node325_1lineStart = Node325_1width - ht.Default.getTextSize('1#出线', ' '+ Node325_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node325_1.setImage(GD.getTextJSON(Node325_1width, Node325_1height, true, false, false, ' '+ Node325_1fontSize + 'px "Arial"'))
- Node325_1.setPosition(552*ratio.ratioX, 663*ratio.ratioY);
- Node325_1.setWidth(Node325_1width);
- Node325_1.setHeight(Node325_1height);
- Node325_1._nodeType = 'text';
- Node325_1._disallowEvert = true;
- Node325_1.setRotation(0*Math.PI/180);
- Node325_1.a('node.width', Node325_1width);
- Node325_1.a('node.height', Node325_1height);
- Node325_1.a('node.rect', [0, 0, Node325_1width, Node325_1height]);
- Node325_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node325_1.a('node.borderwidth', 0);
- Node325_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node325_1.a('node.gradient','');
- Node325_1.a('node.gradientcolor','');
- Node325_1.a('node.text','1#出线');
- Node325_1.a('node.textalign','left');
- Node325_1.a('node.textvAlign','middle');
- Node325_1.a('node.textrect', [Node325_1textStart, 0, Node325_1textWidth, Node325_1height]);
- Node325_1.a('node.color','rgba(255,255,255,1)');
- Node325_1.a('node.font',' '+ Node325_1fontSize + 'px "Arial"');
- Node325_1.a('node.textvisible',true);
- Node325_1.a('node.linefeed',false);
- if (false) {
- Node325_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node325_1.a('node.text') || '1#出线';
- var color=Node325_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node325_1width,Node325_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node325_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node325_1.a('node.underlinepoints',[Node325_1lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node325_1fontSize + 2 , ht.Default.getTextSize('1#出线', ' '+ Node325_1fontSize + 'px "Arial"').width + 6, (Node325_1height - Node325_1fontSize) * 0.5*_ratio.ratioY + Node325_1fontSize + 2 ]);
- Node325_1.a('node.underlinevisible',false);
- Node325_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node325_1);
- zoomNodeList.push({
- node: Node325_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node326_0= new ht.Node();
- Node326_0._borderWidth = 1;
- Node326_0.setImage({
- width: 70*_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)', Node326_0._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 70*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node326_0.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node326_0.background'},
- gradient: {value:'', func: 'attr@Node326_0.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node326_0.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node326_0.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node326_0.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node326_0.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node326_0.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node326_0.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,70*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node326_0.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node326_0.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node326_0.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node326_0.borderPattern'}
- }
- ]
- });
- var Node326_0borderwidth = 1;
- var Node326_0borderFillwidth = 1*2;
- Node326_0 .setPosition(630*ratio.ratioX,661*ratio.ratioY);
- Node326_0.setSize(70*_ratio.ratioX, 20*_ratio.ratioY);
- Node326_0.setRotation(0*Math.PI/180);
- Node326_0.s({'pixelPerfect':true});
- Node326_0.a('Node326_0.borderwidth',1);
- Node326_0.a('Node326_0.color','@bordercolor@');
- Node326_0.a('Node326_0.background','rgba(0,0,192,1)');
- Node326_0.a('Node326_0.gradient','');
- Node326_0.a('Node326_0.gradientcolor','rgba(0,0,192,1)');
- Node326_0.a('Node326_0.borderPattern',getDashStyle("Solid"));
- Node326_0.a('Node326_0.fillrect',[0,0,0,0]);
- Node326_0.a('Node326_0.fillbackcolor','rgba(0, 0, 0, 0)');
- Node326_0.a('Node326_0.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node326_0.a('Node326_0.fillgradient','');
- Node326_0borderwidth=1;
- dataModel.add(Node326_0);
- Node326_0.borderWidth = 1;
- Node326_0.borderFillwidth = 1*2;
- Node326_0._nodename = 'Node326_0';
- Node326_0._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node326_0,
- attr: 'Node326_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('Node326_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('Node326_0.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node326_0, Node326_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node326_1 = new ht.Node();
- var Node326_1textStart, Node326_1textWidth, Node326_1lineStart, Node326_1align = 'left', Node326_1fontSize = 13.3333*_ratio.ratioY,Node326_1width = 79*_ratio.ratioX, Node326_1height = 25*_ratio.ratioY;
- (function () {
- if (Node326_1align === 'left') {
- Node326_1textStart = Node326_1fontSize * 0.2 > 2 ? Node326_1fontSize * 0.2 - 4 : Node326_1fontSize * 0.2 - 9;
- Node326_1textWidth = Node326_1width;
- Node326_1lineStart = 1;
- } else if (Node326_1align === 'right') {
- Node326_1textStart = 0;
- Node326_1textWidth =Node326_1fontSize <= 8 ? Node326_1width + Node326_1fontSize * 0.2 + 6 : Node326_1width - Node326_1fontSize * 0.2;
- Node326_1lineStart = (Node326_1width - (ht.Default.getTextSize('2#出线', ' '+ Node326_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node326_1align === 'center') {
- Node326_1textStart = -3;
- Node326_1textWidth = Node326_1width;
- Node326_1lineStart = Node326_1width - ht.Default.getTextSize('2#出线', ' '+ Node326_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node326_1.setImage(GD.getTextJSON(Node326_1width, Node326_1height, true, false, false, ' '+ Node326_1fontSize + 'px "Arial"'))
- Node326_1.setPosition(642*ratio.ratioX, 663*ratio.ratioY);
- Node326_1.setWidth(Node326_1width);
- Node326_1.setHeight(Node326_1height);
- Node326_1._nodeType = 'text';
- Node326_1._disallowEvert = true;
- Node326_1.setRotation(0*Math.PI/180);
- Node326_1.a('node.width', Node326_1width);
- Node326_1.a('node.height', Node326_1height);
- Node326_1.a('node.rect', [0, 0, Node326_1width, Node326_1height]);
- Node326_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node326_1.a('node.borderwidth', 0);
- Node326_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node326_1.a('node.gradient','');
- Node326_1.a('node.gradientcolor','');
- Node326_1.a('node.text','2#出线');
- Node326_1.a('node.textalign','left');
- Node326_1.a('node.textvAlign','middle');
- Node326_1.a('node.textrect', [Node326_1textStart, 0, Node326_1textWidth, Node326_1height]);
- Node326_1.a('node.color','rgba(255,255,255,1)');
- Node326_1.a('node.font',' '+ Node326_1fontSize + 'px "Arial"');
- Node326_1.a('node.textvisible',true);
- Node326_1.a('node.linefeed',false);
- if (false) {
- Node326_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node326_1.a('node.text') || '2#出线';
- var color=Node326_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node326_1width,Node326_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node326_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node326_1.a('node.underlinepoints',[Node326_1lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node326_1fontSize + 2 , ht.Default.getTextSize('2#出线', ' '+ Node326_1fontSize + 'px "Arial"').width + 6, (Node326_1height - Node326_1fontSize) * 0.5*_ratio.ratioY + Node326_1fontSize + 2 ]);
- Node326_1.a('node.underlinevisible',false);
- Node326_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node326_1);
- zoomNodeList.push({
- node: Node326_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node327_0= new ht.Node();
- Node327_0._borderWidth = 1;
- Node327_0.setImage({
- width: 70*_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)', Node327_0._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 70*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node327_0.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node327_0.background'},
- gradient: {value:'', func: 'attr@Node327_0.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node327_0.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node327_0.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node327_0.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node327_0.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node327_0.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node327_0.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,70*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node327_0.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node327_0.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node327_0.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node327_0.borderPattern'}
- }
- ]
- });
- var Node327_0borderwidth = 1;
- var Node327_0borderFillwidth = 1*2;
- Node327_0 .setPosition(721*ratio.ratioX,661*ratio.ratioY);
- Node327_0.setSize(70*_ratio.ratioX, 20*_ratio.ratioY);
- Node327_0.setRotation(0*Math.PI/180);
- Node327_0.s({'pixelPerfect':true});
- Node327_0.a('Node327_0.borderwidth',1);
- Node327_0.a('Node327_0.color','@bordercolor@');
- Node327_0.a('Node327_0.background','rgba(0,0,192,1)');
- Node327_0.a('Node327_0.gradient','');
- Node327_0.a('Node327_0.gradientcolor','rgba(0,0,192,1)');
- Node327_0.a('Node327_0.borderPattern',getDashStyle("Solid"));
- Node327_0.a('Node327_0.fillrect',[0,0,0,0]);
- Node327_0.a('Node327_0.fillbackcolor','rgba(0, 0, 0, 0)');
- Node327_0.a('Node327_0.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node327_0.a('Node327_0.fillgradient','');
- Node327_0borderwidth=1;
- dataModel.add(Node327_0);
- Node327_0.borderWidth = 1;
- Node327_0.borderFillwidth = 1*2;
- Node327_0._nodename = 'Node327_0';
- Node327_0._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node327_0,
- attr: 'Node327_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('Node327_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('Node327_0.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node327_0, Node327_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node327_1 = new ht.Node();
- var Node327_1textStart, Node327_1textWidth, Node327_1lineStart, Node327_1align = 'left', Node327_1fontSize = 13.3333*_ratio.ratioY,Node327_1width = 79*_ratio.ratioX, Node327_1height = 25*_ratio.ratioY;
- (function () {
- if (Node327_1align === 'left') {
- Node327_1textStart = Node327_1fontSize * 0.2 > 2 ? Node327_1fontSize * 0.2 - 4 : Node327_1fontSize * 0.2 - 9;
- Node327_1textWidth = Node327_1width;
- Node327_1lineStart = 1;
- } else if (Node327_1align === 'right') {
- Node327_1textStart = 0;
- Node327_1textWidth =Node327_1fontSize <= 8 ? Node327_1width + Node327_1fontSize * 0.2 + 6 : Node327_1width - Node327_1fontSize * 0.2;
- Node327_1lineStart = (Node327_1width - (ht.Default.getTextSize('3#出线', ' '+ Node327_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node327_1align === 'center') {
- Node327_1textStart = -3;
- Node327_1textWidth = Node327_1width;
- Node327_1lineStart = Node327_1width - ht.Default.getTextSize('3#出线', ' '+ Node327_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node327_1.setImage(GD.getTextJSON(Node327_1width, Node327_1height, true, false, false, ' '+ Node327_1fontSize + 'px "Arial"'))
- Node327_1.setPosition(733*ratio.ratioX, 663*ratio.ratioY);
- Node327_1.setWidth(Node327_1width);
- Node327_1.setHeight(Node327_1height);
- Node327_1._nodeType = 'text';
- Node327_1._disallowEvert = true;
- Node327_1.setRotation(0*Math.PI/180);
- Node327_1.a('node.width', Node327_1width);
- Node327_1.a('node.height', Node327_1height);
- Node327_1.a('node.rect', [0, 0, Node327_1width, Node327_1height]);
- Node327_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node327_1.a('node.borderwidth', 0);
- Node327_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node327_1.a('node.gradient','');
- Node327_1.a('node.gradientcolor','');
- Node327_1.a('node.text','3#出线');
- Node327_1.a('node.textalign','left');
- Node327_1.a('node.textvAlign','middle');
- Node327_1.a('node.textrect', [Node327_1textStart, 0, Node327_1textWidth, Node327_1height]);
- Node327_1.a('node.color','rgba(255,255,255,1)');
- Node327_1.a('node.font',' '+ Node327_1fontSize + 'px "Arial"');
- Node327_1.a('node.textvisible',true);
- Node327_1.a('node.linefeed',false);
- if (false) {
- Node327_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node327_1.a('node.text') || '3#出线';
- var color=Node327_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node327_1width,Node327_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node327_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node327_1.a('node.underlinepoints',[Node327_1lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node327_1fontSize + 2 , ht.Default.getTextSize('3#出线', ' '+ Node327_1fontSize + 'px "Arial"').width + 6, (Node327_1height - Node327_1fontSize) * 0.5*_ratio.ratioY + Node327_1fontSize + 2 ]);
- Node327_1.a('node.underlinevisible',false);
- Node327_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node327_1);
- zoomNodeList.push({
- node: Node327_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node328points=[900, 561,900, 581],
- Node328rect=ht.Default.unionPoint([{x:900,y:561},{x:900,y:581}]),
- Node328compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node328points.length;i++){
- if(i%2==0){
- Node328compspts.push(Node328points[i]-Node328rect.x);
- }else{
- Node328compspts.push(Node328points[i]-Node328rect.y);
- }
- }
- var Node328ptslength=Node328compspts.length;
- if (Node328rect.height === 0) {
- Node328compspts[0] -= 0;
- Node328compspts[Node328ptslength-2] += 0;
- } else if (Node328rect.width === 0){
- Node328compspts[1] -= 0;
- Node328compspts[Node328ptslength-1] += 0;
- } else {
- Node328compspts[0] -= 0;
- Node328compspts[1] -= 0;
- Node328compspts[Node328ptslength-2] += 0;
- Node328compspts[Node328ptslength-1] += 0;
- }
- Node328 = new ht.Node();
- Node328.borderWidth = 1;
- Node328rect.width = Node328rect.width === 0 ? 0.0001 : Node328rect.width;
- Node328rect.height = Node328rect.height === 0 ? 0.0001 : Node328rect.height;
- var Node328endCompspts = [Node328compspts[Node328ptslength-2],Node328compspts[Node328ptslength-1],0,0];
- var Node328startCompspts = [Node328compspts[0],Node328compspts[1],0,0];
- Node328.setImage(GD.getPolyLineJSON());
- Node328.setPosition(Node328rect.x+Node328rect.width/2,Node328rect.y+Node328rect.height/2);
- Node328.setSize(Node328rect.width,Node328rect.height);
- Node328.setStyle("opacity",1);
- Node328.s({'pixelPerfect':true});
- Node328borderwidth=1;
- Node328.setRotation(0);
- dataModel.add(Node328);
- Node328.a('node.points',Node328compspts);
- Node328.a('node.segments',[1,2]);
- Node328.a('node.color','rgba(255,128,0,1)');
- Node328.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node328.a('node.borderColor','rgba(255,128,0,1)');
- Node328.a('node.background','rgba(255,128,0,1)');
- Node328.a('node.gradient','');
- Node328.a('node.gradientcolor','rgba(255,128,0,1)');
- Node328.a('node.endCompspts',Node328endCompspts);
- Node328.a('node.startCompspts',Node328startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node328';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node328, Node328.getImage(), Node328compspts, Node328endCompspts, Node328startCompspts);
- var Node329points=[900, 581,1030, 581],
- Node329rect=ht.Default.unionPoint([{x:900,y:581},{x:1030,y:581}]),
- Node329compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node329points.length;i++){
- if(i%2==0){
- Node329compspts.push(Node329points[i]-Node329rect.x);
- }else{
- Node329compspts.push(Node329points[i]-Node329rect.y);
- }
- }
- var Node329ptslength=Node329compspts.length;
- if (Node329rect.height === 0) {
- Node329compspts[0] -= 0;
- Node329compspts[Node329ptslength-2] += 0;
- } else if (Node329rect.width === 0){
- Node329compspts[1] -= 0;
- Node329compspts[Node329ptslength-1] += 0;
- } else {
- Node329compspts[0] -= 0;
- Node329compspts[1] -= 0;
- Node329compspts[Node329ptslength-2] += 0;
- Node329compspts[Node329ptslength-1] += 0;
- }
- Node329 = new ht.Node();
- Node329.borderWidth = 1;
- Node329rect.width = Node329rect.width === 0 ? 0.0001 : Node329rect.width;
- Node329rect.height = Node329rect.height === 0 ? 0.0001 : Node329rect.height;
- var Node329endCompspts = [Node329compspts[Node329ptslength-2],Node329compspts[Node329ptslength-1],0,0];
- var Node329startCompspts = [Node329compspts[0],Node329compspts[1],0,0];
- Node329.setImage(GD.getPolyLineJSON());
- Node329.setPosition(Node329rect.x+Node329rect.width/2,Node329rect.y+Node329rect.height/2);
- Node329.setSize(Node329rect.width,Node329rect.height);
- Node329.setStyle("opacity",1);
- Node329.s({'pixelPerfect':true});
- Node329borderwidth=1;
- Node329.setRotation(0);
- dataModel.add(Node329);
- Node329.a('node.points',Node329compspts);
- Node329.a('node.segments',[1,2]);
- Node329.a('node.color','rgba(255,128,0,1)');
- Node329.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node329.a('node.borderColor','rgba(255,128,0,1)');
- Node329.a('node.background','rgba(255,128,0,1)');
- Node329.a('node.gradient','');
- Node329.a('node.gradientcolor','rgba(255,128,0,1)');
- Node329.a('node.endCompspts',Node329endCompspts);
- Node329.a('node.startCompspts',Node329startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node329';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node329, Node329.getImage(), Node329compspts, Node329endCompspts, Node329startCompspts);
- var Node330points=[1030, 581,1030, 561],
- Node330rect=ht.Default.unionPoint([{x:1030,y:581},{x:1030,y:561}]),
- Node330compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node330points.length;i++){
- if(i%2==0){
- Node330compspts.push(Node330points[i]-Node330rect.x);
- }else{
- Node330compspts.push(Node330points[i]-Node330rect.y);
- }
- }
- var Node330ptslength=Node330compspts.length;
- if (Node330rect.height === 0) {
- Node330compspts[0] -= 0;
- Node330compspts[Node330ptslength-2] += 0;
- } else if (Node330rect.width === 0){
- Node330compspts[1] -= 0;
- Node330compspts[Node330ptslength-1] += 0;
- } else {
- Node330compspts[0] -= 0;
- Node330compspts[1] -= 0;
- Node330compspts[Node330ptslength-2] += 0;
- Node330compspts[Node330ptslength-1] += 0;
- }
- Node330 = new ht.Node();
- Node330.borderWidth = 1;
- Node330rect.width = Node330rect.width === 0 ? 0.0001 : Node330rect.width;
- Node330rect.height = Node330rect.height === 0 ? 0.0001 : Node330rect.height;
- var Node330endCompspts = [Node330compspts[Node330ptslength-2],Node330compspts[Node330ptslength-1],0,0];
- var Node330startCompspts = [Node330compspts[0],Node330compspts[1],0,0];
- Node330.setImage(GD.getPolyLineJSON());
- Node330.setPosition(Node330rect.x+Node330rect.width/2,Node330rect.y+Node330rect.height/2);
- Node330.setSize(Node330rect.width,Node330rect.height);
- Node330.setStyle("opacity",1);
- Node330.s({'pixelPerfect':true});
- Node330borderwidth=1;
- Node330.setRotation(0);
- dataModel.add(Node330);
- Node330.a('node.points',Node330compspts);
- Node330.a('node.segments',[1,2]);
- Node330.a('node.color','rgba(255,128,0,1)');
- Node330.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node330.a('node.borderColor','rgba(255,128,0,1)');
- Node330.a('node.background','rgba(255,128,0,1)');
- Node330.a('node.gradient','');
- Node330.a('node.gradientcolor','rgba(255,128,0,1)');
- Node330.a('node.endCompspts',Node330endCompspts);
- Node330.a('node.startCompspts',Node330startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node330';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node330, Node330.getImage(), Node330compspts, Node330endCompspts, Node330startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node331 = new ht.Node();
- var Node331textStart, Node331textWidth, Node331lineStart, Node331align = 'left', Node331fontSize = 13.3333*_ratio.ratioY,Node331width = 50*_ratio.ratioX, Node331height = 24*_ratio.ratioY;
- (function () {
- if (Node331align === 'left') {
- Node331textStart = Node331fontSize * 0.2 > 2 ? Node331fontSize * 0.2 - 4 : Node331fontSize * 0.2 - 9;
- Node331textWidth = Node331width;
- Node331lineStart = 1;
- } else if (Node331align === 'right') {
- Node331textStart = 0;
- Node331textWidth =Node331fontSize <= 8 ? Node331width + Node331fontSize * 0.2 + 6 : Node331width - Node331fontSize * 0.2;
- Node331lineStart = (Node331width - (ht.Default.getTextSize('3121', ' '+ Node331fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node331align === 'center') {
- Node331textStart = -3;
- Node331textWidth = Node331width;
- Node331lineStart = Node331width - ht.Default.getTextSize('3121', ' '+ Node331fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node331.setImage(GD.getTextJSON(Node331width, Node331height, true, false, false, ' '+ Node331fontSize + 'px "Arial"'))
- Node331.setPosition(935*ratio.ratioX, 543*ratio.ratioY);
- Node331.setWidth(Node331width);
- Node331.setHeight(Node331height);
- Node331._nodeType = 'text';
- Node331._disallowEvert = true;
- Node331.setRotation(0*Math.PI/180);
- Node331.a('node.width', Node331width);
- Node331.a('node.height', Node331height);
- Node331.a('node.rect', [0, 0, Node331width, Node331height]);
- Node331.a('node.bordercolor','rgba(0,0,0,1)');
- Node331.a('node.borderwidth', 0);
- Node331.a('node.background','' || 'rgba(0,0,0,0)');
- Node331.a('node.gradient','');
- Node331.a('node.gradientcolor','');
- Node331.a('node.text','3121');
- Node331.a('node.textalign','left');
- Node331.a('node.textvAlign','middle');
- Node331.a('node.textrect', [Node331textStart, 0, Node331textWidth, Node331height]);
- Node331.a('node.color','rgba(0,0,0,1)');
- Node331.a('node.font',' '+ Node331fontSize + 'px "Arial"');
- Node331.a('node.textvisible',true);
- Node331.a('node.linefeed',false);
- if (false) {
- Node331.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node331.a('node.text') || '3121';
- var color=Node331.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node331width,Node331height,13.3333*_ratio.ratioY,"left",color,' '+ Node331fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node331.a('node.underlinepoints',[Node331lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node331fontSize + 2 , ht.Default.getTextSize('3121', ' '+ Node331fontSize + 'px "Arial"').width + 6, (Node331height - Node331fontSize) * 0.5*_ratio.ratioY + Node331fontSize + 2 ]);
- Node331.a('node.underlinevisible',false);
- Node331.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node331);
- zoomNodeList.push({
- node: Node331,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node332 = new ht.Node();
- var Node332textStart, Node332textWidth, Node332lineStart, Node332align = 'left', Node332fontSize = 13.3333*_ratio.ratioY,Node332width = 50*_ratio.ratioX, Node332height = 24*_ratio.ratioY;
- (function () {
- if (Node332align === 'left') {
- Node332textStart = Node332fontSize * 0.2 > 2 ? Node332fontSize * 0.2 - 4 : Node332fontSize * 0.2 - 9;
- Node332textWidth = Node332width;
- Node332lineStart = 1;
- } else if (Node332align === 'right') {
- Node332textStart = 0;
- Node332textWidth =Node332fontSize <= 8 ? Node332width + Node332fontSize * 0.2 + 6 : Node332width - Node332fontSize * 0.2;
- Node332lineStart = (Node332width - (ht.Default.getTextSize('312', ' '+ Node332fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node332align === 'center') {
- Node332textStart = -3;
- Node332textWidth = Node332width;
- Node332lineStart = Node332width - ht.Default.getTextSize('312', ' '+ Node332fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node332.setImage(GD.getTextJSON(Node332width, Node332height, true, false, false, ' '+ Node332fontSize + 'px "Arial"'))
- Node332.setPosition(1015*ratio.ratioX, 543*ratio.ratioY);
- Node332.setWidth(Node332width);
- Node332.setHeight(Node332height);
- Node332._nodeType = 'text';
- Node332._disallowEvert = true;
- Node332.setRotation(0*Math.PI/180);
- Node332.a('node.width', Node332width);
- Node332.a('node.height', Node332height);
- Node332.a('node.rect', [0, 0, Node332width, Node332height]);
- Node332.a('node.bordercolor','rgba(0,0,0,1)');
- Node332.a('node.borderwidth', 0);
- Node332.a('node.background','' || 'rgba(0,0,0,0)');
- Node332.a('node.gradient','');
- Node332.a('node.gradientcolor','');
- Node332.a('node.text','312');
- Node332.a('node.textalign','left');
- Node332.a('node.textvAlign','middle');
- Node332.a('node.textrect', [Node332textStart, 0, Node332textWidth, Node332height]);
- Node332.a('node.color','rgba(0,0,0,1)');
- Node332.a('node.font',' '+ Node332fontSize + 'px "Arial"');
- Node332.a('node.textvisible',true);
- Node332.a('node.linefeed',false);
- if (false) {
- Node332.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node332.a('node.text') || '312';
- var color=Node332.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node332width,Node332height,13.3333*_ratio.ratioY,"left",color,' '+ Node332fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node332.a('node.underlinepoints',[Node332lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node332fontSize + 2 , ht.Default.getTextSize('312', ' '+ Node332fontSize + 'px "Arial"').width + 6, (Node332height - Node332fontSize) * 0.5*_ratio.ratioY + Node332fontSize + 2 ]);
- Node332.a('node.underlinevisible',false);
- Node332.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node332);
- zoomNodeList.push({
- node: Node332,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node333 = new ht.Node();
- var Node333textStart, Node333textWidth, Node333lineStart, Node333align = 'left', Node333fontSize = 19.99995*_ratio.ratioY,Node333width = 144*_ratio.ratioX, Node333height = 25*_ratio.ratioY;
- (function () {
- if (Node333align === 'left') {
- Node333textStart = Node333fontSize * 0.2 > 2 ? Node333fontSize * 0.2 - 4 : Node333fontSize * 0.2 - 9;
- Node333textWidth = Node333width;
- Node333lineStart = 1;
- } else if (Node333align === 'right') {
- Node333textStart = 0;
- Node333textWidth =Node333fontSize <= 8 ? Node333width + Node333fontSize * 0.2 + 6 : Node333width - Node333fontSize * 0.2;
- Node333lineStart = (Node333width - (ht.Default.getTextSize('35kV母联开关', ' '+ Node333fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node333align === 'center') {
- Node333textStart = -3;
- Node333textWidth = Node333width;
- Node333lineStart = Node333width - ht.Default.getTextSize('35kV母联开关', ' '+ Node333fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node333.setImage(GD.getTextJSON(Node333width, Node333height, true, false, false, ' '+ Node333fontSize + 'px "Arial"'))
- Node333.setPosition(971*ratio.ratioX, 607*ratio.ratioY);
- Node333.setWidth(Node333width);
- Node333.setHeight(Node333height);
- Node333._nodeType = 'text';
- Node333._disallowEvert = true;
- Node333.setRotation(0*Math.PI/180);
- Node333.a('node.width', Node333width);
- Node333.a('node.height', Node333height);
- Node333.a('node.rect', [0, 0, Node333width, Node333height]);
- Node333.a('node.bordercolor','rgba(0,0,0,1)');
- Node333.a('node.borderwidth', 0);
- Node333.a('node.background','' || 'rgba(0,0,0,0)');
- Node333.a('node.gradient','');
- Node333.a('node.gradientcolor','');
- Node333.a('node.text','35kV母联开关');
- Node333.a('node.textalign','left');
- Node333.a('node.textvAlign','middle');
- Node333.a('node.textrect', [Node333textStart, 0, Node333textWidth, Node333height]);
- Node333.a('node.color','rgba(0,0,0,1)');
- Node333.a('node.font',' '+ Node333fontSize + 'px "Arial"');
- Node333.a('node.textvisible',true);
- Node333.a('node.linefeed',false);
- if (false) {
- Node333.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node333.a('node.text') || '35kV母联开关';
- var color=Node333.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node333width,Node333height,19.99995*_ratio.ratioY,"left",color,' '+ Node333fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node333.a('node.underlinepoints',[Node333lineStart, (25 - 19.99995) * 0.5 * _ratio.ratioY + Node333fontSize + 2 , ht.Default.getTextSize('35kV母联开关', ' '+ Node333fontSize + 'px "Arial"').width + 6, (Node333height - Node333fontSize) * 0.5*_ratio.ratioY + Node333fontSize + 2 ]);
- Node333.a('node.underlinevisible',false);
- Node333.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node333);
- zoomNodeList.push({
- node: Node333,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node334 = new ht.Node();
- var Node334textStart, Node334textWidth, Node334lineStart, Node334align = 'left', Node334fontSize = 13.3333*_ratio.ratioY,Node334width = 50*_ratio.ratioX, Node334height = 24*_ratio.ratioY;
- (function () {
- if (Node334align === 'left') {
- Node334textStart = Node334fontSize * 0.2 > 2 ? Node334fontSize * 0.2 - 4 : Node334fontSize * 0.2 - 9;
- Node334textWidth = Node334width;
- Node334lineStart = 1;
- } else if (Node334align === 'right') {
- Node334textStart = 0;
- Node334textWidth =Node334fontSize <= 8 ? Node334width + Node334fontSize * 0.2 + 6 : Node334width - Node334fontSize * 0.2;
- Node334lineStart = (Node334width - (ht.Default.getTextSize('362', ' '+ Node334fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node334align === 'center') {
- Node334textStart = -3;
- Node334textWidth = Node334width;
- Node334lineStart = Node334width - ht.Default.getTextSize('362', ' '+ Node334fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node334.setImage(GD.getTextJSON(Node334width, Node334height, true, false, false, ' '+ Node334fontSize + 'px "Arial"'))
- Node334.setPosition(1165*ratio.ratioX, 543*ratio.ratioY);
- Node334.setWidth(Node334width);
- Node334.setHeight(Node334height);
- Node334._nodeType = 'text';
- Node334._disallowEvert = true;
- Node334.setRotation(0*Math.PI/180);
- Node334.a('node.width', Node334width);
- Node334.a('node.height', Node334height);
- Node334.a('node.rect', [0, 0, Node334width, Node334height]);
- Node334.a('node.bordercolor','rgba(0,0,0,1)');
- Node334.a('node.borderwidth', 0);
- Node334.a('node.background','' || 'rgba(0,0,0,0)');
- Node334.a('node.gradient','');
- Node334.a('node.gradientcolor','');
- Node334.a('node.text','362');
- Node334.a('node.textalign','left');
- Node334.a('node.textvAlign','middle');
- Node334.a('node.textrect', [Node334textStart, 0, Node334textWidth, Node334height]);
- Node334.a('node.color','rgba(0,0,0,1)');
- Node334.a('node.font',' '+ Node334fontSize + 'px "Arial"');
- Node334.a('node.textvisible',true);
- Node334.a('node.linefeed',false);
- if (false) {
- Node334.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node334.a('node.text') || '362';
- var color=Node334.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node334width,Node334height,13.3333*_ratio.ratioY,"left",color,' '+ Node334fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node334.a('node.underlinepoints',[Node334lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node334fontSize + 2 , ht.Default.getTextSize('362', ' '+ Node334fontSize + 'px "Arial"').width + 6, (Node334height - Node334fontSize) * 0.5*_ratio.ratioY + Node334fontSize + 2 ]);
- Node334.a('node.underlinevisible',false);
- Node334.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node334);
- zoomNodeList.push({
- node: Node334,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node335 = new ht.Node();
- var Node335textStart, Node335textWidth, Node335lineStart, Node335align = 'left', Node335fontSize = 13.3333*_ratio.ratioY,Node335width = 50*_ratio.ratioX, Node335height = 24*_ratio.ratioY;
- (function () {
- if (Node335align === 'left') {
- Node335textStart = Node335fontSize * 0.2 > 2 ? Node335fontSize * 0.2 - 4 : Node335fontSize * 0.2 - 9;
- Node335textWidth = Node335width;
- Node335lineStart = 1;
- } else if (Node335align === 'right') {
- Node335textStart = 0;
- Node335textWidth =Node335fontSize <= 8 ? Node335width + Node335fontSize * 0.2 + 6 : Node335width - Node335fontSize * 0.2;
- Node335lineStart = (Node335width - (ht.Default.getTextSize('363', ' '+ Node335fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node335align === 'center') {
- Node335textStart = -3;
- Node335textWidth = Node335width;
- Node335lineStart = Node335width - ht.Default.getTextSize('363', ' '+ Node335fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node335.setImage(GD.getTextJSON(Node335width, Node335height, true, false, false, ' '+ Node335fontSize + 'px "Arial"'))
- Node335.setPosition(1265*ratio.ratioX, 543*ratio.ratioY);
- Node335.setWidth(Node335width);
- Node335.setHeight(Node335height);
- Node335._nodeType = 'text';
- Node335._disallowEvert = true;
- Node335.setRotation(0*Math.PI/180);
- Node335.a('node.width', Node335width);
- Node335.a('node.height', Node335height);
- Node335.a('node.rect', [0, 0, Node335width, Node335height]);
- Node335.a('node.bordercolor','rgba(0,0,0,1)');
- Node335.a('node.borderwidth', 0);
- Node335.a('node.background','' || 'rgba(0,0,0,0)');
- Node335.a('node.gradient','');
- Node335.a('node.gradientcolor','');
- Node335.a('node.text','363');
- Node335.a('node.textalign','left');
- Node335.a('node.textvAlign','middle');
- Node335.a('node.textrect', [Node335textStart, 0, Node335textWidth, Node335height]);
- Node335.a('node.color','rgba(0,0,0,1)');
- Node335.a('node.font',' '+ Node335fontSize + 'px "Arial"');
- Node335.a('node.textvisible',true);
- Node335.a('node.linefeed',false);
- if (false) {
- Node335.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node335.a('node.text') || '363';
- var color=Node335.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node335width,Node335height,13.3333*_ratio.ratioY,"left",color,' '+ Node335fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node335.a('node.underlinepoints',[Node335lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node335fontSize + 2 , ht.Default.getTextSize('363', ' '+ Node335fontSize + 'px "Arial"').width + 6, (Node335height - Node335fontSize) * 0.5*_ratio.ratioY + Node335fontSize + 2 ]);
- Node335.a('node.underlinevisible',false);
- Node335.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node335);
- zoomNodeList.push({
- node: Node335,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node336 = new ht.Node();
- var Node336textStart, Node336textWidth, Node336lineStart, Node336align = 'left', Node336fontSize = 13.3333*_ratio.ratioY,Node336width = 50*_ratio.ratioX, Node336height = 24*_ratio.ratioY;
- (function () {
- if (Node336align === 'left') {
- Node336textStart = Node336fontSize * 0.2 > 2 ? Node336fontSize * 0.2 - 4 : Node336fontSize * 0.2 - 9;
- Node336textWidth = Node336width;
- Node336lineStart = 1;
- } else if (Node336align === 'right') {
- Node336textStart = 0;
- Node336textWidth =Node336fontSize <= 8 ? Node336width + Node336fontSize * 0.2 + 6 : Node336width - Node336fontSize * 0.2;
- Node336lineStart = (Node336width - (ht.Default.getTextSize('364', ' '+ Node336fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node336align === 'center') {
- Node336textStart = -3;
- Node336textWidth = Node336width;
- Node336lineStart = Node336width - ht.Default.getTextSize('364', ' '+ Node336fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node336.setImage(GD.getTextJSON(Node336width, Node336height, true, false, false, ' '+ Node336fontSize + 'px "Arial"'))
- Node336.setPosition(1475*ratio.ratioX, 543*ratio.ratioY);
- Node336.setWidth(Node336width);
- Node336.setHeight(Node336height);
- Node336._nodeType = 'text';
- Node336._disallowEvert = true;
- Node336.setRotation(0*Math.PI/180);
- Node336.a('node.width', Node336width);
- Node336.a('node.height', Node336height);
- Node336.a('node.rect', [0, 0, Node336width, Node336height]);
- Node336.a('node.bordercolor','rgba(0,0,0,1)');
- Node336.a('node.borderwidth', 0);
- Node336.a('node.background','' || 'rgba(0,0,0,0)');
- Node336.a('node.gradient','');
- Node336.a('node.gradientcolor','');
- Node336.a('node.text','364');
- Node336.a('node.textalign','left');
- Node336.a('node.textvAlign','middle');
- Node336.a('node.textrect', [Node336textStart, 0, Node336textWidth, Node336height]);
- Node336.a('node.color','rgba(0,0,0,1)');
- Node336.a('node.font',' '+ Node336fontSize + 'px "Arial"');
- Node336.a('node.textvisible',true);
- Node336.a('node.linefeed',false);
- if (false) {
- Node336.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node336.a('node.text') || '364';
- var color=Node336.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node336width,Node336height,13.3333*_ratio.ratioY,"left",color,' '+ Node336fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node336.a('node.underlinepoints',[Node336lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node336fontSize + 2 , ht.Default.getTextSize('364', ' '+ Node336fontSize + 'px "Arial"').width + 6, (Node336height - Node336fontSize) * 0.5*_ratio.ratioY + Node336fontSize + 2 ]);
- Node336.a('node.underlinevisible',false);
- Node336.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node336);
- zoomNodeList.push({
- node: Node336,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node337 = new ht.Node();
- var Node337textStart, Node337textWidth, Node337lineStart, Node337align = 'left', Node337fontSize = 13.3333*_ratio.ratioY,Node337width = 50*_ratio.ratioX, Node337height = 24*_ratio.ratioY;
- (function () {
- if (Node337align === 'left') {
- Node337textStart = Node337fontSize * 0.2 > 2 ? Node337fontSize * 0.2 - 4 : Node337fontSize * 0.2 - 9;
- Node337textWidth = Node337width;
- Node337lineStart = 1;
- } else if (Node337align === 'right') {
- Node337textStart = 0;
- Node337textWidth =Node337fontSize <= 8 ? Node337width + Node337fontSize * 0.2 + 6 : Node337width - Node337fontSize * 0.2;
- Node337lineStart = (Node337width - (ht.Default.getTextSize('365', ' '+ Node337fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node337align === 'center') {
- Node337textStart = -3;
- Node337textWidth = Node337width;
- Node337lineStart = Node337width - ht.Default.getTextSize('365', ' '+ Node337fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node337.setImage(GD.getTextJSON(Node337width, Node337height, true, false, false, ' '+ Node337fontSize + 'px "Arial"'))
- Node337.setPosition(1575*ratio.ratioX, 543*ratio.ratioY);
- Node337.setWidth(Node337width);
- Node337.setHeight(Node337height);
- Node337._nodeType = 'text';
- Node337._disallowEvert = true;
- Node337.setRotation(0*Math.PI/180);
- Node337.a('node.width', Node337width);
- Node337.a('node.height', Node337height);
- Node337.a('node.rect', [0, 0, Node337width, Node337height]);
- Node337.a('node.bordercolor','rgba(0,0,0,1)');
- Node337.a('node.borderwidth', 0);
- Node337.a('node.background','' || 'rgba(0,0,0,0)');
- Node337.a('node.gradient','');
- Node337.a('node.gradientcolor','');
- Node337.a('node.text','365');
- Node337.a('node.textalign','left');
- Node337.a('node.textvAlign','middle');
- Node337.a('node.textrect', [Node337textStart, 0, Node337textWidth, Node337height]);
- Node337.a('node.color','rgba(0,0,0,1)');
- Node337.a('node.font',' '+ Node337fontSize + 'px "Arial"');
- Node337.a('node.textvisible',true);
- Node337.a('node.linefeed',false);
- if (false) {
- Node337.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node337.a('node.text') || '365';
- var color=Node337.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node337width,Node337height,13.3333*_ratio.ratioY,"left",color,' '+ Node337fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node337.a('node.underlinepoints',[Node337lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node337fontSize + 2 , ht.Default.getTextSize('365', ' '+ Node337fontSize + 'px "Arial"').width + 6, (Node337height - Node337fontSize) * 0.5*_ratio.ratioY + Node337fontSize + 2 ]);
- Node337.a('node.underlinevisible',false);
- Node337.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node337);
- zoomNodeList.push({
- node: Node337,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node338 = new ht.Node();
- var Node338textStart, Node338textWidth, Node338lineStart, Node338align = 'left', Node338fontSize = 13.3333*_ratio.ratioY,Node338width = 50*_ratio.ratioX, Node338height = 24*_ratio.ratioY;
- (function () {
- if (Node338align === 'left') {
- Node338textStart = Node338fontSize * 0.2 > 2 ? Node338fontSize * 0.2 - 4 : Node338fontSize * 0.2 - 9;
- Node338textWidth = Node338width;
- Node338lineStart = 1;
- } else if (Node338align === 'right') {
- Node338textStart = 0;
- Node338textWidth =Node338fontSize <= 8 ? Node338width + Node338fontSize * 0.2 + 6 : Node338width - Node338fontSize * 0.2;
- Node338lineStart = (Node338width - (ht.Default.getTextSize('366', ' '+ Node338fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node338align === 'center') {
- Node338textStart = -3;
- Node338textWidth = Node338width;
- Node338lineStart = Node338width - ht.Default.getTextSize('366', ' '+ Node338fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node338.setImage(GD.getTextJSON(Node338width, Node338height, true, false, false, ' '+ Node338fontSize + 'px "Arial"'))
- Node338.setPosition(1675*ratio.ratioX, 543*ratio.ratioY);
- Node338.setWidth(Node338width);
- Node338.setHeight(Node338height);
- Node338._nodeType = 'text';
- Node338._disallowEvert = true;
- Node338.setRotation(0*Math.PI/180);
- Node338.a('node.width', Node338width);
- Node338.a('node.height', Node338height);
- Node338.a('node.rect', [0, 0, Node338width, Node338height]);
- Node338.a('node.bordercolor','rgba(0,0,0,1)');
- Node338.a('node.borderwidth', 0);
- Node338.a('node.background','' || 'rgba(0,0,0,0)');
- Node338.a('node.gradient','');
- Node338.a('node.gradientcolor','');
- Node338.a('node.text','366');
- Node338.a('node.textalign','left');
- Node338.a('node.textvAlign','middle');
- Node338.a('node.textrect', [Node338textStart, 0, Node338textWidth, Node338height]);
- Node338.a('node.color','rgba(0,0,0,1)');
- Node338.a('node.font',' '+ Node338fontSize + 'px "Arial"');
- Node338.a('node.textvisible',true);
- Node338.a('node.linefeed',false);
- if (false) {
- Node338.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node338.a('node.text') || '366';
- var color=Node338.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node338width,Node338height,13.3333*_ratio.ratioY,"left",color,' '+ Node338fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node338.a('node.underlinepoints',[Node338lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node338fontSize + 2 , ht.Default.getTextSize('366', ' '+ Node338fontSize + 'px "Arial"').width + 6, (Node338height - Node338fontSize) * 0.5*_ratio.ratioY + Node338fontSize + 2 ]);
- Node338.a('node.underlinevisible',false);
- Node338.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node338);
- zoomNodeList.push({
- node: Node338,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node339 = new ht.Node();
- var Node339textStart, Node339textWidth, Node339lineStart, Node339align = 'left', Node339fontSize = 13.3333*_ratio.ratioY,Node339width = 50*_ratio.ratioX, Node339height = 24*_ratio.ratioY;
- (function () {
- if (Node339align === 'left') {
- Node339textStart = Node339fontSize * 0.2 > 2 ? Node339fontSize * 0.2 - 4 : Node339fontSize * 0.2 - 9;
- Node339textWidth = Node339width;
- Node339lineStart = 1;
- } else if (Node339align === 'right') {
- Node339textStart = 0;
- Node339textWidth =Node339fontSize <= 8 ? Node339width + Node339fontSize * 0.2 + 6 : Node339width - Node339fontSize * 0.2;
- Node339lineStart = (Node339width - (ht.Default.getTextSize('367', ' '+ Node339fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node339align === 'center') {
- Node339textStart = -3;
- Node339textWidth = Node339width;
- Node339lineStart = Node339width - ht.Default.getTextSize('367', ' '+ Node339fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node339.setImage(GD.getTextJSON(Node339width, Node339height, true, false, false, ' '+ Node339fontSize + 'px "Arial"'))
- Node339.setPosition(1778*ratio.ratioX, 543*ratio.ratioY);
- Node339.setWidth(Node339width);
- Node339.setHeight(Node339height);
- Node339._nodeType = 'text';
- Node339._disallowEvert = true;
- Node339.setRotation(0*Math.PI/180);
- Node339.a('node.width', Node339width);
- Node339.a('node.height', Node339height);
- Node339.a('node.rect', [0, 0, Node339width, Node339height]);
- Node339.a('node.bordercolor','rgba(0,0,0,1)');
- Node339.a('node.borderwidth', 0);
- Node339.a('node.background','' || 'rgba(0,0,0,0)');
- Node339.a('node.gradient','');
- Node339.a('node.gradientcolor','');
- Node339.a('node.text','367');
- Node339.a('node.textalign','left');
- Node339.a('node.textvAlign','middle');
- Node339.a('node.textrect', [Node339textStart, 0, Node339textWidth, Node339height]);
- Node339.a('node.color','rgba(0,0,0,1)');
- Node339.a('node.font',' '+ Node339fontSize + 'px "Arial"');
- Node339.a('node.textvisible',true);
- Node339.a('node.linefeed',false);
- if (false) {
- Node339.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node339.a('node.text') || '367';
- var color=Node339.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node339width,Node339height,13.3333*_ratio.ratioY,"left",color,' '+ Node339fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node339.a('node.underlinepoints',[Node339lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node339fontSize + 2 , ht.Default.getTextSize('367', ' '+ Node339fontSize + 'px "Arial"').width + 6, (Node339height - Node339fontSize) * 0.5*_ratio.ratioY + Node339fontSize + 2 ]);
- Node339.a('node.underlinevisible',false);
- Node339.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node339);
- zoomNodeList.push({
- node: Node339,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node340points=[1330, 511,1380, 511],
- Node340rect=ht.Default.unionPoint([{x:1330,y:511},{x:1380,y:511}]),
- Node340compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node340points.length;i++){
- if(i%2==0){
- Node340compspts.push(Node340points[i]-Node340rect.x);
- }else{
- Node340compspts.push(Node340points[i]-Node340rect.y);
- }
- }
- var Node340ptslength=Node340compspts.length;
- if (Node340rect.height === 0) {
- Node340compspts[0] -= 0;
- Node340compspts[Node340ptslength-2] += 0;
- } else if (Node340rect.width === 0){
- Node340compspts[1] -= 0;
- Node340compspts[Node340ptslength-1] += 0;
- } else {
- Node340compspts[0] -= 0;
- Node340compspts[1] -= 0;
- Node340compspts[Node340ptslength-2] += 0;
- Node340compspts[Node340ptslength-1] += 0;
- }
- Node340 = new ht.Node();
- Node340.borderWidth = 1;
- Node340rect.width = Node340rect.width === 0 ? 0.0001 : Node340rect.width;
- Node340rect.height = Node340rect.height === 0 ? 0.0001 : Node340rect.height;
- var Node340endCompspts = [Node340compspts[Node340ptslength-2],Node340compspts[Node340ptslength-1],0,0];
- var Node340startCompspts = [Node340compspts[0],Node340compspts[1],0,0];
- Node340.setImage(GD.getPolyLineJSON());
- Node340.setPosition(Node340rect.x+Node340rect.width/2,Node340rect.y+Node340rect.height/2);
- Node340.setSize(Node340rect.width,Node340rect.height);
- Node340.setStyle("opacity",1);
- Node340.s({'pixelPerfect':true});
- Node340borderwidth=1;
- Node340.setRotation(0);
- dataModel.add(Node340);
- Node340.a('node.points',Node340compspts);
- Node340.a('node.segments',[1,2]);
- Node340.a('node.color','rgba(255,128,0,1)');
- Node340.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node340.a('node.borderColor','rgba(255,128,0,1)');
- Node340.a('node.background','rgba(255,128,0,1)');
- Node340.a('node.gradient','');
- Node340.a('node.gradientcolor','rgba(255,128,0,1)');
- Node340.a('node.endCompspts',Node340endCompspts);
- Node340.a('node.startCompspts',Node340startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node340';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node340, Node340.getImage(), Node340compspts, Node340endCompspts, Node340startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node341 = new ht.Node();
- var Node341textStart, Node341textWidth, Node341lineStart, Node341align = 'left', Node341fontSize = 13.3333*_ratio.ratioY,Node341width = 50*_ratio.ratioX, Node341height = 24*_ratio.ratioY;
- (function () {
- if (Node341align === 'left') {
- Node341textStart = Node341fontSize * 0.2 > 2 ? Node341fontSize * 0.2 - 4 : Node341fontSize * 0.2 - 9;
- Node341textWidth = Node341width;
- Node341lineStart = 1;
- } else if (Node341align === 'right') {
- Node341textStart = 0;
- Node341textWidth =Node341fontSize <= 8 ? Node341width + Node341fontSize * 0.2 + 6 : Node341width - Node341fontSize * 0.2;
- Node341lineStart = (Node341width - (ht.Default.getTextSize('362-7', ' '+ Node341fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node341align === 'center') {
- Node341textStart = -3;
- Node341textWidth = Node341width;
- Node341lineStart = Node341width - ht.Default.getTextSize('362-7', ' '+ Node341fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node341.setImage(GD.getTextJSON(Node341width, Node341height, true, false, false, ' '+ Node341fontSize + 'px "Arial"'))
- Node341.setPosition(1165*ratio.ratioX, 633*ratio.ratioY);
- Node341.setWidth(Node341width);
- Node341.setHeight(Node341height);
- Node341._nodeType = 'text';
- Node341._disallowEvert = true;
- Node341.setRotation(0*Math.PI/180);
- Node341.a('node.width', Node341width);
- Node341.a('node.height', Node341height);
- Node341.a('node.rect', [0, 0, Node341width, Node341height]);
- Node341.a('node.bordercolor','rgba(0,0,0,1)');
- Node341.a('node.borderwidth', 0);
- Node341.a('node.background','' || 'rgba(0,0,0,0)');
- Node341.a('node.gradient','');
- Node341.a('node.gradientcolor','');
- Node341.a('node.text','362-7');
- Node341.a('node.textalign','left');
- Node341.a('node.textvAlign','middle');
- Node341.a('node.textrect', [Node341textStart, 0, Node341textWidth, Node341height]);
- Node341.a('node.color','rgba(0,0,0,1)');
- Node341.a('node.font',' '+ Node341fontSize + 'px "Arial"');
- Node341.a('node.textvisible',true);
- Node341.a('node.linefeed',false);
- if (false) {
- Node341.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node341.a('node.text') || '362-7';
- var color=Node341.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node341width,Node341height,13.3333*_ratio.ratioY,"left",color,' '+ Node341fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node341.a('node.underlinepoints',[Node341lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node341fontSize + 2 , ht.Default.getTextSize('362-7', ' '+ Node341fontSize + 'px "Arial"').width + 6, (Node341height - Node341fontSize) * 0.5*_ratio.ratioY + Node341fontSize + 2 ]);
- Node341.a('node.underlinevisible',false);
- Node341.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node341);
- zoomNodeList.push({
- node: Node341,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node342 = new ht.lib['矩形箭头上'](1381*ratio.ratioX, 539*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node342');
- _libModel.add("Node342", Node342);
- Node342.setRotation(0*Math.PI/180);
- ;
- ;
- var Node343points=[1101, 571,1161, 571],
- Node343rect=ht.Default.unionPoint([{x:1101,y:571},{x:1161,y:571}]),
- Node343compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node343points.length;i++){
- if(i%2==0){
- Node343compspts.push(Node343points[i]-Node343rect.x);
- }else{
- Node343compspts.push(Node343points[i]-Node343rect.y);
- }
- }
- var Node343ptslength=Node343compspts.length;
- if (Node343rect.height === 0) {
- Node343compspts[0] -= 0;
- Node343compspts[Node343ptslength-2] += 0;
- } else if (Node343rect.width === 0){
- Node343compspts[1] -= 0;
- Node343compspts[Node343ptslength-1] += 0;
- } else {
- Node343compspts[0] -= 0;
- Node343compspts[1] -= 0;
- Node343compspts[Node343ptslength-2] += 0;
- Node343compspts[Node343ptslength-1] += 0;
- }
- Node343 = new ht.Node();
- Node343.borderWidth = 1;
- Node343rect.width = Node343rect.width === 0 ? 0.0001 : Node343rect.width;
- Node343rect.height = Node343rect.height === 0 ? 0.0001 : Node343rect.height;
- var Node343endCompspts = [Node343compspts[Node343ptslength-2],Node343compspts[Node343ptslength-1],0,0];
- var Node343startCompspts = [Node343compspts[0],Node343compspts[1],0,0];
- Node343.setImage(GD.getPolyLineJSON());
- Node343.setPosition(Node343rect.x+Node343rect.width/2,Node343rect.y+Node343rect.height/2);
- Node343.setSize(Node343rect.width,Node343rect.height);
- Node343.setStyle("opacity",1);
- Node343.s({'pixelPerfect':true});
- Node343borderwidth=1;
- Node343.setRotation(0);
- dataModel.add(Node343);
- Node343.a('node.points',Node343compspts);
- Node343.a('node.segments',[1,2]);
- Node343.a('node.color','rgba(255,128,0,1)');
- Node343.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node343.a('node.borderColor','rgba(255,128,0,1)');
- Node343.a('node.background','rgba(255,128,0,1)');
- Node343.a('node.gradient','');
- Node343.a('node.gradientcolor','rgba(255,128,0,1)');
- Node343.a('node.endCompspts',Node343endCompspts);
- Node343.a('node.startCompspts',Node343startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node343';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node343, Node343.getImage(), Node343compspts, Node343endCompspts, Node343startCompspts);
- var Node344points=[1160, 571,1160, 581],
- Node344rect=ht.Default.unionPoint([{x:1160,y:571},{x:1160,y:581}]),
- Node344compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node344points.length;i++){
- if(i%2==0){
- Node344compspts.push(Node344points[i]-Node344rect.x);
- }else{
- Node344compspts.push(Node344points[i]-Node344rect.y);
- }
- }
- var Node344ptslength=Node344compspts.length;
- if (Node344rect.height === 0) {
- Node344compspts[0] -= 0;
- Node344compspts[Node344ptslength-2] += 0;
- } else if (Node344rect.width === 0){
- Node344compspts[1] -= 0;
- Node344compspts[Node344ptslength-1] += 0;
- } else {
- Node344compspts[0] -= 0;
- Node344compspts[1] -= 0;
- Node344compspts[Node344ptslength-2] += 0;
- Node344compspts[Node344ptslength-1] += 0;
- }
- Node344 = new ht.Node();
- Node344.borderWidth = 1;
- Node344rect.width = Node344rect.width === 0 ? 0.0001 : Node344rect.width;
- Node344rect.height = Node344rect.height === 0 ? 0.0001 : Node344rect.height;
- var Node344endCompspts = [Node344compspts[Node344ptslength-2],Node344compspts[Node344ptslength-1],0,0];
- var Node344startCompspts = [Node344compspts[0],Node344compspts[1],0,0];
- Node344.setImage(GD.getPolyLineJSON());
- Node344.setPosition(Node344rect.x+Node344rect.width/2,Node344rect.y+Node344rect.height/2);
- Node344.setSize(Node344rect.width,Node344rect.height);
- Node344.setStyle("opacity",1);
- Node344.s({'pixelPerfect':true});
- Node344borderwidth=1;
- Node344.setRotation(0);
- dataModel.add(Node344);
- Node344.a('node.points',Node344compspts);
- Node344.a('node.segments',[1,2]);
- Node344.a('node.color','rgba(255,128,0,1)');
- Node344.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node344.a('node.borderColor','rgba(255,128,0,1)');
- Node344.a('node.background','rgba(255,128,0,1)');
- Node344.a('node.gradient','');
- Node344.a('node.gradientcolor','rgba(255,128,0,1)');
- Node344.a('node.endCompspts',Node344endCompspts);
- Node344.a('node.startCompspts',Node344startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node344';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node344, Node344.getImage(), Node344compspts, Node344endCompspts, Node344startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node345 = new ht.lib['黄色接地'](1159*ratio.ratioX, 611*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node345');
- _libModel.add("Node345", Node345);
- Node345.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node346 = new ht.lib['ss'](1130*ratio.ratioX, 601*ratio.ratioY, 10*_ratio.ratioX, 44*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node346');
- _libModel.add("Node346", Node346);
- Node346.setRotation(180*Math.PI/180);
- ;
- ;
- var Node347points=[1130, 581,1130, 561],
- Node347rect=ht.Default.unionPoint([{x:1130,y:581},{x:1130,y:561}]),
- Node347compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node347points.length;i++){
- if(i%2==0){
- Node347compspts.push(Node347points[i]-Node347rect.x);
- }else{
- Node347compspts.push(Node347points[i]-Node347rect.y);
- }
- }
- var Node347ptslength=Node347compspts.length;
- if (Node347rect.height === 0) {
- Node347compspts[0] -= 0;
- Node347compspts[Node347ptslength-2] += 0;
- } else if (Node347rect.width === 0){
- Node347compspts[1] -= 0;
- Node347compspts[Node347ptslength-1] += 0;
- } else {
- Node347compspts[0] -= 0;
- Node347compspts[1] -= 0;
- Node347compspts[Node347ptslength-2] += 0;
- Node347compspts[Node347ptslength-1] += 0;
- }
- Node347 = new ht.Node();
- Node347.borderWidth = 1;
- Node347rect.width = Node347rect.width === 0 ? 0.0001 : Node347rect.width;
- Node347rect.height = Node347rect.height === 0 ? 0.0001 : Node347rect.height;
- var Node347endCompspts = [Node347compspts[Node347ptslength-2],Node347compspts[Node347ptslength-1],0,0];
- var Node347startCompspts = [Node347compspts[0],Node347compspts[1],0,0];
- Node347.setImage(GD.getPolyLineJSON());
- Node347.setPosition(Node347rect.x+Node347rect.width/2,Node347rect.y+Node347rect.height/2);
- Node347.setSize(Node347rect.width,Node347rect.height);
- Node347.setStyle("opacity",1);
- Node347.s({'pixelPerfect':true});
- Node347borderwidth=1;
- Node347.setRotation(0);
- dataModel.add(Node347);
- Node347.a('node.points',Node347compspts);
- Node347.a('node.segments',[1,2]);
- Node347.a('node.color','rgba(255,128,0,1)');
- Node347.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node347.a('node.borderColor','rgba(255,128,0,1)');
- Node347.a('node.background','rgba(255,128,0,1)');
- Node347.a('node.gradient','');
- Node347.a('node.gradientcolor','rgba(255,128,0,1)');
- Node347.a('node.endCompspts',Node347endCompspts);
- Node347.a('node.startCompspts',Node347startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node347';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node347, Node347.getImage(), Node347compspts, Node347endCompspts, Node347startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node348 = new ht.Node();
- var Node348textStart, Node348textWidth, Node348lineStart, Node348align = 'left', Node348fontSize = 13.3333*_ratio.ratioY,Node348width = 50*_ratio.ratioX, Node348height = 24*_ratio.ratioY;
- (function () {
- if (Node348align === 'left') {
- Node348textStart = Node348fontSize * 0.2 > 2 ? Node348fontSize * 0.2 - 4 : Node348fontSize * 0.2 - 9;
- Node348textWidth = Node348width;
- Node348lineStart = 1;
- } else if (Node348align === 'right') {
- Node348textStart = 0;
- Node348textWidth =Node348fontSize <= 8 ? Node348width + Node348fontSize * 0.2 + 6 : Node348width - Node348fontSize * 0.2;
- Node348lineStart = (Node348width - (ht.Default.getTextSize('329', ' '+ Node348fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node348align === 'center') {
- Node348textStart = -3;
- Node348textWidth = Node348width;
- Node348lineStart = Node348width - ht.Default.getTextSize('329', ' '+ Node348fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node348.setImage(GD.getTextJSON(Node348width, Node348height, true, false, false, ' '+ Node348fontSize + 'px "Arial"'))
- Node348.setPosition(1365*ratio.ratioX, 543*ratio.ratioY);
- Node348.setWidth(Node348width);
- Node348.setHeight(Node348height);
- Node348._nodeType = 'text';
- Node348._disallowEvert = true;
- Node348.setRotation(0*Math.PI/180);
- Node348.a('node.width', Node348width);
- Node348.a('node.height', Node348height);
- Node348.a('node.rect', [0, 0, Node348width, Node348height]);
- Node348.a('node.bordercolor','rgba(0,0,0,1)');
- Node348.a('node.borderwidth', 0);
- Node348.a('node.background','' || 'rgba(0,0,0,0)');
- Node348.a('node.gradient','');
- Node348.a('node.gradientcolor','');
- Node348.a('node.text','329');
- Node348.a('node.textalign','left');
- Node348.a('node.textvAlign','middle');
- Node348.a('node.textrect', [Node348textStart, 0, Node348textWidth, Node348height]);
- Node348.a('node.color','rgba(0,0,0,1)');
- Node348.a('node.font',' '+ Node348fontSize + 'px "Arial"');
- Node348.a('node.textvisible',true);
- Node348.a('node.linefeed',false);
- if (false) {
- Node348.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node348.a('node.text') || '329';
- var color=Node348.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node348width,Node348height,13.3333*_ratio.ratioY,"left",color,' '+ Node348fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node348.a('node.underlinepoints',[Node348lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node348fontSize + 2 , ht.Default.getTextSize('329', ' '+ Node348fontSize + 'px "Arial"').width + 6, (Node348height - Node348fontSize) * 0.5*_ratio.ratioY + Node348fontSize + 2 ]);
- Node348.a('node.underlinevisible',false);
- Node348.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node348);
- zoomNodeList.push({
- node: Node348,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node349points=[1330, 561,1330, 571],
- Node349rect=ht.Default.unionPoint([{x:1330,y:561},{x:1330,y:571}]),
- Node349compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, 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);
- var Node350points=[1330, 571,1350, 571],
- Node350rect=ht.Default.unionPoint([{x:1330,y:571},{x:1350,y:571}]),
- Node350compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node350points.length;i++){
- if(i%2==0){
- Node350compspts.push(Node350points[i]-Node350rect.x);
- }else{
- Node350compspts.push(Node350points[i]-Node350rect.y);
- }
- }
- var Node350ptslength=Node350compspts.length;
- if (Node350rect.height === 0) {
- Node350compspts[0] -= 0;
- Node350compspts[Node350ptslength-2] += 0;
- } else if (Node350rect.width === 0){
- Node350compspts[1] -= 0;
- Node350compspts[Node350ptslength-1] += 0;
- } else {
- Node350compspts[0] -= 0;
- Node350compspts[1] -= 0;
- Node350compspts[Node350ptslength-2] += 0;
- Node350compspts[Node350ptslength-1] += 0;
- }
- Node350 = new ht.Node();
- Node350.borderWidth = 1;
- Node350rect.width = Node350rect.width === 0 ? 0.0001 : Node350rect.width;
- Node350rect.height = Node350rect.height === 0 ? 0.0001 : Node350rect.height;
- var Node350endCompspts = [Node350compspts[Node350ptslength-2],Node350compspts[Node350ptslength-1],0,0];
- var Node350startCompspts = [Node350compspts[0],Node350compspts[1],0,0];
- Node350.setImage(GD.getPolyLineJSON());
- Node350.setPosition(Node350rect.x+Node350rect.width/2,Node350rect.y+Node350rect.height/2);
- Node350.setSize(Node350rect.width,Node350rect.height);
- Node350.setStyle("opacity",1);
- Node350.s({'pixelPerfect':true});
- Node350borderwidth=1;
- Node350.setRotation(0);
- dataModel.add(Node350);
- Node350.a('node.points',Node350compspts);
- Node350.a('node.segments',[1,2]);
- Node350.a('node.color','rgba(255,128,0,1)');
- Node350.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node350.a('node.borderColor','rgba(255,128,0,1)');
- Node350.a('node.background','rgba(255,128,0,1)');
- Node350.a('node.gradient','');
- Node350.a('node.gradientcolor','rgba(255,128,0,1)');
- Node350.a('node.endCompspts',Node350endCompspts);
- Node350.a('node.startCompspts',Node350startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node350';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node350, Node350.getImage(), Node350compspts, Node350endCompspts, Node350startCompspts);
- var Node351points=[1350, 571,1350, 601],
- Node351rect=ht.Default.unionPoint([{x:1350,y:571},{x:1350,y:601}]),
- Node351compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node351points.length;i++){
- if(i%2==0){
- Node351compspts.push(Node351points[i]-Node351rect.x);
- }else{
- Node351compspts.push(Node351points[i]-Node351rect.y);
- }
- }
- var Node351ptslength=Node351compspts.length;
- if (Node351rect.height === 0) {
- Node351compspts[0] -= 0;
- Node351compspts[Node351ptslength-2] += 0;
- } else if (Node351rect.width === 0){
- Node351compspts[1] -= 0;
- Node351compspts[Node351ptslength-1] += 0;
- } else {
- Node351compspts[0] -= 0;
- Node351compspts[1] -= 0;
- Node351compspts[Node351ptslength-2] += 0;
- Node351compspts[Node351ptslength-1] += 0;
- }
- Node351 = new ht.Node();
- Node351.borderWidth = 1;
- Node351rect.width = Node351rect.width === 0 ? 0.0001 : Node351rect.width;
- Node351rect.height = Node351rect.height === 0 ? 0.0001 : Node351rect.height;
- var Node351endCompspts = [Node351compspts[Node351ptslength-2],Node351compspts[Node351ptslength-1],0,0];
- var Node351startCompspts = [Node351compspts[0],Node351compspts[1],0,0];
- Node351.setImage(GD.getPolyLineJSON());
- Node351.setPosition(Node351rect.x+Node351rect.width/2,Node351rect.y+Node351rect.height/2);
- Node351.setSize(Node351rect.width,Node351rect.height);
- Node351.setStyle("opacity",1);
- Node351.s({'pixelPerfect':true});
- Node351borderwidth=1;
- Node351.setRotation(0);
- dataModel.add(Node351);
- Node351.a('node.points',Node351compspts);
- Node351.a('node.segments',[1,2]);
- Node351.a('node.color','rgba(255,128,0,1)');
- Node351.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node351.a('node.borderColor','rgba(255,128,0,1)');
- Node351.a('node.background','rgba(255,128,0,1)');
- Node351.a('node.gradient','');
- Node351.a('node.gradientcolor','rgba(255,128,0,1)');
- Node351.a('node.endCompspts',Node351endCompspts);
- Node351.a('node.startCompspts',Node351startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node351';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node351, Node351.getImage(), Node351compspts, Node351endCompspts, Node351startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node352 = new ht.Node();
- var Node352textStart, Node352textWidth, Node352lineStart, Node352align = 'left', Node352fontSize = 13.3333*_ratio.ratioY,Node352width = 50*_ratio.ratioX, Node352height = 24*_ratio.ratioY;
- (function () {
- if (Node352align === 'left') {
- Node352textStart = Node352fontSize * 0.2 > 2 ? Node352fontSize * 0.2 - 4 : Node352fontSize * 0.2 - 9;
- Node352textWidth = Node352width;
- Node352lineStart = 1;
- } else if (Node352align === 'right') {
- Node352textStart = 0;
- Node352textWidth =Node352fontSize <= 8 ? Node352width + Node352fontSize * 0.2 + 6 : Node352width - Node352fontSize * 0.2;
- Node352lineStart = (Node352width - (ht.Default.getTextSize('363-7', ' '+ Node352fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node352align === 'center') {
- Node352textStart = -3;
- Node352textWidth = Node352width;
- Node352lineStart = Node352width - ht.Default.getTextSize('363-7', ' '+ Node352fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node352.setImage(GD.getTextJSON(Node352width, Node352height, true, false, false, ' '+ Node352fontSize + 'px "Arial"'))
- Node352.setPosition(1265*ratio.ratioX, 633*ratio.ratioY);
- Node352.setWidth(Node352width);
- Node352.setHeight(Node352height);
- Node352._nodeType = 'text';
- Node352._disallowEvert = true;
- Node352.setRotation(0*Math.PI/180);
- Node352.a('node.width', Node352width);
- Node352.a('node.height', Node352height);
- Node352.a('node.rect', [0, 0, Node352width, Node352height]);
- Node352.a('node.bordercolor','rgba(0,0,0,1)');
- Node352.a('node.borderwidth', 0);
- Node352.a('node.background','' || 'rgba(0,0,0,0)');
- Node352.a('node.gradient','');
- Node352.a('node.gradientcolor','');
- Node352.a('node.text','363-7');
- Node352.a('node.textalign','left');
- Node352.a('node.textvAlign','middle');
- Node352.a('node.textrect', [Node352textStart, 0, Node352textWidth, Node352height]);
- Node352.a('node.color','rgba(0,0,0,1)');
- Node352.a('node.font',' '+ Node352fontSize + 'px "Arial"');
- Node352.a('node.textvisible',true);
- Node352.a('node.linefeed',false);
- if (false) {
- Node352.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node352.a('node.text') || '363-7';
- var color=Node352.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node352width,Node352height,13.3333*_ratio.ratioY,"left",color,' '+ Node352fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node352.a('node.underlinepoints',[Node352lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node352fontSize + 2 , ht.Default.getTextSize('363-7', ' '+ Node352fontSize + 'px "Arial"').width + 6, (Node352height - Node352fontSize) * 0.5*_ratio.ratioY + Node352fontSize + 2 ]);
- Node352.a('node.underlinevisible',false);
- Node352.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node352);
- zoomNodeList.push({
- node: Node352,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node353 = new ht.lib['矩形箭头上'](1202*ratio.ratioX, 599*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node353');
- _libModel.add("Node353", Node353);
- Node353.setRotation(0*Math.PI/180);
- ;
- ;
- var Node354points=[1201, 571,1261, 571],
- Node354rect=ht.Default.unionPoint([{x:1201,y:571},{x:1261,y:571}]),
- 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=[1260, 571,1260, 581],
- Node355rect=ht.Default.unionPoint([{x:1260,y:571},{x:1260,y:581}]),
- Node355compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, 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['黄色接地'](1259*ratio.ratioX, 611*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(180*Math.PI/180, ratio);
- var Node357 = new ht.lib['ss'](1230*ratio.ratioX, 601*ratio.ratioY, 10*_ratio.ratioX, 44*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node357');
- _libModel.add("Node357", Node357);
- Node357.setRotation(180*Math.PI/180);
- ;
- ;
- var Node358points=[1230, 581,1230, 561],
- Node358rect=ht.Default.unionPoint([{x:1230,y:581},{x:1230,y:561}]),
- Node358compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, 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(0*Math.PI/180, ratio);
- var Node359 = new ht.lib['黄色接地'](1350*ratio.ratioX, 608*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node359');
- _libModel.add("Node359", Node359);
- Node359.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node360 = new ht.Node();
- var Node360textStart, Node360textWidth, Node360lineStart, Node360align = 'left', Node360fontSize = 13.3333*_ratio.ratioY,Node360width = 50*_ratio.ratioX, Node360height = 24*_ratio.ratioY;
- (function () {
- if (Node360align === 'left') {
- Node360textStart = Node360fontSize * 0.2 > 2 ? Node360fontSize * 0.2 - 4 : Node360fontSize * 0.2 - 9;
- Node360textWidth = Node360width;
- Node360lineStart = 1;
- } else if (Node360align === 'right') {
- Node360textStart = 0;
- Node360textWidth =Node360fontSize <= 8 ? Node360width + Node360fontSize * 0.2 + 6 : Node360width - Node360fontSize * 0.2;
- Node360lineStart = (Node360width - (ht.Default.getTextSize('364-7', ' '+ Node360fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node360align === 'center') {
- Node360textStart = -3;
- Node360textWidth = Node360width;
- Node360lineStart = Node360width - ht.Default.getTextSize('364-7', ' '+ Node360fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node360.setImage(GD.getTextJSON(Node360width, Node360height, true, false, false, ' '+ Node360fontSize + 'px "Arial"'))
- Node360.setPosition(1475*ratio.ratioX, 633*ratio.ratioY);
- Node360.setWidth(Node360width);
- Node360.setHeight(Node360height);
- Node360._nodeType = 'text';
- Node360._disallowEvert = true;
- Node360.setRotation(0*Math.PI/180);
- Node360.a('node.width', Node360width);
- Node360.a('node.height', Node360height);
- Node360.a('node.rect', [0, 0, Node360width, Node360height]);
- Node360.a('node.bordercolor','rgba(0,0,0,1)');
- Node360.a('node.borderwidth', 0);
- Node360.a('node.background','' || 'rgba(0,0,0,0)');
- Node360.a('node.gradient','');
- Node360.a('node.gradientcolor','');
- Node360.a('node.text','364-7');
- Node360.a('node.textalign','left');
- Node360.a('node.textvAlign','middle');
- Node360.a('node.textrect', [Node360textStart, 0, Node360textWidth, Node360height]);
- Node360.a('node.color','rgba(0,0,0,1)');
- Node360.a('node.font',' '+ Node360fontSize + 'px "Arial"');
- Node360.a('node.textvisible',true);
- Node360.a('node.linefeed',false);
- if (false) {
- Node360.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node360.a('node.text') || '364-7';
- var color=Node360.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node360width,Node360height,13.3333*_ratio.ratioY,"left",color,' '+ Node360fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node360.a('node.underlinepoints',[Node360lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node360fontSize + 2 , ht.Default.getTextSize('364-7', ' '+ Node360fontSize + 'px "Arial"').width + 6, (Node360height - Node360fontSize) * 0.5*_ratio.ratioY + Node360fontSize + 2 ]);
- Node360.a('node.underlinevisible',false);
- Node360.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node360);
- zoomNodeList.push({
- node: Node360,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node361 = new ht.lib['矩形箭头上'](1412*ratio.ratioX, 599*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node361');
- _libModel.add("Node361", Node361);
- Node361.setRotation(0*Math.PI/180);
- ;
- ;
- var Node362points=[1411, 571,1471, 571],
- Node362rect=ht.Default.unionPoint([{x:1411,y:571},{x:1471,y:571}]),
- Node362compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node362points.length;i++){
- if(i%2==0){
- Node362compspts.push(Node362points[i]-Node362rect.x);
- }else{
- Node362compspts.push(Node362points[i]-Node362rect.y);
- }
- }
- var Node362ptslength=Node362compspts.length;
- if (Node362rect.height === 0) {
- Node362compspts[0] -= 0;
- Node362compspts[Node362ptslength-2] += 0;
- } else if (Node362rect.width === 0){
- Node362compspts[1] -= 0;
- Node362compspts[Node362ptslength-1] += 0;
- } else {
- Node362compspts[0] -= 0;
- Node362compspts[1] -= 0;
- Node362compspts[Node362ptslength-2] += 0;
- Node362compspts[Node362ptslength-1] += 0;
- }
- Node362 = new ht.Node();
- Node362.borderWidth = 1;
- Node362rect.width = Node362rect.width === 0 ? 0.0001 : Node362rect.width;
- Node362rect.height = Node362rect.height === 0 ? 0.0001 : Node362rect.height;
- var Node362endCompspts = [Node362compspts[Node362ptslength-2],Node362compspts[Node362ptslength-1],0,0];
- var Node362startCompspts = [Node362compspts[0],Node362compspts[1],0,0];
- Node362.setImage(GD.getPolyLineJSON());
- Node362.setPosition(Node362rect.x+Node362rect.width/2,Node362rect.y+Node362rect.height/2);
- Node362.setSize(Node362rect.width,Node362rect.height);
- Node362.setStyle("opacity",1);
- Node362.s({'pixelPerfect':true});
- Node362borderwidth=1;
- Node362.setRotation(0);
- dataModel.add(Node362);
- Node362.a('node.points',Node362compspts);
- Node362.a('node.segments',[1,2]);
- Node362.a('node.color','rgba(255,128,0,1)');
- Node362.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node362.a('node.borderColor','rgba(255,128,0,1)');
- Node362.a('node.background','rgba(255,128,0,1)');
- Node362.a('node.gradient','');
- Node362.a('node.gradientcolor','rgba(255,128,0,1)');
- Node362.a('node.endCompspts',Node362endCompspts);
- Node362.a('node.startCompspts',Node362startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node362';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node362, Node362.getImage(), Node362compspts, Node362endCompspts, Node362startCompspts);
- var Node363points=[1470, 571,1470, 581],
- Node363rect=ht.Default.unionPoint([{x:1470,y:571},{x:1470,y:581}]),
- Node363compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node363points.length;i++){
- if(i%2==0){
- Node363compspts.push(Node363points[i]-Node363rect.x);
- }else{
- Node363compspts.push(Node363points[i]-Node363rect.y);
- }
- }
- var Node363ptslength=Node363compspts.length;
- if (Node363rect.height === 0) {
- Node363compspts[0] -= 0;
- Node363compspts[Node363ptslength-2] += 0;
- } else if (Node363rect.width === 0){
- Node363compspts[1] -= 0;
- Node363compspts[Node363ptslength-1] += 0;
- } else {
- Node363compspts[0] -= 0;
- Node363compspts[1] -= 0;
- Node363compspts[Node363ptslength-2] += 0;
- Node363compspts[Node363ptslength-1] += 0;
- }
- Node363 = new ht.Node();
- Node363.borderWidth = 1;
- Node363rect.width = Node363rect.width === 0 ? 0.0001 : Node363rect.width;
- Node363rect.height = Node363rect.height === 0 ? 0.0001 : Node363rect.height;
- var Node363endCompspts = [Node363compspts[Node363ptslength-2],Node363compspts[Node363ptslength-1],0,0];
- var Node363startCompspts = [Node363compspts[0],Node363compspts[1],0,0];
- Node363.setImage(GD.getPolyLineJSON());
- Node363.setPosition(Node363rect.x+Node363rect.width/2,Node363rect.y+Node363rect.height/2);
- Node363.setSize(Node363rect.width,Node363rect.height);
- Node363.setStyle("opacity",1);
- Node363.s({'pixelPerfect':true});
- Node363borderwidth=1;
- Node363.setRotation(0);
- dataModel.add(Node363);
- Node363.a('node.points',Node363compspts);
- Node363.a('node.segments',[1,2]);
- Node363.a('node.color','rgba(255,128,0,1)');
- Node363.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node363.a('node.borderColor','rgba(255,128,0,1)');
- Node363.a('node.background','rgba(255,128,0,1)');
- Node363.a('node.gradient','');
- Node363.a('node.gradientcolor','rgba(255,128,0,1)');
- Node363.a('node.endCompspts',Node363endCompspts);
- Node363.a('node.startCompspts',Node363startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node363';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node363, Node363.getImage(), Node363compspts, Node363endCompspts, Node363startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node364 = new ht.lib['黄色接地'](1469*ratio.ratioX, 611*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node364');
- _libModel.add("Node364", Node364);
- Node364.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node365 = new ht.lib['ss'](1440*ratio.ratioX, 601*ratio.ratioY, 10*_ratio.ratioX, 44*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node365');
- _libModel.add("Node365", Node365);
- Node365.setRotation(180*Math.PI/180);
- ;
- ;
- var Node366points=[1440, 581,1440, 561],
- Node366rect=ht.Default.unionPoint([{x:1440,y:581},{x:1440,y:561}]),
- Node366compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, 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);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node367 = new ht.Node();
- var Node367textStart, Node367textWidth, Node367lineStart, Node367align = 'left', Node367fontSize = 13.3333*_ratio.ratioY,Node367width = 50*_ratio.ratioX, Node367height = 24*_ratio.ratioY;
- (function () {
- if (Node367align === 'left') {
- Node367textStart = Node367fontSize * 0.2 > 2 ? Node367fontSize * 0.2 - 4 : Node367fontSize * 0.2 - 9;
- Node367textWidth = Node367width;
- Node367lineStart = 1;
- } else if (Node367align === 'right') {
- Node367textStart = 0;
- Node367textWidth =Node367fontSize <= 8 ? Node367width + Node367fontSize * 0.2 + 6 : Node367width - Node367fontSize * 0.2;
- Node367lineStart = (Node367width - (ht.Default.getTextSize('365-7', ' '+ Node367fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node367align === 'center') {
- Node367textStart = -3;
- Node367textWidth = Node367width;
- Node367lineStart = Node367width - ht.Default.getTextSize('365-7', ' '+ Node367fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node367.setImage(GD.getTextJSON(Node367width, Node367height, true, false, false, ' '+ Node367fontSize + 'px "Arial"'))
- Node367.setPosition(1575*ratio.ratioX, 633*ratio.ratioY);
- Node367.setWidth(Node367width);
- Node367.setHeight(Node367height);
- Node367._nodeType = 'text';
- Node367._disallowEvert = true;
- Node367.setRotation(0*Math.PI/180);
- Node367.a('node.width', Node367width);
- Node367.a('node.height', Node367height);
- Node367.a('node.rect', [0, 0, Node367width, Node367height]);
- Node367.a('node.bordercolor','rgba(0,0,0,1)');
- Node367.a('node.borderwidth', 0);
- Node367.a('node.background','' || 'rgba(0,0,0,0)');
- Node367.a('node.gradient','');
- Node367.a('node.gradientcolor','');
- Node367.a('node.text','365-7');
- Node367.a('node.textalign','left');
- Node367.a('node.textvAlign','middle');
- Node367.a('node.textrect', [Node367textStart, 0, Node367textWidth, Node367height]);
- Node367.a('node.color','rgba(0,0,0,1)');
- Node367.a('node.font',' '+ Node367fontSize + 'px "Arial"');
- Node367.a('node.textvisible',true);
- Node367.a('node.linefeed',false);
- if (false) {
- Node367.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node367.a('node.text') || '365-7';
- var color=Node367.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node367width,Node367height,13.3333*_ratio.ratioY,"left",color,' '+ Node367fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node367.a('node.underlinepoints',[Node367lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node367fontSize + 2 , ht.Default.getTextSize('365-7', ' '+ Node367fontSize + 'px "Arial"').width + 6, (Node367height - Node367fontSize) * 0.5*_ratio.ratioY + Node367fontSize + 2 ]);
- Node367.a('node.underlinevisible',false);
- Node367.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node367);
- zoomNodeList.push({
- node: Node367,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node368 = new ht.lib['矩形箭头上'](1512*ratio.ratioX, 599*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node368');
- _libModel.add("Node368", Node368);
- Node368.setRotation(0*Math.PI/180);
- ;
- ;
- var Node369points=[1511, 571,1571, 571],
- Node369rect=ht.Default.unionPoint([{x:1511,y:571},{x:1571,y:571}]),
- Node369compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node369points.length;i++){
- if(i%2==0){
- Node369compspts.push(Node369points[i]-Node369rect.x);
- }else{
- Node369compspts.push(Node369points[i]-Node369rect.y);
- }
- }
- var Node369ptslength=Node369compspts.length;
- if (Node369rect.height === 0) {
- Node369compspts[0] -= 0;
- Node369compspts[Node369ptslength-2] += 0;
- } else if (Node369rect.width === 0){
- Node369compspts[1] -= 0;
- Node369compspts[Node369ptslength-1] += 0;
- } else {
- Node369compspts[0] -= 0;
- Node369compspts[1] -= 0;
- Node369compspts[Node369ptslength-2] += 0;
- Node369compspts[Node369ptslength-1] += 0;
- }
- Node369 = new ht.Node();
- Node369.borderWidth = 1;
- Node369rect.width = Node369rect.width === 0 ? 0.0001 : Node369rect.width;
- Node369rect.height = Node369rect.height === 0 ? 0.0001 : Node369rect.height;
- var Node369endCompspts = [Node369compspts[Node369ptslength-2],Node369compspts[Node369ptslength-1],0,0];
- var Node369startCompspts = [Node369compspts[0],Node369compspts[1],0,0];
- Node369.setImage(GD.getPolyLineJSON());
- Node369.setPosition(Node369rect.x+Node369rect.width/2,Node369rect.y+Node369rect.height/2);
- Node369.setSize(Node369rect.width,Node369rect.height);
- Node369.setStyle("opacity",1);
- Node369.s({'pixelPerfect':true});
- Node369borderwidth=1;
- Node369.setRotation(0);
- dataModel.add(Node369);
- Node369.a('node.points',Node369compspts);
- Node369.a('node.segments',[1,2]);
- Node369.a('node.color','rgba(255,128,0,1)');
- Node369.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node369.a('node.borderColor','rgba(255,128,0,1)');
- Node369.a('node.background','rgba(255,128,0,1)');
- Node369.a('node.gradient','');
- Node369.a('node.gradientcolor','rgba(255,128,0,1)');
- Node369.a('node.endCompspts',Node369endCompspts);
- Node369.a('node.startCompspts',Node369startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node369';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node369, Node369.getImage(), Node369compspts, Node369endCompspts, Node369startCompspts);
- var Node370points=[1570, 571,1570, 581],
- Node370rect=ht.Default.unionPoint([{x:1570,y:571},{x:1570,y:581}]),
- 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(0*Math.PI/180, ratio);
- var Node371 = new ht.lib['黄色接地'](1569*ratio.ratioX, 611*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node371');
- _libModel.add("Node371", Node371);
- Node371.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node372 = new ht.lib['ss'](1540*ratio.ratioX, 601*ratio.ratioY, 10*_ratio.ratioX, 44*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node372');
- _libModel.add("Node372", Node372);
- Node372.setRotation(180*Math.PI/180);
- ;
- ;
- var Node373points=[1540, 581,1540, 561],
- Node373rect=ht.Default.unionPoint([{x:1540,y:581},{x:1540,y:561}]),
- 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.Node();
- var Node374textStart, Node374textWidth, Node374lineStart, Node374align = 'left', Node374fontSize = 13.3333*_ratio.ratioY,Node374width = 50*_ratio.ratioX, Node374height = 24*_ratio.ratioY;
- (function () {
- if (Node374align === 'left') {
- Node374textStart = Node374fontSize * 0.2 > 2 ? Node374fontSize * 0.2 - 4 : Node374fontSize * 0.2 - 9;
- Node374textWidth = Node374width;
- Node374lineStart = 1;
- } else if (Node374align === 'right') {
- Node374textStart = 0;
- Node374textWidth =Node374fontSize <= 8 ? Node374width + Node374fontSize * 0.2 + 6 : Node374width - Node374fontSize * 0.2;
- Node374lineStart = (Node374width - (ht.Default.getTextSize('366-7', ' '+ Node374fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node374align === 'center') {
- Node374textStart = -3;
- Node374textWidth = Node374width;
- Node374lineStart = Node374width - ht.Default.getTextSize('366-7', ' '+ Node374fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node374.setImage(GD.getTextJSON(Node374width, Node374height, true, false, false, ' '+ Node374fontSize + 'px "Arial"'))
- Node374.setPosition(1675*ratio.ratioX, 633*ratio.ratioY);
- Node374.setWidth(Node374width);
- Node374.setHeight(Node374height);
- Node374._nodeType = 'text';
- Node374._disallowEvert = true;
- Node374.setRotation(0*Math.PI/180);
- Node374.a('node.width', Node374width);
- Node374.a('node.height', Node374height);
- Node374.a('node.rect', [0, 0, Node374width, Node374height]);
- Node374.a('node.bordercolor','rgba(0,0,0,1)');
- Node374.a('node.borderwidth', 0);
- Node374.a('node.background','' || 'rgba(0,0,0,0)');
- Node374.a('node.gradient','');
- Node374.a('node.gradientcolor','');
- Node374.a('node.text','366-7');
- Node374.a('node.textalign','left');
- Node374.a('node.textvAlign','middle');
- Node374.a('node.textrect', [Node374textStart, 0, Node374textWidth, Node374height]);
- Node374.a('node.color','rgba(0,0,0,1)');
- Node374.a('node.font',' '+ Node374fontSize + 'px "Arial"');
- Node374.a('node.textvisible',true);
- Node374.a('node.linefeed',false);
- if (false) {
- Node374.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node374.a('node.text') || '366-7';
- var color=Node374.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node374width,Node374height,13.3333*_ratio.ratioY,"left",color,' '+ Node374fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node374.a('node.underlinepoints',[Node374lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node374fontSize + 2 , ht.Default.getTextSize('366-7', ' '+ Node374fontSize + 'px "Arial"').width + 6, (Node374height - Node374fontSize) * 0.5*_ratio.ratioY + Node374fontSize + 2 ]);
- Node374.a('node.underlinevisible',false);
- Node374.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node374);
- zoomNodeList.push({
- node: Node374,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node375 = new ht.lib['矩形箭头上'](1612*ratio.ratioX, 599*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=[1611, 571,1671, 571],
- Node376rect=ht.Default.unionPoint([{x:1611,y:571},{x:1671,y:571}]),
- Node376compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, 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);
- var Node377points=[1670, 571,1670, 581],
- Node377rect=ht.Default.unionPoint([{x:1670,y:571},{x:1670,y:581}]),
- Node377compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node377points.length;i++){
- if(i%2==0){
- Node377compspts.push(Node377points[i]-Node377rect.x);
- }else{
- Node377compspts.push(Node377points[i]-Node377rect.y);
- }
- }
- var Node377ptslength=Node377compspts.length;
- if (Node377rect.height === 0) {
- Node377compspts[0] -= 0;
- Node377compspts[Node377ptslength-2] += 0;
- } else if (Node377rect.width === 0){
- Node377compspts[1] -= 0;
- Node377compspts[Node377ptslength-1] += 0;
- } else {
- Node377compspts[0] -= 0;
- Node377compspts[1] -= 0;
- Node377compspts[Node377ptslength-2] += 0;
- Node377compspts[Node377ptslength-1] += 0;
- }
- Node377 = new ht.Node();
- Node377.borderWidth = 1;
- Node377rect.width = Node377rect.width === 0 ? 0.0001 : Node377rect.width;
- Node377rect.height = Node377rect.height === 0 ? 0.0001 : Node377rect.height;
- var Node377endCompspts = [Node377compspts[Node377ptslength-2],Node377compspts[Node377ptslength-1],0,0];
- var Node377startCompspts = [Node377compspts[0],Node377compspts[1],0,0];
- Node377.setImage(GD.getPolyLineJSON());
- Node377.setPosition(Node377rect.x+Node377rect.width/2,Node377rect.y+Node377rect.height/2);
- Node377.setSize(Node377rect.width,Node377rect.height);
- Node377.setStyle("opacity",1);
- Node377.s({'pixelPerfect':true});
- Node377borderwidth=1;
- Node377.setRotation(0);
- dataModel.add(Node377);
- Node377.a('node.points',Node377compspts);
- Node377.a('node.segments',[1,2]);
- Node377.a('node.color','rgba(255,128,0,1)');
- Node377.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node377.a('node.borderColor','rgba(255,128,0,1)');
- Node377.a('node.background','rgba(255,128,0,1)');
- Node377.a('node.gradient','');
- Node377.a('node.gradientcolor','rgba(255,128,0,1)');
- Node377.a('node.endCompspts',Node377endCompspts);
- Node377.a('node.startCompspts',Node377startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node377';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node377, Node377.getImage(), Node377compspts, Node377endCompspts, Node377startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node378 = new ht.lib['黄色接地'](1669*ratio.ratioX, 611*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node378');
- _libModel.add("Node378", Node378);
- Node378.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node379 = new ht.lib['ss'](1640*ratio.ratioX, 601*ratio.ratioY, 10*_ratio.ratioX, 44*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node379');
- _libModel.add("Node379", Node379);
- Node379.setRotation(180*Math.PI/180);
- ;
- ;
- var Node380points=[1640, 581,1640, 561],
- Node380rect=ht.Default.unionPoint([{x:1640,y:581},{x:1640,y:561}]),
- Node380compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node380points.length;i++){
- if(i%2==0){
- Node380compspts.push(Node380points[i]-Node380rect.x);
- }else{
- Node380compspts.push(Node380points[i]-Node380rect.y);
- }
- }
- var Node380ptslength=Node380compspts.length;
- if (Node380rect.height === 0) {
- Node380compspts[0] -= 0;
- Node380compspts[Node380ptslength-2] += 0;
- } else if (Node380rect.width === 0){
- Node380compspts[1] -= 0;
- Node380compspts[Node380ptslength-1] += 0;
- } else {
- Node380compspts[0] -= 0;
- Node380compspts[1] -= 0;
- Node380compspts[Node380ptslength-2] += 0;
- Node380compspts[Node380ptslength-1] += 0;
- }
- Node380 = new ht.Node();
- Node380.borderWidth = 1;
- Node380rect.width = Node380rect.width === 0 ? 0.0001 : Node380rect.width;
- Node380rect.height = Node380rect.height === 0 ? 0.0001 : Node380rect.height;
- var Node380endCompspts = [Node380compspts[Node380ptslength-2],Node380compspts[Node380ptslength-1],0,0];
- var Node380startCompspts = [Node380compspts[0],Node380compspts[1],0,0];
- Node380.setImage(GD.getPolyLineJSON());
- Node380.setPosition(Node380rect.x+Node380rect.width/2,Node380rect.y+Node380rect.height/2);
- Node380.setSize(Node380rect.width,Node380rect.height);
- Node380.setStyle("opacity",1);
- Node380.s({'pixelPerfect':true});
- Node380borderwidth=1;
- Node380.setRotation(0);
- dataModel.add(Node380);
- Node380.a('node.points',Node380compspts);
- Node380.a('node.segments',[1,2]);
- Node380.a('node.color','rgba(255,128,0,1)');
- Node380.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node380.a('node.borderColor','rgba(255,128,0,1)');
- Node380.a('node.background','rgba(255,128,0,1)');
- Node380.a('node.gradient','');
- Node380.a('node.gradientcolor','rgba(255,128,0,1)');
- Node380.a('node.endCompspts',Node380endCompspts);
- Node380.a('node.startCompspts',Node380startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node380';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node380, Node380.getImage(), Node380compspts, Node380endCompspts, Node380startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node381 = new ht.Node();
- var Node381textStart, Node381textWidth, Node381lineStart, Node381align = 'left', Node381fontSize = 13.3333*_ratio.ratioY,Node381width = 50*_ratio.ratioX, Node381height = 24*_ratio.ratioY;
- (function () {
- if (Node381align === 'left') {
- Node381textStart = Node381fontSize * 0.2 > 2 ? Node381fontSize * 0.2 - 4 : Node381fontSize * 0.2 - 9;
- Node381textWidth = Node381width;
- Node381lineStart = 1;
- } else if (Node381align === 'right') {
- Node381textStart = 0;
- Node381textWidth =Node381fontSize <= 8 ? Node381width + Node381fontSize * 0.2 + 6 : Node381width - Node381fontSize * 0.2;
- Node381lineStart = (Node381width - (ht.Default.getTextSize('367-7', ' '+ Node381fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node381align === 'center') {
- Node381textStart = -3;
- Node381textWidth = Node381width;
- Node381lineStart = Node381width - ht.Default.getTextSize('367-7', ' '+ Node381fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node381.setImage(GD.getTextJSON(Node381width, Node381height, true, false, false, ' '+ Node381fontSize + 'px "Arial"'))
- Node381.setPosition(1775*ratio.ratioX, 633*ratio.ratioY);
- Node381.setWidth(Node381width);
- Node381.setHeight(Node381height);
- Node381._nodeType = 'text';
- Node381._disallowEvert = true;
- Node381.setRotation(0*Math.PI/180);
- Node381.a('node.width', Node381width);
- Node381.a('node.height', Node381height);
- Node381.a('node.rect', [0, 0, Node381width, Node381height]);
- Node381.a('node.bordercolor','rgba(0,0,0,1)');
- Node381.a('node.borderwidth', 0);
- Node381.a('node.background','' || 'rgba(0,0,0,0)');
- Node381.a('node.gradient','');
- Node381.a('node.gradientcolor','');
- Node381.a('node.text','367-7');
- Node381.a('node.textalign','left');
- Node381.a('node.textvAlign','middle');
- Node381.a('node.textrect', [Node381textStart, 0, Node381textWidth, Node381height]);
- Node381.a('node.color','rgba(0,0,0,1)');
- Node381.a('node.font',' '+ Node381fontSize + 'px "Arial"');
- Node381.a('node.textvisible',true);
- Node381.a('node.linefeed',false);
- if (false) {
- Node381.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node381.a('node.text') || '367-7';
- var color=Node381.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node381width,Node381height,13.3333*_ratio.ratioY,"left",color,' '+ Node381fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node381.a('node.underlinepoints',[Node381lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node381fontSize + 2 , ht.Default.getTextSize('367-7', ' '+ Node381fontSize + 'px "Arial"').width + 6, (Node381height - Node381fontSize) * 0.5*_ratio.ratioY + Node381fontSize + 2 ]);
- Node381.a('node.underlinevisible',false);
- Node381.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node381);
- zoomNodeList.push({
- node: Node381,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node382 = new ht.lib['矩形箭头上'](1712*ratio.ratioX, 599*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node382');
- _libModel.add("Node382", Node382);
- Node382.setRotation(0*Math.PI/180);
- ;
- ;
- var Node383points=[1711, 571,1771, 571],
- Node383rect=ht.Default.unionPoint([{x:1711,y:571},{x:1771,y:571}]),
- Node383compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node383points.length;i++){
- if(i%2==0){
- Node383compspts.push(Node383points[i]-Node383rect.x);
- }else{
- Node383compspts.push(Node383points[i]-Node383rect.y);
- }
- }
- var Node383ptslength=Node383compspts.length;
- if (Node383rect.height === 0) {
- Node383compspts[0] -= 0;
- Node383compspts[Node383ptslength-2] += 0;
- } else if (Node383rect.width === 0){
- Node383compspts[1] -= 0;
- Node383compspts[Node383ptslength-1] += 0;
- } else {
- Node383compspts[0] -= 0;
- Node383compspts[1] -= 0;
- Node383compspts[Node383ptslength-2] += 0;
- Node383compspts[Node383ptslength-1] += 0;
- }
- Node383 = new ht.Node();
- Node383.borderWidth = 1;
- Node383rect.width = Node383rect.width === 0 ? 0.0001 : Node383rect.width;
- Node383rect.height = Node383rect.height === 0 ? 0.0001 : Node383rect.height;
- var Node383endCompspts = [Node383compspts[Node383ptslength-2],Node383compspts[Node383ptslength-1],0,0];
- var Node383startCompspts = [Node383compspts[0],Node383compspts[1],0,0];
- Node383.setImage(GD.getPolyLineJSON());
- Node383.setPosition(Node383rect.x+Node383rect.width/2,Node383rect.y+Node383rect.height/2);
- Node383.setSize(Node383rect.width,Node383rect.height);
- Node383.setStyle("opacity",1);
- Node383.s({'pixelPerfect':true});
- Node383borderwidth=1;
- Node383.setRotation(0);
- dataModel.add(Node383);
- Node383.a('node.points',Node383compspts);
- Node383.a('node.segments',[1,2]);
- Node383.a('node.color','rgba(255,128,0,1)');
- Node383.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node383.a('node.borderColor','rgba(255,128,0,1)');
- Node383.a('node.background','rgba(255,128,0,1)');
- Node383.a('node.gradient','');
- Node383.a('node.gradientcolor','rgba(255,128,0,1)');
- Node383.a('node.endCompspts',Node383endCompspts);
- Node383.a('node.startCompspts',Node383startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node383';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node383, Node383.getImage(), Node383compspts, Node383endCompspts, Node383startCompspts);
- var Node384points=[1770, 571,1770, 581],
- Node384rect=ht.Default.unionPoint([{x:1770,y:571},{x:1770,y:581}]),
- Node384compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, 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);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node385 = new ht.lib['黄色接地'](1769*ratio.ratioX, 611*ratio.ratioY, 15*_ratio.ratioX, 13*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node385');
- _libModel.add("Node385", Node385);
- Node385.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(180*Math.PI/180, ratio);
- var Node386 = new ht.lib['ss'](1740*ratio.ratioX, 601*ratio.ratioY, 10*_ratio.ratioX, 44*_ratio.ratioY, 180*Math.PI/180, {}, function (){return {}}, 'Node386');
- _libModel.add("Node386", Node386);
- Node386.setRotation(180*Math.PI/180);
- ;
- ;
- var Node387points=[1740, 581,1740, 561],
- Node387rect=ht.Default.unionPoint([{x:1740,y:581},{x:1740,y:561}]),
- Node387compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(1.5707963267949, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node387points.length;i++){
- if(i%2==0){
- Node387compspts.push(Node387points[i]-Node387rect.x);
- }else{
- Node387compspts.push(Node387points[i]-Node387rect.y);
- }
- }
- var Node387ptslength=Node387compspts.length;
- if (Node387rect.height === 0) {
- Node387compspts[0] -= 0;
- Node387compspts[Node387ptslength-2] += 0;
- } else if (Node387rect.width === 0){
- Node387compspts[1] -= 0;
- Node387compspts[Node387ptslength-1] += 0;
- } else {
- Node387compspts[0] -= 0;
- Node387compspts[1] -= 0;
- Node387compspts[Node387ptslength-2] += 0;
- Node387compspts[Node387ptslength-1] += 0;
- }
- Node387 = new ht.Node();
- Node387.borderWidth = 1;
- Node387rect.width = Node387rect.width === 0 ? 0.0001 : Node387rect.width;
- Node387rect.height = Node387rect.height === 0 ? 0.0001 : Node387rect.height;
- var Node387endCompspts = [Node387compspts[Node387ptslength-2],Node387compspts[Node387ptslength-1],0,0];
- var Node387startCompspts = [Node387compspts[0],Node387compspts[1],0,0];
- Node387.setImage(GD.getPolyLineJSON());
- Node387.setPosition(Node387rect.x+Node387rect.width/2,Node387rect.y+Node387rect.height/2);
- Node387.setSize(Node387rect.width,Node387rect.height);
- Node387.setStyle("opacity",1);
- Node387.s({'pixelPerfect':true});
- Node387borderwidth=1;
- Node387.setRotation(0);
- dataModel.add(Node387);
- Node387.a('node.points',Node387compspts);
- Node387.a('node.segments',[1,2]);
- Node387.a('node.color','rgba(255,128,0,1)');
- Node387.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node387.a('node.borderColor','rgba(255,128,0,1)');
- Node387.a('node.background','rgba(255,128,0,1)');
- Node387.a('node.gradient','');
- Node387.a('node.gradientcolor','rgba(255,128,0,1)');
- Node387.a('node.endCompspts',Node387endCompspts);
- Node387.a('node.startCompspts',Node387startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node387';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node387, Node387.getImage(), Node387compspts, Node387endCompspts, Node387startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node388 = new ht.lib['矩形箭头上'](1101*ratio.ratioX, 599*ratio.ratioY, 19*_ratio.ratioX, 56*_ratio.ratioY, 0*Math.PI/180, {}, function (){return {}}, 'Node388');
- _libModel.add("Node388", Node388);
- Node388.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node389_0= new ht.Node();
- Node389_0._borderWidth = 1;
- Node389_0.setImage({
- width: 90*_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)', Node389_0._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 90*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node389_0.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node389_0.background'},
- gradient: {value:'', func: 'attr@Node389_0.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node389_0.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node389_0.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node389_0.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node389_0.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node389_0.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node389_0.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,90*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node389_0.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node389_0.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node389_0.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node389_0.borderPattern'}
- }
- ]
- });
- var Node389_0borderwidth = 1;
- var Node389_0borderFillwidth = 1*2;
- Node389_0 .setPosition(813*ratio.ratioX,661*ratio.ratioY);
- Node389_0.setSize(90*_ratio.ratioX, 20*_ratio.ratioY);
- Node389_0.setRotation(0*Math.PI/180);
- Node389_0.s({'pixelPerfect':true});
- Node389_0.a('Node389_0.borderwidth',1);
- Node389_0.a('Node389_0.color','@bordercolor@');
- Node389_0.a('Node389_0.background','rgba(0,0,192,1)');
- Node389_0.a('Node389_0.gradient','');
- Node389_0.a('Node389_0.gradientcolor','rgba(0,0,192,1)');
- Node389_0.a('Node389_0.borderPattern',getDashStyle("Solid"));
- Node389_0.a('Node389_0.fillrect',[0,0,0,0]);
- Node389_0.a('Node389_0.fillbackcolor','rgba(0, 0, 0, 0)');
- Node389_0.a('Node389_0.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node389_0.a('Node389_0.fillgradient','');
- Node389_0borderwidth=1;
- dataModel.add(Node389_0);
- Node389_0.borderWidth = 1;
- Node389_0.borderFillwidth = 1*2;
- Node389_0._nodename = 'Node389_0';
- Node389_0._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node389_0,
- attr: 'Node389_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('Node389_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('Node389_0.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node389_0, Node389_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node389_1 = new ht.Node();
- var Node389_1textStart, Node389_1textWidth, Node389_1lineStart, Node389_1align = 'left', Node389_1fontSize = 13.3333*_ratio.ratioY,Node389_1width = 80*_ratio.ratioX, Node389_1height = 25*_ratio.ratioY;
- (function () {
- if (Node389_1align === 'left') {
- Node389_1textStart = Node389_1fontSize * 0.2 > 2 ? Node389_1fontSize * 0.2 - 4 : Node389_1fontSize * 0.2 - 9;
- Node389_1textWidth = Node389_1width;
- Node389_1lineStart = 1;
- } else if (Node389_1align === 'right') {
- Node389_1textStart = 0;
- Node389_1textWidth =Node389_1fontSize <= 8 ? Node389_1width + Node389_1fontSize * 0.2 + 6 : Node389_1width - Node389_1fontSize * 0.2;
- Node389_1lineStart = (Node389_1width - (ht.Default.getTextSize('2#无功补偿', ' '+ Node389_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node389_1align === 'center') {
- Node389_1textStart = -3;
- Node389_1textWidth = Node389_1width;
- Node389_1lineStart = Node389_1width - ht.Default.getTextSize('2#无功补偿', ' '+ Node389_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node389_1.setImage(GD.getTextJSON(Node389_1width, Node389_1height, true, false, false, ' '+ Node389_1fontSize + 'px "Arial"'))
- Node389_1.setPosition(813*ratio.ratioX, 663*ratio.ratioY);
- Node389_1.setWidth(Node389_1width);
- Node389_1.setHeight(Node389_1height);
- Node389_1._nodeType = 'text';
- Node389_1._disallowEvert = true;
- Node389_1.setRotation(0*Math.PI/180);
- Node389_1.a('node.width', Node389_1width);
- Node389_1.a('node.height', Node389_1height);
- Node389_1.a('node.rect', [0, 0, Node389_1width, Node389_1height]);
- Node389_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node389_1.a('node.borderwidth', 0);
- Node389_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node389_1.a('node.gradient','');
- Node389_1.a('node.gradientcolor','');
- Node389_1.a('node.text','2#无功补偿');
- Node389_1.a('node.textalign','left');
- Node389_1.a('node.textvAlign','middle');
- Node389_1.a('node.textrect', [Node389_1textStart, 0, Node389_1textWidth, Node389_1height]);
- Node389_1.a('node.color','rgba(255,255,255,1)');
- Node389_1.a('node.font',' '+ Node389_1fontSize + 'px "Arial"');
- Node389_1.a('node.textvisible',true);
- Node389_1.a('node.linefeed',false);
- if (false) {
- Node389_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node389_1.a('node.text') || '2#无功补偿';
- var color=Node389_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node389_1width,Node389_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node389_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node389_1.a('node.underlinepoints',[Node389_1lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node389_1fontSize + 2 , ht.Default.getTextSize('2#无功补偿', ' '+ Node389_1fontSize + 'px "Arial"').width + 6, (Node389_1height - Node389_1fontSize) * 0.5*_ratio.ratioY + Node389_1fontSize + 2 ]);
- Node389_1.a('node.underlinevisible',false);
- Node389_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node389_1);
- zoomNodeList.push({
- node: Node389_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node390_0= new ht.Node();
- Node390_0._borderWidth = 1;
- Node390_0.setImage({
- width: 110*_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)', Node390_0._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 110*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node390_0.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node390_0.background'},
- gradient: {value:'', func: 'attr@Node390_0.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node390_0.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node390_0.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node390_0.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node390_0.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node390_0.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node390_0.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,110*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node390_0.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node390_0.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node390_0.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node390_0.borderPattern'}
- }
- ]
- });
- var Node390_0borderwidth = 1;
- var Node390_0borderFillwidth = 1*2;
- Node390_0 .setPosition(1123*ratio.ratioX,661*ratio.ratioY);
- Node390_0.setSize(110*_ratio.ratioX, 20*_ratio.ratioY);
- Node390_0.setRotation(0*Math.PI/180);
- Node390_0.s({'pixelPerfect':true});
- Node390_0.a('Node390_0.borderwidth',1);
- Node390_0.a('Node390_0.color','@bordercolor@');
- Node390_0.a('Node390_0.background','rgba(0,0,192,1)');
- Node390_0.a('Node390_0.gradient','');
- Node390_0.a('Node390_0.gradientcolor','rgba(0,0,192,1)');
- Node390_0.a('Node390_0.borderPattern',getDashStyle("Solid"));
- Node390_0.a('Node390_0.fillrect',[0,0,0,0]);
- Node390_0.a('Node390_0.fillbackcolor','rgba(0, 0, 0, 0)');
- Node390_0.a('Node390_0.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node390_0.a('Node390_0.fillgradient','');
- Node390_0borderwidth=1;
- dataModel.add(Node390_0);
- Node390_0.borderWidth = 1;
- Node390_0.borderFillwidth = 1*2;
- Node390_0._nodename = 'Node390_0';
- Node390_0._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node390_0,
- attr: 'Node390_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('Node390_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('Node390_0.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node390_0, Node390_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node390_1 = new ht.Node();
- var Node390_1textStart, Node390_1textWidth, Node390_1lineStart, Node390_1align = 'left', Node390_1fontSize = 13.3333*_ratio.ratioY,Node390_1width = 109*_ratio.ratioX, Node390_1height = 25*_ratio.ratioY;
- (function () {
- if (Node390_1align === 'left') {
- Node390_1textStart = Node390_1fontSize * 0.2 > 2 ? Node390_1fontSize * 0.2 - 4 : Node390_1fontSize * 0.2 - 9;
- Node390_1textWidth = Node390_1width;
- Node390_1lineStart = 1;
- } else if (Node390_1align === 'right') {
- Node390_1textStart = 0;
- Node390_1textWidth =Node390_1fontSize <= 8 ? Node390_1width + Node390_1fontSize * 0.2 + 6 : Node390_1width - Node390_1fontSize * 0.2;
- Node390_1lineStart = (Node390_1width - (ht.Default.getTextSize('3#无功补偿SVG', ' '+ Node390_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node390_1align === 'center') {
- Node390_1textStart = -3;
- Node390_1textWidth = Node390_1width;
- Node390_1lineStart = Node390_1width - ht.Default.getTextSize('3#无功补偿SVG', ' '+ Node390_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node390_1.setImage(GD.getTextJSON(Node390_1width, Node390_1height, true, false, false, ' '+ Node390_1fontSize + 'px "Arial"'))
- Node390_1.setPosition(1123*ratio.ratioX, 663*ratio.ratioY);
- Node390_1.setWidth(Node390_1width);
- Node390_1.setHeight(Node390_1height);
- Node390_1._nodeType = 'text';
- Node390_1._disallowEvert = true;
- Node390_1.setRotation(0*Math.PI/180);
- Node390_1.a('node.width', Node390_1width);
- Node390_1.a('node.height', Node390_1height);
- Node390_1.a('node.rect', [0, 0, Node390_1width, Node390_1height]);
- Node390_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node390_1.a('node.borderwidth', 0);
- Node390_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node390_1.a('node.gradient','');
- Node390_1.a('node.gradientcolor','');
- Node390_1.a('node.text','3#无功补偿SVG');
- Node390_1.a('node.textalign','left');
- Node390_1.a('node.textvAlign','middle');
- Node390_1.a('node.textrect', [Node390_1textStart, 0, Node390_1textWidth, Node390_1height]);
- Node390_1.a('node.color','rgba(255,255,255,1)');
- Node390_1.a('node.font',' '+ Node390_1fontSize + 'px "Arial"');
- Node390_1.a('node.textvisible',true);
- Node390_1.a('node.linefeed',false);
- if (false) {
- Node390_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node390_1.a('node.text') || '3#无功补偿SVG';
- var color=Node390_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node390_1width,Node390_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node390_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node390_1.a('node.underlinepoints',[Node390_1lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node390_1fontSize + 2 , ht.Default.getTextSize('3#无功补偿SVG', ' '+ Node390_1fontSize + 'px "Arial"').width + 6, (Node390_1height - Node390_1fontSize) * 0.5*_ratio.ratioY + Node390_1fontSize + 2 ]);
- Node390_1.a('node.underlinevisible',false);
- Node390_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node390_1);
- zoomNodeList.push({
- node: Node390_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node391_0 = new ht.Node();
- var Node391_0textStart, Node391_0textWidth, Node391_0lineStart, Node391_0align = 'left', Node391_0fontSize = 13.3333*_ratio.ratioY,Node391_0width = 59*_ratio.ratioX, Node391_0height = 25*_ratio.ratioY;
- (function () {
- if (Node391_0align === 'left') {
- Node391_0textStart = Node391_0fontSize * 0.2 > 2 ? Node391_0fontSize * 0.2 - 4 : Node391_0fontSize * 0.2 - 9;
- Node391_0textWidth = Node391_0width;
- Node391_0lineStart = 1;
- } else if (Node391_0align === 'right') {
- Node391_0textStart = 0;
- Node391_0textWidth =Node391_0fontSize <= 8 ? Node391_0width + Node391_0fontSize * 0.2 + 6 : Node391_0width - Node391_0fontSize * 0.2;
- Node391_0lineStart = (Node391_0width - (ht.Default.getTextSize('Ia:', ' '+ Node391_0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node391_0align === 'center') {
- Node391_0textStart = -3;
- Node391_0textWidth = Node391_0width;
- Node391_0lineStart = Node391_0width - ht.Default.getTextSize('Ia:', ' '+ Node391_0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node391_0.setImage(GD.getTextJSON(Node391_0width, Node391_0height, true, false, false, ' '+ Node391_0fontSize + 'px "Arial"'))
- Node391_0.setPosition(534*ratio.ratioX, 696*ratio.ratioY);
- Node391_0.setWidth(Node391_0width);
- Node391_0.setHeight(Node391_0height);
- Node391_0._nodeType = 'text';
- Node391_0._disallowEvert = true;
- Node391_0.setRotation(0*Math.PI/180);
- Node391_0.a('node.width', Node391_0width);
- Node391_0.a('node.height', Node391_0height);
- Node391_0.a('node.rect', [0, 0, Node391_0width, Node391_0height]);
- Node391_0.a('node.bordercolor','rgba(255,0,255,1)');
- Node391_0.a('node.borderwidth', 0);
- Node391_0.a('node.background','' || 'rgba(0,0,0,0)');
- Node391_0.a('node.gradient','');
- Node391_0.a('node.gradientcolor','');
- Node391_0.a('node.text','Ia:');
- Node391_0.a('node.textalign','left');
- Node391_0.a('node.textvAlign','middle');
- Node391_0.a('node.textrect', [Node391_0textStart, 0, Node391_0textWidth, Node391_0height]);
- Node391_0.a('node.color','rgba(255,0,255,1)');
- Node391_0.a('node.font',' '+ Node391_0fontSize + 'px "Arial"');
- Node391_0.a('node.textvisible',true);
- Node391_0.a('node.linefeed',false);
- if (false) {
- Node391_0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node391_0.a('node.text') || 'Ia:';
- var color=Node391_0.a('node.color') || 'rgba(255,0,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node391_0width,Node391_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node391_0fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node391_0.a('node.underlinepoints',[Node391_0lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node391_0fontSize + 2 , ht.Default.getTextSize('Ia:', ' '+ Node391_0fontSize + 'px "Arial"').width + 6, (Node391_0height - Node391_0fontSize) * 0.5*_ratio.ratioY + Node391_0fontSize + 2 ]);
- Node391_0.a('node.underlinevisible',false);
- Node391_0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node391_0);
- zoomNodeList.push({
- node: Node391_0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node391_1 = new ht.Node();
- var Node391_1textStart, Node391_1textWidth, Node391_1lineStart, Node391_1align = 'left', Node391_1fontSize = 13.3333*_ratio.ratioY,Node391_1width = 59*_ratio.ratioX, Node391_1height = 25*_ratio.ratioY;
- (function () {
- if (Node391_1align === 'left') {
- Node391_1textStart = Node391_1fontSize * 0.2 > 2 ? Node391_1fontSize * 0.2 - 4 : Node391_1fontSize * 0.2 - 9;
- Node391_1textWidth = Node391_1width;
- Node391_1lineStart = 1;
- } else if (Node391_1align === 'right') {
- Node391_1textStart = 0;
- Node391_1textWidth =Node391_1fontSize <= 8 ? Node391_1width + Node391_1fontSize * 0.2 + 6 : Node391_1width - Node391_1fontSize * 0.2;
- Node391_1lineStart = (Node391_1width - (ht.Default.getTextSize('P:', ' '+ Node391_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node391_1align === 'center') {
- Node391_1textStart = -3;
- Node391_1textWidth = Node391_1width;
- Node391_1lineStart = Node391_1width - ht.Default.getTextSize('P:', ' '+ Node391_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node391_1.setImage(GD.getTextJSON(Node391_1width, Node391_1height, true, false, false, ' '+ Node391_1fontSize + 'px "Arial"'))
- Node391_1.setPosition(536*ratio.ratioX, 717*ratio.ratioY);
- Node391_1.setWidth(Node391_1width);
- Node391_1.setHeight(Node391_1height);
- Node391_1._nodeType = 'text';
- Node391_1._disallowEvert = true;
- Node391_1.setRotation(0*Math.PI/180);
- Node391_1.a('node.width', Node391_1width);
- Node391_1.a('node.height', Node391_1height);
- Node391_1.a('node.rect', [0, 0, Node391_1width, Node391_1height]);
- Node391_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node391_1.a('node.borderwidth', 0);
- Node391_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node391_1.a('node.gradient','');
- Node391_1.a('node.gradientcolor','');
- Node391_1.a('node.text','P:');
- Node391_1.a('node.textalign','left');
- Node391_1.a('node.textvAlign','middle');
- Node391_1.a('node.textrect', [Node391_1textStart, 0, Node391_1textWidth, Node391_1height]);
- Node391_1.a('node.color','rgba(0,0,0,1)');
- Node391_1.a('node.font',' '+ Node391_1fontSize + 'px "Arial"');
- Node391_1.a('node.textvisible',true);
- Node391_1.a('node.linefeed',false);
- if (false) {
- Node391_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node391_1.a('node.text') || 'P:';
- var color=Node391_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node391_1width,Node391_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node391_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node391_1.a('node.underlinepoints',[Node391_1lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node391_1fontSize + 2 , ht.Default.getTextSize('P:', ' '+ Node391_1fontSize + 'px "Arial"').width + 6, (Node391_1height - Node391_1fontSize) * 0.5*_ratio.ratioY + Node391_1fontSize + 2 ]);
- Node391_1.a('node.underlinevisible',false);
- Node391_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node391_1);
- zoomNodeList.push({
- node: Node391_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node392_0 = new ht.Node();
- var Node392_0textStart, Node392_0textWidth, Node392_0lineStart, Node392_0align = 'left', Node392_0fontSize = 13.3333*_ratio.ratioY,Node392_0width = 59*_ratio.ratioX, Node392_0height = 25*_ratio.ratioY;
- (function () {
- if (Node392_0align === 'left') {
- Node392_0textStart = Node392_0fontSize * 0.2 > 2 ? Node392_0fontSize * 0.2 - 4 : Node392_0fontSize * 0.2 - 9;
- Node392_0textWidth = Node392_0width;
- Node392_0lineStart = 1;
- } else if (Node392_0align === 'right') {
- Node392_0textStart = 0;
- Node392_0textWidth =Node392_0fontSize <= 8 ? Node392_0width + Node392_0fontSize * 0.2 + 6 : Node392_0width - Node392_0fontSize * 0.2;
- Node392_0lineStart = (Node392_0width - (ht.Default.getTextSize('Ia:', ' '+ Node392_0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node392_0align === 'center') {
- Node392_0textStart = -3;
- Node392_0textWidth = Node392_0width;
- Node392_0lineStart = Node392_0width - ht.Default.getTextSize('Ia:', ' '+ Node392_0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node392_0.setImage(GD.getTextJSON(Node392_0width, Node392_0height, true, false, false, ' '+ Node392_0fontSize + 'px "Arial"'))
- Node392_0.setPosition(624*ratio.ratioX, 696*ratio.ratioY);
- Node392_0.setWidth(Node392_0width);
- Node392_0.setHeight(Node392_0height);
- Node392_0._nodeType = 'text';
- Node392_0._disallowEvert = true;
- Node392_0.setRotation(0*Math.PI/180);
- Node392_0.a('node.width', Node392_0width);
- Node392_0.a('node.height', Node392_0height);
- Node392_0.a('node.rect', [0, 0, Node392_0width, Node392_0height]);
- Node392_0.a('node.bordercolor','rgba(255,0,255,1)');
- Node392_0.a('node.borderwidth', 0);
- Node392_0.a('node.background','' || 'rgba(0,0,0,0)');
- Node392_0.a('node.gradient','');
- Node392_0.a('node.gradientcolor','');
- Node392_0.a('node.text','Ia:');
- Node392_0.a('node.textalign','left');
- Node392_0.a('node.textvAlign','middle');
- Node392_0.a('node.textrect', [Node392_0textStart, 0, Node392_0textWidth, Node392_0height]);
- Node392_0.a('node.color','rgba(255,0,255,1)');
- Node392_0.a('node.font',' '+ Node392_0fontSize + 'px "Arial"');
- Node392_0.a('node.textvisible',true);
- Node392_0.a('node.linefeed',false);
- if (false) {
- Node392_0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node392_0.a('node.text') || 'Ia:';
- var color=Node392_0.a('node.color') || 'rgba(255,0,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node392_0width,Node392_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node392_0fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node392_0.a('node.underlinepoints',[Node392_0lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node392_0fontSize + 2 , ht.Default.getTextSize('Ia:', ' '+ Node392_0fontSize + 'px "Arial"').width + 6, (Node392_0height - Node392_0fontSize) * 0.5*_ratio.ratioY + Node392_0fontSize + 2 ]);
- Node392_0.a('node.underlinevisible',false);
- Node392_0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node392_0);
- zoomNodeList.push({
- node: Node392_0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node392_1 = new ht.Node();
- var Node392_1textStart, Node392_1textWidth, Node392_1lineStart, Node392_1align = 'left', Node392_1fontSize = 13.3333*_ratio.ratioY,Node392_1width = 59*_ratio.ratioX, Node392_1height = 25*_ratio.ratioY;
- (function () {
- if (Node392_1align === 'left') {
- Node392_1textStart = Node392_1fontSize * 0.2 > 2 ? Node392_1fontSize * 0.2 - 4 : Node392_1fontSize * 0.2 - 9;
- Node392_1textWidth = Node392_1width;
- Node392_1lineStart = 1;
- } else if (Node392_1align === 'right') {
- Node392_1textStart = 0;
- Node392_1textWidth =Node392_1fontSize <= 8 ? Node392_1width + Node392_1fontSize * 0.2 + 6 : Node392_1width - Node392_1fontSize * 0.2;
- Node392_1lineStart = (Node392_1width - (ht.Default.getTextSize('P:', ' '+ Node392_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node392_1align === 'center') {
- Node392_1textStart = -3;
- Node392_1textWidth = Node392_1width;
- Node392_1lineStart = Node392_1width - ht.Default.getTextSize('P:', ' '+ Node392_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node392_1.setImage(GD.getTextJSON(Node392_1width, Node392_1height, true, false, false, ' '+ Node392_1fontSize + 'px "Arial"'))
- Node392_1.setPosition(626*ratio.ratioX, 717*ratio.ratioY);
- Node392_1.setWidth(Node392_1width);
- Node392_1.setHeight(Node392_1height);
- Node392_1._nodeType = 'text';
- Node392_1._disallowEvert = true;
- Node392_1.setRotation(0*Math.PI/180);
- Node392_1.a('node.width', Node392_1width);
- Node392_1.a('node.height', Node392_1height);
- Node392_1.a('node.rect', [0, 0, Node392_1width, Node392_1height]);
- Node392_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node392_1.a('node.borderwidth', 0);
- Node392_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node392_1.a('node.gradient','');
- Node392_1.a('node.gradientcolor','');
- Node392_1.a('node.text','P:');
- Node392_1.a('node.textalign','left');
- Node392_1.a('node.textvAlign','middle');
- Node392_1.a('node.textrect', [Node392_1textStart, 0, Node392_1textWidth, Node392_1height]);
- Node392_1.a('node.color','rgba(0,0,0,1)');
- Node392_1.a('node.font',' '+ Node392_1fontSize + 'px "Arial"');
- Node392_1.a('node.textvisible',true);
- Node392_1.a('node.linefeed',false);
- if (false) {
- Node392_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node392_1.a('node.text') || 'P:';
- var color=Node392_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node392_1width,Node392_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node392_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node392_1.a('node.underlinepoints',[Node392_1lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node392_1fontSize + 2 , ht.Default.getTextSize('P:', ' '+ Node392_1fontSize + 'px "Arial"').width + 6, (Node392_1height - Node392_1fontSize) * 0.5*_ratio.ratioY + Node392_1fontSize + 2 ]);
- Node392_1.a('node.underlinevisible',false);
- Node392_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node392_1);
- zoomNodeList.push({
- node: Node392_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node393_0 = new ht.Node();
- var Node393_0textStart, Node393_0textWidth, Node393_0lineStart, Node393_0align = 'left', Node393_0fontSize = 13.3333*_ratio.ratioY,Node393_0width = 59*_ratio.ratioX, Node393_0height = 25*_ratio.ratioY;
- (function () {
- if (Node393_0align === 'left') {
- Node393_0textStart = Node393_0fontSize * 0.2 > 2 ? Node393_0fontSize * 0.2 - 4 : Node393_0fontSize * 0.2 - 9;
- Node393_0textWidth = Node393_0width;
- Node393_0lineStart = 1;
- } else if (Node393_0align === 'right') {
- Node393_0textStart = 0;
- Node393_0textWidth =Node393_0fontSize <= 8 ? Node393_0width + Node393_0fontSize * 0.2 + 6 : Node393_0width - Node393_0fontSize * 0.2;
- Node393_0lineStart = (Node393_0width - (ht.Default.getTextSize('Ia:', ' '+ Node393_0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node393_0align === 'center') {
- Node393_0textStart = -3;
- Node393_0textWidth = Node393_0width;
- Node393_0lineStart = Node393_0width - ht.Default.getTextSize('Ia:', ' '+ Node393_0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node393_0.setImage(GD.getTextJSON(Node393_0width, Node393_0height, true, false, false, ' '+ Node393_0fontSize + 'px "Arial"'))
- Node393_0.setPosition(714*ratio.ratioX, 696*ratio.ratioY);
- Node393_0.setWidth(Node393_0width);
- Node393_0.setHeight(Node393_0height);
- Node393_0._nodeType = 'text';
- Node393_0._disallowEvert = true;
- Node393_0.setRotation(0*Math.PI/180);
- Node393_0.a('node.width', Node393_0width);
- Node393_0.a('node.height', Node393_0height);
- Node393_0.a('node.rect', [0, 0, Node393_0width, Node393_0height]);
- Node393_0.a('node.bordercolor','rgba(255,0,255,1)');
- Node393_0.a('node.borderwidth', 0);
- Node393_0.a('node.background','' || 'rgba(0,0,0,0)');
- Node393_0.a('node.gradient','');
- Node393_0.a('node.gradientcolor','');
- Node393_0.a('node.text','Ia:');
- Node393_0.a('node.textalign','left');
- Node393_0.a('node.textvAlign','middle');
- Node393_0.a('node.textrect', [Node393_0textStart, 0, Node393_0textWidth, Node393_0height]);
- Node393_0.a('node.color','rgba(255,0,255,1)');
- Node393_0.a('node.font',' '+ Node393_0fontSize + 'px "Arial"');
- Node393_0.a('node.textvisible',true);
- Node393_0.a('node.linefeed',false);
- if (false) {
- Node393_0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node393_0.a('node.text') || 'Ia:';
- var color=Node393_0.a('node.color') || 'rgba(255,0,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node393_0width,Node393_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node393_0fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node393_0.a('node.underlinepoints',[Node393_0lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node393_0fontSize + 2 , ht.Default.getTextSize('Ia:', ' '+ Node393_0fontSize + 'px "Arial"').width + 6, (Node393_0height - Node393_0fontSize) * 0.5*_ratio.ratioY + Node393_0fontSize + 2 ]);
- Node393_0.a('node.underlinevisible',false);
- Node393_0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node393_0);
- zoomNodeList.push({
- node: Node393_0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node393_1 = new ht.Node();
- var Node393_1textStart, Node393_1textWidth, Node393_1lineStart, Node393_1align = 'left', Node393_1fontSize = 13.3333*_ratio.ratioY,Node393_1width = 59*_ratio.ratioX, Node393_1height = 25*_ratio.ratioY;
- (function () {
- if (Node393_1align === 'left') {
- Node393_1textStart = Node393_1fontSize * 0.2 > 2 ? Node393_1fontSize * 0.2 - 4 : Node393_1fontSize * 0.2 - 9;
- Node393_1textWidth = Node393_1width;
- Node393_1lineStart = 1;
- } else if (Node393_1align === 'right') {
- Node393_1textStart = 0;
- Node393_1textWidth =Node393_1fontSize <= 8 ? Node393_1width + Node393_1fontSize * 0.2 + 6 : Node393_1width - Node393_1fontSize * 0.2;
- Node393_1lineStart = (Node393_1width - (ht.Default.getTextSize('P:', ' '+ Node393_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node393_1align === 'center') {
- Node393_1textStart = -3;
- Node393_1textWidth = Node393_1width;
- Node393_1lineStart = Node393_1width - ht.Default.getTextSize('P:', ' '+ Node393_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node393_1.setImage(GD.getTextJSON(Node393_1width, Node393_1height, true, false, false, ' '+ Node393_1fontSize + 'px "Arial"'))
- Node393_1.setPosition(716*ratio.ratioX, 717*ratio.ratioY);
- Node393_1.setWidth(Node393_1width);
- Node393_1.setHeight(Node393_1height);
- Node393_1._nodeType = 'text';
- Node393_1._disallowEvert = true;
- Node393_1.setRotation(0*Math.PI/180);
- Node393_1.a('node.width', Node393_1width);
- Node393_1.a('node.height', Node393_1height);
- Node393_1.a('node.rect', [0, 0, Node393_1width, Node393_1height]);
- Node393_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node393_1.a('node.borderwidth', 0);
- Node393_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node393_1.a('node.gradient','');
- Node393_1.a('node.gradientcolor','');
- Node393_1.a('node.text','P:');
- Node393_1.a('node.textalign','left');
- Node393_1.a('node.textvAlign','middle');
- Node393_1.a('node.textrect', [Node393_1textStart, 0, Node393_1textWidth, Node393_1height]);
- Node393_1.a('node.color','rgba(0,0,0,1)');
- Node393_1.a('node.font',' '+ Node393_1fontSize + 'px "Arial"');
- Node393_1.a('node.textvisible',true);
- Node393_1.a('node.linefeed',false);
- if (false) {
- Node393_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node393_1.a('node.text') || 'P:';
- var color=Node393_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node393_1width,Node393_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node393_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node393_1.a('node.underlinepoints',[Node393_1lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node393_1fontSize + 2 , ht.Default.getTextSize('P:', ' '+ Node393_1fontSize + 'px "Arial"').width + 6, (Node393_1height - Node393_1fontSize) * 0.5*_ratio.ratioY + Node393_1fontSize + 2 ]);
- Node393_1.a('node.underlinevisible',false);
- Node393_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node393_1);
- zoomNodeList.push({
- node: Node393_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node394_0= new ht.Node();
- Node394_0._borderWidth = 1;
- Node394_0.setImage({
- width: 50*_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)', Node394_0._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 50*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node394_0.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node394_0.background'},
- gradient: {value:'', func: 'attr@Node394_0.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node394_0.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node394_0.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node394_0.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node394_0.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node394_0.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node394_0.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,50*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node394_0.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node394_0.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node394_0.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node394_0.borderPattern'}
- }
- ]
- });
- var Node394_0borderwidth = 1;
- var Node394_0borderFillwidth = 1*2;
- Node394_0 .setPosition(1353*ratio.ratioX,661*ratio.ratioY);
- Node394_0.setSize(50*_ratio.ratioX, 20*_ratio.ratioY);
- Node394_0.setRotation(0*Math.PI/180);
- Node394_0.s({'pixelPerfect':true});
- Node394_0.a('Node394_0.borderwidth',1);
- Node394_0.a('Node394_0.color','@bordercolor@');
- Node394_0.a('Node394_0.background','rgba(0,0,192,1)');
- Node394_0.a('Node394_0.gradient','');
- Node394_0.a('Node394_0.gradientcolor','rgba(0,0,192,1)');
- Node394_0.a('Node394_0.borderPattern',getDashStyle("Solid"));
- Node394_0.a('Node394_0.fillrect',[0,0,0,0]);
- Node394_0.a('Node394_0.fillbackcolor','rgba(0, 0, 0, 0)');
- Node394_0.a('Node394_0.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node394_0.a('Node394_0.fillgradient','');
- Node394_0borderwidth=1;
- dataModel.add(Node394_0);
- Node394_0.borderWidth = 1;
- Node394_0.borderFillwidth = 1*2;
- Node394_0._nodename = 'Node394_0';
- Node394_0._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node394_0,
- attr: 'Node394_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('Node394_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('Node394_0.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node394_0, Node394_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node394_1 = new ht.Node();
- var Node394_1textStart, Node394_1textWidth, Node394_1lineStart, Node394_1align = 'left', Node394_1fontSize = 13.3333*_ratio.ratioY,Node394_1width = 50*_ratio.ratioX, Node394_1height = 25*_ratio.ratioY;
- (function () {
- if (Node394_1align === 'left') {
- Node394_1textStart = Node394_1fontSize * 0.2 > 2 ? Node394_1fontSize * 0.2 - 4 : Node394_1fontSize * 0.2 - 9;
- Node394_1textWidth = Node394_1width;
- Node394_1lineStart = 1;
- } else if (Node394_1align === 'right') {
- Node394_1textStart = 0;
- Node394_1textWidth =Node394_1fontSize <= 8 ? Node394_1width + Node394_1fontSize * 0.2 + 6 : Node394_1width - Node394_1fontSize * 0.2;
- Node394_1lineStart = (Node394_1width - (ht.Default.getTextSize('2-PT柜', ' '+ Node394_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node394_1align === 'center') {
- Node394_1textStart = -3;
- Node394_1textWidth = Node394_1width;
- Node394_1lineStart = Node394_1width - ht.Default.getTextSize('2-PT柜', ' '+ Node394_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node394_1.setImage(GD.getTextJSON(Node394_1width, Node394_1height, true, false, false, ' '+ Node394_1fontSize + 'px "Arial"'))
- Node394_1.setPosition(1354*ratio.ratioX, 663*ratio.ratioY);
- Node394_1.setWidth(Node394_1width);
- Node394_1.setHeight(Node394_1height);
- Node394_1._nodeType = 'text';
- Node394_1._disallowEvert = true;
- Node394_1.setRotation(0*Math.PI/180);
- Node394_1.a('node.width', Node394_1width);
- Node394_1.a('node.height', Node394_1height);
- Node394_1.a('node.rect', [0, 0, Node394_1width, Node394_1height]);
- Node394_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node394_1.a('node.borderwidth', 0);
- Node394_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node394_1.a('node.gradient','');
- Node394_1.a('node.gradientcolor','');
- Node394_1.a('node.text','2-PT柜');
- Node394_1.a('node.textalign','left');
- Node394_1.a('node.textvAlign','middle');
- Node394_1.a('node.textrect', [Node394_1textStart, 0, Node394_1textWidth, Node394_1height]);
- Node394_1.a('node.color','rgba(255,255,255,1)');
- Node394_1.a('node.font',' '+ Node394_1fontSize + 'px "Arial"');
- Node394_1.a('node.textvisible',true);
- Node394_1.a('node.linefeed',false);
- if (false) {
- Node394_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node394_1.a('node.text') || '2-PT柜';
- var color=Node394_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node394_1width,Node394_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node394_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node394_1.a('node.underlinepoints',[Node394_1lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node394_1fontSize + 2 , ht.Default.getTextSize('2-PT柜', ' '+ Node394_1fontSize + 'px "Arial"').width + 6, (Node394_1height - Node394_1fontSize) * 0.5*_ratio.ratioY + Node394_1fontSize + 2 ]);
- Node394_1.a('node.underlinevisible',false);
- Node394_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node394_1);
- zoomNodeList.push({
- node: Node394_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node395= new ht.Node();
- Node395._borderWidth = 1;
- Node395.setImage({
- width: 50*_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)', Node395._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 50*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node395.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node395.background'},
- gradient: {value:'', func: 'attr@Node395.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node395.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node395.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node395.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node395.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node395.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node395.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,50*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node395.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node395.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node395.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node395.borderPattern'}
- }
- ]
- });
- var Node395borderwidth = 1;
- var Node395borderFillwidth = 1*2;
- Node395 .setPosition(1443*ratio.ratioX,661*ratio.ratioY);
- Node395.setSize(50*_ratio.ratioX, 20*_ratio.ratioY);
- Node395.setRotation(0*Math.PI/180);
- Node395.s({'pixelPerfect':true});
- Node395.a('Node395.borderwidth',1);
- Node395.a('Node395.color','@bordercolor@');
- Node395.a('Node395.background','rgba(0,0,192,1)');
- Node395.a('Node395.gradient','');
- Node395.a('Node395.gradientcolor','rgba(0,0,192,1)');
- Node395.a('Node395.borderPattern',getDashStyle("Solid"));
- Node395.a('Node395.fillrect',[0,0,0,0]);
- Node395.a('Node395.fillbackcolor','rgba(0, 0, 0, 0)');
- Node395.a('Node395.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node395.a('Node395.fillgradient','');
- Node395borderwidth=1;
- dataModel.add(Node395);
- Node395.borderWidth = 1;
- Node395.borderFillwidth = 1*2;
- Node395._nodename = 'Node395';
- Node395._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node395,
- attr: 'Node395.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('Node395.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('Node395.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node395, Node395.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node396 = new ht.Node();
- var Node396textStart, Node396textWidth, Node396lineStart, Node396align = 'left', Node396fontSize = 13.3333*_ratio.ratioY,Node396width = 50*_ratio.ratioX, Node396height = 25*_ratio.ratioY;
- (function () {
- if (Node396align === 'left') {
- Node396textStart = Node396fontSize * 0.2 > 2 ? Node396fontSize * 0.2 - 4 : Node396fontSize * 0.2 - 9;
- Node396textWidth = Node396width;
- Node396lineStart = 1;
- } else if (Node396align === 'right') {
- Node396textStart = 0;
- Node396textWidth =Node396fontSize <= 8 ? Node396width + Node396fontSize * 0.2 + 6 : Node396width - Node396fontSize * 0.2;
- Node396lineStart = (Node396width - (ht.Default.getTextSize('备用', ' '+ Node396fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node396align === 'center') {
- Node396textStart = -3;
- Node396textWidth = Node396width;
- Node396lineStart = Node396width - ht.Default.getTextSize('备用', ' '+ Node396fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node396.setImage(GD.getTextJSON(Node396width, Node396height, true, false, false, ' '+ Node396fontSize + 'px "Arial"'))
- Node396.setPosition(1450*ratio.ratioX, 663*ratio.ratioY);
- Node396.setWidth(Node396width);
- Node396.setHeight(Node396height);
- Node396._nodeType = 'text';
- Node396._disallowEvert = true;
- Node396.setRotation(0*Math.PI/180);
- Node396.a('node.width', Node396width);
- Node396.a('node.height', Node396height);
- Node396.a('node.rect', [0, 0, Node396width, Node396height]);
- Node396.a('node.bordercolor','rgba(255,255,255,1)');
- Node396.a('node.borderwidth', 0);
- Node396.a('node.background','' || 'rgba(0,0,0,0)');
- Node396.a('node.gradient','');
- Node396.a('node.gradientcolor','');
- Node396.a('node.text','备用');
- Node396.a('node.textalign','left');
- Node396.a('node.textvAlign','middle');
- Node396.a('node.textrect', [Node396textStart, 0, Node396textWidth, Node396height]);
- Node396.a('node.color','rgba(255,255,255,1)');
- Node396.a('node.font',' '+ Node396fontSize + 'px "Arial"');
- Node396.a('node.textvisible',true);
- Node396.a('node.linefeed',false);
- if (false) {
- Node396.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node396.a('node.text') || '备用';
- var color=Node396.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node396width,Node396height,13.3333*_ratio.ratioY,"left",color,' '+ Node396fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node396.a('node.underlinepoints',[Node396lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node396fontSize + 2 , ht.Default.getTextSize('备用', ' '+ Node396fontSize + 'px "Arial"').width + 6, (Node396height - Node396fontSize) * 0.5*_ratio.ratioY + Node396fontSize + 2 ]);
- Node396.a('node.underlinevisible',false);
- Node396.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node396);
- zoomNodeList.push({
- node: Node396,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node397_0= new ht.Node();
- Node397_0._borderWidth = 1;
- Node397_0.setImage({
- width: 50*_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)', Node397_0._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 50*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node397_0.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node397_0.background'},
- gradient: {value:'', func: 'attr@Node397_0.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node397_0.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node397_0.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node397_0.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node397_0.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node397_0.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node397_0.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,50*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node397_0.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node397_0.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node397_0.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node397_0.borderPattern'}
- }
- ]
- });
- var Node397_0borderwidth = 1;
- var Node397_0borderFillwidth = 1*2;
- Node397_0 .setPosition(1543*ratio.ratioX,661*ratio.ratioY);
- Node397_0.setSize(50*_ratio.ratioX, 20*_ratio.ratioY);
- Node397_0.setRotation(0*Math.PI/180);
- Node397_0.s({'pixelPerfect':true});
- Node397_0.a('Node397_0.borderwidth',1);
- Node397_0.a('Node397_0.color','@bordercolor@');
- Node397_0.a('Node397_0.background','rgba(0,0,192,1)');
- Node397_0.a('Node397_0.gradient','');
- Node397_0.a('Node397_0.gradientcolor','rgba(0,0,192,1)');
- Node397_0.a('Node397_0.borderPattern',getDashStyle("Solid"));
- Node397_0.a('Node397_0.fillrect',[0,0,0,0]);
- Node397_0.a('Node397_0.fillbackcolor','rgba(0, 0, 0, 0)');
- Node397_0.a('Node397_0.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node397_0.a('Node397_0.fillgradient','');
- Node397_0borderwidth=1;
- dataModel.add(Node397_0);
- Node397_0.borderWidth = 1;
- Node397_0.borderFillwidth = 1*2;
- Node397_0._nodename = 'Node397_0';
- Node397_0._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node397_0,
- attr: 'Node397_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('Node397_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('Node397_0.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node397_0, Node397_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node397_1 = new ht.Node();
- var Node397_1textStart, Node397_1textWidth, Node397_1lineStart, Node397_1align = 'left', Node397_1fontSize = 13.3333*_ratio.ratioY,Node397_1width = 50*_ratio.ratioX, Node397_1height = 25*_ratio.ratioY;
- (function () {
- if (Node397_1align === 'left') {
- Node397_1textStart = Node397_1fontSize * 0.2 > 2 ? Node397_1fontSize * 0.2 - 4 : Node397_1fontSize * 0.2 - 9;
- Node397_1textWidth = Node397_1width;
- Node397_1lineStart = 1;
- } else if (Node397_1align === 'right') {
- Node397_1textStart = 0;
- Node397_1textWidth =Node397_1fontSize <= 8 ? Node397_1width + Node397_1fontSize * 0.2 + 6 : Node397_1width - Node397_1fontSize * 0.2;
- Node397_1lineStart = (Node397_1width - (ht.Default.getTextSize('7#出线', ' '+ Node397_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node397_1align === 'center') {
- Node397_1textStart = -3;
- Node397_1textWidth = Node397_1width;
- Node397_1lineStart = Node397_1width - ht.Default.getTextSize('7#出线', ' '+ Node397_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node397_1.setImage(GD.getTextJSON(Node397_1width, Node397_1height, true, false, false, ' '+ Node397_1fontSize + 'px "Arial"'))
- Node397_1.setPosition(1544*ratio.ratioX, 663*ratio.ratioY);
- Node397_1.setWidth(Node397_1width);
- Node397_1.setHeight(Node397_1height);
- Node397_1._nodeType = 'text';
- Node397_1._disallowEvert = true;
- Node397_1.setRotation(0*Math.PI/180);
- Node397_1.a('node.width', Node397_1width);
- Node397_1.a('node.height', Node397_1height);
- Node397_1.a('node.rect', [0, 0, Node397_1width, Node397_1height]);
- Node397_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node397_1.a('node.borderwidth', 0);
- Node397_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node397_1.a('node.gradient','');
- Node397_1.a('node.gradientcolor','');
- Node397_1.a('node.text','7#出线');
- Node397_1.a('node.textalign','left');
- Node397_1.a('node.textvAlign','middle');
- Node397_1.a('node.textrect', [Node397_1textStart, 0, Node397_1textWidth, Node397_1height]);
- Node397_1.a('node.color','rgba(255,255,255,1)');
- Node397_1.a('node.font',' '+ Node397_1fontSize + 'px "Arial"');
- Node397_1.a('node.textvisible',true);
- Node397_1.a('node.linefeed',false);
- if (false) {
- Node397_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node397_1.a('node.text') || '7#出线';
- var color=Node397_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node397_1width,Node397_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node397_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node397_1.a('node.underlinepoints',[Node397_1lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node397_1fontSize + 2 , ht.Default.getTextSize('7#出线', ' '+ Node397_1fontSize + 'px "Arial"').width + 6, (Node397_1height - Node397_1fontSize) * 0.5*_ratio.ratioY + Node397_1fontSize + 2 ]);
- Node397_1.a('node.underlinevisible',false);
- Node397_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node397_1);
- zoomNodeList.push({
- node: Node397_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node398= new ht.Node();
- Node398._borderWidth = 1;
- Node398.setImage({
- width: 50*_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)', Node398._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 50*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node398.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node398.background'},
- gradient: {value:'', func: 'attr@Node398.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node398.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node398.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node398.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node398.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node398.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node398.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,50*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node398.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node398.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node398.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node398.borderPattern'}
- }
- ]
- });
- var Node398borderwidth = 1;
- var Node398borderFillwidth = 1*2;
- Node398 .setPosition(1643*ratio.ratioX,661*ratio.ratioY);
- Node398.setSize(50*_ratio.ratioX, 20*_ratio.ratioY);
- Node398.setRotation(0*Math.PI/180);
- Node398.s({'pixelPerfect':true});
- Node398.a('Node398.borderwidth',1);
- Node398.a('Node398.color','@bordercolor@');
- Node398.a('Node398.background','rgba(0,0,192,1)');
- Node398.a('Node398.gradient','');
- Node398.a('Node398.gradientcolor','rgba(0,0,192,1)');
- Node398.a('Node398.borderPattern',getDashStyle("Solid"));
- Node398.a('Node398.fillrect',[0,0,0,0]);
- Node398.a('Node398.fillbackcolor','rgba(0, 0, 0, 0)');
- Node398.a('Node398.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node398.a('Node398.fillgradient','');
- Node398borderwidth=1;
- dataModel.add(Node398);
- Node398.borderWidth = 1;
- Node398.borderFillwidth = 1*2;
- Node398._nodename = 'Node398';
- Node398._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node398,
- attr: 'Node398.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('Node398.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('Node398.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node398, Node398.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node399 = new ht.Node();
- var Node399textStart, Node399textWidth, Node399lineStart, Node399align = 'left', Node399fontSize = 13.3333*_ratio.ratioY,Node399width = 50*_ratio.ratioX, Node399height = 25*_ratio.ratioY;
- (function () {
- if (Node399align === 'left') {
- Node399textStart = Node399fontSize * 0.2 > 2 ? Node399fontSize * 0.2 - 4 : Node399fontSize * 0.2 - 9;
- Node399textWidth = Node399width;
- Node399lineStart = 1;
- } else if (Node399align === 'right') {
- Node399textStart = 0;
- Node399textWidth =Node399fontSize <= 8 ? Node399width + Node399fontSize * 0.2 + 6 : Node399width - Node399fontSize * 0.2;
- Node399lineStart = (Node399width - (ht.Default.getTextSize('8#出线', ' '+ Node399fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node399align === 'center') {
- Node399textStart = -3;
- Node399textWidth = Node399width;
- Node399lineStart = Node399width - ht.Default.getTextSize('8#出线', ' '+ Node399fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node399.setImage(GD.getTextJSON(Node399width, Node399height, true, false, false, ' '+ Node399fontSize + 'px "Arial"'))
- Node399.setPosition(1644*ratio.ratioX, 663*ratio.ratioY);
- Node399.setWidth(Node399width);
- Node399.setHeight(Node399height);
- Node399._nodeType = 'text';
- Node399._disallowEvert = true;
- Node399.setRotation(0*Math.PI/180);
- Node399.a('node.width', Node399width);
- Node399.a('node.height', Node399height);
- Node399.a('node.rect', [0, 0, Node399width, Node399height]);
- Node399.a('node.bordercolor','rgba(255,255,255,1)');
- Node399.a('node.borderwidth', 0);
- Node399.a('node.background','' || 'rgba(0,0,0,0)');
- Node399.a('node.gradient','');
- Node399.a('node.gradientcolor','');
- Node399.a('node.text','8#出线');
- Node399.a('node.textalign','left');
- Node399.a('node.textvAlign','middle');
- Node399.a('node.textrect', [Node399textStart, 0, Node399textWidth, Node399height]);
- Node399.a('node.color','rgba(255,255,255,1)');
- Node399.a('node.font',' '+ Node399fontSize + 'px "Arial"');
- Node399.a('node.textvisible',true);
- Node399.a('node.linefeed',false);
- if (false) {
- Node399.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node399.a('node.text') || '8#出线';
- var color=Node399.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node399width,Node399height,13.3333*_ratio.ratioY,"left",color,' '+ Node399fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node399.a('node.underlinepoints',[Node399lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node399fontSize + 2 , ht.Default.getTextSize('8#出线', ' '+ Node399fontSize + 'px "Arial"').width + 6, (Node399height - Node399fontSize) * 0.5*_ratio.ratioY + Node399fontSize + 2 ]);
- Node399.a('node.underlinevisible',false);
- Node399.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node399);
- zoomNodeList.push({
- node: Node399,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node400= new ht.Node();
- Node400._borderWidth = 1;
- Node400.setImage({
- width: 50*_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)', Node400._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 50*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node400.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node400.background'},
- gradient: {value:'', func: 'attr@Node400.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node400.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node400.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node400.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node400.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node400.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node400.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,50*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node400.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node400.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node400.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node400.borderPattern'}
- }
- ]
- });
- var Node400borderwidth = 1;
- var Node400borderFillwidth = 1*2;
- Node400 .setPosition(1743*ratio.ratioX,661*ratio.ratioY);
- Node400.setSize(50*_ratio.ratioX, 20*_ratio.ratioY);
- Node400.setRotation(0*Math.PI/180);
- Node400.s({'pixelPerfect':true});
- Node400.a('Node400.borderwidth',1);
- Node400.a('Node400.color','@bordercolor@');
- Node400.a('Node400.background','rgba(0,0,192,1)');
- Node400.a('Node400.gradient','');
- Node400.a('Node400.gradientcolor','rgba(0,0,192,1)');
- Node400.a('Node400.borderPattern',getDashStyle("Solid"));
- Node400.a('Node400.fillrect',[0,0,0,0]);
- Node400.a('Node400.fillbackcolor','rgba(0, 0, 0, 0)');
- Node400.a('Node400.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node400.a('Node400.fillgradient','');
- Node400borderwidth=1;
- dataModel.add(Node400);
- Node400.borderWidth = 1;
- Node400.borderFillwidth = 1*2;
- Node400._nodename = 'Node400';
- Node400._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node400,
- attr: 'Node400.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('Node400.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('Node400.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node400, Node400.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node401 = new ht.Node();
- var Node401textStart, Node401textWidth, Node401lineStart, Node401align = 'left', Node401fontSize = 13.3333*_ratio.ratioY,Node401width = 50*_ratio.ratioX, Node401height = 25*_ratio.ratioY;
- (function () {
- if (Node401align === 'left') {
- Node401textStart = Node401fontSize * 0.2 > 2 ? Node401fontSize * 0.2 - 4 : Node401fontSize * 0.2 - 9;
- Node401textWidth = Node401width;
- Node401lineStart = 1;
- } else if (Node401align === 'right') {
- Node401textStart = 0;
- Node401textWidth =Node401fontSize <= 8 ? Node401width + Node401fontSize * 0.2 + 6 : Node401width - Node401fontSize * 0.2;
- Node401lineStart = (Node401width - (ht.Default.getTextSize('9#出线', ' '+ Node401fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node401align === 'center') {
- Node401textStart = -3;
- Node401textWidth = Node401width;
- Node401lineStart = Node401width - ht.Default.getTextSize('9#出线', ' '+ Node401fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node401.setImage(GD.getTextJSON(Node401width, Node401height, true, false, false, ' '+ Node401fontSize + 'px "Arial"'))
- Node401.setPosition(1744*ratio.ratioX, 663*ratio.ratioY);
- Node401.setWidth(Node401width);
- Node401.setHeight(Node401height);
- Node401._nodeType = 'text';
- Node401._disallowEvert = true;
- Node401.setRotation(0*Math.PI/180);
- Node401.a('node.width', Node401width);
- Node401.a('node.height', Node401height);
- Node401.a('node.rect', [0, 0, Node401width, Node401height]);
- Node401.a('node.bordercolor','rgba(255,255,255,1)');
- Node401.a('node.borderwidth', 0);
- Node401.a('node.background','' || 'rgba(0,0,0,0)');
- Node401.a('node.gradient','');
- Node401.a('node.gradientcolor','');
- Node401.a('node.text','9#出线');
- Node401.a('node.textalign','left');
- Node401.a('node.textvAlign','middle');
- Node401.a('node.textrect', [Node401textStart, 0, Node401textWidth, Node401height]);
- Node401.a('node.color','rgba(255,255,255,1)');
- Node401.a('node.font',' '+ Node401fontSize + 'px "Arial"');
- Node401.a('node.textvisible',true);
- Node401.a('node.linefeed',false);
- if (false) {
- Node401.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node401.a('node.text') || '9#出线';
- var color=Node401.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node401width,Node401height,13.3333*_ratio.ratioY,"left",color,' '+ Node401fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node401.a('node.underlinepoints',[Node401lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node401fontSize + 2 , ht.Default.getTextSize('9#出线', ' '+ Node401fontSize + 'px "Arial"').width + 6, (Node401height - Node401fontSize) * 0.5*_ratio.ratioY + Node401fontSize + 2 ]);
- Node401.a('node.underlinevisible',false);
- Node401.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node401);
- zoomNodeList.push({
- node: Node401,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node402_0 = new ht.Node();
- var Node402_0textStart, Node402_0textWidth, Node402_0lineStart, Node402_0align = 'left', Node402_0fontSize = 13.3333*_ratio.ratioY,Node402_0width = 59*_ratio.ratioX, Node402_0height = 25*_ratio.ratioY;
- (function () {
- if (Node402_0align === 'left') {
- Node402_0textStart = Node402_0fontSize * 0.2 > 2 ? Node402_0fontSize * 0.2 - 4 : Node402_0fontSize * 0.2 - 9;
- Node402_0textWidth = Node402_0width;
- Node402_0lineStart = 1;
- } else if (Node402_0align === 'right') {
- Node402_0textStart = 0;
- Node402_0textWidth =Node402_0fontSize <= 8 ? Node402_0width + Node402_0fontSize * 0.2 + 6 : Node402_0width - Node402_0fontSize * 0.2;
- Node402_0lineStart = (Node402_0width - (ht.Default.getTextSize('Ia:', ' '+ Node402_0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node402_0align === 'center') {
- Node402_0textStart = -3;
- Node402_0textWidth = Node402_0width;
- Node402_0lineStart = Node402_0width - ht.Default.getTextSize('Ia:', ' '+ Node402_0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node402_0.setImage(GD.getTextJSON(Node402_0width, Node402_0height, true, false, false, ' '+ Node402_0fontSize + 'px "Arial"'))
- Node402_0.setPosition(1544*ratio.ratioX, 696*ratio.ratioY);
- Node402_0.setWidth(Node402_0width);
- Node402_0.setHeight(Node402_0height);
- Node402_0._nodeType = 'text';
- Node402_0._disallowEvert = true;
- Node402_0.setRotation(0*Math.PI/180);
- Node402_0.a('node.width', Node402_0width);
- Node402_0.a('node.height', Node402_0height);
- Node402_0.a('node.rect', [0, 0, Node402_0width, Node402_0height]);
- Node402_0.a('node.bordercolor','rgba(255,0,255,1)');
- Node402_0.a('node.borderwidth', 0);
- Node402_0.a('node.background','' || 'rgba(0,0,0,0)');
- Node402_0.a('node.gradient','');
- Node402_0.a('node.gradientcolor','');
- Node402_0.a('node.text','Ia:');
- Node402_0.a('node.textalign','left');
- Node402_0.a('node.textvAlign','middle');
- Node402_0.a('node.textrect', [Node402_0textStart, 0, Node402_0textWidth, Node402_0height]);
- Node402_0.a('node.color','rgba(255,0,255,1)');
- Node402_0.a('node.font',' '+ Node402_0fontSize + 'px "Arial"');
- Node402_0.a('node.textvisible',true);
- Node402_0.a('node.linefeed',false);
- if (false) {
- Node402_0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node402_0.a('node.text') || 'Ia:';
- var color=Node402_0.a('node.color') || 'rgba(255,0,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node402_0width,Node402_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node402_0fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node402_0.a('node.underlinepoints',[Node402_0lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node402_0fontSize + 2 , ht.Default.getTextSize('Ia:', ' '+ Node402_0fontSize + 'px "Arial"').width + 6, (Node402_0height - Node402_0fontSize) * 0.5*_ratio.ratioY + Node402_0fontSize + 2 ]);
- Node402_0.a('node.underlinevisible',false);
- Node402_0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node402_0);
- zoomNodeList.push({
- node: Node402_0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node402_1 = new ht.Node();
- var Node402_1textStart, Node402_1textWidth, Node402_1lineStart, Node402_1align = 'left', Node402_1fontSize = 13.3333*_ratio.ratioY,Node402_1width = 59*_ratio.ratioX, Node402_1height = 25*_ratio.ratioY;
- (function () {
- if (Node402_1align === 'left') {
- Node402_1textStart = Node402_1fontSize * 0.2 > 2 ? Node402_1fontSize * 0.2 - 4 : Node402_1fontSize * 0.2 - 9;
- Node402_1textWidth = Node402_1width;
- Node402_1lineStart = 1;
- } else if (Node402_1align === 'right') {
- Node402_1textStart = 0;
- Node402_1textWidth =Node402_1fontSize <= 8 ? Node402_1width + Node402_1fontSize * 0.2 + 6 : Node402_1width - Node402_1fontSize * 0.2;
- Node402_1lineStart = (Node402_1width - (ht.Default.getTextSize('P:', ' '+ Node402_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node402_1align === 'center') {
- Node402_1textStart = -3;
- Node402_1textWidth = Node402_1width;
- Node402_1lineStart = Node402_1width - ht.Default.getTextSize('P:', ' '+ Node402_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node402_1.setImage(GD.getTextJSON(Node402_1width, Node402_1height, true, false, false, ' '+ Node402_1fontSize + 'px "Arial"'))
- Node402_1.setPosition(1546*ratio.ratioX, 717*ratio.ratioY);
- Node402_1.setWidth(Node402_1width);
- Node402_1.setHeight(Node402_1height);
- Node402_1._nodeType = 'text';
- Node402_1._disallowEvert = true;
- Node402_1.setRotation(0*Math.PI/180);
- Node402_1.a('node.width', Node402_1width);
- Node402_1.a('node.height', Node402_1height);
- Node402_1.a('node.rect', [0, 0, Node402_1width, Node402_1height]);
- Node402_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node402_1.a('node.borderwidth', 0);
- Node402_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node402_1.a('node.gradient','');
- Node402_1.a('node.gradientcolor','');
- Node402_1.a('node.text','P:');
- Node402_1.a('node.textalign','left');
- Node402_1.a('node.textvAlign','middle');
- Node402_1.a('node.textrect', [Node402_1textStart, 0, Node402_1textWidth, Node402_1height]);
- Node402_1.a('node.color','rgba(0,0,0,1)');
- Node402_1.a('node.font',' '+ Node402_1fontSize + 'px "Arial"');
- Node402_1.a('node.textvisible',true);
- Node402_1.a('node.linefeed',false);
- if (false) {
- Node402_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node402_1.a('node.text') || 'P:';
- var color=Node402_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node402_1width,Node402_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node402_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node402_1.a('node.underlinepoints',[Node402_1lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node402_1fontSize + 2 , ht.Default.getTextSize('P:', ' '+ Node402_1fontSize + 'px "Arial"').width + 6, (Node402_1height - Node402_1fontSize) * 0.5*_ratio.ratioY + Node402_1fontSize + 2 ]);
- Node402_1.a('node.underlinevisible',false);
- Node402_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node402_1);
- zoomNodeList.push({
- node: Node402_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node403_0 = new ht.Node();
- var Node403_0textStart, Node403_0textWidth, Node403_0lineStart, Node403_0align = 'left', Node403_0fontSize = 13.3333*_ratio.ratioY,Node403_0width = 59*_ratio.ratioX, Node403_0height = 25*_ratio.ratioY;
- (function () {
- if (Node403_0align === 'left') {
- Node403_0textStart = Node403_0fontSize * 0.2 > 2 ? Node403_0fontSize * 0.2 - 4 : Node403_0fontSize * 0.2 - 9;
- Node403_0textWidth = Node403_0width;
- Node403_0lineStart = 1;
- } else if (Node403_0align === 'right') {
- Node403_0textStart = 0;
- Node403_0textWidth =Node403_0fontSize <= 8 ? Node403_0width + Node403_0fontSize * 0.2 + 6 : Node403_0width - Node403_0fontSize * 0.2;
- Node403_0lineStart = (Node403_0width - (ht.Default.getTextSize('Ia:', ' '+ Node403_0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node403_0align === 'center') {
- Node403_0textStart = -3;
- Node403_0textWidth = Node403_0width;
- Node403_0lineStart = Node403_0width - ht.Default.getTextSize('Ia:', ' '+ Node403_0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node403_0.setImage(GD.getTextJSON(Node403_0width, Node403_0height, true, false, false, ' '+ Node403_0fontSize + 'px "Arial"'))
- Node403_0.setPosition(1644*ratio.ratioX, 696*ratio.ratioY);
- Node403_0.setWidth(Node403_0width);
- Node403_0.setHeight(Node403_0height);
- Node403_0._nodeType = 'text';
- Node403_0._disallowEvert = true;
- Node403_0.setRotation(0*Math.PI/180);
- Node403_0.a('node.width', Node403_0width);
- Node403_0.a('node.height', Node403_0height);
- Node403_0.a('node.rect', [0, 0, Node403_0width, Node403_0height]);
- Node403_0.a('node.bordercolor','rgba(255,0,255,1)');
- Node403_0.a('node.borderwidth', 0);
- Node403_0.a('node.background','' || 'rgba(0,0,0,0)');
- Node403_0.a('node.gradient','');
- Node403_0.a('node.gradientcolor','');
- Node403_0.a('node.text','Ia:');
- Node403_0.a('node.textalign','left');
- Node403_0.a('node.textvAlign','middle');
- Node403_0.a('node.textrect', [Node403_0textStart, 0, Node403_0textWidth, Node403_0height]);
- Node403_0.a('node.color','rgba(255,0,255,1)');
- Node403_0.a('node.font',' '+ Node403_0fontSize + 'px "Arial"');
- Node403_0.a('node.textvisible',true);
- Node403_0.a('node.linefeed',false);
- if (false) {
- Node403_0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node403_0.a('node.text') || 'Ia:';
- var color=Node403_0.a('node.color') || 'rgba(255,0,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node403_0width,Node403_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node403_0fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node403_0.a('node.underlinepoints',[Node403_0lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node403_0fontSize + 2 , ht.Default.getTextSize('Ia:', ' '+ Node403_0fontSize + 'px "Arial"').width + 6, (Node403_0height - Node403_0fontSize) * 0.5*_ratio.ratioY + Node403_0fontSize + 2 ]);
- Node403_0.a('node.underlinevisible',false);
- Node403_0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node403_0);
- zoomNodeList.push({
- node: Node403_0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node403_1 = new ht.Node();
- var Node403_1textStart, Node403_1textWidth, Node403_1lineStart, Node403_1align = 'left', Node403_1fontSize = 13.3333*_ratio.ratioY,Node403_1width = 59*_ratio.ratioX, Node403_1height = 25*_ratio.ratioY;
- (function () {
- if (Node403_1align === 'left') {
- Node403_1textStart = Node403_1fontSize * 0.2 > 2 ? Node403_1fontSize * 0.2 - 4 : Node403_1fontSize * 0.2 - 9;
- Node403_1textWidth = Node403_1width;
- Node403_1lineStart = 1;
- } else if (Node403_1align === 'right') {
- Node403_1textStart = 0;
- Node403_1textWidth =Node403_1fontSize <= 8 ? Node403_1width + Node403_1fontSize * 0.2 + 6 : Node403_1width - Node403_1fontSize * 0.2;
- Node403_1lineStart = (Node403_1width - (ht.Default.getTextSize('P:', ' '+ Node403_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node403_1align === 'center') {
- Node403_1textStart = -3;
- Node403_1textWidth = Node403_1width;
- Node403_1lineStart = Node403_1width - ht.Default.getTextSize('P:', ' '+ Node403_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node403_1.setImage(GD.getTextJSON(Node403_1width, Node403_1height, true, false, false, ' '+ Node403_1fontSize + 'px "Arial"'))
- Node403_1.setPosition(1646*ratio.ratioX, 717*ratio.ratioY);
- Node403_1.setWidth(Node403_1width);
- Node403_1.setHeight(Node403_1height);
- Node403_1._nodeType = 'text';
- Node403_1._disallowEvert = true;
- Node403_1.setRotation(0*Math.PI/180);
- Node403_1.a('node.width', Node403_1width);
- Node403_1.a('node.height', Node403_1height);
- Node403_1.a('node.rect', [0, 0, Node403_1width, Node403_1height]);
- Node403_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node403_1.a('node.borderwidth', 0);
- Node403_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node403_1.a('node.gradient','');
- Node403_1.a('node.gradientcolor','');
- Node403_1.a('node.text','P:');
- Node403_1.a('node.textalign','left');
- Node403_1.a('node.textvAlign','middle');
- Node403_1.a('node.textrect', [Node403_1textStart, 0, Node403_1textWidth, Node403_1height]);
- Node403_1.a('node.color','rgba(0,0,0,1)');
- Node403_1.a('node.font',' '+ Node403_1fontSize + 'px "Arial"');
- Node403_1.a('node.textvisible',true);
- Node403_1.a('node.linefeed',false);
- if (false) {
- Node403_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node403_1.a('node.text') || 'P:';
- var color=Node403_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node403_1width,Node403_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node403_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node403_1.a('node.underlinepoints',[Node403_1lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node403_1fontSize + 2 , ht.Default.getTextSize('P:', ' '+ Node403_1fontSize + 'px "Arial"').width + 6, (Node403_1height - Node403_1fontSize) * 0.5*_ratio.ratioY + Node403_1fontSize + 2 ]);
- Node403_1.a('node.underlinevisible',false);
- Node403_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node403_1);
- zoomNodeList.push({
- node: Node403_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node404_0 = new ht.Node();
- var Node404_0textStart, Node404_0textWidth, Node404_0lineStart, Node404_0align = 'left', Node404_0fontSize = 13.3333*_ratio.ratioY,Node404_0width = 59*_ratio.ratioX, Node404_0height = 25*_ratio.ratioY;
- (function () {
- if (Node404_0align === 'left') {
- Node404_0textStart = Node404_0fontSize * 0.2 > 2 ? Node404_0fontSize * 0.2 - 4 : Node404_0fontSize * 0.2 - 9;
- Node404_0textWidth = Node404_0width;
- Node404_0lineStart = 1;
- } else if (Node404_0align === 'right') {
- Node404_0textStart = 0;
- Node404_0textWidth =Node404_0fontSize <= 8 ? Node404_0width + Node404_0fontSize * 0.2 + 6 : Node404_0width - Node404_0fontSize * 0.2;
- Node404_0lineStart = (Node404_0width - (ht.Default.getTextSize('Ia:', ' '+ Node404_0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node404_0align === 'center') {
- Node404_0textStart = -3;
- Node404_0textWidth = Node404_0width;
- Node404_0lineStart = Node404_0width - ht.Default.getTextSize('Ia:', ' '+ Node404_0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node404_0.setImage(GD.getTextJSON(Node404_0width, Node404_0height, true, false, false, ' '+ Node404_0fontSize + 'px "Arial"'))
- Node404_0.setPosition(1744*ratio.ratioX, 696*ratio.ratioY);
- Node404_0.setWidth(Node404_0width);
- Node404_0.setHeight(Node404_0height);
- Node404_0._nodeType = 'text';
- Node404_0._disallowEvert = true;
- Node404_0.setRotation(0*Math.PI/180);
- Node404_0.a('node.width', Node404_0width);
- Node404_0.a('node.height', Node404_0height);
- Node404_0.a('node.rect', [0, 0, Node404_0width, Node404_0height]);
- Node404_0.a('node.bordercolor','rgba(255,0,255,1)');
- Node404_0.a('node.borderwidth', 0);
- Node404_0.a('node.background','' || 'rgba(0,0,0,0)');
- Node404_0.a('node.gradient','');
- Node404_0.a('node.gradientcolor','');
- Node404_0.a('node.text','Ia:');
- Node404_0.a('node.textalign','left');
- Node404_0.a('node.textvAlign','middle');
- Node404_0.a('node.textrect', [Node404_0textStart, 0, Node404_0textWidth, Node404_0height]);
- Node404_0.a('node.color','rgba(255,0,255,1)');
- Node404_0.a('node.font',' '+ Node404_0fontSize + 'px "Arial"');
- Node404_0.a('node.textvisible',true);
- Node404_0.a('node.linefeed',false);
- if (false) {
- Node404_0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node404_0.a('node.text') || 'Ia:';
- var color=Node404_0.a('node.color') || 'rgba(255,0,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node404_0width,Node404_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node404_0fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node404_0.a('node.underlinepoints',[Node404_0lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node404_0fontSize + 2 , ht.Default.getTextSize('Ia:', ' '+ Node404_0fontSize + 'px "Arial"').width + 6, (Node404_0height - Node404_0fontSize) * 0.5*_ratio.ratioY + Node404_0fontSize + 2 ]);
- Node404_0.a('node.underlinevisible',false);
- Node404_0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node404_0);
- zoomNodeList.push({
- node: Node404_0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node404_1 = new ht.Node();
- var Node404_1textStart, Node404_1textWidth, Node404_1lineStart, Node404_1align = 'left', Node404_1fontSize = 13.3333*_ratio.ratioY,Node404_1width = 59*_ratio.ratioX, Node404_1height = 25*_ratio.ratioY;
- (function () {
- if (Node404_1align === 'left') {
- Node404_1textStart = Node404_1fontSize * 0.2 > 2 ? Node404_1fontSize * 0.2 - 4 : Node404_1fontSize * 0.2 - 9;
- Node404_1textWidth = Node404_1width;
- Node404_1lineStart = 1;
- } else if (Node404_1align === 'right') {
- Node404_1textStart = 0;
- Node404_1textWidth =Node404_1fontSize <= 8 ? Node404_1width + Node404_1fontSize * 0.2 + 6 : Node404_1width - Node404_1fontSize * 0.2;
- Node404_1lineStart = (Node404_1width - (ht.Default.getTextSize('P:', ' '+ Node404_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node404_1align === 'center') {
- Node404_1textStart = -3;
- Node404_1textWidth = Node404_1width;
- Node404_1lineStart = Node404_1width - ht.Default.getTextSize('P:', ' '+ Node404_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node404_1.setImage(GD.getTextJSON(Node404_1width, Node404_1height, true, false, false, ' '+ Node404_1fontSize + 'px "Arial"'))
- Node404_1.setPosition(1746*ratio.ratioX, 717*ratio.ratioY);
- Node404_1.setWidth(Node404_1width);
- Node404_1.setHeight(Node404_1height);
- Node404_1._nodeType = 'text';
- Node404_1._disallowEvert = true;
- Node404_1.setRotation(0*Math.PI/180);
- Node404_1.a('node.width', Node404_1width);
- Node404_1.a('node.height', Node404_1height);
- Node404_1.a('node.rect', [0, 0, Node404_1width, Node404_1height]);
- Node404_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node404_1.a('node.borderwidth', 0);
- Node404_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node404_1.a('node.gradient','');
- Node404_1.a('node.gradientcolor','');
- Node404_1.a('node.text','P:');
- Node404_1.a('node.textalign','left');
- Node404_1.a('node.textvAlign','middle');
- Node404_1.a('node.textrect', [Node404_1textStart, 0, Node404_1textWidth, Node404_1height]);
- Node404_1.a('node.color','rgba(0,0,0,1)');
- Node404_1.a('node.font',' '+ Node404_1fontSize + 'px "Arial"');
- Node404_1.a('node.textvisible',true);
- Node404_1.a('node.linefeed',false);
- if (false) {
- Node404_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node404_1.a('node.text') || 'P:';
- var color=Node404_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node404_1width,Node404_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node404_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node404_1.a('node.underlinepoints',[Node404_1lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node404_1fontSize + 2 , ht.Default.getTextSize('P:', ' '+ Node404_1fontSize + 'px "Arial"').width + 6, (Node404_1height - Node404_1fontSize) * 0.5*_ratio.ratioY + Node404_1fontSize + 2 ]);
- Node404_1.a('node.underlinevisible',false);
- Node404_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node404_1);
- zoomNodeList.push({
- node: Node404_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node405_0= new ht.Node();
- Node405_0._borderWidth = 1;
- Node405_0.setImage({
- width: 120*_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)', Node405_0._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 120*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node405_0.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node405_0.background'},
- gradient: {value:'', func: 'attr@Node405_0.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node405_0.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node405_0.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node405_0.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node405_0.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node405_0.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node405_0.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,120*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node405_0.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node405_0.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node405_0.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node405_0.borderPattern'}
- }
- ]
- });
- var Node405_0borderwidth = 1;
- var Node405_0borderFillwidth = 1*2;
- Node405_0 .setPosition(1248*ratio.ratioX,661*ratio.ratioY);
- Node405_0.setSize(120*_ratio.ratioX, 20*_ratio.ratioY);
- Node405_0.setRotation(0*Math.PI/180);
- Node405_0.s({'pixelPerfect':true});
- Node405_0.a('Node405_0.borderwidth',1);
- Node405_0.a('Node405_0.color','@bordercolor@');
- Node405_0.a('Node405_0.background','rgba(0,0,192,1)');
- Node405_0.a('Node405_0.gradient','');
- Node405_0.a('Node405_0.gradientcolor','rgba(0,0,192,1)');
- Node405_0.a('Node405_0.borderPattern',getDashStyle("Solid"));
- Node405_0.a('Node405_0.fillrect',[0,0,0,0]);
- Node405_0.a('Node405_0.fillbackcolor','rgba(0, 0, 0, 0)');
- Node405_0.a('Node405_0.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node405_0.a('Node405_0.fillgradient','');
- Node405_0borderwidth=1;
- dataModel.add(Node405_0);
- Node405_0.borderWidth = 1;
- Node405_0.borderFillwidth = 1*2;
- Node405_0._nodename = 'Node405_0';
- Node405_0._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node405_0,
- attr: 'Node405_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('Node405_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('Node405_0.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node405_0, Node405_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node405_1 = new ht.Node();
- var Node405_1textStart, Node405_1textWidth, Node405_1lineStart, Node405_1align = 'left', Node405_1fontSize = 13.3333*_ratio.ratioY,Node405_1width = 125*_ratio.ratioX, Node405_1height = 25*_ratio.ratioY;
- (function () {
- if (Node405_1align === 'left') {
- Node405_1textStart = Node405_1fontSize * 0.2 > 2 ? Node405_1fontSize * 0.2 - 4 : Node405_1fontSize * 0.2 - 9;
- Node405_1textWidth = Node405_1width;
- Node405_1lineStart = 1;
- } else if (Node405_1align === 'right') {
- Node405_1textStart = 0;
- Node405_1textWidth =Node405_1fontSize <= 8 ? Node405_1width + Node405_1fontSize * 0.2 + 6 : Node405_1width - Node405_1fontSize * 0.2;
- Node405_1lineStart = (Node405_1width - (ht.Default.getTextSize('3#无功补偿电容器', ' '+ Node405_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node405_1align === 'center') {
- Node405_1textStart = -3;
- Node405_1textWidth = Node405_1width;
- Node405_1lineStart = Node405_1width - ht.Default.getTextSize('3#无功补偿电容器', ' '+ Node405_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node405_1.setImage(GD.getTextJSON(Node405_1width, Node405_1height, true, false, false, ' '+ Node405_1fontSize + 'px "Arial"'))
- Node405_1.setPosition(1248*ratio.ratioX, 663*ratio.ratioY);
- Node405_1.setWidth(Node405_1width);
- Node405_1.setHeight(Node405_1height);
- Node405_1._nodeType = 'text';
- Node405_1._disallowEvert = true;
- Node405_1.setRotation(0*Math.PI/180);
- Node405_1.a('node.width', Node405_1width);
- Node405_1.a('node.height', Node405_1height);
- Node405_1.a('node.rect', [0, 0, Node405_1width, Node405_1height]);
- Node405_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node405_1.a('node.borderwidth', 0);
- Node405_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node405_1.a('node.gradient','');
- Node405_1.a('node.gradientcolor','');
- Node405_1.a('node.text','3#无功补偿电容器');
- Node405_1.a('node.textalign','left');
- Node405_1.a('node.textvAlign','middle');
- Node405_1.a('node.textrect', [Node405_1textStart, 0, Node405_1textWidth, Node405_1height]);
- Node405_1.a('node.color','rgba(255,255,255,1)');
- Node405_1.a('node.font',' '+ Node405_1fontSize + 'px "Arial"');
- Node405_1.a('node.textvisible',true);
- Node405_1.a('node.linefeed',false);
- if (false) {
- Node405_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node405_1.a('node.text') || '3#无功补偿电容器';
- var color=Node405_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node405_1width,Node405_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node405_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node405_1.a('node.underlinepoints',[Node405_1lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node405_1fontSize + 2 , ht.Default.getTextSize('3#无功补偿电容器', ' '+ Node405_1fontSize + 'px "Arial"').width + 6, (Node405_1height - Node405_1fontSize) * 0.5*_ratio.ratioY + Node405_1fontSize + 2 ]);
- Node405_1.a('node.underlinevisible',false);
- Node405_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node405_1);
- zoomNodeList.push({
- node: Node405_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node406= new ht.Node();
- Node406._borderWidth = 1;
- Node406.setImage({
- width: 120*_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)', Node406._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 120*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node406.rect'},
- background:{value:'rgba(0,0,192,1)', func: 'attr@Node406.background'},
- gradient: {value:'', func: 'attr@Node406.gradient'},
- gradientColor:{value:'rgba(0,0,192,1)', func: 'attr@Node406.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node406.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node406.fillrect'},
- background: {value: 'rgba(0,0,192,1)', func: 'attr@Node406.fillbackcolor'},
- gradientColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node406.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node406.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,120*_ratio.ratioX, 20*_ratio.ratioY], func: 'attr@Node406.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node406.borderwidth'},
- borderColor: {value: 'rgba(0,0,192,1)', func: 'attr@Node406.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node406.borderPattern'}
- }
- ]
- });
- var Node406borderwidth = 1;
- var Node406borderFillwidth = 1*2;
- Node406 .setPosition(788*ratio.ratioX,181*ratio.ratioY);
- Node406.setSize(120*_ratio.ratioX, 20*_ratio.ratioY);
- Node406.setRotation(0*Math.PI/180);
- Node406.s({'pixelPerfect':true});
- Node406.a('Node406.borderwidth',1);
- Node406.a('Node406.color','@bordercolor@');
- Node406.a('Node406.background','rgba(0,0,192,1)');
- Node406.a('Node406.gradient','');
- Node406.a('Node406.gradientcolor','rgba(0,0,192,1)');
- Node406.a('Node406.borderPattern',getDashStyle("Solid"));
- Node406.a('Node406.fillrect',[0,0,0,0]);
- Node406.a('Node406.fillbackcolor','rgba(0, 0, 0, 0)');
- Node406.a('Node406.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node406.a('Node406.fillgradient','');
- Node406borderwidth=1;
- dataModel.add(Node406);
- Node406.borderWidth = 1;
- Node406.borderFillwidth = 1*2;
- Node406._nodename = 'Node406';
- Node406._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node406,
- attr: 'Node406.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('Node406.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('Node406.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node406, Node406.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node407 = new ht.Node();
- var Node407textStart, Node407textWidth, Node407lineStart, Node407align = 'left', Node407fontSize = 13.3333*_ratio.ratioY,Node407width = 125*_ratio.ratioX, Node407height = 25*_ratio.ratioY;
- (function () {
- if (Node407align === 'left') {
- Node407textStart = Node407fontSize * 0.2 > 2 ? Node407fontSize * 0.2 - 4 : Node407fontSize * 0.2 - 9;
- Node407textWidth = Node407width;
- Node407lineStart = 1;
- } else if (Node407align === 'right') {
- Node407textStart = 0;
- Node407textWidth =Node407fontSize <= 8 ? Node407width + Node407fontSize * 0.2 + 6 : Node407width - Node407fontSize * 0.2;
- Node407lineStart = (Node407width - (ht.Default.getTextSize('220KV卧红I线', ' '+ Node407fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node407align === 'center') {
- Node407textStart = -3;
- Node407textWidth = Node407width;
- Node407lineStart = Node407width - ht.Default.getTextSize('220KV卧红I线', ' '+ Node407fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node407.setImage(GD.getTextJSON(Node407width, Node407height, true, false, false, ' '+ Node407fontSize + 'px "Arial"'))
- Node407.setPosition(800*ratio.ratioX, 183*ratio.ratioY);
- Node407.setWidth(Node407width);
- Node407.setHeight(Node407height);
- Node407._nodeType = 'text';
- Node407._disallowEvert = true;
- Node407.setRotation(0*Math.PI/180);
- Node407.a('node.width', Node407width);
- Node407.a('node.height', Node407height);
- Node407.a('node.rect', [0, 0, Node407width, Node407height]);
- Node407.a('node.bordercolor','rgba(255,255,255,1)');
- Node407.a('node.borderwidth', 0);
- Node407.a('node.background','' || 'rgba(0,0,0,0)');
- Node407.a('node.gradient','');
- Node407.a('node.gradientcolor','');
- Node407.a('node.text','220KV卧红I线');
- Node407.a('node.textalign','left');
- Node407.a('node.textvAlign','middle');
- Node407.a('node.textrect', [Node407textStart, 0, Node407textWidth, Node407height]);
- Node407.a('node.color','rgba(255,255,255,1)');
- Node407.a('node.font',' '+ Node407fontSize + 'px "Arial"');
- Node407.a('node.textvisible',true);
- Node407.a('node.linefeed',false);
- if (false) {
- Node407.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node407.a('node.text') || '220KV卧红I线';
- var color=Node407.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node407width,Node407height,13.3333*_ratio.ratioY,"left",color,' '+ Node407fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node407.a('node.underlinepoints',[Node407lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node407fontSize + 2 , ht.Default.getTextSize('220KV卧红I线', ' '+ Node407fontSize + 'px "Arial"').width + 6, (Node407height - Node407fontSize) * 0.5*_ratio.ratioY + Node407fontSize + 2 ]);
- Node407.a('node.underlinevisible',false);
- Node407.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node407);
- zoomNodeList.push({
- node: Node407,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node408 = new ht.lib['手车通用图元'](1330*ratio.ratioX, 537*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI2640',}, function (){return {}}, 'Node408');
- _libModel.add("Node408", Node408);
- Node408.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node409 = new ht.lib['手车通用图元'](1230*ratio.ratioX, 541*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0464',}, function (){return {}}, 'Node409');
- _libModel.add("Node409", Node409);
- Node409.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node410 = new ht.lib['断路器通用图元'](1230*ratio.ratioX, 542*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0466',}, 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['手车通用图元'](1130*ratio.ratioX, 535*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0461',}, function (){return {}}, 'Node411');
- _libModel.add("Node411", Node411);
- Node411.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node412 = new ht.lib['断路器通用图元'](1130*ratio.ratioX, 536*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0463',}, function (){return {}}, 'Node412');
- _libModel.add("Node412", Node412);
- Node412.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node413 = new ht.lib['手车通用图元'](1030*ratio.ratioX, 537*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0458',}, function (){return {}}, 'Node413');
- _libModel.add("Node413", Node413);
- Node413.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node414 = new ht.lib['手车通用图元'](900*ratio.ratioX, 537*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0460',}, function (){return {}}, 'Node414');
- _libModel.add("Node414", Node414);
- Node414.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node415 = new ht.lib['手车通用图元'](810*ratio.ratioX, 537*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0086',}, function (){return {}}, 'Node415');
- _libModel.add("Node415", Node415);
- Node415.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node416 = new ht.lib['断路器通用图元'](810*ratio.ratioX, 538*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0443',}, 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['手车通用图元'](720*ratio.ratioX, 537*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0074',}, function (){return {}}, 'Node417');
- _libModel.add("Node417", Node417);
- Node417.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node418 = new ht.lib['断路器通用图元'](720*ratio.ratioX, 538*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0442',}, function (){return {}}, 'Node418');
- _libModel.add("Node418", Node418);
- Node418.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node419 = new ht.lib['手车通用图元'](630*ratio.ratioX, 537*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0068',}, function (){return {}}, 'Node419');
- _libModel.add("Node419", Node419);
- Node419.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node420 = new ht.lib['断路器通用图元'](630*ratio.ratioX, 538*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0441',}, function (){return {}}, 'Node420');
- _libModel.add("Node420", Node420);
- Node420.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node421 = new ht.lib['手车通用图元'](540*ratio.ratioX, 537*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0062',}, function (){return {}}, 'Node421');
- _libModel.add("Node421", Node421);
- Node421.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node422 = new ht.lib['断路器通用图元'](540*ratio.ratioX, 538*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0440',}, 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['手车通用图元'](450*ratio.ratioX, 537*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'0',}, function (){return {}}, 'Node423');
- _libModel.add("Node423", Node423);
- Node423.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node424 = new ht.lib['断路器通用图元'](450*ratio.ratioX, 538*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0439',}, function (){return {}}, 'Node424');
- _libModel.add("Node424", Node424);
- Node424.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node425 = new ht.lib['手车通用图元'](340*ratio.ratioX, 537*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0055',}, function (){return {}}, 'Node425');
- _libModel.add("Node425", Node425);
- Node425.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node426 = new ht.lib['手车通用图元'](270*ratio.ratioX, 537*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'0',}, function (){return {}}, 'Node426');
- _libModel.add("Node426", Node426);
- Node426.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node427 = new ht.lib['断路器通用图元'](270*ratio.ratioX, 538*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0438',}, function (){return {}}, 'Node427');
- _libModel.add("Node427", Node427);
- Node427.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node428 = new ht.lib['手车通用图元'](100*ratio.ratioX, 537*ratio.ratioY, 19*_ratio.ratioX, 47*_ratio.ratioY, 0*Math.PI/180, {xianshi2:'0',}, 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['断路器通用图元'](100*ratio.ratioX, 538*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0437',}, function (){return {}}, 'Node429');
- _libModel.add("Node429", Node429);
- Node429.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node430 = new ht.lib['断路器通用图元'](100*ratio.ratioX, 776*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0115',}, function (){return {}}, 'Node430');
- _libModel.add("Node430", Node430);
- Node430.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node431 = new ht.lib['断路器通用图元'](270*ratio.ratioX, 776*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0111',}, function (){return {}}, 'Node431');
- _libModel.add("Node431", Node431);
- Node431.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node432 = new ht.lib['断路器通用图元'](520*ratio.ratioX, 779*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'0',}, function (){return {}}, 'Node432');
- _libModel.add("Node432", Node432);
- Node432.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node433 = new ht.lib['断路器通用图元'](1030*ratio.ratioX, 537*ratio.ratioY, 14*_ratio.ratioX, 20*_ratio.ratioY, 0*Math.PI/180, {xianshi1:'WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_DI0459',}, function (){return {}}, 'Node433');
- _libModel.add("Node433", Node433);
- Node433.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node434 = new ht.Node();
- var Node434textStart, Node434textWidth, Node434lineStart, Node434align = 'left', Node434fontSize = 13.3333*_ratio.ratioY,Node434width = 39*_ratio.ratioX, Node434height = 16*_ratio.ratioY;
- (function () {
- if (Node434align === 'left') {
- Node434textStart = Node434fontSize * 0.2 > 2 ? Node434fontSize * 0.2 - 4 : Node434fontSize * 0.2 - 9;
- Node434textWidth = Node434width;
- Node434lineStart = 1;
- } else if (Node434align === 'right') {
- Node434textStart = 0;
- Node434textWidth =Node434fontSize <= 8 ? Node434width + Node434fontSize * 0.2 + 6 : Node434width - Node434fontSize * 0.2;
- Node434lineStart = (Node434width - (ht.Default.getTextSize('TEXT', ' '+ Node434fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node434align === 'center') {
- Node434textStart = -3;
- Node434textWidth = Node434width;
- Node434lineStart = Node434width - ht.Default.getTextSize('TEXT', ' '+ Node434fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node434.setImage(GD.getTextJSON(Node434width, Node434height, true, false, false, ' '+ Node434fontSize + 'px "Arial"'))
- Node434.setPosition(202*ratio.ratioX, 743*ratio.ratioY);
- Node434.setWidth(Node434width);
- Node434.setHeight(Node434height);
- Node434._nodeType = 'text';
- Node434._disallowEvert = true;
- Node434.setRotation(0*Math.PI/180);
- Node434.a('node.width', Node434width);
- Node434.a('node.height', Node434height);
- Node434.a('node.rect', [0, 0, Node434width, Node434height]);
- Node434.a('node.bordercolor','rgba(0,0,0,1)');
- Node434.a('node.borderwidth', 0);
- Node434.a('node.background','' || 'rgba(0,0,0,0)');
- Node434.a('node.gradient','');
- Node434.a('node.gradientcolor','');
- Node434.a('node.text','TEXT');
- Node434.a('node.textalign','left');
- Node434.a('node.textvAlign','middle');
- Node434.a('node.textrect', [Node434textStart, 0, Node434textWidth, Node434height]);
- Node434.a('node.color','rgba(0,0,0,1)');
- Node434.a('node.font',' '+ Node434fontSize + 'px "Arial"');
- Node434.a('node.textvisible',true);
- Node434.a('node.linefeed',false);
- if (false) {
- Node434.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node434.a('node.text') || 'TEXT';
- var color=Node434.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node434width,Node434height,13.3333*_ratio.ratioY,"left",color,' '+ Node434fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node434.a('node.underlinepoints',[Node434lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node434fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node434fontSize + 'px "Arial"').width + 6, (Node434height - Node434fontSize) * 0.5*_ratio.ratioY + Node434fontSize + 2 ]);
- Node434.a('node.underlinevisible',false);
- Node434.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node434);
- zoomNodeList.push({
- node: Node434,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node435 = new ht.Node();
- var Node435textStart, Node435textWidth, Node435lineStart, Node435align = 'left', Node435fontSize = 13.3333*_ratio.ratioY,Node435width = 39*_ratio.ratioX, Node435height = 16*_ratio.ratioY;
- (function () {
- if (Node435align === 'left') {
- Node435textStart = Node435fontSize * 0.2 > 2 ? Node435fontSize * 0.2 - 4 : Node435fontSize * 0.2 - 9;
- Node435textWidth = Node435width;
- Node435lineStart = 1;
- } else if (Node435align === 'right') {
- Node435textStart = 0;
- Node435textWidth =Node435fontSize <= 8 ? Node435width + Node435fontSize * 0.2 + 6 : Node435width - Node435fontSize * 0.2;
- Node435lineStart = (Node435width - (ht.Default.getTextSize('TEXT', ' '+ Node435fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node435align === 'center') {
- Node435textStart = -3;
- Node435textWidth = Node435width;
- Node435lineStart = Node435width - ht.Default.getTextSize('TEXT', ' '+ Node435fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node435.setImage(GD.getTextJSON(Node435width, Node435height, true, false, false, ' '+ Node435fontSize + 'px "Arial"'))
- Node435.setPosition(202*ratio.ratioX, 766*ratio.ratioY);
- Node435.setWidth(Node435width);
- Node435.setHeight(Node435height);
- Node435._nodeType = 'text';
- Node435._disallowEvert = true;
- Node435.setRotation(0*Math.PI/180);
- Node435.a('node.width', Node435width);
- Node435.a('node.height', Node435height);
- Node435.a('node.rect', [0, 0, Node435width, Node435height]);
- Node435.a('node.bordercolor','rgba(0,0,0,1)');
- Node435.a('node.borderwidth', 0);
- Node435.a('node.background','' || 'rgba(0,0,0,0)');
- Node435.a('node.gradient','');
- Node435.a('node.gradientcolor','');
- Node435.a('node.text','TEXT');
- Node435.a('node.textalign','left');
- Node435.a('node.textvAlign','middle');
- Node435.a('node.textrect', [Node435textStart, 0, Node435textWidth, Node435height]);
- Node435.a('node.color','rgba(0,0,0,1)');
- Node435.a('node.font',' '+ Node435fontSize + 'px "Arial"');
- Node435.a('node.textvisible',true);
- Node435.a('node.linefeed',false);
- if (false) {
- Node435.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node435.a('node.text') || 'TEXT';
- var color=Node435.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node435width,Node435height,13.3333*_ratio.ratioY,"left",color,' '+ Node435fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node435.a('node.underlinepoints',[Node435lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node435fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node435fontSize + 'px "Arial"').width + 6, (Node435height - Node435fontSize) * 0.5*_ratio.ratioY + Node435fontSize + 2 ]);
- Node435.a('node.underlinevisible',false);
- Node435.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node435);
- zoomNodeList.push({
- node: Node435,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node436 = new ht.Node();
- var Node436textStart, Node436textWidth, Node436lineStart, Node436align = 'left', Node436fontSize = 13.3333*_ratio.ratioY,Node436width = 39*_ratio.ratioX, Node436height = 16*_ratio.ratioY;
- (function () {
- if (Node436align === 'left') {
- Node436textStart = Node436fontSize * 0.2 > 2 ? Node436fontSize * 0.2 - 4 : Node436fontSize * 0.2 - 9;
- Node436textWidth = Node436width;
- Node436lineStart = 1;
- } else if (Node436align === 'right') {
- Node436textStart = 0;
- Node436textWidth =Node436fontSize <= 8 ? Node436width + Node436fontSize * 0.2 + 6 : Node436width - Node436fontSize * 0.2;
- Node436lineStart = (Node436width - (ht.Default.getTextSize('TEXT', ' '+ Node436fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node436align === 'center') {
- Node436textStart = -3;
- Node436textWidth = Node436width;
- Node436lineStart = Node436width - ht.Default.getTextSize('TEXT', ' '+ Node436fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node436.setImage(GD.getTextJSON(Node436width, Node436height, true, false, false, ' '+ Node436fontSize + 'px "Arial"'))
- Node436.setPosition(201*ratio.ratioX, 787*ratio.ratioY);
- Node436.setWidth(Node436width);
- Node436.setHeight(Node436height);
- Node436._nodeType = 'text';
- Node436._disallowEvert = true;
- Node436.setRotation(0*Math.PI/180);
- Node436.a('node.width', Node436width);
- Node436.a('node.height', Node436height);
- Node436.a('node.rect', [0, 0, Node436width, Node436height]);
- Node436.a('node.bordercolor','rgba(0,0,0,1)');
- Node436.a('node.borderwidth', 0);
- Node436.a('node.background','' || 'rgba(0,0,0,0)');
- Node436.a('node.gradient','');
- Node436.a('node.gradientcolor','');
- Node436.a('node.text','TEXT');
- Node436.a('node.textalign','left');
- Node436.a('node.textvAlign','middle');
- Node436.a('node.textrect', [Node436textStart, 0, Node436textWidth, Node436height]);
- Node436.a('node.color','rgba(0,0,0,1)');
- Node436.a('node.font',' '+ Node436fontSize + 'px "Arial"');
- Node436.a('node.textvisible',true);
- Node436.a('node.linefeed',false);
- if (false) {
- Node436.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node436.a('node.text') || 'TEXT';
- var color=Node436.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node436width,Node436height,13.3333*_ratio.ratioY,"left",color,' '+ Node436fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node436.a('node.underlinepoints',[Node436lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node436fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node436fontSize + 'px "Arial"').width + 6, (Node436height - Node436fontSize) * 0.5*_ratio.ratioY + Node436fontSize + 2 ]);
- Node436.a('node.underlinevisible',false);
- Node436.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node436);
- zoomNodeList.push({
- node: Node436,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node437 = new ht.Node();
- var Node437textStart, Node437textWidth, Node437lineStart, Node437align = 'left', Node437fontSize = 13.3333*_ratio.ratioY,Node437width = 39*_ratio.ratioX, Node437height = 16*_ratio.ratioY;
- (function () {
- if (Node437align === 'left') {
- Node437textStart = Node437fontSize * 0.2 > 2 ? Node437fontSize * 0.2 - 4 : Node437fontSize * 0.2 - 9;
- Node437textWidth = Node437width;
- Node437lineStart = 1;
- } else if (Node437align === 'right') {
- Node437textStart = 0;
- Node437textWidth =Node437fontSize <= 8 ? Node437width + Node437fontSize * 0.2 + 6 : Node437width - Node437fontSize * 0.2;
- Node437lineStart = (Node437width - (ht.Default.getTextSize('TEXT', ' '+ Node437fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node437align === 'center') {
- Node437textStart = -3;
- Node437textWidth = Node437width;
- Node437lineStart = Node437width - ht.Default.getTextSize('TEXT', ' '+ Node437fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node437.setImage(GD.getTextJSON(Node437width, Node437height, true, false, false, ' '+ Node437fontSize + 'px "Arial"'))
- Node437.setPosition(334*ratio.ratioX, 744*ratio.ratioY);
- Node437.setWidth(Node437width);
- Node437.setHeight(Node437height);
- Node437._nodeType = 'text';
- Node437._disallowEvert = true;
- Node437.setRotation(0*Math.PI/180);
- Node437.a('node.width', Node437width);
- Node437.a('node.height', Node437height);
- Node437.a('node.rect', [0, 0, Node437width, Node437height]);
- Node437.a('node.bordercolor','rgba(0,0,0,1)');
- Node437.a('node.borderwidth', 0);
- Node437.a('node.background','' || 'rgba(0,0,0,0)');
- Node437.a('node.gradient','');
- Node437.a('node.gradientcolor','');
- Node437.a('node.text','TEXT');
- Node437.a('node.textalign','left');
- Node437.a('node.textvAlign','middle');
- Node437.a('node.textrect', [Node437textStart, 0, Node437textWidth, Node437height]);
- Node437.a('node.color','rgba(0,0,0,1)');
- Node437.a('node.font',' '+ Node437fontSize + 'px "Arial"');
- Node437.a('node.textvisible',true);
- Node437.a('node.linefeed',false);
- if (false) {
- Node437.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node437.a('node.text') || 'TEXT';
- var color=Node437.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node437width,Node437height,13.3333*_ratio.ratioY,"left",color,' '+ Node437fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node437.a('node.underlinepoints',[Node437lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node437fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node437fontSize + 'px "Arial"').width + 6, (Node437height - Node437fontSize) * 0.5*_ratio.ratioY + Node437fontSize + 2 ]);
- Node437.a('node.underlinevisible',false);
- Node437.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node437);
- zoomNodeList.push({
- node: Node437,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node438 = new ht.Node();
- var Node438textStart, Node438textWidth, Node438lineStart, Node438align = 'left', Node438fontSize = 13.3333*_ratio.ratioY,Node438width = 39*_ratio.ratioX, Node438height = 16*_ratio.ratioY;
- (function () {
- if (Node438align === 'left') {
- Node438textStart = Node438fontSize * 0.2 > 2 ? Node438fontSize * 0.2 - 4 : Node438fontSize * 0.2 - 9;
- Node438textWidth = Node438width;
- Node438lineStart = 1;
- } else if (Node438align === 'right') {
- Node438textStart = 0;
- Node438textWidth =Node438fontSize <= 8 ? Node438width + Node438fontSize * 0.2 + 6 : Node438width - Node438fontSize * 0.2;
- Node438lineStart = (Node438width - (ht.Default.getTextSize('TEXT', ' '+ Node438fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node438align === 'center') {
- Node438textStart = -3;
- Node438textWidth = Node438width;
- Node438lineStart = Node438width - ht.Default.getTextSize('TEXT', ' '+ Node438fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node438.setImage(GD.getTextJSON(Node438width, Node438height, true, false, false, ' '+ Node438fontSize + 'px "Arial"'))
- Node438.setPosition(334*ratio.ratioX, 767*ratio.ratioY);
- Node438.setWidth(Node438width);
- Node438.setHeight(Node438height);
- Node438._nodeType = 'text';
- Node438._disallowEvert = true;
- Node438.setRotation(0*Math.PI/180);
- Node438.a('node.width', Node438width);
- Node438.a('node.height', Node438height);
- Node438.a('node.rect', [0, 0, Node438width, Node438height]);
- Node438.a('node.bordercolor','rgba(0,0,0,1)');
- Node438.a('node.borderwidth', 0);
- Node438.a('node.background','' || 'rgba(0,0,0,0)');
- Node438.a('node.gradient','');
- Node438.a('node.gradientcolor','');
- Node438.a('node.text','TEXT');
- Node438.a('node.textalign','left');
- Node438.a('node.textvAlign','middle');
- Node438.a('node.textrect', [Node438textStart, 0, Node438textWidth, Node438height]);
- Node438.a('node.color','rgba(0,0,0,1)');
- Node438.a('node.font',' '+ Node438fontSize + 'px "Arial"');
- Node438.a('node.textvisible',true);
- Node438.a('node.linefeed',false);
- if (false) {
- Node438.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node438.a('node.text') || 'TEXT';
- var color=Node438.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node438width,Node438height,13.3333*_ratio.ratioY,"left",color,' '+ Node438fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node438.a('node.underlinepoints',[Node438lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node438fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node438fontSize + 'px "Arial"').width + 6, (Node438height - Node438fontSize) * 0.5*_ratio.ratioY + Node438fontSize + 2 ]);
- Node438.a('node.underlinevisible',false);
- Node438.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node438);
- zoomNodeList.push({
- node: Node438,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node439 = new ht.Node();
- var Node439textStart, Node439textWidth, Node439lineStart, Node439align = 'left', Node439fontSize = 13.3333*_ratio.ratioY,Node439width = 39*_ratio.ratioX, Node439height = 16*_ratio.ratioY;
- (function () {
- if (Node439align === 'left') {
- Node439textStart = Node439fontSize * 0.2 > 2 ? Node439fontSize * 0.2 - 4 : Node439fontSize * 0.2 - 9;
- Node439textWidth = Node439width;
- Node439lineStart = 1;
- } else if (Node439align === 'right') {
- Node439textStart = 0;
- Node439textWidth =Node439fontSize <= 8 ? Node439width + Node439fontSize * 0.2 + 6 : Node439width - Node439fontSize * 0.2;
- Node439lineStart = (Node439width - (ht.Default.getTextSize('TEXT', ' '+ Node439fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node439align === 'center') {
- Node439textStart = -3;
- Node439textWidth = Node439width;
- Node439lineStart = Node439width - ht.Default.getTextSize('TEXT', ' '+ Node439fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node439.setImage(GD.getTextJSON(Node439width, Node439height, true, false, false, ' '+ Node439fontSize + 'px "Arial"'))
- Node439.setPosition(333*ratio.ratioX, 788*ratio.ratioY);
- Node439.setWidth(Node439width);
- Node439.setHeight(Node439height);
- Node439._nodeType = 'text';
- Node439._disallowEvert = true;
- Node439.setRotation(0*Math.PI/180);
- Node439.a('node.width', Node439width);
- Node439.a('node.height', Node439height);
- Node439.a('node.rect', [0, 0, Node439width, Node439height]);
- Node439.a('node.bordercolor','rgba(0,0,0,1)');
- Node439.a('node.borderwidth', 0);
- Node439.a('node.background','' || 'rgba(0,0,0,0)');
- Node439.a('node.gradient','');
- Node439.a('node.gradientcolor','');
- Node439.a('node.text','TEXT');
- Node439.a('node.textalign','left');
- Node439.a('node.textvAlign','middle');
- Node439.a('node.textrect', [Node439textStart, 0, Node439textWidth, Node439height]);
- Node439.a('node.color','rgba(0,0,0,1)');
- Node439.a('node.font',' '+ Node439fontSize + 'px "Arial"');
- Node439.a('node.textvisible',true);
- Node439.a('node.linefeed',false);
- if (false) {
- Node439.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node439.a('node.text') || 'TEXT';
- var color=Node439.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node439width,Node439height,13.3333*_ratio.ratioY,"left",color,' '+ Node439fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node439.a('node.underlinepoints',[Node439lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node439fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node439fontSize + 'px "Arial"').width + 6, (Node439height - Node439fontSize) * 0.5*_ratio.ratioY + Node439fontSize + 2 ]);
- Node439.a('node.underlinevisible',false);
- Node439.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node439);
- zoomNodeList.push({
- node: Node439,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node440 = new ht.Node();
- var Node440textStart, Node440textWidth, Node440lineStart, Node440align = 'left', Node440fontSize = 13.3333*_ratio.ratioY,Node440width = 39*_ratio.ratioX, Node440height = 16*_ratio.ratioY;
- (function () {
- if (Node440align === 'left') {
- Node440textStart = Node440fontSize * 0.2 > 2 ? Node440fontSize * 0.2 - 4 : Node440fontSize * 0.2 - 9;
- Node440textWidth = Node440width;
- Node440lineStart = 1;
- } else if (Node440align === 'right') {
- Node440textStart = 0;
- Node440textWidth =Node440fontSize <= 8 ? Node440width + Node440fontSize * 0.2 + 6 : Node440width - Node440fontSize * 0.2;
- Node440lineStart = (Node440width - (ht.Default.getTextSize('TEXT', ' '+ Node440fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node440align === 'center') {
- Node440textStart = -3;
- Node440textWidth = Node440width;
- Node440lineStart = Node440width - ht.Default.getTextSize('TEXT', ' '+ Node440fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node440.setImage(GD.getTextJSON(Node440width, Node440height, true, false, false, ' '+ Node440fontSize + 'px "Arial"'))
- Node440.setPosition(663*ratio.ratioX, 786*ratio.ratioY);
- Node440.setWidth(Node440width);
- Node440.setHeight(Node440height);
- Node440._nodeType = 'text';
- Node440._disallowEvert = true;
- Node440.setRotation(0*Math.PI/180);
- Node440.a('node.width', Node440width);
- Node440.a('node.height', Node440height);
- Node440.a('node.rect', [0, 0, Node440width, Node440height]);
- Node440.a('node.bordercolor','rgba(0,0,0,1)');
- Node440.a('node.borderwidth', 0);
- Node440.a('node.background','' || 'rgba(0,0,0,0)');
- Node440.a('node.gradient','');
- Node440.a('node.gradientcolor','');
- Node440.a('node.text','TEXT');
- Node440.a('node.textalign','left');
- Node440.a('node.textvAlign','middle');
- Node440.a('node.textrect', [Node440textStart, 0, Node440textWidth, Node440height]);
- Node440.a('node.color','rgba(0,0,0,1)');
- Node440.a('node.font',' '+ Node440fontSize + 'px "Arial"');
- Node440.a('node.textvisible',true);
- Node440.a('node.linefeed',false);
- if (false) {
- Node440.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node440.a('node.text') || 'TEXT';
- var color=Node440.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node440width,Node440height,13.3333*_ratio.ratioY,"left",color,' '+ Node440fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node440.a('node.underlinepoints',[Node440lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node440fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node440fontSize + 'px "Arial"').width + 6, (Node440height - Node440fontSize) * 0.5*_ratio.ratioY + Node440fontSize + 2 ]);
- Node440.a('node.underlinevisible',false);
- Node440.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node440);
- zoomNodeList.push({
- node: Node440,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node441 = new ht.Node();
- var Node441textStart, Node441textWidth, Node441lineStart, Node441align = 'left', Node441fontSize = 13.3333*_ratio.ratioY,Node441width = 39*_ratio.ratioX, Node441height = 16*_ratio.ratioY;
- (function () {
- if (Node441align === 'left') {
- Node441textStart = Node441fontSize * 0.2 > 2 ? Node441fontSize * 0.2 - 4 : Node441fontSize * 0.2 - 9;
- Node441textWidth = Node441width;
- Node441lineStart = 1;
- } else if (Node441align === 'right') {
- Node441textStart = 0;
- Node441textWidth =Node441fontSize <= 8 ? Node441width + Node441fontSize * 0.2 + 6 : Node441width - Node441fontSize * 0.2;
- Node441lineStart = (Node441width - (ht.Default.getTextSize('TEXT', ' '+ Node441fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node441align === 'center') {
- Node441textStart = -3;
- Node441textWidth = Node441width;
- Node441lineStart = Node441width - ht.Default.getTextSize('TEXT', ' '+ Node441fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node441.setImage(GD.getTextJSON(Node441width, Node441height, true, false, false, ' '+ Node441fontSize + 'px "Arial"'))
- Node441.setPosition(663*ratio.ratioX, 809*ratio.ratioY);
- Node441.setWidth(Node441width);
- Node441.setHeight(Node441height);
- Node441._nodeType = 'text';
- Node441._disallowEvert = true;
- Node441.setRotation(0*Math.PI/180);
- Node441.a('node.width', Node441width);
- Node441.a('node.height', Node441height);
- Node441.a('node.rect', [0, 0, Node441width, Node441height]);
- Node441.a('node.bordercolor','rgba(0,0,0,1)');
- Node441.a('node.borderwidth', 0);
- Node441.a('node.background','' || 'rgba(0,0,0,0)');
- Node441.a('node.gradient','');
- Node441.a('node.gradientcolor','');
- Node441.a('node.text','TEXT');
- Node441.a('node.textalign','left');
- Node441.a('node.textvAlign','middle');
- Node441.a('node.textrect', [Node441textStart, 0, Node441textWidth, Node441height]);
- Node441.a('node.color','rgba(0,0,0,1)');
- Node441.a('node.font',' '+ Node441fontSize + 'px "Arial"');
- Node441.a('node.textvisible',true);
- Node441.a('node.linefeed',false);
- if (false) {
- Node441.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node441.a('node.text') || 'TEXT';
- var color=Node441.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node441width,Node441height,13.3333*_ratio.ratioY,"left",color,' '+ Node441fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node441.a('node.underlinepoints',[Node441lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node441fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node441fontSize + 'px "Arial"').width + 6, (Node441height - Node441fontSize) * 0.5*_ratio.ratioY + Node441fontSize + 2 ]);
- Node441.a('node.underlinevisible',false);
- Node441.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node441);
- zoomNodeList.push({
- node: Node441,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node442 = new ht.Node();
- var Node442textStart, Node442textWidth, Node442lineStart, Node442align = 'left', Node442fontSize = 13.3333*_ratio.ratioY,Node442width = 39*_ratio.ratioX, Node442height = 16*_ratio.ratioY;
- (function () {
- if (Node442align === 'left') {
- Node442textStart = Node442fontSize * 0.2 > 2 ? Node442fontSize * 0.2 - 4 : Node442fontSize * 0.2 - 9;
- Node442textWidth = Node442width;
- Node442lineStart = 1;
- } else if (Node442align === 'right') {
- Node442textStart = 0;
- Node442textWidth =Node442fontSize <= 8 ? Node442width + Node442fontSize * 0.2 + 6 : Node442width - Node442fontSize * 0.2;
- Node442lineStart = (Node442width - (ht.Default.getTextSize('TEXT', ' '+ Node442fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node442align === 'center') {
- Node442textStart = -3;
- Node442textWidth = Node442width;
- Node442lineStart = Node442width - ht.Default.getTextSize('TEXT', ' '+ Node442fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node442.setImage(GD.getTextJSON(Node442width, Node442height, true, false, false, ' '+ Node442fontSize + 'px "Arial"'))
- Node442.setPosition(663*ratio.ratioX, 830*ratio.ratioY);
- Node442.setWidth(Node442width);
- Node442.setHeight(Node442height);
- Node442._nodeType = 'text';
- Node442._disallowEvert = true;
- Node442.setRotation(0*Math.PI/180);
- Node442.a('node.width', Node442width);
- Node442.a('node.height', Node442height);
- Node442.a('node.rect', [0, 0, Node442width, Node442height]);
- Node442.a('node.bordercolor','rgba(0,0,0,1)');
- Node442.a('node.borderwidth', 0);
- Node442.a('node.background','' || 'rgba(0,0,0,0)');
- Node442.a('node.gradient','');
- Node442.a('node.gradientcolor','');
- Node442.a('node.text','TEXT');
- Node442.a('node.textalign','left');
- Node442.a('node.textvAlign','middle');
- Node442.a('node.textrect', [Node442textStart, 0, Node442textWidth, Node442height]);
- Node442.a('node.color','rgba(0,0,0,1)');
- Node442.a('node.font',' '+ Node442fontSize + 'px "Arial"');
- Node442.a('node.textvisible',true);
- Node442.a('node.linefeed',false);
- if (false) {
- Node442.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node442.a('node.text') || 'TEXT';
- var color=Node442.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node442width,Node442height,13.3333*_ratio.ratioY,"left",color,' '+ Node442fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node442.a('node.underlinepoints',[Node442lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node442fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node442fontSize + 'px "Arial"').width + 6, (Node442height - Node442fontSize) * 0.5*_ratio.ratioY + Node442fontSize + 2 ]);
- Node442.a('node.underlinevisible',false);
- Node442.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node442);
- zoomNodeList.push({
- node: Node442,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node443 = new ht.Node();
- var Node443textStart, Node443textWidth, Node443lineStart, Node443align = 'left', Node443fontSize = 13.3333*_ratio.ratioY,Node443width = 39*_ratio.ratioX, Node443height = 16*_ratio.ratioY;
- (function () {
- if (Node443align === 'left') {
- Node443textStart = Node443fontSize * 0.2 > 2 ? Node443fontSize * 0.2 - 4 : Node443fontSize * 0.2 - 9;
- Node443textWidth = Node443width;
- Node443lineStart = 1;
- } else if (Node443align === 'right') {
- Node443textStart = 0;
- Node443textWidth =Node443fontSize <= 8 ? Node443width + Node443fontSize * 0.2 + 6 : Node443width - Node443fontSize * 0.2;
- Node443lineStart = (Node443width - (ht.Default.getTextSize('TEXT', ' '+ Node443fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node443align === 'center') {
- Node443textStart = -3;
- Node443textWidth = Node443width;
- Node443lineStart = Node443width - ht.Default.getTextSize('TEXT', ' '+ Node443fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node443.setImage(GD.getTextJSON(Node443width, Node443height, true, false, false, ' '+ Node443fontSize + 'px "Arial"'))
- Node443.setPosition(553*ratio.ratioX, 696*ratio.ratioY);
- Node443.setWidth(Node443width);
- Node443.setHeight(Node443height);
- Node443._nodeType = 'text';
- Node443._disallowEvert = true;
- Node443.setRotation(0*Math.PI/180);
- Node443.a('node.width', Node443width);
- Node443.a('node.height', Node443height);
- Node443.a('node.rect', [0, 0, Node443width, Node443height]);
- Node443.a('node.bordercolor','rgba(0,0,0,1)');
- Node443.a('node.borderwidth', 0);
- Node443.a('node.background','' || 'rgba(0,0,0,0)');
- Node443.a('node.gradient','');
- Node443.a('node.gradientcolor','');
- Node443.a('node.text','TEXT');
- Node443.a('node.textalign','left');
- Node443.a('node.textvAlign','middle');
- Node443.a('node.textrect', [Node443textStart, 0, Node443textWidth, Node443height]);
- Node443.a('node.color','rgba(0,0,0,1)');
- Node443.a('node.font',' '+ Node443fontSize + 'px "Arial"');
- Node443.a('node.textvisible',true);
- Node443.a('node.linefeed',false);
- if (false) {
- Node443.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node443.a('node.text') || 'TEXT';
- var color=Node443.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node443width,Node443height,13.3333*_ratio.ratioY,"left",color,' '+ Node443fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node443.a('node.underlinepoints',[Node443lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node443fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node443fontSize + 'px "Arial"').width + 6, (Node443height - Node443fontSize) * 0.5*_ratio.ratioY + Node443fontSize + 2 ]);
- Node443.a('node.underlinevisible',false);
- Node443.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node443);
- zoomNodeList.push({
- node: Node443,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node444 = new ht.Node();
- var Node444textStart, Node444textWidth, Node444lineStart, Node444align = 'left', Node444fontSize = 13.3333*_ratio.ratioY,Node444width = 39*_ratio.ratioX, Node444height = 16*_ratio.ratioY;
- (function () {
- if (Node444align === 'left') {
- Node444textStart = Node444fontSize * 0.2 > 2 ? Node444fontSize * 0.2 - 4 : Node444fontSize * 0.2 - 9;
- Node444textWidth = Node444width;
- Node444lineStart = 1;
- } else if (Node444align === 'right') {
- Node444textStart = 0;
- Node444textWidth =Node444fontSize <= 8 ? Node444width + Node444fontSize * 0.2 + 6 : Node444width - Node444fontSize * 0.2;
- Node444lineStart = (Node444width - (ht.Default.getTextSize('TEXT', ' '+ Node444fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node444align === 'center') {
- Node444textStart = -3;
- Node444textWidth = Node444width;
- Node444lineStart = Node444width - ht.Default.getTextSize('TEXT', ' '+ Node444fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node444.setImage(GD.getTextJSON(Node444width, Node444height, true, false, false, ' '+ Node444fontSize + 'px "Arial"'))
- Node444.setPosition(553*ratio.ratioX, 716*ratio.ratioY);
- Node444.setWidth(Node444width);
- Node444.setHeight(Node444height);
- Node444._nodeType = 'text';
- Node444._disallowEvert = true;
- Node444.setRotation(0*Math.PI/180);
- Node444.a('node.width', Node444width);
- Node444.a('node.height', Node444height);
- Node444.a('node.rect', [0, 0, Node444width, Node444height]);
- Node444.a('node.bordercolor','rgba(0,0,0,1)');
- Node444.a('node.borderwidth', 0);
- Node444.a('node.background','' || 'rgba(0,0,0,0)');
- Node444.a('node.gradient','');
- Node444.a('node.gradientcolor','');
- Node444.a('node.text','TEXT');
- Node444.a('node.textalign','left');
- Node444.a('node.textvAlign','middle');
- Node444.a('node.textrect', [Node444textStart, 0, Node444textWidth, Node444height]);
- Node444.a('node.color','rgba(0,0,0,1)');
- Node444.a('node.font',' '+ Node444fontSize + 'px "Arial"');
- Node444.a('node.textvisible',true);
- Node444.a('node.linefeed',false);
- if (false) {
- Node444.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node444.a('node.text') || 'TEXT';
- var color=Node444.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node444width,Node444height,13.3333*_ratio.ratioY,"left",color,' '+ Node444fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node444.a('node.underlinepoints',[Node444lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node444fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node444fontSize + 'px "Arial"').width + 6, (Node444height - Node444fontSize) * 0.5*_ratio.ratioY + Node444fontSize + 2 ]);
- Node444.a('node.underlinevisible',false);
- Node444.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node444);
- zoomNodeList.push({
- node: Node444,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node445 = new ht.Node();
- var Node445textStart, Node445textWidth, Node445lineStart, Node445align = 'left', Node445fontSize = 13.3333*_ratio.ratioY,Node445width = 39*_ratio.ratioX, Node445height = 16*_ratio.ratioY;
- (function () {
- if (Node445align === 'left') {
- Node445textStart = Node445fontSize * 0.2 > 2 ? Node445fontSize * 0.2 - 4 : Node445fontSize * 0.2 - 9;
- Node445textWidth = Node445width;
- Node445lineStart = 1;
- } else if (Node445align === 'right') {
- Node445textStart = 0;
- Node445textWidth =Node445fontSize <= 8 ? Node445width + Node445fontSize * 0.2 + 6 : Node445width - Node445fontSize * 0.2;
- Node445lineStart = (Node445width - (ht.Default.getTextSize('TEXT', ' '+ Node445fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node445align === 'center') {
- Node445textStart = -3;
- Node445textWidth = Node445width;
- Node445lineStart = Node445width - ht.Default.getTextSize('TEXT', ' '+ Node445fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node445.setImage(GD.getTextJSON(Node445width, Node445height, true, false, false, ' '+ Node445fontSize + 'px "Arial"'))
- Node445.setPosition(643*ratio.ratioX, 696*ratio.ratioY);
- Node445.setWidth(Node445width);
- Node445.setHeight(Node445height);
- Node445._nodeType = 'text';
- Node445._disallowEvert = true;
- Node445.setRotation(0*Math.PI/180);
- Node445.a('node.width', Node445width);
- Node445.a('node.height', Node445height);
- Node445.a('node.rect', [0, 0, Node445width, Node445height]);
- Node445.a('node.bordercolor','rgba(0,0,0,1)');
- Node445.a('node.borderwidth', 0);
- Node445.a('node.background','' || 'rgba(0,0,0,0)');
- Node445.a('node.gradient','');
- Node445.a('node.gradientcolor','');
- Node445.a('node.text','TEXT');
- Node445.a('node.textalign','left');
- Node445.a('node.textvAlign','middle');
- Node445.a('node.textrect', [Node445textStart, 0, Node445textWidth, Node445height]);
- Node445.a('node.color','rgba(0,0,0,1)');
- Node445.a('node.font',' '+ Node445fontSize + 'px "Arial"');
- Node445.a('node.textvisible',true);
- Node445.a('node.linefeed',false);
- if (false) {
- Node445.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node445.a('node.text') || 'TEXT';
- var color=Node445.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node445width,Node445height,13.3333*_ratio.ratioY,"left",color,' '+ Node445fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node445.a('node.underlinepoints',[Node445lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node445fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node445fontSize + 'px "Arial"').width + 6, (Node445height - Node445fontSize) * 0.5*_ratio.ratioY + Node445fontSize + 2 ]);
- Node445.a('node.underlinevisible',false);
- Node445.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node445);
- zoomNodeList.push({
- node: Node445,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node446 = new ht.Node();
- var Node446textStart, Node446textWidth, Node446lineStart, Node446align = 'left', Node446fontSize = 13.3333*_ratio.ratioY,Node446width = 39*_ratio.ratioX, Node446height = 16*_ratio.ratioY;
- (function () {
- if (Node446align === 'left') {
- Node446textStart = Node446fontSize * 0.2 > 2 ? Node446fontSize * 0.2 - 4 : Node446fontSize * 0.2 - 9;
- Node446textWidth = Node446width;
- Node446lineStart = 1;
- } else if (Node446align === 'right') {
- Node446textStart = 0;
- Node446textWidth =Node446fontSize <= 8 ? Node446width + Node446fontSize * 0.2 + 6 : Node446width - Node446fontSize * 0.2;
- Node446lineStart = (Node446width - (ht.Default.getTextSize('TEXT', ' '+ Node446fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node446align === 'center') {
- Node446textStart = -3;
- Node446textWidth = Node446width;
- Node446lineStart = Node446width - ht.Default.getTextSize('TEXT', ' '+ Node446fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node446.setImage(GD.getTextJSON(Node446width, Node446height, true, false, false, ' '+ Node446fontSize + 'px "Arial"'))
- Node446.setPosition(643*ratio.ratioX, 716*ratio.ratioY);
- Node446.setWidth(Node446width);
- Node446.setHeight(Node446height);
- Node446._nodeType = 'text';
- Node446._disallowEvert = true;
- Node446.setRotation(0*Math.PI/180);
- Node446.a('node.width', Node446width);
- Node446.a('node.height', Node446height);
- Node446.a('node.rect', [0, 0, Node446width, Node446height]);
- Node446.a('node.bordercolor','rgba(0,0,0,1)');
- Node446.a('node.borderwidth', 0);
- Node446.a('node.background','' || 'rgba(0,0,0,0)');
- Node446.a('node.gradient','');
- Node446.a('node.gradientcolor','');
- Node446.a('node.text','TEXT');
- Node446.a('node.textalign','left');
- Node446.a('node.textvAlign','middle');
- Node446.a('node.textrect', [Node446textStart, 0, Node446textWidth, Node446height]);
- Node446.a('node.color','rgba(0,0,0,1)');
- Node446.a('node.font',' '+ Node446fontSize + 'px "Arial"');
- Node446.a('node.textvisible',true);
- Node446.a('node.linefeed',false);
- if (false) {
- Node446.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node446.a('node.text') || 'TEXT';
- var color=Node446.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node446width,Node446height,13.3333*_ratio.ratioY,"left",color,' '+ Node446fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node446.a('node.underlinepoints',[Node446lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node446fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node446fontSize + 'px "Arial"').width + 6, (Node446height - Node446fontSize) * 0.5*_ratio.ratioY + Node446fontSize + 2 ]);
- Node446.a('node.underlinevisible',false);
- Node446.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node446);
- zoomNodeList.push({
- node: Node446,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node447 = new ht.Node();
- var Node447textStart, Node447textWidth, Node447lineStart, Node447align = 'left', Node447fontSize = 13.3333*_ratio.ratioY,Node447width = 39*_ratio.ratioX, Node447height = 16*_ratio.ratioY;
- (function () {
- if (Node447align === 'left') {
- Node447textStart = Node447fontSize * 0.2 > 2 ? Node447fontSize * 0.2 - 4 : Node447fontSize * 0.2 - 9;
- Node447textWidth = Node447width;
- Node447lineStart = 1;
- } else if (Node447align === 'right') {
- Node447textStart = 0;
- Node447textWidth =Node447fontSize <= 8 ? Node447width + Node447fontSize * 0.2 + 6 : Node447width - Node447fontSize * 0.2;
- Node447lineStart = (Node447width - (ht.Default.getTextSize('TEXT', ' '+ Node447fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node447align === 'center') {
- Node447textStart = -3;
- Node447textWidth = Node447width;
- Node447lineStart = Node447width - ht.Default.getTextSize('TEXT', ' '+ Node447fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node447.setImage(GD.getTextJSON(Node447width, Node447height, true, false, false, ' '+ Node447fontSize + 'px "Arial"'))
- Node447.setPosition(733*ratio.ratioX, 696*ratio.ratioY);
- Node447.setWidth(Node447width);
- Node447.setHeight(Node447height);
- Node447._nodeType = 'text';
- Node447._disallowEvert = true;
- Node447.setRotation(0*Math.PI/180);
- Node447.a('node.width', Node447width);
- Node447.a('node.height', Node447height);
- Node447.a('node.rect', [0, 0, Node447width, Node447height]);
- Node447.a('node.bordercolor','rgba(0,0,0,1)');
- Node447.a('node.borderwidth', 0);
- Node447.a('node.background','' || 'rgba(0,0,0,0)');
- Node447.a('node.gradient','');
- Node447.a('node.gradientcolor','');
- Node447.a('node.text','TEXT');
- Node447.a('node.textalign','left');
- Node447.a('node.textvAlign','middle');
- Node447.a('node.textrect', [Node447textStart, 0, Node447textWidth, Node447height]);
- Node447.a('node.color','rgba(0,0,0,1)');
- Node447.a('node.font',' '+ Node447fontSize + 'px "Arial"');
- Node447.a('node.textvisible',true);
- Node447.a('node.linefeed',false);
- if (false) {
- Node447.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node447.a('node.text') || 'TEXT';
- var color=Node447.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node447width,Node447height,13.3333*_ratio.ratioY,"left",color,' '+ Node447fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node447.a('node.underlinepoints',[Node447lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node447fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node447fontSize + 'px "Arial"').width + 6, (Node447height - Node447fontSize) * 0.5*_ratio.ratioY + Node447fontSize + 2 ]);
- Node447.a('node.underlinevisible',false);
- Node447.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node447);
- zoomNodeList.push({
- node: Node447,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node448 = new ht.Node();
- var Node448textStart, Node448textWidth, Node448lineStart, Node448align = 'left', Node448fontSize = 13.3333*_ratio.ratioY,Node448width = 39*_ratio.ratioX, Node448height = 16*_ratio.ratioY;
- (function () {
- if (Node448align === 'left') {
- Node448textStart = Node448fontSize * 0.2 > 2 ? Node448fontSize * 0.2 - 4 : Node448fontSize * 0.2 - 9;
- Node448textWidth = Node448width;
- Node448lineStart = 1;
- } else if (Node448align === 'right') {
- Node448textStart = 0;
- Node448textWidth =Node448fontSize <= 8 ? Node448width + Node448fontSize * 0.2 + 6 : Node448width - Node448fontSize * 0.2;
- Node448lineStart = (Node448width - (ht.Default.getTextSize('TEXT', ' '+ Node448fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node448align === 'center') {
- Node448textStart = -3;
- Node448textWidth = Node448width;
- Node448lineStart = Node448width - ht.Default.getTextSize('TEXT', ' '+ Node448fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node448.setImage(GD.getTextJSON(Node448width, Node448height, true, false, false, ' '+ Node448fontSize + 'px "Arial"'))
- Node448.setPosition(733*ratio.ratioX, 716*ratio.ratioY);
- Node448.setWidth(Node448width);
- Node448.setHeight(Node448height);
- Node448._nodeType = 'text';
- Node448._disallowEvert = true;
- Node448.setRotation(0*Math.PI/180);
- Node448.a('node.width', Node448width);
- Node448.a('node.height', Node448height);
- Node448.a('node.rect', [0, 0, Node448width, Node448height]);
- Node448.a('node.bordercolor','rgba(0,0,0,1)');
- Node448.a('node.borderwidth', 0);
- Node448.a('node.background','' || 'rgba(0,0,0,0)');
- Node448.a('node.gradient','');
- Node448.a('node.gradientcolor','');
- Node448.a('node.text','TEXT');
- Node448.a('node.textalign','left');
- Node448.a('node.textvAlign','middle');
- Node448.a('node.textrect', [Node448textStart, 0, Node448textWidth, Node448height]);
- Node448.a('node.color','rgba(0,0,0,1)');
- Node448.a('node.font',' '+ Node448fontSize + 'px "Arial"');
- Node448.a('node.textvisible',true);
- Node448.a('node.linefeed',false);
- if (false) {
- Node448.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node448.a('node.text') || 'TEXT';
- var color=Node448.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node448width,Node448height,13.3333*_ratio.ratioY,"left",color,' '+ Node448fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node448.a('node.underlinepoints',[Node448lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node448fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node448fontSize + 'px "Arial"').width + 6, (Node448height - Node448fontSize) * 0.5*_ratio.ratioY + Node448fontSize + 2 ]);
- Node448.a('node.underlinevisible',false);
- Node448.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node448);
- zoomNodeList.push({
- node: Node448,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node449 = new ht.Node();
- var Node449textStart, Node449textWidth, Node449lineStart, Node449align = 'left', Node449fontSize = 13.3333*_ratio.ratioY,Node449width = 39*_ratio.ratioX, Node449height = 16*_ratio.ratioY;
- (function () {
- if (Node449align === 'left') {
- Node449textStart = Node449fontSize * 0.2 > 2 ? Node449fontSize * 0.2 - 4 : Node449fontSize * 0.2 - 9;
- Node449textWidth = Node449width;
- Node449lineStart = 1;
- } else if (Node449align === 'right') {
- Node449textStart = 0;
- Node449textWidth =Node449fontSize <= 8 ? Node449width + Node449fontSize * 0.2 + 6 : Node449width - Node449fontSize * 0.2;
- Node449lineStart = (Node449width - (ht.Default.getTextSize('TEXT', ' '+ Node449fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node449align === 'center') {
- Node449textStart = -3;
- Node449textWidth = Node449width;
- Node449lineStart = Node449width - ht.Default.getTextSize('TEXT', ' '+ Node449fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node449.setImage(GD.getTextJSON(Node449width, Node449height, true, false, false, ' '+ Node449fontSize + 'px "Arial"'))
- Node449.setPosition(1563*ratio.ratioX, 696*ratio.ratioY);
- Node449.setWidth(Node449width);
- Node449.setHeight(Node449height);
- Node449._nodeType = 'text';
- Node449._disallowEvert = true;
- Node449.setRotation(0*Math.PI/180);
- Node449.a('node.width', Node449width);
- Node449.a('node.height', Node449height);
- Node449.a('node.rect', [0, 0, Node449width, Node449height]);
- Node449.a('node.bordercolor','rgba(0,0,0,1)');
- Node449.a('node.borderwidth', 0);
- Node449.a('node.background','' || 'rgba(0,0,0,0)');
- Node449.a('node.gradient','');
- Node449.a('node.gradientcolor','');
- Node449.a('node.text','TEXT');
- Node449.a('node.textalign','left');
- Node449.a('node.textvAlign','middle');
- Node449.a('node.textrect', [Node449textStart, 0, Node449textWidth, Node449height]);
- Node449.a('node.color','rgba(0,0,0,1)');
- Node449.a('node.font',' '+ Node449fontSize + 'px "Arial"');
- Node449.a('node.textvisible',true);
- Node449.a('node.linefeed',false);
- if (false) {
- Node449.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node449.a('node.text') || 'TEXT';
- var color=Node449.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node449width,Node449height,13.3333*_ratio.ratioY,"left",color,' '+ Node449fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node449.a('node.underlinepoints',[Node449lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node449fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node449fontSize + 'px "Arial"').width + 6, (Node449height - Node449fontSize) * 0.5*_ratio.ratioY + Node449fontSize + 2 ]);
- Node449.a('node.underlinevisible',false);
- Node449.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node449);
- zoomNodeList.push({
- node: Node449,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node450 = new ht.Node();
- var Node450textStart, Node450textWidth, Node450lineStart, Node450align = 'left', Node450fontSize = 13.3333*_ratio.ratioY,Node450width = 39*_ratio.ratioX, Node450height = 16*_ratio.ratioY;
- (function () {
- if (Node450align === 'left') {
- Node450textStart = Node450fontSize * 0.2 > 2 ? Node450fontSize * 0.2 - 4 : Node450fontSize * 0.2 - 9;
- Node450textWidth = Node450width;
- Node450lineStart = 1;
- } else if (Node450align === 'right') {
- Node450textStart = 0;
- Node450textWidth =Node450fontSize <= 8 ? Node450width + Node450fontSize * 0.2 + 6 : Node450width - Node450fontSize * 0.2;
- Node450lineStart = (Node450width - (ht.Default.getTextSize('TEXT', ' '+ Node450fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node450align === 'center') {
- Node450textStart = -3;
- Node450textWidth = Node450width;
- Node450lineStart = Node450width - ht.Default.getTextSize('TEXT', ' '+ Node450fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node450.setImage(GD.getTextJSON(Node450width, Node450height, true, false, false, ' '+ Node450fontSize + 'px "Arial"'))
- Node450.setPosition(1563*ratio.ratioX, 716*ratio.ratioY);
- Node450.setWidth(Node450width);
- Node450.setHeight(Node450height);
- Node450._nodeType = 'text';
- Node450._disallowEvert = true;
- Node450.setRotation(0*Math.PI/180);
- Node450.a('node.width', Node450width);
- Node450.a('node.height', Node450height);
- Node450.a('node.rect', [0, 0, Node450width, Node450height]);
- Node450.a('node.bordercolor','rgba(0,0,0,1)');
- Node450.a('node.borderwidth', 0);
- Node450.a('node.background','' || 'rgba(0,0,0,0)');
- Node450.a('node.gradient','');
- Node450.a('node.gradientcolor','');
- Node450.a('node.text','TEXT');
- Node450.a('node.textalign','left');
- Node450.a('node.textvAlign','middle');
- Node450.a('node.textrect', [Node450textStart, 0, Node450textWidth, Node450height]);
- Node450.a('node.color','rgba(0,0,0,1)');
- Node450.a('node.font',' '+ Node450fontSize + 'px "Arial"');
- Node450.a('node.textvisible',true);
- Node450.a('node.linefeed',false);
- if (false) {
- Node450.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node450.a('node.text') || 'TEXT';
- var color=Node450.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node450width,Node450height,13.3333*_ratio.ratioY,"left",color,' '+ Node450fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node450.a('node.underlinepoints',[Node450lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node450fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node450fontSize + 'px "Arial"').width + 6, (Node450height - Node450fontSize) * 0.5*_ratio.ratioY + Node450fontSize + 2 ]);
- Node450.a('node.underlinevisible',false);
- Node450.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node450);
- zoomNodeList.push({
- node: Node450,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node451 = new ht.Node();
- var Node451textStart, Node451textWidth, Node451lineStart, Node451align = 'left', Node451fontSize = 13.3333*_ratio.ratioY,Node451width = 39*_ratio.ratioX, Node451height = 16*_ratio.ratioY;
- (function () {
- if (Node451align === 'left') {
- Node451textStart = Node451fontSize * 0.2 > 2 ? Node451fontSize * 0.2 - 4 : Node451fontSize * 0.2 - 9;
- Node451textWidth = Node451width;
- Node451lineStart = 1;
- } else if (Node451align === 'right') {
- Node451textStart = 0;
- Node451textWidth =Node451fontSize <= 8 ? Node451width + Node451fontSize * 0.2 + 6 : Node451width - Node451fontSize * 0.2;
- Node451lineStart = (Node451width - (ht.Default.getTextSize('TEXT', ' '+ Node451fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node451align === 'center') {
- Node451textStart = -3;
- Node451textWidth = Node451width;
- Node451lineStart = Node451width - ht.Default.getTextSize('TEXT', ' '+ Node451fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node451.setImage(GD.getTextJSON(Node451width, Node451height, true, false, false, ' '+ Node451fontSize + 'px "Arial"'))
- Node451.setPosition(1663*ratio.ratioX, 696*ratio.ratioY);
- Node451.setWidth(Node451width);
- Node451.setHeight(Node451height);
- Node451._nodeType = 'text';
- Node451._disallowEvert = true;
- Node451.setRotation(0*Math.PI/180);
- Node451.a('node.width', Node451width);
- Node451.a('node.height', Node451height);
- Node451.a('node.rect', [0, 0, Node451width, Node451height]);
- Node451.a('node.bordercolor','rgba(0,0,0,1)');
- Node451.a('node.borderwidth', 0);
- Node451.a('node.background','' || 'rgba(0,0,0,0)');
- Node451.a('node.gradient','');
- Node451.a('node.gradientcolor','');
- Node451.a('node.text','TEXT');
- Node451.a('node.textalign','left');
- Node451.a('node.textvAlign','middle');
- Node451.a('node.textrect', [Node451textStart, 0, Node451textWidth, Node451height]);
- Node451.a('node.color','rgba(0,0,0,1)');
- Node451.a('node.font',' '+ Node451fontSize + 'px "Arial"');
- Node451.a('node.textvisible',true);
- Node451.a('node.linefeed',false);
- if (false) {
- Node451.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node451.a('node.text') || 'TEXT';
- var color=Node451.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node451width,Node451height,13.3333*_ratio.ratioY,"left",color,' '+ Node451fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node451.a('node.underlinepoints',[Node451lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node451fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node451fontSize + 'px "Arial"').width + 6, (Node451height - Node451fontSize) * 0.5*_ratio.ratioY + Node451fontSize + 2 ]);
- Node451.a('node.underlinevisible',false);
- Node451.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node451);
- zoomNodeList.push({
- node: Node451,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node452 = new ht.Node();
- var Node452textStart, Node452textWidth, Node452lineStart, Node452align = 'left', Node452fontSize = 13.3333*_ratio.ratioY,Node452width = 39*_ratio.ratioX, Node452height = 16*_ratio.ratioY;
- (function () {
- if (Node452align === 'left') {
- Node452textStart = Node452fontSize * 0.2 > 2 ? Node452fontSize * 0.2 - 4 : Node452fontSize * 0.2 - 9;
- Node452textWidth = Node452width;
- Node452lineStart = 1;
- } else if (Node452align === 'right') {
- Node452textStart = 0;
- Node452textWidth =Node452fontSize <= 8 ? Node452width + Node452fontSize * 0.2 + 6 : Node452width - Node452fontSize * 0.2;
- Node452lineStart = (Node452width - (ht.Default.getTextSize('TEXT', ' '+ Node452fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node452align === 'center') {
- Node452textStart = -3;
- Node452textWidth = Node452width;
- Node452lineStart = Node452width - ht.Default.getTextSize('TEXT', ' '+ Node452fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node452.setImage(GD.getTextJSON(Node452width, Node452height, true, false, false, ' '+ Node452fontSize + 'px "Arial"'))
- Node452.setPosition(1663*ratio.ratioX, 716*ratio.ratioY);
- Node452.setWidth(Node452width);
- Node452.setHeight(Node452height);
- Node452._nodeType = 'text';
- Node452._disallowEvert = true;
- Node452.setRotation(0*Math.PI/180);
- Node452.a('node.width', Node452width);
- Node452.a('node.height', Node452height);
- Node452.a('node.rect', [0, 0, Node452width, Node452height]);
- Node452.a('node.bordercolor','rgba(0,0,0,1)');
- Node452.a('node.borderwidth', 0);
- Node452.a('node.background','' || 'rgba(0,0,0,0)');
- Node452.a('node.gradient','');
- Node452.a('node.gradientcolor','');
- Node452.a('node.text','TEXT');
- Node452.a('node.textalign','left');
- Node452.a('node.textvAlign','middle');
- Node452.a('node.textrect', [Node452textStart, 0, Node452textWidth, Node452height]);
- Node452.a('node.color','rgba(0,0,0,1)');
- Node452.a('node.font',' '+ Node452fontSize + 'px "Arial"');
- Node452.a('node.textvisible',true);
- Node452.a('node.linefeed',false);
- if (false) {
- Node452.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node452.a('node.text') || 'TEXT';
- var color=Node452.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node452width,Node452height,13.3333*_ratio.ratioY,"left",color,' '+ Node452fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node452.a('node.underlinepoints',[Node452lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node452fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node452fontSize + 'px "Arial"').width + 6, (Node452height - Node452fontSize) * 0.5*_ratio.ratioY + Node452fontSize + 2 ]);
- Node452.a('node.underlinevisible',false);
- Node452.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node452);
- zoomNodeList.push({
- node: Node452,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node453 = new ht.Node();
- var Node453textStart, Node453textWidth, Node453lineStart, Node453align = 'left', Node453fontSize = 13.3333*_ratio.ratioY,Node453width = 39*_ratio.ratioX, Node453height = 16*_ratio.ratioY;
- (function () {
- if (Node453align === 'left') {
- Node453textStart = Node453fontSize * 0.2 > 2 ? Node453fontSize * 0.2 - 4 : Node453fontSize * 0.2 - 9;
- Node453textWidth = Node453width;
- Node453lineStart = 1;
- } else if (Node453align === 'right') {
- Node453textStart = 0;
- Node453textWidth =Node453fontSize <= 8 ? Node453width + Node453fontSize * 0.2 + 6 : Node453width - Node453fontSize * 0.2;
- Node453lineStart = (Node453width - (ht.Default.getTextSize('TEXT', ' '+ Node453fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node453align === 'center') {
- Node453textStart = -3;
- Node453textWidth = Node453width;
- Node453lineStart = Node453width - ht.Default.getTextSize('TEXT', ' '+ Node453fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node453.setImage(GD.getTextJSON(Node453width, Node453height, true, false, false, ' '+ Node453fontSize + 'px "Arial"'))
- Node453.setPosition(1760*ratio.ratioX, 695*ratio.ratioY);
- Node453.setWidth(Node453width);
- Node453.setHeight(Node453height);
- Node453._nodeType = 'text';
- Node453._disallowEvert = true;
- Node453.setRotation(0*Math.PI/180);
- Node453.a('node.width', Node453width);
- Node453.a('node.height', Node453height);
- Node453.a('node.rect', [0, 0, Node453width, Node453height]);
- Node453.a('node.bordercolor','rgba(0,0,0,1)');
- Node453.a('node.borderwidth', 0);
- Node453.a('node.background','' || 'rgba(0,0,0,0)');
- Node453.a('node.gradient','');
- Node453.a('node.gradientcolor','');
- Node453.a('node.text','TEXT');
- Node453.a('node.textalign','left');
- Node453.a('node.textvAlign','middle');
- Node453.a('node.textrect', [Node453textStart, 0, Node453textWidth, Node453height]);
- Node453.a('node.color','rgba(0,0,0,1)');
- Node453.a('node.font',' '+ Node453fontSize + 'px "Arial"');
- Node453.a('node.textvisible',true);
- Node453.a('node.linefeed',false);
- if (false) {
- Node453.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node453.a('node.text') || 'TEXT';
- var color=Node453.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node453width,Node453height,13.3333*_ratio.ratioY,"left",color,' '+ Node453fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node453.a('node.underlinepoints',[Node453lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node453fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node453fontSize + 'px "Arial"').width + 6, (Node453height - Node453fontSize) * 0.5*_ratio.ratioY + Node453fontSize + 2 ]);
- Node453.a('node.underlinevisible',false);
- Node453.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node453);
- zoomNodeList.push({
- node: Node453,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node454 = new ht.Node();
- var Node454textStart, Node454textWidth, Node454lineStart, Node454align = 'left', Node454fontSize = 13.3333*_ratio.ratioY,Node454width = 39*_ratio.ratioX, Node454height = 16*_ratio.ratioY;
- (function () {
- if (Node454align === 'left') {
- Node454textStart = Node454fontSize * 0.2 > 2 ? Node454fontSize * 0.2 - 4 : Node454fontSize * 0.2 - 9;
- Node454textWidth = Node454width;
- Node454lineStart = 1;
- } else if (Node454align === 'right') {
- Node454textStart = 0;
- Node454textWidth =Node454fontSize <= 8 ? Node454width + Node454fontSize * 0.2 + 6 : Node454width - Node454fontSize * 0.2;
- Node454lineStart = (Node454width - (ht.Default.getTextSize('TEXT', ' '+ Node454fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node454align === 'center') {
- Node454textStart = -3;
- Node454textWidth = Node454width;
- Node454lineStart = Node454width - ht.Default.getTextSize('TEXT', ' '+ Node454fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node454.setImage(GD.getTextJSON(Node454width, Node454height, true, false, false, ' '+ Node454fontSize + 'px "Arial"'))
- Node454.setPosition(1760*ratio.ratioX, 716*ratio.ratioY);
- Node454.setWidth(Node454width);
- Node454.setHeight(Node454height);
- Node454._nodeType = 'text';
- Node454._disallowEvert = true;
- Node454.setRotation(0*Math.PI/180);
- Node454.a('node.width', Node454width);
- Node454.a('node.height', Node454height);
- Node454.a('node.rect', [0, 0, Node454width, Node454height]);
- Node454.a('node.bordercolor','rgba(0,0,0,1)');
- Node454.a('node.borderwidth', 0);
- Node454.a('node.background','' || 'rgba(0,0,0,0)');
- Node454.a('node.gradient','');
- Node454.a('node.gradientcolor','');
- Node454.a('node.text','TEXT');
- Node454.a('node.textalign','left');
- Node454.a('node.textvAlign','middle');
- Node454.a('node.textrect', [Node454textStart, 0, Node454textWidth, Node454height]);
- Node454.a('node.color','rgba(0,0,0,1)');
- Node454.a('node.font',' '+ Node454fontSize + 'px "Arial"');
- Node454.a('node.textvisible',true);
- Node454.a('node.linefeed',false);
- if (false) {
- Node454.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node454.a('node.text') || 'TEXT';
- var color=Node454.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node454width,Node454height,13.3333*_ratio.ratioY,"left",color,' '+ Node454fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node454.a('node.underlinepoints',[Node454lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node454fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node454fontSize + 'px "Arial"').width + 6, (Node454height - Node454fontSize) * 0.5*_ratio.ratioY + Node454fontSize + 2 ]);
- Node454.a('node.underlinevisible',false);
- Node454.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node454);
- zoomNodeList.push({
- node: Node454,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node455 = new ht.Node();
- var Node455textStart, Node455textWidth, Node455lineStart, Node455align = 'left', Node455fontSize = 13.3333*_ratio.ratioY,Node455width = 39*_ratio.ratioX, Node455height = 16*_ratio.ratioY;
- (function () {
- if (Node455align === 'left') {
- Node455textStart = Node455fontSize * 0.2 > 2 ? Node455fontSize * 0.2 - 4 : Node455fontSize * 0.2 - 9;
- Node455textWidth = Node455width;
- Node455lineStart = 1;
- } else if (Node455align === 'right') {
- Node455textStart = 0;
- Node455textWidth =Node455fontSize <= 8 ? Node455width + Node455fontSize * 0.2 + 6 : Node455width - Node455fontSize * 0.2;
- Node455lineStart = (Node455width - (ht.Default.getTextSize('TEXT', ' '+ Node455fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node455align === 'center') {
- Node455textStart = -3;
- Node455textWidth = Node455width;
- Node455lineStart = Node455width - ht.Default.getTextSize('TEXT', ' '+ Node455fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node455.setImage(GD.getTextJSON(Node455width, Node455height, true, false, false, ' '+ Node455fontSize + 'px "Arial"'))
- Node455.setPosition(1720*ratio.ratioX, 345*ratio.ratioY);
- Node455.setWidth(Node455width);
- Node455.setHeight(Node455height);
- Node455._nodeType = 'text';
- Node455._disallowEvert = true;
- Node455.setRotation(0*Math.PI/180);
- Node455.a('node.width', Node455width);
- Node455.a('node.height', Node455height);
- Node455.a('node.rect', [0, 0, Node455width, Node455height]);
- Node455.a('node.bordercolor','rgba(0,0,0,1)');
- Node455.a('node.borderwidth', 0);
- Node455.a('node.background','' || 'rgba(0,0,0,0)');
- Node455.a('node.gradient','');
- Node455.a('node.gradientcolor','');
- Node455.a('node.text','TEXT');
- Node455.a('node.textalign','left');
- Node455.a('node.textvAlign','middle');
- Node455.a('node.textrect', [Node455textStart, 0, Node455textWidth, Node455height]);
- Node455.a('node.color','rgba(0,0,0,1)');
- Node455.a('node.font',' '+ Node455fontSize + 'px "Arial"');
- Node455.a('node.textvisible',true);
- Node455.a('node.linefeed',false);
- if (false) {
- Node455.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node455.a('node.text') || 'TEXT';
- var color=Node455.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node455width,Node455height,13.3333*_ratio.ratioY,"left",color,' '+ Node455fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node455.a('node.underlinepoints',[Node455lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node455fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node455fontSize + 'px "Arial"').width + 6, (Node455height - Node455fontSize) * 0.5*_ratio.ratioY + Node455fontSize + 2 ]);
- Node455.a('node.underlinevisible',false);
- Node455.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node455);
- zoomNodeList.push({
- node: Node455,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node456 = new ht.Node();
- var Node456textStart, Node456textWidth, Node456lineStart, Node456align = 'left', Node456fontSize = 13.3333*_ratio.ratioY,Node456width = 39*_ratio.ratioX, Node456height = 16*_ratio.ratioY;
- (function () {
- if (Node456align === 'left') {
- Node456textStart = Node456fontSize * 0.2 > 2 ? Node456fontSize * 0.2 - 4 : Node456fontSize * 0.2 - 9;
- Node456textWidth = Node456width;
- Node456lineStart = 1;
- } else if (Node456align === 'right') {
- Node456textStart = 0;
- Node456textWidth =Node456fontSize <= 8 ? Node456width + Node456fontSize * 0.2 + 6 : Node456width - Node456fontSize * 0.2;
- Node456lineStart = (Node456width - (ht.Default.getTextSize('TEXT', ' '+ Node456fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node456align === 'center') {
- Node456textStart = -3;
- Node456textWidth = Node456width;
- Node456lineStart = Node456width - ht.Default.getTextSize('TEXT', ' '+ Node456fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node456.setImage(GD.getTextJSON(Node456width, Node456height, true, false, false, ' '+ Node456fontSize + 'px "Arial"'))
- Node456.setPosition(1720*ratio.ratioX, 365*ratio.ratioY);
- Node456.setWidth(Node456width);
- Node456.setHeight(Node456height);
- Node456._nodeType = 'text';
- Node456._disallowEvert = true;
- Node456.setRotation(0*Math.PI/180);
- Node456.a('node.width', Node456width);
- Node456.a('node.height', Node456height);
- Node456.a('node.rect', [0, 0, Node456width, Node456height]);
- Node456.a('node.bordercolor','rgba(0,0,0,1)');
- Node456.a('node.borderwidth', 0);
- Node456.a('node.background','' || 'rgba(0,0,0,0)');
- Node456.a('node.gradient','');
- Node456.a('node.gradientcolor','');
- Node456.a('node.text','TEXT');
- Node456.a('node.textalign','left');
- Node456.a('node.textvAlign','middle');
- Node456.a('node.textrect', [Node456textStart, 0, Node456textWidth, Node456height]);
- Node456.a('node.color','rgba(0,0,0,1)');
- Node456.a('node.font',' '+ Node456fontSize + 'px "Arial"');
- Node456.a('node.textvisible',true);
- Node456.a('node.linefeed',false);
- if (false) {
- Node456.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node456.a('node.text') || 'TEXT';
- var color=Node456.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node456width,Node456height,13.3333*_ratio.ratioY,"left",color,' '+ Node456fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node456.a('node.underlinepoints',[Node456lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node456fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node456fontSize + 'px "Arial"').width + 6, (Node456height - Node456fontSize) * 0.5*_ratio.ratioY + Node456fontSize + 2 ]);
- Node456.a('node.underlinevisible',false);
- Node456.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node456);
- zoomNodeList.push({
- node: Node456,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node457 = new ht.Node();
- var Node457textStart, Node457textWidth, Node457lineStart, Node457align = 'left', Node457fontSize = 13.3333*_ratio.ratioY,Node457width = 39*_ratio.ratioX, Node457height = 16*_ratio.ratioY;
- (function () {
- if (Node457align === 'left') {
- Node457textStart = Node457fontSize * 0.2 > 2 ? Node457fontSize * 0.2 - 4 : Node457fontSize * 0.2 - 9;
- Node457textWidth = Node457width;
- Node457lineStart = 1;
- } else if (Node457align === 'right') {
- Node457textStart = 0;
- Node457textWidth =Node457fontSize <= 8 ? Node457width + Node457fontSize * 0.2 + 6 : Node457width - Node457fontSize * 0.2;
- Node457lineStart = (Node457width - (ht.Default.getTextSize('TEXT', ' '+ Node457fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node457align === 'center') {
- Node457textStart = -3;
- Node457textWidth = Node457width;
- Node457lineStart = Node457width - ht.Default.getTextSize('TEXT', ' '+ Node457fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node457.setImage(GD.getTextJSON(Node457width, Node457height, true, false, false, ' '+ Node457fontSize + 'px "Arial"'))
- Node457.setPosition(1720*ratio.ratioX, 387*ratio.ratioY);
- Node457.setWidth(Node457width);
- Node457.setHeight(Node457height);
- Node457._nodeType = 'text';
- Node457._disallowEvert = true;
- Node457.setRotation(0*Math.PI/180);
- Node457.a('node.width', Node457width);
- Node457.a('node.height', Node457height);
- Node457.a('node.rect', [0, 0, Node457width, Node457height]);
- Node457.a('node.bordercolor','rgba(0,0,0,1)');
- Node457.a('node.borderwidth', 0);
- Node457.a('node.background','' || 'rgba(0,0,0,0)');
- Node457.a('node.gradient','');
- Node457.a('node.gradientcolor','');
- Node457.a('node.text','TEXT');
- Node457.a('node.textalign','left');
- Node457.a('node.textvAlign','middle');
- Node457.a('node.textrect', [Node457textStart, 0, Node457textWidth, Node457height]);
- Node457.a('node.color','rgba(0,0,0,1)');
- Node457.a('node.font',' '+ Node457fontSize + 'px "Arial"');
- Node457.a('node.textvisible',true);
- Node457.a('node.linefeed',false);
- if (false) {
- Node457.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node457.a('node.text') || 'TEXT';
- var color=Node457.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node457width,Node457height,13.3333*_ratio.ratioY,"left",color,' '+ Node457fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node457.a('node.underlinepoints',[Node457lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node457fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node457fontSize + 'px "Arial"').width + 6, (Node457height - Node457fontSize) * 0.5*_ratio.ratioY + Node457fontSize + 2 ]);
- Node457.a('node.underlinevisible',false);
- Node457.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node457);
- zoomNodeList.push({
- node: Node457,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node458 = new ht.Node();
- var Node458textStart, Node458textWidth, Node458lineStart, Node458align = 'left', Node458fontSize = 13.3333*_ratio.ratioY,Node458width = 39*_ratio.ratioX, Node458height = 16*_ratio.ratioY;
- (function () {
- if (Node458align === 'left') {
- Node458textStart = Node458fontSize * 0.2 > 2 ? Node458fontSize * 0.2 - 4 : Node458fontSize * 0.2 - 9;
- Node458textWidth = Node458width;
- Node458lineStart = 1;
- } else if (Node458align === 'right') {
- Node458textStart = 0;
- Node458textWidth =Node458fontSize <= 8 ? Node458width + Node458fontSize * 0.2 + 6 : Node458width - Node458fontSize * 0.2;
- Node458lineStart = (Node458width - (ht.Default.getTextSize('TEXT', ' '+ Node458fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node458align === 'center') {
- Node458textStart = -3;
- Node458textWidth = Node458width;
- Node458lineStart = Node458width - ht.Default.getTextSize('TEXT', ' '+ Node458fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node458.setImage(GD.getTextJSON(Node458width, Node458height, true, false, false, ' '+ Node458fontSize + 'px "Arial"'))
- Node458.setPosition(1720*ratio.ratioX, 407*ratio.ratioY);
- Node458.setWidth(Node458width);
- Node458.setHeight(Node458height);
- Node458._nodeType = 'text';
- Node458._disallowEvert = true;
- Node458.setRotation(0*Math.PI/180);
- Node458.a('node.width', Node458width);
- Node458.a('node.height', Node458height);
- Node458.a('node.rect', [0, 0, Node458width, Node458height]);
- Node458.a('node.bordercolor','rgba(0,0,0,1)');
- Node458.a('node.borderwidth', 0);
- Node458.a('node.background','' || 'rgba(0,0,0,0)');
- Node458.a('node.gradient','');
- Node458.a('node.gradientcolor','');
- Node458.a('node.text','TEXT');
- Node458.a('node.textalign','left');
- Node458.a('node.textvAlign','middle');
- Node458.a('node.textrect', [Node458textStart, 0, Node458textWidth, Node458height]);
- Node458.a('node.color','rgba(0,0,0,1)');
- Node458.a('node.font',' '+ Node458fontSize + 'px "Arial"');
- Node458.a('node.textvisible',true);
- Node458.a('node.linefeed',false);
- if (false) {
- Node458.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node458.a('node.text') || 'TEXT';
- var color=Node458.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node458width,Node458height,13.3333*_ratio.ratioY,"left",color,' '+ Node458fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node458.a('node.underlinepoints',[Node458lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node458fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node458fontSize + 'px "Arial"').width + 6, (Node458height - Node458fontSize) * 0.5*_ratio.ratioY + Node458fontSize + 2 ]);
- Node458.a('node.underlinevisible',false);
- Node458.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node458);
- zoomNodeList.push({
- node: Node458,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node459 = new ht.Node();
- var Node459textStart, Node459textWidth, Node459lineStart, Node459align = 'left', Node459fontSize = 13.3333*_ratio.ratioY,Node459width = 39*_ratio.ratioX, Node459height = 16*_ratio.ratioY;
- (function () {
- if (Node459align === 'left') {
- Node459textStart = Node459fontSize * 0.2 > 2 ? Node459fontSize * 0.2 - 4 : Node459fontSize * 0.2 - 9;
- Node459textWidth = Node459width;
- Node459lineStart = 1;
- } else if (Node459align === 'right') {
- Node459textStart = 0;
- Node459textWidth =Node459fontSize <= 8 ? Node459width + Node459fontSize * 0.2 + 6 : Node459width - Node459fontSize * 0.2;
- Node459lineStart = (Node459width - (ht.Default.getTextSize('TEXT', ' '+ Node459fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node459align === 'center') {
- Node459textStart = -3;
- Node459textWidth = Node459width;
- Node459lineStart = Node459width - ht.Default.getTextSize('TEXT', ' '+ Node459fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node459.setImage(GD.getTextJSON(Node459width, Node459height, true, false, false, ' '+ Node459fontSize + 'px "Arial"'))
- Node459.setPosition(1720*ratio.ratioX, 427*ratio.ratioY);
- Node459.setWidth(Node459width);
- Node459.setHeight(Node459height);
- Node459._nodeType = 'text';
- Node459._disallowEvert = true;
- Node459.setRotation(0*Math.PI/180);
- Node459.a('node.width', Node459width);
- Node459.a('node.height', Node459height);
- Node459.a('node.rect', [0, 0, Node459width, Node459height]);
- Node459.a('node.bordercolor','rgba(0,0,0,1)');
- Node459.a('node.borderwidth', 0);
- Node459.a('node.background','' || 'rgba(0,0,0,0)');
- Node459.a('node.gradient','');
- Node459.a('node.gradientcolor','');
- Node459.a('node.text','TEXT');
- Node459.a('node.textalign','left');
- Node459.a('node.textvAlign','middle');
- Node459.a('node.textrect', [Node459textStart, 0, Node459textWidth, Node459height]);
- Node459.a('node.color','rgba(0,0,0,1)');
- Node459.a('node.font',' '+ Node459fontSize + 'px "Arial"');
- Node459.a('node.textvisible',true);
- Node459.a('node.linefeed',false);
- if (false) {
- Node459.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node459.a('node.text') || 'TEXT';
- var color=Node459.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node459width,Node459height,13.3333*_ratio.ratioY,"left",color,' '+ Node459fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node459.a('node.underlinepoints',[Node459lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node459fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node459fontSize + 'px "Arial"').width + 6, (Node459height - Node459fontSize) * 0.5*_ratio.ratioY + Node459fontSize + 2 ]);
- Node459.a('node.underlinevisible',false);
- Node459.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node459);
- zoomNodeList.push({
- node: Node459,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node460 = new ht.Node();
- var Node460textStart, Node460textWidth, Node460lineStart, Node460align = 'left', Node460fontSize = 13.3333*_ratio.ratioY,Node460width = 39*_ratio.ratioX, Node460height = 16*_ratio.ratioY;
- (function () {
- if (Node460align === 'left') {
- Node460textStart = Node460fontSize * 0.2 > 2 ? Node460fontSize * 0.2 - 4 : Node460fontSize * 0.2 - 9;
- Node460textWidth = Node460width;
- Node460lineStart = 1;
- } else if (Node460align === 'right') {
- Node460textStart = 0;
- Node460textWidth =Node460fontSize <= 8 ? Node460width + Node460fontSize * 0.2 + 6 : Node460width - Node460fontSize * 0.2;
- Node460lineStart = (Node460width - (ht.Default.getTextSize('TEXT', ' '+ Node460fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node460align === 'center') {
- Node460textStart = -3;
- Node460textWidth = Node460width;
- Node460lineStart = Node460width - ht.Default.getTextSize('TEXT', ' '+ Node460fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node460.setImage(GD.getTextJSON(Node460width, Node460height, true, false, false, ' '+ Node460fontSize + 'px "Arial"'))
- Node460.setPosition(1720*ratio.ratioX, 447*ratio.ratioY);
- Node460.setWidth(Node460width);
- Node460.setHeight(Node460height);
- Node460._nodeType = 'text';
- Node460._disallowEvert = true;
- Node460.setRotation(0*Math.PI/180);
- Node460.a('node.width', Node460width);
- Node460.a('node.height', Node460height);
- Node460.a('node.rect', [0, 0, Node460width, Node460height]);
- Node460.a('node.bordercolor','rgba(0,0,0,1)');
- Node460.a('node.borderwidth', 0);
- Node460.a('node.background','' || 'rgba(0,0,0,0)');
- Node460.a('node.gradient','');
- Node460.a('node.gradientcolor','');
- Node460.a('node.text','TEXT');
- Node460.a('node.textalign','left');
- Node460.a('node.textvAlign','middle');
- Node460.a('node.textrect', [Node460textStart, 0, Node460textWidth, Node460height]);
- Node460.a('node.color','rgba(0,0,0,1)');
- Node460.a('node.font',' '+ Node460fontSize + 'px "Arial"');
- Node460.a('node.textvisible',true);
- Node460.a('node.linefeed',false);
- if (false) {
- Node460.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node460.a('node.text') || 'TEXT';
- var color=Node460.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node460width,Node460height,13.3333*_ratio.ratioY,"left",color,' '+ Node460fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node460.a('node.underlinepoints',[Node460lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node460fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node460fontSize + 'px "Arial"').width + 6, (Node460height - Node460fontSize) * 0.5*_ratio.ratioY + Node460fontSize + 2 ]);
- Node460.a('node.underlinevisible',false);
- Node460.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node460);
- zoomNodeList.push({
- node: Node460,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node461 = new ht.Node();
- var Node461textStart, Node461textWidth, Node461lineStart, Node461align = 'left', Node461fontSize = 13.3333*_ratio.ratioY,Node461width = 39*_ratio.ratioX, Node461height = 16*_ratio.ratioY;
- (function () {
- if (Node461align === 'left') {
- Node461textStart = Node461fontSize * 0.2 > 2 ? Node461fontSize * 0.2 - 4 : Node461fontSize * 0.2 - 9;
- Node461textWidth = Node461width;
- Node461lineStart = 1;
- } else if (Node461align === 'right') {
- Node461textStart = 0;
- Node461textWidth =Node461fontSize <= 8 ? Node461width + Node461fontSize * 0.2 + 6 : Node461width - Node461fontSize * 0.2;
- Node461lineStart = (Node461width - (ht.Default.getTextSize('TEXT', ' '+ Node461fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node461align === 'center') {
- Node461textStart = -3;
- Node461textWidth = Node461width;
- Node461lineStart = Node461width - ht.Default.getTextSize('TEXT', ' '+ Node461fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node461.setImage(GD.getTextJSON(Node461width, Node461height, true, false, false, ' '+ Node461fontSize + 'px "Arial"'))
- Node461.setPosition(1590*ratio.ratioX, 385*ratio.ratioY);
- Node461.setWidth(Node461width);
- Node461.setHeight(Node461height);
- Node461._nodeType = 'text';
- Node461._disallowEvert = true;
- Node461.setRotation(0*Math.PI/180);
- Node461.a('node.width', Node461width);
- Node461.a('node.height', Node461height);
- Node461.a('node.rect', [0, 0, Node461width, Node461height]);
- Node461.a('node.bordercolor','rgba(0,0,0,1)');
- Node461.a('node.borderwidth', 0);
- Node461.a('node.background','' || 'rgba(0,0,0,0)');
- Node461.a('node.gradient','');
- Node461.a('node.gradientcolor','');
- Node461.a('node.text','TEXT');
- Node461.a('node.textalign','left');
- Node461.a('node.textvAlign','middle');
- Node461.a('node.textrect', [Node461textStart, 0, Node461textWidth, Node461height]);
- Node461.a('node.color','rgba(0,0,0,1)');
- Node461.a('node.font',' '+ Node461fontSize + 'px "Arial"');
- Node461.a('node.textvisible',true);
- Node461.a('node.linefeed',false);
- if (false) {
- Node461.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node461.a('node.text') || 'TEXT';
- var color=Node461.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node461width,Node461height,13.3333*_ratio.ratioY,"left",color,' '+ Node461fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node461.a('node.underlinepoints',[Node461lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node461fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node461fontSize + 'px "Arial"').width + 6, (Node461height - Node461fontSize) * 0.5*_ratio.ratioY + Node461fontSize + 2 ]);
- Node461.a('node.underlinevisible',false);
- Node461.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node461);
- zoomNodeList.push({
- node: Node461,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node462 = new ht.Node();
- var Node462textStart, Node462textWidth, Node462lineStart, Node462align = 'left', Node462fontSize = 13.3333*_ratio.ratioY,Node462width = 39*_ratio.ratioX, Node462height = 16*_ratio.ratioY;
- (function () {
- if (Node462align === 'left') {
- Node462textStart = Node462fontSize * 0.2 > 2 ? Node462fontSize * 0.2 - 4 : Node462fontSize * 0.2 - 9;
- Node462textWidth = Node462width;
- Node462lineStart = 1;
- } else if (Node462align === 'right') {
- Node462textStart = 0;
- Node462textWidth =Node462fontSize <= 8 ? Node462width + Node462fontSize * 0.2 + 6 : Node462width - Node462fontSize * 0.2;
- Node462lineStart = (Node462width - (ht.Default.getTextSize('TEXT', ' '+ Node462fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node462align === 'center') {
- Node462textStart = -3;
- Node462textWidth = Node462width;
- Node462lineStart = Node462width - ht.Default.getTextSize('TEXT', ' '+ Node462fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node462.setImage(GD.getTextJSON(Node462width, Node462height, true, false, false, ' '+ Node462fontSize + 'px "Arial"'))
- Node462.setPosition(1590*ratio.ratioX, 405*ratio.ratioY);
- Node462.setWidth(Node462width);
- Node462.setHeight(Node462height);
- Node462._nodeType = 'text';
- Node462._disallowEvert = true;
- Node462.setRotation(0*Math.PI/180);
- Node462.a('node.width', Node462width);
- Node462.a('node.height', Node462height);
- Node462.a('node.rect', [0, 0, Node462width, Node462height]);
- Node462.a('node.bordercolor','rgba(0,0,0,1)');
- Node462.a('node.borderwidth', 0);
- Node462.a('node.background','' || 'rgba(0,0,0,0)');
- Node462.a('node.gradient','');
- Node462.a('node.gradientcolor','');
- Node462.a('node.text','TEXT');
- Node462.a('node.textalign','left');
- Node462.a('node.textvAlign','middle');
- Node462.a('node.textrect', [Node462textStart, 0, Node462textWidth, Node462height]);
- Node462.a('node.color','rgba(0,0,0,1)');
- Node462.a('node.font',' '+ Node462fontSize + 'px "Arial"');
- Node462.a('node.textvisible',true);
- Node462.a('node.linefeed',false);
- if (false) {
- Node462.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node462.a('node.text') || 'TEXT';
- var color=Node462.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node462width,Node462height,13.3333*_ratio.ratioY,"left",color,' '+ Node462fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node462.a('node.underlinepoints',[Node462lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node462fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node462fontSize + 'px "Arial"').width + 6, (Node462height - Node462fontSize) * 0.5*_ratio.ratioY + Node462fontSize + 2 ]);
- Node462.a('node.underlinevisible',false);
- Node462.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node462);
- zoomNodeList.push({
- node: Node462,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node463 = new ht.Node();
- var Node463textStart, Node463textWidth, Node463lineStart, Node463align = 'left', Node463fontSize = 13.3333*_ratio.ratioY,Node463width = 39*_ratio.ratioX, Node463height = 16*_ratio.ratioY;
- (function () {
- if (Node463align === 'left') {
- Node463textStart = Node463fontSize * 0.2 > 2 ? Node463fontSize * 0.2 - 4 : Node463fontSize * 0.2 - 9;
- Node463textWidth = Node463width;
- Node463lineStart = 1;
- } else if (Node463align === 'right') {
- Node463textStart = 0;
- Node463textWidth =Node463fontSize <= 8 ? Node463width + Node463fontSize * 0.2 + 6 : Node463width - Node463fontSize * 0.2;
- Node463lineStart = (Node463width - (ht.Default.getTextSize('TEXT', ' '+ Node463fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node463align === 'center') {
- Node463textStart = -3;
- Node463textWidth = Node463width;
- Node463lineStart = Node463width - ht.Default.getTextSize('TEXT', ' '+ Node463fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node463.setImage(GD.getTextJSON(Node463width, Node463height, true, false, false, ' '+ Node463fontSize + 'px "Arial"'))
- Node463.setPosition(1590*ratio.ratioX, 425*ratio.ratioY);
- Node463.setWidth(Node463width);
- Node463.setHeight(Node463height);
- Node463._nodeType = 'text';
- Node463._disallowEvert = true;
- Node463.setRotation(0*Math.PI/180);
- Node463.a('node.width', Node463width);
- Node463.a('node.height', Node463height);
- Node463.a('node.rect', [0, 0, Node463width, Node463height]);
- Node463.a('node.bordercolor','rgba(0,0,0,1)');
- Node463.a('node.borderwidth', 0);
- Node463.a('node.background','' || 'rgba(0,0,0,0)');
- Node463.a('node.gradient','');
- Node463.a('node.gradientcolor','');
- Node463.a('node.text','TEXT');
- Node463.a('node.textalign','left');
- Node463.a('node.textvAlign','middle');
- Node463.a('node.textrect', [Node463textStart, 0, Node463textWidth, Node463height]);
- Node463.a('node.color','rgba(0,0,0,1)');
- Node463.a('node.font',' '+ Node463fontSize + 'px "Arial"');
- Node463.a('node.textvisible',true);
- Node463.a('node.linefeed',false);
- if (false) {
- Node463.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node463.a('node.text') || 'TEXT';
- var color=Node463.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node463width,Node463height,13.3333*_ratio.ratioY,"left",color,' '+ Node463fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node463.a('node.underlinepoints',[Node463lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node463fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node463fontSize + 'px "Arial"').width + 6, (Node463height - Node463fontSize) * 0.5*_ratio.ratioY + Node463fontSize + 2 ]);
- Node463.a('node.underlinevisible',false);
- Node463.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node463);
- zoomNodeList.push({
- node: Node463,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node464 = new ht.Node();
- var Node464textStart, Node464textWidth, Node464lineStart, Node464align = 'left', Node464fontSize = 13.3333*_ratio.ratioY,Node464width = 39*_ratio.ratioX, Node464height = 16*_ratio.ratioY;
- (function () {
- if (Node464align === 'left') {
- Node464textStart = Node464fontSize * 0.2 > 2 ? Node464fontSize * 0.2 - 4 : Node464fontSize * 0.2 - 9;
- Node464textWidth = Node464width;
- Node464lineStart = 1;
- } else if (Node464align === 'right') {
- Node464textStart = 0;
- Node464textWidth =Node464fontSize <= 8 ? Node464width + Node464fontSize * 0.2 + 6 : Node464width - Node464fontSize * 0.2;
- Node464lineStart = (Node464width - (ht.Default.getTextSize('TEXT', ' '+ Node464fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node464align === 'center') {
- Node464textStart = -3;
- Node464textWidth = Node464width;
- Node464lineStart = Node464width - ht.Default.getTextSize('TEXT', ' '+ Node464fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node464.setImage(GD.getTextJSON(Node464width, Node464height, true, false, false, ' '+ Node464fontSize + 'px "Arial"'))
- Node464.setPosition(1590*ratio.ratioX, 443*ratio.ratioY);
- Node464.setWidth(Node464width);
- Node464.setHeight(Node464height);
- Node464._nodeType = 'text';
- Node464._disallowEvert = true;
- Node464.setRotation(0*Math.PI/180);
- Node464.a('node.width', Node464width);
- Node464.a('node.height', Node464height);
- Node464.a('node.rect', [0, 0, Node464width, Node464height]);
- Node464.a('node.bordercolor','rgba(0,0,0,1)');
- Node464.a('node.borderwidth', 0);
- Node464.a('node.background','' || 'rgba(0,0,0,0)');
- Node464.a('node.gradient','');
- Node464.a('node.gradientcolor','');
- Node464.a('node.text','TEXT');
- Node464.a('node.textalign','left');
- Node464.a('node.textvAlign','middle');
- Node464.a('node.textrect', [Node464textStart, 0, Node464textWidth, Node464height]);
- Node464.a('node.color','rgba(0,0,0,1)');
- Node464.a('node.font',' '+ Node464fontSize + 'px "Arial"');
- Node464.a('node.textvisible',true);
- Node464.a('node.linefeed',false);
- if (false) {
- Node464.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node464.a('node.text') || 'TEXT';
- var color=Node464.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node464width,Node464height,13.3333*_ratio.ratioY,"left",color,' '+ Node464fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node464.a('node.underlinepoints',[Node464lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node464fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node464fontSize + 'px "Arial"').width + 6, (Node464height - Node464fontSize) * 0.5*_ratio.ratioY + Node464fontSize + 2 ]);
- Node464.a('node.underlinevisible',false);
- Node464.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node464);
- zoomNodeList.push({
- node: Node464,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node465 = new ht.Node();
- var Node465textStart, Node465textWidth, Node465lineStart, Node465align = 'left', Node465fontSize = 13.3333*_ratio.ratioY,Node465width = 39*_ratio.ratioX, Node465height = 16*_ratio.ratioY;
- (function () {
- if (Node465align === 'left') {
- Node465textStart = Node465fontSize * 0.2 > 2 ? Node465fontSize * 0.2 - 4 : Node465fontSize * 0.2 - 9;
- Node465textWidth = Node465width;
- Node465lineStart = 1;
- } else if (Node465align === 'right') {
- Node465textStart = 0;
- Node465textWidth =Node465fontSize <= 8 ? Node465width + Node465fontSize * 0.2 + 6 : Node465width - Node465fontSize * 0.2;
- Node465lineStart = (Node465width - (ht.Default.getTextSize('TEXT', ' '+ Node465fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node465align === 'center') {
- Node465textStart = -3;
- Node465textWidth = Node465width;
- Node465lineStart = Node465width - ht.Default.getTextSize('TEXT', ' '+ Node465fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node465.setImage(GD.getTextJSON(Node465width, Node465height, true, false, false, ' '+ Node465fontSize + 'px "Arial"'))
- Node465.setPosition(1767*ratio.ratioX, 262*ratio.ratioY);
- Node465.setWidth(Node465width);
- Node465.setHeight(Node465height);
- Node465._nodeType = 'text';
- Node465._disallowEvert = true;
- Node465.setRotation(0*Math.PI/180);
- Node465.a('node.width', Node465width);
- Node465.a('node.height', Node465height);
- Node465.a('node.rect', [0, 0, Node465width, Node465height]);
- Node465.a('node.bordercolor','rgba(0,0,0,1)');
- Node465.a('node.borderwidth', 0);
- Node465.a('node.background','' || 'rgba(0,0,0,0)');
- Node465.a('node.gradient','');
- Node465.a('node.gradientcolor','');
- Node465.a('node.text','TEXT');
- Node465.a('node.textalign','left');
- Node465.a('node.textvAlign','middle');
- Node465.a('node.textrect', [Node465textStart, 0, Node465textWidth, Node465height]);
- Node465.a('node.color','rgba(0,0,0,1)');
- Node465.a('node.font',' '+ Node465fontSize + 'px "Arial"');
- Node465.a('node.textvisible',true);
- Node465.a('node.linefeed',false);
- if (false) {
- Node465.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node465.a('node.text') || 'TEXT';
- var color=Node465.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node465width,Node465height,13.3333*_ratio.ratioY,"left",color,' '+ Node465fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node465.a('node.underlinepoints',[Node465lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node465fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node465fontSize + 'px "Arial"').width + 6, (Node465height - Node465fontSize) * 0.5*_ratio.ratioY + Node465fontSize + 2 ]);
- Node465.a('node.underlinevisible',false);
- Node465.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node465);
- zoomNodeList.push({
- node: Node465,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node466 = new ht.Node();
- var Node466textStart, Node466textWidth, Node466lineStart, Node466align = 'left', Node466fontSize = 13.3333*_ratio.ratioY,Node466width = 39*_ratio.ratioX, Node466height = 16*_ratio.ratioY;
- (function () {
- if (Node466align === 'left') {
- Node466textStart = Node466fontSize * 0.2 > 2 ? Node466fontSize * 0.2 - 4 : Node466fontSize * 0.2 - 9;
- Node466textWidth = Node466width;
- Node466lineStart = 1;
- } else if (Node466align === 'right') {
- Node466textStart = 0;
- Node466textWidth =Node466fontSize <= 8 ? Node466width + Node466fontSize * 0.2 + 6 : Node466width - Node466fontSize * 0.2;
- Node466lineStart = (Node466width - (ht.Default.getTextSize('TEXT', ' '+ Node466fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node466align === 'center') {
- Node466textStart = -3;
- Node466textWidth = Node466width;
- Node466lineStart = Node466width - ht.Default.getTextSize('TEXT', ' '+ Node466fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node466.setImage(GD.getTextJSON(Node466width, Node466height, true, false, false, ' '+ Node466fontSize + 'px "Arial"'))
- Node466.setPosition(1767*ratio.ratioX, 282*ratio.ratioY);
- Node466.setWidth(Node466width);
- Node466.setHeight(Node466height);
- Node466._nodeType = 'text';
- Node466._disallowEvert = true;
- Node466.setRotation(0*Math.PI/180);
- Node466.a('node.width', Node466width);
- Node466.a('node.height', Node466height);
- Node466.a('node.rect', [0, 0, Node466width, Node466height]);
- Node466.a('node.bordercolor','rgba(0,0,0,1)');
- Node466.a('node.borderwidth', 0);
- Node466.a('node.background','' || 'rgba(0,0,0,0)');
- Node466.a('node.gradient','');
- Node466.a('node.gradientcolor','');
- Node466.a('node.text','TEXT');
- Node466.a('node.textalign','left');
- Node466.a('node.textvAlign','middle');
- Node466.a('node.textrect', [Node466textStart, 0, Node466textWidth, Node466height]);
- Node466.a('node.color','rgba(0,0,0,1)');
- Node466.a('node.font',' '+ Node466fontSize + 'px "Arial"');
- Node466.a('node.textvisible',true);
- Node466.a('node.linefeed',false);
- if (false) {
- Node466.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node466.a('node.text') || 'TEXT';
- var color=Node466.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node466width,Node466height,13.3333*_ratio.ratioY,"left",color,' '+ Node466fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node466.a('node.underlinepoints',[Node466lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node466fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node466fontSize + 'px "Arial"').width + 6, (Node466height - Node466fontSize) * 0.5*_ratio.ratioY + Node466fontSize + 2 ]);
- Node466.a('node.underlinevisible',false);
- Node466.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node466);
- zoomNodeList.push({
- node: Node466,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node467 = new ht.Node();
- var Node467textStart, Node467textWidth, Node467lineStart, Node467align = 'left', Node467fontSize = 13.3333*_ratio.ratioY,Node467width = 39*_ratio.ratioX, Node467height = 16*_ratio.ratioY;
- (function () {
- if (Node467align === 'left') {
- Node467textStart = Node467fontSize * 0.2 > 2 ? Node467fontSize * 0.2 - 4 : Node467fontSize * 0.2 - 9;
- Node467textWidth = Node467width;
- Node467lineStart = 1;
- } else if (Node467align === 'right') {
- Node467textStart = 0;
- Node467textWidth =Node467fontSize <= 8 ? Node467width + Node467fontSize * 0.2 + 6 : Node467width - Node467fontSize * 0.2;
- Node467lineStart = (Node467width - (ht.Default.getTextSize('TEXT', ' '+ Node467fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node467align === 'center') {
- Node467textStart = -3;
- Node467textWidth = Node467width;
- Node467lineStart = Node467width - ht.Default.getTextSize('TEXT', ' '+ Node467fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node467.setImage(GD.getTextJSON(Node467width, Node467height, true, false, false, ' '+ Node467fontSize + 'px "Arial"'))
- Node467.setPosition(1767*ratio.ratioX, 302*ratio.ratioY);
- Node467.setWidth(Node467width);
- Node467.setHeight(Node467height);
- Node467._nodeType = 'text';
- Node467._disallowEvert = true;
- Node467.setRotation(0*Math.PI/180);
- Node467.a('node.width', Node467width);
- Node467.a('node.height', Node467height);
- Node467.a('node.rect', [0, 0, Node467width, Node467height]);
- Node467.a('node.bordercolor','rgba(0,0,0,1)');
- Node467.a('node.borderwidth', 0);
- Node467.a('node.background','' || 'rgba(0,0,0,0)');
- Node467.a('node.gradient','');
- Node467.a('node.gradientcolor','');
- Node467.a('node.text','TEXT');
- Node467.a('node.textalign','left');
- Node467.a('node.textvAlign','middle');
- Node467.a('node.textrect', [Node467textStart, 0, Node467textWidth, Node467height]);
- Node467.a('node.color','rgba(0,0,0,1)');
- Node467.a('node.font',' '+ Node467fontSize + 'px "Arial"');
- Node467.a('node.textvisible',true);
- Node467.a('node.linefeed',false);
- if (false) {
- Node467.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node467.a('node.text') || 'TEXT';
- var color=Node467.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node467width,Node467height,13.3333*_ratio.ratioY,"left",color,' '+ Node467fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node467.a('node.underlinepoints',[Node467lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node467fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node467fontSize + 'px "Arial"').width + 6, (Node467height - Node467fontSize) * 0.5*_ratio.ratioY + Node467fontSize + 2 ]);
- Node467.a('node.underlinevisible',false);
- Node467.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node467);
- zoomNodeList.push({
- node: Node467,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node468 = new ht.Node();
- var Node468textStart, Node468textWidth, Node468lineStart, Node468align = 'left', Node468fontSize = 13.3333*_ratio.ratioY,Node468width = 39*_ratio.ratioX, Node468height = 16*_ratio.ratioY;
- (function () {
- if (Node468align === 'left') {
- Node468textStart = Node468fontSize * 0.2 > 2 ? Node468fontSize * 0.2 - 4 : Node468fontSize * 0.2 - 9;
- Node468textWidth = Node468width;
- Node468lineStart = 1;
- } else if (Node468align === 'right') {
- Node468textStart = 0;
- Node468textWidth =Node468fontSize <= 8 ? Node468width + Node468fontSize * 0.2 + 6 : Node468width - Node468fontSize * 0.2;
- Node468lineStart = (Node468width - (ht.Default.getTextSize('TEXT', ' '+ Node468fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node468align === 'center') {
- Node468textStart = -3;
- Node468textWidth = Node468width;
- Node468lineStart = Node468width - ht.Default.getTextSize('TEXT', ' '+ Node468fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node468.setImage(GD.getTextJSON(Node468width, Node468height, true, false, false, ' '+ Node468fontSize + 'px "Arial"'))
- Node468.setPosition(1317*ratio.ratioX, 222*ratio.ratioY);
- Node468.setWidth(Node468width);
- Node468.setHeight(Node468height);
- Node468._nodeType = 'text';
- Node468._disallowEvert = true;
- Node468.setRotation(0*Math.PI/180);
- Node468.a('node.width', Node468width);
- Node468.a('node.height', Node468height);
- Node468.a('node.rect', [0, 0, Node468width, Node468height]);
- Node468.a('node.bordercolor','rgba(0,0,0,1)');
- Node468.a('node.borderwidth', 0);
- Node468.a('node.background','' || 'rgba(0,0,0,0)');
- Node468.a('node.gradient','');
- Node468.a('node.gradientcolor','');
- Node468.a('node.text','TEXT');
- Node468.a('node.textalign','left');
- Node468.a('node.textvAlign','middle');
- Node468.a('node.textrect', [Node468textStart, 0, Node468textWidth, Node468height]);
- Node468.a('node.color','rgba(0,0,0,1)');
- Node468.a('node.font',' '+ Node468fontSize + 'px "Arial"');
- Node468.a('node.textvisible',true);
- Node468.a('node.linefeed',false);
- if (false) {
- Node468.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node468.a('node.text') || 'TEXT';
- var color=Node468.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node468width,Node468height,13.3333*_ratio.ratioY,"left",color,' '+ Node468fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node468.a('node.underlinepoints',[Node468lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node468fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node468fontSize + 'px "Arial"').width + 6, (Node468height - Node468fontSize) * 0.5*_ratio.ratioY + Node468fontSize + 2 ]);
- Node468.a('node.underlinevisible',false);
- Node468.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node468);
- zoomNodeList.push({
- node: Node468,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node469 = new ht.Node();
- var Node469textStart, Node469textWidth, Node469lineStart, Node469align = 'left', Node469fontSize = 13.3333*_ratio.ratioY,Node469width = 39*_ratio.ratioX, Node469height = 16*_ratio.ratioY;
- (function () {
- if (Node469align === 'left') {
- Node469textStart = Node469fontSize * 0.2 > 2 ? Node469fontSize * 0.2 - 4 : Node469fontSize * 0.2 - 9;
- Node469textWidth = Node469width;
- Node469lineStart = 1;
- } else if (Node469align === 'right') {
- Node469textStart = 0;
- Node469textWidth =Node469fontSize <= 8 ? Node469width + Node469fontSize * 0.2 + 6 : Node469width - Node469fontSize * 0.2;
- Node469lineStart = (Node469width - (ht.Default.getTextSize('TEXT', ' '+ Node469fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node469align === 'center') {
- Node469textStart = -3;
- Node469textWidth = Node469width;
- Node469lineStart = Node469width - ht.Default.getTextSize('TEXT', ' '+ Node469fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node469.setImage(GD.getTextJSON(Node469width, Node469height, true, false, false, ' '+ Node469fontSize + 'px "Arial"'))
- Node469.setPosition(1317*ratio.ratioX, 242*ratio.ratioY);
- Node469.setWidth(Node469width);
- Node469.setHeight(Node469height);
- Node469._nodeType = 'text';
- Node469._disallowEvert = true;
- Node469.setRotation(0*Math.PI/180);
- Node469.a('node.width', Node469width);
- Node469.a('node.height', Node469height);
- Node469.a('node.rect', [0, 0, Node469width, Node469height]);
- Node469.a('node.bordercolor','rgba(0,0,0,1)');
- Node469.a('node.borderwidth', 0);
- Node469.a('node.background','' || 'rgba(0,0,0,0)');
- Node469.a('node.gradient','');
- Node469.a('node.gradientcolor','');
- Node469.a('node.text','TEXT');
- Node469.a('node.textalign','left');
- Node469.a('node.textvAlign','middle');
- Node469.a('node.textrect', [Node469textStart, 0, Node469textWidth, Node469height]);
- Node469.a('node.color','rgba(0,0,0,1)');
- Node469.a('node.font',' '+ Node469fontSize + 'px "Arial"');
- Node469.a('node.textvisible',true);
- Node469.a('node.linefeed',false);
- if (false) {
- Node469.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node469.a('node.text') || 'TEXT';
- var color=Node469.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node469width,Node469height,13.3333*_ratio.ratioY,"left",color,' '+ Node469fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node469.a('node.underlinepoints',[Node469lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node469fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node469fontSize + 'px "Arial"').width + 6, (Node469height - Node469fontSize) * 0.5*_ratio.ratioY + Node469fontSize + 2 ]);
- Node469.a('node.underlinevisible',false);
- Node469.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node469);
- zoomNodeList.push({
- node: Node469,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node470 = new ht.Node();
- var Node470textStart, Node470textWidth, Node470lineStart, Node470align = 'left', Node470fontSize = 13.3333*_ratio.ratioY,Node470width = 39*_ratio.ratioX, Node470height = 16*_ratio.ratioY;
- (function () {
- if (Node470align === 'left') {
- Node470textStart = Node470fontSize * 0.2 > 2 ? Node470fontSize * 0.2 - 4 : Node470fontSize * 0.2 - 9;
- Node470textWidth = Node470width;
- Node470lineStart = 1;
- } else if (Node470align === 'right') {
- Node470textStart = 0;
- Node470textWidth =Node470fontSize <= 8 ? Node470width + Node470fontSize * 0.2 + 6 : Node470width - Node470fontSize * 0.2;
- Node470lineStart = (Node470width - (ht.Default.getTextSize('TEXT', ' '+ Node470fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node470align === 'center') {
- Node470textStart = -3;
- Node470textWidth = Node470width;
- Node470lineStart = Node470width - ht.Default.getTextSize('TEXT', ' '+ Node470fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node470.setImage(GD.getTextJSON(Node470width, Node470height, true, false, false, ' '+ Node470fontSize + 'px "Arial"'))
- Node470.setPosition(1317*ratio.ratioX, 262*ratio.ratioY);
- Node470.setWidth(Node470width);
- Node470.setHeight(Node470height);
- Node470._nodeType = 'text';
- Node470._disallowEvert = true;
- Node470.setRotation(0*Math.PI/180);
- Node470.a('node.width', Node470width);
- Node470.a('node.height', Node470height);
- Node470.a('node.rect', [0, 0, Node470width, Node470height]);
- Node470.a('node.bordercolor','rgba(0,0,0,1)');
- Node470.a('node.borderwidth', 0);
- Node470.a('node.background','' || 'rgba(0,0,0,0)');
- Node470.a('node.gradient','');
- Node470.a('node.gradientcolor','');
- Node470.a('node.text','TEXT');
- Node470.a('node.textalign','left');
- Node470.a('node.textvAlign','middle');
- Node470.a('node.textrect', [Node470textStart, 0, Node470textWidth, Node470height]);
- Node470.a('node.color','rgba(0,0,0,1)');
- Node470.a('node.font',' '+ Node470fontSize + 'px "Arial"');
- Node470.a('node.textvisible',true);
- Node470.a('node.linefeed',false);
- if (false) {
- Node470.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node470.a('node.text') || 'TEXT';
- var color=Node470.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node470width,Node470height,13.3333*_ratio.ratioY,"left",color,' '+ Node470fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node470.a('node.underlinepoints',[Node470lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node470fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node470fontSize + 'px "Arial"').width + 6, (Node470height - Node470fontSize) * 0.5*_ratio.ratioY + Node470fontSize + 2 ]);
- Node470.a('node.underlinevisible',false);
- Node470.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node470);
- zoomNodeList.push({
- node: Node470,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node471 = new ht.Node();
- var Node471textStart, Node471textWidth, Node471lineStart, Node471align = 'left', Node471fontSize = 13.3333*_ratio.ratioY,Node471width = 39*_ratio.ratioX, Node471height = 16*_ratio.ratioY;
- (function () {
- if (Node471align === 'left') {
- Node471textStart = Node471fontSize * 0.2 > 2 ? Node471fontSize * 0.2 - 4 : Node471fontSize * 0.2 - 9;
- Node471textWidth = Node471width;
- Node471lineStart = 1;
- } else if (Node471align === 'right') {
- Node471textStart = 0;
- Node471textWidth =Node471fontSize <= 8 ? Node471width + Node471fontSize * 0.2 + 6 : Node471width - Node471fontSize * 0.2;
- Node471lineStart = (Node471width - (ht.Default.getTextSize('TEXT', ' '+ Node471fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node471align === 'center') {
- Node471textStart = -3;
- Node471textWidth = Node471width;
- Node471lineStart = Node471width - ht.Default.getTextSize('TEXT', ' '+ Node471fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node471.setImage(GD.getTextJSON(Node471width, Node471height, true, false, false, ' '+ Node471fontSize + 'px "Arial"'))
- Node471.setPosition(1317*ratio.ratioX, 282*ratio.ratioY);
- Node471.setWidth(Node471width);
- Node471.setHeight(Node471height);
- Node471._nodeType = 'text';
- Node471._disallowEvert = true;
- Node471.setRotation(0*Math.PI/180);
- Node471.a('node.width', Node471width);
- Node471.a('node.height', Node471height);
- Node471.a('node.rect', [0, 0, Node471width, Node471height]);
- Node471.a('node.bordercolor','rgba(0,0,0,1)');
- Node471.a('node.borderwidth', 0);
- Node471.a('node.background','' || 'rgba(0,0,0,0)');
- Node471.a('node.gradient','');
- Node471.a('node.gradientcolor','');
- Node471.a('node.text','TEXT');
- Node471.a('node.textalign','left');
- Node471.a('node.textvAlign','middle');
- Node471.a('node.textrect', [Node471textStart, 0, Node471textWidth, Node471height]);
- Node471.a('node.color','rgba(0,0,0,1)');
- Node471.a('node.font',' '+ Node471fontSize + 'px "Arial"');
- Node471.a('node.textvisible',true);
- Node471.a('node.linefeed',false);
- if (false) {
- Node471.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node471.a('node.text') || 'TEXT';
- var color=Node471.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node471width,Node471height,13.3333*_ratio.ratioY,"left",color,' '+ Node471fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node471.a('node.underlinepoints',[Node471lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node471fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node471fontSize + 'px "Arial"').width + 6, (Node471height - Node471fontSize) * 0.5*_ratio.ratioY + Node471fontSize + 2 ]);
- Node471.a('node.underlinevisible',false);
- Node471.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node471);
- zoomNodeList.push({
- node: Node471,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node472 = new ht.Node();
- var Node472textStart, Node472textWidth, Node472lineStart, Node472align = 'left', Node472fontSize = 13.3333*_ratio.ratioY,Node472width = 39*_ratio.ratioX, Node472height = 16*_ratio.ratioY;
- (function () {
- if (Node472align === 'left') {
- Node472textStart = Node472fontSize * 0.2 > 2 ? Node472fontSize * 0.2 - 4 : Node472fontSize * 0.2 - 9;
- Node472textWidth = Node472width;
- Node472lineStart = 1;
- } else if (Node472align === 'right') {
- Node472textStart = 0;
- Node472textWidth =Node472fontSize <= 8 ? Node472width + Node472fontSize * 0.2 + 6 : Node472width - Node472fontSize * 0.2;
- Node472lineStart = (Node472width - (ht.Default.getTextSize('TEXT', ' '+ Node472fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node472align === 'center') {
- Node472textStart = -3;
- Node472textWidth = Node472width;
- Node472lineStart = Node472width - ht.Default.getTextSize('TEXT', ' '+ Node472fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node472.setImage(GD.getTextJSON(Node472width, Node472height, true, false, false, ' '+ Node472fontSize + 'px "Arial"'))
- Node472.setPosition(1317*ratio.ratioX, 302*ratio.ratioY);
- Node472.setWidth(Node472width);
- Node472.setHeight(Node472height);
- Node472._nodeType = 'text';
- Node472._disallowEvert = true;
- Node472.setRotation(0*Math.PI/180);
- Node472.a('node.width', Node472width);
- Node472.a('node.height', Node472height);
- Node472.a('node.rect', [0, 0, Node472width, Node472height]);
- Node472.a('node.bordercolor','rgba(0,0,0,1)');
- Node472.a('node.borderwidth', 0);
- Node472.a('node.background','' || 'rgba(0,0,0,0)');
- Node472.a('node.gradient','');
- Node472.a('node.gradientcolor','');
- Node472.a('node.text','TEXT');
- Node472.a('node.textalign','left');
- Node472.a('node.textvAlign','middle');
- Node472.a('node.textrect', [Node472textStart, 0, Node472textWidth, Node472height]);
- Node472.a('node.color','rgba(0,0,0,1)');
- Node472.a('node.font',' '+ Node472fontSize + 'px "Arial"');
- Node472.a('node.textvisible',true);
- Node472.a('node.linefeed',false);
- if (false) {
- Node472.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node472.a('node.text') || 'TEXT';
- var color=Node472.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node472width,Node472height,13.3333*_ratio.ratioY,"left",color,' '+ Node472fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node472.a('node.underlinepoints',[Node472lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node472fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node472fontSize + 'px "Arial"').width + 6, (Node472height - Node472fontSize) * 0.5*_ratio.ratioY + Node472fontSize + 2 ]);
- Node472.a('node.underlinevisible',false);
- Node472.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node472);
- zoomNodeList.push({
- node: Node472,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node473 = new ht.Node();
- var Node473textStart, Node473textWidth, Node473lineStart, Node473align = 'left', Node473fontSize = 13.3333*_ratio.ratioY,Node473width = 39*_ratio.ratioX, Node473height = 16*_ratio.ratioY;
- (function () {
- if (Node473align === 'left') {
- Node473textStart = Node473fontSize * 0.2 > 2 ? Node473fontSize * 0.2 - 4 : Node473fontSize * 0.2 - 9;
- Node473textWidth = Node473width;
- Node473lineStart = 1;
- } else if (Node473align === 'right') {
- Node473textStart = 0;
- Node473textWidth =Node473fontSize <= 8 ? Node473width + Node473fontSize * 0.2 + 6 : Node473width - Node473fontSize * 0.2;
- Node473lineStart = (Node473width - (ht.Default.getTextSize('TEXT', ' '+ Node473fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node473align === 'center') {
- Node473textStart = -3;
- Node473textWidth = Node473width;
- Node473lineStart = Node473width - ht.Default.getTextSize('TEXT', ' '+ Node473fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node473.setImage(GD.getTextJSON(Node473width, Node473height, true, false, false, ' '+ Node473fontSize + 'px "Arial"'))
- Node473.setPosition(867*ratio.ratioX, 262*ratio.ratioY);
- Node473.setWidth(Node473width);
- Node473.setHeight(Node473height);
- Node473._nodeType = 'text';
- Node473._disallowEvert = true;
- Node473.setRotation(0*Math.PI/180);
- Node473.a('node.width', Node473width);
- Node473.a('node.height', Node473height);
- Node473.a('node.rect', [0, 0, Node473width, Node473height]);
- Node473.a('node.bordercolor','rgba(0,0,0,1)');
- Node473.a('node.borderwidth', 0);
- Node473.a('node.background','' || 'rgba(0,0,0,0)');
- Node473.a('node.gradient','');
- Node473.a('node.gradientcolor','');
- Node473.a('node.text','TEXT');
- Node473.a('node.textalign','left');
- Node473.a('node.textvAlign','middle');
- Node473.a('node.textrect', [Node473textStart, 0, Node473textWidth, Node473height]);
- Node473.a('node.color','rgba(0,0,0,1)');
- Node473.a('node.font',' '+ Node473fontSize + 'px "Arial"');
- Node473.a('node.textvisible',true);
- Node473.a('node.linefeed',false);
- if (false) {
- Node473.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node473.a('node.text') || 'TEXT';
- var color=Node473.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node473width,Node473height,13.3333*_ratio.ratioY,"left",color,' '+ Node473fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node473.a('node.underlinepoints',[Node473lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node473fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node473fontSize + 'px "Arial"').width + 6, (Node473height - Node473fontSize) * 0.5*_ratio.ratioY + Node473fontSize + 2 ]);
- Node473.a('node.underlinevisible',false);
- Node473.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node473);
- zoomNodeList.push({
- node: Node473,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node474 = new ht.Node();
- var Node474textStart, Node474textWidth, Node474lineStart, Node474align = 'left', Node474fontSize = 13.3333*_ratio.ratioY,Node474width = 39*_ratio.ratioX, Node474height = 16*_ratio.ratioY;
- (function () {
- if (Node474align === 'left') {
- Node474textStart = Node474fontSize * 0.2 > 2 ? Node474fontSize * 0.2 - 4 : Node474fontSize * 0.2 - 9;
- Node474textWidth = Node474width;
- Node474lineStart = 1;
- } else if (Node474align === 'right') {
- Node474textStart = 0;
- Node474textWidth =Node474fontSize <= 8 ? Node474width + Node474fontSize * 0.2 + 6 : Node474width - Node474fontSize * 0.2;
- Node474lineStart = (Node474width - (ht.Default.getTextSize('TEXT', ' '+ Node474fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node474align === 'center') {
- Node474textStart = -3;
- Node474textWidth = Node474width;
- Node474lineStart = Node474width - ht.Default.getTextSize('TEXT', ' '+ Node474fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node474.setImage(GD.getTextJSON(Node474width, Node474height, true, false, false, ' '+ Node474fontSize + 'px "Arial"'))
- Node474.setPosition(867*ratio.ratioX, 282*ratio.ratioY);
- Node474.setWidth(Node474width);
- Node474.setHeight(Node474height);
- Node474._nodeType = 'text';
- Node474._disallowEvert = true;
- Node474.setRotation(0*Math.PI/180);
- Node474.a('node.width', Node474width);
- Node474.a('node.height', Node474height);
- Node474.a('node.rect', [0, 0, Node474width, Node474height]);
- Node474.a('node.bordercolor','rgba(0,0,0,1)');
- Node474.a('node.borderwidth', 0);
- Node474.a('node.background','' || 'rgba(0,0,0,0)');
- Node474.a('node.gradient','');
- Node474.a('node.gradientcolor','');
- Node474.a('node.text','TEXT');
- Node474.a('node.textalign','left');
- Node474.a('node.textvAlign','middle');
- Node474.a('node.textrect', [Node474textStart, 0, Node474textWidth, Node474height]);
- Node474.a('node.color','rgba(0,0,0,1)');
- Node474.a('node.font',' '+ Node474fontSize + 'px "Arial"');
- Node474.a('node.textvisible',true);
- Node474.a('node.linefeed',false);
- if (false) {
- Node474.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node474.a('node.text') || 'TEXT';
- var color=Node474.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node474width,Node474height,13.3333*_ratio.ratioY,"left",color,' '+ Node474fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node474.a('node.underlinepoints',[Node474lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node474fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node474fontSize + 'px "Arial"').width + 6, (Node474height - Node474fontSize) * 0.5*_ratio.ratioY + Node474fontSize + 2 ]);
- Node474.a('node.underlinevisible',false);
- Node474.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node474);
- zoomNodeList.push({
- node: Node474,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node475 = new ht.Node();
- var Node475textStart, Node475textWidth, Node475lineStart, Node475align = 'left', Node475fontSize = 13.3333*_ratio.ratioY,Node475width = 39*_ratio.ratioX, Node475height = 16*_ratio.ratioY;
- (function () {
- if (Node475align === 'left') {
- Node475textStart = Node475fontSize * 0.2 > 2 ? Node475fontSize * 0.2 - 4 : Node475fontSize * 0.2 - 9;
- Node475textWidth = Node475width;
- Node475lineStart = 1;
- } else if (Node475align === 'right') {
- Node475textStart = 0;
- Node475textWidth =Node475fontSize <= 8 ? Node475width + Node475fontSize * 0.2 + 6 : Node475width - Node475fontSize * 0.2;
- Node475lineStart = (Node475width - (ht.Default.getTextSize('TEXT', ' '+ Node475fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node475align === 'center') {
- Node475textStart = -3;
- Node475textWidth = Node475width;
- Node475lineStart = Node475width - ht.Default.getTextSize('TEXT', ' '+ Node475fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node475.setImage(GD.getTextJSON(Node475width, Node475height, true, false, false, ' '+ Node475fontSize + 'px "Arial"'))
- Node475.setPosition(867*ratio.ratioX, 302*ratio.ratioY);
- Node475.setWidth(Node475width);
- Node475.setHeight(Node475height);
- Node475._nodeType = 'text';
- Node475._disallowEvert = true;
- Node475.setRotation(0*Math.PI/180);
- Node475.a('node.width', Node475width);
- Node475.a('node.height', Node475height);
- Node475.a('node.rect', [0, 0, Node475width, Node475height]);
- Node475.a('node.bordercolor','rgba(0,0,0,1)');
- Node475.a('node.borderwidth', 0);
- Node475.a('node.background','' || 'rgba(0,0,0,0)');
- Node475.a('node.gradient','');
- Node475.a('node.gradientcolor','');
- Node475.a('node.text','TEXT');
- Node475.a('node.textalign','left');
- Node475.a('node.textvAlign','middle');
- Node475.a('node.textrect', [Node475textStart, 0, Node475textWidth, Node475height]);
- Node475.a('node.color','rgba(0,0,0,1)');
- Node475.a('node.font',' '+ Node475fontSize + 'px "Arial"');
- Node475.a('node.textvisible',true);
- Node475.a('node.linefeed',false);
- if (false) {
- Node475.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node475.a('node.text') || 'TEXT';
- var color=Node475.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node475width,Node475height,13.3333*_ratio.ratioY,"left",color,' '+ Node475fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node475.a('node.underlinepoints',[Node475lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node475fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node475fontSize + 'px "Arial"').width + 6, (Node475height - Node475fontSize) * 0.5*_ratio.ratioY + Node475fontSize + 2 ]);
- Node475.a('node.underlinevisible',false);
- Node475.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node475);
- zoomNodeList.push({
- node: Node475,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node476 = new ht.Node();
- var Node476textStart, Node476textWidth, Node476lineStart, Node476align = 'left', Node476fontSize = 13.3333*_ratio.ratioY,Node476width = 39*_ratio.ratioX, Node476height = 16*_ratio.ratioY;
- (function () {
- if (Node476align === 'left') {
- Node476textStart = Node476fontSize * 0.2 > 2 ? Node476fontSize * 0.2 - 4 : Node476fontSize * 0.2 - 9;
- Node476textWidth = Node476width;
- Node476lineStart = 1;
- } else if (Node476align === 'right') {
- Node476textStart = 0;
- Node476textWidth =Node476fontSize <= 8 ? Node476width + Node476fontSize * 0.2 + 6 : Node476width - Node476fontSize * 0.2;
- Node476lineStart = (Node476width - (ht.Default.getTextSize('TEXT', ' '+ Node476fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node476align === 'center') {
- Node476textStart = -3;
- Node476textWidth = Node476width;
- Node476lineStart = Node476width - ht.Default.getTextSize('TEXT', ' '+ Node476fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node476.setImage(GD.getTextJSON(Node476width, Node476height, true, false, false, ' '+ Node476fontSize + 'px "Arial"'))
- Node476.setPosition(887*ratio.ratioX, 332*ratio.ratioY);
- Node476.setWidth(Node476width);
- Node476.setHeight(Node476height);
- Node476._nodeType = 'text';
- Node476._disallowEvert = true;
- Node476.setRotation(0*Math.PI/180);
- Node476.a('node.width', Node476width);
- Node476.a('node.height', Node476height);
- Node476.a('node.rect', [0, 0, Node476width, Node476height]);
- Node476.a('node.bordercolor','rgba(0,0,0,1)');
- Node476.a('node.borderwidth', 0);
- Node476.a('node.background','' || 'rgba(0,0,0,0)');
- Node476.a('node.gradient','');
- Node476.a('node.gradientcolor','');
- Node476.a('node.text','TEXT');
- Node476.a('node.textalign','left');
- Node476.a('node.textvAlign','middle');
- Node476.a('node.textrect', [Node476textStart, 0, Node476textWidth, Node476height]);
- Node476.a('node.color','rgba(0,0,0,1)');
- Node476.a('node.font',' '+ Node476fontSize + 'px "Arial"');
- Node476.a('node.textvisible',true);
- Node476.a('node.linefeed',false);
- if (false) {
- Node476.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node476.a('node.text') || 'TEXT';
- var color=Node476.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node476width,Node476height,13.3333*_ratio.ratioY,"left",color,' '+ Node476fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node476.a('node.underlinepoints',[Node476lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node476fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node476fontSize + 'px "Arial"').width + 6, (Node476height - Node476fontSize) * 0.5*_ratio.ratioY + Node476fontSize + 2 ]);
- Node476.a('node.underlinevisible',false);
- Node476.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node476);
- zoomNodeList.push({
- node: Node476,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node477 = new ht.Node();
- var Node477textStart, Node477textWidth, Node477lineStart, Node477align = 'left', Node477fontSize = 13.3333*_ratio.ratioY,Node477width = 39*_ratio.ratioX, Node477height = 16*_ratio.ratioY;
- (function () {
- if (Node477align === 'left') {
- Node477textStart = Node477fontSize * 0.2 > 2 ? Node477fontSize * 0.2 - 4 : Node477fontSize * 0.2 - 9;
- Node477textWidth = Node477width;
- Node477lineStart = 1;
- } else if (Node477align === 'right') {
- Node477textStart = 0;
- Node477textWidth =Node477fontSize <= 8 ? Node477width + Node477fontSize * 0.2 + 6 : Node477width - Node477fontSize * 0.2;
- Node477lineStart = (Node477width - (ht.Default.getTextSize('TEXT', ' '+ Node477fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node477align === 'center') {
- Node477textStart = -3;
- Node477textWidth = Node477width;
- Node477lineStart = Node477width - ht.Default.getTextSize('TEXT', ' '+ Node477fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node477.setImage(GD.getTextJSON(Node477width, Node477height, true, false, false, ' '+ Node477fontSize + 'px "Arial"'))
- Node477.setPosition(887*ratio.ratioX, 354*ratio.ratioY);
- Node477.setWidth(Node477width);
- Node477.setHeight(Node477height);
- Node477._nodeType = 'text';
- Node477._disallowEvert = true;
- Node477.setRotation(0*Math.PI/180);
- Node477.a('node.width', Node477width);
- Node477.a('node.height', Node477height);
- Node477.a('node.rect', [0, 0, Node477width, Node477height]);
- Node477.a('node.bordercolor','rgba(0,0,0,1)');
- Node477.a('node.borderwidth', 0);
- Node477.a('node.background','' || 'rgba(0,0,0,0)');
- Node477.a('node.gradient','');
- Node477.a('node.gradientcolor','');
- Node477.a('node.text','TEXT');
- Node477.a('node.textalign','left');
- Node477.a('node.textvAlign','middle');
- Node477.a('node.textrect', [Node477textStart, 0, Node477textWidth, Node477height]);
- Node477.a('node.color','rgba(0,0,0,1)');
- Node477.a('node.font',' '+ Node477fontSize + 'px "Arial"');
- Node477.a('node.textvisible',true);
- Node477.a('node.linefeed',false);
- if (false) {
- Node477.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node477.a('node.text') || 'TEXT';
- var color=Node477.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node477width,Node477height,13.3333*_ratio.ratioY,"left",color,' '+ Node477fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node477.a('node.underlinepoints',[Node477lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node477fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node477fontSize + 'px "Arial"').width + 6, (Node477height - Node477fontSize) * 0.5*_ratio.ratioY + Node477fontSize + 2 ]);
- Node477.a('node.underlinevisible',false);
- Node477.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node477);
- zoomNodeList.push({
- node: Node477,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node478 = new ht.Node();
- var Node478textStart, Node478textWidth, Node478lineStart, Node478align = 'left', Node478fontSize = 13.3333*_ratio.ratioY,Node478width = 39*_ratio.ratioX, Node478height = 16*_ratio.ratioY;
- (function () {
- if (Node478align === 'left') {
- Node478textStart = Node478fontSize * 0.2 > 2 ? Node478fontSize * 0.2 - 4 : Node478fontSize * 0.2 - 9;
- Node478textWidth = Node478width;
- Node478lineStart = 1;
- } else if (Node478align === 'right') {
- Node478textStart = 0;
- Node478textWidth =Node478fontSize <= 8 ? Node478width + Node478fontSize * 0.2 + 6 : Node478width - Node478fontSize * 0.2;
- Node478lineStart = (Node478width - (ht.Default.getTextSize('TEXT', ' '+ Node478fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node478align === 'center') {
- Node478textStart = -3;
- Node478textWidth = Node478width;
- Node478lineStart = Node478width - ht.Default.getTextSize('TEXT', ' '+ Node478fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node478.setImage(GD.getTextJSON(Node478width, Node478height, true, false, false, ' '+ Node478fontSize + 'px "Arial"'))
- Node478.setPosition(737*ratio.ratioX, 332*ratio.ratioY);
- Node478.setWidth(Node478width);
- Node478.setHeight(Node478height);
- Node478._nodeType = 'text';
- Node478._disallowEvert = true;
- Node478.setRotation(0*Math.PI/180);
- Node478.a('node.width', Node478width);
- Node478.a('node.height', Node478height);
- Node478.a('node.rect', [0, 0, Node478width, Node478height]);
- Node478.a('node.bordercolor','rgba(0,0,0,1)');
- Node478.a('node.borderwidth', 0);
- Node478.a('node.background','' || 'rgba(0,0,0,0)');
- Node478.a('node.gradient','');
- Node478.a('node.gradientcolor','');
- Node478.a('node.text','TEXT');
- Node478.a('node.textalign','left');
- Node478.a('node.textvAlign','middle');
- Node478.a('node.textrect', [Node478textStart, 0, Node478textWidth, Node478height]);
- Node478.a('node.color','rgba(0,0,0,1)');
- Node478.a('node.font',' '+ Node478fontSize + 'px "Arial"');
- Node478.a('node.textvisible',true);
- Node478.a('node.linefeed',false);
- if (false) {
- Node478.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node478.a('node.text') || 'TEXT';
- var color=Node478.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node478width,Node478height,13.3333*_ratio.ratioY,"left",color,' '+ Node478fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node478.a('node.underlinepoints',[Node478lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node478fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node478fontSize + 'px "Arial"').width + 6, (Node478height - Node478fontSize) * 0.5*_ratio.ratioY + Node478fontSize + 2 ]);
- Node478.a('node.underlinevisible',false);
- Node478.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node478);
- zoomNodeList.push({
- node: Node478,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node479 = new ht.Node();
- var Node479textStart, Node479textWidth, Node479lineStart, Node479align = 'left', Node479fontSize = 13.3333*_ratio.ratioY,Node479width = 39*_ratio.ratioX, Node479height = 16*_ratio.ratioY;
- (function () {
- if (Node479align === 'left') {
- Node479textStart = Node479fontSize * 0.2 > 2 ? Node479fontSize * 0.2 - 4 : Node479fontSize * 0.2 - 9;
- Node479textWidth = Node479width;
- Node479lineStart = 1;
- } else if (Node479align === 'right') {
- Node479textStart = 0;
- Node479textWidth =Node479fontSize <= 8 ? Node479width + Node479fontSize * 0.2 + 6 : Node479width - Node479fontSize * 0.2;
- Node479lineStart = (Node479width - (ht.Default.getTextSize('TEXT', ' '+ Node479fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node479align === 'center') {
- Node479textStart = -3;
- Node479textWidth = Node479width;
- Node479lineStart = Node479width - ht.Default.getTextSize('TEXT', ' '+ Node479fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node479.setImage(GD.getTextJSON(Node479width, Node479height, true, false, false, ' '+ Node479fontSize + 'px "Arial"'))
- Node479.setPosition(737*ratio.ratioX, 354*ratio.ratioY);
- Node479.setWidth(Node479width);
- Node479.setHeight(Node479height);
- Node479._nodeType = 'text';
- Node479._disallowEvert = true;
- Node479.setRotation(0*Math.PI/180);
- Node479.a('node.width', Node479width);
- Node479.a('node.height', Node479height);
- Node479.a('node.rect', [0, 0, Node479width, Node479height]);
- Node479.a('node.bordercolor','rgba(0,0,0,1)');
- Node479.a('node.borderwidth', 0);
- Node479.a('node.background','' || 'rgba(0,0,0,0)');
- Node479.a('node.gradient','');
- Node479.a('node.gradientcolor','');
- Node479.a('node.text','TEXT');
- Node479.a('node.textalign','left');
- Node479.a('node.textvAlign','middle');
- Node479.a('node.textrect', [Node479textStart, 0, Node479textWidth, Node479height]);
- Node479.a('node.color','rgba(0,0,0,1)');
- Node479.a('node.font',' '+ Node479fontSize + 'px "Arial"');
- Node479.a('node.textvisible',true);
- Node479.a('node.linefeed',false);
- if (false) {
- Node479.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node479.a('node.text') || 'TEXT';
- var color=Node479.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node479width,Node479height,13.3333*_ratio.ratioY,"left",color,' '+ Node479fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node479.a('node.underlinepoints',[Node479lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node479fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node479fontSize + 'px "Arial"').width + 6, (Node479height - Node479fontSize) * 0.5*_ratio.ratioY + Node479fontSize + 2 ]);
- Node479.a('node.underlinevisible',false);
- Node479.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node479);
- zoomNodeList.push({
- node: Node479,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node480 = new ht.Node();
- var Node480textStart, Node480textWidth, Node480lineStart, Node480align = 'left', Node480fontSize = 13.3333*_ratio.ratioY,Node480width = 39*_ratio.ratioX, Node480height = 16*_ratio.ratioY;
- (function () {
- if (Node480align === 'left') {
- Node480textStart = Node480fontSize * 0.2 > 2 ? Node480fontSize * 0.2 - 4 : Node480fontSize * 0.2 - 9;
- Node480textWidth = Node480width;
- Node480lineStart = 1;
- } else if (Node480align === 'right') {
- Node480textStart = 0;
- Node480textWidth =Node480fontSize <= 8 ? Node480width + Node480fontSize * 0.2 + 6 : Node480width - Node480fontSize * 0.2;
- Node480lineStart = (Node480width - (ht.Default.getTextSize('TEXT', ' '+ Node480fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node480align === 'center') {
- Node480textStart = -3;
- Node480textWidth = Node480width;
- Node480lineStart = Node480width - ht.Default.getTextSize('TEXT', ' '+ Node480fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node480.setImage(GD.getTextJSON(Node480width, Node480height, true, false, false, ' '+ Node480fontSize + 'px "Arial"'))
- Node480.setPosition(607*ratio.ratioX, 335*ratio.ratioY);
- Node480.setWidth(Node480width);
- Node480.setHeight(Node480height);
- Node480._nodeType = 'text';
- Node480._disallowEvert = true;
- Node480.setRotation(0*Math.PI/180);
- Node480.a('node.width', Node480width);
- Node480.a('node.height', Node480height);
- Node480.a('node.rect', [0, 0, Node480width, Node480height]);
- Node480.a('node.bordercolor','rgba(0,0,0,1)');
- Node480.a('node.borderwidth', 0);
- Node480.a('node.background','' || 'rgba(0,0,0,0)');
- Node480.a('node.gradient','');
- Node480.a('node.gradientcolor','');
- Node480.a('node.text','TEXT');
- Node480.a('node.textalign','left');
- Node480.a('node.textvAlign','middle');
- Node480.a('node.textrect', [Node480textStart, 0, Node480textWidth, Node480height]);
- Node480.a('node.color','rgba(0,0,0,1)');
- Node480.a('node.font',' '+ Node480fontSize + 'px "Arial"');
- Node480.a('node.textvisible',true);
- Node480.a('node.linefeed',false);
- if (false) {
- Node480.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node480.a('node.text') || 'TEXT';
- var color=Node480.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node480width,Node480height,13.3333*_ratio.ratioY,"left",color,' '+ Node480fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node480.a('node.underlinepoints',[Node480lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node480fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node480fontSize + 'px "Arial"').width + 6, (Node480height - Node480fontSize) * 0.5*_ratio.ratioY + Node480fontSize + 2 ]);
- Node480.a('node.underlinevisible',false);
- Node480.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node480);
- zoomNodeList.push({
- node: Node480,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node481 = new ht.Node();
- var Node481textStart, Node481textWidth, Node481lineStart, Node481align = 'left', Node481fontSize = 13.3333*_ratio.ratioY,Node481width = 39*_ratio.ratioX, Node481height = 16*_ratio.ratioY;
- (function () {
- if (Node481align === 'left') {
- Node481textStart = Node481fontSize * 0.2 > 2 ? Node481fontSize * 0.2 - 4 : Node481fontSize * 0.2 - 9;
- Node481textWidth = Node481width;
- Node481lineStart = 1;
- } else if (Node481align === 'right') {
- Node481textStart = 0;
- Node481textWidth =Node481fontSize <= 8 ? Node481width + Node481fontSize * 0.2 + 6 : Node481width - Node481fontSize * 0.2;
- Node481lineStart = (Node481width - (ht.Default.getTextSize('TEXT', ' '+ Node481fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node481align === 'center') {
- Node481textStart = -3;
- Node481textWidth = Node481width;
- Node481lineStart = Node481width - ht.Default.getTextSize('TEXT', ' '+ Node481fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node481.setImage(GD.getTextJSON(Node481width, Node481height, true, false, false, ' '+ Node481fontSize + 'px "Arial"'))
- Node481.setPosition(607*ratio.ratioX, 356*ratio.ratioY);
- Node481.setWidth(Node481width);
- Node481.setHeight(Node481height);
- Node481._nodeType = 'text';
- Node481._disallowEvert = true;
- Node481.setRotation(0*Math.PI/180);
- Node481.a('node.width', Node481width);
- Node481.a('node.height', Node481height);
- Node481.a('node.rect', [0, 0, Node481width, Node481height]);
- Node481.a('node.bordercolor','rgba(0,0,0,1)');
- Node481.a('node.borderwidth', 0);
- Node481.a('node.background','' || 'rgba(0,0,0,0)');
- Node481.a('node.gradient','');
- Node481.a('node.gradientcolor','');
- Node481.a('node.text','TEXT');
- Node481.a('node.textalign','left');
- Node481.a('node.textvAlign','middle');
- Node481.a('node.textrect', [Node481textStart, 0, Node481textWidth, Node481height]);
- Node481.a('node.color','rgba(0,0,0,1)');
- Node481.a('node.font',' '+ Node481fontSize + 'px "Arial"');
- Node481.a('node.textvisible',true);
- Node481.a('node.linefeed',false);
- if (false) {
- Node481.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node481.a('node.text') || 'TEXT';
- var color=Node481.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node481width,Node481height,13.3333*_ratio.ratioY,"left",color,' '+ Node481fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node481.a('node.underlinepoints',[Node481lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node481fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node481fontSize + 'px "Arial"').width + 6, (Node481height - Node481fontSize) * 0.5*_ratio.ratioY + Node481fontSize + 2 ]);
- Node481.a('node.underlinevisible',false);
- Node481.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node481);
- zoomNodeList.push({
- node: Node481,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node482 = new ht.Node();
- var Node482textStart, Node482textWidth, Node482lineStart, Node482align = 'left', Node482fontSize = 13.3333*_ratio.ratioY,Node482width = 39*_ratio.ratioX, Node482height = 16*_ratio.ratioY;
- (function () {
- if (Node482align === 'left') {
- Node482textStart = Node482fontSize * 0.2 > 2 ? Node482fontSize * 0.2 - 4 : Node482fontSize * 0.2 - 9;
- Node482textWidth = Node482width;
- Node482lineStart = 1;
- } else if (Node482align === 'right') {
- Node482textStart = 0;
- Node482textWidth =Node482fontSize <= 8 ? Node482width + Node482fontSize * 0.2 + 6 : Node482width - Node482fontSize * 0.2;
- Node482lineStart = (Node482width - (ht.Default.getTextSize('TEXT', ' '+ Node482fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node482align === 'center') {
- Node482textStart = -3;
- Node482textWidth = Node482width;
- Node482lineStart = Node482width - ht.Default.getTextSize('TEXT', ' '+ Node482fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node482.setImage(GD.getTextJSON(Node482width, Node482height, true, false, false, ' '+ Node482fontSize + 'px "Arial"'))
- Node482.setPosition(458*ratio.ratioX, 223*ratio.ratioY);
- Node482.setWidth(Node482width);
- Node482.setHeight(Node482height);
- Node482._nodeType = 'text';
- Node482._disallowEvert = true;
- Node482.setRotation(0*Math.PI/180);
- Node482.a('node.width', Node482width);
- Node482.a('node.height', Node482height);
- Node482.a('node.rect', [0, 0, Node482width, Node482height]);
- Node482.a('node.bordercolor','rgba(0,0,0,1)');
- Node482.a('node.borderwidth', 0);
- Node482.a('node.background','' || 'rgba(0,0,0,0)');
- Node482.a('node.gradient','');
- Node482.a('node.gradientcolor','');
- Node482.a('node.text','TEXT');
- Node482.a('node.textalign','left');
- Node482.a('node.textvAlign','middle');
- Node482.a('node.textrect', [Node482textStart, 0, Node482textWidth, Node482height]);
- Node482.a('node.color','rgba(0,0,0,1)');
- Node482.a('node.font',' '+ Node482fontSize + 'px "Arial"');
- Node482.a('node.textvisible',true);
- Node482.a('node.linefeed',false);
- if (false) {
- Node482.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node482.a('node.text') || 'TEXT';
- var color=Node482.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node482width,Node482height,13.3333*_ratio.ratioY,"left",color,' '+ Node482fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node482.a('node.underlinepoints',[Node482lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node482fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node482fontSize + 'px "Arial"').width + 6, (Node482height - Node482fontSize) * 0.5*_ratio.ratioY + Node482fontSize + 2 ]);
- Node482.a('node.underlinevisible',false);
- Node482.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node482);
- zoomNodeList.push({
- node: Node482,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node483 = new ht.Node();
- var Node483textStart, Node483textWidth, Node483lineStart, Node483align = 'left', Node483fontSize = 13.3333*_ratio.ratioY,Node483width = 39*_ratio.ratioX, Node483height = 16*_ratio.ratioY;
- (function () {
- if (Node483align === 'left') {
- Node483textStart = Node483fontSize * 0.2 > 2 ? Node483fontSize * 0.2 - 4 : Node483fontSize * 0.2 - 9;
- Node483textWidth = Node483width;
- Node483lineStart = 1;
- } else if (Node483align === 'right') {
- Node483textStart = 0;
- Node483textWidth =Node483fontSize <= 8 ? Node483width + Node483fontSize * 0.2 + 6 : Node483width - Node483fontSize * 0.2;
- Node483lineStart = (Node483width - (ht.Default.getTextSize('TEXT', ' '+ Node483fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node483align === 'center') {
- Node483textStart = -3;
- Node483textWidth = Node483width;
- Node483lineStart = Node483width - ht.Default.getTextSize('TEXT', ' '+ Node483fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node483.setImage(GD.getTextJSON(Node483width, Node483height, true, false, false, ' '+ Node483fontSize + 'px "Arial"'))
- Node483.setPosition(458*ratio.ratioX, 243*ratio.ratioY);
- Node483.setWidth(Node483width);
- Node483.setHeight(Node483height);
- Node483._nodeType = 'text';
- Node483._disallowEvert = true;
- Node483.setRotation(0*Math.PI/180);
- Node483.a('node.width', Node483width);
- Node483.a('node.height', Node483height);
- Node483.a('node.rect', [0, 0, Node483width, Node483height]);
- Node483.a('node.bordercolor','rgba(0,0,0,1)');
- Node483.a('node.borderwidth', 0);
- Node483.a('node.background','' || 'rgba(0,0,0,0)');
- Node483.a('node.gradient','');
- Node483.a('node.gradientcolor','');
- Node483.a('node.text','TEXT');
- Node483.a('node.textalign','left');
- Node483.a('node.textvAlign','middle');
- Node483.a('node.textrect', [Node483textStart, 0, Node483textWidth, Node483height]);
- Node483.a('node.color','rgba(0,0,0,1)');
- Node483.a('node.font',' '+ Node483fontSize + 'px "Arial"');
- Node483.a('node.textvisible',true);
- Node483.a('node.linefeed',false);
- if (false) {
- Node483.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node483.a('node.text') || 'TEXT';
- var color=Node483.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node483width,Node483height,13.3333*_ratio.ratioY,"left",color,' '+ Node483fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node483.a('node.underlinepoints',[Node483lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node483fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node483fontSize + 'px "Arial"').width + 6, (Node483height - Node483fontSize) * 0.5*_ratio.ratioY + Node483fontSize + 2 ]);
- Node483.a('node.underlinevisible',false);
- Node483.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node483);
- zoomNodeList.push({
- node: Node483,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node484 = new ht.Node();
- var Node484textStart, Node484textWidth, Node484lineStart, Node484align = 'left', Node484fontSize = 13.3333*_ratio.ratioY,Node484width = 39*_ratio.ratioX, Node484height = 16*_ratio.ratioY;
- (function () {
- if (Node484align === 'left') {
- Node484textStart = Node484fontSize * 0.2 > 2 ? Node484fontSize * 0.2 - 4 : Node484fontSize * 0.2 - 9;
- Node484textWidth = Node484width;
- Node484lineStart = 1;
- } else if (Node484align === 'right') {
- Node484textStart = 0;
- Node484textWidth =Node484fontSize <= 8 ? Node484width + Node484fontSize * 0.2 + 6 : Node484width - Node484fontSize * 0.2;
- Node484lineStart = (Node484width - (ht.Default.getTextSize('TEXT', ' '+ Node484fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node484align === 'center') {
- Node484textStart = -3;
- Node484textWidth = Node484width;
- Node484lineStart = Node484width - ht.Default.getTextSize('TEXT', ' '+ Node484fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node484.setImage(GD.getTextJSON(Node484width, Node484height, true, false, false, ' '+ Node484fontSize + 'px "Arial"'))
- Node484.setPosition(458*ratio.ratioX, 263*ratio.ratioY);
- Node484.setWidth(Node484width);
- Node484.setHeight(Node484height);
- Node484._nodeType = 'text';
- Node484._disallowEvert = true;
- Node484.setRotation(0*Math.PI/180);
- Node484.a('node.width', Node484width);
- Node484.a('node.height', Node484height);
- Node484.a('node.rect', [0, 0, Node484width, Node484height]);
- Node484.a('node.bordercolor','rgba(0,0,0,1)');
- Node484.a('node.borderwidth', 0);
- Node484.a('node.background','' || 'rgba(0,0,0,0)');
- Node484.a('node.gradient','');
- Node484.a('node.gradientcolor','');
- Node484.a('node.text','TEXT');
- Node484.a('node.textalign','left');
- Node484.a('node.textvAlign','middle');
- Node484.a('node.textrect', [Node484textStart, 0, Node484textWidth, Node484height]);
- Node484.a('node.color','rgba(0,0,0,1)');
- Node484.a('node.font',' '+ Node484fontSize + 'px "Arial"');
- Node484.a('node.textvisible',true);
- Node484.a('node.linefeed',false);
- if (false) {
- Node484.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node484.a('node.text') || 'TEXT';
- var color=Node484.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node484width,Node484height,13.3333*_ratio.ratioY,"left",color,' '+ Node484fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node484.a('node.underlinepoints',[Node484lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node484fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node484fontSize + 'px "Arial"').width + 6, (Node484height - Node484fontSize) * 0.5*_ratio.ratioY + Node484fontSize + 2 ]);
- Node484.a('node.underlinevisible',false);
- Node484.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node484);
- zoomNodeList.push({
- node: Node484,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node485 = new ht.Node();
- var Node485textStart, Node485textWidth, Node485lineStart, Node485align = 'left', Node485fontSize = 13.3333*_ratio.ratioY,Node485width = 39*_ratio.ratioX, Node485height = 16*_ratio.ratioY;
- (function () {
- if (Node485align === 'left') {
- Node485textStart = Node485fontSize * 0.2 > 2 ? Node485fontSize * 0.2 - 4 : Node485fontSize * 0.2 - 9;
- Node485textWidth = Node485width;
- Node485lineStart = 1;
- } else if (Node485align === 'right') {
- Node485textStart = 0;
- Node485textWidth =Node485fontSize <= 8 ? Node485width + Node485fontSize * 0.2 + 6 : Node485width - Node485fontSize * 0.2;
- Node485lineStart = (Node485width - (ht.Default.getTextSize('TEXT', ' '+ Node485fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node485align === 'center') {
- Node485textStart = -3;
- Node485textWidth = Node485width;
- Node485lineStart = Node485width - ht.Default.getTextSize('TEXT', ' '+ Node485fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node485.setImage(GD.getTextJSON(Node485width, Node485height, true, false, false, ' '+ Node485fontSize + 'px "Arial"'))
- Node485.setPosition(457*ratio.ratioX, 283*ratio.ratioY);
- Node485.setWidth(Node485width);
- Node485.setHeight(Node485height);
- Node485._nodeType = 'text';
- Node485._disallowEvert = true;
- Node485.setRotation(0*Math.PI/180);
- Node485.a('node.width', Node485width);
- Node485.a('node.height', Node485height);
- Node485.a('node.rect', [0, 0, Node485width, Node485height]);
- Node485.a('node.bordercolor','rgba(0,0,0,1)');
- Node485.a('node.borderwidth', 0);
- Node485.a('node.background','' || 'rgba(0,0,0,0)');
- Node485.a('node.gradient','');
- Node485.a('node.gradientcolor','');
- Node485.a('node.text','TEXT');
- Node485.a('node.textalign','left');
- Node485.a('node.textvAlign','middle');
- Node485.a('node.textrect', [Node485textStart, 0, Node485textWidth, Node485height]);
- Node485.a('node.color','rgba(0,0,0,1)');
- Node485.a('node.font',' '+ Node485fontSize + 'px "Arial"');
- Node485.a('node.textvisible',true);
- Node485.a('node.linefeed',false);
- if (false) {
- Node485.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node485.a('node.text') || 'TEXT';
- var color=Node485.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node485width,Node485height,13.3333*_ratio.ratioY,"left",color,' '+ Node485fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node485.a('node.underlinepoints',[Node485lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node485fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node485fontSize + 'px "Arial"').width + 6, (Node485height - Node485fontSize) * 0.5*_ratio.ratioY + Node485fontSize + 2 ]);
- Node485.a('node.underlinevisible',false);
- Node485.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node485);
- zoomNodeList.push({
- node: Node485,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node486 = new ht.Node();
- var Node486textStart, Node486textWidth, Node486lineStart, Node486align = 'left', Node486fontSize = 13.3333*_ratio.ratioY,Node486width = 39*_ratio.ratioX, Node486height = 16*_ratio.ratioY;
- (function () {
- if (Node486align === 'left') {
- Node486textStart = Node486fontSize * 0.2 > 2 ? Node486fontSize * 0.2 - 4 : Node486fontSize * 0.2 - 9;
- Node486textWidth = Node486width;
- Node486lineStart = 1;
- } else if (Node486align === 'right') {
- Node486textStart = 0;
- Node486textWidth =Node486fontSize <= 8 ? Node486width + Node486fontSize * 0.2 + 6 : Node486width - Node486fontSize * 0.2;
- Node486lineStart = (Node486width - (ht.Default.getTextSize('TEXT', ' '+ Node486fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node486align === 'center') {
- Node486textStart = -3;
- Node486textWidth = Node486width;
- Node486lineStart = Node486width - ht.Default.getTextSize('TEXT', ' '+ Node486fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node486.setImage(GD.getTextJSON(Node486width, Node486height, true, false, false, ' '+ Node486fontSize + 'px "Arial"'))
- Node486.setPosition(458*ratio.ratioX, 303*ratio.ratioY);
- Node486.setWidth(Node486width);
- Node486.setHeight(Node486height);
- Node486._nodeType = 'text';
- Node486._disallowEvert = true;
- Node486.setRotation(0*Math.PI/180);
- Node486.a('node.width', Node486width);
- Node486.a('node.height', Node486height);
- Node486.a('node.rect', [0, 0, Node486width, Node486height]);
- Node486.a('node.bordercolor','rgba(0,0,0,1)');
- Node486.a('node.borderwidth', 0);
- Node486.a('node.background','' || 'rgba(0,0,0,0)');
- Node486.a('node.gradient','');
- Node486.a('node.gradientcolor','');
- Node486.a('node.text','TEXT');
- Node486.a('node.textalign','left');
- Node486.a('node.textvAlign','middle');
- Node486.a('node.textrect', [Node486textStart, 0, Node486textWidth, Node486height]);
- Node486.a('node.color','rgba(0,0,0,1)');
- Node486.a('node.font',' '+ Node486fontSize + 'px "Arial"');
- Node486.a('node.textvisible',true);
- Node486.a('node.linefeed',false);
- if (false) {
- Node486.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node486.a('node.text') || 'TEXT';
- var color=Node486.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node486width,Node486height,13.3333*_ratio.ratioY,"left",color,' '+ Node486fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node486.a('node.underlinepoints',[Node486lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node486fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node486fontSize + 'px "Arial"').width + 6, (Node486height - Node486fontSize) * 0.5*_ratio.ratioY + Node486fontSize + 2 ]);
- Node486.a('node.underlinevisible',false);
- Node486.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node486);
- zoomNodeList.push({
- node: Node486,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node487 = new ht.Node();
- var Node487textStart, Node487textWidth, Node487lineStart, Node487align = 'left', Node487fontSize = 13.3333*_ratio.ratioY,Node487width = 39*_ratio.ratioX, Node487height = 16*_ratio.ratioY;
- (function () {
- if (Node487align === 'left') {
- Node487textStart = Node487fontSize * 0.2 > 2 ? Node487fontSize * 0.2 - 4 : Node487fontSize * 0.2 - 9;
- Node487textWidth = Node487width;
- Node487lineStart = 1;
- } else if (Node487align === 'right') {
- Node487textStart = 0;
- Node487textWidth =Node487fontSize <= 8 ? Node487width + Node487fontSize * 0.2 + 6 : Node487width - Node487fontSize * 0.2;
- Node487lineStart = (Node487width - (ht.Default.getTextSize('TEXT', ' '+ Node487fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node487align === 'center') {
- Node487textStart = -3;
- Node487textWidth = Node487width;
- Node487lineStart = Node487width - ht.Default.getTextSize('TEXT', ' '+ Node487fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node487.setImage(GD.getTextJSON(Node487width, Node487height, true, false, false, ' '+ Node487fontSize + 'px "Arial"'))
- Node487.setPosition(178*ratio.ratioX, 345*ratio.ratioY);
- Node487.setWidth(Node487width);
- Node487.setHeight(Node487height);
- Node487._nodeType = 'text';
- Node487._disallowEvert = true;
- Node487.setRotation(0*Math.PI/180);
- Node487.a('node.width', Node487width);
- Node487.a('node.height', Node487height);
- Node487.a('node.rect', [0, 0, Node487width, Node487height]);
- Node487.a('node.bordercolor','rgba(0,0,0,1)');
- Node487.a('node.borderwidth', 0);
- Node487.a('node.background','' || 'rgba(0,0,0,0)');
- Node487.a('node.gradient','');
- Node487.a('node.gradientcolor','');
- Node487.a('node.text','TEXT');
- Node487.a('node.textalign','left');
- Node487.a('node.textvAlign','middle');
- Node487.a('node.textrect', [Node487textStart, 0, Node487textWidth, Node487height]);
- Node487.a('node.color','rgba(0,0,0,1)');
- Node487.a('node.font',' '+ Node487fontSize + 'px "Arial"');
- Node487.a('node.textvisible',true);
- Node487.a('node.linefeed',false);
- if (false) {
- Node487.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node487.a('node.text') || 'TEXT';
- var color=Node487.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node487width,Node487height,13.3333*_ratio.ratioY,"left",color,' '+ Node487fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node487.a('node.underlinepoints',[Node487lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node487fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node487fontSize + 'px "Arial"').width + 6, (Node487height - Node487fontSize) * 0.5*_ratio.ratioY + Node487fontSize + 2 ]);
- Node487.a('node.underlinevisible',false);
- Node487.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node487);
- zoomNodeList.push({
- node: Node487,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node488 = new ht.Node();
- var Node488textStart, Node488textWidth, Node488lineStart, Node488align = 'left', Node488fontSize = 13.3333*_ratio.ratioY,Node488width = 39*_ratio.ratioX, Node488height = 16*_ratio.ratioY;
- (function () {
- if (Node488align === 'left') {
- Node488textStart = Node488fontSize * 0.2 > 2 ? Node488fontSize * 0.2 - 4 : Node488fontSize * 0.2 - 9;
- Node488textWidth = Node488width;
- Node488lineStart = 1;
- } else if (Node488align === 'right') {
- Node488textStart = 0;
- Node488textWidth =Node488fontSize <= 8 ? Node488width + Node488fontSize * 0.2 + 6 : Node488width - Node488fontSize * 0.2;
- Node488lineStart = (Node488width - (ht.Default.getTextSize('TEXT', ' '+ Node488fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node488align === 'center') {
- Node488textStart = -3;
- Node488textWidth = Node488width;
- Node488lineStart = Node488width - ht.Default.getTextSize('TEXT', ' '+ Node488fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node488.setImage(GD.getTextJSON(Node488width, Node488height, true, false, false, ' '+ Node488fontSize + 'px "Arial"'))
- Node488.setPosition(178*ratio.ratioX, 365*ratio.ratioY);
- Node488.setWidth(Node488width);
- Node488.setHeight(Node488height);
- Node488._nodeType = 'text';
- Node488._disallowEvert = true;
- Node488.setRotation(0*Math.PI/180);
- Node488.a('node.width', Node488width);
- Node488.a('node.height', Node488height);
- Node488.a('node.rect', [0, 0, Node488width, Node488height]);
- Node488.a('node.bordercolor','rgba(0,0,0,1)');
- Node488.a('node.borderwidth', 0);
- Node488.a('node.background','' || 'rgba(0,0,0,0)');
- Node488.a('node.gradient','');
- Node488.a('node.gradientcolor','');
- Node488.a('node.text','TEXT');
- Node488.a('node.textalign','left');
- Node488.a('node.textvAlign','middle');
- Node488.a('node.textrect', [Node488textStart, 0, Node488textWidth, Node488height]);
- Node488.a('node.color','rgba(0,0,0,1)');
- Node488.a('node.font',' '+ Node488fontSize + 'px "Arial"');
- Node488.a('node.textvisible',true);
- Node488.a('node.linefeed',false);
- if (false) {
- Node488.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node488.a('node.text') || 'TEXT';
- var color=Node488.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node488width,Node488height,13.3333*_ratio.ratioY,"left",color,' '+ Node488fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node488.a('node.underlinepoints',[Node488lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node488fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node488fontSize + 'px "Arial"').width + 6, (Node488height - Node488fontSize) * 0.5*_ratio.ratioY + Node488fontSize + 2 ]);
- Node488.a('node.underlinevisible',false);
- Node488.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node488);
- zoomNodeList.push({
- node: Node488,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node489 = new ht.Node();
- var Node489textStart, Node489textWidth, Node489lineStart, Node489align = 'left', Node489fontSize = 13.3333*_ratio.ratioY,Node489width = 39*_ratio.ratioX, Node489height = 16*_ratio.ratioY;
- (function () {
- if (Node489align === 'left') {
- Node489textStart = Node489fontSize * 0.2 > 2 ? Node489fontSize * 0.2 - 4 : Node489fontSize * 0.2 - 9;
- Node489textWidth = Node489width;
- Node489lineStart = 1;
- } else if (Node489align === 'right') {
- Node489textStart = 0;
- Node489textWidth =Node489fontSize <= 8 ? Node489width + Node489fontSize * 0.2 + 6 : Node489width - Node489fontSize * 0.2;
- Node489lineStart = (Node489width - (ht.Default.getTextSize('TEXT', ' '+ Node489fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node489align === 'center') {
- Node489textStart = -3;
- Node489textWidth = Node489width;
- Node489lineStart = Node489width - ht.Default.getTextSize('TEXT', ' '+ Node489fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node489.setImage(GD.getTextJSON(Node489width, Node489height, true, false, false, ' '+ Node489fontSize + 'px "Arial"'))
- Node489.setPosition(178*ratio.ratioX, 385*ratio.ratioY);
- Node489.setWidth(Node489width);
- Node489.setHeight(Node489height);
- Node489._nodeType = 'text';
- Node489._disallowEvert = true;
- Node489.setRotation(0*Math.PI/180);
- Node489.a('node.width', Node489width);
- Node489.a('node.height', Node489height);
- Node489.a('node.rect', [0, 0, Node489width, Node489height]);
- Node489.a('node.bordercolor','rgba(0,0,0,1)');
- Node489.a('node.borderwidth', 0);
- Node489.a('node.background','' || 'rgba(0,0,0,0)');
- Node489.a('node.gradient','');
- Node489.a('node.gradientcolor','');
- Node489.a('node.text','TEXT');
- Node489.a('node.textalign','left');
- Node489.a('node.textvAlign','middle');
- Node489.a('node.textrect', [Node489textStart, 0, Node489textWidth, Node489height]);
- Node489.a('node.color','rgba(0,0,0,1)');
- Node489.a('node.font',' '+ Node489fontSize + 'px "Arial"');
- Node489.a('node.textvisible',true);
- Node489.a('node.linefeed',false);
- if (false) {
- Node489.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node489.a('node.text') || 'TEXT';
- var color=Node489.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node489width,Node489height,13.3333*_ratio.ratioY,"left",color,' '+ Node489fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node489.a('node.underlinepoints',[Node489lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node489fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node489fontSize + 'px "Arial"').width + 6, (Node489height - Node489fontSize) * 0.5*_ratio.ratioY + Node489fontSize + 2 ]);
- Node489.a('node.underlinevisible',false);
- Node489.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node489);
- zoomNodeList.push({
- node: Node489,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node490 = new ht.Node();
- var Node490textStart, Node490textWidth, Node490lineStart, Node490align = 'left', Node490fontSize = 13.3333*_ratio.ratioY,Node490width = 39*_ratio.ratioX, Node490height = 16*_ratio.ratioY;
- (function () {
- if (Node490align === 'left') {
- Node490textStart = Node490fontSize * 0.2 > 2 ? Node490fontSize * 0.2 - 4 : Node490fontSize * 0.2 - 9;
- Node490textWidth = Node490width;
- Node490lineStart = 1;
- } else if (Node490align === 'right') {
- Node490textStart = 0;
- Node490textWidth =Node490fontSize <= 8 ? Node490width + Node490fontSize * 0.2 + 6 : Node490width - Node490fontSize * 0.2;
- Node490lineStart = (Node490width - (ht.Default.getTextSize('TEXT', ' '+ Node490fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node490align === 'center') {
- Node490textStart = -3;
- Node490textWidth = Node490width;
- Node490lineStart = Node490width - ht.Default.getTextSize('TEXT', ' '+ Node490fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node490.setImage(GD.getTextJSON(Node490width, Node490height, true, false, false, ' '+ Node490fontSize + 'px "Arial"'))
- Node490.setPosition(178*ratio.ratioX, 405*ratio.ratioY);
- Node490.setWidth(Node490width);
- Node490.setHeight(Node490height);
- Node490._nodeType = 'text';
- Node490._disallowEvert = true;
- Node490.setRotation(0*Math.PI/180);
- Node490.a('node.width', Node490width);
- Node490.a('node.height', Node490height);
- Node490.a('node.rect', [0, 0, Node490width, Node490height]);
- Node490.a('node.bordercolor','rgba(0,0,0,1)');
- Node490.a('node.borderwidth', 0);
- Node490.a('node.background','' || 'rgba(0,0,0,0)');
- Node490.a('node.gradient','');
- Node490.a('node.gradientcolor','');
- Node490.a('node.text','TEXT');
- Node490.a('node.textalign','left');
- Node490.a('node.textvAlign','middle');
- Node490.a('node.textrect', [Node490textStart, 0, Node490textWidth, Node490height]);
- Node490.a('node.color','rgba(0,0,0,1)');
- Node490.a('node.font',' '+ Node490fontSize + 'px "Arial"');
- Node490.a('node.textvisible',true);
- Node490.a('node.linefeed',false);
- if (false) {
- Node490.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node490.a('node.text') || 'TEXT';
- var color=Node490.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node490width,Node490height,13.3333*_ratio.ratioY,"left",color,' '+ Node490fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node490.a('node.underlinepoints',[Node490lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node490fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node490fontSize + 'px "Arial"').width + 6, (Node490height - Node490fontSize) * 0.5*_ratio.ratioY + Node490fontSize + 2 ]);
- Node490.a('node.underlinevisible',false);
- Node490.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node490);
- zoomNodeList.push({
- node: Node490,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node491 = new ht.Node();
- var Node491textStart, Node491textWidth, Node491lineStart, Node491align = 'left', Node491fontSize = 13.3333*_ratio.ratioY,Node491width = 39*_ratio.ratioX, Node491height = 16*_ratio.ratioY;
- (function () {
- if (Node491align === 'left') {
- Node491textStart = Node491fontSize * 0.2 > 2 ? Node491fontSize * 0.2 - 4 : Node491fontSize * 0.2 - 9;
- Node491textWidth = Node491width;
- Node491lineStart = 1;
- } else if (Node491align === 'right') {
- Node491textStart = 0;
- Node491textWidth =Node491fontSize <= 8 ? Node491width + Node491fontSize * 0.2 + 6 : Node491width - Node491fontSize * 0.2;
- Node491lineStart = (Node491width - (ht.Default.getTextSize('TEXT', ' '+ Node491fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node491align === 'center') {
- Node491textStart = -3;
- Node491textWidth = Node491width;
- Node491lineStart = Node491width - ht.Default.getTextSize('TEXT', ' '+ Node491fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node491.setImage(GD.getTextJSON(Node491width, Node491height, true, false, false, ' '+ Node491fontSize + 'px "Arial"'))
- Node491.setPosition(177*ratio.ratioX, 426*ratio.ratioY);
- Node491.setWidth(Node491width);
- Node491.setHeight(Node491height);
- Node491._nodeType = 'text';
- Node491._disallowEvert = true;
- Node491.setRotation(0*Math.PI/180);
- Node491.a('node.width', Node491width);
- Node491.a('node.height', Node491height);
- Node491.a('node.rect', [0, 0, Node491width, Node491height]);
- Node491.a('node.bordercolor','rgba(0,0,0,1)');
- Node491.a('node.borderwidth', 0);
- Node491.a('node.background','' || 'rgba(0,0,0,0)');
- Node491.a('node.gradient','');
- Node491.a('node.gradientcolor','');
- Node491.a('node.text','TEXT');
- Node491.a('node.textalign','left');
- Node491.a('node.textvAlign','middle');
- Node491.a('node.textrect', [Node491textStart, 0, Node491textWidth, Node491height]);
- Node491.a('node.color','rgba(0,0,0,1)');
- Node491.a('node.font',' '+ Node491fontSize + 'px "Arial"');
- Node491.a('node.textvisible',true);
- Node491.a('node.linefeed',false);
- if (false) {
- Node491.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node491.a('node.text') || 'TEXT';
- var color=Node491.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node491width,Node491height,13.3333*_ratio.ratioY,"left",color,' '+ Node491fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node491.a('node.underlinepoints',[Node491lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node491fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node491fontSize + 'px "Arial"').width + 6, (Node491height - Node491fontSize) * 0.5*_ratio.ratioY + Node491fontSize + 2 ]);
- Node491.a('node.underlinevisible',false);
- Node491.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node491);
- zoomNodeList.push({
- node: Node491,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node492 = new ht.Node();
- var Node492textStart, Node492textWidth, Node492lineStart, Node492align = 'left', Node492fontSize = 13.3333*_ratio.ratioY,Node492width = 39*_ratio.ratioX, Node492height = 16*_ratio.ratioY;
- (function () {
- if (Node492align === 'left') {
- Node492textStart = Node492fontSize * 0.2 > 2 ? Node492fontSize * 0.2 - 4 : Node492fontSize * 0.2 - 9;
- Node492textWidth = Node492width;
- Node492lineStart = 1;
- } else if (Node492align === 'right') {
- Node492textStart = 0;
- Node492textWidth =Node492fontSize <= 8 ? Node492width + Node492fontSize * 0.2 + 6 : Node492width - Node492fontSize * 0.2;
- Node492lineStart = (Node492width - (ht.Default.getTextSize('TEXT', ' '+ Node492fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node492align === 'center') {
- Node492textStart = -3;
- Node492textWidth = Node492width;
- Node492lineStart = Node492width - ht.Default.getTextSize('TEXT', ' '+ Node492fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node492.setImage(GD.getTextJSON(Node492width, Node492height, true, false, false, ' '+ Node492fontSize + 'px "Arial"'))
- Node492.setPosition(177*ratio.ratioX, 445*ratio.ratioY);
- Node492.setWidth(Node492width);
- Node492.setHeight(Node492height);
- Node492._nodeType = 'text';
- Node492._disallowEvert = true;
- Node492.setRotation(0*Math.PI/180);
- Node492.a('node.width', Node492width);
- Node492.a('node.height', Node492height);
- Node492.a('node.rect', [0, 0, Node492width, Node492height]);
- Node492.a('node.bordercolor','rgba(0,0,0,1)');
- Node492.a('node.borderwidth', 0);
- Node492.a('node.background','' || 'rgba(0,0,0,0)');
- Node492.a('node.gradient','');
- Node492.a('node.gradientcolor','');
- Node492.a('node.text','TEXT');
- Node492.a('node.textalign','left');
- Node492.a('node.textvAlign','middle');
- Node492.a('node.textrect', [Node492textStart, 0, Node492textWidth, Node492height]);
- Node492.a('node.color','rgba(0,0,0,1)');
- Node492.a('node.font',' '+ Node492fontSize + 'px "Arial"');
- Node492.a('node.textvisible',true);
- Node492.a('node.linefeed',false);
- if (false) {
- Node492.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node492.a('node.text') || 'TEXT';
- var color=Node492.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node492width,Node492height,13.3333*_ratio.ratioY,"left",color,' '+ Node492fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node492.a('node.underlinepoints',[Node492lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node492fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node492fontSize + 'px "Arial"').width + 6, (Node492height - Node492fontSize) * 0.5*_ratio.ratioY + Node492fontSize + 2 ]);
- Node492.a('node.underlinevisible',false);
- Node492.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node492);
- zoomNodeList.push({
- node: Node492,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node493 = new ht.Node();
- var Node493textStart, Node493textWidth, Node493lineStart, Node493align = 'left', Node493fontSize = 13.3333*_ratio.ratioY,Node493width = 39*_ratio.ratioX, Node493height = 16*_ratio.ratioY;
- (function () {
- if (Node493align === 'left') {
- Node493textStart = Node493fontSize * 0.2 > 2 ? Node493fontSize * 0.2 - 4 : Node493fontSize * 0.2 - 9;
- Node493textWidth = Node493width;
- Node493lineStart = 1;
- } else if (Node493align === 'right') {
- Node493textStart = 0;
- Node493textWidth =Node493fontSize <= 8 ? Node493width + Node493fontSize * 0.2 + 6 : Node493width - Node493fontSize * 0.2;
- Node493lineStart = (Node493width - (ht.Default.getTextSize('TEXT', ' '+ Node493fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node493align === 'center') {
- Node493textStart = -3;
- Node493textWidth = Node493width;
- Node493lineStart = Node493width - ht.Default.getTextSize('TEXT', ' '+ Node493fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node493.setImage(GD.getTextJSON(Node493width, Node493height, true, false, false, ' '+ Node493fontSize + 'px "Arial"'))
- Node493.setPosition(318*ratio.ratioX, 385*ratio.ratioY);
- Node493.setWidth(Node493width);
- Node493.setHeight(Node493height);
- Node493._nodeType = 'text';
- Node493._disallowEvert = true;
- Node493.setRotation(0*Math.PI/180);
- Node493.a('node.width', Node493width);
- Node493.a('node.height', Node493height);
- Node493.a('node.rect', [0, 0, Node493width, Node493height]);
- Node493.a('node.bordercolor','rgba(0,0,0,1)');
- Node493.a('node.borderwidth', 0);
- Node493.a('node.background','' || 'rgba(0,0,0,0)');
- Node493.a('node.gradient','');
- Node493.a('node.gradientcolor','');
- Node493.a('node.text','TEXT');
- Node493.a('node.textalign','left');
- Node493.a('node.textvAlign','middle');
- Node493.a('node.textrect', [Node493textStart, 0, Node493textWidth, Node493height]);
- Node493.a('node.color','rgba(0,0,0,1)');
- Node493.a('node.font',' '+ Node493fontSize + 'px "Arial"');
- Node493.a('node.textvisible',true);
- Node493.a('node.linefeed',false);
- if (false) {
- Node493.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node493.a('node.text') || 'TEXT';
- var color=Node493.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node493width,Node493height,13.3333*_ratio.ratioY,"left",color,' '+ Node493fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node493.a('node.underlinepoints',[Node493lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node493fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node493fontSize + 'px "Arial"').width + 6, (Node493height - Node493fontSize) * 0.5*_ratio.ratioY + Node493fontSize + 2 ]);
- Node493.a('node.underlinevisible',false);
- Node493.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node493);
- zoomNodeList.push({
- node: Node493,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node494 = new ht.Node();
- var Node494textStart, Node494textWidth, Node494lineStart, Node494align = 'left', Node494fontSize = 13.3333*_ratio.ratioY,Node494width = 39*_ratio.ratioX, Node494height = 16*_ratio.ratioY;
- (function () {
- if (Node494align === 'left') {
- Node494textStart = Node494fontSize * 0.2 > 2 ? Node494fontSize * 0.2 - 4 : Node494fontSize * 0.2 - 9;
- Node494textWidth = Node494width;
- Node494lineStart = 1;
- } else if (Node494align === 'right') {
- Node494textStart = 0;
- Node494textWidth =Node494fontSize <= 8 ? Node494width + Node494fontSize * 0.2 + 6 : Node494width - Node494fontSize * 0.2;
- Node494lineStart = (Node494width - (ht.Default.getTextSize('TEXT', ' '+ Node494fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node494align === 'center') {
- Node494textStart = -3;
- Node494textWidth = Node494width;
- Node494lineStart = Node494width - ht.Default.getTextSize('TEXT', ' '+ Node494fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node494.setImage(GD.getTextJSON(Node494width, Node494height, true, false, false, ' '+ Node494fontSize + 'px "Arial"'))
- Node494.setPosition(318*ratio.ratioX, 405*ratio.ratioY);
- Node494.setWidth(Node494width);
- Node494.setHeight(Node494height);
- Node494._nodeType = 'text';
- Node494._disallowEvert = true;
- Node494.setRotation(0*Math.PI/180);
- Node494.a('node.width', Node494width);
- Node494.a('node.height', Node494height);
- Node494.a('node.rect', [0, 0, Node494width, Node494height]);
- Node494.a('node.bordercolor','rgba(0,0,0,1)');
- Node494.a('node.borderwidth', 0);
- Node494.a('node.background','' || 'rgba(0,0,0,0)');
- Node494.a('node.gradient','');
- Node494.a('node.gradientcolor','');
- Node494.a('node.text','TEXT');
- Node494.a('node.textalign','left');
- Node494.a('node.textvAlign','middle');
- Node494.a('node.textrect', [Node494textStart, 0, Node494textWidth, Node494height]);
- Node494.a('node.color','rgba(0,0,0,1)');
- Node494.a('node.font',' '+ Node494fontSize + 'px "Arial"');
- Node494.a('node.textvisible',true);
- Node494.a('node.linefeed',false);
- if (false) {
- Node494.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node494.a('node.text') || 'TEXT';
- var color=Node494.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node494width,Node494height,13.3333*_ratio.ratioY,"left",color,' '+ Node494fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node494.a('node.underlinepoints',[Node494lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node494fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node494fontSize + 'px "Arial"').width + 6, (Node494height - Node494fontSize) * 0.5*_ratio.ratioY + Node494fontSize + 2 ]);
- Node494.a('node.underlinevisible',false);
- Node494.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node494);
- zoomNodeList.push({
- node: Node494,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node495 = new ht.Node();
- var Node495textStart, Node495textWidth, Node495lineStart, Node495align = 'left', Node495fontSize = 13.3333*_ratio.ratioY,Node495width = 39*_ratio.ratioX, Node495height = 16*_ratio.ratioY;
- (function () {
- if (Node495align === 'left') {
- Node495textStart = Node495fontSize * 0.2 > 2 ? Node495fontSize * 0.2 - 4 : Node495fontSize * 0.2 - 9;
- Node495textWidth = Node495width;
- Node495lineStart = 1;
- } else if (Node495align === 'right') {
- Node495textStart = 0;
- Node495textWidth =Node495fontSize <= 8 ? Node495width + Node495fontSize * 0.2 + 6 : Node495width - Node495fontSize * 0.2;
- Node495lineStart = (Node495width - (ht.Default.getTextSize('TEXT', ' '+ Node495fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node495align === 'center') {
- Node495textStart = -3;
- Node495textWidth = Node495width;
- Node495lineStart = Node495width - ht.Default.getTextSize('TEXT', ' '+ Node495fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node495.setImage(GD.getTextJSON(Node495width, Node495height, true, false, false, ' '+ Node495fontSize + 'px "Arial"'))
- Node495.setPosition(318*ratio.ratioX, 425*ratio.ratioY);
- Node495.setWidth(Node495width);
- Node495.setHeight(Node495height);
- Node495._nodeType = 'text';
- Node495._disallowEvert = true;
- Node495.setRotation(0*Math.PI/180);
- Node495.a('node.width', Node495width);
- Node495.a('node.height', Node495height);
- Node495.a('node.rect', [0, 0, Node495width, Node495height]);
- Node495.a('node.bordercolor','rgba(0,0,0,1)');
- Node495.a('node.borderwidth', 0);
- Node495.a('node.background','' || 'rgba(0,0,0,0)');
- Node495.a('node.gradient','');
- Node495.a('node.gradientcolor','');
- Node495.a('node.text','TEXT');
- Node495.a('node.textalign','left');
- Node495.a('node.textvAlign','middle');
- Node495.a('node.textrect', [Node495textStart, 0, Node495textWidth, Node495height]);
- Node495.a('node.color','rgba(0,0,0,1)');
- Node495.a('node.font',' '+ Node495fontSize + 'px "Arial"');
- Node495.a('node.textvisible',true);
- Node495.a('node.linefeed',false);
- if (false) {
- Node495.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node495.a('node.text') || 'TEXT';
- var color=Node495.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node495width,Node495height,13.3333*_ratio.ratioY,"left",color,' '+ Node495fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node495.a('node.underlinepoints',[Node495lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node495fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node495fontSize + 'px "Arial"').width + 6, (Node495height - Node495fontSize) * 0.5*_ratio.ratioY + Node495fontSize + 2 ]);
- Node495.a('node.underlinevisible',false);
- Node495.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node495);
- zoomNodeList.push({
- node: Node495,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node496 = new ht.Node();
- var Node496textStart, Node496textWidth, Node496lineStart, Node496align = 'left', Node496fontSize = 13.3333*_ratio.ratioY,Node496width = 39*_ratio.ratioX, Node496height = 16*_ratio.ratioY;
- (function () {
- if (Node496align === 'left') {
- Node496textStart = Node496fontSize * 0.2 > 2 ? Node496fontSize * 0.2 - 4 : Node496fontSize * 0.2 - 9;
- Node496textWidth = Node496width;
- Node496lineStart = 1;
- } else if (Node496align === 'right') {
- Node496textStart = 0;
- Node496textWidth =Node496fontSize <= 8 ? Node496width + Node496fontSize * 0.2 + 6 : Node496width - Node496fontSize * 0.2;
- Node496lineStart = (Node496width - (ht.Default.getTextSize('TEXT', ' '+ Node496fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node496align === 'center') {
- Node496textStart = -3;
- Node496textWidth = Node496width;
- Node496lineStart = Node496width - ht.Default.getTextSize('TEXT', ' '+ Node496fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node496.setImage(GD.getTextJSON(Node496width, Node496height, true, false, false, ' '+ Node496fontSize + 'px "Arial"'))
- Node496.setPosition(318*ratio.ratioX, 445*ratio.ratioY);
- Node496.setWidth(Node496width);
- Node496.setHeight(Node496height);
- Node496._nodeType = 'text';
- Node496._disallowEvert = true;
- Node496.setRotation(0*Math.PI/180);
- Node496.a('node.width', Node496width);
- Node496.a('node.height', Node496height);
- Node496.a('node.rect', [0, 0, Node496width, Node496height]);
- Node496.a('node.bordercolor','rgba(0,0,0,1)');
- Node496.a('node.borderwidth', 0);
- Node496.a('node.background','' || 'rgba(0,0,0,0)');
- Node496.a('node.gradient','');
- Node496.a('node.gradientcolor','');
- Node496.a('node.text','TEXT');
- Node496.a('node.textalign','left');
- Node496.a('node.textvAlign','middle');
- Node496.a('node.textrect', [Node496textStart, 0, Node496textWidth, Node496height]);
- Node496.a('node.color','rgba(0,0,0,1)');
- Node496.a('node.font',' '+ Node496fontSize + 'px "Arial"');
- Node496.a('node.textvisible',true);
- Node496.a('node.linefeed',false);
- if (false) {
- Node496.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node496.a('node.text') || 'TEXT';
- var color=Node496.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node496width,Node496height,13.3333*_ratio.ratioY,"left",color,' '+ Node496fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node496.a('node.underlinepoints',[Node496lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node496fontSize + 2 , ht.Default.getTextSize('TEXT', ' '+ Node496fontSize + 'px "Arial"').width + 6, (Node496height - Node496fontSize) * 0.5*_ratio.ratioY + Node496fontSize + 2 ]);
- Node496.a('node.underlinevisible',false);
- Node496.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node496);
- zoomNodeList.push({
- node: Node496,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node497 = 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 Node498 = 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 Node499 = 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 Node500 = 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 Node501 = 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 Node502 = 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 Node503 = 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 Node504 = 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 Node505 = 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 Node506 = 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 Node507 = 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 Node508 = 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 Node509 = 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 Node510 = 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 Node511 = 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 Node512 = 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'});var Node513_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');
- Node513_0 = new ht.Node();
- Node513_0.setPosition(13*ratio.ratioX, 221*ratio.ratioY);
- Node513_0.setSize(27*ratioX, 101*ratioY);
- Node513_0.setImage('imgimage//left_menu_over0.png');
- Node513_0.setRotation(0*Math.PI/180);
- Node513_0._zoomBy = 'Default';
- Node513_0._nodeType = 'image';
- Node513_0._disallowEvert = true;
- dataModel.add(Node513_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node513_1 = new ht.Node();
- var Node513_1textStart, Node513_1textWidth, Node513_1lineStart, Node513_1align = 'left', Node513_1fontSize = 19.99995*_ratio.ratioY,Node513_1width = 23*_ratio.ratioX, Node513_1height = 76*_ratio.ratioY;
- (function () {
- if (Node513_1align === 'left') {
- Node513_1textStart = Node513_1fontSize * 0.2 > 2 ? Node513_1fontSize * 0.2 - 4 : Node513_1fontSize * 0.2 - 9;
- Node513_1textWidth = Node513_1width;
- Node513_1lineStart = 1;
- } else if (Node513_1align === 'right') {
- Node513_1textStart = 0;
- Node513_1textWidth =Node513_1fontSize <= 8 ? Node513_1width + Node513_1fontSize * 0.2 + 6 : Node513_1width - Node513_1fontSize * 0.2;
- Node513_1lineStart = (Node513_1width - (ht.Default.getTextSize('排布图', ' '+ Node513_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node513_1align === 'center') {
- Node513_1textStart = -3;
- Node513_1textWidth = Node513_1width;
- Node513_1lineStart = Node513_1width - ht.Default.getTextSize('排布图', ' '+ Node513_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node513_1.setImage(GD.getTextJSON(Node513_1width, Node513_1height, false, true, false, ' '+ Node513_1fontSize + 'px "Arial"'))
- Node513_1.setPosition(11*ratio.ratioX, 219*ratio.ratioY);
- Node513_1.setWidth(Node513_1width);
- Node513_1.setHeight(Node513_1height);
- Node513_1._nodeType = 'text';
- Node513_1._disallowEvert = true;
- Node513_1.setRotation(0*Math.PI/180);
- Node513_1.a('node.width', Node513_1width);
- Node513_1.a('node.height', Node513_1height);
- Node513_1.a('node.rect', [0, 0, Node513_1width, Node513_1height]);
- Node513_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node513_1.a('node.borderwidth', 0);
- Node513_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node513_1.a('node.gradient','');
- Node513_1.a('node.gradientcolor','');
- Node513_1.a('node.text','排布图');
- Node513_1.a('node.textalign','left');
- Node513_1.a('node.textvAlign','middle');
- Node513_1.a('node.textrect', [Node513_1textStart, 0, Node513_1textWidth, Node513_1height]);
- Node513_1.a('node.color','rgba(0,0,0,1)');
- Node513_1.a('node.font',' '+ Node513_1fontSize + 'px "Arial"');
- Node513_1.a('node.textvisible',false);
- Node513_1.a('node.linefeed',true);
- if (true) {
- Node513_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node513_1.a('node.text') || '排布图';
- var color=Node513_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node513_1width,Node513_1height,19.99995*_ratio.ratioY,"left",color,' '+ Node513_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node513_1.a('node.underlinepoints',[Node513_1lineStart, (76 - 19.99995) * 0.5 * _ratio.ratioY + Node513_1fontSize + 2 , ht.Default.getTextSize('排布图', ' '+ Node513_1fontSize + 'px "Arial"').width + 6, (Node513_1height - Node513_1fontSize) * 0.5*_ratio.ratioY + Node513_1fontSize + 2 ]);
- Node513_1.a('node.underlinevisible',false);
- Node513_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node513_1);
- zoomNodeList.push({
- node: Node513_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node514_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');
- Node514_0 = new ht.Node();
- Node514_0.setPosition(13*ratio.ratioX, 311*ratio.ratioY);
- Node514_0.setSize(27*ratioX, 101*ratioY);
- Node514_0.setImage('imgimage//left_menu_out0.png');
- Node514_0.setRotation(0*Math.PI/180);
- Node514_0._zoomBy = 'Default';
- Node514_0._nodeType = 'image';
- Node514_0._disallowEvert = true;
- dataModel.add(Node514_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node514_1 = new ht.Node();
- var Node514_1textStart, Node514_1textWidth, Node514_1lineStart, Node514_1align = 'left', Node514_1fontSize = 18.66662*_ratio.ratioY,Node514_1width = 23*_ratio.ratioX, Node514_1height = 76*_ratio.ratioY;
- (function () {
- if (Node514_1align === 'left') {
- Node514_1textStart = Node514_1fontSize * 0.2 > 2 ? Node514_1fontSize * 0.2 - 4 : Node514_1fontSize * 0.2 - 9;
- Node514_1textWidth = Node514_1width;
- Node514_1lineStart = 1;
- } else if (Node514_1align === 'right') {
- Node514_1textStart = 0;
- Node514_1textWidth =Node514_1fontSize <= 8 ? Node514_1width + Node514_1fontSize * 0.2 + 6 : Node514_1width - Node514_1fontSize * 0.2;
- Node514_1lineStart = (Node514_1width - (ht.Default.getTextSize('总貌图', ' '+ Node514_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node514_1align === 'center') {
- Node514_1textStart = -3;
- Node514_1textWidth = Node514_1width;
- Node514_1lineStart = Node514_1width - ht.Default.getTextSize('总貌图', ' '+ Node514_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node514_1.setImage(GD.getTextJSON(Node514_1width, Node514_1height, false, true, false, ' '+ Node514_1fontSize + 'px "Arial"'))
- Node514_1.setPosition(12*ratio.ratioX, 309*ratio.ratioY);
- Node514_1.setWidth(Node514_1width);
- Node514_1.setHeight(Node514_1height);
- Node514_1._nodeType = 'text';
- Node514_1._disallowEvert = true;
- Node514_1.setRotation(0*Math.PI/180);
- Node514_1.a('node.width', Node514_1width);
- Node514_1.a('node.height', Node514_1height);
- Node514_1.a('node.rect', [0, 0, Node514_1width, Node514_1height]);
- Node514_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node514_1.a('node.borderwidth', 0);
- Node514_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node514_1.a('node.gradient','');
- Node514_1.a('node.gradientcolor','');
- Node514_1.a('node.text','总貌图');
- Node514_1.a('node.textalign','left');
- Node514_1.a('node.textvAlign','middle');
- Node514_1.a('node.textrect', [Node514_1textStart, 0, Node514_1textWidth, Node514_1height]);
- Node514_1.a('node.color','rgba(0,0,0,1)');
- Node514_1.a('node.font',' '+ Node514_1fontSize + 'px "Arial"');
- Node514_1.a('node.textvisible',false);
- Node514_1.a('node.linefeed',true);
- if (true) {
- Node514_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node514_1.a('node.text') || '总貌图';
- var color=Node514_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node514_1width,Node514_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node514_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node514_1.a('node.underlinepoints',[Node514_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node514_1fontSize + 2 , ht.Default.getTextSize('总貌图', ' '+ Node514_1fontSize + 'px "Arial"').width + 6, (Node514_1height - Node514_1fontSize) * 0.5*_ratio.ratioY + Node514_1fontSize + 2 ]);
- Node514_1.a('node.underlinevisible',false);
- Node514_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node514_1);
- zoomNodeList.push({
- node: Node514_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node515_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');
- Node515_0 = new ht.Node();
- Node515_0.setPosition(13*ratio.ratioX, 321*ratio.ratioY);
- Node515_0.setSize(27*ratioX, 101*ratioY);
- Node515_0.setImage('imgimage//left_menu_over0.png');
- Node515_0.setRotation(0*Math.PI/180);
- Node515_0._zoomBy = 'Default';
- Node515_0._nodeType = 'image';
- Node515_0._disallowEvert = true;
- dataModel.add(Node515_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node515_1 = new ht.Node();
- var Node515_1textStart, Node515_1textWidth, Node515_1lineStart, Node515_1align = 'left', Node515_1fontSize = 18.66662*_ratio.ratioY,Node515_1width = 23*_ratio.ratioX, Node515_1height = 76*_ratio.ratioY;
- (function () {
- if (Node515_1align === 'left') {
- Node515_1textStart = Node515_1fontSize * 0.2 > 2 ? Node515_1fontSize * 0.2 - 4 : Node515_1fontSize * 0.2 - 9;
- Node515_1textWidth = Node515_1width;
- Node515_1lineStart = 1;
- } else if (Node515_1align === 'right') {
- Node515_1textStart = 0;
- Node515_1textWidth =Node515_1fontSize <= 8 ? Node515_1width + Node515_1fontSize * 0.2 + 6 : Node515_1width - Node515_1fontSize * 0.2;
- Node515_1lineStart = (Node515_1width - (ht.Default.getTextSize('总貌图', ' '+ Node515_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node515_1align === 'center') {
- Node515_1textStart = -3;
- Node515_1textWidth = Node515_1width;
- Node515_1lineStart = Node515_1width - ht.Default.getTextSize('总貌图', ' '+ Node515_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node515_1.setImage(GD.getTextJSON(Node515_1width, Node515_1height, false, true, false, ' '+ Node515_1fontSize + 'px "Arial"'))
- Node515_1.setPosition(12*ratio.ratioX, 319*ratio.ratioY);
- Node515_1.setWidth(Node515_1width);
- Node515_1.setHeight(Node515_1height);
- Node515_1._nodeType = 'text';
- Node515_1._disallowEvert = true;
- Node515_1.setRotation(0*Math.PI/180);
- Node515_1.a('node.width', Node515_1width);
- Node515_1.a('node.height', Node515_1height);
- Node515_1.a('node.rect', [0, 0, Node515_1width, Node515_1height]);
- Node515_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node515_1.a('node.borderwidth', 0);
- Node515_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node515_1.a('node.gradient','');
- Node515_1.a('node.gradientcolor','');
- Node515_1.a('node.text','总貌图');
- Node515_1.a('node.textalign','left');
- Node515_1.a('node.textvAlign','middle');
- Node515_1.a('node.textrect', [Node515_1textStart, 0, Node515_1textWidth, Node515_1height]);
- Node515_1.a('node.color','rgba(0,0,0,1)');
- Node515_1.a('node.font',' '+ Node515_1fontSize + 'px "Arial"');
- Node515_1.a('node.textvisible',false);
- Node515_1.a('node.linefeed',true);
- if (true) {
- Node515_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node515_1.a('node.text') || '总貌图';
- var color=Node515_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node515_1width,Node515_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node515_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node515_1.a('node.underlinepoints',[Node515_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node515_1fontSize + 2 , ht.Default.getTextSize('总貌图', ' '+ Node515_1fontSize + 'px "Arial"').width + 6, (Node515_1height - Node515_1fontSize) * 0.5*_ratio.ratioY + Node515_1fontSize + 2 ]);
- Node515_1.a('node.underlinevisible',false);
- Node515_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node515_1);
- zoomNodeList.push({
- node: Node515_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node516_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');
- Node516_0 = new ht.Node();
- Node516_0.setPosition(13*ratio.ratioX, 411*ratio.ratioY);
- Node516_0.setSize(27*ratioX, 101*ratioY);
- Node516_0.setImage('imgimage//left_menu_out0.png');
- Node516_0.setRotation(0*Math.PI/180);
- Node516_0._zoomBy = 'Default';
- Node516_0._nodeType = 'image';
- Node516_0._disallowEvert = true;
- dataModel.add(Node516_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node516_1 = new ht.Node();
- var Node516_1textStart, Node516_1textWidth, Node516_1lineStart, Node516_1align = 'left', Node516_1fontSize = 18.66662*_ratio.ratioY,Node516_1width = 23*_ratio.ratioX, Node516_1height = 76*_ratio.ratioY;
- (function () {
- if (Node516_1align === 'left') {
- Node516_1textStart = Node516_1fontSize * 0.2 > 2 ? Node516_1fontSize * 0.2 - 4 : Node516_1fontSize * 0.2 - 9;
- Node516_1textWidth = Node516_1width;
- Node516_1lineStart = 1;
- } else if (Node516_1align === 'right') {
- Node516_1textStart = 0;
- Node516_1textWidth =Node516_1fontSize <= 8 ? Node516_1width + Node516_1fontSize * 0.2 + 6 : Node516_1width - Node516_1fontSize * 0.2;
- Node516_1lineStart = (Node516_1width - (ht.Default.getTextSize('升压站', ' '+ Node516_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node516_1align === 'center') {
- Node516_1textStart = -3;
- Node516_1textWidth = Node516_1width;
- Node516_1lineStart = Node516_1width - ht.Default.getTextSize('升压站', ' '+ Node516_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node516_1.setImage(GD.getTextJSON(Node516_1width, Node516_1height, false, true, false, ' '+ Node516_1fontSize + 'px "Arial"'))
- Node516_1.setPosition(12*ratio.ratioX, 409*ratio.ratioY);
- Node516_1.setWidth(Node516_1width);
- Node516_1.setHeight(Node516_1height);
- Node516_1._nodeType = 'text';
- Node516_1._disallowEvert = true;
- Node516_1.setRotation(0*Math.PI/180);
- Node516_1.a('node.width', Node516_1width);
- Node516_1.a('node.height', Node516_1height);
- Node516_1.a('node.rect', [0, 0, Node516_1width, Node516_1height]);
- Node516_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node516_1.a('node.borderwidth', 0);
- Node516_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node516_1.a('node.gradient','');
- Node516_1.a('node.gradientcolor','');
- Node516_1.a('node.text','升压站');
- Node516_1.a('node.textalign','left');
- Node516_1.a('node.textvAlign','middle');
- Node516_1.a('node.textrect', [Node516_1textStart, 0, Node516_1textWidth, Node516_1height]);
- Node516_1.a('node.color','rgba(0,0,0,1)');
- Node516_1.a('node.font',' '+ Node516_1fontSize + 'px "Arial"');
- Node516_1.a('node.textvisible',false);
- Node516_1.a('node.linefeed',true);
- if (true) {
- Node516_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node516_1.a('node.text') || '升压站';
- var color=Node516_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node516_1width,Node516_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node516_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node516_1.a('node.underlinepoints',[Node516_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node516_1fontSize + 2 , ht.Default.getTextSize('升压站', ' '+ Node516_1fontSize + 'px "Arial"').width + 6, (Node516_1height - Node516_1fontSize) * 0.5*_ratio.ratioY + Node516_1fontSize + 2 ]);
- Node516_1.a('node.underlinevisible',false);
- Node516_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node516_1);
- zoomNodeList.push({
- node: Node516_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node517_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');
- Node517_0 = new ht.Node();
- Node517_0.setPosition(13*ratio.ratioX, 411*ratio.ratioY);
- Node517_0.setSize(27*ratioX, 101*ratioY);
- Node517_0.setImage('imgimage//left_menu_over0.png');
- Node517_0.setRotation(0*Math.PI/180);
- Node517_0._zoomBy = 'Default';
- Node517_0._nodeType = 'image';
- Node517_0._disallowEvert = true;
- dataModel.add(Node517_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node517_1 = new ht.Node();
- var Node517_1textStart, Node517_1textWidth, Node517_1lineStart, Node517_1align = 'left', Node517_1fontSize = 18.66662*_ratio.ratioY,Node517_1width = 23*_ratio.ratioX, Node517_1height = 76*_ratio.ratioY;
- (function () {
- if (Node517_1align === 'left') {
- Node517_1textStart = Node517_1fontSize * 0.2 > 2 ? Node517_1fontSize * 0.2 - 4 : Node517_1fontSize * 0.2 - 9;
- Node517_1textWidth = Node517_1width;
- Node517_1lineStart = 1;
- } else if (Node517_1align === 'right') {
- Node517_1textStart = 0;
- Node517_1textWidth =Node517_1fontSize <= 8 ? Node517_1width + Node517_1fontSize * 0.2 + 6 : Node517_1width - Node517_1fontSize * 0.2;
- Node517_1lineStart = (Node517_1width - (ht.Default.getTextSize('升压站', ' '+ Node517_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node517_1align === 'center') {
- Node517_1textStart = -3;
- Node517_1textWidth = Node517_1width;
- Node517_1lineStart = Node517_1width - ht.Default.getTextSize('升压站', ' '+ Node517_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node517_1.setImage(GD.getTextJSON(Node517_1width, Node517_1height, false, true, false, ' '+ Node517_1fontSize + 'px "Arial"'))
- Node517_1.setPosition(12*ratio.ratioX, 409*ratio.ratioY);
- Node517_1.setWidth(Node517_1width);
- Node517_1.setHeight(Node517_1height);
- Node517_1._nodeType = 'text';
- Node517_1._disallowEvert = true;
- Node517_1.setRotation(0*Math.PI/180);
- Node517_1.a('node.width', Node517_1width);
- Node517_1.a('node.height', Node517_1height);
- Node517_1.a('node.rect', [0, 0, Node517_1width, Node517_1height]);
- Node517_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node517_1.a('node.borderwidth', 0);
- Node517_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node517_1.a('node.gradient','');
- Node517_1.a('node.gradientcolor','');
- Node517_1.a('node.text','升压站');
- Node517_1.a('node.textalign','left');
- Node517_1.a('node.textvAlign','middle');
- Node517_1.a('node.textrect', [Node517_1textStart, 0, Node517_1textWidth, Node517_1height]);
- Node517_1.a('node.color','rgba(0,0,0,1)');
- Node517_1.a('node.font',' '+ Node517_1fontSize + 'px "Arial"');
- Node517_1.a('node.textvisible',false);
- Node517_1.a('node.linefeed',true);
- if (true) {
- Node517_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node517_1.a('node.text') || '升压站';
- var color=Node517_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node517_1width,Node517_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node517_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node517_1.a('node.underlinepoints',[Node517_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node517_1fontSize + 2 , ht.Default.getTextSize('升压站', ' '+ Node517_1fontSize + 'px "Arial"').width + 6, (Node517_1height - Node517_1fontSize) * 0.5*_ratio.ratioY + Node517_1fontSize + 2 ]);
- Node517_1.a('node.underlinevisible',false);
- Node517_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node517_1);
- zoomNodeList.push({
- node: Node517_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node518_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');
- Node518_0 = new ht.Node();
- Node518_0.setPosition(13*ratio.ratioX, 511*ratio.ratioY);
- Node518_0.setSize(27*ratioX, 101*ratioY);
- Node518_0.setImage('imgimage//left_menu_over0.png');
- Node518_0.setRotation(0*Math.PI/180);
- Node518_0._zoomBy = 'Default';
- Node518_0._nodeType = 'image';
- Node518_0._disallowEvert = true;
- dataModel.add(Node518_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node518_1 = new ht.Node();
- var Node518_1textStart, Node518_1textWidth, Node518_1lineStart, Node518_1align = 'left', Node518_1fontSize = 18.66662*_ratio.ratioY,Node518_1width = 23*_ratio.ratioX, Node518_1height = 76*_ratio.ratioY;
- (function () {
- if (Node518_1align === 'left') {
- Node518_1textStart = Node518_1fontSize * 0.2 > 2 ? Node518_1fontSize * 0.2 - 4 : Node518_1fontSize * 0.2 - 9;
- Node518_1textWidth = Node518_1width;
- Node518_1lineStart = 1;
- } else if (Node518_1align === 'right') {
- Node518_1textStart = 0;
- Node518_1textWidth =Node518_1fontSize <= 8 ? Node518_1width + Node518_1fontSize * 0.2 + 6 : Node518_1width - Node518_1fontSize * 0.2;
- Node518_1lineStart = (Node518_1width - (ht.Default.getTextSize('测风塔', ' '+ Node518_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node518_1align === 'center') {
- Node518_1textStart = -3;
- Node518_1textWidth = Node518_1width;
- Node518_1lineStart = Node518_1width - ht.Default.getTextSize('测风塔', ' '+ Node518_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node518_1.setImage(GD.getTextJSON(Node518_1width, Node518_1height, false, true, false, ' '+ Node518_1fontSize + 'px "Arial"'))
- Node518_1.setPosition(12*ratio.ratioX, 509*ratio.ratioY);
- Node518_1.setWidth(Node518_1width);
- Node518_1.setHeight(Node518_1height);
- Node518_1._nodeType = 'text';
- Node518_1._disallowEvert = true;
- Node518_1.setRotation(0*Math.PI/180);
- Node518_1.a('node.width', Node518_1width);
- Node518_1.a('node.height', Node518_1height);
- Node518_1.a('node.rect', [0, 0, Node518_1width, Node518_1height]);
- Node518_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node518_1.a('node.borderwidth', 0);
- Node518_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node518_1.a('node.gradient','');
- Node518_1.a('node.gradientcolor','');
- Node518_1.a('node.text','测风塔');
- Node518_1.a('node.textalign','left');
- Node518_1.a('node.textvAlign','middle');
- Node518_1.a('node.textrect', [Node518_1textStart, 0, Node518_1textWidth, Node518_1height]);
- Node518_1.a('node.color','rgba(0,0,0,1)');
- Node518_1.a('node.font',' '+ Node518_1fontSize + 'px "Arial"');
- Node518_1.a('node.textvisible',false);
- Node518_1.a('node.linefeed',true);
- if (true) {
- Node518_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node518_1.a('node.text') || '测风塔';
- var color=Node518_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node518_1width,Node518_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node518_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node518_1.a('node.underlinepoints',[Node518_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node518_1fontSize + 2 , ht.Default.getTextSize('测风塔', ' '+ Node518_1fontSize + 'px "Arial"').width + 6, (Node518_1height - Node518_1fontSize) * 0.5*_ratio.ratioY + Node518_1fontSize + 2 ]);
- Node518_1.a('node.underlinevisible',false);
- Node518_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node518_1);
- zoomNodeList.push({
- node: Node518_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node519_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');
- Node519_0 = new ht.Node();
- Node519_0.setPosition(13*ratio.ratioX, 511*ratio.ratioY);
- Node519_0.setSize(27*ratioX, 101*ratioY);
- Node519_0.setImage('imgimage//left_menu_out0.png');
- Node519_0.setRotation(0*Math.PI/180);
- Node519_0._zoomBy = 'Default';
- Node519_0._nodeType = 'image';
- Node519_0._disallowEvert = true;
- dataModel.add(Node519_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node519_1 = new ht.Node();
- var Node519_1textStart, Node519_1textWidth, Node519_1lineStart, Node519_1align = 'left', Node519_1fontSize = 18.66662*_ratio.ratioY,Node519_1width = 23*_ratio.ratioX, Node519_1height = 76*_ratio.ratioY;
- (function () {
- if (Node519_1align === 'left') {
- Node519_1textStart = Node519_1fontSize * 0.2 > 2 ? Node519_1fontSize * 0.2 - 4 : Node519_1fontSize * 0.2 - 9;
- Node519_1textWidth = Node519_1width;
- Node519_1lineStart = 1;
- } else if (Node519_1align === 'right') {
- Node519_1textStart = 0;
- Node519_1textWidth =Node519_1fontSize <= 8 ? Node519_1width + Node519_1fontSize * 0.2 + 6 : Node519_1width - Node519_1fontSize * 0.2;
- Node519_1lineStart = (Node519_1width - (ht.Default.getTextSize('测风塔', ' '+ Node519_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node519_1align === 'center') {
- Node519_1textStart = -3;
- Node519_1textWidth = Node519_1width;
- Node519_1lineStart = Node519_1width - ht.Default.getTextSize('测风塔', ' '+ Node519_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node519_1.setImage(GD.getTextJSON(Node519_1width, Node519_1height, false, true, false, ' '+ Node519_1fontSize + 'px "Arial"'))
- Node519_1.setPosition(12*ratio.ratioX, 509*ratio.ratioY);
- Node519_1.setWidth(Node519_1width);
- Node519_1.setHeight(Node519_1height);
- Node519_1._nodeType = 'text';
- Node519_1._disallowEvert = true;
- Node519_1.setRotation(0*Math.PI/180);
- Node519_1.a('node.width', Node519_1width);
- Node519_1.a('node.height', Node519_1height);
- Node519_1.a('node.rect', [0, 0, Node519_1width, Node519_1height]);
- Node519_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node519_1.a('node.borderwidth', 0);
- Node519_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node519_1.a('node.gradient','');
- Node519_1.a('node.gradientcolor','');
- Node519_1.a('node.text','测风塔');
- Node519_1.a('node.textalign','left');
- Node519_1.a('node.textvAlign','middle');
- Node519_1.a('node.textrect', [Node519_1textStart, 0, Node519_1textWidth, Node519_1height]);
- Node519_1.a('node.color','rgba(0,0,0,1)');
- Node519_1.a('node.font',' '+ Node519_1fontSize + 'px "Arial"');
- Node519_1.a('node.textvisible',false);
- Node519_1.a('node.linefeed',true);
- if (true) {
- Node519_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node519_1.a('node.text') || '测风塔';
- var color=Node519_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node519_1width,Node519_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node519_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node519_1.a('node.underlinepoints',[Node519_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node519_1fontSize + 2 , ht.Default.getTextSize('测风塔', ' '+ Node519_1fontSize + 'px "Arial"').width + 6, (Node519_1height - Node519_1fontSize) * 0.5*_ratio.ratioY + Node519_1fontSize + 2 ]);
- Node519_1.a('node.underlinevisible',false);
- Node519_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node519_1);
- zoomNodeList.push({
- node: Node519_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node520_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');
- Node520_0 = new ht.Node();
- Node520_0.setPosition(13*ratio.ratioX, 611*ratio.ratioY);
- Node520_0.setSize(27*ratioX, 101*ratioY);
- Node520_0.setImage('imgimage//left_menu_over0.png');
- Node520_0.setRotation(0*Math.PI/180);
- Node520_0._zoomBy = 'Default';
- Node520_0._nodeType = 'image';
- Node520_0._disallowEvert = true;
- dataModel.add(Node520_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node520_1 = new ht.Node();
- var Node520_1textStart, Node520_1textWidth, Node520_1lineStart, Node520_1align = 'left', Node520_1fontSize = 18.66662*_ratio.ratioY,Node520_1width = 23*_ratio.ratioX, Node520_1height = 76*_ratio.ratioY;
- (function () {
- if (Node520_1align === 'left') {
- Node520_1textStart = Node520_1fontSize * 0.2 > 2 ? Node520_1fontSize * 0.2 - 4 : Node520_1fontSize * 0.2 - 9;
- Node520_1textWidth = Node520_1width;
- Node520_1lineStart = 1;
- } else if (Node520_1align === 'right') {
- Node520_1textStart = 0;
- Node520_1textWidth =Node520_1fontSize <= 8 ? Node520_1width + Node520_1fontSize * 0.2 + 6 : Node520_1width - Node520_1fontSize * 0.2;
- Node520_1lineStart = (Node520_1width - (ht.Default.getTextSize('风机信息', ' '+ Node520_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node520_1align === 'center') {
- Node520_1textStart = -3;
- Node520_1textWidth = Node520_1width;
- Node520_1lineStart = Node520_1width - ht.Default.getTextSize('风机信息', ' '+ Node520_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node520_1.setImage(GD.getTextJSON(Node520_1width, Node520_1height, false, true, false, ' '+ Node520_1fontSize + 'px "Arial"'))
- Node520_1.setPosition(12*ratio.ratioX, 609*ratio.ratioY);
- Node520_1.setWidth(Node520_1width);
- Node520_1.setHeight(Node520_1height);
- Node520_1._nodeType = 'text';
- Node520_1._disallowEvert = true;
- Node520_1.setRotation(0*Math.PI/180);
- Node520_1.a('node.width', Node520_1width);
- Node520_1.a('node.height', Node520_1height);
- Node520_1.a('node.rect', [0, 0, Node520_1width, Node520_1height]);
- Node520_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node520_1.a('node.borderwidth', 0);
- Node520_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node520_1.a('node.gradient','');
- Node520_1.a('node.gradientcolor','');
- Node520_1.a('node.text','风机信息');
- Node520_1.a('node.textalign','left');
- Node520_1.a('node.textvAlign','middle');
- Node520_1.a('node.textrect', [Node520_1textStart, 0, Node520_1textWidth, Node520_1height]);
- Node520_1.a('node.color','rgba(0,0,0,1)');
- Node520_1.a('node.font',' '+ Node520_1fontSize + 'px "Arial"');
- Node520_1.a('node.textvisible',false);
- Node520_1.a('node.linefeed',true);
- if (true) {
- Node520_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node520_1.a('node.text') || '风机信息';
- var color=Node520_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node520_1width,Node520_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node520_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node520_1.a('node.underlinepoints',[Node520_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node520_1fontSize + 2 , ht.Default.getTextSize('风机信息', ' '+ Node520_1fontSize + 'px "Arial"').width + 6, (Node520_1height - Node520_1fontSize) * 0.5*_ratio.ratioY + Node520_1fontSize + 2 ]);
- Node520_1.a('node.underlinevisible',false);
- Node520_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node520_1);
- zoomNodeList.push({
- node: Node520_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node521_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');
- Node521_0 = new ht.Node();
- Node521_0.setPosition(13*ratio.ratioX, 611*ratio.ratioY);
- Node521_0.setSize(27*ratioX, 101*ratioY);
- Node521_0.setImage('imgimage//left_menu_out0.png');
- Node521_0.setRotation(0*Math.PI/180);
- Node521_0._zoomBy = 'Default';
- Node521_0._nodeType = 'image';
- Node521_0._disallowEvert = true;
- dataModel.add(Node521_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node521_1 = new ht.Node();
- var Node521_1textStart, Node521_1textWidth, Node521_1lineStart, Node521_1align = 'left', Node521_1fontSize = 18.66662*_ratio.ratioY,Node521_1width = 23*_ratio.ratioX, Node521_1height = 76*_ratio.ratioY;
- (function () {
- if (Node521_1align === 'left') {
- Node521_1textStart = Node521_1fontSize * 0.2 > 2 ? Node521_1fontSize * 0.2 - 4 : Node521_1fontSize * 0.2 - 9;
- Node521_1textWidth = Node521_1width;
- Node521_1lineStart = 1;
- } else if (Node521_1align === 'right') {
- Node521_1textStart = 0;
- Node521_1textWidth =Node521_1fontSize <= 8 ? Node521_1width + Node521_1fontSize * 0.2 + 6 : Node521_1width - Node521_1fontSize * 0.2;
- Node521_1lineStart = (Node521_1width - (ht.Default.getTextSize('风机信息', ' '+ Node521_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node521_1align === 'center') {
- Node521_1textStart = -3;
- Node521_1textWidth = Node521_1width;
- Node521_1lineStart = Node521_1width - ht.Default.getTextSize('风机信息', ' '+ Node521_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node521_1.setImage(GD.getTextJSON(Node521_1width, Node521_1height, false, true, false, ' '+ Node521_1fontSize + 'px "Arial"'))
- Node521_1.setPosition(12*ratio.ratioX, 609*ratio.ratioY);
- Node521_1.setWidth(Node521_1width);
- Node521_1.setHeight(Node521_1height);
- Node521_1._nodeType = 'text';
- Node521_1._disallowEvert = true;
- Node521_1.setRotation(0*Math.PI/180);
- Node521_1.a('node.width', Node521_1width);
- Node521_1.a('node.height', Node521_1height);
- Node521_1.a('node.rect', [0, 0, Node521_1width, Node521_1height]);
- Node521_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node521_1.a('node.borderwidth', 0);
- Node521_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node521_1.a('node.gradient','');
- Node521_1.a('node.gradientcolor','');
- Node521_1.a('node.text','风机信息');
- Node521_1.a('node.textalign','left');
- Node521_1.a('node.textvAlign','middle');
- Node521_1.a('node.textrect', [Node521_1textStart, 0, Node521_1textWidth, Node521_1height]);
- Node521_1.a('node.color','rgba(0,0,0,1)');
- Node521_1.a('node.font',' '+ Node521_1fontSize + 'px "Arial"');
- Node521_1.a('node.textvisible',false);
- Node521_1.a('node.linefeed',true);
- if (true) {
- Node521_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node521_1.a('node.text') || '风机信息';
- var color=Node521_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node521_1width,Node521_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node521_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node521_1.a('node.underlinepoints',[Node521_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node521_1fontSize + 2 , ht.Default.getTextSize('风机信息', ' '+ Node521_1fontSize + 'px "Arial"').width + 6, (Node521_1height - Node521_1fontSize) * 0.5*_ratio.ratioY + Node521_1fontSize + 2 ]);
- Node521_1.a('node.underlinevisible',false);
- Node521_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node521_1);
- zoomNodeList.push({
- node: Node521_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node522_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');
- Node522_0 = new ht.Node();
- Node522_0.setPosition(13*ratio.ratioX, 711*ratio.ratioY);
- Node522_0.setSize(27*ratioX, 101*ratioY);
- Node522_0.setImage('imgimage//left_menu_out0.png');
- Node522_0.setRotation(0*Math.PI/180);
- Node522_0._zoomBy = 'Default';
- Node522_0._nodeType = 'image';
- Node522_0._disallowEvert = true;
- dataModel.add(Node522_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node522_1 = new ht.Node();
- var Node522_1textStart, Node522_1textWidth, Node522_1lineStart, Node522_1align = 'left', Node522_1fontSize = 18.66662*_ratio.ratioY,Node522_1width = 23*_ratio.ratioX, Node522_1height = 76*_ratio.ratioY;
- (function () {
- if (Node522_1align === 'left') {
- Node522_1textStart = Node522_1fontSize * 0.2 > 2 ? Node522_1fontSize * 0.2 - 4 : Node522_1fontSize * 0.2 - 9;
- Node522_1textWidth = Node522_1width;
- Node522_1lineStart = 1;
- } else if (Node522_1align === 'right') {
- Node522_1textStart = 0;
- Node522_1textWidth =Node522_1fontSize <= 8 ? Node522_1width + Node522_1fontSize * 0.2 + 6 : Node522_1width - Node522_1fontSize * 0.2;
- Node522_1lineStart = (Node522_1width - (ht.Default.getTextSize('风机矩阵', ' '+ Node522_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node522_1align === 'center') {
- Node522_1textStart = -3;
- Node522_1textWidth = Node522_1width;
- Node522_1lineStart = Node522_1width - ht.Default.getTextSize('风机矩阵', ' '+ Node522_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node522_1.setImage(GD.getTextJSON(Node522_1width, Node522_1height, false, true, false, ' '+ Node522_1fontSize + 'px "Arial"'))
- Node522_1.setPosition(12*ratio.ratioX, 709*ratio.ratioY);
- Node522_1.setWidth(Node522_1width);
- Node522_1.setHeight(Node522_1height);
- Node522_1._nodeType = 'text';
- Node522_1._disallowEvert = true;
- Node522_1.setRotation(0*Math.PI/180);
- Node522_1.a('node.width', Node522_1width);
- Node522_1.a('node.height', Node522_1height);
- Node522_1.a('node.rect', [0, 0, Node522_1width, Node522_1height]);
- Node522_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node522_1.a('node.borderwidth', 0);
- Node522_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node522_1.a('node.gradient','');
- Node522_1.a('node.gradientcolor','');
- Node522_1.a('node.text','风机矩阵');
- Node522_1.a('node.textalign','left');
- Node522_1.a('node.textvAlign','middle');
- Node522_1.a('node.textrect', [Node522_1textStart, 0, Node522_1textWidth, Node522_1height]);
- Node522_1.a('node.color','rgba(0,0,0,1)');
- Node522_1.a('node.font',' '+ Node522_1fontSize + 'px "Arial"');
- Node522_1.a('node.textvisible',false);
- Node522_1.a('node.linefeed',true);
- if (true) {
- Node522_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node522_1.a('node.text') || '风机矩阵';
- var color=Node522_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node522_1width,Node522_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node522_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node522_1.a('node.underlinepoints',[Node522_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node522_1fontSize + 2 , ht.Default.getTextSize('风机矩阵', ' '+ Node522_1fontSize + 'px "Arial"').width + 6, (Node522_1height - Node522_1fontSize) * 0.5*_ratio.ratioY + Node522_1fontSize + 2 ]);
- Node522_1.a('node.underlinevisible',false);
- Node522_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node522_1);
- zoomNodeList.push({
- node: Node522_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node523_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');
- Node523_0 = new ht.Node();
- Node523_0.setPosition(13*ratio.ratioX, 711*ratio.ratioY);
- Node523_0.setSize(27*ratioX, 101*ratioY);
- Node523_0.setImage('imgimage//left_menu_over0.png');
- Node523_0.setRotation(0*Math.PI/180);
- Node523_0._zoomBy = 'Default';
- Node523_0._nodeType = 'image';
- Node523_0._disallowEvert = true;
- dataModel.add(Node523_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node523_1 = new ht.Node();
- var Node523_1textStart, Node523_1textWidth, Node523_1lineStart, Node523_1align = 'left', Node523_1fontSize = 18.66662*_ratio.ratioY,Node523_1width = 23*_ratio.ratioX, Node523_1height = 76*_ratio.ratioY;
- (function () {
- if (Node523_1align === 'left') {
- Node523_1textStart = Node523_1fontSize * 0.2 > 2 ? Node523_1fontSize * 0.2 - 4 : Node523_1fontSize * 0.2 - 9;
- Node523_1textWidth = Node523_1width;
- Node523_1lineStart = 1;
- } else if (Node523_1align === 'right') {
- Node523_1textStart = 0;
- Node523_1textWidth =Node523_1fontSize <= 8 ? Node523_1width + Node523_1fontSize * 0.2 + 6 : Node523_1width - Node523_1fontSize * 0.2;
- Node523_1lineStart = (Node523_1width - (ht.Default.getTextSize('风机矩阵', ' '+ Node523_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node523_1align === 'center') {
- Node523_1textStart = -3;
- Node523_1textWidth = Node523_1width;
- Node523_1lineStart = Node523_1width - ht.Default.getTextSize('风机矩阵', ' '+ Node523_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node523_1.setImage(GD.getTextJSON(Node523_1width, Node523_1height, false, true, false, ' '+ Node523_1fontSize + 'px "Arial"'))
- Node523_1.setPosition(12*ratio.ratioX, 709*ratio.ratioY);
- Node523_1.setWidth(Node523_1width);
- Node523_1.setHeight(Node523_1height);
- Node523_1._nodeType = 'text';
- Node523_1._disallowEvert = true;
- Node523_1.setRotation(0*Math.PI/180);
- Node523_1.a('node.width', Node523_1width);
- Node523_1.a('node.height', Node523_1height);
- Node523_1.a('node.rect', [0, 0, Node523_1width, Node523_1height]);
- Node523_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node523_1.a('node.borderwidth', 0);
- Node523_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node523_1.a('node.gradient','');
- Node523_1.a('node.gradientcolor','');
- Node523_1.a('node.text','风机矩阵');
- Node523_1.a('node.textalign','left');
- Node523_1.a('node.textvAlign','middle');
- Node523_1.a('node.textrect', [Node523_1textStart, 0, Node523_1textWidth, Node523_1height]);
- Node523_1.a('node.color','rgba(0,0,0,1)');
- Node523_1.a('node.font',' '+ Node523_1fontSize + 'px "Arial"');
- Node523_1.a('node.textvisible',false);
- Node523_1.a('node.linefeed',true);
- if (true) {
- Node523_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node523_1.a('node.text') || '风机矩阵';
- var color=Node523_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node523_1width,Node523_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node523_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node523_1.a('node.underlinepoints',[Node523_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node523_1fontSize + 2 , ht.Default.getTextSize('风机矩阵', ' '+ Node523_1fontSize + 'px "Arial"').width + 6, (Node523_1height - Node523_1fontSize) * 0.5*_ratio.ratioY + Node523_1fontSize + 2 ]);
- Node523_1.a('node.underlinevisible',false);
- Node523_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node523_1);
- zoomNodeList.push({
- node: Node523_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node524_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');
- Node524_0 = new ht.Node();
- Node524_0.setPosition(13*ratio.ratioX, 221*ratio.ratioY);
- Node524_0.setSize(27*ratioX, 101*ratioY);
- Node524_0.setImage('imgimage//left_menu_out0.png');
- Node524_0.setRotation(0*Math.PI/180);
- Node524_0._zoomBy = 'Default';
- Node524_0._nodeType = 'image';
- Node524_0._disallowEvert = true;
- dataModel.add(Node524_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node524_1 = new ht.Node();
- var Node524_1textStart, Node524_1textWidth, Node524_1lineStart, Node524_1align = 'left', Node524_1fontSize = 19.99995*_ratio.ratioY,Node524_1width = 23*_ratio.ratioX, Node524_1height = 76*_ratio.ratioY;
- (function () {
- if (Node524_1align === 'left') {
- Node524_1textStart = Node524_1fontSize * 0.2 > 2 ? Node524_1fontSize * 0.2 - 4 : Node524_1fontSize * 0.2 - 9;
- Node524_1textWidth = Node524_1width;
- Node524_1lineStart = 1;
- } else if (Node524_1align === 'right') {
- Node524_1textStart = 0;
- Node524_1textWidth =Node524_1fontSize <= 8 ? Node524_1width + Node524_1fontSize * 0.2 + 6 : Node524_1width - Node524_1fontSize * 0.2;
- Node524_1lineStart = (Node524_1width - (ht.Default.getTextSize('排布图', ' '+ Node524_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node524_1align === 'center') {
- Node524_1textStart = -3;
- Node524_1textWidth = Node524_1width;
- Node524_1lineStart = Node524_1width - ht.Default.getTextSize('排布图', ' '+ Node524_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node524_1.setImage(GD.getTextJSON(Node524_1width, Node524_1height, false, true, false, ' '+ Node524_1fontSize + 'px "Arial"'))
- Node524_1.setPosition(12*ratio.ratioX, 219*ratio.ratioY);
- Node524_1.setWidth(Node524_1width);
- Node524_1.setHeight(Node524_1height);
- Node524_1._nodeType = 'text';
- Node524_1._disallowEvert = true;
- Node524_1.setRotation(0*Math.PI/180);
- Node524_1.a('node.width', Node524_1width);
- Node524_1.a('node.height', Node524_1height);
- Node524_1.a('node.rect', [0, 0, Node524_1width, Node524_1height]);
- Node524_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node524_1.a('node.borderwidth', 0);
- Node524_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node524_1.a('node.gradient','');
- Node524_1.a('node.gradientcolor','');
- Node524_1.a('node.text','排布图');
- Node524_1.a('node.textalign','left');
- Node524_1.a('node.textvAlign','middle');
- Node524_1.a('node.textrect', [Node524_1textStart, 0, Node524_1textWidth, Node524_1height]);
- Node524_1.a('node.color','rgba(0,0,0,1)');
- Node524_1.a('node.font',' '+ Node524_1fontSize + 'px "Arial"');
- Node524_1.a('node.textvisible',false);
- Node524_1.a('node.linefeed',true);
- if (true) {
- Node524_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node524_1.a('node.text') || '排布图';
- var color=Node524_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node524_1width,Node524_1height,19.99995*_ratio.ratioY,"left",color,' '+ Node524_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node524_1.a('node.underlinepoints',[Node524_1lineStart, (76 - 19.99995) * 0.5 * _ratio.ratioY + Node524_1fontSize + 2 , ht.Default.getTextSize('排布图', ' '+ Node524_1fontSize + 'px "Arial"').width + 6, (Node524_1height - Node524_1fontSize) * 0.5*_ratio.ratioY + Node524_1fontSize + 2 ]);
- Node524_1.a('node.underlinevisible',false);
- Node524_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node524_1);
- zoomNodeList.push({
- node: Node524_1,
- 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 = 47*_ratio.ratioX, Node525height = 38*_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('运行', 'bold '+ Node525fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node525align === 'center') {
- Node525textStart = -3;
- Node525textWidth = Node525width;
- Node525lineStart = Node525width - ht.Default.getTextSize('运行', 'bold '+ Node525fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node525.setImage(GD.getTextJSON(Node525width, Node525height, true, false, false, 'bold '+ Node525fontSize + 'px "Arial"'))
- Node525.setPosition(1506*ratio.ratioX, 54*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','运行');
- 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','bold '+ 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') || '运行';
- 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,'bold '+ Node525fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node525.a('node.underlinepoints',[Node525lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node525fontSize + 2 , ht.Default.getTextSize('运行', 'bold '+ 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 = 47*_ratio.ratioX, Node526height = 38*_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('待机', 'bold '+ Node526fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node526align === 'center') {
- Node526textStart = -3;
- Node526textWidth = Node526width;
- Node526lineStart = Node526width - ht.Default.getTextSize('待机', 'bold '+ Node526fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node526.setImage(GD.getTextJSON(Node526width, Node526height, true, false, false, 'bold '+ Node526fontSize + 'px "Arial"'))
- Node526.setPosition(1644*ratio.ratioX, 54*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','待机');
- 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','bold '+ 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') || '待机';
- 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,'bold '+ Node526fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node526.a('node.underlinepoints',[Node526lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node526fontSize + 2 , ht.Default.getTextSize('待机', 'bold '+ 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 = 47*_ratio.ratioX, Node527height = 38*_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('故障', 'bold '+ Node527fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node527align === 'center') {
- Node527textStart = -3;
- Node527textWidth = Node527width;
- Node527lineStart = Node527width - ht.Default.getTextSize('故障', 'bold '+ Node527fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node527.setImage(GD.getTextJSON(Node527width, Node527height, true, false, false, 'bold '+ Node527fontSize + 'px "Arial"'))
- Node527.setPosition(1782*ratio.ratioX, 54*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','故障');
- 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','bold '+ 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') || '故障';
- 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,'bold '+ Node527fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node527.a('node.underlinepoints',[Node527lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node527fontSize + 2 , ht.Default.getTextSize('故障', 'bold '+ 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 Node528type = 'rect';
- var Node528 = new ht.Node(),
- Node528BorderWidth = 1*2;
- if (Node528type === 'arc') {
- Node528BorderWidth *= 1;
- }
- Node528.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node528type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node528.setPosition(1820*ratio.ratioX, 70*ratio.ratioY);
- Node528.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node528.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node528.a('node.width', 127*_ratio.ratioX);
- Node528.a('node.height', 60.81538*_ratio.ratioY);
- Node528.a('node.type', Node528type);
- Node528.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node528.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node528.a('node.gradientcolor', '');
- Node528.a('node.gradient', '');
- Node528.a('node.borderwidth', Node528BorderWidth);
- Node528.a('node.color', 'rgba(128,128,128,1)');
- Node528.a('node.fillrect', [0,0,0,0]);
- Node528.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node528.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node528.a('node.fillgradient', '');
- if (Node528type !== 'rect') {
- Node528.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node528.a('node.arcTo', parseFloat('@arcTo@'));
- Node528.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node528type === 'arc') {
- Node528.a('node.arcOval', true);
- }
- Node528.setRotation(0*Math.PI/180);
- Node528.borderWidth = Node528BorderWidth;
- Node528.borderFillwidth = Node528BorderWidth;
- dataModel.add(Node528);
- Node528._nodename = 'Node528'
- Node528._nodeType = 'rect';
- zoomNodeList.push({
- node: Node528,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node528, Node528.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node529type = 'rect';
- var Node529 = new ht.Node(),
- Node529BorderWidth = 1*2;
- if (Node529type === 'arc') {
- Node529BorderWidth *= 1;
- }
- Node529.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node529type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node529.setPosition(1820*ratio.ratioX, 131*ratio.ratioY);
- Node529.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node529.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node529.a('node.width', 127*_ratio.ratioX);
- Node529.a('node.height', 60.81538*_ratio.ratioY);
- Node529.a('node.type', Node529type);
- Node529.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node529.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node529.a('node.gradientcolor', '');
- Node529.a('node.gradient', '');
- Node529.a('node.borderwidth', Node529BorderWidth);
- Node529.a('node.color', 'rgba(128,128,128,1)');
- Node529.a('node.fillrect', [0,0,0,0]);
- Node529.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node529.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node529.a('node.fillgradient', '');
- if (Node529type !== 'rect') {
- Node529.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node529.a('node.arcTo', parseFloat('@arcTo@'));
- Node529.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node529type === 'arc') {
- Node529.a('node.arcOval', true);
- }
- Node529.setRotation(0*Math.PI/180);
- Node529.borderWidth = Node529BorderWidth;
- Node529.borderFillwidth = Node529BorderWidth;
- dataModel.add(Node529);
- Node529._nodename = 'Node529'
- Node529._nodeType = 'rect';
- zoomNodeList.push({
- node: Node529,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node529, Node529.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node530type = 'rect';
- var Node530 = new ht.Node(),
- Node530BorderWidth = 1*2;
- if (Node530type === 'arc') {
- Node530BorderWidth *= 1;
- }
- Node530.setImage(GD.getRectJSON(27*_ratio.ratioX, 121*_ratio.ratioY, Node530type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node530.setPosition(1326*ratio.ratioX, 100*ratio.ratioY);
- Node530.setSize(27*_ratio.ratioX, 121*_ratio.ratioY);
- Node530.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node530.a('node.width', 27*_ratio.ratioX);
- Node530.a('node.height', 121*_ratio.ratioY);
- Node530.a('node.type', Node530type);
- Node530.a('node.rect', [0, 0, 27*_ratio.ratioX, 121*_ratio.ratioY]);
- Node530.a('node.background', 'rgba(0,0,0,1)');
- Node530.a('node.gradientcolor', 'rgba(0,0,0,1)');
- Node530.a('node.gradient', '');
- Node530.a('node.borderwidth', Node530BorderWidth);
- Node530.a('node.color', 'rgba(0,0,255,1)');
- Node530.a('node.fillrect', [0,0,0,0]);
- Node530.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node530.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node530.a('node.fillgradient', '');
- if (Node530type !== 'rect') {
- Node530.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node530.a('node.arcTo', parseFloat('@arcTo@'));
- Node530.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node530type === 'arc') {
- Node530.a('node.arcOval', true);
- }
- Node530.setRotation(0*Math.PI/180);
- Node530.borderWidth = Node530BorderWidth;
- Node530.borderFillwidth = Node530BorderWidth;
- dataModel.add(Node530);
- Node530._nodename = 'Node530'
- Node530._nodeType = 'rect';
- zoomNodeList.push({
- node: Node530,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node530, Node530.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node531 = new ht.Node();
- var Node531textStart, Node531textWidth, Node531lineStart, Node531align = 'left', Node531fontSize = 11.99997*_ratio.ratioY,Node531width = 53*_ratio.ratioX, Node531height = 20*_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('风', 'bold '+ Node531fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node531align === 'center') {
- Node531textStart = -3;
- Node531textWidth = Node531width;
- Node531lineStart = Node531width - ht.Default.getTextSize('风', 'bold '+ Node531fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node531.setImage(GD.getTextJSON(Node531width, Node531height, true, false, false, 'bold '+ Node531fontSize + 'px "Arial"'))
- Node531.setPosition(1343*ratio.ratioX, 66*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(255,255,255,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','风');
- Node531.a('node.textalign','left');
- Node531.a('node.textvAlign','middle');
- Node531.a('node.textrect', [Node531textStart, 0, Node531textWidth, Node531height]);
- Node531.a('node.color','rgba(255,255,255,1)');
- Node531.a('node.font','bold '+ 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') || '风';
- var color=Node531.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node531width,Node531height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node531fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node531.a('node.underlinepoints',[Node531lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node531fontSize + 2 , ht.Default.getTextSize('风', 'bold '+ 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 Node532type = 'rect';
- var Node532 = new ht.Node(),
- Node532BorderWidth = 1*2;
- if (Node532type === 'arc') {
- Node532BorderWidth *= 1;
- }
- Node532.setImage(GD.getRectJSON(130*_ratio.ratioX, 121*_ratio.ratioY, Node532type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node532.setPosition(1405*ratio.ratioX, 100*ratio.ratioY);
- Node532.setSize(130*_ratio.ratioX, 121*_ratio.ratioY);
- Node532.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node532.a('node.width', 130*_ratio.ratioX);
- Node532.a('node.height', 121*_ratio.ratioY);
- Node532.a('node.type', Node532type);
- Node532.a('node.rect', [0, 0, 130*_ratio.ratioX, 121*_ratio.ratioY]);
- Node532.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node532.a('node.gradientcolor', '');
- Node532.a('node.gradient', '');
- Node532.a('node.borderwidth', Node532BorderWidth);
- Node532.a('node.color', 'rgba(128,128,128,1)');
- Node532.a('node.fillrect', [0,0,0,0]);
- Node532.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node532.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node532.a('node.fillgradient', '');
- if (Node532type !== 'rect') {
- Node532.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node532.a('node.arcTo', parseFloat('@arcTo@'));
- Node532.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node532type === 'arc') {
- Node532.a('node.arcOval', true);
- }
- Node532.setRotation(0*Math.PI/180);
- Node532.borderWidth = Node532BorderWidth;
- Node532.borderFillwidth = Node532BorderWidth;
- dataModel.add(Node532);
- Node532._nodename = 'Node532'
- Node532._nodeType = 'rect';
- zoomNodeList.push({
- node: Node532,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node532, Node532.getImage());_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 = 59*_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('接入', ' '+ Node533fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node533align === 'center') {
- Node533textStart = -3;
- Node533textWidth = Node533width;
- Node533lineStart = Node533width - ht.Default.getTextSize('接入', ' '+ Node533fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node533.setImage(GD.getTextJSON(Node533width, Node533height, true, false, false, ' '+ Node533fontSize + 'px "Arial"'))
- Node533.setPosition(1374*ratio.ratioX, 54*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(105,105,105,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','接入');
- Node533.a('node.textalign','left');
- Node533.a('node.textvAlign','middle');
- Node533.a('node.textrect', [Node533textStart, 0, Node533textWidth, Node533height]);
- Node533.a('node.color','rgba(105,105,105,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') || '接入';
- var color=Node533.a('node.color') || 'rgba(105,105,105,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('接入', ' '+ 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 = 'center', Node534fontSize = 26.6666*_ratio.ratioY,Node534width = 87*_ratio.ratioX, Node534height = 36*_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(1406*ratio.ratioX, 99*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','center');
- 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,26.6666*0.5*_ratio.ratioY,Node534width,Node534height,26.6666*_ratio.ratioY,"center",color,' '+ Node534fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node534.a('node.underlinepoints',[Node534lineStart, (36 - 26.6666) * 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 = 'center', Node535fontSize = 14.66663*_ratio.ratioY,Node535width = 87*_ratio.ratioX, Node535height = 26*_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('台', ' '+ Node535fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node535align === 'center') {
- Node535textStart = -3;
- Node535textWidth = Node535width;
- Node535lineStart = Node535width - ht.Default.getTextSize('台', ' '+ Node535fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node535.setImage(GD.getTextJSON(Node535width, Node535height, true, false, false, ' '+ Node535fontSize + 'px "Arial"'))
- Node535.setPosition(1453*ratio.ratioX, 148*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(105,105,105,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','台');
- Node535.a('node.textalign','center');
- Node535.a('node.textvAlign','middle');
- Node535.a('node.textrect', [Node535textStart, 0, Node535textWidth, Node535height]);
- Node535.a('node.color','rgba(105,105,105,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') || '台';
- var color=Node535.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node535width,Node535height,14.66663*_ratio.ratioY,"center",color,' '+ Node535fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node535.a('node.underlinepoints',[Node535lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node535fontSize + 2 , ht.Default.getTextSize('台', ' '+ 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 = 'center', Node536fontSize = 14.66663*_ratio.ratioY,Node536width = 67*_ratio.ratioX, Node536height = 26*_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('台', ' '+ Node536fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node536align === 'center') {
- Node536textStart = -3;
- Node536textWidth = Node536width;
- Node536lineStart = Node536width - ht.Default.getTextSize('台', ' '+ Node536fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node536.setImage(GD.getTextJSON(Node536width, Node536height, true, false, false, ' '+ Node536fontSize + 'px "Arial"'))
- Node536.setPosition(1586*ratio.ratioX, 146*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(105,105,105,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','台');
- Node536.a('node.textalign','center');
- Node536.a('node.textvAlign','middle');
- Node536.a('node.textrect', [Node536textStart, 0, Node536textWidth, Node536height]);
- Node536.a('node.color','rgba(105,105,105,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') || '台';
- var color=Node536.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node536width,Node536height,14.66663*_ratio.ratioY,"center",color,' '+ Node536fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node536.a('node.underlinepoints',[Node536lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node536fontSize + 2 , ht.Default.getTextSize('台', ' '+ 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'
- }); var Node537;
- (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');
- Node537 = new ht.Node();
- Node537.setPosition(1475*ratio.ratioX, 130*ratio.ratioY);
- Node537.setSize(9*ratioX, 60*ratioY);
- Node537.setImage('imgimage//page_list_box_left_orange.jpg');
- Node537.setRotation(0*Math.PI/180);
- Node537._zoomBy = 'Default';
- Node537._nodeType = 'image';
- Node537._disallowEvert = true;
- dataModel.add(Node537);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node538type = 'rect';
- var Node538 = new ht.Node(),
- Node538BorderWidth = 1*2;
- if (Node538type === 'arc') {
- Node538BorderWidth *= 1;
- }
- Node538.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node538type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node538.setPosition(1544*ratio.ratioX, 131*ratio.ratioY);
- Node538.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node538.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node538.a('node.width', 127*_ratio.ratioX);
- Node538.a('node.height', 60.81538*_ratio.ratioY);
- Node538.a('node.type', Node538type);
- Node538.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node538.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node538.a('node.gradientcolor', '');
- Node538.a('node.gradient', '');
- Node538.a('node.borderwidth', Node538BorderWidth);
- Node538.a('node.color', 'rgba(128,128,128,1)');
- Node538.a('node.fillrect', [0,0,0,0]);
- Node538.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node538.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node538.a('node.fillgradient', '');
- if (Node538type !== 'rect') {
- Node538.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node538.a('node.arcTo', parseFloat('@arcTo@'));
- Node538.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node538type === 'arc') {
- Node538.a('node.arcOval', true);
- }
- Node538.setRotation(0*Math.PI/180);
- Node538.borderWidth = Node538BorderWidth;
- Node538.borderFillwidth = Node538BorderWidth;
- dataModel.add(Node538);
- Node538._nodename = 'Node538'
- Node538._nodeType = 'rect';
- zoomNodeList.push({
- node: Node538,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node538, Node538.getImage());_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 = 47*_ratio.ratioX, Node539height = 38*_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('维护', 'bold '+ Node539fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node539align === 'center') {
- Node539textStart = -3;
- Node539textWidth = Node539width;
- Node539lineStart = Node539width - ht.Default.getTextSize('维护', 'bold '+ Node539fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node539.setImage(GD.getTextJSON(Node539width, Node539height, true, false, false, 'bold '+ Node539fontSize + 'px "Arial"'))
- Node539.setPosition(1506*ratio.ratioX, 113*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','维护');
- 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','bold '+ 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') || '维护';
- 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,'bold '+ Node539fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node539.a('node.underlinepoints',[Node539lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node539fontSize + 2 , ht.Default.getTextSize('维护', 'bold '+ 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 = 15.99996*_ratio.ratioY,Node540width = 29*_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(1507*ratio.ratioX, 145*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,15.99996*0.5*_ratio.ratioY,Node540width,Node540height,15.99996*_ratio.ratioY,"left",color,' '+ Node540fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node540.a('node.underlinepoints',[Node540lineStart, (25 - 15.99996) * 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 = 'center', Node541fontSize = 14.66663*_ratio.ratioY,Node541width = 67*_ratio.ratioX, Node541height = 26*_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('台', ' '+ Node541fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node541align === 'center') {
- Node541textStart = -3;
- Node541textWidth = Node541width;
- Node541lineStart = Node541width - ht.Default.getTextSize('台', ' '+ Node541fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node541.setImage(GD.getTextJSON(Node541width, Node541height, true, false, false, ' '+ Node541fontSize + 'px "Arial"'))
- Node541.setPosition(1724*ratio.ratioX, 86*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(105,105,105,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','台');
- Node541.a('node.textalign','center');
- Node541.a('node.textvAlign','middle');
- Node541.a('node.textrect', [Node541textStart, 0, Node541textWidth, Node541height]);
- Node541.a('node.color','rgba(105,105,105,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') || '台';
- var color=Node541.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node541width,Node541height,14.66663*_ratio.ratioY,"center",color,' '+ Node541fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node541.a('node.underlinepoints',[Node541lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node541fontSize + 2 , ht.Default.getTextSize('台', ' '+ 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'
- }); var Node542;
- (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');
- Node542 = new ht.Node();
- Node542.setPosition(1613*ratio.ratioX, 70*ratio.ratioY);
- Node542.setSize(9*ratioX, 60*ratioY);
- Node542.setImage('imgimage//page_list_box_left_green.jpg');
- Node542.setRotation(0*Math.PI/180);
- Node542._zoomBy = 'Default';
- Node542._nodeType = 'image';
- Node542._disallowEvert = true;
- dataModel.add(Node542);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node543type = 'rect';
- var Node543 = new ht.Node(),
- Node543BorderWidth = 1*2;
- if (Node543type === 'arc') {
- Node543BorderWidth *= 1;
- }
- Node543.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node543type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node543.setPosition(1682*ratio.ratioX, 70*ratio.ratioY);
- Node543.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node543.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node543.a('node.width', 127*_ratio.ratioX);
- Node543.a('node.height', 60.81538*_ratio.ratioY);
- Node543.a('node.type', Node543type);
- Node543.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node543.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node543.a('node.gradientcolor', '');
- Node543.a('node.gradient', '');
- Node543.a('node.borderwidth', Node543BorderWidth);
- Node543.a('node.color', 'rgba(128,128,128,1)');
- Node543.a('node.fillrect', [0,0,0,0]);
- Node543.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node543.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node543.a('node.fillgradient', '');
- if (Node543type !== 'rect') {
- Node543.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node543.a('node.arcTo', parseFloat('@arcTo@'));
- Node543.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node543type === 'arc') {
- Node543.a('node.arcOval', true);
- }
- Node543.setRotation(0*Math.PI/180);
- Node543.borderWidth = Node543BorderWidth;
- Node543.borderFillwidth = Node543BorderWidth;
- dataModel.add(Node543);
- Node543._nodename = 'Node543'
- Node543._nodeType = 'rect';
- zoomNodeList.push({
- node: Node543,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node543, Node543.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node544 = new ht.Node();
- var Node544textStart, Node544textWidth, Node544lineStart, Node544align = 'left', Node544fontSize = 15.99996*_ratio.ratioY,Node544width = 29*_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(1645*ratio.ratioX, 85*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,15.99996*0.5*_ratio.ratioY,Node544width,Node544height,15.99996*_ratio.ratioY,"left",color,' '+ Node544fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node544.a('node.underlinepoints',[Node544lineStart, (25 - 15.99996) * 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 = 'center', Node545fontSize = 14.66663*_ratio.ratioY,Node545width = 67*_ratio.ratioX, Node545height = 26*_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('台', ' '+ Node545fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node545align === 'center') {
- Node545textStart = -3;
- Node545textWidth = Node545width;
- Node545lineStart = Node545width - ht.Default.getTextSize('台', ' '+ Node545fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node545.setImage(GD.getTextJSON(Node545width, Node545height, true, false, false, ' '+ Node545fontSize + 'px "Arial"'))
- Node545.setPosition(1724*ratio.ratioX, 147*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(105,105,105,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','台');
- Node545.a('node.textalign','center');
- Node545.a('node.textvAlign','middle');
- Node545.a('node.textrect', [Node545textStart, 0, Node545textWidth, Node545height]);
- Node545.a('node.color','rgba(105,105,105,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') || '台';
- var color=Node545.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node545width,Node545height,14.66663*_ratio.ratioY,"center",color,' '+ Node545fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node545.a('node.underlinepoints',[Node545lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node545fontSize + 2 , ht.Default.getTextSize('台', ' '+ 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'
- }); var Node546;
- (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');
- Node546 = new ht.Node();
- Node546.setPosition(1613*ratio.ratioX, 131*ratio.ratioY);
- Node546.setSize(9*ratioX, 60*ratioY);
- Node546.setImage('imgimage//page_list_box_left_pink.jpg');
- Node546.setRotation(0*Math.PI/180);
- Node546._zoomBy = 'Default';
- Node546._nodeType = 'image';
- Node546._disallowEvert = true;
- dataModel.add(Node546);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node547type = 'rect';
- var Node547 = new ht.Node(),
- Node547BorderWidth = 1*2;
- if (Node547type === 'arc') {
- Node547BorderWidth *= 1;
- }
- Node547.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node547type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node547.setPosition(1682*ratio.ratioX, 131*ratio.ratioY);
- Node547.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node547.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node547.a('node.width', 127*_ratio.ratioX);
- Node547.a('node.height', 60.81538*_ratio.ratioY);
- Node547.a('node.type', Node547type);
- Node547.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node547.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node547.a('node.gradientcolor', '');
- Node547.a('node.gradient', '');
- Node547.a('node.borderwidth', Node547BorderWidth);
- Node547.a('node.color', 'rgba(128,128,128,1)');
- Node547.a('node.fillrect', [0,0,0,0]);
- Node547.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node547.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node547.a('node.fillgradient', '');
- if (Node547type !== 'rect') {
- Node547.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node547.a('node.arcTo', parseFloat('@arcTo@'));
- Node547.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node547type === 'arc') {
- Node547.a('node.arcOval', true);
- }
- Node547.setRotation(0*Math.PI/180);
- Node547.borderWidth = Node547BorderWidth;
- Node547.borderFillwidth = Node547BorderWidth;
- dataModel.add(Node547);
- Node547._nodename = 'Node547'
- Node547._nodeType = 'rect';
- zoomNodeList.push({
- node: Node547,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node547, Node547.getImage());_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 = 47*_ratio.ratioX, Node548height = 38*_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('限电', 'bold '+ Node548fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node548align === 'center') {
- Node548textStart = -3;
- Node548textWidth = Node548width;
- Node548lineStart = Node548width - ht.Default.getTextSize('限电', 'bold '+ Node548fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node548.setImage(GD.getTextJSON(Node548width, Node548height, true, false, false, 'bold '+ Node548fontSize + 'px "Arial"'))
- Node548.setPosition(1644*ratio.ratioX, 114*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','限电');
- 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','bold '+ 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') || '限电';
- 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,'bold '+ Node548fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node548.a('node.underlinepoints',[Node548lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node548fontSize + 2 , ht.Default.getTextSize('限电', 'bold '+ 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 = 15.99996*_ratio.ratioY,Node549width = 29*_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(1645*ratio.ratioX, 146*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,15.99996*0.5*_ratio.ratioY,Node549width,Node549height,15.99996*_ratio.ratioY,"left",color,' '+ Node549fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node549.a('node.underlinepoints',[Node549lineStart, (25 - 15.99996) * 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 = 61*_ratio.ratioX, Node550height = 26*_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('功率', ' '+ Node550fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node550align === 'center') {
- Node550textStart = -3;
- Node550textWidth = Node550width;
- Node550lineStart = Node550width - ht.Default.getTextSize('功率', ' '+ Node550fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node550.setImage(GD.getTextJSON(Node550width, Node550height, true, false, false, ' '+ Node550fontSize + 'px "微软雅黑"'))
- Node550.setPosition(220*ratio.ratioX, 78*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','功率');
- 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 "微软雅黑"');
- 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') || '功率';
- 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 "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node550.a('node.underlinepoints',[Node550lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node550fontSize + 2 , ht.Default.getTextSize('功率', ' '+ Node550fontSize + 'px "微软雅黑"').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 = 61*_ratio.ratioX, Node551height = 26*_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('风速', ' '+ Node551fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node551align === 'center') {
- Node551textStart = -3;
- Node551textWidth = Node551width;
- Node551lineStart = Node551width - ht.Default.getTextSize('风速', ' '+ Node551fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node551.setImage(GD.getTextJSON(Node551width, Node551height, true, false, false, ' '+ Node551fontSize + 'px "微软雅黑"'))
- Node551.setPosition(220*ratio.ratioX, 102*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','风速');
- 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 "微软雅黑"');
- 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') || '风速';
- 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 "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node551.a('node.underlinepoints',[Node551lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node551fontSize + 2 , ht.Default.getTextSize('风速', ' '+ Node551fontSize + 'px "微软雅黑"').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 = 77*_ratio.ratioX, Node552height = 26*_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('发电量', ' '+ Node552fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node552align === 'center') {
- Node552textStart = -3;
- Node552textWidth = Node552width;
- Node552lineStart = Node552width - ht.Default.getTextSize('发电量', ' '+ Node552fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node552.setImage(GD.getTextJSON(Node552width, Node552height, true, false, false, ' '+ Node552fontSize + 'px "微软雅黑"'))
- Node552.setPosition(226*ratio.ratioX, 127*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','发电量');
- 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 "微软雅黑"');
- 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') || '发电量';
- 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 "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node552.a('node.underlinepoints',[Node552lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node552fontSize + 2 , ht.Default.getTextSize('发电量', ' '+ Node552fontSize + 'px "微软雅黑"').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 Node553type = 'rect';
- var Node553 = new ht.Node(),
- Node553BorderWidth = 1*2;
- if (Node553type === 'arc') {
- Node553BorderWidth *= 1;
- }
- Node553.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node553type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node553.setPosition(530*ratio.ratioX, 100*ratio.ratioY);
- Node553.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node553.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node553.a('node.width', 121*_ratio.ratioX);
- Node553.a('node.height', 24.33138*_ratio.ratioY);
- Node553.a('node.type', Node553type);
- Node553.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node553.a('node.background', 'rgba(240,240,240,1)');
- Node553.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node553.a('node.gradient', '');
- Node553.a('node.borderwidth', Node553BorderWidth);
- Node553.a('node.color', 'rgba(224,224,224,1)');
- Node553.a('node.fillrect', [0,0,0,0]);
- Node553.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node553.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node553.a('node.fillgradient', '');
- if (Node553type !== 'rect') {
- Node553.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node553.a('node.arcTo', parseFloat('@arcTo@'));
- Node553.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node553type === 'arc') {
- Node553.a('node.arcOval', true);
- }
- Node553.setRotation(0*Math.PI/180);
- Node553.borderWidth = Node553BorderWidth;
- Node553.borderFillwidth = Node553BorderWidth;
- dataModel.add(Node553);
- Node553._nodename = 'Node553'
- Node553._nodeType = 'rect';
- zoomNodeList.push({
- node: Node553,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node553, Node553.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node554type = 'rect';
- var Node554 = new ht.Node(),
- Node554BorderWidth = 1*2;
- if (Node554type === 'arc') {
- Node554BorderWidth *= 1;
- }
- Node554.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node554type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node554.setPosition(530*ratio.ratioX, 76*ratio.ratioY);
- Node554.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node554.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node554.a('node.width', 121*_ratio.ratioX);
- Node554.a('node.height', 24.33138*_ratio.ratioY);
- Node554.a('node.type', Node554type);
- Node554.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node554.a('node.background', 'rgba(240,240,240,1)');
- Node554.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node554.a('node.gradient', '');
- Node554.a('node.borderwidth', Node554BorderWidth);
- Node554.a('node.color', 'rgba(224,224,224,1)');
- Node554.a('node.fillrect', [0,0,0,0]);
- Node554.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node554.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node554.a('node.fillgradient', '');
- if (Node554type !== 'rect') {
- Node554.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node554.a('node.arcTo', parseFloat('@arcTo@'));
- Node554.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node554type === 'arc') {
- Node554.a('node.arcOval', true);
- }
- Node554.setRotation(0*Math.PI/180);
- Node554.borderWidth = Node554BorderWidth;
- Node554.borderFillwidth = Node554BorderWidth;
- dataModel.add(Node554);
- Node554._nodename = 'Node554'
- Node554._nodeType = 'rect';
- zoomNodeList.push({
- node: Node554,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node554, Node554.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node555type = 'rect';
- var Node555 = new ht.Node(),
- Node555BorderWidth = 1*2;
- if (Node555type === 'arc') {
- Node555BorderWidth *= 1;
- }
- Node555.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node555type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node555.setPosition(530*ratio.ratioX, 125*ratio.ratioY);
- Node555.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node555.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node555.a('node.width', 121*_ratio.ratioX);
- Node555.a('node.height', 24.33136*_ratio.ratioY);
- Node555.a('node.type', Node555type);
- Node555.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node555.a('node.background', 'rgba(240,240,240,1)');
- Node555.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node555.a('node.gradient', '');
- Node555.a('node.borderwidth', Node555BorderWidth);
- Node555.a('node.color', 'rgba(224,224,224,1)');
- Node555.a('node.fillrect', [0,0,0,0]);
- Node555.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node555.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node555.a('node.fillgradient', '');
- if (Node555type !== 'rect') {
- Node555.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node555.a('node.arcTo', parseFloat('@arcTo@'));
- Node555.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node555type === 'arc') {
- Node555.a('node.arcOval', true);
- }
- Node555.setRotation(0*Math.PI/180);
- Node555.borderWidth = Node555BorderWidth;
- Node555.borderFillwidth = Node555BorderWidth;
- dataModel.add(Node555);
- Node555._nodename = 'Node555'
- Node555._nodeType = 'rect';
- zoomNodeList.push({
- node: Node555,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node555, Node555.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node556type = 'rect';
- var Node556 = new ht.Node(),
- Node556BorderWidth = 1*2;
- if (Node556type === 'arc') {
- Node556BorderWidth *= 1;
- }
- Node556.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node556type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node556.setPosition(530*ratio.ratioX, 52*ratio.ratioY);
- Node556.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node556.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node556.a('node.width', 121*_ratio.ratioX);
- Node556.a('node.height', 24.33136*_ratio.ratioY);
- Node556.a('node.type', Node556type);
- Node556.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node556.a('node.background', 'rgba(240,240,240,1)');
- Node556.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node556.a('node.gradient', '');
- Node556.a('node.borderwidth', Node556BorderWidth);
- Node556.a('node.color', 'rgba(224,224,224,1)');
- Node556.a('node.fillrect', [0,0,0,0]);
- Node556.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node556.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node556.a('node.fillgradient', '');
- if (Node556type !== 'rect') {
- Node556.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node556.a('node.arcTo', parseFloat('@arcTo@'));
- Node556.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node556type === 'arc') {
- Node556.a('node.arcOval', true);
- }
- Node556.setRotation(0*Math.PI/180);
- Node556.borderWidth = Node556BorderWidth;
- Node556.borderFillwidth = Node556BorderWidth;
- dataModel.add(Node556);
- Node556._nodename = 'Node556'
- Node556._nodeType = 'rect';
- zoomNodeList.push({
- node: Node556,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node556, Node556.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node557type = 'rect';
- var Node557 = new ht.Node(),
- Node557BorderWidth = 1*2;
- if (Node557type === 'arc') {
- Node557BorderWidth *= 1;
- }
- Node557.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node557type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node557.setPosition(530*ratio.ratioX, 149*ratio.ratioY);
- Node557.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node557.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node557.a('node.width', 121*_ratio.ratioX);
- Node557.a('node.height', 24.33138*_ratio.ratioY);
- Node557.a('node.type', Node557type);
- Node557.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node557.a('node.background', 'rgba(240,240,240,1)');
- Node557.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node557.a('node.gradient', '');
- Node557.a('node.borderwidth', Node557BorderWidth);
- Node557.a('node.color', 'rgba(224,224,224,1)');
- Node557.a('node.fillrect', [0,0,0,0]);
- Node557.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node557.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node557.a('node.fillgradient', '');
- if (Node557type !== 'rect') {
- Node557.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node557.a('node.arcTo', parseFloat('@arcTo@'));
- Node557.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node557type === 'arc') {
- Node557.a('node.arcOval', true);
- }
- Node557.setRotation(0*Math.PI/180);
- Node557.borderWidth = Node557BorderWidth;
- Node557.borderFillwidth = Node557BorderWidth;
- dataModel.add(Node557);
- Node557._nodename = 'Node557'
- Node557._nodeType = 'rect';
- zoomNodeList.push({
- node: Node557,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node557, Node557.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node558 = new ht.Node();
- var Node558textStart, Node558textWidth, Node558lineStart, Node558align = 'center', Node558fontSize = 13.3333*_ratio.ratioY,Node558width = 113*_ratio.ratioX, Node558height = 26*_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('日维护损失电量', ' '+ Node558fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node558align === 'center') {
- Node558textStart = -3;
- Node558textWidth = Node558width;
- Node558lineStart = Node558width - ht.Default.getTextSize('日维护损失电量', ' '+ Node558fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node558.setImage(GD.getTextJSON(Node558width, Node558height, true, false, false, ' '+ Node558fontSize + 'px "微软雅黑"'))
- Node558.setPosition(530*ratio.ratioX, 54*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(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node558.a('node.gradient','');
- Node558.a('node.gradientcolor','rgba(255,255,255,0)');
- Node558.a('node.text','日维护损失电量');
- Node558.a('node.textalign','center');
- 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 "微软雅黑"');
- 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') || '日维护损失电量';
- 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,"center",color,' '+ Node558fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node558.a('node.underlinepoints',[Node558lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node558fontSize + 2 , ht.Default.getTextSize('日维护损失电量', ' '+ Node558fontSize + 'px "微软雅黑"').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 = 'center', Node559fontSize = 13.3333*_ratio.ratioY,Node559width = 113*_ratio.ratioX, Node559height = 26*_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('日故障损失电量', ' '+ Node559fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node559align === 'center') {
- Node559textStart = -3;
- Node559textWidth = Node559width;
- Node559lineStart = Node559width - ht.Default.getTextSize('日故障损失电量', ' '+ Node559fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node559.setImage(GD.getTextJSON(Node559width, Node559height, true, false, false, ' '+ Node559fontSize + 'px "微软雅黑"'))
- Node559.setPosition(531*ratio.ratioX, 78*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(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node559.a('node.gradient','');
- Node559.a('node.gradientcolor','rgba(255,255,255,0)');
- Node559.a('node.text','日故障损失电量');
- Node559.a('node.textalign','center');
- 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 "微软雅黑"');
- 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') || '日故障损失电量';
- 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,"center",color,' '+ Node559fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node559.a('node.underlinepoints',[Node559lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node559fontSize + 2 , ht.Default.getTextSize('日故障损失电量', ' '+ Node559fontSize + 'px "微软雅黑"').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 = 'center', Node560fontSize = 13.3333*_ratio.ratioY,Node560width = 113*_ratio.ratioX, Node560height = 26*_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('日限电损失电量', ' '+ Node560fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node560align === 'center') {
- Node560textStart = -3;
- Node560textWidth = Node560width;
- Node560lineStart = Node560width - ht.Default.getTextSize('日限电损失电量', ' '+ Node560fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node560.setImage(GD.getTextJSON(Node560width, Node560height, true, false, false, ' '+ Node560fontSize + 'px "微软雅黑"'))
- Node560.setPosition(531*ratio.ratioX, 103*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(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node560.a('node.gradient','');
- Node560.a('node.gradientcolor','rgba(255,255,255,0)');
- Node560.a('node.text','日限电损失电量');
- Node560.a('node.textalign','center');
- 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 "微软雅黑"');
- 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') || '日限电损失电量';
- 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,"center",color,' '+ Node560fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node560.a('node.underlinepoints',[Node560lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node560fontSize + 2 , ht.Default.getTextSize('日限电损失电量', ' '+ Node560fontSize + 'px "微软雅黑"').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 = 'center', Node561fontSize = 13.3333*_ratio.ratioY,Node561width = 113*_ratio.ratioX, Node561height = 26*_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('日受累损失电量', ' '+ Node561fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node561align === 'center') {
- Node561textStart = -3;
- Node561textWidth = Node561width;
- Node561lineStart = Node561width - ht.Default.getTextSize('日受累损失电量', ' '+ Node561fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node561.setImage(GD.getTextJSON(Node561width, Node561height, true, false, false, ' '+ Node561fontSize + 'px "微软雅黑"'))
- Node561.setPosition(531*ratio.ratioX, 127*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(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node561.a('node.gradient','');
- Node561.a('node.gradientcolor','rgba(255,255,255,0)');
- Node561.a('node.text','日受累损失电量');
- Node561.a('node.textalign','center');
- 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 "微软雅黑"');
- 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') || '日受累损失电量';
- 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,"center",color,' '+ Node561fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node561.a('node.underlinepoints',[Node561lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node561fontSize + 2 , ht.Default.getTextSize('日受累损失电量', ' '+ Node561fontSize + 'px "微软雅黑"').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 Node562type = 'rect';
- var Node562 = new ht.Node(),
- Node562BorderWidth = 1*2;
- if (Node562type === 'arc') {
- Node562BorderWidth *= 1;
- }
- Node562.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node562type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node562.setPosition(811*ratio.ratioX, 100*ratio.ratioY);
- Node562.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node562.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node562.a('node.width', 117*_ratio.ratioX);
- Node562.a('node.height', 24.33138*_ratio.ratioY);
- Node562.a('node.type', Node562type);
- Node562.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node562.a('node.background', 'rgba(240,240,240,1)');
- Node562.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node562.a('node.gradient', '');
- Node562.a('node.borderwidth', Node562BorderWidth);
- Node562.a('node.color', 'rgba(224,224,224,1)');
- Node562.a('node.fillrect', [0,0,0,0]);
- Node562.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node562.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node562.a('node.fillgradient', '');
- if (Node562type !== 'rect') {
- Node562.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node562.a('node.arcTo', parseFloat('@arcTo@'));
- Node562.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node562type === 'arc') {
- Node562.a('node.arcOval', true);
- }
- Node562.setRotation(0*Math.PI/180);
- Node562.borderWidth = Node562BorderWidth;
- Node562.borderFillwidth = Node562BorderWidth;
- dataModel.add(Node562);
- Node562._nodename = 'Node562'
- Node562._nodeType = 'rect';
- zoomNodeList.push({
- node: Node562,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node562, Node562.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node563type = 'rect';
- var Node563 = new ht.Node(),
- Node563BorderWidth = 1*2;
- if (Node563type === 'arc') {
- Node563BorderWidth *= 1;
- }
- Node563.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node563type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node563.setPosition(811*ratio.ratioX, 76*ratio.ratioY);
- Node563.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node563.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node563.a('node.width', 117*_ratio.ratioX);
- Node563.a('node.height', 24.33138*_ratio.ratioY);
- Node563.a('node.type', Node563type);
- Node563.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node563.a('node.background', 'rgba(240,240,240,1)');
- Node563.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node563.a('node.gradient', '');
- Node563.a('node.borderwidth', Node563BorderWidth);
- Node563.a('node.color', 'rgba(224,224,224,1)');
- Node563.a('node.fillrect', [0,0,0,0]);
- Node563.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node563.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node563.a('node.fillgradient', '');
- if (Node563type !== 'rect') {
- Node563.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node563.a('node.arcTo', parseFloat('@arcTo@'));
- Node563.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node563type === 'arc') {
- Node563.a('node.arcOval', true);
- }
- Node563.setRotation(0*Math.PI/180);
- Node563.borderWidth = Node563BorderWidth;
- Node563.borderFillwidth = Node563BorderWidth;
- dataModel.add(Node563);
- Node563._nodename = 'Node563'
- Node563._nodeType = 'rect';
- zoomNodeList.push({
- node: Node563,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node563, Node563.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node564type = 'rect';
- var Node564 = new ht.Node(),
- Node564BorderWidth = 1*2;
- if (Node564type === 'arc') {
- Node564BorderWidth *= 1;
- }
- Node564.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node564type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node564.setPosition(811*ratio.ratioX, 125*ratio.ratioY);
- Node564.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node564.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node564.a('node.width', 117*_ratio.ratioX);
- Node564.a('node.height', 24.33136*_ratio.ratioY);
- Node564.a('node.type', Node564type);
- Node564.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node564.a('node.background', 'rgba(240,240,240,1)');
- Node564.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node564.a('node.gradient', '');
- Node564.a('node.borderwidth', Node564BorderWidth);
- Node564.a('node.color', 'rgba(224,224,224,1)');
- Node564.a('node.fillrect', [0,0,0,0]);
- Node564.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node564.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node564.a('node.fillgradient', '');
- if (Node564type !== 'rect') {
- Node564.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node564.a('node.arcTo', parseFloat('@arcTo@'));
- Node564.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node564type === 'arc') {
- Node564.a('node.arcOval', true);
- }
- Node564.setRotation(0*Math.PI/180);
- Node564.borderWidth = Node564BorderWidth;
- Node564.borderFillwidth = Node564BorderWidth;
- dataModel.add(Node564);
- Node564._nodename = 'Node564'
- Node564._nodeType = 'rect';
- zoomNodeList.push({
- node: Node564,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node564, Node564.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node565type = 'rect';
- var Node565 = new ht.Node(),
- Node565BorderWidth = 1*2;
- if (Node565type === 'arc') {
- Node565BorderWidth *= 1;
- }
- Node565.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node565type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node565.setPosition(811*ratio.ratioX, 52*ratio.ratioY);
- Node565.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node565.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node565.a('node.width', 117*_ratio.ratioX);
- Node565.a('node.height', 24.33136*_ratio.ratioY);
- Node565.a('node.type', Node565type);
- Node565.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node565.a('node.background', 'rgba(240,240,240,1)');
- Node565.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node565.a('node.gradient', '');
- Node565.a('node.borderwidth', Node565BorderWidth);
- Node565.a('node.color', 'rgba(224,224,224,1)');
- Node565.a('node.fillrect', [0,0,0,0]);
- Node565.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node565.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node565.a('node.fillgradient', '');
- if (Node565type !== 'rect') {
- Node565.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node565.a('node.arcTo', parseFloat('@arcTo@'));
- Node565.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node565type === 'arc') {
- Node565.a('node.arcOval', true);
- }
- Node565.setRotation(0*Math.PI/180);
- Node565.borderWidth = Node565BorderWidth;
- Node565.borderFillwidth = Node565BorderWidth;
- dataModel.add(Node565);
- Node565._nodename = 'Node565'
- Node565._nodeType = 'rect';
- zoomNodeList.push({
- node: Node565,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node565, Node565.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node566type = 'rect';
- var Node566 = new ht.Node(),
- Node566BorderWidth = 1*2;
- if (Node566type === 'arc') {
- Node566BorderWidth *= 1;
- }
- Node566.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node566type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node566.setPosition(811*ratio.ratioX, 149*ratio.ratioY);
- Node566.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node566.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node566.a('node.width', 117*_ratio.ratioX);
- Node566.a('node.height', 24.33138*_ratio.ratioY);
- Node566.a('node.type', Node566type);
- Node566.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node566.a('node.background', 'rgba(240,240,240,1)');
- Node566.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node566.a('node.gradient', '');
- Node566.a('node.borderwidth', Node566BorderWidth);
- Node566.a('node.color', 'rgba(224,224,224,1)');
- Node566.a('node.fillrect', [0,0,0,0]);
- Node566.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node566.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node566.a('node.fillgradient', '');
- if (Node566type !== 'rect') {
- Node566.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node566.a('node.arcTo', parseFloat('@arcTo@'));
- Node566.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node566type === 'arc') {
- Node566.a('node.arcOval', true);
- }
- Node566.setRotation(0*Math.PI/180);
- Node566.borderWidth = Node566BorderWidth;
- Node566.borderFillwidth = Node566BorderWidth;
- dataModel.add(Node566);
- Node566._nodename = 'Node566'
- Node566._nodeType = 'rect';
- zoomNodeList.push({
- node: Node566,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node566, Node566.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node567 = new ht.Node();
- var Node567textStart, Node567textWidth, Node567lineStart, Node567align = 'center', Node567fontSize = 13.3333*_ratio.ratioY,Node567width = 110*_ratio.ratioX, Node567height = 26*_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('月维护损失电量', ' '+ Node567fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node567align === 'center') {
- Node567textStart = -3;
- Node567textWidth = Node567width;
- Node567lineStart = Node567width - ht.Default.getTextSize('月维护损失电量', ' '+ Node567fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node567.setImage(GD.getTextJSON(Node567width, Node567height, true, false, false, ' '+ Node567fontSize + 'px "微软雅黑"'))
- Node567.setPosition(811*ratio.ratioX, 54*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','月维护损失电量');
- Node567.a('node.textalign','center');
- 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 "微软雅黑"');
- 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') || '月维护损失电量';
- 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,"center",color,' '+ Node567fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node567.a('node.underlinepoints',[Node567lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node567fontSize + 2 , ht.Default.getTextSize('月维护损失电量', ' '+ Node567fontSize + 'px "微软雅黑"').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 = 'center', Node568fontSize = 13.3333*_ratio.ratioY,Node568width = 110*_ratio.ratioX, Node568height = 26*_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('月故障损失电量', ' '+ Node568fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node568align === 'center') {
- Node568textStart = -3;
- Node568textWidth = Node568width;
- Node568lineStart = Node568width - ht.Default.getTextSize('月故障损失电量', ' '+ Node568fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node568.setImage(GD.getTextJSON(Node568width, Node568height, true, false, false, ' '+ Node568fontSize + 'px "微软雅黑"'))
- Node568.setPosition(811*ratio.ratioX, 78*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','月故障损失电量');
- Node568.a('node.textalign','center');
- 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 "微软雅黑"');
- 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') || '月故障损失电量';
- 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,"center",color,' '+ Node568fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node568.a('node.underlinepoints',[Node568lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node568fontSize + 2 , ht.Default.getTextSize('月故障损失电量', ' '+ Node568fontSize + 'px "微软雅黑"').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 = 'center', Node569fontSize = 13.3333*_ratio.ratioY,Node569width = 110*_ratio.ratioX, Node569height = 26*_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('月限电损失电量', ' '+ Node569fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node569align === 'center') {
- Node569textStart = -3;
- Node569textWidth = Node569width;
- Node569lineStart = Node569width - ht.Default.getTextSize('月限电损失电量', ' '+ Node569fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node569.setImage(GD.getTextJSON(Node569width, Node569height, true, false, false, ' '+ Node569fontSize + 'px "微软雅黑"'))
- Node569.setPosition(811*ratio.ratioX, 103*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','月限电损失电量');
- Node569.a('node.textalign','center');
- 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 "微软雅黑"');
- 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') || '月限电损失电量';
- 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,"center",color,' '+ Node569fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node569.a('node.underlinepoints',[Node569lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node569fontSize + 2 , ht.Default.getTextSize('月限电损失电量', ' '+ Node569fontSize + 'px "微软雅黑"').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 = 'center', Node570fontSize = 13.3333*_ratio.ratioY,Node570width = 110*_ratio.ratioX, Node570height = 26*_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('月受累损失电量', ' '+ Node570fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node570align === 'center') {
- Node570textStart = -3;
- Node570textWidth = Node570width;
- Node570lineStart = Node570width - ht.Default.getTextSize('月受累损失电量', ' '+ Node570fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node570.setImage(GD.getTextJSON(Node570width, Node570height, true, false, false, ' '+ Node570fontSize + 'px "微软雅黑"'))
- Node570.setPosition(811*ratio.ratioX, 127*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','月受累损失电量');
- Node570.a('node.textalign','center');
- 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 "微软雅黑"');
- 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') || '月受累损失电量';
- 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,"center",color,' '+ Node570fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node570.a('node.underlinepoints',[Node570lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node570fontSize + 2 , ht.Default.getTextSize('月受累损失电量', ' '+ Node570fontSize + 'px "微软雅黑"').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 Node571type = 'rect';
- var Node571 = new ht.Node(),
- Node571BorderWidth = 1*2;
- if (Node571type === 'arc') {
- Node571BorderWidth *= 1;
- }
- Node571.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node571type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node571.setPosition(917*ratio.ratioX, 52*ratio.ratioY);
- Node571.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node571.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node571.a('node.width', 95*_ratio.ratioX);
- Node571.a('node.height', 24.33136*_ratio.ratioY);
- Node571.a('node.type', Node571type);
- Node571.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node571.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node571.a('node.gradientcolor', '');
- Node571.a('node.gradient', '');
- Node571.a('node.borderwidth', Node571BorderWidth);
- Node571.a('node.color', 'rgba(224,224,224,1)');
- Node571.a('node.fillrect', [0,0,0,0]);
- Node571.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node571.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node571.a('node.fillgradient', '');
- if (Node571type !== 'rect') {
- Node571.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node571.a('node.arcTo', parseFloat('@arcTo@'));
- Node571.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node571type === 'arc') {
- Node571.a('node.arcOval', true);
- }
- Node571.setRotation(0*Math.PI/180);
- Node571.borderWidth = Node571BorderWidth;
- Node571.borderFillwidth = Node571BorderWidth;
- dataModel.add(Node571);
- Node571._nodename = 'Node571'
- Node571._nodeType = 'rect';
- zoomNodeList.push({
- node: Node571,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node571, Node571.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node572type = 'rect';
- var Node572 = new ht.Node(),
- Node572BorderWidth = 1*2;
- if (Node572type === 'arc') {
- Node572BorderWidth *= 1;
- }
- Node572.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node572type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node572.setPosition(917*ratio.ratioX, 76*ratio.ratioY);
- Node572.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node572.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node572.a('node.width', 95*_ratio.ratioX);
- Node572.a('node.height', 24.33138*_ratio.ratioY);
- Node572.a('node.type', Node572type);
- Node572.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node572.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node572.a('node.gradientcolor', '');
- Node572.a('node.gradient', '');
- Node572.a('node.borderwidth', Node572BorderWidth);
- Node572.a('node.color', 'rgba(224,224,224,1)');
- Node572.a('node.fillrect', [0,0,0,0]);
- Node572.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node572.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node572.a('node.fillgradient', '');
- if (Node572type !== 'rect') {
- Node572.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node572.a('node.arcTo', parseFloat('@arcTo@'));
- Node572.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node572type === 'arc') {
- Node572.a('node.arcOval', true);
- }
- Node572.setRotation(0*Math.PI/180);
- Node572.borderWidth = Node572BorderWidth;
- Node572.borderFillwidth = Node572BorderWidth;
- dataModel.add(Node572);
- Node572._nodename = 'Node572'
- Node572._nodeType = 'rect';
- zoomNodeList.push({
- node: Node572,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node572, Node572.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node573type = 'rect';
- var Node573 = new ht.Node(),
- Node573BorderWidth = 1*2;
- if (Node573type === 'arc') {
- Node573BorderWidth *= 1;
- }
- Node573.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node573type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node573.setPosition(917*ratio.ratioX, 100*ratio.ratioY);
- Node573.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node573.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node573.a('node.width', 95*_ratio.ratioX);
- Node573.a('node.height', 24.33138*_ratio.ratioY);
- Node573.a('node.type', Node573type);
- Node573.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node573.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node573.a('node.gradientcolor', '');
- Node573.a('node.gradient', '');
- Node573.a('node.borderwidth', Node573BorderWidth);
- Node573.a('node.color', 'rgba(224,224,224,1)');
- Node573.a('node.fillrect', [0,0,0,0]);
- Node573.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node573.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node573.a('node.fillgradient', '');
- if (Node573type !== 'rect') {
- Node573.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node573.a('node.arcTo', parseFloat('@arcTo@'));
- Node573.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node573type === 'arc') {
- Node573.a('node.arcOval', true);
- }
- Node573.setRotation(0*Math.PI/180);
- Node573.borderWidth = Node573BorderWidth;
- Node573.borderFillwidth = Node573BorderWidth;
- dataModel.add(Node573);
- Node573._nodename = 'Node573'
- Node573._nodeType = 'rect';
- zoomNodeList.push({
- node: Node573,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node573, Node573.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node574type = 'rect';
- var Node574 = new ht.Node(),
- Node574BorderWidth = 1*2;
- if (Node574type === 'arc') {
- Node574BorderWidth *= 1;
- }
- Node574.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node574type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node574.setPosition(917*ratio.ratioX, 125*ratio.ratioY);
- Node574.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node574.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node574.a('node.width', 95*_ratio.ratioX);
- Node574.a('node.height', 24.33136*_ratio.ratioY);
- Node574.a('node.type', Node574type);
- Node574.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node574.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node574.a('node.gradientcolor', '');
- Node574.a('node.gradient', '');
- Node574.a('node.borderwidth', Node574BorderWidth);
- Node574.a('node.color', 'rgba(224,224,224,1)');
- Node574.a('node.fillrect', [0,0,0,0]);
- Node574.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node574.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node574.a('node.fillgradient', '');
- if (Node574type !== 'rect') {
- Node574.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node574.a('node.arcTo', parseFloat('@arcTo@'));
- Node574.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node574type === 'arc') {
- Node574.a('node.arcOval', true);
- }
- Node574.setRotation(0*Math.PI/180);
- Node574.borderWidth = Node574BorderWidth;
- Node574.borderFillwidth = Node574BorderWidth;
- dataModel.add(Node574);
- Node574._nodename = 'Node574'
- Node574._nodeType = 'rect';
- zoomNodeList.push({
- node: Node574,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node574, Node574.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node575type = 'rect';
- var Node575 = new ht.Node(),
- Node575BorderWidth = 1*2;
- if (Node575type === 'arc') {
- Node575BorderWidth *= 1;
- }
- Node575.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node575type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node575.setPosition(917*ratio.ratioX, 149*ratio.ratioY);
- Node575.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node575.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node575.a('node.width', 95*_ratio.ratioX);
- Node575.a('node.height', 24.33138*_ratio.ratioY);
- Node575.a('node.type', Node575type);
- Node575.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node575.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node575.a('node.gradientcolor', '');
- Node575.a('node.gradient', '');
- Node575.a('node.borderwidth', Node575BorderWidth);
- Node575.a('node.color', 'rgba(224,224,224,1)');
- Node575.a('node.fillrect', [0,0,0,0]);
- Node575.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node575.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node575.a('node.fillgradient', '');
- if (Node575type !== 'rect') {
- Node575.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node575.a('node.arcTo', parseFloat('@arcTo@'));
- Node575.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node575type === 'arc') {
- Node575.a('node.arcOval', true);
- }
- Node575.setRotation(0*Math.PI/180);
- Node575.borderWidth = Node575BorderWidth;
- Node575.borderFillwidth = Node575BorderWidth;
- dataModel.add(Node575);
- Node575._nodename = 'Node575'
- Node575._nodeType = 'rect';
- zoomNodeList.push({
- node: Node575,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node575, Node575.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node576type = 'rect';
- var Node576 = new ht.Node(),
- Node576BorderWidth = 1*2;
- if (Node576type === 'arc') {
- Node576BorderWidth *= 1;
- }
- Node576.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node576type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node576.setPosition(997*ratio.ratioX, 52*ratio.ratioY);
- Node576.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node576.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node576.a('node.width', 65*_ratio.ratioX);
- Node576.a('node.height', 24.33136*_ratio.ratioY);
- Node576.a('node.type', Node576type);
- Node576.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node576.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node576.a('node.gradientcolor', '');
- Node576.a('node.gradient', '');
- Node576.a('node.borderwidth', Node576BorderWidth);
- Node576.a('node.color', 'rgba(224,224,224,1)');
- Node576.a('node.fillrect', [0,0,0,0]);
- Node576.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node576.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node576.a('node.fillgradient', '');
- if (Node576type !== 'rect') {
- Node576.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node576.a('node.arcTo', parseFloat('@arcTo@'));
- Node576.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node576type === 'arc') {
- Node576.a('node.arcOval', true);
- }
- Node576.setRotation(0*Math.PI/180);
- Node576.borderWidth = Node576BorderWidth;
- Node576.borderFillwidth = Node576BorderWidth;
- dataModel.add(Node576);
- Node576._nodename = 'Node576'
- Node576._nodeType = 'rect';
- zoomNodeList.push({
- node: Node576,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node576, Node576.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node577 = new ht.Node();
- var Node577textStart, Node577textWidth, Node577lineStart, Node577align = 'center', Node577fontSize = 14.66663*_ratio.ratioY,Node577width = 59*_ratio.ratioX, Node577height = 26*_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(917*ratio.ratioX, 54*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','center');
- 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,14.66663*0.5*_ratio.ratioY,Node577width,Node577height,14.66663*_ratio.ratioY,"center",color,' '+ Node577fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node577.a('node.underlinepoints',[Node577lineStart, (26 - 14.66663) * 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 = 'center', Node578fontSize = 14.66663*_ratio.ratioY,Node578width = 59*_ratio.ratioX, Node578height = 26*_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(917*ratio.ratioX, 78*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','center');
- 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,14.66663*0.5*_ratio.ratioY,Node578width,Node578height,14.66663*_ratio.ratioY,"center",color,' '+ Node578fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node578.a('node.underlinepoints',[Node578lineStart, (26 - 14.66663) * 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 = 'center', Node579fontSize = 14.66663*_ratio.ratioY,Node579width = 59*_ratio.ratioX, Node579height = 26*_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(917*ratio.ratioX, 103*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','center');
- 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,14.66663*0.5*_ratio.ratioY,Node579width,Node579height,14.66663*_ratio.ratioY,"center",color,' '+ Node579fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node579.a('node.underlinepoints',[Node579lineStart, (26 - 14.66663) * 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 = 'center', Node580fontSize = 14.66663*_ratio.ratioY,Node580width = 59*_ratio.ratioX, Node580height = 26*_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(917*ratio.ratioX, 126*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','center');
- 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,14.66663*0.5*_ratio.ratioY,Node580width,Node580height,14.66663*_ratio.ratioY,"center",color,' '+ Node580fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node580.a('node.underlinepoints',[Node580lineStart, (26 - 14.66663) * 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 = 'center', Node581fontSize = 14.66663*_ratio.ratioY,Node581width = 59*_ratio.ratioX, Node581height = 26*_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(917*ratio.ratioX, 150*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','center');
- 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,14.66663*0.5*_ratio.ratioY,Node581width,Node581height,14.66663*_ratio.ratioY,"center",color,' '+ Node581fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node581.a('node.underlinepoints',[Node581lineStart, (26 - 14.66663) * 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 Node582type = 'rect';
- var Node582 = new ht.Node(),
- Node582BorderWidth = 1*2;
- if (Node582type === 'arc') {
- Node582BorderWidth *= 1;
- }
- Node582.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node582type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node582.setPosition(997*ratio.ratioX, 76*ratio.ratioY);
- Node582.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node582.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node582.a('node.width', 65*_ratio.ratioX);
- Node582.a('node.height', 24.33138*_ratio.ratioY);
- Node582.a('node.type', Node582type);
- Node582.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node582.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node582.a('node.gradientcolor', '');
- Node582.a('node.gradient', '');
- Node582.a('node.borderwidth', Node582BorderWidth);
- Node582.a('node.color', 'rgba(224,224,224,1)');
- Node582.a('node.fillrect', [0,0,0,0]);
- Node582.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node582.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node582.a('node.fillgradient', '');
- if (Node582type !== 'rect') {
- Node582.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node582.a('node.arcTo', parseFloat('@arcTo@'));
- Node582.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node582type === 'arc') {
- Node582.a('node.arcOval', true);
- }
- Node582.setRotation(0*Math.PI/180);
- Node582.borderWidth = Node582BorderWidth;
- Node582.borderFillwidth = Node582BorderWidth;
- dataModel.add(Node582);
- Node582._nodename = 'Node582'
- Node582._nodeType = 'rect';
- zoomNodeList.push({
- node: Node582,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node582, Node582.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node583type = 'rect';
- var Node583 = new ht.Node(),
- Node583BorderWidth = 1*2;
- if (Node583type === 'arc') {
- Node583BorderWidth *= 1;
- }
- Node583.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node583type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node583.setPosition(997*ratio.ratioX, 100*ratio.ratioY);
- Node583.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node583.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node583.a('node.width', 65*_ratio.ratioX);
- Node583.a('node.height', 24.33138*_ratio.ratioY);
- Node583.a('node.type', Node583type);
- Node583.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node583.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node583.a('node.gradientcolor', '');
- Node583.a('node.gradient', '');
- Node583.a('node.borderwidth', Node583BorderWidth);
- Node583.a('node.color', 'rgba(224,224,224,1)');
- Node583.a('node.fillrect', [0,0,0,0]);
- Node583.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node583.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node583.a('node.fillgradient', '');
- if (Node583type !== 'rect') {
- Node583.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node583.a('node.arcTo', parseFloat('@arcTo@'));
- Node583.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node583type === 'arc') {
- Node583.a('node.arcOval', true);
- }
- Node583.setRotation(0*Math.PI/180);
- Node583.borderWidth = Node583BorderWidth;
- Node583.borderFillwidth = Node583BorderWidth;
- dataModel.add(Node583);
- Node583._nodename = 'Node583'
- Node583._nodeType = 'rect';
- zoomNodeList.push({
- node: Node583,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node583, Node583.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node584type = 'rect';
- var Node584 = new ht.Node(),
- Node584BorderWidth = 1*2;
- if (Node584type === 'arc') {
- Node584BorderWidth *= 1;
- }
- Node584.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node584type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node584.setPosition(997*ratio.ratioX, 125*ratio.ratioY);
- Node584.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node584.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node584.a('node.width', 65*_ratio.ratioX);
- Node584.a('node.height', 24.33136*_ratio.ratioY);
- Node584.a('node.type', Node584type);
- Node584.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node584.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node584.a('node.gradientcolor', '');
- Node584.a('node.gradient', '');
- Node584.a('node.borderwidth', Node584BorderWidth);
- Node584.a('node.color', 'rgba(224,224,224,1)');
- Node584.a('node.fillrect', [0,0,0,0]);
- Node584.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node584.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node584.a('node.fillgradient', '');
- if (Node584type !== 'rect') {
- Node584.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node584.a('node.arcTo', parseFloat('@arcTo@'));
- Node584.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node584type === 'arc') {
- Node584.a('node.arcOval', true);
- }
- Node584.setRotation(0*Math.PI/180);
- Node584.borderWidth = Node584BorderWidth;
- Node584.borderFillwidth = Node584BorderWidth;
- dataModel.add(Node584);
- Node584._nodename = 'Node584'
- Node584._nodeType = 'rect';
- zoomNodeList.push({
- node: Node584,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node584, Node584.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node585type = 'rect';
- var Node585 = new ht.Node(),
- Node585BorderWidth = 1*2;
- if (Node585type === 'arc') {
- Node585BorderWidth *= 1;
- }
- Node585.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node585type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node585.setPosition(997*ratio.ratioX, 149*ratio.ratioY);
- Node585.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node585.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node585.a('node.width', 65*_ratio.ratioX);
- Node585.a('node.height', 24.33138*_ratio.ratioY);
- Node585.a('node.type', Node585type);
- Node585.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node585.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node585.a('node.gradientcolor', '');
- Node585.a('node.gradient', '');
- Node585.a('node.borderwidth', Node585BorderWidth);
- Node585.a('node.color', 'rgba(224,224,224,1)');
- Node585.a('node.fillrect', [0,0,0,0]);
- Node585.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node585.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node585.a('node.fillgradient', '');
- if (Node585type !== 'rect') {
- Node585.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node585.a('node.arcTo', parseFloat('@arcTo@'));
- Node585.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node585type === 'arc') {
- Node585.a('node.arcOval', true);
- }
- Node585.setRotation(0*Math.PI/180);
- Node585.borderWidth = Node585BorderWidth;
- Node585.borderFillwidth = Node585BorderWidth;
- dataModel.add(Node585);
- Node585._nodename = 'Node585'
- Node585._nodeType = 'rect';
- zoomNodeList.push({
- node: Node585,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node585, Node585.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node586 = new ht.Node();
- var Node586textStart, Node586textWidth, Node586lineStart, Node586align = 'center', Node586fontSize = 13.3333*_ratio.ratioY,Node586width = 59*_ratio.ratioX, Node586height = 26*_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('万kWh', ' '+ Node586fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node586align === 'center') {
- Node586textStart = -3;
- Node586textWidth = Node586width;
- Node586lineStart = Node586width - ht.Default.getTextSize('万kWh', ' '+ Node586fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node586.setImage(GD.getTextJSON(Node586width, Node586height, true, false, false, ' '+ Node586fontSize + 'px "Arial"'))
- Node586.setPosition(998*ratio.ratioX, 54*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(128,128,128,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','万kWh');
- Node586.a('node.textalign','center');
- Node586.a('node.textvAlign','middle');
- Node586.a('node.textrect', [Node586textStart, 0, Node586textWidth, Node586height]);
- Node586.a('node.color','rgba(128,128,128,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') || '万kWh';
- var color=Node586.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node586width,Node586height,13.3333*_ratio.ratioY,"center",color,' '+ Node586fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node586.a('node.underlinepoints',[Node586lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node586fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ 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 = 'center', Node587fontSize = 13.3333*_ratio.ratioY,Node587width = 59*_ratio.ratioX, Node587height = 26*_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('万kWh', ' '+ Node587fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node587align === 'center') {
- Node587textStart = -3;
- Node587textWidth = Node587width;
- Node587lineStart = Node587width - ht.Default.getTextSize('万kWh', ' '+ Node587fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node587.setImage(GD.getTextJSON(Node587width, Node587height, true, false, false, ' '+ Node587fontSize + 'px "Arial"'))
- Node587.setPosition(998*ratio.ratioX, 78*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(128,128,128,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','万kWh');
- Node587.a('node.textalign','center');
- Node587.a('node.textvAlign','middle');
- Node587.a('node.textrect', [Node587textStart, 0, Node587textWidth, Node587height]);
- Node587.a('node.color','rgba(128,128,128,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') || '万kWh';
- var color=Node587.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node587width,Node587height,13.3333*_ratio.ratioY,"center",color,' '+ Node587fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node587.a('node.underlinepoints',[Node587lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node587fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ 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 = 'center', Node588fontSize = 13.3333*_ratio.ratioY,Node588width = 59*_ratio.ratioX, Node588height = 26*_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('万kWh', ' '+ Node588fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node588align === 'center') {
- Node588textStart = -3;
- Node588textWidth = Node588width;
- Node588lineStart = Node588width - ht.Default.getTextSize('万kWh', ' '+ Node588fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node588.setImage(GD.getTextJSON(Node588width, Node588height, true, false, false, ' '+ Node588fontSize + 'px "Arial"'))
- Node588.setPosition(998*ratio.ratioX, 101*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(128,128,128,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','万kWh');
- Node588.a('node.textalign','center');
- Node588.a('node.textvAlign','middle');
- Node588.a('node.textrect', [Node588textStart, 0, Node588textWidth, Node588height]);
- Node588.a('node.color','rgba(128,128,128,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') || '万kWh';
- var color=Node588.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node588width,Node588height,13.3333*_ratio.ratioY,"center",color,' '+ Node588fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node588.a('node.underlinepoints',[Node588lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node588fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ 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 = 'center', Node589fontSize = 13.3333*_ratio.ratioY,Node589width = 59*_ratio.ratioX, Node589height = 26*_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('万kWh', ' '+ Node589fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node589align === 'center') {
- Node589textStart = -3;
- Node589textWidth = Node589width;
- Node589lineStart = Node589width - ht.Default.getTextSize('万kWh', ' '+ Node589fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node589.setImage(GD.getTextJSON(Node589width, Node589height, true, false, false, ' '+ Node589fontSize + 'px "Arial"'))
- Node589.setPosition(998*ratio.ratioX, 127*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(128,128,128,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','万kWh');
- Node589.a('node.textalign','center');
- Node589.a('node.textvAlign','middle');
- Node589.a('node.textrect', [Node589textStart, 0, Node589textWidth, Node589height]);
- Node589.a('node.color','rgba(128,128,128,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') || '万kWh';
- var color=Node589.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node589width,Node589height,13.3333*_ratio.ratioY,"center",color,' '+ Node589fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node589.a('node.underlinepoints',[Node589lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node589fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ 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 = 'center', Node590fontSize = 13.3333*_ratio.ratioY,Node590width = 59*_ratio.ratioX, Node590height = 26*_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('万kWh', ' '+ Node590fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node590align === 'center') {
- Node590textStart = -3;
- Node590textWidth = Node590width;
- Node590lineStart = Node590width - ht.Default.getTextSize('万kWh', ' '+ Node590fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node590.setImage(GD.getTextJSON(Node590width, Node590height, true, false, false, ' '+ Node590fontSize + 'px "Arial"'))
- Node590.setPosition(998*ratio.ratioX, 151*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(128,128,128,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','万kWh');
- Node590.a('node.textalign','center');
- Node590.a('node.textvAlign','middle');
- Node590.a('node.textrect', [Node590textStart, 0, Node590textWidth, Node590height]);
- Node590.a('node.color','rgba(128,128,128,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') || '万kWh';
- var color=Node590.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node590width,Node590height,13.3333*_ratio.ratioY,"center",color,' '+ Node590fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node590.a('node.underlinepoints',[Node590lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node590fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ 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 Node591type = 'rect';
- var Node591 = new ht.Node(),
- Node591BorderWidth = 1*2;
- if (Node591type === 'arc') {
- Node591BorderWidth *= 1;
- }
- Node591.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node591type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node591.setPosition(1091*ratio.ratioX, 100*ratio.ratioY);
- Node591.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node591.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node591.a('node.width', 117*_ratio.ratioX);
- Node591.a('node.height', 24.33138*_ratio.ratioY);
- Node591.a('node.type', Node591type);
- Node591.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node591.a('node.background', 'rgba(240,240,240,1)');
- Node591.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node591.a('node.gradient', '');
- Node591.a('node.borderwidth', Node591BorderWidth);
- Node591.a('node.color', 'rgba(224,224,224,1)');
- Node591.a('node.fillrect', [0,0,0,0]);
- Node591.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node591.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node591.a('node.fillgradient', '');
- if (Node591type !== 'rect') {
- Node591.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node591.a('node.arcTo', parseFloat('@arcTo@'));
- Node591.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node591type === 'arc') {
- Node591.a('node.arcOval', true);
- }
- Node591.setRotation(0*Math.PI/180);
- Node591.borderWidth = Node591BorderWidth;
- Node591.borderFillwidth = Node591BorderWidth;
- dataModel.add(Node591);
- Node591._nodename = 'Node591'
- Node591._nodeType = 'rect';
- zoomNodeList.push({
- node: Node591,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node591, Node591.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node592type = 'rect';
- var Node592 = new ht.Node(),
- Node592BorderWidth = 1*2;
- if (Node592type === 'arc') {
- Node592BorderWidth *= 1;
- }
- Node592.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node592type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node592.setPosition(1091*ratio.ratioX, 76*ratio.ratioY);
- Node592.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node592.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node592.a('node.width', 117*_ratio.ratioX);
- Node592.a('node.height', 24.33138*_ratio.ratioY);
- Node592.a('node.type', Node592type);
- Node592.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node592.a('node.background', 'rgba(240,240,240,1)');
- Node592.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node592.a('node.gradient', '');
- Node592.a('node.borderwidth', Node592BorderWidth);
- Node592.a('node.color', 'rgba(224,224,224,1)');
- Node592.a('node.fillrect', [0,0,0,0]);
- Node592.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node592.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node592.a('node.fillgradient', '');
- if (Node592type !== 'rect') {
- Node592.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node592.a('node.arcTo', parseFloat('@arcTo@'));
- Node592.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node592type === 'arc') {
- Node592.a('node.arcOval', true);
- }
- Node592.setRotation(0*Math.PI/180);
- Node592.borderWidth = Node592BorderWidth;
- Node592.borderFillwidth = Node592BorderWidth;
- dataModel.add(Node592);
- Node592._nodename = 'Node592'
- Node592._nodeType = 'rect';
- zoomNodeList.push({
- node: Node592,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node592, Node592.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node593type = 'rect';
- var Node593 = new ht.Node(),
- Node593BorderWidth = 1*2;
- if (Node593type === 'arc') {
- Node593BorderWidth *= 1;
- }
- Node593.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node593type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node593.setPosition(1091*ratio.ratioX, 125*ratio.ratioY);
- Node593.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node593.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node593.a('node.width', 117*_ratio.ratioX);
- Node593.a('node.height', 24.33136*_ratio.ratioY);
- Node593.a('node.type', Node593type);
- Node593.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node593.a('node.background', 'rgba(240,240,240,1)');
- Node593.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node593.a('node.gradient', '');
- Node593.a('node.borderwidth', Node593BorderWidth);
- Node593.a('node.color', 'rgba(224,224,224,1)');
- Node593.a('node.fillrect', [0,0,0,0]);
- Node593.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node593.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node593.a('node.fillgradient', '');
- if (Node593type !== 'rect') {
- Node593.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node593.a('node.arcTo', parseFloat('@arcTo@'));
- Node593.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node593type === 'arc') {
- Node593.a('node.arcOval', true);
- }
- Node593.setRotation(0*Math.PI/180);
- Node593.borderWidth = Node593BorderWidth;
- Node593.borderFillwidth = Node593BorderWidth;
- dataModel.add(Node593);
- Node593._nodename = 'Node593'
- Node593._nodeType = 'rect';
- zoomNodeList.push({
- node: Node593,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node593, Node593.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node594type = 'rect';
- var Node594 = new ht.Node(),
- Node594BorderWidth = 1*2;
- if (Node594type === 'arc') {
- Node594BorderWidth *= 1;
- }
- Node594.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node594type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node594.setPosition(1091*ratio.ratioX, 52*ratio.ratioY);
- Node594.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node594.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node594.a('node.width', 117*_ratio.ratioX);
- Node594.a('node.height', 24.33136*_ratio.ratioY);
- Node594.a('node.type', Node594type);
- Node594.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node594.a('node.background', 'rgba(240,240,240,1)');
- Node594.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node594.a('node.gradient', '');
- Node594.a('node.borderwidth', Node594BorderWidth);
- Node594.a('node.color', 'rgba(224,224,224,1)');
- Node594.a('node.fillrect', [0,0,0,0]);
- Node594.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node594.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node594.a('node.fillgradient', '');
- if (Node594type !== 'rect') {
- Node594.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node594.a('node.arcTo', parseFloat('@arcTo@'));
- Node594.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node594type === 'arc') {
- Node594.a('node.arcOval', true);
- }
- Node594.setRotation(0*Math.PI/180);
- Node594.borderWidth = Node594BorderWidth;
- Node594.borderFillwidth = Node594BorderWidth;
- dataModel.add(Node594);
- Node594._nodename = 'Node594'
- Node594._nodeType = 'rect';
- zoomNodeList.push({
- node: Node594,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node594, Node594.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node595type = 'rect';
- var Node595 = new ht.Node(),
- Node595BorderWidth = 1*2;
- if (Node595type === 'arc') {
- Node595BorderWidth *= 1;
- }
- Node595.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node595type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node595.setPosition(1091*ratio.ratioX, 149*ratio.ratioY);
- Node595.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node595.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node595.a('node.width', 117*_ratio.ratioX);
- Node595.a('node.height', 24.33138*_ratio.ratioY);
- Node595.a('node.type', Node595type);
- Node595.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node595.a('node.background', 'rgba(240,240,240,1)');
- Node595.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node595.a('node.gradient', '');
- Node595.a('node.borderwidth', Node595BorderWidth);
- Node595.a('node.color', 'rgba(224,224,224,1)');
- Node595.a('node.fillrect', [0,0,0,0]);
- Node595.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node595.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node595.a('node.fillgradient', '');
- if (Node595type !== 'rect') {
- Node595.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node595.a('node.arcTo', parseFloat('@arcTo@'));
- Node595.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node595type === 'arc') {
- Node595.a('node.arcOval', true);
- }
- Node595.setRotation(0*Math.PI/180);
- Node595.borderWidth = Node595BorderWidth;
- Node595.borderFillwidth = Node595BorderWidth;
- dataModel.add(Node595);
- Node595._nodename = 'Node595'
- Node595._nodeType = 'rect';
- zoomNodeList.push({
- node: Node595,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node595, Node595.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node596 = new ht.Node();
- var Node596textStart, Node596textWidth, Node596lineStart, Node596align = 'center', Node596fontSize = 13.3333*_ratio.ratioY,Node596width = 110*_ratio.ratioX, Node596height = 26*_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('年维护损失电量', ' '+ Node596fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node596align === 'center') {
- Node596textStart = -3;
- Node596textWidth = Node596width;
- Node596lineStart = Node596width - ht.Default.getTextSize('年维护损失电量', ' '+ Node596fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node596.setImage(GD.getTextJSON(Node596width, Node596height, true, false, false, ' '+ Node596fontSize + 'px "微软雅黑"'))
- Node596.setPosition(1091*ratio.ratioX, 54*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','年维护损失电量');
- Node596.a('node.textalign','center');
- 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 "微软雅黑"');
- 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') || '年维护损失电量';
- 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,"center",color,' '+ Node596fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node596.a('node.underlinepoints',[Node596lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node596fontSize + 2 , ht.Default.getTextSize('年维护损失电量', ' '+ Node596fontSize + 'px "微软雅黑"').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 = 'center', Node597fontSize = 13.3333*_ratio.ratioY,Node597width = 110*_ratio.ratioX, Node597height = 26*_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('年故障损失电量', ' '+ Node597fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node597align === 'center') {
- Node597textStart = -3;
- Node597textWidth = Node597width;
- Node597lineStart = Node597width - ht.Default.getTextSize('年故障损失电量', ' '+ Node597fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node597.setImage(GD.getTextJSON(Node597width, Node597height, true, false, false, ' '+ Node597fontSize + 'px "微软雅黑"'))
- Node597.setPosition(1091*ratio.ratioX, 77*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','年故障损失电量');
- Node597.a('node.textalign','center');
- 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 "微软雅黑"');
- 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') || '年故障损失电量';
- 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,"center",color,' '+ Node597fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node597.a('node.underlinepoints',[Node597lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node597fontSize + 2 , ht.Default.getTextSize('年故障损失电量', ' '+ Node597fontSize + 'px "微软雅黑"').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 = 'center', Node598fontSize = 13.3333*_ratio.ratioY,Node598width = 110*_ratio.ratioX, Node598height = 26*_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('年限电损失电量', ' '+ Node598fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node598align === 'center') {
- Node598textStart = -3;
- Node598textWidth = Node598width;
- Node598lineStart = Node598width - ht.Default.getTextSize('年限电损失电量', ' '+ Node598fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node598.setImage(GD.getTextJSON(Node598width, Node598height, true, false, false, ' '+ Node598fontSize + 'px "微软雅黑"'))
- Node598.setPosition(1091*ratio.ratioX, 102*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','年限电损失电量');
- Node598.a('node.textalign','center');
- 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 "微软雅黑"');
- 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') || '年限电损失电量';
- 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,"center",color,' '+ Node598fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node598.a('node.underlinepoints',[Node598lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node598fontSize + 2 , ht.Default.getTextSize('年限电损失电量', ' '+ Node598fontSize + 'px "微软雅黑"').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 = 'center', Node599fontSize = 13.3333*_ratio.ratioY,Node599width = 110*_ratio.ratioX, Node599height = 26*_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('年受累损失电量', ' '+ Node599fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node599align === 'center') {
- Node599textStart = -3;
- Node599textWidth = Node599width;
- Node599lineStart = Node599width - ht.Default.getTextSize('年受累损失电量', ' '+ Node599fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node599.setImage(GD.getTextJSON(Node599width, Node599height, true, false, false, ' '+ Node599fontSize + 'px "微软雅黑"'))
- Node599.setPosition(1091*ratio.ratioX, 127*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','年受累损失电量');
- Node599.a('node.textalign','center');
- 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 "微软雅黑"');
- 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') || '年受累损失电量';
- 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,"center",color,' '+ Node599fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node599.a('node.underlinepoints',[Node599lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node599fontSize + 2 , ht.Default.getTextSize('年受累损失电量', ' '+ Node599fontSize + 'px "微软雅黑"').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 Node600type = 'rect';
- var Node600 = new ht.Node(),
- Node600BorderWidth = 1*2;
- if (Node600type === 'arc') {
- Node600BorderWidth *= 1;
- }
- Node600.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node600type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node600.setPosition(1197*ratio.ratioX, 52*ratio.ratioY);
- Node600.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node600.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node600.a('node.width', 95*_ratio.ratioX);
- Node600.a('node.height', 24.33136*_ratio.ratioY);
- Node600.a('node.type', Node600type);
- Node600.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node600.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node600.a('node.gradientcolor', '');
- Node600.a('node.gradient', '');
- Node600.a('node.borderwidth', Node600BorderWidth);
- Node600.a('node.color', 'rgba(224,224,224,1)');
- Node600.a('node.fillrect', [0,0,0,0]);
- Node600.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node600.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node600.a('node.fillgradient', '');
- if (Node600type !== 'rect') {
- Node600.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node600.a('node.arcTo', parseFloat('@arcTo@'));
- Node600.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node600type === 'arc') {
- Node600.a('node.arcOval', true);
- }
- Node600.setRotation(0*Math.PI/180);
- Node600.borderWidth = Node600BorderWidth;
- Node600.borderFillwidth = Node600BorderWidth;
- dataModel.add(Node600);
- Node600._nodename = 'Node600'
- Node600._nodeType = 'rect';
- zoomNodeList.push({
- node: Node600,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node600, Node600.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node601type = 'rect';
- var Node601 = new ht.Node(),
- Node601BorderWidth = 1*2;
- if (Node601type === 'arc') {
- Node601BorderWidth *= 1;
- }
- Node601.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node601type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node601.setPosition(1197*ratio.ratioX, 76*ratio.ratioY);
- Node601.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node601.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node601.a('node.width', 95*_ratio.ratioX);
- Node601.a('node.height', 24.33138*_ratio.ratioY);
- Node601.a('node.type', Node601type);
- Node601.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node601.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node601.a('node.gradientcolor', '');
- Node601.a('node.gradient', '');
- Node601.a('node.borderwidth', Node601BorderWidth);
- Node601.a('node.color', 'rgba(224,224,224,1)');
- Node601.a('node.fillrect', [0,0,0,0]);
- Node601.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node601.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node601.a('node.fillgradient', '');
- if (Node601type !== 'rect') {
- Node601.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node601.a('node.arcTo', parseFloat('@arcTo@'));
- Node601.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node601type === 'arc') {
- Node601.a('node.arcOval', true);
- }
- Node601.setRotation(0*Math.PI/180);
- Node601.borderWidth = Node601BorderWidth;
- Node601.borderFillwidth = Node601BorderWidth;
- dataModel.add(Node601);
- Node601._nodename = 'Node601'
- Node601._nodeType = 'rect';
- zoomNodeList.push({
- node: Node601,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node601, Node601.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node602type = 'rect';
- var Node602 = new ht.Node(),
- Node602BorderWidth = 1*2;
- if (Node602type === 'arc') {
- Node602BorderWidth *= 1;
- }
- Node602.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node602type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node602.setPosition(1197*ratio.ratioX, 100*ratio.ratioY);
- Node602.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node602.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node602.a('node.width', 95*_ratio.ratioX);
- Node602.a('node.height', 24.33138*_ratio.ratioY);
- Node602.a('node.type', Node602type);
- Node602.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node602.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node602.a('node.gradientcolor', '');
- Node602.a('node.gradient', '');
- Node602.a('node.borderwidth', Node602BorderWidth);
- Node602.a('node.color', 'rgba(224,224,224,1)');
- Node602.a('node.fillrect', [0,0,0,0]);
- Node602.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node602.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node602.a('node.fillgradient', '');
- if (Node602type !== 'rect') {
- Node602.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node602.a('node.arcTo', parseFloat('@arcTo@'));
- Node602.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node602type === 'arc') {
- Node602.a('node.arcOval', true);
- }
- Node602.setRotation(0*Math.PI/180);
- Node602.borderWidth = Node602BorderWidth;
- Node602.borderFillwidth = Node602BorderWidth;
- dataModel.add(Node602);
- Node602._nodename = 'Node602'
- Node602._nodeType = 'rect';
- zoomNodeList.push({
- node: Node602,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node602, Node602.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node603type = 'rect';
- var Node603 = new ht.Node(),
- Node603BorderWidth = 1*2;
- if (Node603type === 'arc') {
- Node603BorderWidth *= 1;
- }
- Node603.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node603type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node603.setPosition(1197*ratio.ratioX, 125*ratio.ratioY);
- Node603.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node603.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node603.a('node.width', 95*_ratio.ratioX);
- Node603.a('node.height', 24.33136*_ratio.ratioY);
- Node603.a('node.type', Node603type);
- Node603.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node603.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node603.a('node.gradientcolor', '');
- Node603.a('node.gradient', '');
- Node603.a('node.borderwidth', Node603BorderWidth);
- Node603.a('node.color', 'rgba(224,224,224,1)');
- Node603.a('node.fillrect', [0,0,0,0]);
- Node603.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node603.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node603.a('node.fillgradient', '');
- if (Node603type !== 'rect') {
- Node603.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node603.a('node.arcTo', parseFloat('@arcTo@'));
- Node603.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node603type === 'arc') {
- Node603.a('node.arcOval', true);
- }
- Node603.setRotation(0*Math.PI/180);
- Node603.borderWidth = Node603BorderWidth;
- Node603.borderFillwidth = Node603BorderWidth;
- dataModel.add(Node603);
- Node603._nodename = 'Node603'
- Node603._nodeType = 'rect';
- zoomNodeList.push({
- node: Node603,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node603, Node603.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node604type = 'rect';
- var Node604 = new ht.Node(),
- Node604BorderWidth = 1*2;
- if (Node604type === 'arc') {
- Node604BorderWidth *= 1;
- }
- Node604.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node604type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node604.setPosition(1197*ratio.ratioX, 149*ratio.ratioY);
- Node604.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node604.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node604.a('node.width', 95*_ratio.ratioX);
- Node604.a('node.height', 24.33138*_ratio.ratioY);
- Node604.a('node.type', Node604type);
- Node604.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node604.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node604.a('node.gradientcolor', '');
- Node604.a('node.gradient', '');
- Node604.a('node.borderwidth', Node604BorderWidth);
- Node604.a('node.color', 'rgba(224,224,224,1)');
- Node604.a('node.fillrect', [0,0,0,0]);
- Node604.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node604.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node604.a('node.fillgradient', '');
- if (Node604type !== 'rect') {
- Node604.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node604.a('node.arcTo', parseFloat('@arcTo@'));
- Node604.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node604type === 'arc') {
- Node604.a('node.arcOval', true);
- }
- Node604.setRotation(0*Math.PI/180);
- Node604.borderWidth = Node604BorderWidth;
- Node604.borderFillwidth = Node604BorderWidth;
- dataModel.add(Node604);
- Node604._nodename = 'Node604'
- Node604._nodeType = 'rect';
- zoomNodeList.push({
- node: Node604,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node604, Node604.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node605type = 'rect';
- var Node605 = new ht.Node(),
- Node605BorderWidth = 1*2;
- if (Node605type === 'arc') {
- Node605BorderWidth *= 1;
- }
- Node605.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node605type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node605.setPosition(1277*ratio.ratioX, 52*ratio.ratioY);
- Node605.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node605.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node605.a('node.width', 65*_ratio.ratioX);
- Node605.a('node.height', 24.33136*_ratio.ratioY);
- Node605.a('node.type', Node605type);
- Node605.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node605.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node605.a('node.gradientcolor', '');
- Node605.a('node.gradient', '');
- Node605.a('node.borderwidth', Node605BorderWidth);
- Node605.a('node.color', 'rgba(224,224,224,1)');
- Node605.a('node.fillrect', [0,0,0,0]);
- Node605.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node605.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node605.a('node.fillgradient', '');
- if (Node605type !== 'rect') {
- Node605.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node605.a('node.arcTo', parseFloat('@arcTo@'));
- Node605.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node605type === 'arc') {
- Node605.a('node.arcOval', true);
- }
- Node605.setRotation(0*Math.PI/180);
- Node605.borderWidth = Node605BorderWidth;
- Node605.borderFillwidth = Node605BorderWidth;
- dataModel.add(Node605);
- Node605._nodename = 'Node605'
- Node605._nodeType = 'rect';
- zoomNodeList.push({
- node: Node605,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node605, Node605.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node606 = new ht.Node();
- var Node606textStart, Node606textWidth, Node606lineStart, Node606align = 'center', Node606fontSize = 14.66663*_ratio.ratioY,Node606width = 59*_ratio.ratioX, Node606height = 26*_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(1197*ratio.ratioX, 54*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','center');
- 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,14.66663*0.5*_ratio.ratioY,Node606width,Node606height,14.66663*_ratio.ratioY,"center",color,' '+ Node606fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node606.a('node.underlinepoints',[Node606lineStart, (26 - 14.66663) * 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 = 'center', Node607fontSize = 14.66663*_ratio.ratioY,Node607width = 59*_ratio.ratioX, Node607height = 26*_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(1197*ratio.ratioX, 78*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','center');
- 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,14.66663*0.5*_ratio.ratioY,Node607width,Node607height,14.66663*_ratio.ratioY,"center",color,' '+ Node607fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node607.a('node.underlinepoints',[Node607lineStart, (26 - 14.66663) * 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'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node608 = new ht.Node();
- var Node608textStart, Node608textWidth, Node608lineStart, Node608align = 'center', Node608fontSize = 14.66663*_ratio.ratioY,Node608width = 59*_ratio.ratioX, Node608height = 26*_ratio.ratioY;
- (function () {
- if (Node608align === 'left') {
- Node608textStart = Node608fontSize * 0.2 > 2 ? Node608fontSize * 0.2 - 4 : Node608fontSize * 0.2 - 9;
- Node608textWidth = Node608width;
- Node608lineStart = 1;
- } else if (Node608align === 'right') {
- Node608textStart = 0;
- Node608textWidth =Node608fontSize <= 8 ? Node608width + Node608fontSize * 0.2 + 6 : Node608width - Node608fontSize * 0.2;
- Node608lineStart = (Node608width - (ht.Default.getTextSize('0', ' '+ Node608fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node608align === 'center') {
- Node608textStart = -3;
- Node608textWidth = Node608width;
- Node608lineStart = Node608width - ht.Default.getTextSize('0', ' '+ Node608fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node608.setImage(GD.getTextJSON(Node608width, Node608height, true, false, false, ' '+ Node608fontSize + 'px "Arial"'))
- Node608.setPosition(1197*ratio.ratioX, 103*ratio.ratioY);
- Node608.setWidth(Node608width);
- Node608.setHeight(Node608height);
- Node608._nodeType = 'text';
- Node608._disallowEvert = true;
- Node608.setRotation(0*Math.PI/180);
- Node608.a('node.width', Node608width);
- Node608.a('node.height', Node608height);
- Node608.a('node.rect', [0, 0, Node608width, Node608height]);
- Node608.a('node.bordercolor','rgba(0,0,0,1)');
- Node608.a('node.borderwidth', 0);
- Node608.a('node.background','' || 'rgba(0,0,0,0)');
- Node608.a('node.gradient','');
- Node608.a('node.gradientcolor','');
- Node608.a('node.text','0');
- Node608.a('node.textalign','center');
- Node608.a('node.textvAlign','middle');
- Node608.a('node.textrect', [Node608textStart, 0, Node608textWidth, Node608height]);
- Node608.a('node.color','rgba(0,0,0,1)');
- Node608.a('node.font',' '+ Node608fontSize + 'px "Arial"');
- Node608.a('node.textvisible',true);
- Node608.a('node.linefeed',false);
- if (false) {
- Node608.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node608.a('node.text') || '0';
- var color=Node608.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node608width,Node608height,14.66663*_ratio.ratioY,"center",color,' '+ Node608fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node608.a('node.underlinepoints',[Node608lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node608fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node608fontSize + 'px "Arial"').width + 6, (Node608height - Node608fontSize) * 0.5*_ratio.ratioY + Node608fontSize + 2 ]);
- Node608.a('node.underlinevisible',false);
- Node608.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node608);
- zoomNodeList.push({
- node: Node608,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node609 = new ht.Node();
- var Node609textStart, Node609textWidth, Node609lineStart, Node609align = 'center', Node609fontSize = 14.66663*_ratio.ratioY,Node609width = 59*_ratio.ratioX, Node609height = 26*_ratio.ratioY;
- (function () {
- if (Node609align === 'left') {
- Node609textStart = Node609fontSize * 0.2 > 2 ? Node609fontSize * 0.2 - 4 : Node609fontSize * 0.2 - 9;
- Node609textWidth = Node609width;
- Node609lineStart = 1;
- } else if (Node609align === 'right') {
- Node609textStart = 0;
- Node609textWidth =Node609fontSize <= 8 ? Node609width + Node609fontSize * 0.2 + 6 : Node609width - Node609fontSize * 0.2;
- Node609lineStart = (Node609width - (ht.Default.getTextSize('0', ' '+ Node609fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node609align === 'center') {
- Node609textStart = -3;
- Node609textWidth = Node609width;
- Node609lineStart = Node609width - ht.Default.getTextSize('0', ' '+ Node609fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node609.setImage(GD.getTextJSON(Node609width, Node609height, true, false, false, ' '+ Node609fontSize + 'px "Arial"'))
- Node609.setPosition(1197*ratio.ratioX, 126*ratio.ratioY);
- Node609.setWidth(Node609width);
- Node609.setHeight(Node609height);
- Node609._nodeType = 'text';
- Node609._disallowEvert = true;
- Node609.setRotation(0*Math.PI/180);
- Node609.a('node.width', Node609width);
- Node609.a('node.height', Node609height);
- Node609.a('node.rect', [0, 0, Node609width, Node609height]);
- Node609.a('node.bordercolor','rgba(0,0,0,1)');
- Node609.a('node.borderwidth', 0);
- Node609.a('node.background','' || 'rgba(0,0,0,0)');
- Node609.a('node.gradient','');
- Node609.a('node.gradientcolor','');
- Node609.a('node.text','0');
- Node609.a('node.textalign','center');
- Node609.a('node.textvAlign','middle');
- Node609.a('node.textrect', [Node609textStart, 0, Node609textWidth, Node609height]);
- Node609.a('node.color','rgba(0,0,0,1)');
- Node609.a('node.font',' '+ Node609fontSize + 'px "Arial"');
- Node609.a('node.textvisible',true);
- Node609.a('node.linefeed',false);
- if (false) {
- Node609.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node609.a('node.text') || '0';
- var color=Node609.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node609width,Node609height,14.66663*_ratio.ratioY,"center",color,' '+ Node609fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node609.a('node.underlinepoints',[Node609lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node609fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node609fontSize + 'px "Arial"').width + 6, (Node609height - Node609fontSize) * 0.5*_ratio.ratioY + Node609fontSize + 2 ]);
- Node609.a('node.underlinevisible',false);
- Node609.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node609);
- zoomNodeList.push({
- node: Node609,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node610 = new ht.Node();
- var Node610textStart, Node610textWidth, Node610lineStart, Node610align = 'center', Node610fontSize = 14.66663*_ratio.ratioY,Node610width = 59*_ratio.ratioX, Node610height = 26*_ratio.ratioY;
- (function () {
- if (Node610align === 'left') {
- Node610textStart = Node610fontSize * 0.2 > 2 ? Node610fontSize * 0.2 - 4 : Node610fontSize * 0.2 - 9;
- Node610textWidth = Node610width;
- Node610lineStart = 1;
- } else if (Node610align === 'right') {
- Node610textStart = 0;
- Node610textWidth =Node610fontSize <= 8 ? Node610width + Node610fontSize * 0.2 + 6 : Node610width - Node610fontSize * 0.2;
- Node610lineStart = (Node610width - (ht.Default.getTextSize('0', ' '+ Node610fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node610align === 'center') {
- Node610textStart = -3;
- Node610textWidth = Node610width;
- Node610lineStart = Node610width - ht.Default.getTextSize('0', ' '+ Node610fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node610.setImage(GD.getTextJSON(Node610width, Node610height, true, false, false, ' '+ Node610fontSize + 'px "Arial"'))
- Node610.setPosition(1197*ratio.ratioX, 150*ratio.ratioY);
- Node610.setWidth(Node610width);
- Node610.setHeight(Node610height);
- Node610._nodeType = 'text';
- Node610._disallowEvert = true;
- Node610.setRotation(0*Math.PI/180);
- Node610.a('node.width', Node610width);
- Node610.a('node.height', Node610height);
- Node610.a('node.rect', [0, 0, Node610width, Node610height]);
- Node610.a('node.bordercolor','rgba(0,0,0,1)');
- Node610.a('node.borderwidth', 0);
- Node610.a('node.background','' || 'rgba(0,0,0,0)');
- Node610.a('node.gradient','');
- Node610.a('node.gradientcolor','');
- Node610.a('node.text','0');
- Node610.a('node.textalign','center');
- Node610.a('node.textvAlign','middle');
- Node610.a('node.textrect', [Node610textStart, 0, Node610textWidth, Node610height]);
- Node610.a('node.color','rgba(0,0,0,1)');
- Node610.a('node.font',' '+ Node610fontSize + 'px "Arial"');
- Node610.a('node.textvisible',true);
- Node610.a('node.linefeed',false);
- if (false) {
- Node610.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node610.a('node.text') || '0';
- var color=Node610.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node610width,Node610height,14.66663*_ratio.ratioY,"center",color,' '+ Node610fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node610.a('node.underlinepoints',[Node610lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node610fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node610fontSize + 'px "Arial"').width + 6, (Node610height - Node610fontSize) * 0.5*_ratio.ratioY + Node610fontSize + 2 ]);
- Node610.a('node.underlinevisible',false);
- Node610.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node610);
- zoomNodeList.push({
- node: Node610,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node611type = 'rect';
- var Node611 = new ht.Node(),
- Node611BorderWidth = 1*2;
- if (Node611type === 'arc') {
- Node611BorderWidth *= 1;
- }
- Node611.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node611type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node611.setPosition(1277*ratio.ratioX, 76*ratio.ratioY);
- Node611.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node611.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node611.a('node.width', 65*_ratio.ratioX);
- Node611.a('node.height', 24.33138*_ratio.ratioY);
- Node611.a('node.type', Node611type);
- Node611.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node611.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node611.a('node.gradientcolor', '');
- Node611.a('node.gradient', '');
- Node611.a('node.borderwidth', Node611BorderWidth);
- Node611.a('node.color', 'rgba(224,224,224,1)');
- Node611.a('node.fillrect', [0,0,0,0]);
- Node611.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node611.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node611.a('node.fillgradient', '');
- if (Node611type !== 'rect') {
- Node611.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node611.a('node.arcTo', parseFloat('@arcTo@'));
- Node611.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node611type === 'arc') {
- Node611.a('node.arcOval', true);
- }
- Node611.setRotation(0*Math.PI/180);
- Node611.borderWidth = Node611BorderWidth;
- Node611.borderFillwidth = Node611BorderWidth;
- dataModel.add(Node611);
- Node611._nodename = 'Node611'
- Node611._nodeType = 'rect';
- zoomNodeList.push({
- node: Node611,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node611, Node611.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node612type = 'rect';
- var Node612 = new ht.Node(),
- Node612BorderWidth = 1*2;
- if (Node612type === 'arc') {
- Node612BorderWidth *= 1;
- }
- Node612.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node612type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node612.setPosition(1277*ratio.ratioX, 100*ratio.ratioY);
- Node612.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node612.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node612.a('node.width', 65*_ratio.ratioX);
- Node612.a('node.height', 24.33138*_ratio.ratioY);
- Node612.a('node.type', Node612type);
- Node612.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node612.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node612.a('node.gradientcolor', '');
- Node612.a('node.gradient', '');
- Node612.a('node.borderwidth', Node612BorderWidth);
- Node612.a('node.color', 'rgba(224,224,224,1)');
- Node612.a('node.fillrect', [0,0,0,0]);
- Node612.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node612.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node612.a('node.fillgradient', '');
- if (Node612type !== 'rect') {
- Node612.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node612.a('node.arcTo', parseFloat('@arcTo@'));
- Node612.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node612type === 'arc') {
- Node612.a('node.arcOval', true);
- }
- Node612.setRotation(0*Math.PI/180);
- Node612.borderWidth = Node612BorderWidth;
- Node612.borderFillwidth = Node612BorderWidth;
- dataModel.add(Node612);
- Node612._nodename = 'Node612'
- Node612._nodeType = 'rect';
- zoomNodeList.push({
- node: Node612,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node612, Node612.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node613type = 'rect';
- var Node613 = new ht.Node(),
- Node613BorderWidth = 1*2;
- if (Node613type === 'arc') {
- Node613BorderWidth *= 1;
- }
- Node613.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node613type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node613.setPosition(1277*ratio.ratioX, 125*ratio.ratioY);
- Node613.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node613.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node613.a('node.width', 65*_ratio.ratioX);
- Node613.a('node.height', 24.33136*_ratio.ratioY);
- Node613.a('node.type', Node613type);
- Node613.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node613.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node613.a('node.gradientcolor', '');
- Node613.a('node.gradient', '');
- Node613.a('node.borderwidth', Node613BorderWidth);
- Node613.a('node.color', 'rgba(224,224,224,1)');
- Node613.a('node.fillrect', [0,0,0,0]);
- Node613.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node613.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node613.a('node.fillgradient', '');
- if (Node613type !== 'rect') {
- Node613.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node613.a('node.arcTo', parseFloat('@arcTo@'));
- Node613.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node613type === 'arc') {
- Node613.a('node.arcOval', true);
- }
- Node613.setRotation(0*Math.PI/180);
- Node613.borderWidth = Node613BorderWidth;
- Node613.borderFillwidth = Node613BorderWidth;
- dataModel.add(Node613);
- Node613._nodename = 'Node613'
- Node613._nodeType = 'rect';
- zoomNodeList.push({
- node: Node613,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node613, Node613.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node614type = 'rect';
- var Node614 = new ht.Node(),
- Node614BorderWidth = 1*2;
- if (Node614type === 'arc') {
- Node614BorderWidth *= 1;
- }
- Node614.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node614type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node614.setPosition(1277*ratio.ratioX, 149*ratio.ratioY);
- Node614.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node614.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node614.a('node.width', 65*_ratio.ratioX);
- Node614.a('node.height', 24.33138*_ratio.ratioY);
- Node614.a('node.type', Node614type);
- Node614.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node614.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node614.a('node.gradientcolor', '');
- Node614.a('node.gradient', '');
- Node614.a('node.borderwidth', Node614BorderWidth);
- Node614.a('node.color', 'rgba(224,224,224,1)');
- Node614.a('node.fillrect', [0,0,0,0]);
- Node614.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node614.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node614.a('node.fillgradient', '');
- if (Node614type !== 'rect') {
- Node614.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node614.a('node.arcTo', parseFloat('@arcTo@'));
- Node614.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node614type === 'arc') {
- Node614.a('node.arcOval', true);
- }
- Node614.setRotation(0*Math.PI/180);
- Node614.borderWidth = Node614BorderWidth;
- Node614.borderFillwidth = Node614BorderWidth;
- dataModel.add(Node614);
- Node614._nodename = 'Node614'
- Node614._nodeType = 'rect';
- zoomNodeList.push({
- node: Node614,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node614, Node614.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node615 = new ht.Node();
- var Node615textStart, Node615textWidth, Node615lineStart, Node615align = 'center', Node615fontSize = 13.3333*_ratio.ratioY,Node615width = 59*_ratio.ratioX, Node615height = 26*_ratio.ratioY;
- (function () {
- if (Node615align === 'left') {
- Node615textStart = Node615fontSize * 0.2 > 2 ? Node615fontSize * 0.2 - 4 : Node615fontSize * 0.2 - 9;
- Node615textWidth = Node615width;
- Node615lineStart = 1;
- } else if (Node615align === 'right') {
- Node615textStart = 0;
- Node615textWidth =Node615fontSize <= 8 ? Node615width + Node615fontSize * 0.2 + 6 : Node615width - Node615fontSize * 0.2;
- Node615lineStart = (Node615width - (ht.Default.getTextSize('万kWh', ' '+ Node615fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node615align === 'center') {
- Node615textStart = -3;
- Node615textWidth = Node615width;
- Node615lineStart = Node615width - ht.Default.getTextSize('万kWh', ' '+ Node615fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node615.setImage(GD.getTextJSON(Node615width, Node615height, true, false, false, ' '+ Node615fontSize + 'px "Arial"'))
- Node615.setPosition(1278*ratio.ratioX, 54*ratio.ratioY);
- Node615.setWidth(Node615width);
- Node615.setHeight(Node615height);
- Node615._nodeType = 'text';
- Node615._disallowEvert = true;
- Node615.setRotation(0*Math.PI/180);
- Node615.a('node.width', Node615width);
- Node615.a('node.height', Node615height);
- Node615.a('node.rect', [0, 0, Node615width, Node615height]);
- Node615.a('node.bordercolor','rgba(128,128,128,1)');
- Node615.a('node.borderwidth', 0);
- Node615.a('node.background','' || 'rgba(0,0,0,0)');
- Node615.a('node.gradient','');
- Node615.a('node.gradientcolor','');
- Node615.a('node.text','万kWh');
- Node615.a('node.textalign','center');
- Node615.a('node.textvAlign','middle');
- Node615.a('node.textrect', [Node615textStart, 0, Node615textWidth, Node615height]);
- Node615.a('node.color','rgba(128,128,128,1)');
- Node615.a('node.font',' '+ Node615fontSize + 'px "Arial"');
- Node615.a('node.textvisible',true);
- Node615.a('node.linefeed',false);
- if (false) {
- Node615.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node615.a('node.text') || '万kWh';
- var color=Node615.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node615width,Node615height,13.3333*_ratio.ratioY,"center",color,' '+ Node615fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node615.a('node.underlinepoints',[Node615lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node615fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node615fontSize + 'px "Arial"').width + 6, (Node615height - Node615fontSize) * 0.5*_ratio.ratioY + Node615fontSize + 2 ]);
- Node615.a('node.underlinevisible',false);
- Node615.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node615);
- zoomNodeList.push({
- node: Node615,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node616 = new ht.Node();
- var Node616textStart, Node616textWidth, Node616lineStart, Node616align = 'center', Node616fontSize = 13.3333*_ratio.ratioY,Node616width = 59*_ratio.ratioX, Node616height = 26*_ratio.ratioY;
- (function () {
- if (Node616align === 'left') {
- Node616textStart = Node616fontSize * 0.2 > 2 ? Node616fontSize * 0.2 - 4 : Node616fontSize * 0.2 - 9;
- Node616textWidth = Node616width;
- Node616lineStart = 1;
- } else if (Node616align === 'right') {
- Node616textStart = 0;
- Node616textWidth =Node616fontSize <= 8 ? Node616width + Node616fontSize * 0.2 + 6 : Node616width - Node616fontSize * 0.2;
- Node616lineStart = (Node616width - (ht.Default.getTextSize('万kWh', ' '+ Node616fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node616align === 'center') {
- Node616textStart = -3;
- Node616textWidth = Node616width;
- Node616lineStart = Node616width - ht.Default.getTextSize('万kWh', ' '+ Node616fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node616.setImage(GD.getTextJSON(Node616width, Node616height, true, false, false, ' '+ Node616fontSize + 'px "Arial"'))
- Node616.setPosition(1278*ratio.ratioX, 78*ratio.ratioY);
- Node616.setWidth(Node616width);
- Node616.setHeight(Node616height);
- Node616._nodeType = 'text';
- Node616._disallowEvert = true;
- Node616.setRotation(0*Math.PI/180);
- Node616.a('node.width', Node616width);
- Node616.a('node.height', Node616height);
- Node616.a('node.rect', [0, 0, Node616width, Node616height]);
- Node616.a('node.bordercolor','rgba(128,128,128,1)');
- Node616.a('node.borderwidth', 0);
- Node616.a('node.background','' || 'rgba(0,0,0,0)');
- Node616.a('node.gradient','');
- Node616.a('node.gradientcolor','');
- Node616.a('node.text','万kWh');
- Node616.a('node.textalign','center');
- Node616.a('node.textvAlign','middle');
- Node616.a('node.textrect', [Node616textStart, 0, Node616textWidth, Node616height]);
- Node616.a('node.color','rgba(128,128,128,1)');
- Node616.a('node.font',' '+ Node616fontSize + 'px "Arial"');
- Node616.a('node.textvisible',true);
- Node616.a('node.linefeed',false);
- if (false) {
- Node616.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node616.a('node.text') || '万kWh';
- var color=Node616.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node616width,Node616height,13.3333*_ratio.ratioY,"center",color,' '+ Node616fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node616.a('node.underlinepoints',[Node616lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node616fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node616fontSize + 'px "Arial"').width + 6, (Node616height - Node616fontSize) * 0.5*_ratio.ratioY + Node616fontSize + 2 ]);
- Node616.a('node.underlinevisible',false);
- Node616.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node616);
- zoomNodeList.push({
- node: Node616,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node617 = new ht.Node();
- var Node617textStart, Node617textWidth, Node617lineStart, Node617align = 'center', Node617fontSize = 13.3333*_ratio.ratioY,Node617width = 59*_ratio.ratioX, Node617height = 26*_ratio.ratioY;
- (function () {
- if (Node617align === 'left') {
- Node617textStart = Node617fontSize * 0.2 > 2 ? Node617fontSize * 0.2 - 4 : Node617fontSize * 0.2 - 9;
- Node617textWidth = Node617width;
- Node617lineStart = 1;
- } else if (Node617align === 'right') {
- Node617textStart = 0;
- Node617textWidth =Node617fontSize <= 8 ? Node617width + Node617fontSize * 0.2 + 6 : Node617width - Node617fontSize * 0.2;
- Node617lineStart = (Node617width - (ht.Default.getTextSize('万kWh', ' '+ Node617fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node617align === 'center') {
- Node617textStart = -3;
- Node617textWidth = Node617width;
- Node617lineStart = Node617width - ht.Default.getTextSize('万kWh', ' '+ Node617fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node617.setImage(GD.getTextJSON(Node617width, Node617height, true, false, false, ' '+ Node617fontSize + 'px "Arial"'))
- Node617.setPosition(1278*ratio.ratioX, 101*ratio.ratioY);
- Node617.setWidth(Node617width);
- Node617.setHeight(Node617height);
- Node617._nodeType = 'text';
- Node617._disallowEvert = true;
- Node617.setRotation(0*Math.PI/180);
- Node617.a('node.width', Node617width);
- Node617.a('node.height', Node617height);
- Node617.a('node.rect', [0, 0, Node617width, Node617height]);
- Node617.a('node.bordercolor','rgba(128,128,128,1)');
- Node617.a('node.borderwidth', 0);
- Node617.a('node.background','' || 'rgba(0,0,0,0)');
- Node617.a('node.gradient','');
- Node617.a('node.gradientcolor','');
- Node617.a('node.text','万kWh');
- Node617.a('node.textalign','center');
- Node617.a('node.textvAlign','middle');
- Node617.a('node.textrect', [Node617textStart, 0, Node617textWidth, Node617height]);
- Node617.a('node.color','rgba(128,128,128,1)');
- Node617.a('node.font',' '+ Node617fontSize + 'px "Arial"');
- Node617.a('node.textvisible',true);
- Node617.a('node.linefeed',false);
- if (false) {
- Node617.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node617.a('node.text') || '万kWh';
- var color=Node617.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node617width,Node617height,13.3333*_ratio.ratioY,"center",color,' '+ Node617fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node617.a('node.underlinepoints',[Node617lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node617fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node617fontSize + 'px "Arial"').width + 6, (Node617height - Node617fontSize) * 0.5*_ratio.ratioY + Node617fontSize + 2 ]);
- Node617.a('node.underlinevisible',false);
- Node617.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node617);
- zoomNodeList.push({
- node: Node617,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node618 = new ht.Node();
- var Node618textStart, Node618textWidth, Node618lineStart, Node618align = 'center', Node618fontSize = 13.3333*_ratio.ratioY,Node618width = 59*_ratio.ratioX, Node618height = 26*_ratio.ratioY;
- (function () {
- if (Node618align === 'left') {
- Node618textStart = Node618fontSize * 0.2 > 2 ? Node618fontSize * 0.2 - 4 : Node618fontSize * 0.2 - 9;
- Node618textWidth = Node618width;
- Node618lineStart = 1;
- } else if (Node618align === 'right') {
- Node618textStart = 0;
- Node618textWidth =Node618fontSize <= 8 ? Node618width + Node618fontSize * 0.2 + 6 : Node618width - Node618fontSize * 0.2;
- Node618lineStart = (Node618width - (ht.Default.getTextSize('万kWh', ' '+ Node618fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node618align === 'center') {
- Node618textStart = -3;
- Node618textWidth = Node618width;
- Node618lineStart = Node618width - ht.Default.getTextSize('万kWh', ' '+ Node618fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node618.setImage(GD.getTextJSON(Node618width, Node618height, true, false, false, ' '+ Node618fontSize + 'px "Arial"'))
- Node618.setPosition(1278*ratio.ratioX, 127*ratio.ratioY);
- Node618.setWidth(Node618width);
- Node618.setHeight(Node618height);
- Node618._nodeType = 'text';
- Node618._disallowEvert = true;
- Node618.setRotation(0*Math.PI/180);
- Node618.a('node.width', Node618width);
- Node618.a('node.height', Node618height);
- Node618.a('node.rect', [0, 0, Node618width, Node618height]);
- Node618.a('node.bordercolor','rgba(128,128,128,1)');
- Node618.a('node.borderwidth', 0);
- Node618.a('node.background','' || 'rgba(0,0,0,0)');
- Node618.a('node.gradient','');
- Node618.a('node.gradientcolor','');
- Node618.a('node.text','万kWh');
- Node618.a('node.textalign','center');
- Node618.a('node.textvAlign','middle');
- Node618.a('node.textrect', [Node618textStart, 0, Node618textWidth, Node618height]);
- Node618.a('node.color','rgba(128,128,128,1)');
- Node618.a('node.font',' '+ Node618fontSize + 'px "Arial"');
- Node618.a('node.textvisible',true);
- Node618.a('node.linefeed',false);
- if (false) {
- Node618.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node618.a('node.text') || '万kWh';
- var color=Node618.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node618width,Node618height,13.3333*_ratio.ratioY,"center",color,' '+ Node618fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node618.a('node.underlinepoints',[Node618lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node618fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node618fontSize + 'px "Arial"').width + 6, (Node618height - Node618fontSize) * 0.5*_ratio.ratioY + Node618fontSize + 2 ]);
- Node618.a('node.underlinevisible',false);
- Node618.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node618);
- zoomNodeList.push({
- node: Node618,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node619 = new ht.Node();
- var Node619textStart, Node619textWidth, Node619lineStart, Node619align = 'center', Node619fontSize = 13.3333*_ratio.ratioY,Node619width = 59*_ratio.ratioX, Node619height = 26*_ratio.ratioY;
- (function () {
- if (Node619align === 'left') {
- Node619textStart = Node619fontSize * 0.2 > 2 ? Node619fontSize * 0.2 - 4 : Node619fontSize * 0.2 - 9;
- Node619textWidth = Node619width;
- Node619lineStart = 1;
- } else if (Node619align === 'right') {
- Node619textStart = 0;
- Node619textWidth =Node619fontSize <= 8 ? Node619width + Node619fontSize * 0.2 + 6 : Node619width - Node619fontSize * 0.2;
- Node619lineStart = (Node619width - (ht.Default.getTextSize('万kWh', ' '+ Node619fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node619align === 'center') {
- Node619textStart = -3;
- Node619textWidth = Node619width;
- Node619lineStart = Node619width - ht.Default.getTextSize('万kWh', ' '+ Node619fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node619.setImage(GD.getTextJSON(Node619width, Node619height, true, false, false, ' '+ Node619fontSize + 'px "Arial"'))
- Node619.setPosition(1278*ratio.ratioX, 151*ratio.ratioY);
- Node619.setWidth(Node619width);
- Node619.setHeight(Node619height);
- Node619._nodeType = 'text';
- Node619._disallowEvert = true;
- Node619.setRotation(0*Math.PI/180);
- Node619.a('node.width', Node619width);
- Node619.a('node.height', Node619height);
- Node619.a('node.rect', [0, 0, Node619width, Node619height]);
- Node619.a('node.bordercolor','rgba(128,128,128,1)');
- Node619.a('node.borderwidth', 0);
- Node619.a('node.background','' || 'rgba(0,0,0,0)');
- Node619.a('node.gradient','');
- Node619.a('node.gradientcolor','');
- Node619.a('node.text','万kWh');
- Node619.a('node.textalign','center');
- Node619.a('node.textvAlign','middle');
- Node619.a('node.textrect', [Node619textStart, 0, Node619textWidth, Node619height]);
- Node619.a('node.color','rgba(128,128,128,1)');
- Node619.a('node.font',' '+ Node619fontSize + 'px "Arial"');
- Node619.a('node.textvisible',true);
- Node619.a('node.linefeed',false);
- if (false) {
- Node619.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node619.a('node.text') || '万kWh';
- var color=Node619.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node619width,Node619height,13.3333*_ratio.ratioY,"center",color,' '+ Node619fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node619.a('node.underlinepoints',[Node619lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node619fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node619fontSize + 'px "Arial"').width + 6, (Node619height - Node619fontSize) * 0.5*_ratio.ratioY + Node619fontSize + 2 ]);
- Node619.a('node.underlinevisible',false);
- Node619.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node619);
- zoomNodeList.push({
- node: Node619,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node620 = new ht.Node();
- var Node620textStart, Node620textWidth, Node620lineStart, Node620align = 'left', Node620fontSize = 13.3333*_ratio.ratioY,Node620width = 67*_ratio.ratioX, Node620height = 26*_ratio.ratioY;
- (function () {
- if (Node620align === 'left') {
- Node620textStart = Node620fontSize * 0.2 > 2 ? Node620fontSize * 0.2 - 4 : Node620fontSize * 0.2 - 9;
- Node620textWidth = Node620width;
- Node620lineStart = 1;
- } else if (Node620align === 'right') {
- Node620textStart = 0;
- Node620textWidth =Node620fontSize <= 8 ? Node620width + Node620fontSize * 0.2 + 6 : Node620width - Node620fontSize * 0.2;
- Node620lineStart = (Node620width - (ht.Default.getTextSize('装机容量', ' '+ Node620fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node620align === 'center') {
- Node620textStart = -3;
- Node620textWidth = Node620width;
- Node620lineStart = Node620width - ht.Default.getTextSize('装机容量', ' '+ Node620fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node620.setImage(GD.getTextJSON(Node620width, Node620height, true, false, false, ' '+ Node620fontSize + 'px "微软雅黑"'))
- Node620.setPosition(223*ratio.ratioX, 53*ratio.ratioY);
- Node620.setWidth(Node620width);
- Node620.setHeight(Node620height);
- Node620._nodeType = 'text';
- Node620._disallowEvert = true;
- Node620.setRotation(0*Math.PI/180);
- Node620.a('node.width', Node620width);
- Node620.a('node.height', Node620height);
- Node620.a('node.rect', [0, 0, Node620width, Node620height]);
- Node620.a('node.bordercolor','rgba(0,0,0,1)');
- Node620.a('node.borderwidth', 0);
- Node620.a('node.background','' || 'rgba(0,0,0,0)');
- Node620.a('node.gradient','');
- Node620.a('node.gradientcolor','');
- Node620.a('node.text','装机容量');
- Node620.a('node.textalign','left');
- Node620.a('node.textvAlign','middle');
- Node620.a('node.textrect', [Node620textStart, 0, Node620textWidth, Node620height]);
- Node620.a('node.color','rgba(0,0,0,1)');
- Node620.a('node.font',' '+ Node620fontSize + 'px "微软雅黑"');
- Node620.a('node.textvisible',true);
- Node620.a('node.linefeed',false);
- if (false) {
- Node620.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node620.a('node.text') || '装机容量';
- var color=Node620.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node620width,Node620height,13.3333*_ratio.ratioY,"left",color,' '+ Node620fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node620.a('node.underlinepoints',[Node620lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node620fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node620fontSize + 'px "微软雅黑"').width + 6, (Node620height - Node620fontSize) * 0.5*_ratio.ratioY + Node620fontSize + 2 ]);
- Node620.a('node.underlinevisible',false);
- Node620.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node620);
- zoomNodeList.push({
- node: Node620,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node621type = 'rect';
- var Node621 = new ht.Node(),
- Node621BorderWidth = 1*2;
- if (Node621type === 'arc') {
- Node621BorderWidth *= 1;
- }
- Node621.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node621type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node621.setPosition(354*ratio.ratioX, 52*ratio.ratioY);
- Node621.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node621.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node621.a('node.width', 94*_ratio.ratioX);
- Node621.a('node.height', 24.33136*_ratio.ratioY);
- Node621.a('node.type', Node621type);
- Node621.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node621.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node621.a('node.gradientcolor', '');
- Node621.a('node.gradient', '');
- Node621.a('node.borderwidth', Node621BorderWidth);
- Node621.a('node.color', 'rgba(224,224,224,1)');
- Node621.a('node.fillrect', [0,0,0,0]);
- Node621.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node621.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node621.a('node.fillgradient', '');
- if (Node621type !== 'rect') {
- Node621.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node621.a('node.arcTo', parseFloat('@arcTo@'));
- Node621.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node621type === 'arc') {
- Node621.a('node.arcOval', true);
- }
- Node621.setRotation(0*Math.PI/180);
- Node621.borderWidth = Node621BorderWidth;
- Node621.borderFillwidth = Node621BorderWidth;
- dataModel.add(Node621);
- Node621._nodename = 'Node621'
- Node621._nodeType = 'rect';
- zoomNodeList.push({
- node: Node621,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node621, Node621.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node622type = 'rect';
- var Node622 = new ht.Node(),
- Node622BorderWidth = 1*2;
- if (Node622type === 'arc') {
- Node622BorderWidth *= 1;
- }
- Node622.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node622type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node622.setPosition(354*ratio.ratioX, 76*ratio.ratioY);
- Node622.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node622.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node622.a('node.width', 94*_ratio.ratioX);
- Node622.a('node.height', 24.33138*_ratio.ratioY);
- Node622.a('node.type', Node622type);
- Node622.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node622.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node622.a('node.gradientcolor', '');
- Node622.a('node.gradient', '');
- Node622.a('node.borderwidth', Node622BorderWidth);
- Node622.a('node.color', 'rgba(224,224,224,1)');
- Node622.a('node.fillrect', [0,0,0,0]);
- Node622.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node622.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node622.a('node.fillgradient', '');
- if (Node622type !== 'rect') {
- Node622.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node622.a('node.arcTo', parseFloat('@arcTo@'));
- Node622.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node622type === 'arc') {
- Node622.a('node.arcOval', true);
- }
- Node622.setRotation(0*Math.PI/180);
- Node622.borderWidth = Node622BorderWidth;
- Node622.borderFillwidth = Node622BorderWidth;
- dataModel.add(Node622);
- Node622._nodename = 'Node622'
- Node622._nodeType = 'rect';
- zoomNodeList.push({
- node: Node622,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node622, Node622.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node623type = 'rect';
- var Node623 = new ht.Node(),
- Node623BorderWidth = 1*2;
- if (Node623type === 'arc') {
- Node623BorderWidth *= 1;
- }
- Node623.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node623type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node623.setPosition(354*ratio.ratioX, 100*ratio.ratioY);
- Node623.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node623.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node623.a('node.width', 94*_ratio.ratioX);
- Node623.a('node.height', 24.33138*_ratio.ratioY);
- Node623.a('node.type', Node623type);
- Node623.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node623.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node623.a('node.gradientcolor', '');
- Node623.a('node.gradient', '');
- Node623.a('node.borderwidth', Node623BorderWidth);
- Node623.a('node.color', 'rgba(224,224,224,1)');
- Node623.a('node.fillrect', [0,0,0,0]);
- Node623.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node623.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node623.a('node.fillgradient', '');
- if (Node623type !== 'rect') {
- Node623.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node623.a('node.arcTo', parseFloat('@arcTo@'));
- Node623.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node623type === 'arc') {
- Node623.a('node.arcOval', true);
- }
- Node623.setRotation(0*Math.PI/180);
- Node623.borderWidth = Node623BorderWidth;
- Node623.borderFillwidth = Node623BorderWidth;
- dataModel.add(Node623);
- Node623._nodename = 'Node623'
- Node623._nodeType = 'rect';
- zoomNodeList.push({
- node: Node623,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node623, Node623.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node624type = 'rect';
- var Node624 = new ht.Node(),
- Node624BorderWidth = 1*2;
- if (Node624type === 'arc') {
- Node624BorderWidth *= 1;
- }
- Node624.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node624type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node624.setPosition(354*ratio.ratioX, 125*ratio.ratioY);
- Node624.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node624.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node624.a('node.width', 94*_ratio.ratioX);
- Node624.a('node.height', 24.33136*_ratio.ratioY);
- Node624.a('node.type', Node624type);
- Node624.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node624.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node624.a('node.gradientcolor', '');
- Node624.a('node.gradient', '');
- Node624.a('node.borderwidth', Node624BorderWidth);
- Node624.a('node.color', 'rgba(224,224,224,1)');
- Node624.a('node.fillrect', [0,0,0,0]);
- Node624.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node624.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node624.a('node.fillgradient', '');
- if (Node624type !== 'rect') {
- Node624.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node624.a('node.arcTo', parseFloat('@arcTo@'));
- Node624.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node624type === 'arc') {
- Node624.a('node.arcOval', true);
- }
- Node624.setRotation(0*Math.PI/180);
- Node624.borderWidth = Node624BorderWidth;
- Node624.borderFillwidth = Node624BorderWidth;
- dataModel.add(Node624);
- Node624._nodename = 'Node624'
- Node624._nodeType = 'rect';
- zoomNodeList.push({
- node: Node624,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node624, Node624.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node625type = 'rect';
- var Node625 = new ht.Node(),
- Node625BorderWidth = 1*2;
- if (Node625type === 'arc') {
- Node625BorderWidth *= 1;
- }
- Node625.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node625type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node625.setPosition(354*ratio.ratioX, 149*ratio.ratioY);
- Node625.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node625.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node625.a('node.width', 94*_ratio.ratioX);
- Node625.a('node.height', 24.33138*_ratio.ratioY);
- Node625.a('node.type', Node625type);
- Node625.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node625.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node625.a('node.gradientcolor', '');
- Node625.a('node.gradient', '');
- Node625.a('node.borderwidth', Node625BorderWidth);
- Node625.a('node.color', 'rgba(224,224,224,1)');
- Node625.a('node.fillrect', [0,0,0,0]);
- Node625.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node625.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node625.a('node.fillgradient', '');
- if (Node625type !== 'rect') {
- Node625.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node625.a('node.arcTo', parseFloat('@arcTo@'));
- Node625.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node625type === 'arc') {
- Node625.a('node.arcOval', true);
- }
- Node625.setRotation(0*Math.PI/180);
- Node625.borderWidth = Node625BorderWidth;
- Node625.borderFillwidth = Node625BorderWidth;
- dataModel.add(Node625);
- Node625._nodename = 'Node625'
- Node625._nodeType = 'rect';
- zoomNodeList.push({
- node: Node625,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node625, Node625.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node626 = new ht.Node();
- var Node626textStart, Node626textWidth, Node626lineStart, Node626align = 'center', Node626fontSize = 13.3333*_ratio.ratioY,Node626width = 58*_ratio.ratioX, Node626height = 26*_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('0', ' '+ Node626fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node626align === 'center') {
- Node626textStart = -3;
- Node626textWidth = Node626width;
- Node626lineStart = Node626width - ht.Default.getTextSize('0', ' '+ Node626fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node626.setImage(GD.getTextJSON(Node626width, Node626height, true, false, false, ' '+ Node626fontSize + 'px "Arial"'))
- Node626.setPosition(354*ratio.ratioX, 54*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','0');
- Node626.a('node.textalign','center');
- 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',' '+ 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') || '0';
- 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,"center",color,' '+ Node626fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node626.a('node.underlinepoints',[Node626lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node626fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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 = 'center', Node627fontSize = 13.3333*_ratio.ratioY,Node627width = 58*_ratio.ratioX, Node627height = 26*_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('0', ' '+ Node627fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node627align === 'center') {
- Node627textStart = -3;
- Node627textWidth = Node627width;
- Node627lineStart = Node627width - ht.Default.getTextSize('0', ' '+ Node627fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node627.setImage(GD.getTextJSON(Node627width, Node627height, true, false, false, ' '+ Node627fontSize + 'px "Arial"'))
- Node627.setPosition(354*ratio.ratioX, 78*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','0');
- Node627.a('node.textalign','center');
- 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',' '+ 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') || '0';
- 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,"center",color,' '+ Node627fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node627.a('node.underlinepoints',[Node627lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node627fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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 = 13.3333*_ratio.ratioY,Node628width = 58*_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(354*ratio.ratioX, 103*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,13.3333*0.5*_ratio.ratioY,Node628width,Node628height,13.3333*_ratio.ratioY,"center",color,' '+ Node628fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node628.a('node.underlinepoints',[Node628lineStart, (26 - 13.3333) * 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 = 58*_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('0', ' '+ Node629fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node629align === 'center') {
- Node629textStart = -3;
- Node629textWidth = Node629width;
- Node629lineStart = Node629width - ht.Default.getTextSize('0', ' '+ Node629fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node629.setImage(GD.getTextJSON(Node629width, Node629height, true, false, false, ' '+ Node629fontSize + 'px "Arial"'))
- Node629.setPosition(354*ratio.ratioX, 126*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(0,0,0,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','0');
- Node629.a('node.textalign','center');
- Node629.a('node.textvAlign','middle');
- Node629.a('node.textrect', [Node629textStart, 0, Node629textWidth, Node629height]);
- Node629.a('node.color','rgba(0,0,0,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') || '0';
- var color=Node629.a('node.color') || 'rgba(0,0,0,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('0', ' '+ 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 = 13.3333*_ratio.ratioY,Node630width = 58*_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(354*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,13.3333*0.5*_ratio.ratioY,Node630width,Node630height,13.3333*_ratio.ratioY,"center",color,' '+ Node630fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node630.a('node.underlinepoints',[Node630lineStart, (26 - 13.3333) * 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 Node631type = 'rect';
- var Node631 = new ht.Node(),
- Node631BorderWidth = 1*2;
- if (Node631type === 'arc') {
- Node631BorderWidth *= 1;
- }
- Node631.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node631type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node631.setPosition(433*ratio.ratioX, 52*ratio.ratioY);
- Node631.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node631.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node631.a('node.width', 65*_ratio.ratioX);
- Node631.a('node.height', 24.33136*_ratio.ratioY);
- Node631.a('node.type', Node631type);
- Node631.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node631.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node631.a('node.gradientcolor', '');
- Node631.a('node.gradient', '');
- Node631.a('node.borderwidth', Node631BorderWidth);
- Node631.a('node.color', 'rgba(224,224,224,1)');
- Node631.a('node.fillrect', [0,0,0,0]);
- Node631.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node631.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node631.a('node.fillgradient', '');
- if (Node631type !== 'rect') {
- Node631.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node631.a('node.arcTo', parseFloat('@arcTo@'));
- Node631.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node631type === 'arc') {
- Node631.a('node.arcOval', true);
- }
- Node631.setRotation(0*Math.PI/180);
- Node631.borderWidth = Node631BorderWidth;
- Node631.borderFillwidth = Node631BorderWidth;
- dataModel.add(Node631);
- Node631._nodename = 'Node631'
- Node631._nodeType = 'rect';
- zoomNodeList.push({
- node: Node631,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node631, Node631.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node632type = 'rect';
- var Node632 = new ht.Node(),
- Node632BorderWidth = 1*2;
- if (Node632type === 'arc') {
- Node632BorderWidth *= 1;
- }
- Node632.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node632type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node632.setPosition(433*ratio.ratioX, 76*ratio.ratioY);
- Node632.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node632.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node632.a('node.width', 65*_ratio.ratioX);
- Node632.a('node.height', 24.33138*_ratio.ratioY);
- Node632.a('node.type', Node632type);
- Node632.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node632.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node632.a('node.gradientcolor', '');
- Node632.a('node.gradient', '');
- Node632.a('node.borderwidth', Node632BorderWidth);
- Node632.a('node.color', 'rgba(224,224,224,1)');
- Node632.a('node.fillrect', [0,0,0,0]);
- Node632.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node632.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node632.a('node.fillgradient', '');
- if (Node632type !== 'rect') {
- Node632.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node632.a('node.arcTo', parseFloat('@arcTo@'));
- Node632.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node632type === 'arc') {
- Node632.a('node.arcOval', true);
- }
- Node632.setRotation(0*Math.PI/180);
- Node632.borderWidth = Node632BorderWidth;
- Node632.borderFillwidth = Node632BorderWidth;
- dataModel.add(Node632);
- Node632._nodename = 'Node632'
- Node632._nodeType = 'rect';
- zoomNodeList.push({
- node: Node632,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node632, Node632.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node633type = 'rect';
- var Node633 = new ht.Node(),
- Node633BorderWidth = 1*2;
- if (Node633type === 'arc') {
- Node633BorderWidth *= 1;
- }
- Node633.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node633type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node633.setPosition(433*ratio.ratioX, 100*ratio.ratioY);
- Node633.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node633.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node633.a('node.width', 65*_ratio.ratioX);
- Node633.a('node.height', 24.33138*_ratio.ratioY);
- Node633.a('node.type', Node633type);
- Node633.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node633.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node633.a('node.gradientcolor', '');
- Node633.a('node.gradient', '');
- Node633.a('node.borderwidth', Node633BorderWidth);
- Node633.a('node.color', 'rgba(224,224,224,1)');
- Node633.a('node.fillrect', [0,0,0,0]);
- Node633.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node633.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node633.a('node.fillgradient', '');
- if (Node633type !== 'rect') {
- Node633.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node633.a('node.arcTo', parseFloat('@arcTo@'));
- Node633.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node633type === 'arc') {
- Node633.a('node.arcOval', true);
- }
- Node633.setRotation(0*Math.PI/180);
- Node633.borderWidth = Node633BorderWidth;
- Node633.borderFillwidth = Node633BorderWidth;
- dataModel.add(Node633);
- Node633._nodename = 'Node633'
- Node633._nodeType = 'rect';
- zoomNodeList.push({
- node: Node633,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node633, Node633.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node634type = 'rect';
- var Node634 = new ht.Node(),
- Node634BorderWidth = 1*2;
- if (Node634type === 'arc') {
- Node634BorderWidth *= 1;
- }
- Node634.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node634type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node634.setPosition(433*ratio.ratioX, 125*ratio.ratioY);
- Node634.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node634.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node634.a('node.width', 65*_ratio.ratioX);
- Node634.a('node.height', 24.33136*_ratio.ratioY);
- Node634.a('node.type', Node634type);
- Node634.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node634.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node634.a('node.gradientcolor', '');
- Node634.a('node.gradient', '');
- Node634.a('node.borderwidth', Node634BorderWidth);
- Node634.a('node.color', 'rgba(224,224,224,1)');
- Node634.a('node.fillrect', [0,0,0,0]);
- Node634.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node634.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node634.a('node.fillgradient', '');
- if (Node634type !== 'rect') {
- Node634.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node634.a('node.arcTo', parseFloat('@arcTo@'));
- Node634.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node634type === 'arc') {
- Node634.a('node.arcOval', true);
- }
- Node634.setRotation(0*Math.PI/180);
- Node634.borderWidth = Node634BorderWidth;
- Node634.borderFillwidth = Node634BorderWidth;
- dataModel.add(Node634);
- Node634._nodename = 'Node634'
- Node634._nodeType = 'rect';
- zoomNodeList.push({
- node: Node634,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node634, Node634.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node635type = 'rect';
- var Node635 = new ht.Node(),
- Node635BorderWidth = 1*2;
- if (Node635type === 'arc') {
- Node635BorderWidth *= 1;
- }
- Node635.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node635type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node635.setPosition(433*ratio.ratioX, 149*ratio.ratioY);
- Node635.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node635.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node635.a('node.width', 65*_ratio.ratioX);
- Node635.a('node.height', 24.33138*_ratio.ratioY);
- Node635.a('node.type', Node635type);
- Node635.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node635.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node635.a('node.gradientcolor', '');
- Node635.a('node.gradient', '');
- Node635.a('node.borderwidth', Node635BorderWidth);
- Node635.a('node.color', 'rgba(224,224,224,1)');
- Node635.a('node.fillrect', [0,0,0,0]);
- Node635.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node635.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node635.a('node.fillgradient', '');
- if (Node635type !== 'rect') {
- Node635.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node635.a('node.arcTo', parseFloat('@arcTo@'));
- Node635.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node635type === 'arc') {
- Node635.a('node.arcOval', true);
- }
- Node635.setRotation(0*Math.PI/180);
- Node635.borderWidth = Node635BorderWidth;
- Node635.borderFillwidth = Node635BorderWidth;
- dataModel.add(Node635);
- Node635._nodename = 'Node635'
- Node635._nodeType = 'rect';
- zoomNodeList.push({
- node: Node635,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node635, Node635.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node636 = new ht.Node();
- var Node636textStart, Node636textWidth, Node636lineStart, Node636align = 'center', Node636fontSize = 13.3333*_ratio.ratioY,Node636width = 59*_ratio.ratioX, Node636height = 26*_ratio.ratioY;
- (function () {
- if (Node636align === 'left') {
- Node636textStart = Node636fontSize * 0.2 > 2 ? Node636fontSize * 0.2 - 4 : Node636fontSize * 0.2 - 9;
- Node636textWidth = Node636width;
- Node636lineStart = 1;
- } else if (Node636align === 'right') {
- Node636textStart = 0;
- Node636textWidth =Node636fontSize <= 8 ? Node636width + Node636fontSize * 0.2 + 6 : Node636width - Node636fontSize * 0.2;
- Node636lineStart = (Node636width - (ht.Default.getTextSize('万kW', ' '+ Node636fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node636align === 'center') {
- Node636textStart = -3;
- Node636textWidth = Node636width;
- Node636lineStart = Node636width - ht.Default.getTextSize('万kW', ' '+ Node636fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node636.setImage(GD.getTextJSON(Node636width, Node636height, true, false, false, ' '+ Node636fontSize + 'px "Arial"'))
- Node636.setPosition(434*ratio.ratioX, 54*ratio.ratioY);
- Node636.setWidth(Node636width);
- Node636.setHeight(Node636height);
- Node636._nodeType = 'text';
- Node636._disallowEvert = true;
- Node636.setRotation(0*Math.PI/180);
- Node636.a('node.width', Node636width);
- Node636.a('node.height', Node636height);
- Node636.a('node.rect', [0, 0, Node636width, Node636height]);
- Node636.a('node.bordercolor','rgba(128,128,128,1)');
- Node636.a('node.borderwidth', 0);
- Node636.a('node.background','' || 'rgba(0,0,0,0)');
- Node636.a('node.gradient','');
- Node636.a('node.gradientcolor','');
- Node636.a('node.text','万kW');
- Node636.a('node.textalign','center');
- Node636.a('node.textvAlign','middle');
- Node636.a('node.textrect', [Node636textStart, 0, Node636textWidth, Node636height]);
- Node636.a('node.color','rgba(128,128,128,1)');
- Node636.a('node.font',' '+ Node636fontSize + 'px "Arial"');
- Node636.a('node.textvisible',true);
- Node636.a('node.linefeed',false);
- if (false) {
- Node636.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node636.a('node.text') || '万kW';
- var color=Node636.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node636width,Node636height,13.3333*_ratio.ratioY,"center",color,' '+ Node636fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node636.a('node.underlinepoints',[Node636lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node636fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node636fontSize + 'px "Arial"').width + 6, (Node636height - Node636fontSize) * 0.5*_ratio.ratioY + Node636fontSize + 2 ]);
- Node636.a('node.underlinevisible',false);
- Node636.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node636);
- zoomNodeList.push({
- node: Node636,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node637 = new ht.Node();
- var Node637textStart, Node637textWidth, Node637lineStart, Node637align = 'center', Node637fontSize = 13.3333*_ratio.ratioY,Node637width = 59*_ratio.ratioX, Node637height = 26*_ratio.ratioY;
- (function () {
- if (Node637align === 'left') {
- Node637textStart = Node637fontSize * 0.2 > 2 ? Node637fontSize * 0.2 - 4 : Node637fontSize * 0.2 - 9;
- Node637textWidth = Node637width;
- Node637lineStart = 1;
- } else if (Node637align === 'right') {
- Node637textStart = 0;
- Node637textWidth =Node637fontSize <= 8 ? Node637width + Node637fontSize * 0.2 + 6 : Node637width - Node637fontSize * 0.2;
- Node637lineStart = (Node637width - (ht.Default.getTextSize('MW', ' '+ Node637fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node637align === 'center') {
- Node637textStart = -3;
- Node637textWidth = Node637width;
- Node637lineStart = Node637width - ht.Default.getTextSize('MW', ' '+ Node637fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node637.setImage(GD.getTextJSON(Node637width, Node637height, true, false, false, ' '+ Node637fontSize + 'px "Arial"'))
- Node637.setPosition(434*ratio.ratioX, 78*ratio.ratioY);
- Node637.setWidth(Node637width);
- Node637.setHeight(Node637height);
- Node637._nodeType = 'text';
- Node637._disallowEvert = true;
- Node637.setRotation(0*Math.PI/180);
- Node637.a('node.width', Node637width);
- Node637.a('node.height', Node637height);
- Node637.a('node.rect', [0, 0, Node637width, Node637height]);
- Node637.a('node.bordercolor','rgba(128,128,128,1)');
- Node637.a('node.borderwidth', 0);
- Node637.a('node.background','' || 'rgba(0,0,0,0)');
- Node637.a('node.gradient','');
- Node637.a('node.gradientcolor','');
- Node637.a('node.text','MW');
- Node637.a('node.textalign','center');
- Node637.a('node.textvAlign','middle');
- Node637.a('node.textrect', [Node637textStart, 0, Node637textWidth, Node637height]);
- Node637.a('node.color','rgba(128,128,128,1)');
- Node637.a('node.font',' '+ Node637fontSize + 'px "Arial"');
- Node637.a('node.textvisible',true);
- Node637.a('node.linefeed',false);
- if (false) {
- Node637.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node637.a('node.text') || 'MW';
- var color=Node637.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node637width,Node637height,13.3333*_ratio.ratioY,"center",color,' '+ Node637fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node637.a('node.underlinepoints',[Node637lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node637fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node637fontSize + 'px "Arial"').width + 6, (Node637height - Node637fontSize) * 0.5*_ratio.ratioY + Node637fontSize + 2 ]);
- Node637.a('node.underlinevisible',false);
- Node637.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node637);
- zoomNodeList.push({
- node: Node637,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node638 = new ht.Node();
- var Node638textStart, Node638textWidth, Node638lineStart, Node638align = 'center', Node638fontSize = 13.3333*_ratio.ratioY,Node638width = 59*_ratio.ratioX, Node638height = 26*_ratio.ratioY;
- (function () {
- if (Node638align === 'left') {
- Node638textStart = Node638fontSize * 0.2 > 2 ? Node638fontSize * 0.2 - 4 : Node638fontSize * 0.2 - 9;
- Node638textWidth = Node638width;
- Node638lineStart = 1;
- } else if (Node638align === 'right') {
- Node638textStart = 0;
- Node638textWidth =Node638fontSize <= 8 ? Node638width + Node638fontSize * 0.2 + 6 : Node638width - Node638fontSize * 0.2;
- Node638lineStart = (Node638width - (ht.Default.getTextSize('m/s', ' '+ Node638fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node638align === 'center') {
- Node638textStart = -3;
- Node638textWidth = Node638width;
- Node638lineStart = Node638width - ht.Default.getTextSize('m/s', ' '+ Node638fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node638.setImage(GD.getTextJSON(Node638width, Node638height, true, false, false, ' '+ Node638fontSize + 'px "Arial"'))
- Node638.setPosition(434*ratio.ratioX, 101*ratio.ratioY);
- Node638.setWidth(Node638width);
- Node638.setHeight(Node638height);
- Node638._nodeType = 'text';
- Node638._disallowEvert = true;
- Node638.setRotation(0*Math.PI/180);
- Node638.a('node.width', Node638width);
- Node638.a('node.height', Node638height);
- Node638.a('node.rect', [0, 0, Node638width, Node638height]);
- Node638.a('node.bordercolor','rgba(128,128,128,1)');
- Node638.a('node.borderwidth', 0);
- Node638.a('node.background','' || 'rgba(0,0,0,0)');
- Node638.a('node.gradient','');
- Node638.a('node.gradientcolor','');
- Node638.a('node.text','m/s');
- Node638.a('node.textalign','center');
- Node638.a('node.textvAlign','middle');
- Node638.a('node.textrect', [Node638textStart, 0, Node638textWidth, Node638height]);
- Node638.a('node.color','rgba(128,128,128,1)');
- Node638.a('node.font',' '+ Node638fontSize + 'px "Arial"');
- Node638.a('node.textvisible',true);
- Node638.a('node.linefeed',false);
- if (false) {
- Node638.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node638.a('node.text') || 'm/s';
- var color=Node638.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node638width,Node638height,13.3333*_ratio.ratioY,"center",color,' '+ Node638fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node638.a('node.underlinepoints',[Node638lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node638fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ Node638fontSize + 'px "Arial"').width + 6, (Node638height - Node638fontSize) * 0.5*_ratio.ratioY + Node638fontSize + 2 ]);
- Node638.a('node.underlinevisible',false);
- Node638.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node638);
- zoomNodeList.push({
- node: Node638,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node639 = new ht.Node();
- var Node639textStart, Node639textWidth, Node639lineStart, Node639align = 'center', Node639fontSize = 13.3333*_ratio.ratioY,Node639width = 59*_ratio.ratioX, Node639height = 26*_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('万kWh', ' '+ Node639fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node639align === 'center') {
- Node639textStart = -3;
- Node639textWidth = Node639width;
- Node639lineStart = Node639width - ht.Default.getTextSize('万kWh', ' '+ Node639fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node639.setImage(GD.getTextJSON(Node639width, Node639height, true, false, false, ' '+ Node639fontSize + 'px "Arial"'))
- Node639.setPosition(434*ratio.ratioX, 127*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(128,128,128,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','万kWh');
- Node639.a('node.textalign','center');
- Node639.a('node.textvAlign','middle');
- Node639.a('node.textrect', [Node639textStart, 0, Node639textWidth, Node639height]);
- Node639.a('node.color','rgba(128,128,128,1)');
- Node639.a('node.font',' '+ 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') || '万kWh';
- var color=Node639.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node639width,Node639height,13.3333*_ratio.ratioY,"center",color,' '+ Node639fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node639.a('node.underlinepoints',[Node639lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node639fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ 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 Node640 = new ht.Node();
- var Node640textStart, Node640textWidth, Node640lineStart, Node640align = 'center', Node640fontSize = 13.3333*_ratio.ratioY,Node640width = 59*_ratio.ratioX, Node640height = 26*_ratio.ratioY;
- (function () {
- if (Node640align === 'left') {
- Node640textStart = Node640fontSize * 0.2 > 2 ? Node640fontSize * 0.2 - 4 : Node640fontSize * 0.2 - 9;
- Node640textWidth = Node640width;
- Node640lineStart = 1;
- } else if (Node640align === 'right') {
- Node640textStart = 0;
- Node640textWidth =Node640fontSize <= 8 ? Node640width + Node640fontSize * 0.2 + 6 : Node640width - Node640fontSize * 0.2;
- Node640lineStart = (Node640width - (ht.Default.getTextSize('万kWh', ' '+ Node640fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node640align === 'center') {
- Node640textStart = -3;
- Node640textWidth = Node640width;
- Node640lineStart = Node640width - ht.Default.getTextSize('万kWh', ' '+ Node640fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node640.setImage(GD.getTextJSON(Node640width, Node640height, true, false, false, ' '+ Node640fontSize + 'px "Arial"'))
- Node640.setPosition(434*ratio.ratioX, 151*ratio.ratioY);
- Node640.setWidth(Node640width);
- Node640.setHeight(Node640height);
- Node640._nodeType = 'text';
- Node640._disallowEvert = true;
- Node640.setRotation(0*Math.PI/180);
- Node640.a('node.width', Node640width);
- Node640.a('node.height', Node640height);
- Node640.a('node.rect', [0, 0, Node640width, Node640height]);
- Node640.a('node.bordercolor','rgba(128,128,128,1)');
- Node640.a('node.borderwidth', 0);
- Node640.a('node.background','' || 'rgba(0,0,0,0)');
- Node640.a('node.gradient','');
- Node640.a('node.gradientcolor','');
- Node640.a('node.text','万kWh');
- Node640.a('node.textalign','center');
- Node640.a('node.textvAlign','middle');
- Node640.a('node.textrect', [Node640textStart, 0, Node640textWidth, Node640height]);
- Node640.a('node.color','rgba(128,128,128,1)');
- Node640.a('node.font',' '+ Node640fontSize + 'px "Arial"');
- Node640.a('node.textvisible',true);
- Node640.a('node.linefeed',false);
- if (false) {
- Node640.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node640.a('node.text') || '万kWh';
- var color=Node640.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node640width,Node640height,13.3333*_ratio.ratioY,"center",color,' '+ Node640fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node640.a('node.underlinepoints',[Node640lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node640fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node640fontSize + 'px "Arial"').width + 6, (Node640height - Node640fontSize) * 0.5*_ratio.ratioY + Node640fontSize + 2 ]);
- Node640.a('node.underlinevisible',false);
- Node640.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node640);
- zoomNodeList.push({
- node: Node640,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node641type = 'rect';
- var Node641 = new ht.Node(),
- Node641BorderWidth = 1*2;
- if (Node641type === 'arc') {
- Node641BorderWidth *= 1;
- }
- Node641.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node641type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node641.setPosition(638*ratio.ratioX, 52*ratio.ratioY);
- Node641.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node641.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node641.a('node.width', 94*_ratio.ratioX);
- Node641.a('node.height', 24.33136*_ratio.ratioY);
- Node641.a('node.type', Node641type);
- Node641.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node641.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node641.a('node.gradientcolor', '');
- Node641.a('node.gradient', '');
- Node641.a('node.borderwidth', Node641BorderWidth);
- Node641.a('node.color', 'rgba(224,224,224,1)');
- Node641.a('node.fillrect', [0,0,0,0]);
- Node641.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node641.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node641.a('node.fillgradient', '');
- if (Node641type !== 'rect') {
- Node641.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node641.a('node.arcTo', parseFloat('@arcTo@'));
- Node641.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node641type === 'arc') {
- Node641.a('node.arcOval', true);
- }
- Node641.setRotation(0*Math.PI/180);
- Node641.borderWidth = Node641BorderWidth;
- Node641.borderFillwidth = Node641BorderWidth;
- dataModel.add(Node641);
- Node641._nodename = 'Node641'
- Node641._nodeType = 'rect';
- zoomNodeList.push({
- node: Node641,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node641, Node641.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node642type = 'rect';
- var Node642 = new ht.Node(),
- Node642BorderWidth = 1*2;
- if (Node642type === 'arc') {
- Node642BorderWidth *= 1;
- }
- Node642.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node642type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node642.setPosition(638*ratio.ratioX, 76*ratio.ratioY);
- Node642.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node642.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node642.a('node.width', 94*_ratio.ratioX);
- Node642.a('node.height', 24.33138*_ratio.ratioY);
- Node642.a('node.type', Node642type);
- Node642.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node642.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node642.a('node.gradientcolor', '');
- Node642.a('node.gradient', '');
- Node642.a('node.borderwidth', Node642BorderWidth);
- Node642.a('node.color', 'rgba(224,224,224,1)');
- Node642.a('node.fillrect', [0,0,0,0]);
- Node642.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node642.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node642.a('node.fillgradient', '');
- if (Node642type !== 'rect') {
- Node642.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node642.a('node.arcTo', parseFloat('@arcTo@'));
- Node642.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node642type === 'arc') {
- Node642.a('node.arcOval', true);
- }
- Node642.setRotation(0*Math.PI/180);
- Node642.borderWidth = Node642BorderWidth;
- Node642.borderFillwidth = Node642BorderWidth;
- dataModel.add(Node642);
- Node642._nodename = 'Node642'
- Node642._nodeType = 'rect';
- zoomNodeList.push({
- node: Node642,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node642, Node642.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node643type = 'rect';
- var Node643 = new ht.Node(),
- Node643BorderWidth = 1*2;
- if (Node643type === 'arc') {
- Node643BorderWidth *= 1;
- }
- Node643.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node643type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node643.setPosition(638*ratio.ratioX, 100*ratio.ratioY);
- Node643.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node643.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node643.a('node.width', 94*_ratio.ratioX);
- Node643.a('node.height', 24.33138*_ratio.ratioY);
- Node643.a('node.type', Node643type);
- Node643.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node643.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node643.a('node.gradientcolor', '');
- Node643.a('node.gradient', '');
- Node643.a('node.borderwidth', Node643BorderWidth);
- Node643.a('node.color', 'rgba(224,224,224,1)');
- Node643.a('node.fillrect', [0,0,0,0]);
- Node643.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node643.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node643.a('node.fillgradient', '');
- if (Node643type !== 'rect') {
- Node643.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node643.a('node.arcTo', parseFloat('@arcTo@'));
- Node643.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node643type === 'arc') {
- Node643.a('node.arcOval', true);
- }
- Node643.setRotation(0*Math.PI/180);
- Node643.borderWidth = Node643BorderWidth;
- Node643.borderFillwidth = Node643BorderWidth;
- dataModel.add(Node643);
- Node643._nodename = 'Node643'
- Node643._nodeType = 'rect';
- zoomNodeList.push({
- node: Node643,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node643, Node643.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node644type = 'rect';
- var Node644 = new ht.Node(),
- Node644BorderWidth = 1*2;
- if (Node644type === 'arc') {
- Node644BorderWidth *= 1;
- }
- Node644.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node644type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node644.setPosition(638*ratio.ratioX, 125*ratio.ratioY);
- Node644.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node644.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node644.a('node.width', 94*_ratio.ratioX);
- Node644.a('node.height', 24.33136*_ratio.ratioY);
- Node644.a('node.type', Node644type);
- Node644.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node644.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node644.a('node.gradientcolor', '');
- Node644.a('node.gradient', '');
- Node644.a('node.borderwidth', Node644BorderWidth);
- Node644.a('node.color', 'rgba(224,224,224,1)');
- Node644.a('node.fillrect', [0,0,0,0]);
- Node644.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node644.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node644.a('node.fillgradient', '');
- if (Node644type !== 'rect') {
- Node644.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node644.a('node.arcTo', parseFloat('@arcTo@'));
- Node644.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node644type === 'arc') {
- Node644.a('node.arcOval', true);
- }
- Node644.setRotation(0*Math.PI/180);
- Node644.borderWidth = Node644BorderWidth;
- Node644.borderFillwidth = Node644BorderWidth;
- dataModel.add(Node644);
- Node644._nodename = 'Node644'
- Node644._nodeType = 'rect';
- zoomNodeList.push({
- node: Node644,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node644, Node644.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node645type = 'rect';
- var Node645 = new ht.Node(),
- Node645BorderWidth = 1*2;
- if (Node645type === 'arc') {
- Node645BorderWidth *= 1;
- }
- Node645.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node645type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node645.setPosition(638*ratio.ratioX, 149*ratio.ratioY);
- Node645.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node645.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node645.a('node.width', 94*_ratio.ratioX);
- Node645.a('node.height', 24.33138*_ratio.ratioY);
- Node645.a('node.type', Node645type);
- Node645.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node645.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node645.a('node.gradientcolor', '');
- Node645.a('node.gradient', '');
- Node645.a('node.borderwidth', Node645BorderWidth);
- Node645.a('node.color', 'rgba(224,224,224,1)');
- Node645.a('node.fillrect', [0,0,0,0]);
- Node645.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node645.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node645.a('node.fillgradient', '');
- if (Node645type !== 'rect') {
- Node645.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node645.a('node.arcTo', parseFloat('@arcTo@'));
- Node645.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node645type === 'arc') {
- Node645.a('node.arcOval', true);
- }
- Node645.setRotation(0*Math.PI/180);
- Node645.borderWidth = Node645BorderWidth;
- Node645.borderFillwidth = Node645BorderWidth;
- dataModel.add(Node645);
- Node645._nodename = 'Node645'
- Node645._nodeType = 'rect';
- zoomNodeList.push({
- node: Node645,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node645, Node645.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node646 = new ht.Node();
- var Node646textStart, Node646textWidth, Node646lineStart, Node646align = 'center', Node646fontSize = 13.3333*_ratio.ratioY,Node646width = 58*_ratio.ratioX, Node646height = 26*_ratio.ratioY;
- (function () {
- if (Node646align === 'left') {
- Node646textStart = Node646fontSize * 0.2 > 2 ? Node646fontSize * 0.2 - 4 : Node646fontSize * 0.2 - 9;
- Node646textWidth = Node646width;
- Node646lineStart = 1;
- } else if (Node646align === 'right') {
- Node646textStart = 0;
- Node646textWidth =Node646fontSize <= 8 ? Node646width + Node646fontSize * 0.2 + 6 : Node646width - Node646fontSize * 0.2;
- Node646lineStart = (Node646width - (ht.Default.getTextSize('0', ' '+ Node646fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node646align === 'center') {
- Node646textStart = -3;
- Node646textWidth = Node646width;
- Node646lineStart = Node646width - ht.Default.getTextSize('0', ' '+ Node646fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node646.setImage(GD.getTextJSON(Node646width, Node646height, true, false, false, ' '+ Node646fontSize + 'px "Arial"'))
- Node646.setPosition(638*ratio.ratioX, 54*ratio.ratioY);
- Node646.setWidth(Node646width);
- Node646.setHeight(Node646height);
- Node646._nodeType = 'text';
- Node646._disallowEvert = true;
- Node646.setRotation(0*Math.PI/180);
- Node646.a('node.width', Node646width);
- Node646.a('node.height', Node646height);
- Node646.a('node.rect', [0, 0, Node646width, Node646height]);
- Node646.a('node.bordercolor','rgba(0,0,0,1)');
- Node646.a('node.borderwidth', 0);
- Node646.a('node.background','' || 'rgba(0,0,0,0)');
- Node646.a('node.gradient','');
- Node646.a('node.gradientcolor','');
- Node646.a('node.text','0');
- Node646.a('node.textalign','center');
- Node646.a('node.textvAlign','middle');
- Node646.a('node.textrect', [Node646textStart, 0, Node646textWidth, Node646height]);
- Node646.a('node.color','rgba(0,0,0,1)');
- Node646.a('node.font',' '+ Node646fontSize + 'px "Arial"');
- Node646.a('node.textvisible',true);
- Node646.a('node.linefeed',false);
- if (false) {
- Node646.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node646.a('node.text') || '0';
- var color=Node646.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node646width,Node646height,13.3333*_ratio.ratioY,"center",color,' '+ Node646fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node646.a('node.underlinepoints',[Node646lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node646fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node646fontSize + 'px "Arial"').width + 6, (Node646height - Node646fontSize) * 0.5*_ratio.ratioY + Node646fontSize + 2 ]);
- Node646.a('node.underlinevisible',false);
- Node646.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node646);
- zoomNodeList.push({
- node: Node646,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node647 = new ht.Node();
- var Node647textStart, Node647textWidth, Node647lineStart, Node647align = 'center', Node647fontSize = 13.3333*_ratio.ratioY,Node647width = 58*_ratio.ratioX, Node647height = 26*_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('0', ' '+ Node647fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node647align === 'center') {
- Node647textStart = -3;
- Node647textWidth = Node647width;
- Node647lineStart = Node647width - ht.Default.getTextSize('0', ' '+ Node647fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node647.setImage(GD.getTextJSON(Node647width, Node647height, true, false, false, ' '+ Node647fontSize + 'px "Arial"'))
- Node647.setPosition(638*ratio.ratioX, 78*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','0');
- Node647.a('node.textalign','center');
- 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',' '+ 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') || '0';
- 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,"center",color,' '+ Node647fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node647.a('node.underlinepoints',[Node647lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node647fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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 = 'center', Node648fontSize = 13.3333*_ratio.ratioY,Node648width = 58*_ratio.ratioX, Node648height = 26*_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(638*ratio.ratioX, 103*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','center');
- 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,13.3333*0.5*_ratio.ratioY,Node648width,Node648height,13.3333*_ratio.ratioY,"center",color,' '+ Node648fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node648.a('node.underlinepoints',[Node648lineStart, (26 - 13.3333) * 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 = 13.3333*_ratio.ratioY,Node649width = 58*_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('0', ' '+ Node649fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node649align === 'center') {
- Node649textStart = -3;
- Node649textWidth = Node649width;
- Node649lineStart = Node649width - ht.Default.getTextSize('0', ' '+ Node649fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node649.setImage(GD.getTextJSON(Node649width, Node649height, true, false, false, ' '+ Node649fontSize + 'px "Arial"'))
- Node649.setPosition(638*ratio.ratioX, 126*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(0,0,0,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','0');
- Node649.a('node.textalign','center');
- Node649.a('node.textvAlign','middle');
- Node649.a('node.textrect', [Node649textStart, 0, Node649textWidth, Node649height]);
- Node649.a('node.color','rgba(0,0,0,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') || '0';
- var color=Node649.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node649width,Node649height,13.3333*_ratio.ratioY,"center",color,' '+ Node649fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node649.a('node.underlinepoints',[Node649lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node649fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node650 = new ht.Node();
- var Node650textStart, Node650textWidth, Node650lineStart, Node650align = 'center', Node650fontSize = 13.3333*_ratio.ratioY,Node650width = 58*_ratio.ratioX, Node650height = 26*_ratio.ratioY;
- (function () {
- if (Node650align === 'left') {
- Node650textStart = Node650fontSize * 0.2 > 2 ? Node650fontSize * 0.2 - 4 : Node650fontSize * 0.2 - 9;
- Node650textWidth = Node650width;
- Node650lineStart = 1;
- } else if (Node650align === 'right') {
- Node650textStart = 0;
- Node650textWidth =Node650fontSize <= 8 ? Node650width + Node650fontSize * 0.2 + 6 : Node650width - Node650fontSize * 0.2;
- Node650lineStart = (Node650width - (ht.Default.getTextSize('0', ' '+ Node650fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node650align === 'center') {
- Node650textStart = -3;
- Node650textWidth = Node650width;
- Node650lineStart = Node650width - ht.Default.getTextSize('0', ' '+ Node650fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node650.setImage(GD.getTextJSON(Node650width, Node650height, true, false, false, ' '+ Node650fontSize + 'px "Arial"'))
- Node650.setPosition(638*ratio.ratioX, 150*ratio.ratioY);
- Node650.setWidth(Node650width);
- Node650.setHeight(Node650height);
- Node650._nodeType = 'text';
- Node650._disallowEvert = true;
- Node650.setRotation(0*Math.PI/180);
- Node650.a('node.width', Node650width);
- Node650.a('node.height', Node650height);
- Node650.a('node.rect', [0, 0, Node650width, Node650height]);
- Node650.a('node.bordercolor','rgba(0,0,0,1)');
- Node650.a('node.borderwidth', 0);
- Node650.a('node.background','' || 'rgba(0,0,0,0)');
- Node650.a('node.gradient','');
- Node650.a('node.gradientcolor','');
- Node650.a('node.text','0');
- Node650.a('node.textalign','center');
- Node650.a('node.textvAlign','middle');
- Node650.a('node.textrect', [Node650textStart, 0, Node650textWidth, Node650height]);
- Node650.a('node.color','rgba(0,0,0,1)');
- Node650.a('node.font',' '+ Node650fontSize + 'px "Arial"');
- Node650.a('node.textvisible',true);
- Node650.a('node.linefeed',false);
- if (false) {
- Node650.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node650.a('node.text') || '0';
- var color=Node650.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node650width,Node650height,13.3333*_ratio.ratioY,"center",color,' '+ Node650fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node650.a('node.underlinepoints',[Node650lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node650fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node650fontSize + 'px "Arial"').width + 6, (Node650height - Node650fontSize) * 0.5*_ratio.ratioY + Node650fontSize + 2 ]);
- Node650.a('node.underlinevisible',false);
- Node650.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node650);
- zoomNodeList.push({
- node: Node650,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _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(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node651type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node651.setPosition(717*ratio.ratioX, 52*ratio.ratioY);
- Node651.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node651.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node651.a('node.width', 65*_ratio.ratioX);
- Node651.a('node.height', 24.33136*_ratio.ratioY);
- Node651.a('node.type', Node651type);
- Node651.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_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(224,224,224,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 Node652type = 'rect';
- var Node652 = new ht.Node(),
- Node652BorderWidth = 1*2;
- if (Node652type === 'arc') {
- Node652BorderWidth *= 1;
- }
- Node652.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node652type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node652.setPosition(717*ratio.ratioX, 76*ratio.ratioY);
- Node652.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node652.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node652.a('node.width', 65*_ratio.ratioX);
- Node652.a('node.height', 24.33138*_ratio.ratioY);
- Node652.a('node.type', Node652type);
- Node652.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node652.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node652.a('node.gradientcolor', '');
- Node652.a('node.gradient', '');
- Node652.a('node.borderwidth', Node652BorderWidth);
- Node652.a('node.color', 'rgba(224,224,224,1)');
- Node652.a('node.fillrect', [0,0,0,0]);
- Node652.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node652.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node652.a('node.fillgradient', '');
- if (Node652type !== 'rect') {
- Node652.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node652.a('node.arcTo', parseFloat('@arcTo@'));
- Node652.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node652type === 'arc') {
- Node652.a('node.arcOval', true);
- }
- Node652.setRotation(0*Math.PI/180);
- Node652.borderWidth = Node652BorderWidth;
- Node652.borderFillwidth = Node652BorderWidth;
- dataModel.add(Node652);
- Node652._nodename = 'Node652'
- Node652._nodeType = 'rect';
- zoomNodeList.push({
- node: Node652,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node652, Node652.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node653type = 'rect';
- var Node653 = new ht.Node(),
- Node653BorderWidth = 1*2;
- if (Node653type === 'arc') {
- Node653BorderWidth *= 1;
- }
- Node653.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node653type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node653.setPosition(717*ratio.ratioX, 100*ratio.ratioY);
- Node653.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node653.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node653.a('node.width', 65*_ratio.ratioX);
- Node653.a('node.height', 24.33138*_ratio.ratioY);
- Node653.a('node.type', Node653type);
- Node653.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node653.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node653.a('node.gradientcolor', '');
- Node653.a('node.gradient', '');
- Node653.a('node.borderwidth', Node653BorderWidth);
- Node653.a('node.color', 'rgba(224,224,224,1)');
- Node653.a('node.fillrect', [0,0,0,0]);
- Node653.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node653.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node653.a('node.fillgradient', '');
- if (Node653type !== 'rect') {
- Node653.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node653.a('node.arcTo', parseFloat('@arcTo@'));
- Node653.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node653type === 'arc') {
- Node653.a('node.arcOval', true);
- }
- Node653.setRotation(0*Math.PI/180);
- Node653.borderWidth = Node653BorderWidth;
- Node653.borderFillwidth = Node653BorderWidth;
- dataModel.add(Node653);
- Node653._nodename = 'Node653'
- Node653._nodeType = 'rect';
- zoomNodeList.push({
- node: Node653,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node653, Node653.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node654type = 'rect';
- var Node654 = new ht.Node(),
- Node654BorderWidth = 1*2;
- if (Node654type === 'arc') {
- Node654BorderWidth *= 1;
- }
- Node654.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node654type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node654.setPosition(717*ratio.ratioX, 125*ratio.ratioY);
- Node654.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node654.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node654.a('node.width', 65*_ratio.ratioX);
- Node654.a('node.height', 24.33136*_ratio.ratioY);
- Node654.a('node.type', Node654type);
- Node654.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node654.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node654.a('node.gradientcolor', '');
- Node654.a('node.gradient', '');
- Node654.a('node.borderwidth', Node654BorderWidth);
- Node654.a('node.color', 'rgba(224,224,224,1)');
- Node654.a('node.fillrect', [0,0,0,0]);
- Node654.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node654.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node654.a('node.fillgradient', '');
- if (Node654type !== 'rect') {
- Node654.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node654.a('node.arcTo', parseFloat('@arcTo@'));
- Node654.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node654type === 'arc') {
- Node654.a('node.arcOval', true);
- }
- Node654.setRotation(0*Math.PI/180);
- Node654.borderWidth = Node654BorderWidth;
- Node654.borderFillwidth = Node654BorderWidth;
- dataModel.add(Node654);
- Node654._nodename = 'Node654'
- Node654._nodeType = 'rect';
- zoomNodeList.push({
- node: Node654,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node654, Node654.getImage());_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(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node655type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node655.setPosition(717*ratio.ratioX, 149*ratio.ratioY);
- Node655.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node655.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node655.a('node.width', 65*_ratio.ratioX);
- Node655.a('node.height', 24.33138*_ratio.ratioY);
- Node655.a('node.type', Node655type);
- Node655.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_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(224,224,224,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 = 'center', Node656fontSize = 13.3333*_ratio.ratioY,Node656width = 59*_ratio.ratioX, Node656height = 26*_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('万kWh', ' '+ Node656fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node656align === 'center') {
- Node656textStart = -3;
- Node656textWidth = Node656width;
- Node656lineStart = Node656width - ht.Default.getTextSize('万kWh', ' '+ Node656fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node656.setImage(GD.getTextJSON(Node656width, Node656height, true, false, false, ' '+ Node656fontSize + 'px "Arial"'))
- Node656.setPosition(718*ratio.ratioX, 54*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(128,128,128,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','万kWh');
- Node656.a('node.textalign','center');
- Node656.a('node.textvAlign','middle');
- Node656.a('node.textrect', [Node656textStart, 0, Node656textWidth, Node656height]);
- Node656.a('node.color','rgba(128,128,128,1)');
- Node656.a('node.font',' '+ 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') || '万kWh';
- var color=Node656.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node656width,Node656height,13.3333*_ratio.ratioY,"center",color,' '+ Node656fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node656.a('node.underlinepoints',[Node656lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node656fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ 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 = 'center', Node657fontSize = 13.3333*_ratio.ratioY,Node657width = 59*_ratio.ratioX, Node657height = 26*_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('万kWh', ' '+ Node657fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node657align === 'center') {
- Node657textStart = -3;
- Node657textWidth = Node657width;
- Node657lineStart = Node657width - ht.Default.getTextSize('万kWh', ' '+ Node657fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node657.setImage(GD.getTextJSON(Node657width, Node657height, true, false, false, ' '+ Node657fontSize + 'px "Arial"'))
- Node657.setPosition(718*ratio.ratioX, 78*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(128,128,128,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','万kWh');
- Node657.a('node.textalign','center');
- Node657.a('node.textvAlign','middle');
- Node657.a('node.textrect', [Node657textStart, 0, Node657textWidth, Node657height]);
- Node657.a('node.color','rgba(128,128,128,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') || '万kWh';
- var color=Node657.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node657width,Node657height,13.3333*_ratio.ratioY,"center",color,' '+ Node657fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node657.a('node.underlinepoints',[Node657lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node657fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ 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 Node658 = new ht.Node();
- var Node658textStart, Node658textWidth, Node658lineStart, Node658align = 'center', Node658fontSize = 13.3333*_ratio.ratioY,Node658width = 59*_ratio.ratioX, Node658height = 26*_ratio.ratioY;
- (function () {
- if (Node658align === 'left') {
- Node658textStart = Node658fontSize * 0.2 > 2 ? Node658fontSize * 0.2 - 4 : Node658fontSize * 0.2 - 9;
- Node658textWidth = Node658width;
- Node658lineStart = 1;
- } else if (Node658align === 'right') {
- Node658textStart = 0;
- Node658textWidth =Node658fontSize <= 8 ? Node658width + Node658fontSize * 0.2 + 6 : Node658width - Node658fontSize * 0.2;
- Node658lineStart = (Node658width - (ht.Default.getTextSize('万kWh', ' '+ Node658fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node658align === 'center') {
- Node658textStart = -3;
- Node658textWidth = Node658width;
- Node658lineStart = Node658width - ht.Default.getTextSize('万kWh', ' '+ Node658fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node658.setImage(GD.getTextJSON(Node658width, Node658height, true, false, false, ' '+ Node658fontSize + 'px "Arial"'))
- Node658.setPosition(718*ratio.ratioX, 101*ratio.ratioY);
- Node658.setWidth(Node658width);
- Node658.setHeight(Node658height);
- Node658._nodeType = 'text';
- Node658._disallowEvert = true;
- Node658.setRotation(0*Math.PI/180);
- Node658.a('node.width', Node658width);
- Node658.a('node.height', Node658height);
- Node658.a('node.rect', [0, 0, Node658width, Node658height]);
- Node658.a('node.bordercolor','rgba(128,128,128,1)');
- Node658.a('node.borderwidth', 0);
- Node658.a('node.background','' || 'rgba(0,0,0,0)');
- Node658.a('node.gradient','');
- Node658.a('node.gradientcolor','');
- Node658.a('node.text','万kWh');
- Node658.a('node.textalign','center');
- Node658.a('node.textvAlign','middle');
- Node658.a('node.textrect', [Node658textStart, 0, Node658textWidth, Node658height]);
- Node658.a('node.color','rgba(128,128,128,1)');
- Node658.a('node.font',' '+ Node658fontSize + 'px "Arial"');
- Node658.a('node.textvisible',true);
- Node658.a('node.linefeed',false);
- if (false) {
- Node658.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node658.a('node.text') || '万kWh';
- var color=Node658.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node658width,Node658height,13.3333*_ratio.ratioY,"center",color,' '+ Node658fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node658.a('node.underlinepoints',[Node658lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node658fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node658fontSize + 'px "Arial"').width + 6, (Node658height - Node658fontSize) * 0.5*_ratio.ratioY + Node658fontSize + 2 ]);
- Node658.a('node.underlinevisible',false);
- Node658.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node658);
- zoomNodeList.push({
- node: Node658,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node659 = new ht.Node();
- var Node659textStart, Node659textWidth, Node659lineStart, Node659align = 'center', Node659fontSize = 13.3333*_ratio.ratioY,Node659width = 59*_ratio.ratioX, Node659height = 26*_ratio.ratioY;
- (function () {
- if (Node659align === 'left') {
- Node659textStart = Node659fontSize * 0.2 > 2 ? Node659fontSize * 0.2 - 4 : Node659fontSize * 0.2 - 9;
- Node659textWidth = Node659width;
- Node659lineStart = 1;
- } else if (Node659align === 'right') {
- Node659textStart = 0;
- Node659textWidth =Node659fontSize <= 8 ? Node659width + Node659fontSize * 0.2 + 6 : Node659width - Node659fontSize * 0.2;
- Node659lineStart = (Node659width - (ht.Default.getTextSize('万kWh', ' '+ Node659fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node659align === 'center') {
- Node659textStart = -3;
- Node659textWidth = Node659width;
- Node659lineStart = Node659width - ht.Default.getTextSize('万kWh', ' '+ Node659fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node659.setImage(GD.getTextJSON(Node659width, Node659height, true, false, false, ' '+ Node659fontSize + 'px "Arial"'))
- Node659.setPosition(718*ratio.ratioX, 127*ratio.ratioY);
- Node659.setWidth(Node659width);
- Node659.setHeight(Node659height);
- Node659._nodeType = 'text';
- Node659._disallowEvert = true;
- Node659.setRotation(0*Math.PI/180);
- Node659.a('node.width', Node659width);
- Node659.a('node.height', Node659height);
- Node659.a('node.rect', [0, 0, Node659width, Node659height]);
- Node659.a('node.bordercolor','rgba(128,128,128,1)');
- Node659.a('node.borderwidth', 0);
- Node659.a('node.background','' || 'rgba(0,0,0,0)');
- Node659.a('node.gradient','');
- Node659.a('node.gradientcolor','');
- Node659.a('node.text','万kWh');
- Node659.a('node.textalign','center');
- Node659.a('node.textvAlign','middle');
- Node659.a('node.textrect', [Node659textStart, 0, Node659textWidth, Node659height]);
- Node659.a('node.color','rgba(128,128,128,1)');
- Node659.a('node.font',' '+ Node659fontSize + 'px "Arial"');
- Node659.a('node.textvisible',true);
- Node659.a('node.linefeed',false);
- if (false) {
- Node659.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node659.a('node.text') || '万kWh';
- var color=Node659.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node659width,Node659height,13.3333*_ratio.ratioY,"center",color,' '+ Node659fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node659.a('node.underlinepoints',[Node659lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node659fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node659fontSize + 'px "Arial"').width + 6, (Node659height - Node659fontSize) * 0.5*_ratio.ratioY + Node659fontSize + 2 ]);
- Node659.a('node.underlinevisible',false);
- Node659.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node659);
- zoomNodeList.push({
- node: Node659,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node660 = new ht.Node();
- var Node660textStart, Node660textWidth, Node660lineStart, Node660align = 'center', Node660fontSize = 13.3333*_ratio.ratioY,Node660width = 59*_ratio.ratioX, Node660height = 26*_ratio.ratioY;
- (function () {
- if (Node660align === 'left') {
- Node660textStart = Node660fontSize * 0.2 > 2 ? Node660fontSize * 0.2 - 4 : Node660fontSize * 0.2 - 9;
- Node660textWidth = Node660width;
- Node660lineStart = 1;
- } else if (Node660align === 'right') {
- Node660textStart = 0;
- Node660textWidth =Node660fontSize <= 8 ? Node660width + Node660fontSize * 0.2 + 6 : Node660width - Node660fontSize * 0.2;
- Node660lineStart = (Node660width - (ht.Default.getTextSize('万kWh', ' '+ Node660fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node660align === 'center') {
- Node660textStart = -3;
- Node660textWidth = Node660width;
- Node660lineStart = Node660width - ht.Default.getTextSize('万kWh', ' '+ Node660fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node660.setImage(GD.getTextJSON(Node660width, Node660height, true, false, false, ' '+ Node660fontSize + 'px "Arial"'))
- Node660.setPosition(718*ratio.ratioX, 151*ratio.ratioY);
- Node660.setWidth(Node660width);
- Node660.setHeight(Node660height);
- Node660._nodeType = 'text';
- Node660._disallowEvert = true;
- Node660.setRotation(0*Math.PI/180);
- Node660.a('node.width', Node660width);
- Node660.a('node.height', Node660height);
- Node660.a('node.rect', [0, 0, Node660width, Node660height]);
- Node660.a('node.bordercolor','rgba(128,128,128,1)');
- Node660.a('node.borderwidth', 0);
- Node660.a('node.background','' || 'rgba(0,0,0,0)');
- Node660.a('node.gradient','');
- Node660.a('node.gradientcolor','');
- Node660.a('node.text','万kWh');
- Node660.a('node.textalign','center');
- Node660.a('node.textvAlign','middle');
- Node660.a('node.textrect', [Node660textStart, 0, Node660textWidth, Node660height]);
- Node660.a('node.color','rgba(128,128,128,1)');
- Node660.a('node.font',' '+ Node660fontSize + 'px "Arial"');
- Node660.a('node.textvisible',true);
- Node660.a('node.linefeed',false);
- if (false) {
- Node660.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node660.a('node.text') || '万kWh';
- var color=Node660.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node660width,Node660height,13.3333*_ratio.ratioY,"center",color,' '+ Node660fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node660.a('node.underlinepoints',[Node660lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node660fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node660fontSize + 'px "Arial"').width + 6, (Node660height - Node660fontSize) * 0.5*_ratio.ratioY + Node660fontSize + 2 ]);
- Node660.a('node.underlinevisible',false);
- Node660.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node660);
- zoomNodeList.push({
- node: Node660,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node661 = new ht.Node();
- var Node661textStart, Node661textWidth, Node661lineStart, Node661align = 'left', Node661fontSize = 11.99997*_ratio.ratioY,Node661width = 53*_ratio.ratioX, Node661height = 20*_ratio.ratioY;
- (function () {
- if (Node661align === 'left') {
- Node661textStart = Node661fontSize * 0.2 > 2 ? Node661fontSize * 0.2 - 4 : Node661fontSize * 0.2 - 9;
- Node661textWidth = Node661width;
- Node661lineStart = 1;
- } else if (Node661align === 'right') {
- Node661textStart = 0;
- Node661textWidth =Node661fontSize <= 8 ? Node661width + Node661fontSize * 0.2 + 6 : Node661width - Node661fontSize * 0.2;
- Node661lineStart = (Node661width - (ht.Default.getTextSize('机', 'bold '+ Node661fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node661align === 'center') {
- Node661textStart = -3;
- Node661textWidth = Node661width;
- Node661lineStart = Node661width - ht.Default.getTextSize('机', 'bold '+ Node661fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node661.setImage(GD.getTextJSON(Node661width, Node661height, true, false, false, 'bold '+ Node661fontSize + 'px "Arial"'))
- Node661.setPosition(1343*ratio.ratioX, 88*ratio.ratioY);
- Node661.setWidth(Node661width);
- Node661.setHeight(Node661height);
- Node661._nodeType = 'text';
- Node661._disallowEvert = true;
- Node661.setRotation(0*Math.PI/180);
- Node661.a('node.width', Node661width);
- Node661.a('node.height', Node661height);
- Node661.a('node.rect', [0, 0, Node661width, Node661height]);
- Node661.a('node.bordercolor','rgba(255,255,255,1)');
- Node661.a('node.borderwidth', 0);
- Node661.a('node.background','' || 'rgba(0,0,0,0)');
- Node661.a('node.gradient','');
- Node661.a('node.gradientcolor','');
- Node661.a('node.text','机');
- Node661.a('node.textalign','left');
- Node661.a('node.textvAlign','middle');
- Node661.a('node.textrect', [Node661textStart, 0, Node661textWidth, Node661height]);
- Node661.a('node.color','rgba(255,255,255,1)');
- Node661.a('node.font','bold '+ Node661fontSize + 'px "Arial"');
- Node661.a('node.textvisible',true);
- Node661.a('node.linefeed',false);
- if (false) {
- Node661.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node661.a('node.text') || '机';
- var color=Node661.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node661width,Node661height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node661fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node661.a('node.underlinepoints',[Node661lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node661fontSize + 2 , ht.Default.getTextSize('机', 'bold '+ Node661fontSize + 'px "Arial"').width + 6, (Node661height - Node661fontSize) * 0.5*_ratio.ratioY + Node661fontSize + 2 ]);
- Node661.a('node.underlinevisible',false);
- Node661.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node661);
- zoomNodeList.push({
- node: Node661,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node662 = new ht.Node();
- var Node662textStart, Node662textWidth, Node662lineStart, Node662align = 'left', Node662fontSize = 11.99997*_ratio.ratioY,Node662width = 53*_ratio.ratioX, Node662height = 20*_ratio.ratioY;
- (function () {
- if (Node662align === 'left') {
- Node662textStart = Node662fontSize * 0.2 > 2 ? Node662fontSize * 0.2 - 4 : Node662fontSize * 0.2 - 9;
- Node662textWidth = Node662width;
- Node662lineStart = 1;
- } else if (Node662align === 'right') {
- Node662textStart = 0;
- Node662textWidth =Node662fontSize <= 8 ? Node662width + Node662fontSize * 0.2 + 6 : Node662width - Node662fontSize * 0.2;
- Node662lineStart = (Node662width - (ht.Default.getTextSize('状', 'bold '+ Node662fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node662align === 'center') {
- Node662textStart = -3;
- Node662textWidth = Node662width;
- Node662lineStart = Node662width - ht.Default.getTextSize('状', 'bold '+ Node662fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node662.setImage(GD.getTextJSON(Node662width, Node662height, true, false, false, 'bold '+ Node662fontSize + 'px "Arial"'))
- Node662.setPosition(1343*ratio.ratioX, 111*ratio.ratioY);
- Node662.setWidth(Node662width);
- Node662.setHeight(Node662height);
- Node662._nodeType = 'text';
- Node662._disallowEvert = true;
- Node662.setRotation(0*Math.PI/180);
- Node662.a('node.width', Node662width);
- Node662.a('node.height', Node662height);
- Node662.a('node.rect', [0, 0, Node662width, Node662height]);
- Node662.a('node.bordercolor','rgba(255,255,255,1)');
- Node662.a('node.borderwidth', 0);
- Node662.a('node.background','' || 'rgba(0,0,0,0)');
- Node662.a('node.gradient','');
- Node662.a('node.gradientcolor','');
- Node662.a('node.text','状');
- Node662.a('node.textalign','left');
- Node662.a('node.textvAlign','middle');
- Node662.a('node.textrect', [Node662textStart, 0, Node662textWidth, Node662height]);
- Node662.a('node.color','rgba(255,255,255,1)');
- Node662.a('node.font','bold '+ Node662fontSize + 'px "Arial"');
- Node662.a('node.textvisible',true);
- Node662.a('node.linefeed',false);
- if (false) {
- Node662.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node662.a('node.text') || '状';
- var color=Node662.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node662width,Node662height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node662fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node662.a('node.underlinepoints',[Node662lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node662fontSize + 2 , ht.Default.getTextSize('状', 'bold '+ Node662fontSize + 'px "Arial"').width + 6, (Node662height - Node662fontSize) * 0.5*_ratio.ratioY + Node662fontSize + 2 ]);
- Node662.a('node.underlinevisible',false);
- Node662.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node662);
- zoomNodeList.push({
- node: Node662,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node663 = new ht.Node();
- var Node663textStart, Node663textWidth, Node663lineStart, Node663align = 'left', Node663fontSize = 11.99997*_ratio.ratioY,Node663width = 53*_ratio.ratioX, Node663height = 20*_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('态', 'bold '+ Node663fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node663align === 'center') {
- Node663textStart = -3;
- Node663textWidth = Node663width;
- Node663lineStart = Node663width - ht.Default.getTextSize('态', 'bold '+ Node663fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node663.setImage(GD.getTextJSON(Node663width, Node663height, true, false, false, 'bold '+ Node663fontSize + 'px "Arial"'))
- Node663.setPosition(1343*ratio.ratioX, 133*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(255,255,255,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(255,255,255,1)');
- Node663.a('node.font','bold '+ Node663fontSize + 'px "Arial"');
- 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(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node663width,Node663height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node663fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node663.a('node.underlinepoints',[Node663lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node663fontSize + 2 , ht.Default.getTextSize('态', 'bold '+ Node663fontSize + 'px "Arial"').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 = 'center', Node664fontSize = 14.66663*_ratio.ratioY,Node664width = 67*_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 "Arial"').width + 6)) * 0.5;
- } else if (Node664align === 'center') {
- Node664textStart = -3;
- Node664textWidth = Node664width;
- Node664lineStart = Node664width - ht.Default.getTextSize('台', ' '+ Node664fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node664.setImage(GD.getTextJSON(Node664width, Node664height, true, false, false, ' '+ Node664fontSize + 'px "Arial"'))
- Node664.setPosition(1586*ratio.ratioX, 86*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(105,105,105,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','center');
- Node664.a('node.textvAlign','middle');
- Node664.a('node.textrect', [Node664textStart, 0, Node664textWidth, Node664height]);
- Node664.a('node.color','rgba(105,105,105,1)');
- Node664.a('node.font',' '+ Node664fontSize + 'px "Arial"');
- 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(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node664width,Node664height,14.66663*_ratio.ratioY,"center",color,' '+ Node664fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node664.a('node.underlinepoints',[Node664lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node664fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node664fontSize + 'px "Arial"').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'
- }); var Node665;
- (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');
- Node665 = new ht.Node();
- Node665.setPosition(1475*ratio.ratioX, 70*ratio.ratioY);
- Node665.setSize(9*ratioX, 60*ratioY);
- Node665.setImage('imgimage//page_list_box_left_blue.jpg');
- Node665.setRotation(0*Math.PI/180);
- Node665._zoomBy = 'Default';
- Node665._nodeType = 'image';
- Node665._disallowEvert = true;
- dataModel.add(Node665);
- })();
- _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(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node666type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node666.setPosition(1544*ratio.ratioX, 70*ratio.ratioY);
- Node666.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node666.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node666.a('node.width', 127*_ratio.ratioX);
- Node666.a('node.height', 60.81538*_ratio.ratioY);
- Node666.a('node.type', Node666type);
- Node666.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node666.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node666.a('node.gradientcolor', '');
- Node666.a('node.gradient', '');
- Node666.a('node.borderwidth', Node666BorderWidth);
- Node666.a('node.color', 'rgba(128,128,128,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 Node667 = new ht.Node();
- var Node667textStart, Node667textWidth, Node667lineStart, Node667align = 'left', Node667fontSize = 15.99996*_ratio.ratioY,Node667width = 29*_ratio.ratioX, Node667height = 25*_ratio.ratioY;
- (function () {
- if (Node667align === 'left') {
- Node667textStart = Node667fontSize * 0.2 > 2 ? Node667fontSize * 0.2 - 4 : Node667fontSize * 0.2 - 9;
- Node667textWidth = Node667width;
- Node667lineStart = 1;
- } else if (Node667align === 'right') {
- Node667textStart = 0;
- Node667textWidth =Node667fontSize <= 8 ? Node667width + Node667fontSize * 0.2 + 6 : Node667width - Node667fontSize * 0.2;
- Node667lineStart = (Node667width - (ht.Default.getTextSize('0', ' '+ Node667fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node667align === 'center') {
- Node667textStart = -3;
- Node667textWidth = Node667width;
- Node667lineStart = Node667width - ht.Default.getTextSize('0', ' '+ Node667fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node667.setImage(GD.getTextJSON(Node667width, Node667height, true, false, false, ' '+ Node667fontSize + 'px "Arial"'))
- Node667.setPosition(1507*ratio.ratioX, 85*ratio.ratioY);
- Node667.setWidth(Node667width);
- Node667.setHeight(Node667height);
- Node667._nodeType = 'text';
- Node667._disallowEvert = true;
- Node667.setRotation(0*Math.PI/180);
- Node667.a('node.width', Node667width);
- Node667.a('node.height', Node667height);
- Node667.a('node.rect', [0, 0, Node667width, Node667height]);
- Node667.a('node.bordercolor','rgba(0,0,0,1)');
- Node667.a('node.borderwidth', 0);
- Node667.a('node.background','' || 'rgba(0,0,0,0)');
- Node667.a('node.gradient','');
- Node667.a('node.gradientcolor','');
- Node667.a('node.text','0');
- Node667.a('node.textalign','left');
- Node667.a('node.textvAlign','middle');
- Node667.a('node.textrect', [Node667textStart, 0, Node667textWidth, Node667height]);
- Node667.a('node.color','rgba(0,0,0,1)');
- Node667.a('node.font',' '+ Node667fontSize + 'px "Arial"');
- Node667.a('node.textvisible',true);
- Node667.a('node.linefeed',false);
- if (false) {
- Node667.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node667.a('node.text') || '0';
- var color=Node667.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node667width,Node667height,15.99996*_ratio.ratioY,"left",color,' '+ Node667fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node667.a('node.underlinepoints',[Node667lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node667fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node667fontSize + 'px "Arial"').width + 6, (Node667height - Node667fontSize) * 0.5*_ratio.ratioY + Node667fontSize + 2 ]);
- Node667.a('node.underlinevisible',false);
- Node667.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node667);
- zoomNodeList.push({
- node: Node667,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node668;
- (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');
- Node668 = new ht.Node();
- Node668.setPosition(1751*ratio.ratioX, 70*ratio.ratioY);
- Node668.setSize(9*ratioX, 60*ratioY);
- Node668.setImage('imgimage//page_list_box_left_red.jpg');
- Node668.setRotation(0*Math.PI/180);
- Node668._zoomBy = 'Default';
- Node668._nodeType = 'image';
- Node668._disallowEvert = true;
- dataModel.add(Node668);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node669 = new ht.Node();
- var Node669textStart, Node669textWidth, Node669lineStart, Node669align = 'left', Node669fontSize = 15.99996*_ratio.ratioY,Node669width = 29*_ratio.ratioX, Node669height = 25*_ratio.ratioY;
- (function () {
- if (Node669align === 'left') {
- Node669textStart = Node669fontSize * 0.2 > 2 ? Node669fontSize * 0.2 - 4 : Node669fontSize * 0.2 - 9;
- Node669textWidth = Node669width;
- Node669lineStart = 1;
- } else if (Node669align === 'right') {
- Node669textStart = 0;
- Node669textWidth =Node669fontSize <= 8 ? Node669width + Node669fontSize * 0.2 + 6 : Node669width - Node669fontSize * 0.2;
- Node669lineStart = (Node669width - (ht.Default.getTextSize('0', ' '+ Node669fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node669align === 'center') {
- Node669textStart = -3;
- Node669textWidth = Node669width;
- Node669lineStart = Node669width - ht.Default.getTextSize('0', ' '+ Node669fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node669.setImage(GD.getTextJSON(Node669width, Node669height, true, false, false, ' '+ Node669fontSize + 'px "Arial"'))
- Node669.setPosition(1783*ratio.ratioX, 85*ratio.ratioY);
- Node669.setWidth(Node669width);
- Node669.setHeight(Node669height);
- Node669._nodeType = 'text';
- Node669._disallowEvert = true;
- Node669.setRotation(0*Math.PI/180);
- Node669.a('node.width', Node669width);
- Node669.a('node.height', Node669height);
- Node669.a('node.rect', [0, 0, Node669width, Node669height]);
- Node669.a('node.bordercolor','rgba(0,0,0,1)');
- Node669.a('node.borderwidth', 0);
- Node669.a('node.background','' || 'rgba(0,0,0,0)');
- Node669.a('node.gradient','');
- Node669.a('node.gradientcolor','');
- Node669.a('node.text','0');
- Node669.a('node.textalign','left');
- Node669.a('node.textvAlign','middle');
- Node669.a('node.textrect', [Node669textStart, 0, Node669textWidth, Node669height]);
- Node669.a('node.color','rgba(0,0,0,1)');
- Node669.a('node.font',' '+ Node669fontSize + 'px "Arial"');
- Node669.a('node.textvisible',true);
- Node669.a('node.linefeed',false);
- if (false) {
- Node669.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node669.a('node.text') || '0';
- var color=Node669.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node669width,Node669height,15.99996*_ratio.ratioY,"left",color,' '+ Node669fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node669.a('node.underlinepoints',[Node669lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node669fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node669fontSize + 'px "Arial"').width + 6, (Node669height - Node669fontSize) * 0.5*_ratio.ratioY + Node669fontSize + 2 ]);
- Node669.a('node.underlinevisible',false);
- Node669.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node669);
- zoomNodeList.push({
- node: Node669,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node670;
- (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');
- Node670 = new ht.Node();
- Node670.setPosition(1751*ratio.ratioX, 131*ratio.ratioY);
- Node670.setSize(9*ratioX, 60*ratioY);
- Node670.setImage('imgimage//page_list_box_left_black.jpg');
- Node670.setRotation(0*Math.PI/180);
- Node670._zoomBy = 'Default';
- Node670._nodeType = 'image';
- Node670._disallowEvert = true;
- dataModel.add(Node670);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node671 = new ht.Node();
- var Node671textStart, Node671textWidth, Node671lineStart, Node671align = 'left', Node671fontSize = 13.3333*_ratio.ratioY,Node671width = 47*_ratio.ratioX, Node671height = 38*_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('离线', 'bold '+ Node671fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node671align === 'center') {
- Node671textStart = -3;
- Node671textWidth = Node671width;
- Node671lineStart = Node671width - ht.Default.getTextSize('离线', 'bold '+ Node671fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node671.setImage(GD.getTextJSON(Node671width, Node671height, true, false, false, 'bold '+ Node671fontSize + 'px "Arial"'))
- Node671.setPosition(1782*ratio.ratioX, 114*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(0,0,0,0)');
- Node671.a('node.gradient','');
- Node671.a('node.gradientcolor','');
- Node671.a('node.text','离线');
- Node671.a('node.textalign','left');
- 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','bold '+ Node671fontSize + 'px "Arial"');
- 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,"left",color,'bold '+ Node671fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node671.a('node.underlinepoints',[Node671lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node671fontSize + 2 , ht.Default.getTextSize('离线', 'bold '+ Node671fontSize + 'px "Arial"').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 = 'left', Node672fontSize = 15.99996*_ratio.ratioY,Node672width = 29*_ratio.ratioX, Node672height = 25*_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('0', ' '+ Node672fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node672align === 'center') {
- Node672textStart = -3;
- Node672textWidth = Node672width;
- Node672lineStart = Node672width - ht.Default.getTextSize('0', ' '+ Node672fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node672.setImage(GD.getTextJSON(Node672width, Node672height, true, false, false, ' '+ Node672fontSize + 'px "Arial"'))
- Node672.setPosition(1783*ratio.ratioX, 146*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(0,0,0,0)');
- Node672.a('node.gradient','');
- Node672.a('node.gradientcolor','');
- Node672.a('node.text','0');
- Node672.a('node.textalign','left');
- 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 "Arial"');
- 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') || '0';
- var color=Node672.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node672width,Node672height,15.99996*_ratio.ratioY,"left",color,' '+ Node672fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node672.a('node.underlinepoints',[Node672lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node672fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node672fontSize + 'px "Arial"').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 = 110*_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(1091*ratio.ratioX, 150*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(0,0,0,0)');
- Node673.a('node.gradient','');
- Node673.a('node.gradientcolor','');
- 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 = 110*_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(811*ratio.ratioX, 150*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(0,0,0,0)');
- Node674.a('node.gradient','');
- Node674.a('node.gradientcolor','');
- 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 Node675 = new ht.Node();
- var Node675textStart, Node675textWidth, Node675lineStart, Node675align = 'center', Node675fontSize = 13.3333*_ratio.ratioY,Node675width = 113*_ratio.ratioX, Node675height = 26*_ratio.ratioY;
- (function () {
- if (Node675align === 'left') {
- Node675textStart = Node675fontSize * 0.2 > 2 ? Node675fontSize * 0.2 - 4 : Node675fontSize * 0.2 - 9;
- Node675textWidth = Node675width;
- Node675lineStart = 1;
- } else if (Node675align === 'right') {
- Node675textStart = 0;
- Node675textWidth =Node675fontSize <= 8 ? Node675width + Node675fontSize * 0.2 + 6 : Node675width - Node675fontSize * 0.2;
- Node675lineStart = (Node675width - (ht.Default.getTextSize('日性能损失电量', ' '+ Node675fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node675align === 'center') {
- Node675textStart = -3;
- Node675textWidth = Node675width;
- Node675lineStart = Node675width - ht.Default.getTextSize('日性能损失电量', ' '+ Node675fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node675.setImage(GD.getTextJSON(Node675width, Node675height, true, false, false, ' '+ Node675fontSize + 'px "微软雅黑"'))
- Node675.setPosition(531*ratio.ratioX, 150*ratio.ratioY);
- Node675.setWidth(Node675width);
- Node675.setHeight(Node675height);
- Node675._nodeType = 'text';
- Node675._disallowEvert = true;
- Node675.setRotation(0*Math.PI/180);
- Node675.a('node.width', Node675width);
- Node675.a('node.height', Node675height);
- Node675.a('node.rect', [0, 0, Node675width, Node675height]);
- Node675.a('node.bordercolor','rgba(0,0,0,1)');
- Node675.a('node.borderwidth', 0);
- Node675.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node675.a('node.gradient','');
- Node675.a('node.gradientcolor','rgba(255,255,255,0)');
- Node675.a('node.text','日性能损失电量');
- Node675.a('node.textalign','center');
- Node675.a('node.textvAlign','middle');
- Node675.a('node.textrect', [Node675textStart, 0, Node675textWidth, Node675height]);
- Node675.a('node.color','rgba(0,0,0,1)');
- Node675.a('node.font',' '+ Node675fontSize + 'px "微软雅黑"');
- Node675.a('node.textvisible',true);
- Node675.a('node.linefeed',false);
- if (false) {
- Node675.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node675.a('node.text') || '日性能损失电量';
- var color=Node675.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node675width,Node675height,13.3333*_ratio.ratioY,"center",color,' '+ Node675fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node675.a('node.underlinepoints',[Node675lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node675fontSize + 2 , ht.Default.getTextSize('日性能损失电量', ' '+ Node675fontSize + 'px "微软雅黑"').width + 6, (Node675height - Node675fontSize) * 0.5*_ratio.ratioY + Node675fontSize + 2 ]);
- Node675.a('node.underlinevisible',false);
- Node675.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node675);
- zoomNodeList.push({
- node: Node675,
- borderWidth: 0,
- attr: 'node.borderwidth'
- });
- /*@GraphList@*/
- var datas = dataModel.getDatas();
- ;(typeof PageBackground != "undefined") && (PageBackground.localDynamicVar = function ( ) {return {'anniu':PageBackground_anniu,'sy':PageBackground_sy,'ztjs':PageBackground_ztjs,'ldjsc':PageBackground_ldjsc,'sbjz':PageBackground_sbjz,'xnfx':PageBackground_xnfx,'pjgl':PageBackground_pjgl,'zbph':PageBackground_zbph,'dbgl':PageBackground_dbgl,'bjzx':PageBackground_bjzx,'jrjs':PageBackground_jrjs,'sxxny':PageBackground_sxxny,'yygjb':PageBackground_yygjb,'plhts':PageBackground_plhts,'tqwns':PageBackground_tqwns,'gljf':PageBackground_gljf,'hyfy':PageBackground_hyfy,'llbts':PageBackground_llbts,'ygcls':PageBackground_ygcls,'fs':PageBackground_fs,'sjgl':PageBackground_sjgl,'yfgl':PageBackground_yfgl,'rfdl':PageBackground_rfdl,'yfdl':PageBackground_yfdl,'ylyxx':PageBackground_ylyxx,'nfdl':PageBackground_nfdl,'nlyxs':PageBackground_nlyxs,'llfdl':PageBackground_llfdl,'whssdl':PageBackground_whssdl,'gzssdl':PageBackground_gzssdl,'xdssdl':PageBackground_xdssdl,'slssdl':PageBackground_slssdl,'A':PageBackground_A,'B':PageBackground_B,'C':PageBackground_C,'D':PageBackground_D,'E':PageBackground_E,'F':PageBackground_F,}});
- if(typeof(Node2.borderWidth)!="undefined"){setDashStyle(Node2,"Node2",'NoDash',Node2.borderWidth);}
- if(typeof(Node4.borderWidth)!="undefined"){setDashStyle(Node4,"Node4",'NoDash',Node4.borderWidth);}
- if(typeof(Node6.borderWidth)!="undefined"){setDashStyle(Node6,"Node6",'NoDash',Node6.borderWidth);}
- if(typeof(Node8.borderWidth)!="undefined"){setDashStyle(Node8,"Node8",'NoDash',Node8.borderWidth);}
- ;(typeof Node25 != "undefined") && (Node25.localDynamicVar = function ( ) {return {'xianshi4':Node25_xianshi4,}});
- ;(typeof Node26 != "undefined") && (Node26.localDynamicVar = function ( ) {return {'xianshi4':Node26_xianshi4,}});
- ;(typeof Node27 != "undefined") && (Node27.localDynamicVar = function ( ) {return {'xianshi4':Node27_xianshi4,}});
- ;(typeof Node28 != "undefined") && (Node28.localDynamicVar = function ( ) {return {'xianshi4':Node28_xianshi4,}});
- ;(typeof Node29 != "undefined") && (Node29.localDynamicVar = function ( ) {return {'xianshi4':Node29_xianshi4,}});
- ;(typeof Node30 != "undefined") && (Node30.localDynamicVar = function ( ) {return {'xianshi4':Node30_xianshi4,}});
- ;(typeof Node31 != "undefined") && (Node31.localDynamicVar = function ( ) {return {'xianshi4':Node31_xianshi4,}});
- ;(typeof Node32 != "undefined") && (Node32.localDynamicVar = function ( ) {return {'xianshi4':Node32_xianshi4,}});
- ;(typeof Node33 != "undefined") && (Node33.localDynamicVar = function ( ) {return {'xianshi4':Node33_xianshi4,}});
- ;(typeof Node34 != "undefined") && (Node34.localDynamicVar = function ( ) {return {'xianshi4':Node34_xianshi4,}});
- ;(typeof Node35 != "undefined") && (Node35.localDynamicVar = function ( ) {return {'xianshi4':Node35_xianshi4,}});
- ;(typeof Node36 != "undefined") && (Node36.localDynamicVar = function ( ) {return {'xianshi4':Node36_xianshi4,}});
- ;(typeof Node37 != "undefined") && (Node37.localDynamicVar = function ( ) {return {'xianshi4':Node37_xianshi4,}});
- ;(typeof Node38 != "undefined") && (Node38.localDynamicVar = function ( ) {return {'xianshi4':Node38_xianshi4,}});
- ;(typeof Node39 != "undefined") && (Node39.localDynamicVar = function ( ) {return {'xianshi4':Node39_xianshi4,}});
- ;(typeof Node40 != "undefined") && (Node40.localDynamicVar = function ( ) {return {'xianshi4':Node40_xianshi4,}});
- ;(typeof Node41 != "undefined") && (Node41.localDynamicVar = function ( ) {return {'xianshi4':Node41_xianshi4,}});
- ;(typeof Node42 != "undefined") && (Node42.localDynamicVar = function ( ) {return {'xianshi4':Node42_xianshi4,}});
- ;(typeof Node43 != "undefined") && (Node43.localDynamicVar = function ( ) {return {'xianshi4':Node43_xianshi4,}});
- ;(typeof Node44 != "undefined") && (Node44.localDynamicVar = function ( ) {return {'xianshi4':Node44_xianshi4,}});
- ;(typeof Node45 != "undefined") && (Node45.localDynamicVar = function ( ) {return {'xianshi4':Node45_xianshi4,}});
- ;(typeof Node46 != "undefined") && (Node46.localDynamicVar = function ( ) {return {'xianshi4':Node46_xianshi4,}});
- ;(typeof Node47 != "undefined") && (Node47.localDynamicVar = function ( ) {return {'xianshi4':Node47_xianshi4,}});
- ;(typeof Node48 != "undefined") && (Node48.localDynamicVar = function ( ) {return {'xianshi4':Node48_xianshi4,}});
- ;(typeof Node49 != "undefined") && (Node49.localDynamicVar = function ( ) {return {'xianshi4':Node49_xianshi4,}});
- ;(typeof Node50 != "undefined") && (Node50.localDynamicVar = function ( ) {return {'xianshi4':Node50_xianshi4,}});
- ;(typeof Node51 != "undefined") && (Node51.localDynamicVar = function ( ) {return {'xianshi4':Node51_xianshi4,}});
- ;(typeof Node52 != "undefined") && (Node52.localDynamicVar = function ( ) {return {'xianshi':Node52_xianshi,}});
- ;(typeof Node53 != "undefined") && (Node53.localDynamicVar = function ( ) {return {'xianshi':Node53_xianshi,}});
- ;(typeof Node54 != "undefined") && (Node54.localDynamicVar = function ( ) {return {'xianshi':Node54_xianshi,}});
- ;(typeof Node55 != "undefined") && (Node55.localDynamicVar = function ( ) {return {'xianshi':Node55_xianshi,}});
- ;(typeof Node56 != "undefined") && (Node56.localDynamicVar = function ( ) {return {'xianshi':Node56_xianshi,}});
- ;(typeof Node57 != "undefined") && (Node57.localDynamicVar = function ( ) {return {'xianshi1':Node57_xianshi1,}});
- ;(typeof Node58 != "undefined") && (Node58.localDynamicVar = function ( ) {return {'xianshi1':Node58_xianshi1,}});
- ;(typeof Node59 != "undefined") && (Node59.localDynamicVar = function ( ) {return {'xianshi1':Node59_xianshi1,}});
- ;(typeof Node60 != "undefined") && (Node60.localDynamicVar = function ( ) {return {'xianshi2':Node60_xianshi2,}});
- ;(typeof Node61 != "undefined") && (Node61.localDynamicVar = function ( ) {return {'xianshi1':Node61_xianshi1,}});
- ;(typeof Node62 != "undefined") && (Node62.localDynamicVar = function ( ) {return {'xianshi2':Node62_xianshi2,}});
- ;(typeof Node63 != "undefined") && (Node63.localDynamicVar = function ( ) {return {'xianshi1':Node63_xianshi1,}});
- ;(typeof Node64 != "undefined") && (Node64.localDynamicVar = function ( ) {return {'xianshi2':Node64_xianshi2,}});
- ;(typeof Node65 != "undefined") && (Node65.localDynamicVar = function ( ) {return {'xianshi1':Node65_xianshi1,}});
- ;(typeof Node66 != "undefined") && (Node66.localDynamicVar = function ( ) {return {'xianshi2':Node66_xianshi2,}});
- ;(typeof Node67 != "undefined") && (Node67.localDynamicVar = function ( ) {return {'xianshi1':Node67_xianshi1,}});
- ;(typeof Node68 != "undefined") && (Node68.localDynamicVar = function ( ) {return {'xianshi2':Node68_xianshi2,}});
- ;(typeof Node69 != "undefined") && (Node69.localDynamicVar = function ( ) {return {'xianshi1':Node69_xianshi1,}});
- ;(typeof Node70 != "undefined") && (Node70.localDynamicVar = function ( ) {return {'xianshi2':Node70_xianshi2,}});
- ;(typeof Node71 != "undefined") && (Node71.localDynamicVar = function ( ) {return {'xianshi1':Node71_xianshi1,}});
- ;(typeof Node72 != "undefined") && (Node72.localDynamicVar = function ( ) {return {'xianshi2':Node72_xianshi2,}});
- ;(typeof Node73 != "undefined") && (Node73.localDynamicVar = function ( ) {return {'xianshi1':Node73_xianshi1,}});
- ;(typeof Node74 != "undefined") && (Node74.localDynamicVar = function ( ) {return {'xianshi2':Node74_xianshi2,}});
- ;(typeof Node75 != "undefined") && (Node75.localDynamicVar = function ( ) {return {'xianshi1':Node75_xianshi1,}});
- ;(typeof Node76 != "undefined") && (Node76.localDynamicVar = function ( ) {return {'xianshi2':Node76_xianshi2,}});
- ;(typeof Node77 != "undefined") && (Node77.localDynamicVar = function ( ) {return {'xianshi1':Node77_xianshi1,}});
- ;(typeof Node408 != "undefined") && (Node408.localDynamicVar = function ( ) {return {'xianshi2':Node408_xianshi2,}});
- ;(typeof Node409 != "undefined") && (Node409.localDynamicVar = function ( ) {return {'xianshi2':Node409_xianshi2,}});
- ;(typeof Node410 != "undefined") && (Node410.localDynamicVar = function ( ) {return {'xianshi1':Node410_xianshi1,}});
- ;(typeof Node411 != "undefined") && (Node411.localDynamicVar = function ( ) {return {'xianshi2':Node411_xianshi2,}});
- ;(typeof Node412 != "undefined") && (Node412.localDynamicVar = function ( ) {return {'xianshi1':Node412_xianshi1,}});
- ;(typeof Node413 != "undefined") && (Node413.localDynamicVar = function ( ) {return {'xianshi2':Node413_xianshi2,}});
- ;(typeof Node414 != "undefined") && (Node414.localDynamicVar = function ( ) {return {'xianshi2':Node414_xianshi2,}});
- ;(typeof Node415 != "undefined") && (Node415.localDynamicVar = function ( ) {return {'xianshi2':Node415_xianshi2,}});
- ;(typeof Node416 != "undefined") && (Node416.localDynamicVar = function ( ) {return {'xianshi1':Node416_xianshi1,}});
- ;(typeof Node417 != "undefined") && (Node417.localDynamicVar = function ( ) {return {'xianshi2':Node417_xianshi2,}});
- ;(typeof Node418 != "undefined") && (Node418.localDynamicVar = function ( ) {return {'xianshi1':Node418_xianshi1,}});
- ;(typeof Node419 != "undefined") && (Node419.localDynamicVar = function ( ) {return {'xianshi2':Node419_xianshi2,}});
- ;(typeof Node420 != "undefined") && (Node420.localDynamicVar = function ( ) {return {'xianshi1':Node420_xianshi1,}});
- ;(typeof Node421 != "undefined") && (Node421.localDynamicVar = function ( ) {return {'xianshi2':Node421_xianshi2,}});
- ;(typeof Node422 != "undefined") && (Node422.localDynamicVar = function ( ) {return {'xianshi1':Node422_xianshi1,}});
- ;(typeof Node423 != "undefined") && (Node423.localDynamicVar = function ( ) {return {'xianshi2':Node423_xianshi2,}});
- ;(typeof Node424 != "undefined") && (Node424.localDynamicVar = function ( ) {return {'xianshi1':Node424_xianshi1,}});
- ;(typeof Node425 != "undefined") && (Node425.localDynamicVar = function ( ) {return {'xianshi2':Node425_xianshi2,}});
- ;(typeof Node426 != "undefined") && (Node426.localDynamicVar = function ( ) {return {'xianshi2':Node426_xianshi2,}});
- ;(typeof Node427 != "undefined") && (Node427.localDynamicVar = function ( ) {return {'xianshi1':Node427_xianshi1,}});
- ;(typeof Node428 != "undefined") && (Node428.localDynamicVar = function ( ) {return {'xianshi2':Node428_xianshi2,}});
- ;(typeof Node429 != "undefined") && (Node429.localDynamicVar = function ( ) {return {'xianshi1':Node429_xianshi1,}});
- ;(typeof Node430 != "undefined") && (Node430.localDynamicVar = function ( ) {return {'xianshi1':Node430_xianshi1,}});
- ;(typeof Node431 != "undefined") && (Node431.localDynamicVar = function ( ) {return {'xianshi1':Node431_xianshi1,}});
- ;(typeof Node432 != "undefined") && (Node432.localDynamicVar = function ( ) {return {'xianshi1':Node432_xianshi1,}});
- ;(typeof Node433 != "undefined") && (Node433.localDynamicVar = function ( ) {return {'xianshi1':Node433_xianshi1,}});
- if((0 )){Node497.s('2d.visible',true);}else{Node497.s('2d.visible',false);}
- if((0 )){Node499.s('2d.visible',true);}else{Node499.s('2d.visible',false);}
- if((0 )){Node501.s('2d.visible',true);}else{Node501.s('2d.visible',false);}
- if((0 )){Node503.s('2d.visible',true);}else{Node503.s('2d.visible',false);}
- if((0 )){Node505.s('2d.visible',true);}else{Node505.s('2d.visible',false);}
- if((0 )){Node507.s('2d.visible',true);}else{Node507.s('2d.visible',false);}
- if((0 )){Node509.s('2d.visible',true);}else{Node509.s('2d.visible',false);}
- if((0 )){Node511.s('2d.visible',true);}else{Node511.s('2d.visible',false);}
- /*@PageInit@*/
-
- function DatarefreshTask(callback){
- /*@DataVarText@*/
- callback = callback || function () {};
- if(varList.length <= 0){
- return callback();
- }
- var ajaxdata = {};
- var ajaxtype = 'GET';
- var str = "http://" + webServiceIP + ":" + webServicePort + "/api/Snapshot?tagName=";
- var para = "";
- for(var i=0;i<varList.length;i++){
- para = para + varList[i];
- if(i!==varList.length-1)
- para = para +',';
- }
- str = str + encodeURIComponent(para);
- if (str.length > 2000) {
- para = encodeURIComponent(para);
- str = "http://" + webServiceIP + ":" + webServicePort + "/api/Snapshot/tags";
- ajaxdata = {'': para};
- ajaxtype = 'POST';
- }
- $.ajax({
- url: str ,
- type: ajaxtype,
- dataType: 'json',
- data: ajaxdata,
- cache: false,
- success: function (data) {
- if (data === null) return;
- var snapshots = eval(data);
- //判断快照是否为空
- if (snapshots != null) {
- for (var i = 0; i < snapshots.length; i++) {
- var index = varList.indexOf (snapshots[i].TagName);
- var tagName = snapshots[i].TagName.toLowerCase();
- if(index >= 0 && index< varList.length){
- if(parseFloat(snapshots[i].Value).toString()==snapshots[i].Value){
- varListObj[tagName] = VarValue[index] = parseFloat(snapshots[i].Value);
- VarSnapshotTime[tagName]=snapshots[i].Time;
- }else{
- varListObj[tagName] = VarValue[index] = snapshots[i].Value;
- VarSnapshotTime[tagName]=snapshots[i].Time;
- }
- }
- }
- }
- },
- complete: function (XHR, TS) {
- XHR = null;
- callback();
- }
- }
- );
- }
- ;(function () {
- var i = 0;
- function getdata() {
- DatarefreshTask(function () {
- i++;
- Timer1sCmd();
- Timer100msCmd();
- Timer500msCmd();
- if (i <= 4) {
- setTimeout(getdata, 50);
- }
- });
- }
- setTimeout(getdata, 20);
- })();
- intervalTimers.push(setInterval(DatarefreshTask, 500));
- /*@DataRefresh@*/
-
- function GetTagsProperty(){
- /*@DataVarText@*/
- if(varList.length <= 0){
- return;
- }
- var ajaxtype = 'GET';
- var ajaxdata = {};
- var str = "http://" + webServiceIP + ":" + webServicePort + "/api/Point?tagName=";
- var para = "";
- for(var i=0;i<varList.length;i++){
- para = para + varList[i];
- if(i!==varList.length-1)
- para = para +',';
- }
- str = str + encodeURIComponent(para);
- if (str.length > 2000) {
- para = encodeURIComponent(para);
- str = "http://" + webServiceIP + ":" + webServicePort + "/api/Point/property";
- ajaxdata = {'': para};
- ajaxtype = 'POST';
- }
- $.ajax({
- url: str ,
- type: ajaxtype,
- dataType: 'json',
- data: ajaxdata,
- cache: false,
- success: function (data) {
- if (data === null) return;
- for(var i=0;i<data.length;i++){
- var basePointInfo=data[i].BasePointInfo;
- tagInfoDic[basePointInfo.TableDotTag.toLowerCase()]=basePointInfo;
- // console.log(tagInfoDic);
- }
- },
- complete: function (XHR, TS) {
- XHR = null;
- }
- }
- );
- }
- GetTagsProperty();
- window.GD && (GD.GetTagsProperty = GetTagsProperty);
- /*@TagInfoDic@*/
- var syscurrentTime="";
- function getCurrentTime(timeformat){
- syscurrentTime= moment().format(timeformat);
- if(timeformat=="d"){
- if(syscurrentTime==1){
- syscurrentTime="星期一";
- }
- if(syscurrentTime==2){
- syscurrentTime="星期二";
- }
- if(syscurrentTime==3){
- syscurrentTime="星期三";
- }
- if(syscurrentTime==4){
- syscurrentTime="星期四";
- }
- if(syscurrentTime==5){
- syscurrentTime="星期五";
- }
- if(syscurrentTime==6){
- syscurrentTime="星期六";
- }
- if(syscurrentTime==7){
- syscurrentTime="星期日";
- }
- }
- }
- getCurrentTime();
- /*@SysCurrentTime@*/
- var Counter10ms = 0;
- var Counter100ms = 0;
- var Counter500ms = 0;
- var Counter1s = 0;
- var Counter5s = 0;
- function Timer10msCmd() {
- Counter10ms++;
- Node25.refresh10ms();
- Node26.refresh10ms();
- Node27.refresh10ms();
- Node28.refresh10ms();
- Node29.refresh10ms();
- Node30.refresh10ms();
- Node31.refresh10ms();
- Node32.refresh10ms();
- Node33.refresh10ms();
- Node34.refresh10ms();
- Node35.refresh10ms();
- Node36.refresh10ms();
- Node37.refresh10ms();
- Node38.refresh10ms();
- Node39.refresh10ms();
- Node40.refresh10ms();
- Node41.refresh10ms();
- Node42.refresh10ms();
- Node43.refresh10ms();
- Node44.refresh10ms();
- Node45.refresh10ms();
- Node46.refresh10ms();
- Node47.refresh10ms();
- Node48.refresh10ms();
- Node49.refresh10ms();
- Node50.refresh10ms();
- Node51.refresh10ms();
- Node52.refresh10ms();
- Node53.refresh10ms();
- Node54.refresh10ms();
- Node55.refresh10ms();
- Node56.refresh10ms();
- Node57.refresh10ms();
- Node58.refresh10ms();
- Node59.refresh10ms();
- Node60.refresh10ms();
- Node61.refresh10ms();
- Node62.refresh10ms();
- Node63.refresh10ms();
- Node64.refresh10ms();
- Node65.refresh10ms();
- Node66.refresh10ms();
- Node67.refresh10ms();
- Node68.refresh10ms();
- Node69.refresh10ms();
- Node70.refresh10ms();
- Node71.refresh10ms();
- Node72.refresh10ms();
- Node73.refresh10ms();
- Node74.refresh10ms();
- Node75.refresh10ms();
- Node76.refresh10ms();
- Node77.refresh10ms();
- Node87.refresh10ms();
- Node89.refresh10ms();
- Node96.refresh10ms();
- Node103.refresh10ms();
- Node106.refresh10ms();
- Node109.refresh10ms();
- Node114.refresh10ms();
- Node119.refresh10ms();
- Node128.refresh10ms();
- Node131.refresh10ms();
- Node137.refresh10ms();
- Node145.refresh10ms();
- Node147.refresh10ms();
- Node150.refresh10ms();
- Node153.refresh10ms();
- Node155.refresh10ms();
- Node170_0.refresh10ms();
- Node170_3.refresh10ms();
- Node170_4.refresh10ms();
- Node171_0.refresh10ms();
- Node171_3.refresh10ms();
- Node171_4.refresh10ms();
- Node192_0.refresh10ms();
- Node192_3.refresh10ms();
- Node192_7.refresh10ms();
- Node192_8.refresh10ms();
- Node192_9.refresh10ms();
- Node193.refresh10ms();
- Node196.refresh10ms();
- Node200.refresh10ms();
- Node201.refresh10ms();
- Node202.refresh10ms();
- Node237.refresh10ms();
- Node240.refresh10ms();
- Node241.refresh10ms();
- Node243.refresh10ms();
- Node247.refresh10ms();
- Node271.refresh10ms();
- Node274.refresh10ms();
- Node275.refresh10ms();
- Node277.refresh10ms();
- Node281.refresh10ms();
- Node286_1.refresh10ms();
- Node286_4.refresh10ms();
- Node286_5.refresh10ms();
- Node288.refresh10ms();
- Node291.refresh10ms();
- Node292.refresh10ms();
- Node295.refresh10ms();
- Node298.refresh10ms();
- Node299.refresh10ms();
- Node302.refresh10ms();
- Node305.refresh10ms();
- Node306.refresh10ms();
- Node308_1.refresh10ms();
- Node308_4.refresh10ms();
- Node308_5.refresh10ms();
- Node310.refresh10ms();
- Node313.refresh10ms();
- Node314.refresh10ms();
- Node342.refresh10ms();
- Node345.refresh10ms();
- Node346.refresh10ms();
- Node353.refresh10ms();
- Node356.refresh10ms();
- Node357.refresh10ms();
- Node359.refresh10ms();
- Node361.refresh10ms();
- Node364.refresh10ms();
- Node365.refresh10ms();
- Node368.refresh10ms();
- Node371.refresh10ms();
- Node372.refresh10ms();
- Node375.refresh10ms();
- Node378.refresh10ms();
- Node379.refresh10ms();
- Node382.refresh10ms();
- Node385.refresh10ms();
- Node386.refresh10ms();
- Node388.refresh10ms();
- Node408.refresh10ms();
- Node409.refresh10ms();
- Node410.refresh10ms();
- Node411.refresh10ms();
- Node412.refresh10ms();
- Node413.refresh10ms();
- Node414.refresh10ms();
- Node415.refresh10ms();
- Node416.refresh10ms();
- Node417.refresh10ms();
- Node418.refresh10ms();
- Node419.refresh10ms();
- Node420.refresh10ms();
- Node421.refresh10ms();
- Node422.refresh10ms();
- Node423.refresh10ms();
- Node424.refresh10ms();
- Node425.refresh10ms();
- Node426.refresh10ms();
- Node427.refresh10ms();
- Node428.refresh10ms();
- Node429.refresh10ms();
- Node430.refresh10ms();
- Node431.refresh10ms();
- Node432.refresh10ms();
- Node433.refresh10ms();
- /*@Timer10ms@*/
- }
- // intervalTimers.push(setInterval(Timer10msCmd, 10));
- function Timer100msCmd() {
- Counter100ms++;
- Node25.refresh100ms();
- Node26.refresh100ms();
- Node27.refresh100ms();
- Node28.refresh100ms();
- Node29.refresh100ms();
- Node30.refresh100ms();
- Node31.refresh100ms();
- Node32.refresh100ms();
- Node33.refresh100ms();
- Node34.refresh100ms();
- Node35.refresh100ms();
- Node36.refresh100ms();
- Node37.refresh100ms();
- Node38.refresh100ms();
- Node39.refresh100ms();
- Node40.refresh100ms();
- Node41.refresh100ms();
- Node42.refresh100ms();
- Node43.refresh100ms();
- Node44.refresh100ms();
- Node45.refresh100ms();
- Node46.refresh100ms();
- Node47.refresh100ms();
- Node48.refresh100ms();
- Node49.refresh100ms();
- Node50.refresh100ms();
- Node51.refresh100ms();
- Node52.refresh100ms();
- Node53.refresh100ms();
- Node54.refresh100ms();
- Node55.refresh100ms();
- Node56.refresh100ms();
- Node57.refresh100ms();
- Node58.refresh100ms();
- Node59.refresh100ms();
- Node60.refresh100ms();
- Node61.refresh100ms();
- Node62.refresh100ms();
- Node63.refresh100ms();
- Node64.refresh100ms();
- Node65.refresh100ms();
- Node66.refresh100ms();
- Node67.refresh100ms();
- Node68.refresh100ms();
- Node69.refresh100ms();
- Node70.refresh100ms();
- Node71.refresh100ms();
- Node72.refresh100ms();
- Node73.refresh100ms();
- Node74.refresh100ms();
- Node75.refresh100ms();
- Node76.refresh100ms();
- Node77.refresh100ms();
- Node87.refresh100ms();
- Node89.refresh100ms();
- Node96.refresh100ms();
- Node103.refresh100ms();
- Node106.refresh100ms();
- Node109.refresh100ms();
- Node114.refresh100ms();
- Node119.refresh100ms();
- Node128.refresh100ms();
- Node131.refresh100ms();
- Node137.refresh100ms();
- Node145.refresh100ms();
- Node147.refresh100ms();
- Node150.refresh100ms();
- Node153.refresh100ms();
- Node155.refresh100ms();
- Node170_0.refresh100ms();
- Node170_3.refresh100ms();
- Node170_4.refresh100ms();
- Node171_0.refresh100ms();
- Node171_3.refresh100ms();
- Node171_4.refresh100ms();
- Node192_0.refresh100ms();
- Node192_3.refresh100ms();
- Node192_7.refresh100ms();
- Node192_8.refresh100ms();
- Node192_9.refresh100ms();
- Node193.refresh100ms();
- Node196.refresh100ms();
- Node200.refresh100ms();
- Node201.refresh100ms();
- Node202.refresh100ms();
- Node237.refresh100ms();
- Node240.refresh100ms();
- Node241.refresh100ms();
- Node243.refresh100ms();
- Node247.refresh100ms();
- Node271.refresh100ms();
- Node274.refresh100ms();
- Node275.refresh100ms();
- Node277.refresh100ms();
- Node281.refresh100ms();
- Node286_1.refresh100ms();
- Node286_4.refresh100ms();
- Node286_5.refresh100ms();
- Node288.refresh100ms();
- Node291.refresh100ms();
- Node292.refresh100ms();
- Node295.refresh100ms();
- Node298.refresh100ms();
- Node299.refresh100ms();
- Node302.refresh100ms();
- Node305.refresh100ms();
- Node306.refresh100ms();
- Node308_1.refresh100ms();
- Node308_4.refresh100ms();
- Node308_5.refresh100ms();
- Node310.refresh100ms();
- Node313.refresh100ms();
- Node314.refresh100ms();
- Node342.refresh100ms();
- Node345.refresh100ms();
- Node346.refresh100ms();
- Node353.refresh100ms();
- Node356.refresh100ms();
- Node357.refresh100ms();
- Node359.refresh100ms();
- Node361.refresh100ms();
- Node364.refresh100ms();
- Node365.refresh100ms();
- Node368.refresh100ms();
- Node371.refresh100ms();
- Node372.refresh100ms();
- Node375.refresh100ms();
- Node378.refresh100ms();
- Node379.refresh100ms();
- Node382.refresh100ms();
- Node385.refresh100ms();
- Node386.refresh100ms();
- Node388.refresh100ms();
- Node408.refresh100ms();
- Node409.refresh100ms();
- Node410.refresh100ms();
- Node411.refresh100ms();
- Node412.refresh100ms();
- Node413.refresh100ms();
- Node414.refresh100ms();
- Node415.refresh100ms();
- Node416.refresh100ms();
- Node417.refresh100ms();
- Node418.refresh100ms();
- Node419.refresh100ms();
- Node420.refresh100ms();
- Node421.refresh100ms();
- Node422.refresh100ms();
- Node423.refresh100ms();
- Node424.refresh100ms();
- Node425.refresh100ms();
- Node426.refresh100ms();
- Node427.refresh100ms();
- Node428.refresh100ms();
- Node429.refresh100ms();
- Node430.refresh100ms();
- Node431.refresh100ms();
- Node432.refresh100ms();
- Node433.refresh100ms();
- Node434.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0057') ),-1));
- Node435.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0058') ),-1));
- Node436.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0059') ),-1));
- Node437.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0057') ),-1));
- Node438.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0058') ),-1));
- Node439.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0059') ),-1));
- Node440.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0087') ),-1));
- Node441.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0088') ),-1));
- Node442.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0089') ),-1));
- Node443.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0126') ),-1));
- Node444.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0132') ),-1));
- Node445.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0139') ),-1));
- Node446.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0145') ),-1));
- Node447.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0152') ),-1));
- Node448.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0158') ),-1));
- Node449.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0314') ),-1));
- Node450.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0317') ),-1));
- Node451.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0321') ),-1));
- Node452.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0324') ),-1));
- Node453.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0328') ),-1));
- Node454.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0331') ),-1));
- Node455.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0348') ),-1));
- Node456.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0349') ),-1));
- Node457.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0350') ),-1));
- Node458.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0351') ),-1));
- Node459.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0352') ),-1));
- Node460.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0353') ),-1));
- Node461.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0347') ),-1));
- Node462.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0283') ),-1));
- Node463.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0284') ),-1));
- Node464.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0285') ),-1));
- Node465.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0008') ),-1));
- Node466.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0009') ),-1));
- Node467.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0010') ),-1));
- Node468.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0286') ),-1));
- Node469.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0289') ),-1));
- Node470.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0290') ),-1));
- Node471.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0291') ),-1));
- Node472.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0292') ),-1));
- Node473.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0001') ),-1));
- Node474.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0011') ),-1));
- Node475.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0012') ),-1));
- Node476.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0204') ),-1));
- Node477.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0210') ),-1));
- Node478.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0191') ),-1));
- Node479.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0197') ),-1));
- Node480.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0178') ),-1));
- Node481.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0184') ),-1));
- Node482.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0019') ),-1));
- Node483.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0029') ),-1));
- Node484.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0030') ),-1));
- Node485.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0032') ),-1));
- Node486.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0033') ),-1));
- Node487.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0039') ),-1));
- Node488.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0040') ),-1));
- Node489.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0041') ),-1));
- Node490.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0042') ),-1));
- Node491.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0043') ),-1));
- Node492.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0044') ),-1));
- Node493.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0034') ),-1));
- Node494.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0016') ),-1));
- Node495.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0017') ),-1));
- Node496.a('node.text',GetDital((getVarValue('WNS_DQ.SX_GD_WNSF_DQ_P1_L1_001_AI0018') ),-1));
- Node534.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0004') + getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0009') + getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0129') + getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0130') + getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0131') + getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0171') ),-1));
- Node540.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0130') ),-1));
- Node544.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0004') ),-1));
- Node549.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0131') ),-1));
- Node577.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0144') ),-1));
- Node578.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0140') ),-1));
- Node579.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0168') ),-1));
- Node580.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0160') + getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0164') ),-1));
- Node581.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0196') ),-1));
- Node606.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0038') ),-1));
- Node607.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0034') ),-1));
- Node608.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0065') ),-1));
- Node609.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0061WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0054') ),-1));
- Node610.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0188') ),-1));
- Node626.a('node.text',GetDital((getVarValue('GS_JCD.LN_GD_WNS_JS_XX_XX_XXX_CI0002') ),-1));
- Node627.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0125') ),-1));
- Node628.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0124') ),-1));
- Node629.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0077') ),-1));
- Node630.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0126') ),-1));
- Node646.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0089') ),-1));
- Node647.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0085') ),-1));
- Node648.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0116') ),-1));
- Node649.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0112') + getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0108') ),-1));
- Node650.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0192') ),-1));
- Node667.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0171') ),-1));
- Node669.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0009') ),-1));
- Node672.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0129') ),-1));
- /*@Timer100ms@*/
- // graphView.redraw();
- }
- intervalTimers.push(setInterval(Timer100msCmd, 100));
- function Timer500msCmd() {
- Counter500ms++;
- Node25.refresh500ms();
- Node26.refresh500ms();
- Node27.refresh500ms();
- Node28.refresh500ms();
- Node29.refresh500ms();
- Node30.refresh500ms();
- Node31.refresh500ms();
- Node32.refresh500ms();
- Node33.refresh500ms();
- Node34.refresh500ms();
- Node35.refresh500ms();
- Node36.refresh500ms();
- Node37.refresh500ms();
- Node38.refresh500ms();
- Node39.refresh500ms();
- Node40.refresh500ms();
- Node41.refresh500ms();
- Node42.refresh500ms();
- Node43.refresh500ms();
- Node44.refresh500ms();
- Node45.refresh500ms();
- Node46.refresh500ms();
- Node47.refresh500ms();
- Node48.refresh500ms();
- Node49.refresh500ms();
- Node50.refresh500ms();
- Node51.refresh500ms();
- Node52.refresh500ms();
- Node53.refresh500ms();
- Node54.refresh500ms();
- Node55.refresh500ms();
- Node56.refresh500ms();
- Node57.refresh500ms();
- Node58.refresh500ms();
- Node59.refresh500ms();
- Node60.refresh500ms();
- Node61.refresh500ms();
- Node62.refresh500ms();
- Node63.refresh500ms();
- Node64.refresh500ms();
- Node65.refresh500ms();
- Node66.refresh500ms();
- Node67.refresh500ms();
- Node68.refresh500ms();
- Node69.refresh500ms();
- Node70.refresh500ms();
- Node71.refresh500ms();
- Node72.refresh500ms();
- Node73.refresh500ms();
- Node74.refresh500ms();
- Node75.refresh500ms();
- Node76.refresh500ms();
- Node77.refresh500ms();
- Node87.refresh500ms();
- Node89.refresh500ms();
- Node96.refresh500ms();
- Node103.refresh500ms();
- Node106.refresh500ms();
- Node109.refresh500ms();
- Node114.refresh500ms();
- Node119.refresh500ms();
- Node128.refresh500ms();
- Node131.refresh500ms();
- Node137.refresh500ms();
- Node145.refresh500ms();
- Node147.refresh500ms();
- Node150.refresh500ms();
- Node153.refresh500ms();
- Node155.refresh500ms();
- Node170_0.refresh500ms();
- Node170_3.refresh500ms();
- Node170_4.refresh500ms();
- Node171_0.refresh500ms();
- Node171_3.refresh500ms();
- Node171_4.refresh500ms();
- Node192_0.refresh500ms();
- Node192_3.refresh500ms();
- Node192_7.refresh500ms();
- Node192_8.refresh500ms();
- Node192_9.refresh500ms();
- Node193.refresh500ms();
- Node196.refresh500ms();
- Node200.refresh500ms();
- Node201.refresh500ms();
- Node202.refresh500ms();
- Node237.refresh500ms();
- Node240.refresh500ms();
- Node241.refresh500ms();
- Node243.refresh500ms();
- Node247.refresh500ms();
- Node271.refresh500ms();
- Node274.refresh500ms();
- Node275.refresh500ms();
- Node277.refresh500ms();
- Node281.refresh500ms();
- Node286_1.refresh500ms();
- Node286_4.refresh500ms();
- Node286_5.refresh500ms();
- Node288.refresh500ms();
- Node291.refresh500ms();
- Node292.refresh500ms();
- Node295.refresh500ms();
- Node298.refresh500ms();
- Node299.refresh500ms();
- Node302.refresh500ms();
- Node305.refresh500ms();
- Node306.refresh500ms();
- Node308_1.refresh500ms();
- Node308_4.refresh500ms();
- Node308_5.refresh500ms();
- Node310.refresh500ms();
- Node313.refresh500ms();
- Node314.refresh500ms();
- Node342.refresh500ms();
- Node345.refresh500ms();
- Node346.refresh500ms();
- Node353.refresh500ms();
- Node356.refresh500ms();
- Node357.refresh500ms();
- Node359.refresh500ms();
- Node361.refresh500ms();
- Node364.refresh500ms();
- Node365.refresh500ms();
- Node368.refresh500ms();
- Node371.refresh500ms();
- Node372.refresh500ms();
- Node375.refresh500ms();
- Node378.refresh500ms();
- Node379.refresh500ms();
- Node382.refresh500ms();
- Node385.refresh500ms();
- Node386.refresh500ms();
- Node388.refresh500ms();
- Node408.refresh500ms();
- Node409.refresh500ms();
- Node410.refresh500ms();
- Node411.refresh500ms();
- Node412.refresh500ms();
- Node413.refresh500ms();
- Node414.refresh500ms();
- Node415.refresh500ms();
- Node416.refresh500ms();
- Node417.refresh500ms();
- Node418.refresh500ms();
- Node419.refresh500ms();
- Node420.refresh500ms();
- Node421.refresh500ms();
- Node422.refresh500ms();
- Node423.refresh500ms();
- Node424.refresh500ms();
- Node425.refresh500ms();
- Node426.refresh500ms();
- Node427.refresh500ms();
- Node428.refresh500ms();
- Node429.refresh500ms();
- Node430.refresh500ms();
- Node431.refresh500ms();
- Node432.refresh500ms();
- Node433.refresh500ms();
- if((1 )>0) {if(((sxxny==1)>0 )){Node497.s('2d.visible',true);}else{Node497.s('2d.visible',false);}}
- if((1 )>0) {if(((sxxny==0)>0 )){Node498.s('2d.visible',true);}else{Node498.s('2d.visible',false);}}
- if((1 )>0) {if(((yygjb==1)>0 )){Node499.s('2d.visible',true);}else{Node499.s('2d.visible',false);}}
- if((1 )>0) {if(((yygjb==0)>0 )){Node500.s('2d.visible',true);}else{Node500.s('2d.visible',false);}}
- if((1 )>0) {if(((plhts==1)>0 )){Node501.s('2d.visible',true);}else{Node501.s('2d.visible',false);}}
- if((1 )>0) {if(((plhts==0)>0 )){Node502.s('2d.visible',true);}else{Node502.s('2d.visible',false);}}
- if((1 )>0) {if(((tqwns==1)>0 )){Node503.s('2d.visible',true);}else{Node503.s('2d.visible',false);}}
- if((1 )>0) {if(((tqwns==0)>0 )){Node504.s('2d.visible',true);}else{Node504.s('2d.visible',false);}}
- if((1 )>0) {if(((gljf==1)>0 )){Node505.s('2d.visible',true);}else{Node505.s('2d.visible',false);}}
- if((1 )>0) {if(((gljf==0)>0 )){Node506.s('2d.visible',true);}else{Node506.s('2d.visible',false);}}
- if((1 )>0) {if(((hyfy==1)>0 )){Node507.s('2d.visible',true);}else{Node507.s('2d.visible',false);}}
- if((1 )>0) {if(((hyfy==0)>0 )){Node508.s('2d.visible',true);}else{Node508.s('2d.visible',false);}}
- if((1 )>0) {if(((llbts==1)>0 )){Node509.s('2d.visible',true);}else{Node509.s('2d.visible',false);}}
- if((1 )>0) {if(((llbts==0)>0 )){Node510.s('2d.visible',true);}else{Node510.s('2d.visible',false);}}
- if((1 )>0) {if(((ygcls==1)>0 )){Node511.s('2d.visible',true);}else{Node511.s('2d.visible',false);}}
- if((1 )>0) {if(((ygcls==0)>0 )){Node512.s('2d.visible',true);}else{Node512.s('2d.visible',false);}}
- if((1 )>0) {if(((A==1)>0 )){Node513_0.s('2d.visible',true);}else{Node513_0.s('2d.visible',false);}}
- if((1 )>0) {if(((A==1)>0 )){Node513_1.s('2d.visible',true);}else{Node513_1.s('2d.visible',false);}}
- if((1 )>0) {if(((B==0)>0 )){Node514_0.s('2d.visible',true);}else{Node514_0.s('2d.visible',false);}}
- if((1 )>0) {if(((B==0)>0 )){Node514_1.s('2d.visible',true);}else{Node514_1.s('2d.visible',false);}}
- if((1 )>0) {if(((B==1)>0 )){Node515_0.s('2d.visible',true);}else{Node515_0.s('2d.visible',false);}}
- if((1 )>0) {if(((B==1)>0 )){Node515_1.s('2d.visible',true);}else{Node515_1.s('2d.visible',false);}}
- if((1 )>0) {if(((C==0)>0 )){Node516_0.s('2d.visible',true);}else{Node516_0.s('2d.visible',false);}}
- if((1 )>0) {if(((C==0)>0 )){Node516_1.s('2d.visible',true);}else{Node516_1.s('2d.visible',false);}}
- if((1 )>0) {if(((C==1)>0 )){Node517_0.s('2d.visible',true);}else{Node517_0.s('2d.visible',false);}}
- if((1 )>0) {if(((C==1)>0 )){Node517_1.s('2d.visible',true);}else{Node517_1.s('2d.visible',false);}}
- if((1 )>0) {if(((D==1)>0 )){Node518_0.s('2d.visible',true);}else{Node518_0.s('2d.visible',false);}}
- if((1 )>0) {if(((D==1)>0 )){Node518_1.s('2d.visible',true);}else{Node518_1.s('2d.visible',false);}}
- if((1 )>0) {if(((D==0)>0 )){Node519_0.s('2d.visible',true);}else{Node519_0.s('2d.visible',false);}}
- if((1 )>0) {if(((D==0)>0 )){Node519_1.s('2d.visible',true);}else{Node519_1.s('2d.visible',false);}}
- if((1 )>0) {if(((E==1)>0 )){Node520_0.s('2d.visible',true);}else{Node520_0.s('2d.visible',false);}}
- if((1 )>0) {if(((E==1)>0 )){Node520_1.s('2d.visible',true);}else{Node520_1.s('2d.visible',false);}}
- if((1 )>0) {if(((E==0)>0 )){Node521_0.s('2d.visible',true);}else{Node521_0.s('2d.visible',false);}}
- if((1 )>0) {if(((E==0)>0 )){Node521_1.s('2d.visible',true);}else{Node521_1.s('2d.visible',false);}}
- if((1 )>0) {if(((F==0)>0 )){Node522_0.s('2d.visible',true);}else{Node522_0.s('2d.visible',false);}}
- if((1 )>0) {if(((F==0)>0 )){Node522_1.s('2d.visible',true);}else{Node522_1.s('2d.visible',false);}}
- if((1 )>0) {if(((F==1)>0 )){Node523_0.s('2d.visible',true);}else{Node523_0.s('2d.visible',false);}}
- if((1 )>0) {if(((F==1)>0 )){Node523_1.s('2d.visible',true);}else{Node523_1.s('2d.visible',false);}}
- if((1 )>0) {if(((A==0)>0 )){Node524_0.s('2d.visible',true);}else{Node524_0.s('2d.visible',false);}}
- if((1 )>0) {if(((A==0)>0 )){Node524_1.s('2d.visible',true);}else{Node524_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();
- Node25.refresh1s(Counter1s);
- Node26.refresh1s(Counter1s);
- Node27.refresh1s(Counter1s);
- Node28.refresh1s(Counter1s);
- Node29.refresh1s(Counter1s);
- Node30.refresh1s(Counter1s);
- Node31.refresh1s(Counter1s);
- Node32.refresh1s(Counter1s);
- Node33.refresh1s(Counter1s);
- Node34.refresh1s(Counter1s);
- Node35.refresh1s(Counter1s);
- Node36.refresh1s(Counter1s);
- Node37.refresh1s(Counter1s);
- Node38.refresh1s(Counter1s);
- Node39.refresh1s(Counter1s);
- Node40.refresh1s(Counter1s);
- Node41.refresh1s(Counter1s);
- Node42.refresh1s(Counter1s);
- Node43.refresh1s(Counter1s);
- Node44.refresh1s(Counter1s);
- Node45.refresh1s(Counter1s);
- Node46.refresh1s(Counter1s);
- Node47.refresh1s(Counter1s);
- Node48.refresh1s(Counter1s);
- Node49.refresh1s(Counter1s);
- Node50.refresh1s(Counter1s);
- Node51.refresh1s(Counter1s);
- Node52.refresh1s(Counter1s);
- Node53.refresh1s(Counter1s);
- Node54.refresh1s(Counter1s);
- Node55.refresh1s(Counter1s);
- Node56.refresh1s(Counter1s);
- Node57.refresh1s(Counter1s);
- Node58.refresh1s(Counter1s);
- Node59.refresh1s(Counter1s);
- Node60.refresh1s(Counter1s);
- Node61.refresh1s(Counter1s);
- Node62.refresh1s(Counter1s);
- Node63.refresh1s(Counter1s);
- Node64.refresh1s(Counter1s);
- Node65.refresh1s(Counter1s);
- Node66.refresh1s(Counter1s);
- Node67.refresh1s(Counter1s);
- Node68.refresh1s(Counter1s);
- Node69.refresh1s(Counter1s);
- Node70.refresh1s(Counter1s);
- Node71.refresh1s(Counter1s);
- Node72.refresh1s(Counter1s);
- Node73.refresh1s(Counter1s);
- Node74.refresh1s(Counter1s);
- Node75.refresh1s(Counter1s);
- Node76.refresh1s(Counter1s);
- Node77.refresh1s(Counter1s);
- Node87.refresh1s(Counter1s);
- Node89.refresh1s(Counter1s);
- Node96.refresh1s(Counter1s);
- Node103.refresh1s(Counter1s);
- Node106.refresh1s(Counter1s);
- Node109.refresh1s(Counter1s);
- Node114.refresh1s(Counter1s);
- Node119.refresh1s(Counter1s);
- Node128.refresh1s(Counter1s);
- Node131.refresh1s(Counter1s);
- Node137.refresh1s(Counter1s);
- Node145.refresh1s(Counter1s);
- Node147.refresh1s(Counter1s);
- Node150.refresh1s(Counter1s);
- Node153.refresh1s(Counter1s);
- Node155.refresh1s(Counter1s);
- Node170_0.refresh1s(Counter1s);
- Node170_3.refresh1s(Counter1s);
- Node170_4.refresh1s(Counter1s);
- Node171_0.refresh1s(Counter1s);
- Node171_3.refresh1s(Counter1s);
- Node171_4.refresh1s(Counter1s);
- Node192_0.refresh1s(Counter1s);
- Node192_3.refresh1s(Counter1s);
- Node192_7.refresh1s(Counter1s);
- Node192_8.refresh1s(Counter1s);
- Node192_9.refresh1s(Counter1s);
- Node193.refresh1s(Counter1s);
- Node196.refresh1s(Counter1s);
- Node200.refresh1s(Counter1s);
- Node201.refresh1s(Counter1s);
- Node202.refresh1s(Counter1s);
- Node237.refresh1s(Counter1s);
- Node240.refresh1s(Counter1s);
- Node241.refresh1s(Counter1s);
- Node243.refresh1s(Counter1s);
- Node247.refresh1s(Counter1s);
- Node271.refresh1s(Counter1s);
- Node274.refresh1s(Counter1s);
- Node275.refresh1s(Counter1s);
- Node277.refresh1s(Counter1s);
- Node281.refresh1s(Counter1s);
- Node286_1.refresh1s(Counter1s);
- Node286_4.refresh1s(Counter1s);
- Node286_5.refresh1s(Counter1s);
- Node288.refresh1s(Counter1s);
- Node291.refresh1s(Counter1s);
- Node292.refresh1s(Counter1s);
- Node295.refresh1s(Counter1s);
- Node298.refresh1s(Counter1s);
- Node299.refresh1s(Counter1s);
- Node302.refresh1s(Counter1s);
- Node305.refresh1s(Counter1s);
- Node306.refresh1s(Counter1s);
- Node308_1.refresh1s(Counter1s);
- Node308_4.refresh1s(Counter1s);
- Node308_5.refresh1s(Counter1s);
- Node310.refresh1s(Counter1s);
- Node313.refresh1s(Counter1s);
- Node314.refresh1s(Counter1s);
- Node342.refresh1s(Counter1s);
- Node345.refresh1s(Counter1s);
- Node346.refresh1s(Counter1s);
- Node353.refresh1s(Counter1s);
- Node356.refresh1s(Counter1s);
- Node357.refresh1s(Counter1s);
- Node359.refresh1s(Counter1s);
- Node361.refresh1s(Counter1s);
- Node364.refresh1s(Counter1s);
- Node365.refresh1s(Counter1s);
- Node368.refresh1s(Counter1s);
- Node371.refresh1s(Counter1s);
- Node372.refresh1s(Counter1s);
- Node375.refresh1s(Counter1s);
- Node378.refresh1s(Counter1s);
- Node379.refresh1s(Counter1s);
- Node382.refresh1s(Counter1s);
- Node385.refresh1s(Counter1s);
- Node386.refresh1s(Counter1s);
- Node388.refresh1s(Counter1s);
- Node408.refresh1s(Counter1s);
- Node409.refresh1s(Counter1s);
- Node410.refresh1s(Counter1s);
- Node411.refresh1s(Counter1s);
- Node412.refresh1s(Counter1s);
- Node413.refresh1s(Counter1s);
- Node414.refresh1s(Counter1s);
- Node415.refresh1s(Counter1s);
- Node416.refresh1s(Counter1s);
- Node417.refresh1s(Counter1s);
- Node418.refresh1s(Counter1s);
- Node419.refresh1s(Counter1s);
- Node420.refresh1s(Counter1s);
- Node421.refresh1s(Counter1s);
- Node422.refresh1s(Counter1s);
- Node423.refresh1s(Counter1s);
- Node424.refresh1s(Counter1s);
- Node425.refresh1s(Counter1s);
- Node426.refresh1s(Counter1s);
- Node427.refresh1s(Counter1s);
- Node428.refresh1s(Counter1s);
- Node429.refresh1s(Counter1s);
- Node430.refresh1s(Counter1s);
- Node431.refresh1s(Counter1s);
- Node432.refresh1s(Counter1s);
- Node433.refresh1s(Counter1s);
- /*@Timer1000ms@*/
- // graphView.redraw();
- }
- Timer1sCmd();
- intervalTimers.push(setInterval(Timer1sCmd, 1000));
- function Timer5sCmd() {
- Counter5s++;
- Node25.refresh5s();
- Node26.refresh5s();
- Node27.refresh5s();
- Node28.refresh5s();
- Node29.refresh5s();
- Node30.refresh5s();
- Node31.refresh5s();
- Node32.refresh5s();
- Node33.refresh5s();
- Node34.refresh5s();
- Node35.refresh5s();
- Node36.refresh5s();
- Node37.refresh5s();
- Node38.refresh5s();
- Node39.refresh5s();
- Node40.refresh5s();
- Node41.refresh5s();
- Node42.refresh5s();
- Node43.refresh5s();
- Node44.refresh5s();
- Node45.refresh5s();
- Node46.refresh5s();
- Node47.refresh5s();
- Node48.refresh5s();
- Node49.refresh5s();
- Node50.refresh5s();
- Node51.refresh5s();
- Node52.refresh5s();
- Node53.refresh5s();
- Node54.refresh5s();
- Node55.refresh5s();
- Node56.refresh5s();
- Node57.refresh5s();
- Node58.refresh5s();
- Node59.refresh5s();
- Node60.refresh5s();
- Node61.refresh5s();
- Node62.refresh5s();
- Node63.refresh5s();
- Node64.refresh5s();
- Node65.refresh5s();
- Node66.refresh5s();
- Node67.refresh5s();
- Node68.refresh5s();
- Node69.refresh5s();
- Node70.refresh5s();
- Node71.refresh5s();
- Node72.refresh5s();
- Node73.refresh5s();
- Node74.refresh5s();
- Node75.refresh5s();
- Node76.refresh5s();
- Node77.refresh5s();
- Node87.refresh5s();
- Node89.refresh5s();
- Node96.refresh5s();
- Node103.refresh5s();
- Node106.refresh5s();
- Node109.refresh5s();
- Node114.refresh5s();
- Node119.refresh5s();
- Node128.refresh5s();
- Node131.refresh5s();
- Node137.refresh5s();
- Node145.refresh5s();
- Node147.refresh5s();
- Node150.refresh5s();
- Node153.refresh5s();
- Node155.refresh5s();
- Node170_0.refresh5s();
- Node170_3.refresh5s();
- Node170_4.refresh5s();
- Node171_0.refresh5s();
- Node171_3.refresh5s();
- Node171_4.refresh5s();
- Node192_0.refresh5s();
- Node192_3.refresh5s();
- Node192_7.refresh5s();
- Node192_8.refresh5s();
- Node192_9.refresh5s();
- Node193.refresh5s();
- Node196.refresh5s();
- Node200.refresh5s();
- Node201.refresh5s();
- Node202.refresh5s();
- Node237.refresh5s();
- Node240.refresh5s();
- Node241.refresh5s();
- Node243.refresh5s();
- Node247.refresh5s();
- Node271.refresh5s();
- Node274.refresh5s();
- Node275.refresh5s();
- Node277.refresh5s();
- Node281.refresh5s();
- Node286_1.refresh5s();
- Node286_4.refresh5s();
- Node286_5.refresh5s();
- Node288.refresh5s();
- Node291.refresh5s();
- Node292.refresh5s();
- Node295.refresh5s();
- Node298.refresh5s();
- Node299.refresh5s();
- Node302.refresh5s();
- Node305.refresh5s();
- Node306.refresh5s();
- Node308_1.refresh5s();
- Node308_4.refresh5s();
- Node308_5.refresh5s();
- Node310.refresh5s();
- Node313.refresh5s();
- Node314.refresh5s();
- Node342.refresh5s();
- Node345.refresh5s();
- Node346.refresh5s();
- Node353.refresh5s();
- Node356.refresh5s();
- Node357.refresh5s();
- Node359.refresh5s();
- Node361.refresh5s();
- Node364.refresh5s();
- Node365.refresh5s();
- Node368.refresh5s();
- Node371.refresh5s();
- Node372.refresh5s();
- Node375.refresh5s();
- Node378.refresh5s();
- Node379.refresh5s();
- Node382.refresh5s();
- Node385.refresh5s();
- Node386.refresh5s();
- Node388.refresh5s();
- Node408.refresh5s();
- Node409.refresh5s();
- Node410.refresh5s();
- Node411.refresh5s();
- Node412.refresh5s();
- Node413.refresh5s();
- Node414.refresh5s();
- Node415.refresh5s();
- Node416.refresh5s();
- Node417.refresh5s();
- Node418.refresh5s();
- Node419.refresh5s();
- Node420.refresh5s();
- Node421.refresh5s();
- Node422.refresh5s();
- Node423.refresh5s();
- Node424.refresh5s();
- Node425.refresh5s();
- Node426.refresh5s();
- Node427.refresh5s();
- Node428.refresh5s();
- Node429.refresh5s();
- Node430.refresh5s();
- Node431.refresh5s();
- Node432.refresh5s();
- Node433.refresh5s();
- /*@Timer5000ms@*/
- // graphView.redraw();
- }
- // intervalTimers.push(setInterval(Timer5sCmd, 5000));
- /*@EventTimer@*/
- //graphView.setInteractors(null);
- if (!!view) {
- view.eventList = view.eventList || {};
- }
- function blockDataFilter (data) {
- return !(data instanceof ht.Block || data.isLibBackground || data.__clickable === false);
- }
- var type ='mousedown';
- function doMouseDown (e, origin) {
- if(!ht.Default.isLeftButton(e)){return;}
- mouseX=e.clientX;
- mouseY=e.clientY;
- origin = origin || graphView;
- window.GD && GD.hideTagInfo();
- var data = origin.getDataAt(e, blockDataFilter);
- if (data && data.__parentLib) {
- _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'mousedown', origin);
- return;
- }
- if(data === PageBackground){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/ztjs2'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node499){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 === Node501){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 === Node503){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 === Node505){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 === Node507){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 === Node513_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_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node513_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_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node515_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_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node515_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_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node517_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_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node517_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_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node518_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_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node518_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_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node520_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_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node520_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_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node523_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_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node523_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_wn'; 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 !== Node497&& objMouseOn===Node497){sxxny=0; }
- if(data !== Node499&& objMouseOn===Node499){yygjb=0; }
- if(data !== Node501&& objMouseOn===Node501){plhts=0; }
- if(data !== Node503&& objMouseOn===Node503){tqwns=0; }
- if(data !== Node505&& objMouseOn===Node505){gljf=0; }
- if(data !== Node507&& objMouseOn===Node507){hyfy=0; }
- if(data !== Node509&& objMouseOn===Node509){llbts=0; }
- if(data !== Node511&& objMouseOn===Node511){ygcls=0; }
- if(data !== Node513_0&& objMouseOn===Node513_0){A=0; }
- if(data !== Node513_1&& objMouseOn===Node513_1){A=0; }
- if(data !== Node515_0&& objMouseOn===Node515_0){B=0; }
- if(data !== Node515_1&& objMouseOn===Node515_1){B=0; }
- if(data !== Node517_0&& objMouseOn===Node517_0){C=0; }
- if(data !== Node517_1&& objMouseOn===Node517_1){C=0; }
- if(data !== Node518_0&& objMouseOn===Node518_0){D=0; }
- if(data !== Node518_1&& objMouseOn===Node518_1){D=0; }
- if(data !== Node520_0&& objMouseOn===Node520_0){E=0; }
- if(data !== Node520_1&& objMouseOn===Node520_1){E=0; }
- if(data !== Node523_0&& objMouseOn===Node523_0){F=0; }
- if(data !== Node523_1&& objMouseOn===Node523_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 === Node498){sxxny=1; }
- if(data === Node500){yygjb=1; }
- if(data === Node502){plhts=1; }
- if(data === Node504){tqwns=1; }
- if(data === Node506){gljf=1; }
- if(data === Node508){hyfy=1; }
- if(data === Node510){llbts=1; }
- if(data === Node512){ygcls=1; }
- if(data === Node514_0){B=1; }
- if(data === Node514_1){B=1; }
- if(data === Node516_0){C=1; }
- if(data === Node516_1){C=1; }
- if(data === Node519_0){D=1; }
- if(data === Node519_1){D=1; }
- if(data === Node521_0){E=1; }
- if(data === Node521_1){E=1; }
- if(data === Node522_0){F=1; }
- if(data === Node522_1){F=1; }
- if(data === Node524_0){A=1; }
- if(data === Node524_1){A=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();
- }
- })();
-
- })();
- }
|