-
Notifications
You must be signed in to change notification settings - Fork 0
/
sampleData.js
3 lines (2 loc) · 15.8 KB
/
sampleData.js
1
2
3
var xinyiData= {"substation":[{"name":"咸林","voltageLevel":"330kV","location":{"x":238.32325261938087,"y":45.97235987969752}},{"name":"渭南","voltageLevel":"330kV","location":{"x":68.94588059291951,"y":-2.60792765508862}},{"name":"灵宝","voltageLevel":"330kV","location":{"x":415.862708704987,"y":-16.093192128565704}},{"name":"来化牵","voltageLevel":"330kV","location":{"x":282.67334757618687,"y":-61.87142581149246}},{"name":"信义","voltageLevel":"750kV","location":{"x":178.39740877082198,"y":-11.391582189095445}},{"name":"韩城二厂3、4号机","voltageLevel":"330kV","location":{"x":166.26816289096465,"y":-155.42401414807003}},{"name":"韩城二厂#1、2机","voltageLevel":"330kV","location":{"x":106.66289132648015,"y":-155.52352677763244}},{"name":"桢州","voltageLevel":"330kV","location":{"x":214.18650732828812,"y":-144.20662949970531}},{"name":"东郊","voltageLevel":"330kV","location":{"x":49.670815079148625,"y":60.55248725567725}},{"name":"代王","voltageLevel":"330kV","location":{"x":100.58434052581838,"y":51.60375965782957}},{"name":"上苑","voltageLevel":"330kV","location":{"x":87.1898312795876,"y":112.8236632651628}},{"name":"秦岭二厂","voltageLevel":"330kV","location":{"x":392.4980227805039,"y":89.70754068714363}},{"name":"鹤城","voltageLevel":"330kV","location":{"x":223.51270106374741,"y":128.62296498324275}},{"name":"张村","voltageLevel":"330kV","location":{"x":293.7694974121118,"y":146.48999508907679}},{"name":"罗敷","voltageLevel":"330kV","location":{"x":325.92762706121675,"y":91.85918527861566}},{"name":"鹿城","voltageLevel":"330kV","location":{"x":338.1713889338439,"y":195.59053075068675}},{"name":"赵家坪牵","voltageLevel":"330kV","location":{"x":304.03152261273385,"y":47.8136808178819}},{"name":"秦岭330","voltageLevel":"330kV","location":{"x":358.65530872650993,"y":25.378911521152418}},{"name":"秦岭750","voltageLevel":"750kV","location":{"x":276.23191717982996,"y":19.526363008962168}},{"name":"西庄","voltageLevel":"330kV","location":{"x":44.56853857229757,"y":-146.78355721244532}},{"name":"高明","voltageLevel":"330kV","location":{"x":49.44566233245612,"y":-79.96696169827283}},{"name":"太奇里","voltageLevel":"330kV","location":{"x":-7.6166856613992024,"y":-77.04068744217767}},{"name":"洛川","voltageLevel":"750kV","location":{"x":175.76316772056327,"y":-221.40355074287154}},{"name":"乾县","voltageLevel":"750kV","location":{"x":-97.35576284831703,"y":-29.244874592623628}},{"name":"南山","voltageLevel":"750kV","location":{"x":-47.60910049469953,"y":207.29562777506737}}],"powerline":[{"name":"北渭1","voltageLevel":"330kV","startSub":"","endSub":"渭南","startbind":"","endbind":"","pointList":[{"x":-12.049762331800004,"y":3.508735237255399},{"x":64.50290615795625,"y":-7.044170694510161}]},{"name":"北渭2","voltageLevel":"330kV","startSub":"","endSub":"渭南","startbind":"","endbind":"","pointList":[{"x":-12.932361403070736,"y":11.41620958623997},{"x":66.53835718379082,"y":-0.47033295872637204}]},{"name":"信渭1","voltageLevel":"330kV","startSub":"渭南","endSub":"信义","startbind":"","endbind":"信来1","pointList":[{"x":69.92958212512218,"y":-7.297817671910032},{"x":178.20172960064252,"y":-14.6135033121479}]},{"name":"信渭2","voltageLevel":"330kV","startSub":"渭南","endSub":"信义","startbind":"","endbind":"信禹2","pointList":[{"x":72.36814400520146,"y":-2.4206939117514494},{"x":173.81231821649982,"y":-9.248667175973456}]},{"name":"信上1","voltageLevel":"330kV","startSub":"上苑","endSub":"信义","startbind":"","endbind":"信咸2","pointList":[{"x":87.48722766169303,"y":107.31459069181656},{"x":175.27545534454737,"y":-9.248667175973459}]},{"name":"信上2","voltageLevel":"330kV","startSub":"上苑","endSub":"信义","startbind":"","endbind":"信咸1","pointList":[{"x":90.90121429380403,"y":113.16713920400684},{"x":180.64029148072186,"y":-5.834680543862427}]},{"name":"信秦","voltageLevel":"750kV","startSub":"信义","endSub":"秦岭750","startbind":"","endbind":"","pointList":[{"x":179.1771543526743,"y":-9.736379551989303},{"x":275.25649242779826,"y":20.014075384978}]},{"name":"信咸1","voltageLevel":"330kV","startSub":"咸林","endSub":"信义","startbind":"","endbind":"信上2","pointList":[{"x":236.2395023465296,"y":48.7891055699136},{"x":175.76316772056327,"y":-5.834680543862447}]},{"name":"信咸2","voltageLevel":"330kV","startSub":"咸林","endSub":"信义","startbind":"","endbind":"信上1","pointList":[{"x":240.1412013546565,"y":44.887406561786754},{"x":180.64029148072186,"y":-10.224091928005173}]},{"name":"咸鹤1","voltageLevel":"330kV","startSub":"咸林","endSub":"鹤城","startbind":"","endbind":"","pointList":[{"x":236.23950234652963,"y":45.86283131381846},{"x":221.12041869003806,"y":131.2124971165936}]},{"name":"咸鹤2","voltageLevel":"330kV","startSub":"咸林","endSub":"鹤城","startbind":"","endbind":"","pointList":[{"x":240.1412013546565,"y":46.8382560658502},{"x":226.97296720222832,"y":130.23707236456187}]},{"name":"咸罗1","voltageLevel":"330kV","startSub":"咸林","endSub":"罗敷","startbind":"","endbind":"","pointList":[{"x":238.6780642266089,"y":42.93655705772331},{"x":325.49086715743164,"y":91.70779465930909}]},{"name":"咸罗2","voltageLevel":"330kV","startSub":"咸林","endSub":"罗敷","startbind":"","endbind":"","pointList":[{"x":238.6780642266089,"y":50.73995507397706},{"x":326.4662919094633,"y":98.04805554751522}]},{"name":"罗赵1","voltageLevel":"330kV","startSub":"罗敷","endSub":"赵家坪牵","startbind":"","endbind":"","pointList":[{"x":326.4662919094633,"y":88.29380802719805},{"x":304.03152261273385,"y":51.71537982600876}]},{"name":"秦赵","voltageLevel":"330kV","startSub":"赵家坪牵","endSub":"秦岭330","startbind":"","endbind":"","pointList":[{"x":302.56838548468625,"y":43.91198180975505},{"x":357.1921715984623,"y":24.891199145136568}]},{"name":"罗秦3","voltageLevel":"330kV","startSub":"秦岭330","endSub":"罗敷","startbind":"","endbind":"","pointList":[{"x":363.5324324866684,"y":25.378911521152418},{"x":327.44171666149504,"y":90.73236990727736}]},{"name":"罗秦1","voltageLevel":"330kV","startSub":"罗敷","endSub":"秦岭二厂","startbind":"","endbind":"","pointList":[{"x":328.4171414135267,"y":89.75694515524566},{"x":391.3320379195724,"y":85.36753377110296}]},{"name":"罗秦2","voltageLevel":"330kV","startSub":"罗敷","endSub":"秦岭二厂","startbind":"","endbind":"","pointList":[{"x":325.00315478141573,"y":97.07263079548352},{"x":391.8197502955883,"y":92.19550703532497}]},{"name":"罗灵","voltageLevel":"330kV","startSub":"罗敷","endSub":"灵宝","startbind":"","endbind":"","pointList":[{"x":328.4171414135267,"y":92.19550703532497},{"x":414.7422319683335,"y":-15.588928064179612}]},{"name":"罗张","voltageLevel":"330kV","startSub":"罗敷","endSub":"张村","startbind":"","endbind":"","pointList":[{"x":325.00315478141573,"y":95.12178129142006},{"x":291.8387132123374,"y":149.2578550291803}]},{"name":"鹤张1","voltageLevel":"330kV","startSub":"鹤城","endSub":"张村","startbind":"","endbind":"","pointList":[{"x":225.0221176981649,"y":124.87223622838741},{"x":290.8632884603057,"y":144.38073126902174}]},{"name":"鹤张2","voltageLevel":"330kV","startSub":"鹤城","endSub":"张村","startbind":"","endbind":"","pointList":[{"x":226.48525482621247,"y":130.7247847405777},{"x":295.2526998444484,"y":151.20870453324375}]},{"name":"张鹿1","voltageLevel":"330kV","startSub":"张村","endSub":"鹿城","startbind":"","endbind":"","pointList":[{"x":292.32642558835323,"y":148.77014265316444},{"x":334.269689925717,"y":198.5168050067819}]},{"name":"张鹿2","voltageLevel":"330kV","startSub":"张村","endSub":"鹿城","startbind":"","endbind":"","pointList":[{"x":297.6912617245277,"y":144.38073126902174},{"x":339.1468136858756,"y":193.1519688706075}]},{"name":"信灵1","voltageLevel":"330kV","startSub":"灵宝","endSub":"信义","startbind":"","endbind":"","pointList":[{"x":414.2545195923177,"y":-20.953764200354044},{"x":181.61571623275358,"y":-12.662653808084471}]},{"name":"信灵2","voltageLevel":"330kV","startSub":"灵宝","endSub":"信义","startbind":"","endbind":"信禹3","pointList":[{"x":413.7668072163018,"y":-14.613503312147888},{"x":183.566565736817,"y":-8.27324242394174}]},{"name":"信来1","voltageLevel":"330kV","startSub":"来化牵","endSub":"信义","startbind":"","endbind":"信渭1","pointList":[{"x":281.1090409399886,"y":-63.38474091373365},{"x":174.78774296853155,"y":-16.564352816211308}]},{"name":"信来2","voltageLevel":"330kV","startSub":"来化牵","endSub":"信义","startbind":"","endbind":"信禹4","pointList":[{"x":282.5721780680361,"y":-60.45846665763852},{"x":182.59114098478528,"y":-14.125790936132026}]},{"name":"上东1","voltageLevel":"330kV","startSub":"上苑","endSub":"东郊","startbind":"","endbind":"","pointList":[{"x":83.09781627755031,"y":110.2408649479117},{"x":48.470237580424424,"y":63.90818922640517}]},{"name":"上东2","voltageLevel":"330kV","startSub":"上苑","endSub":"东郊","startbind":"","endbind":"","pointList":[{"x":89.43807716575647,"y":111.21628969994342},{"x":49.933374708471995,"y":57.56792833819907}]},{"name":"东代1","voltageLevel":"330kV","startSub":"东郊","endSub":"代王","startbind":"","endbind":"","pointList":[{"x":48.957949956440274,"y":56.10479121015147},{"x":98.70461231005777,"y":46.350543689834296}]},{"name":"东代2","voltageLevel":"330kV","startSub":"东郊","endSub":"代王","startbind":"","endbind":"","pointList":[{"x":50.9087994605037,"y":60.98191497031007},{"x":100.16774943810532,"y":51.71537982600876}]},{"name":"渭代","voltageLevel":"330kV","startSub":"代王","endSub":"渭南","startbind":"","endbind":"","pointList":[{"x":100.65546181412117,"y":47.32596844186605},{"x":70.9050068771539,"y":-1.932981535735589}]},{"name":"渭东","voltageLevel":"330kV","startSub":"渭南","endSub":"东郊","startbind":"","endbind":"","pointList":[{"x":66.51559549301115,"y":-1.4452691597197411},{"x":46.519388076361,"y":60.981914970310065}]},{"name":"咸东","voltageLevel":"330kV","startSub":"东郊","endSub":"","startbind":"","endbind":"","pointList":[{"x":51.39651183651958,"y":61.46962734632592},{"x":175.2754553445474,"y":87.31838327516638},{"x":240.62891373067237,"y":46.8382560658502}]},{"name":"咸代","voltageLevel":"330kV","startSub":"代王","endSub":"咸林","startbind":"","endbind":"","pointList":[{"x":103.09402369420047,"y":51.22766744999291},{"x":239.16577660262476,"y":44.3996941857709}]},{"name":"上南1","voltageLevel":"330kV","startSub":"上苑","endSub":"","startbind":"","endbind":"","pointList":[{"x":82.12239152551861,"y":111.2162896999434},{"x":-18.346357933748074,"y":133.16334662065697}]},{"name":"上南2","voltageLevel":"330kV","startSub":"上苑","endSub":"","startbind":"","endbind":"","pointList":[{"x":85.53637815762963,"y":117.06883821213367},{"x":-22.735769317890796,"y":140.47903226089485}]},{"name":"信禹1","voltageLevel":"330kV","startSub":"韩城二厂#1、2机","endSub":"信义","startbind":"","endbind":"","pointList":[{"x":104.06944844623217,"y":-155.0746676047149},{"x":174.78774296853157,"y":-9.736379551989302}]},{"name":"信禹2","voltageLevel":"330kV","startSub":"韩城二厂#1、2机","endSub":"信义","startbind":"","endbind":"信渭2","pointList":[{"x":106.99572270232734,"y":-160.4395037408893},{"x":177.71401722462667,"y":-12.66265380808447}]},{"name":"信禹3","voltageLevel":"330kV","startSub":"韩城二厂3、4号机","endSub":"信义","startbind":"","endbind":"信灵2","pointList":[{"x":162.10722119211928,"y":-157.02551710877833},{"x":176.25088009657915,"y":-16.564352816211308}]},{"name":"信禹4","voltageLevel":"330kV","startSub":"韩城二厂3、4号机","endSub":"信义","startbind":"","endbind":"信来2","pointList":[{"x":166.98434495227784,"y":-156.53780473276248},{"x":180.152579104706,"y":-16.07664044019546}]},{"name":"禹桢1","voltageLevel":"330kV","startSub":"韩城二厂3、4号机","endSub":"桢州","startbind":"","endbind":"","pointList":[{"x":166.9843449522778,"y":-161.9026408689369},{"x":214.29244542581603,"y":-147.75898196447702}]},{"name":"禹桢2","voltageLevel":"330kV","startSub":"韩城二厂3、4号机","endSub":"桢州","startbind":"","endbind":"","pointList":[{"x":165.0334954482144,"y":-153.12381810065148},{"x":214.78015780183188,"y":-140.44329632423916}]},{"name":"韩二站内","voltageLevel":"330kV","startSub":"韩城二厂#1、2机","endSub":"韩城二厂3、4号机","startbind":"","endbind":"","pointList":[{"x":106.50801032631148,"y":-158.4886542368259},{"x":167.95976970430956,"y":-161.41492849292104}]},{"name":"韩二站内_1","voltageLevel":"330kV","startSub":"韩城二厂#1、2机","endSub":"韩城二厂3、4号机","startbind":"","endbind":"","pointList":[{"x":105.53258557427978,"y":-151.6606809726039},{"x":164.0580706961827,"y":-153.12381810065148}]},{"name":"西高","voltageLevel":"330kV","startSub":"西庄","endSub":"高明","startbind":"","endbind":"","pointList":[{"x":41.154551940186565,"y":-147.75898196447702},{"x":48.470237580424424,"y":-80.45467407428868}]},{"name":"渭高","voltageLevel":"330kV","startSub":"高明","endSub":"渭南","startbind":"","endbind":"","pointList":[{"x":48.470237580424424,"y":-80.45467407428868},{"x":68.4664449970746,"y":-6.322392919878311}]},{"name":"高奇1","voltageLevel":"330kV","startSub":"高明","endSub":"太奇里","startbind":"","endbind":"","pointList":[{"x":46.03167570034512,"y":-84.84408545843141},{"x":-6.153548533351629,"y":-79.47924932225698}]},{"name":"高奇2","voltageLevel":"330kV","startSub":"高明","endSub":"太奇里","startbind":"","endbind":"","pointList":[{"x":47.982525204408574,"y":-77.52839981819352},{"x":-6.641260909367503,"y":-73.13898843405082}]},{"name":"禹西1","voltageLevel":"330kV","startSub":"韩城二厂#1、2机","endSub":"西庄","startbind":"","endbind":"","pointList":[{"x":106.99572270232733,"y":-157.51322948479418},{"x":45.05625094831342,"y":-148.2466943404929}]},{"name":"西韩","voltageLevel":"330kV","startSub":"西庄","endSub":"","startbind":"","endbind":"","pointList":[{"x":39.20370243612314,"y":-148.2466943404929},{"x":-63.70360890322284,"y":-155.56237998073075}]},{"name":"禹西2","voltageLevel":"330kV","startSub":"西庄","endSub":"韩城二厂#1、2机","startbind":"","endbind":"","pointList":[{"x":46.03167570034512,"y":-142.3941458283026},{"x":107.97114745435908,"y":-154.09924285268318}]},{"name":"鹤柞","voltageLevel":"330kV","startSub":"鹤城","endSub":"","startbind":"","endbind":"","pointList":[{"x":217.70643205792703,"y":126.82308573245086},{"x":116.26225784662864,"y":163.40151393364016}]},{"name":"鹤香","voltageLevel":"330kV","startSub":"鹤城","endSub":"","startbind":"","endbind":"","pointList":[{"x":224.0466929461332,"y":134.13877137268872},{"x":138.69702714335807,"y":203.39392876694052}]},{"name":"信洛2","voltageLevel":"750kV","startSub":"信义","endSub":"洛川","startbind":"乾信1","endbind":"","pointList":[{"x":182.59114098478528,"y":-12.174941432068607},{"x":254.28486025911636,"y":-164.82891512503207},{"x":177.7140172246267,"y":-223.84211262295082}]},{"name":"信山1","voltageLevel":"750kV","startSub":"信义","endSub":"南山","startbind":"","endbind":"","pointList":[{"x":175.7631677205633,"y":-0.46984440768801683},{"x":139.18473951937395,"y":118.04426296416537},{"x":-42.73197673454098,"y":205.8324906470198}]},{"name":"信洛1","voltageLevel":"750kV","startSub":"信义","endSub":"洛川","startbind":"乾信2","endbind":"","pointList":[{"x":176.25088009657912,"y":-14.125790936132034},{"x":245.99374986684677,"y":-161.41492849292104},{"x":173.32460584048397,"y":-218.47727648677642}]},{"name":"乾信2","voltageLevel":"750kV","startSub":"信义","endSub":"乾县","startbind":"信洛1","endbind":"","pointList":[{"x":168.93519445634126,"y":-12.174941432068607},{"x":97.24147518201016,"y":-41.92539636903592},{"x":-97.84347522433289,"y":-23.39232608043332}]},{"name":"乾信1","voltageLevel":"750kV","startSub":"信义","endSub":"乾县","startbind":"信洛2","endbind":"","pointList":[{"x":171.37375633642057,"y":-16.07664044019546},{"x":96.75376280599431,"y":-49.72879438528963},{"x":-96.86805047230116,"y":-30.22029934465533}]}],"generation":[]}
export default xinyiData