ow-eengine-power 2.0.9 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/OW_EEngine_Power.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
var
|
|
2
|
-
var G = (p, f, e) => f in p ?
|
|
1
|
+
var z = Object.defineProperty;
|
|
2
|
+
var G = (p, f, e) => f in p ? z(p, f, { enumerable: !0, configurable: !0, writable: !0, value: e }) : p[f] = e;
|
|
3
3
|
var A = (p, f, e) => G(p, typeof f != "symbol" ? f + "" : f, e);
|
|
4
4
|
function o(p, f, e = 10, n = "#ba1919") {
|
|
5
5
|
return {
|
|
@@ -1347,7 +1347,7 @@ function U(p) {
|
|
|
1347
1347
|
}
|
|
1348
1348
|
return e;
|
|
1349
1349
|
}
|
|
1350
|
-
function
|
|
1350
|
+
function O(p) {
|
|
1351
1351
|
const f = {};
|
|
1352
1352
|
return p.forEach((e) => {
|
|
1353
1353
|
e.displacements.forEach((n) => {
|
|
@@ -1366,8 +1366,8 @@ class ts {
|
|
|
1366
1366
|
A(this, "TowerFZS");
|
|
1367
1367
|
A(this, "Keym", "");
|
|
1368
1368
|
// 模型模型集合
|
|
1369
|
-
A(this, "dataSource2"
|
|
1370
|
-
A(this, "entityCollection2"
|
|
1369
|
+
A(this, "dataSource2");
|
|
1370
|
+
A(this, "entityCollection2");
|
|
1371
1371
|
A(this, "TowerNodes", []);
|
|
1372
1372
|
A(this, "connections", []);
|
|
1373
1373
|
A(this, "displacementData", []);
|
|
@@ -1377,7 +1377,7 @@ class ts {
|
|
|
1377
1377
|
// private byTimes:TimePointData[]=[];
|
|
1378
1378
|
// 或者如果是Node.js环境:
|
|
1379
1379
|
A(this, "_animationInterval", null);
|
|
1380
|
-
this.Keym = n, this.viewer = f, this.TowerFZS = e;
|
|
1380
|
+
this.Keym = n, this.viewer = f, this.TowerFZS = e, this.dataSource2 = new Cesium.CustomDataSource(this.TowerFZS.id), this.entityCollection2 = this.dataSource2.entities;
|
|
1381
1381
|
}
|
|
1382
1382
|
loadfile() {
|
|
1383
1383
|
if (this.Keym != "OW_JPS_EEngin_001")
|
|
@@ -1406,7 +1406,7 @@ class ts {
|
|
|
1406
1406
|
loadFZDISTower(f) {
|
|
1407
1407
|
if (this.Keym !== "OW_JPS_EEngin_001")
|
|
1408
1408
|
return;
|
|
1409
|
-
const n =
|
|
1409
|
+
const n = O(this.displacementData)[f];
|
|
1410
1410
|
debugger;
|
|
1411
1411
|
if (!n) {
|
|
1412
1412
|
console.warn(`未找到时间步 ${f} 的位移数据`);
|
|
@@ -1460,7 +1460,7 @@ class ts {
|
|
|
1460
1460
|
loadFZDISTower1(f) {
|
|
1461
1461
|
if (this.Keym != "OW_JPS_EEngin_001")
|
|
1462
1462
|
return;
|
|
1463
|
-
const e =
|
|
1463
|
+
const e = O(this.displacementData);
|
|
1464
1464
|
let n = new Cesium.HeadingPitchRoll(Cesium.Math.toRadians(this.TowerFZS.RollX), this.TowerFZS.RollY, this.TowerFZS.RollZ);
|
|
1465
1465
|
const s = Cesium.Cartesian3.fromDegrees(this.TowerFZS.Longitude, this.TowerFZS.Latitude, this.TowerFZS.Altitude);
|
|
1466
1466
|
this.connections.forEach((k) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(Z,o){typeof exports=="object"&&typeof module<"u"?o(exports):typeof define=="function"&&define.amd?define(["exports"],o):(Z=typeof globalThis<"u"?globalThis:Z||self,o(Z.OW_EEngine_Power={}))})(this,function(Z){"use strict";var is=Object.defineProperty;var ts=(Z,o,D)=>o in Z?is(Z,o,{enumerable:!0,configurable:!0,writable:!0,value:D}):Z[o]=D;var A=(Z,o,D)=>ts(Z,typeof o!="symbol"?o+"":o,D);function o(I,f,e=10,n="#ba1919"){return{name:f,label:{text:f,font:"18px sans-serif"},polyline:{show:!0,positions:I,clampToGround:!1,width:e,material:Cesium.Color.fromCssColorString(n),arcType:Cesium.ArcType.NONE,shadows:Cesium.ShadowMode.DISABLED}}}function D(I,f,e,n,s=new Cesium.HeadingPitchRoll(0,0,0),k=1){return{id:I,name:e,position:f,orientation:Cesium.Transforms.headingPitchRollQuaternion(f,s),model:{show:!0,uri:n,scale:k,heightReference:Cesium.HeightReference.NONE}}}function H(I,f){return{name:f,position:I,label:{text:f,font:"18px sans-serif",fillColor:Cesium.Color.GOLD,pixelOffset:new Cesium.Cartesian2(0,-20),style:Cesium.LabelStyle.FILL_AND_OUTLINE,outlineWidth:2,outlineColor:Cesium.Color.BLACK,heightReference:Cesium.HeightReference.NONE,distanceDisplayCondition:new Cesium.DistanceDisplayCondition(0,1e4)},point:{color:Cesium.Color.RED,pixelSize:12,heightReference:Cesium.HeightReference.NONE,distanceDisplayCondition:new Cesium.DistanceDisplayCondition(0,1e4)}}}function l(I,f,e,n,s){e||(e=new Cesium.HeadingPitchRoll);const k=Cesium.Transforms.headingPitchRollQuaternion(I,e,n,s),W=Cesium.Matrix4.fromRotationTranslation(Cesium.Matrix3.fromQuaternion(k,new Cesium.Matrix3),I,new Cesium.Matrix4);return Cesium.Matrix4.multiplyByPoint(W,f,new Cesium.Cartesian3)}function r(I,f=4){const e=[];for(var n=0;n<I.length-1;n++)e.push(...K(I[n],I[n+1],f*-1e3,100));return e}function K(I,f,e,n){var s=[],k=Cesium.Cartographic.fromCartesian(I),W=Cesium.Cartographic.fromCartesian(f),m=k.longitude*180/Math.PI,t=k.latitude*180/Math.PI,i=W.longitude*180/Math.PI,h=W.latitude*180/Math.PI,a=Math.sqrt((m-i)*(m-i)+(t-h)*(t-h)),c=a*e,T=Cesium.Cartesian3.clone(I),B=Cesium.Cartesian3.clone(f),d=Cesium.Cartesian3.distance(T,Cesium.Cartesian3.ZERO),C=Cesium.Cartesian3.distance(B,Cesium.Cartesian3.ZERO);if(Cesium.Cartesian3.normalize(T,T),Cesium.Cartesian3.normalize(B,B),Cesium.Cartesian3.distance(T,B)==0)return s;var p=Cesium.Cartesian3.angleBetween(T,B);s.push(I);for(var L=1;L<n-1;L++){var w=L*1/(n-1),P=1-w,y=Math.sin(P*p)/Math.sin(p),_=Math.sin(w*p)/Math.sin(p),b=Cesium.Cartesian3.multiplyByScalar(T,y,new Cesium.Cartesian3),X=Cesium.Cartesian3.multiplyByScalar(B,_,new Cesium.Cartesian3),g=Cesium.Cartesian3.add(b,X,new Cesium.Cartesian3),Y=w*Math.PI,F=d*P+C*w+Math.sin(Y)*c;g=Cesium.Cartesian3.multiplyByScalar(g,F,g),s.push(g)}return s.push(f),s}class J{constructor(){A(this,"LineID","myEntity1");A(this,"Tag","");A(this,"towers",[]);A(this,"ISPhaseSequence",!1);A(this,"Wairnum",0);A(this,"Type",0);A(this,"wireAColor","#FFFFFF");A(this,"wireBColor","#FFFFFF");A(this,"wireCColor","#FFFFFF");A(this,"wireTColor","#FFFFFF");A(this,"wireD1Color","#FFFFFF");A(this,"wireD2Color","#FFFFFF");A(this,"wireWidth",1)}}class q{constructor(){A(this,"id","");A(this,"name","");A(this,"type",0);A(this,"Longitude",0);A(this,"Latitude",0);A(this,"Altitude",0);A(this,"RollX",0);A(this,"RollY",90);A(this,"RollZ",0);A(this,"towerScale",1);A(this,"towerHeight",42);A(this,"towerModelUri","");A(this,"towerPoint",[]);A(this,"Insulators",[])}}class U{constructor(){A(this,"id","");A(this,"name","");A(this,"type",0);A(this,"WairFX","进");A(this,"linenum",1);A(this,"Wairnum",0);A(this,"PhaseSequence",0);A(this,"RollX",90);A(this,"RollY",0);A(this,"RollZ",0);A(this,"InsulatorScale",1);A(this,"InsulatorLength",0);A(this,"InsulatorModelUri","");A(this,"InsulatorPoint",[])}}class ${constructor(){A(this,"name","");A(this,"X",-45);A(this,"Y",90);A(this,"Z",0)}}var v=(I=>(I[I.A相=0]="A相",I[I.B相=1]="B相",I[I.C相=2]="C相",I[I.地线1=3]="地线1",I[I.地线2=4]="地线2",I))(v||{}),N=(I=>(I[I.直线塔=0]="直线塔",I[I.耐张塔=1]="耐张塔",I[I.门架塔=2]="门架塔",I[I.换位塔=3]="换位塔",I))(N||{}),z=(I=>(I[I.交流单回路=0]="交流单回路",I[I.交流双回路=1]="交流双回路",I[I.直流单回路=2]="直流单回路",I[I.直流双回路=3]="直流双回路",I[I.交流四回路=4]="交流四回路",I))(z||{}),O=(I=>(I[I.地线=0]="地线",I[I.回路一=1]="回路一",I[I.回路二=2]="回路二",I[I.回路三=3]="回路三",I[I.回路四=4]="回路四",I))(O||{}),S=(I=>(I[I.悬垂串=0]="悬垂串",I[I.耐张串=1]="耐张串",I[I.跳线串=2]="跳线串",I[I.硬跳串=3]="硬跳串",I[I.V串=4]="V串",I[I.地线串=5]="地线串",I[I.绕跳临时=6]="绕跳临时",I))(S||{}),u=(I=>(I[I.单分裂=0]="单分裂",I[I.双分裂=1]="双分裂",I[I.四分裂=2]="四分裂",I[I.六分裂=3]="六分裂",I[I.八分裂=4]="八分裂",I))(u||{});class Q{constructor(f,e,n){A(this,"viewer");A(this,"LineInfo");A(this,"Keym","");A(this,"dataSource2");A(this,"entityCollection2");A(this,"offsetTowers",[]);A(this,"offsetWires11",[]);A(this,"offsetWires12",[]);A(this,"offsetWires13",[]);A(this,"offsetWires21",[]);A(this,"offsetWires22",[]);A(this,"offsetWires23",[]);A(this,"ToffsetArcWires1A",[]);A(this,"ToffsetArcWires2A",[]);A(this,"ToffsetWires1A1",[]);A(this,"ToffsetWires1A2",[]);A(this,"ToffsetArcWires1B",[]);A(this,"ToffsetArcWires2B",[]);A(this,"ToffsetWires1B1",[]);A(this,"ToffsetWires1B2",[]);A(this,"ToffsetArcWires1C",[]);A(this,"ToffsetArcWires2C",[]);A(this,"ToffsetWires1C1",[]);A(this,"ToffsetWires1C2",[]);A(this,"ToffsetArcWires1A2",[]);A(this,"ToffsetArcWires2A2",[]);A(this,"ToffsetWires2A1",[]);A(this,"ToffsetWires2A2",[]);A(this,"ToffsetArcWires1B2",[]);A(this,"ToffsetArcWires2B2",[]);A(this,"ToffsetWires2B1",[]);A(this,"ToffsetWires2B2",[]);A(this,"ToffsetArcWires1C2",[]);A(this,"ToffsetArcWires2C2",[]);A(this,"ToffsetWires2C1",[]);A(this,"ToffsetWires2C2",[]);A(this,"offsetArcWires1A",[]);A(this,"offsetArcWires1B",[]);A(this,"offsetArcWires1C",[]);A(this,"offsetArcWires2A",[]);A(this,"offsetArcWires2B",[]);A(this,"offsetArcWires2C",[]);A(this,"offsetGrouundWires1",[]);A(this,"offsetGrouundWires2",[]);A(this,"offsetGrouundWires11",[]);A(this,"offsetGrouundWires12",[]);this.Keym=n,this.viewer=f,this.LineInfo=e,this.dataSource2=new Cesium.CustomDataSource(this.LineInfo.LineID),this.entityCollection2=this.dataSource2.entities}loadLineTower(){if(this.Keym!="OW_JPS_EEngin_001")return;debugger;this.LineInfo.towers.forEach(n=>{this.offsetTowers.push(Cesium.Cartesian3.fromDegrees(n.Longitude,n.Latitude,n.Altitude))});let f=0,e=0;this.offsetTowers.forEach((n,s)=>{const k=new Cesium.HeadingPitchRoll(Cesium.Math.toRadians(this.LineInfo.towers[s].RollX),Cesium.Math.toRadians(this.LineInfo.towers[s].RollY),Cesium.Math.toRadians(this.LineInfo.towers[s].RollZ));this.entityCollection2.add(D(this.LineInfo.towers[s].id,n,this.LineInfo.towers[s].name,this.LineInfo.towers[s].towerModelUri,k,this.LineInfo.towers[s].towerScale));let W=new Cesium.HeadingPitchRoll(Cesium.Math.toRadians(this.LineInfo.towers[s].RollX),0,0),m=0;this.LineInfo.towers[s].Insulators.forEach(t=>{if(this.LineInfo.towers[s].type==N.耐张塔)switch(t.type){case S.耐张串:let h=new Cesium.HeadingPitchRoll(Cesium.Math.toRadians(this.LineInfo.towers[s].RollX),0,0);if(t.WairFX=="进"){const d=new Cesium.HeadingPitchRoll(Cesium.Math.toRadians(t.RollX),Cesium.Math.toRadians(-90),Cesium.Math.toRadians(180)),C=l(n,new Cesium.Cartesian3(this.LineInfo.towers[s].towerPoint[m].X,this.LineInfo.towers[s].towerPoint[m].Y,this.LineInfo.towers[s].towerPoint[m].Z),h);this.entityCollection2.add(D(t.id,C,t.name,t.InsulatorModelUri,d,t.InsulatorScale))}else{const d=new Cesium.HeadingPitchRoll(Cesium.Math.toRadians(t.RollX),Cesium.Math.toRadians(-90),Cesium.Math.toRadians(0)),C=l(n,new Cesium.Cartesian3(this.LineInfo.towers[s].towerPoint[m].X,this.LineInfo.towers[s].towerPoint[m].Y,this.LineInfo.towers[s].towerPoint[m].Z),h);this.entityCollection2.add(D(t.id,C,t.name,t.InsulatorModelUri,d,t.InsulatorScale))}break;case S.跳线串:const a=new Cesium.HeadingPitchRoll(Cesium.Math.toRadians(t.RollX),Cesium.Math.toRadians(t.RollY),Cesium.Math.toRadians(t.RollZ)),c=l(n,new Cesium.Cartesian3(this.LineInfo.towers[s].towerPoint[m].X,this.LineInfo.towers[s].towerPoint[m].Y,this.LineInfo.towers[s].towerPoint[m].Z),W);this.entityCollection2.add(D(t.id,c,t.name,t.InsulatorModelUri,a,t.InsulatorScale));break;case S.地线串:const T=new Cesium.HeadingPitchRoll(Cesium.Math.toRadians(t.RollX),Cesium.Math.toRadians(t.RollY),Cesium.Math.toRadians(t.RollZ)),B=l(n,new Cesium.Cartesian3(this.LineInfo.towers[s].towerPoint[m].X,this.LineInfo.towers[s].towerPoint[m].Y,this.LineInfo.towers[s].towerPoint[m].Z),W);this.entityCollection2.add(D(t.id,B,t.name,t.InsulatorModelUri,T,t.InsulatorScale));break}else{const h=new Cesium.HeadingPitchRoll(Cesium.Math.toRadians(t.RollX),Cesium.Math.toRadians(t.RollY),Cesium.Math.toRadians(t.RollZ)),a=l(n,new Cesium.Cartesian3(this.LineInfo.towers[s].towerPoint[m].X,this.LineInfo.towers[s].towerPoint[m].Y,this.LineInfo.towers[s].towerPoint[m].Z),W);this.entityCollection2.add(D(t.id,a,t.name,t.InsulatorModelUri,h,t.InsulatorScale))}const i=[];switch(t.InsulatorPoint.forEach(h=>{i.push(l(n,new Cesium.Cartesian3(h.X,h.Y,h.Z),W))}),t.linenum){case O.回路一:if(this.LineInfo.ISPhaseSequence)if(this.LineInfo.towers[s].type==N.耐张塔)switch(t.PhaseSequence){case v.A相:if(t.type==S.耐张串)if(t.WairFX=="进")switch(this.LineInfo.Wairnum){case u.单分裂:this.offsetWires11.push(i[0]),this.ToffsetWires1A1.push(i[0]);break;case u.双分裂:this.offsetWires11.push(i[0]),this.offsetWires11.push(i[1]),this.ToffsetWires1A1.push(i[2]),this.ToffsetWires1A1.push(i[3]);break;case u.四分裂:this.offsetWires11.push(i[0]),this.offsetWires11.push(i[1]),this.offsetWires11.push(i[2]),this.offsetWires11.push(i[3]),this.ToffsetWires1A1.push(i[4]),this.ToffsetWires1A1.push(i[5]),this.ToffsetWires1A1.push(i[6]),this.ToffsetWires1A1.push(i[7]);break;case u.六分裂:this.offsetWires11.push(i[0]),this.offsetWires11.push(i[1]),this.offsetWires11.push(i[2]),this.offsetWires11.push(i[3]),this.offsetWires11.push(i[4]),this.offsetWires11.push(i[5]),this.ToffsetWires1A1.push(i[6]),this.ToffsetWires1A1.push(i[7]),this.ToffsetWires1A1.push(i[8]),this.ToffsetWires1A1.push(i[9]),this.ToffsetWires1A1.push(i[10]),this.ToffsetWires1A1.push(i[11]);break;case u.八分裂:this.offsetWires11.push(i[0]),this.offsetWires11.push(i[1]),this.offsetWires11.push(i[2]),this.offsetWires11.push(i[3]),this.offsetWires11.push(i[4]),this.offsetWires11.push(i[5]),this.offsetWires11.push(i[6]),this.offsetWires11.push(i[7]),this.ToffsetWires1A1.push(i[8]),this.ToffsetWires1A1.push(i[9]),this.ToffsetWires1A1.push(i[10]),this.ToffsetWires1A1.push(i[11]),this.ToffsetWires1A1.push(i[12]),this.ToffsetWires1A1.push(i[13]),this.ToffsetWires1A1.push(i[14]),this.ToffsetWires1A1.push(i[15]);break}else switch(this.LineInfo.Wairnum){case u.单分裂:const h=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W);this.offsetWires11.push(h),this.ToffsetWires1A2.push(h);break;case u.双分裂:const a=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),c=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W);this.offsetWires11.push(a),this.offsetWires11.push(c),this.ToffsetWires1A2.push(a),this.ToffsetWires1A2.push(c);break;case u.四分裂:const T=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),B=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),d=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),C=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W);this.offsetWires11.push(T),this.offsetWires11.push(B),this.offsetWires11.push(d),this.offsetWires11.push(C),this.ToffsetWires1A2.push(T),this.ToffsetWires1A2.push(B),this.ToffsetWires1A2.push(d),this.ToffsetWires1A2.push(C);break;case u.六分裂:const p=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),L=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),w=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),P=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W),y=l(n,new Cesium.Cartesian3(t.InsulatorPoint[4].X*-1,t.InsulatorPoint[4].Y,t.InsulatorPoint[4].Z),W),_=l(n,new Cesium.Cartesian3(t.InsulatorPoint[5].X*-1,t.InsulatorPoint[5].Y,t.InsulatorPoint[5].Z),W);this.offsetWires11.push(p),this.offsetWires11.push(L),this.offsetWires11.push(w),this.offsetWires11.push(P),this.offsetWires11.push(y),this.offsetWires11.push(_),this.ToffsetWires1A2.push(p),this.ToffsetWires1A2.push(L),this.ToffsetWires1A2.push(w),this.ToffsetWires1A2.push(P),this.ToffsetWires1A2.push(y),this.ToffsetWires1A2.push(_);break;case u.八分裂:const b=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),X=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),g=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),Y=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W),F=l(n,new Cesium.Cartesian3(t.InsulatorPoint[4].X*-1,t.InsulatorPoint[4].Y,t.InsulatorPoint[4].Z),W),R=l(n,new Cesium.Cartesian3(t.InsulatorPoint[5].X*-1,t.InsulatorPoint[5].Y,t.InsulatorPoint[5].Z),W),M=l(n,new Cesium.Cartesian3(t.InsulatorPoint[6].X*-1,t.InsulatorPoint[6].Y,t.InsulatorPoint[6].Z),W),E=l(n,new Cesium.Cartesian3(t.InsulatorPoint[7].X*-1,t.InsulatorPoint[7].Y,t.InsulatorPoint[7].Z),W);this.offsetWires11.push(b),this.offsetWires11.push(X),this.offsetWires11.push(g),this.offsetWires11.push(Y),this.offsetWires11.push(F),this.offsetWires11.push(R),this.offsetWires11.push(M),this.offsetWires11.push(E),this.ToffsetWires1A2.push(b),this.ToffsetWires1A2.push(X),this.ToffsetWires1A2.push(g),this.ToffsetWires1A2.push(Y),this.ToffsetWires1A2.push(F),this.ToffsetWires1A2.push(R),this.ToffsetWires1A2.push(M),this.ToffsetWires1A2.push(E);break}else if(t.type==S.跳线串)switch(this.LineInfo.Wairnum){case u.单分裂:this.ToffsetWires1A1.push(i[0]),this.ToffsetWires1A2.push(i[0]);break;case u.双分裂:this.ToffsetWires1A1.push(i[0]),this.ToffsetWires1A1.push(i[1]),this.ToffsetWires1A2.push(i[2]),this.ToffsetWires1A2.push(i[3]);break;case u.四分裂:this.ToffsetWires1A1.push(i[0]),this.ToffsetWires1A1.push(i[1]),this.ToffsetWires1A1.push(i[2]),this.ToffsetWires1A1.push(i[3]),this.ToffsetWires1A2.push(i[4]),this.ToffsetWires1A2.push(i[5]),this.ToffsetWires1A2.push(i[6]),this.ToffsetWires1A2.push(i[7]);break;case u.六分裂:this.ToffsetWires1A1.push(i[0]),this.ToffsetWires1A1.push(i[1]),this.ToffsetWires1A1.push(i[2]),this.ToffsetWires1A1.push(i[3]),this.ToffsetWires1A1.push(i[4]),this.ToffsetWires1A1.push(i[5]),this.ToffsetWires1A2.push(i[6]),this.ToffsetWires1A2.push(i[7]),this.ToffsetWires1A2.push(i[8]),this.ToffsetWires1A2.push(i[9]),this.ToffsetWires1A2.push(i[10]),this.ToffsetWires1A2.push(i[11]);break;case u.八分裂:this.ToffsetWires1A1.push(i[0]),this.ToffsetWires1A1.push(i[1]),this.ToffsetWires1A1.push(i[2]),this.ToffsetWires1A1.push(i[3]),this.ToffsetWires1A1.push(i[4]),this.ToffsetWires1A1.push(i[5]),this.ToffsetWires1A1.push(i[6]),this.ToffsetWires1A1.push(i[7]),this.ToffsetWires1A2.push(i[8]),this.ToffsetWires1A2.push(i[9]),this.ToffsetWires1A2.push(i[10]),this.ToffsetWires1A2.push(i[11]),this.ToffsetWires1A2.push(i[12]),this.ToffsetWires1A2.push(i[13]),this.ToffsetWires1A2.push(i[14]),this.ToffsetWires1A2.push(i[15]);break}break;case v.B相:if(t.type==S.耐张串)if(t.WairFX=="进")switch(this.LineInfo.Wairnum){case u.单分裂:this.offsetWires12.push(i[0]),this.ToffsetWires1B1.push(i[0]);break;case u.双分裂:this.offsetWires12.push(i[0]),this.offsetWires12.push(i[1]),this.ToffsetWires1B1.push(i[2]),this.ToffsetWires1B1.push(i[3]);break;case u.四分裂:this.offsetWires12.push(i[0]),this.offsetWires12.push(i[1]),this.offsetWires12.push(i[2]),this.offsetWires12.push(i[3]),this.ToffsetWires1B1.push(i[4]),this.ToffsetWires1B1.push(i[5]),this.ToffsetWires1B1.push(i[6]),this.ToffsetWires1B1.push(i[7]);break;case u.六分裂:this.offsetWires12.push(i[0]),this.offsetWires12.push(i[1]),this.offsetWires12.push(i[2]),this.offsetWires12.push(i[3]),this.offsetWires12.push(i[4]),this.offsetWires12.push(i[5]),this.ToffsetWires1B1.push(i[6]),this.ToffsetWires1B1.push(i[7]),this.ToffsetWires1B1.push(i[8]),this.ToffsetWires1B1.push(i[9]),this.ToffsetWires1B1.push(i[10]),this.ToffsetWires1B1.push(i[11]);break;case u.八分裂:this.offsetWires12.push(i[0]),this.offsetWires12.push(i[1]),this.offsetWires12.push(i[2]),this.offsetWires12.push(i[3]),this.offsetWires12.push(i[4]),this.offsetWires12.push(i[5]),this.offsetWires12.push(i[6]),this.offsetWires12.push(i[7]),this.ToffsetWires1B1.push(i[8]),this.ToffsetWires1B1.push(i[9]),this.ToffsetWires1B1.push(i[10]),this.ToffsetWires1B1.push(i[11]),this.ToffsetWires1B1.push(i[12]),this.ToffsetWires1B1.push(i[13]),this.ToffsetWires1B1.push(i[14]),this.ToffsetWires1B1.push(i[15]);break}else switch(this.LineInfo.Wairnum){case u.单分裂:const h=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W);this.offsetWires12.push(h),this.ToffsetWires1B2.push(h);break;case u.双分裂:const a=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),c=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W);this.offsetWires12.push(a),this.offsetWires12.push(c),this.ToffsetWires1B2.push(a),this.ToffsetWires1B2.push(c);break;case u.四分裂:const T=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),B=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),d=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),C=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W);this.offsetWires12.push(T),this.offsetWires12.push(B),this.offsetWires12.push(d),this.offsetWires12.push(C),this.ToffsetWires1B2.push(T),this.ToffsetWires1B2.push(B),this.ToffsetWires1B2.push(d),this.ToffsetWires1B2.push(C);break;case u.六分裂:const p=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),L=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),w=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),P=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W),y=l(n,new Cesium.Cartesian3(t.InsulatorPoint[4].X*-1,t.InsulatorPoint[4].Y,t.InsulatorPoint[4].Z),W),_=l(n,new Cesium.Cartesian3(t.InsulatorPoint[5].X*-1,t.InsulatorPoint[5].Y,t.InsulatorPoint[5].Z),W);this.offsetWires12.push(p),this.offsetWires12.push(L),this.offsetWires12.push(w),this.offsetWires12.push(P),this.offsetWires12.push(y),this.offsetWires12.push(_),this.ToffsetWires1B2.push(p),this.ToffsetWires1B2.push(L),this.ToffsetWires1B2.push(w),this.ToffsetWires1B2.push(P),this.ToffsetWires1B2.push(y),this.ToffsetWires1B2.push(_);break;case u.八分裂:const b=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),X=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),g=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),Y=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W),F=l(n,new Cesium.Cartesian3(t.InsulatorPoint[4].X*-1,t.InsulatorPoint[4].Y,t.InsulatorPoint[4].Z),W),R=l(n,new Cesium.Cartesian3(t.InsulatorPoint[5].X*-1,t.InsulatorPoint[5].Y,t.InsulatorPoint[5].Z),W),M=l(n,new Cesium.Cartesian3(t.InsulatorPoint[6].X*-1,t.InsulatorPoint[6].Y,t.InsulatorPoint[6].Z),W),E=l(n,new Cesium.Cartesian3(t.InsulatorPoint[7].X*-1,t.InsulatorPoint[7].Y,t.InsulatorPoint[7].Z),W);this.offsetWires12.push(b),this.offsetWires12.push(X),this.offsetWires12.push(g),this.offsetWires12.push(Y),this.offsetWires12.push(F),this.offsetWires12.push(R),this.offsetWires12.push(M),this.offsetWires12.push(E),this.ToffsetWires1B2.push(b),this.ToffsetWires1B2.push(X),this.ToffsetWires1B2.push(g),this.ToffsetWires1B2.push(Y),this.ToffsetWires1B2.push(F),this.ToffsetWires1B2.push(R),this.ToffsetWires1B2.push(M),this.ToffsetWires1B2.push(E);break}else if(t.type==S.跳线串)switch(this.LineInfo.Wairnum){case u.单分裂:this.ToffsetWires1B1.push(i[0]),this.ToffsetWires1B2.push(i[0]);break;case u.双分裂:this.ToffsetWires1B1.push(i[0]),this.ToffsetWires1B1.push(i[1]),this.ToffsetWires1B2.push(i[2]),this.ToffsetWires1B2.push(i[3]);break;case u.四分裂:this.ToffsetWires1B1.push(i[0]),this.ToffsetWires1B1.push(i[1]),this.ToffsetWires1B1.push(i[2]),this.ToffsetWires1B1.push(i[3]),this.ToffsetWires1B2.push(i[4]),this.ToffsetWires1B2.push(i[5]),this.ToffsetWires1B2.push(i[6]),this.ToffsetWires1B2.push(i[7]);break;case u.六分裂:this.ToffsetWires1B1.push(i[0]),this.ToffsetWires1B1.push(i[1]),this.ToffsetWires1B1.push(i[2]),this.ToffsetWires1B1.push(i[3]),this.ToffsetWires1B1.push(i[4]),this.ToffsetWires1B1.push(i[5]),this.ToffsetWires1B2.push(i[6]),this.ToffsetWires1B2.push(i[7]),this.ToffsetWires1B2.push(i[8]),this.ToffsetWires1B2.push(i[9]),this.ToffsetWires1B2.push(i[10]),this.ToffsetWires1B2.push(i[11]);break;case u.八分裂:this.ToffsetWires1B1.push(i[0]),this.ToffsetWires1B1.push(i[1]),this.ToffsetWires1B1.push(i[2]),this.ToffsetWires1B1.push(i[3]),this.ToffsetWires1B1.push(i[4]),this.ToffsetWires1B1.push(i[5]),this.ToffsetWires1B1.push(i[6]),this.ToffsetWires1B1.push(i[7]),this.ToffsetWires1B2.push(i[8]),this.ToffsetWires1B2.push(i[9]),this.ToffsetWires1B2.push(i[10]),this.ToffsetWires1B2.push(i[11]),this.ToffsetWires1B2.push(i[12]),this.ToffsetWires1B2.push(i[13]),this.ToffsetWires1B2.push(i[14]),this.ToffsetWires1B2.push(i[15]);break}break;case v.C相:if(t.type==S.耐张串)if(t.WairFX=="进")switch(this.LineInfo.Wairnum){case u.单分裂:this.offsetWires13.push(i[0]),this.ToffsetWires1C1.push(i[0]);break;case u.双分裂:this.offsetWires13.push(i[0]),this.offsetWires13.push(i[1]),this.ToffsetWires1C1.push(i[2]),this.ToffsetWires1C1.push(i[3]);break;case u.四分裂:this.offsetWires13.push(i[0]),this.offsetWires13.push(i[1]),this.offsetWires13.push(i[2]),this.offsetWires13.push(i[3]),this.ToffsetWires1C1.push(i[4]),this.ToffsetWires1C1.push(i[5]),this.ToffsetWires1C1.push(i[6]),this.ToffsetWires1C1.push(i[7]);break;case u.六分裂:this.offsetWires13.push(i[0]),this.offsetWires13.push(i[1]),this.offsetWires13.push(i[2]),this.offsetWires13.push(i[3]),this.offsetWires13.push(i[4]),this.offsetWires13.push(i[5]),this.ToffsetWires1C1.push(i[6]),this.ToffsetWires1C1.push(i[7]),this.ToffsetWires1C1.push(i[8]),this.ToffsetWires1C1.push(i[9]),this.ToffsetWires1C1.push(i[10]),this.ToffsetWires1C1.push(i[11]);break;case u.八分裂:this.offsetWires13.push(i[0]),this.offsetWires13.push(i[1]),this.offsetWires13.push(i[2]),this.offsetWires13.push(i[3]),this.offsetWires13.push(i[4]),this.offsetWires13.push(i[5]),this.offsetWires13.push(i[6]),this.offsetWires13.push(i[7]),this.ToffsetWires1C1.push(i[8]),this.ToffsetWires1C1.push(i[9]),this.ToffsetWires1C1.push(i[10]),this.ToffsetWires1C1.push(i[11]),this.ToffsetWires1C1.push(i[12]),this.ToffsetWires1C1.push(i[13]),this.ToffsetWires1C1.push(i[14]),this.ToffsetWires1C1.push(i[15]);break}else switch(this.LineInfo.Wairnum){case u.单分裂:const h=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W);this.offsetWires13.push(h),this.ToffsetWires1C2.push(h);break;case u.双分裂:const a=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),c=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W);this.offsetWires13.push(a),this.offsetWires13.push(c),this.ToffsetWires1C2.push(a),this.ToffsetWires1C2.push(c);break;case u.四分裂:const T=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),B=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),d=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),C=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W);this.offsetWires13.push(T),this.offsetWires13.push(B),this.offsetWires13.push(d),this.offsetWires13.push(C),this.ToffsetWires1C2.push(T),this.ToffsetWires1C2.push(B),this.ToffsetWires1C2.push(d),this.ToffsetWires1C2.push(C);break;case u.六分裂:const p=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),L=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),w=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),P=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W),y=l(n,new Cesium.Cartesian3(t.InsulatorPoint[4].X*-1,t.InsulatorPoint[4].Y,t.InsulatorPoint[4].Z),W),_=l(n,new Cesium.Cartesian3(t.InsulatorPoint[5].X*-1,t.InsulatorPoint[5].Y,t.InsulatorPoint[5].Z),W);this.offsetWires13.push(p),this.offsetWires13.push(L),this.offsetWires13.push(w),this.offsetWires13.push(P),this.offsetWires13.push(y),this.offsetWires13.push(_),this.ToffsetWires1C2.push(p),this.ToffsetWires1C2.push(L),this.ToffsetWires1C2.push(w),this.ToffsetWires1C2.push(P),this.ToffsetWires1C2.push(y),this.ToffsetWires1C2.push(_);break;case u.八分裂:const b=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),X=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),g=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),Y=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W),F=l(n,new Cesium.Cartesian3(t.InsulatorPoint[4].X*-1,t.InsulatorPoint[4].Y,t.InsulatorPoint[4].Z),W),R=l(n,new Cesium.Cartesian3(t.InsulatorPoint[5].X*-1,t.InsulatorPoint[5].Y,t.InsulatorPoint[5].Z),W),M=l(n,new Cesium.Cartesian3(t.InsulatorPoint[6].X*-1,t.InsulatorPoint[6].Y,t.InsulatorPoint[6].Z),W),E=l(n,new Cesium.Cartesian3(t.InsulatorPoint[7].X*-1,t.InsulatorPoint[7].Y,t.InsulatorPoint[7].Z),W);this.offsetWires13.push(b),this.offsetWires13.push(X),this.offsetWires13.push(g),this.offsetWires13.push(Y),this.offsetWires13.push(F),this.offsetWires13.push(R),this.offsetWires13.push(M),this.offsetWires13.push(E),this.ToffsetWires1C2.push(b),this.ToffsetWires1C2.push(X),this.ToffsetWires1C2.push(g),this.ToffsetWires1C2.push(Y),this.ToffsetWires1C2.push(F),this.ToffsetWires1C2.push(R),this.ToffsetWires1C2.push(M),this.ToffsetWires1C2.push(E);break}else if(t.type==S.跳线串)switch(this.LineInfo.Wairnum){case u.单分裂:this.ToffsetWires1C1.push(i[0]),this.ToffsetWires1C2.push(i[0]);break;case u.双分裂:this.ToffsetWires1C1.push(i[0]),this.ToffsetWires1C1.push(i[1]),this.ToffsetWires1C2.push(i[2]),this.ToffsetWires1C2.push(i[3]);break;case u.四分裂:this.ToffsetWires1C1.push(i[0]),this.ToffsetWires1C1.push(i[1]),this.ToffsetWires1C1.push(i[2]),this.ToffsetWires1C1.push(i[3]),this.ToffsetWires1C2.push(i[4]),this.ToffsetWires1C2.push(i[5]),this.ToffsetWires1C2.push(i[6]),this.ToffsetWires1C2.push(i[7]);break;case u.六分裂:this.ToffsetWires1C1.push(i[0]),this.ToffsetWires1C1.push(i[1]),this.ToffsetWires1C1.push(i[2]),this.ToffsetWires1C1.push(i[3]),this.ToffsetWires1C1.push(i[4]),this.ToffsetWires1C1.push(i[5]),this.ToffsetWires1C2.push(i[6]),this.ToffsetWires1C2.push(i[7]),this.ToffsetWires1C2.push(i[8]),this.ToffsetWires1C2.push(i[9]),this.ToffsetWires1C2.push(i[10]),this.ToffsetWires1C2.push(i[11]);break;case u.八分裂:this.ToffsetWires1C1.push(i[0]),this.ToffsetWires1C1.push(i[1]),this.ToffsetWires1C1.push(i[2]),this.ToffsetWires1C1.push(i[3]),this.ToffsetWires1C1.push(i[4]),this.ToffsetWires1C1.push(i[5]),this.ToffsetWires1C1.push(i[6]),this.ToffsetWires1C1.push(i[7]),this.ToffsetWires1C2.push(i[8]),this.ToffsetWires1C2.push(i[9]),this.ToffsetWires1C2.push(i[10]),this.ToffsetWires1C2.push(i[11]),this.ToffsetWires1C2.push(i[12]),this.ToffsetWires1C2.push(i[13]),this.ToffsetWires1C2.push(i[14]),this.ToffsetWires1C2.push(i[15]);break}break}else switch(t.PhaseSequence){case v.A相:i.forEach(h=>{this.offsetWires11.push(h)});break;case v.B相:i.forEach(h=>{this.offsetWires12.push(h)});break;case v.C相:i.forEach(h=>{this.offsetWires13.push(h)});break}else if(this.LineInfo.towers[s].type==N.耐张塔){debugger;switch(m){case 2:switch(this.LineInfo.Wairnum){case u.单分裂:this.offsetWires11.push(i[0]),this.ToffsetWires1A1.push(i[0]);break;case u.双分裂:this.offsetWires11.push(i[0]),this.offsetWires11.push(i[1]),this.ToffsetWires1A1.push(i[2]),this.ToffsetWires1A1.push(i[3]);break}break;case 3:switch(this.LineInfo.Wairnum){case u.单分裂:this.ToffsetWires1A1.push(i[0]),this.ToffsetWires1A2.push(i[0]);break;case u.双分裂:this.ToffsetWires1A1.push(i[0]),this.ToffsetWires1A1.push(i[1]),this.ToffsetWires1A2.push(i[2]),this.ToffsetWires1A2.push(i[3]);break}break;case 4:switch(this.LineInfo.Wairnum){case u.单分裂:const h=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W);this.offsetWires11.push(h),this.ToffsetWires1A2.push(h);break;case u.双分裂:const a=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),c=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W);this.offsetWires11.push(a),this.offsetWires11.push(c),this.ToffsetWires1A2.push(a),this.ToffsetWires1A2.push(c);break}break;case 5:i.forEach(h=>{this.offsetWires12.push(h),this.ToffsetWires1B1.push(h)});break;case 6:i.forEach(h=>{this.ToffsetWires1B1.push(h),this.ToffsetWires1B2.push(h)});break;case 7:t.InsulatorPoint.forEach(h=>{const a=l(n,new Cesium.Cartesian3(h.X*-1,h.Y,h.Z),W);this.offsetWires12.push(a),this.ToffsetWires1B2.push(a)});break;case 8:i.forEach(h=>{this.offsetWires13.push(h),this.ToffsetWires1C1.push(h)});break;case 9:i.forEach(h=>{this.ToffsetWires1C1.push(h),this.ToffsetWires1C2.push(h)});break;case 10:t.InsulatorPoint.forEach(h=>{const a=l(n,new Cesium.Cartesian3(h.X*-1,h.Y,h.Z),W);this.offsetWires13.push(a),this.ToffsetWires1C2.push(a)});break}}else switch(m){case 2:i.forEach(h=>{this.offsetWires11.push(h)});break;case 3:i.forEach(h=>{this.offsetWires12.push(h)});break;case 4:i.forEach(h=>{this.offsetWires13.push(h)});break}break;case O.回路二:if(this.LineInfo.ISPhaseSequence)if(this.LineInfo.towers[s].type==N.耐张塔)switch(t.PhaseSequence){case v.A相:if(t.type==S.耐张串)if(t.WairFX=="进")switch(this.LineInfo.Wairnum){case u.单分裂:this.offsetWires21.push(i[0]),this.ToffsetWires2A1.push(i[0]);break;case u.双分裂:this.offsetWires21.push(i[0]),this.offsetWires21.push(i[1]),this.ToffsetWires2A1.push(i[2]),this.ToffsetWires2A1.push(i[3]);break;case u.四分裂:this.offsetWires21.push(i[0]),this.offsetWires21.push(i[1]),this.offsetWires21.push(i[2]),this.offsetWires21.push(i[3]),this.ToffsetWires2A1.push(i[4]),this.ToffsetWires2A1.push(i[5]),this.ToffsetWires2A1.push(i[6]),this.ToffsetWires2A1.push(i[7]);break;case u.六分裂:this.offsetWires21.push(i[0]),this.offsetWires21.push(i[1]),this.offsetWires21.push(i[2]),this.offsetWires21.push(i[3]),this.offsetWires21.push(i[4]),this.offsetWires21.push(i[5]),this.ToffsetWires2A1.push(i[6]),this.ToffsetWires2A1.push(i[7]),this.ToffsetWires2A1.push(i[8]),this.ToffsetWires2A1.push(i[9]),this.ToffsetWires2A1.push(i[10]),this.ToffsetWires2A1.push(i[11]);break;case u.八分裂:this.offsetWires21.push(i[0]),this.offsetWires21.push(i[1]),this.offsetWires21.push(i[2]),this.offsetWires21.push(i[3]),this.offsetWires21.push(i[4]),this.offsetWires21.push(i[5]),this.offsetWires21.push(i[6]),this.offsetWires21.push(i[7]),this.ToffsetWires2A1.push(i[8]),this.ToffsetWires2A1.push(i[9]),this.ToffsetWires2A1.push(i[10]),this.ToffsetWires2A1.push(i[11]),this.ToffsetWires2A1.push(i[12]),this.ToffsetWires2A1.push(i[13]),this.ToffsetWires2A1.push(i[14]),this.ToffsetWires2A1.push(i[15]);break}else switch(this.LineInfo.Wairnum){case u.单分裂:const h=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W);this.offsetWires21.push(h),this.ToffsetWires2A2.push(h);break;case u.双分裂:const a=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),c=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W);this.offsetWires21.push(a),this.offsetWires21.push(c),this.ToffsetWires2A2.push(a),this.ToffsetWires2A2.push(c);break;case u.四分裂:const T=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),B=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),d=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),C=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W);this.offsetWires21.push(T),this.offsetWires21.push(B),this.offsetWires21.push(d),this.offsetWires21.push(C),this.ToffsetWires2A2.push(T),this.ToffsetWires2A2.push(B),this.ToffsetWires2A2.push(d),this.ToffsetWires2A2.push(C);break;case u.六分裂:const p=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),L=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),w=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),P=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W),y=l(n,new Cesium.Cartesian3(t.InsulatorPoint[4].X*-1,t.InsulatorPoint[4].Y,t.InsulatorPoint[4].Z),W),_=l(n,new Cesium.Cartesian3(t.InsulatorPoint[5].X*-1,t.InsulatorPoint[5].Y,t.InsulatorPoint[5].Z),W);this.offsetWires21.push(p),this.offsetWires21.push(L),this.offsetWires21.push(w),this.offsetWires21.push(P),this.offsetWires21.push(y),this.offsetWires21.push(_),this.ToffsetWires2A2.push(p),this.ToffsetWires2A2.push(L),this.ToffsetWires2A2.push(w),this.ToffsetWires2A2.push(P),this.ToffsetWires2A2.push(y),this.ToffsetWires2A2.push(_);break;case u.八分裂:const b=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),X=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),g=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),Y=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W),F=l(n,new Cesium.Cartesian3(t.InsulatorPoint[4].X*-1,t.InsulatorPoint[4].Y,t.InsulatorPoint[4].Z),W),R=l(n,new Cesium.Cartesian3(t.InsulatorPoint[5].X*-1,t.InsulatorPoint[5].Y,t.InsulatorPoint[5].Z),W),M=l(n,new Cesium.Cartesian3(t.InsulatorPoint[6].X*-1,t.InsulatorPoint[6].Y,t.InsulatorPoint[6].Z),W),E=l(n,new Cesium.Cartesian3(t.InsulatorPoint[7].X*-1,t.InsulatorPoint[7].Y,t.InsulatorPoint[7].Z),W);this.offsetWires21.push(b),this.offsetWires21.push(X),this.offsetWires21.push(g),this.offsetWires21.push(Y),this.offsetWires21.push(F),this.offsetWires21.push(R),this.offsetWires21.push(M),this.offsetWires21.push(E),this.ToffsetWires2A2.push(b),this.ToffsetWires2A2.push(X),this.ToffsetWires2A2.push(g),this.ToffsetWires2A2.push(Y),this.ToffsetWires2A2.push(F),this.ToffsetWires2A2.push(R),this.ToffsetWires2A2.push(M),this.ToffsetWires2A2.push(E);break}else if(t.type==S.跳线串)switch(this.LineInfo.Wairnum){case u.单分裂:this.ToffsetWires2A1.push(i[0]),this.ToffsetWires2A2.push(i[0]);break;case u.双分裂:this.ToffsetWires2A1.push(i[0]),this.ToffsetWires2A1.push(i[1]),this.ToffsetWires2A2.push(i[2]),this.ToffsetWires2A2.push(i[3]);break;case u.四分裂:this.ToffsetWires2A1.push(i[0]),this.ToffsetWires2A1.push(i[1]),this.ToffsetWires2A1.push(i[2]),this.ToffsetWires2A1.push(i[3]),this.ToffsetWires2A2.push(i[4]),this.ToffsetWires2A2.push(i[5]),this.ToffsetWires2A2.push(i[6]),this.ToffsetWires2A2.push(i[7]);break;case u.六分裂:this.ToffsetWires2A1.push(i[0]),this.ToffsetWires2A1.push(i[1]),this.ToffsetWires2A1.push(i[2]),this.ToffsetWires2A1.push(i[3]),this.ToffsetWires2A1.push(i[4]),this.ToffsetWires2A1.push(i[5]),this.ToffsetWires2A2.push(i[6]),this.ToffsetWires2A2.push(i[7]),this.ToffsetWires2A2.push(i[8]),this.ToffsetWires2A2.push(i[9]),this.ToffsetWires2A2.push(i[10]),this.ToffsetWires2A2.push(i[11]);break;case u.八分裂:this.ToffsetWires2A1.push(i[0]),this.ToffsetWires2A1.push(i[1]),this.ToffsetWires2A1.push(i[2]),this.ToffsetWires2A1.push(i[3]),this.ToffsetWires2A1.push(i[4]),this.ToffsetWires2A1.push(i[5]),this.ToffsetWires2A1.push(i[6]),this.ToffsetWires2A1.push(i[7]),this.ToffsetWires2A2.push(i[8]),this.ToffsetWires2A2.push(i[9]),this.ToffsetWires2A2.push(i[10]),this.ToffsetWires2A2.push(i[11]),this.ToffsetWires2A2.push(i[12]),this.ToffsetWires2A2.push(i[13]),this.ToffsetWires2A2.push(i[14]),this.ToffsetWires2A2.push(i[15]);break}break;case v.B相:if(t.type==S.耐张串)if(t.WairFX=="进")switch(this.LineInfo.Wairnum){case u.单分裂:this.offsetWires22.push(i[0]),this.ToffsetWires2B1.push(i[0]);break;case u.双分裂:this.offsetWires22.push(i[0]),this.offsetWires22.push(i[1]),this.ToffsetWires2B1.push(i[2]),this.ToffsetWires2B1.push(i[3]);break;case u.四分裂:this.offsetWires22.push(i[0]),this.offsetWires22.push(i[1]),this.offsetWires22.push(i[2]),this.offsetWires22.push(i[3]),this.ToffsetWires2B1.push(i[4]),this.ToffsetWires2B1.push(i[5]),this.ToffsetWires2B1.push(i[6]),this.ToffsetWires2B1.push(i[7]);break;case u.六分裂:this.offsetWires22.push(i[0]),this.offsetWires22.push(i[1]),this.offsetWires22.push(i[2]),this.offsetWires22.push(i[3]),this.offsetWires22.push(i[4]),this.offsetWires22.push(i[5]),this.ToffsetWires2B1.push(i[6]),this.ToffsetWires2B1.push(i[7]),this.ToffsetWires2B1.push(i[8]),this.ToffsetWires2B1.push(i[9]),this.ToffsetWires2B1.push(i[10]),this.ToffsetWires2B1.push(i[11]);break;case u.八分裂:this.offsetWires22.push(i[0]),this.offsetWires22.push(i[1]),this.offsetWires22.push(i[2]),this.offsetWires22.push(i[3]),this.offsetWires22.push(i[4]),this.offsetWires22.push(i[5]),this.offsetWires22.push(i[6]),this.offsetWires22.push(i[7]),this.ToffsetWires2B1.push(i[8]),this.ToffsetWires2B1.push(i[9]),this.ToffsetWires2B1.push(i[10]),this.ToffsetWires2B1.push(i[11]),this.ToffsetWires2B1.push(i[12]),this.ToffsetWires2B1.push(i[13]),this.ToffsetWires2B1.push(i[14]),this.ToffsetWires2B1.push(i[15]);break}else switch(this.LineInfo.Wairnum){case u.单分裂:const h=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W);this.offsetWires22.push(h),this.ToffsetWires2B2.push(h);break;case u.双分裂:const a=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),c=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W);this.offsetWires22.push(a),this.offsetWires22.push(c),this.ToffsetWires2B2.push(a),this.ToffsetWires2B2.push(c);break;case u.四分裂:const T=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),B=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),d=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),C=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W);this.offsetWires22.push(T),this.offsetWires22.push(B),this.offsetWires22.push(d),this.offsetWires22.push(C),this.ToffsetWires2B2.push(T),this.ToffsetWires2B2.push(B),this.ToffsetWires2B2.push(d),this.ToffsetWires2B2.push(C);break;case u.六分裂:const p=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),L=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),w=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),P=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W),y=l(n,new Cesium.Cartesian3(t.InsulatorPoint[4].X*-1,t.InsulatorPoint[4].Y,t.InsulatorPoint[4].Z),W),_=l(n,new Cesium.Cartesian3(t.InsulatorPoint[5].X*-1,t.InsulatorPoint[5].Y,t.InsulatorPoint[5].Z),W);this.offsetWires22.push(p),this.offsetWires22.push(L),this.offsetWires22.push(w),this.offsetWires22.push(P),this.offsetWires22.push(y),this.offsetWires22.push(_),this.ToffsetWires2B2.push(p),this.ToffsetWires2B2.push(L),this.ToffsetWires2B2.push(w),this.ToffsetWires2B2.push(P),this.ToffsetWires2B2.push(y),this.ToffsetWires2B2.push(_);break;case u.八分裂:const b=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),X=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),g=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),Y=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W),F=l(n,new Cesium.Cartesian3(t.InsulatorPoint[4].X*-1,t.InsulatorPoint[4].Y,t.InsulatorPoint[4].Z),W),R=l(n,new Cesium.Cartesian3(t.InsulatorPoint[5].X*-1,t.InsulatorPoint[5].Y,t.InsulatorPoint[5].Z),W),M=l(n,new Cesium.Cartesian3(t.InsulatorPoint[6].X*-1,t.InsulatorPoint[6].Y,t.InsulatorPoint[6].Z),W),E=l(n,new Cesium.Cartesian3(t.InsulatorPoint[7].X*-1,t.InsulatorPoint[7].Y,t.InsulatorPoint[7].Z),W);this.offsetWires22.push(b),this.offsetWires22.push(X),this.offsetWires22.push(g),this.offsetWires22.push(Y),this.offsetWires22.push(F),this.offsetWires22.push(R),this.offsetWires22.push(M),this.offsetWires22.push(E),this.ToffsetWires2B2.push(b),this.ToffsetWires2B2.push(X),this.ToffsetWires2B2.push(g),this.ToffsetWires2B2.push(Y),this.ToffsetWires2B2.push(F),this.ToffsetWires2B2.push(R),this.ToffsetWires2B2.push(M),this.ToffsetWires2B2.push(E);break}else if(t.type==S.跳线串)switch(this.LineInfo.Wairnum){case u.单分裂:this.ToffsetWires2B1.push(i[0]),this.ToffsetWires2B2.push(i[0]);break;case u.双分裂:this.ToffsetWires2B1.push(i[0]),this.ToffsetWires2B1.push(i[1]),this.ToffsetWires2B2.push(i[2]),this.ToffsetWires2B2.push(i[3]);break;case u.四分裂:this.ToffsetWires2B1.push(i[0]),this.ToffsetWires2B1.push(i[1]),this.ToffsetWires2B1.push(i[2]),this.ToffsetWires2B1.push(i[3]),this.ToffsetWires2B2.push(i[4]),this.ToffsetWires2B2.push(i[5]),this.ToffsetWires2B2.push(i[6]),this.ToffsetWires2B2.push(i[7]);break;case u.六分裂:this.ToffsetWires2B1.push(i[0]),this.ToffsetWires2B1.push(i[1]),this.ToffsetWires2B1.push(i[2]),this.ToffsetWires2B1.push(i[3]),this.ToffsetWires2B1.push(i[4]),this.ToffsetWires2B1.push(i[5]),this.ToffsetWires2B2.push(i[6]),this.ToffsetWires2B2.push(i[7]),this.ToffsetWires2B2.push(i[8]),this.ToffsetWires2B2.push(i[9]),this.ToffsetWires2B2.push(i[10]),this.ToffsetWires2B2.push(i[11]);break;case u.八分裂:this.ToffsetWires2B1.push(i[0]),this.ToffsetWires2B1.push(i[1]),this.ToffsetWires2B1.push(i[2]),this.ToffsetWires2B1.push(i[3]),this.ToffsetWires2B1.push(i[4]),this.ToffsetWires2B1.push(i[5]),this.ToffsetWires2B1.push(i[6]),this.ToffsetWires2B1.push(i[7]),this.ToffsetWires2B2.push(i[8]),this.ToffsetWires2B2.push(i[9]),this.ToffsetWires2B2.push(i[10]),this.ToffsetWires2B2.push(i[11]),this.ToffsetWires2B2.push(i[12]),this.ToffsetWires2B2.push(i[13]),this.ToffsetWires2B2.push(i[14]),this.ToffsetWires2B2.push(i[15]);break}break;case v.C相:if(t.type==S.耐张串)if(t.WairFX=="进")switch(this.LineInfo.Wairnum){case u.单分裂:this.offsetWires23.push(i[0]),this.ToffsetWires2C1.push(i[0]);break;case u.双分裂:this.offsetWires23.push(i[0]),this.offsetWires23.push(i[1]),this.ToffsetWires2C1.push(i[2]),this.ToffsetWires2C1.push(i[3]);break;case u.四分裂:this.offsetWires23.push(i[0]),this.offsetWires23.push(i[1]),this.offsetWires23.push(i[2]),this.offsetWires23.push(i[3]),this.ToffsetWires2C1.push(i[4]),this.ToffsetWires2C1.push(i[5]),this.ToffsetWires2C1.push(i[6]),this.ToffsetWires2C1.push(i[7]);break;case u.六分裂:this.offsetWires23.push(i[0]),this.offsetWires23.push(i[1]),this.offsetWires23.push(i[2]),this.offsetWires23.push(i[3]),this.offsetWires23.push(i[4]),this.offsetWires23.push(i[5]),this.ToffsetWires2C1.push(i[6]),this.ToffsetWires2C1.push(i[7]),this.ToffsetWires2C1.push(i[8]),this.ToffsetWires2C1.push(i[9]),this.ToffsetWires2C1.push(i[10]),this.ToffsetWires2C1.push(i[11]);break;case u.八分裂:this.offsetWires23.push(i[0]),this.offsetWires23.push(i[1]),this.offsetWires23.push(i[2]),this.offsetWires23.push(i[3]),this.offsetWires23.push(i[4]),this.offsetWires23.push(i[5]),this.offsetWires23.push(i[6]),this.offsetWires23.push(i[7]),this.ToffsetWires2C1.push(i[8]),this.ToffsetWires2C1.push(i[9]),this.ToffsetWires2C1.push(i[10]),this.ToffsetWires2C1.push(i[11]),this.ToffsetWires2C1.push(i[12]),this.ToffsetWires2C1.push(i[13]),this.ToffsetWires2C1.push(i[14]),this.ToffsetWires2C1.push(i[15]);break}else switch(this.LineInfo.Wairnum){case u.单分裂:const h=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W);this.offsetWires23.push(h),this.ToffsetWires2C2.push(h);break;case u.双分裂:const a=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),c=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W);this.offsetWires23.push(a),this.offsetWires23.push(c),this.ToffsetWires2C2.push(a),this.ToffsetWires2C2.push(c);break;case u.四分裂:const T=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),B=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),d=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),C=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W);this.offsetWires23.push(T),this.offsetWires23.push(B),this.offsetWires23.push(d),this.offsetWires23.push(C),this.ToffsetWires2C2.push(T),this.ToffsetWires2C2.push(B),this.ToffsetWires2C2.push(d),this.ToffsetWires2C2.push(C);break;case u.六分裂:const p=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),L=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),w=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),P=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W),y=l(n,new Cesium.Cartesian3(t.InsulatorPoint[4].X*-1,t.InsulatorPoint[4].Y,t.InsulatorPoint[4].Z),W),_=l(n,new Cesium.Cartesian3(t.InsulatorPoint[5].X*-1,t.InsulatorPoint[5].Y,t.InsulatorPoint[5].Z),W);this.offsetWires23.push(p),this.offsetWires23.push(L),this.offsetWires23.push(w),this.offsetWires23.push(P),this.offsetWires23.push(y),this.offsetWires23.push(_),this.ToffsetWires2C2.push(p),this.ToffsetWires2C2.push(L),this.ToffsetWires2C2.push(w),this.ToffsetWires2C2.push(P),this.ToffsetWires2C2.push(y),this.ToffsetWires2C2.push(_);break;case u.八分裂:const b=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),X=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),g=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),Y=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W),F=l(n,new Cesium.Cartesian3(t.InsulatorPoint[4].X*-1,t.InsulatorPoint[4].Y,t.InsulatorPoint[4].Z),W),R=l(n,new Cesium.Cartesian3(t.InsulatorPoint[5].X*-1,t.InsulatorPoint[5].Y,t.InsulatorPoint[5].Z),W),M=l(n,new Cesium.Cartesian3(t.InsulatorPoint[6].X*-1,t.InsulatorPoint[6].Y,t.InsulatorPoint[6].Z),W),E=l(n,new Cesium.Cartesian3(t.InsulatorPoint[7].X*-1,t.InsulatorPoint[7].Y,t.InsulatorPoint[7].Z),W);this.offsetWires23.push(b),this.offsetWires23.push(X),this.offsetWires23.push(g),this.offsetWires23.push(Y),this.offsetWires23.push(F),this.offsetWires23.push(R),this.offsetWires23.push(M),this.offsetWires23.push(E),this.ToffsetWires2C2.push(b),this.ToffsetWires2C2.push(X),this.ToffsetWires2C2.push(g),this.ToffsetWires2C2.push(Y),this.ToffsetWires2C2.push(F),this.ToffsetWires2C2.push(R),this.ToffsetWires2C2.push(M),this.ToffsetWires2C2.push(E);break}else if(t.type==S.跳线串)switch(this.LineInfo.Wairnum){case u.单分裂:this.ToffsetWires2C1.push(i[0]),this.ToffsetWires2C2.push(i[0]);break;case u.双分裂:this.ToffsetWires2C1.push(i[0]),this.ToffsetWires2C1.push(i[1]),this.ToffsetWires2C2.push(i[2]),this.ToffsetWires2C2.push(i[3]);break;case u.四分裂:this.ToffsetWires2C1.push(i[0]),this.ToffsetWires2C1.push(i[1]),this.ToffsetWires2C1.push(i[2]),this.ToffsetWires2C1.push(i[3]),this.ToffsetWires2C2.push(i[4]),this.ToffsetWires2C2.push(i[5]),this.ToffsetWires2C2.push(i[6]),this.ToffsetWires2C2.push(i[7]);break;case u.六分裂:this.ToffsetWires2C1.push(i[0]),this.ToffsetWires2C1.push(i[1]),this.ToffsetWires2C1.push(i[2]),this.ToffsetWires2C1.push(i[3]),this.ToffsetWires2C1.push(i[4]),this.ToffsetWires2C1.push(i[5]),this.ToffsetWires2C2.push(i[6]),this.ToffsetWires2C2.push(i[7]),this.ToffsetWires2C2.push(i[8]),this.ToffsetWires2C2.push(i[9]),this.ToffsetWires2C2.push(i[10]),this.ToffsetWires2C2.push(i[11]);break;case u.八分裂:this.ToffsetWires2C1.push(i[0]),this.ToffsetWires2C1.push(i[1]),this.ToffsetWires2C1.push(i[2]),this.ToffsetWires2C1.push(i[3]),this.ToffsetWires2C1.push(i[4]),this.ToffsetWires2C1.push(i[5]),this.ToffsetWires2C1.push(i[6]),this.ToffsetWires2C1.push(i[7]),this.ToffsetWires2C2.push(i[8]),this.ToffsetWires2C2.push(i[9]),this.ToffsetWires2C2.push(i[10]),this.ToffsetWires2C2.push(i[11]),this.ToffsetWires2C2.push(i[12]),this.ToffsetWires2C2.push(i[13]),this.ToffsetWires2C2.push(i[14]),this.ToffsetWires2C2.push(i[15]);break}break}else switch(t.PhaseSequence){case v.A相:i.forEach(h=>{this.offsetWires21.push(h)});break;case v.B相:i.forEach(h=>{this.offsetWires22.push(h)});break;case v.C相:i.forEach(h=>{this.offsetWires23.push(h)});break}else if(this.LineInfo.towers[s].type==N.耐张塔)switch(m){case 11:this.offsetWires21.push(i[0]),this.ToffsetWires2A1.push(i[0]);break;case 12:this.ToffsetWires2A1.push(i[0]),this.ToffsetWires2A2.push(i[0]);break;case 13:const h=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W);this.offsetWires21.push(h),this.ToffsetWires2A2.push(h);break;case 14:this.offsetWires22.push(i[0]),this.ToffsetWires2B1.push(i[0]);break;case 15:this.ToffsetWires2B1.push(i[0]),this.ToffsetWires2B2.push(i[0]);break;case 16:const a=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W);this.offsetWires22.push(a),this.ToffsetWires2B2.push(a);break;case 17:this.offsetWires23.push(i[0]),this.ToffsetWires2C1.push(i[0]);break;case 18:this.ToffsetWires2C1.push(i[0]),this.ToffsetWires2C2.push(i[0]);break;case 19:const c=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W);this.offsetWires23.push(c),this.ToffsetWires2C2.push(c);break}else switch(m){case 5:i.forEach(h=>{this.offsetWires21.push(h)});break;case 6:i.forEach(h=>{this.offsetWires22.push(h)});break;case 7:i.forEach(h=>{this.offsetWires23.push(h)});break}break;case O.地线:if(this.LineInfo.ISPhaseSequence)switch(t.PhaseSequence){case v.地线1:this.offsetGrouundWires11.push(i[0]);break;case v.地线2:this.offsetGrouundWires12.push(i[0]);break}else switch(m){case 0:this.offsetGrouundWires11.push(i[0]);break;case 1:this.offsetGrouundWires12.push(i[0]);break}break}m=m+1});debugger;if(this.offsetWires11.length>0&&s>0){const t=[],i=[],h=[],a=[],c=[],T=[],B=[],d=[];switch(this.LineInfo.Wairnum){case u.单分裂:this.offsetWires11.length>=2&&(t.push(this.offsetWires11[f]),t.push(this.offsetWires11[f-1]),this.offsetArcWires1A=r(t),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)));break;case u.双分裂:this.offsetWires11.length>=4&&(t.push(this.offsetWires11[f]),t.push(this.offsetWires11[f-2]),this.offsetArcWires1A=r(t),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires11[f+1]),i.push(this.offsetWires11[f-1]),this.offsetArcWires1A=r(i),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)));break;case u.四分裂:this.offsetWires11.length>=8&&(t.push(this.offsetWires11[f]),t.push(this.offsetWires11[f-4]),this.offsetArcWires1A=r(t),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires11[f+1]),i.push(this.offsetWires11[f-3]),this.offsetArcWires1A=r(i),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires11[f+2]),h.push(this.offsetWires11[f-2]),this.offsetArcWires1A=r(h),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires11[f+3]),a.push(this.offsetWires11[f-1]),this.offsetArcWires1A=r(a),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)));break;case u.六分裂:this.offsetWires11.length>=12&&(t.push(this.offsetWires11[f]),t.push(this.offsetWires11[f-6]),this.offsetArcWires1A=r(t),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires11[f+1]),i.push(this.offsetWires11[f-5]),this.offsetArcWires1A=r(i),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires11[f+2]),h.push(this.offsetWires11[f-4]),this.offsetArcWires1A=r(h),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires11[f+3]),a.push(this.offsetWires11[f-3]),this.offsetArcWires1A=r(a),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),c.push(this.offsetWires11[f+4]),c.push(this.offsetWires11[f-2]),this.offsetArcWires1A=r(c),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A5"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),T.push(this.offsetWires11[f+5]),T.push(this.offsetWires11[f-1]),this.offsetArcWires1A=r(T),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A6"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)));break;case u.八分裂:this.offsetWires11.length>=16&&(t.push(this.offsetWires11[f]),t.push(this.offsetWires11[f-8]),this.offsetArcWires1A=r(t),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires11[f+1]),i.push(this.offsetWires11[f-7]),this.offsetArcWires1A=r(i),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires11[f+2]),h.push(this.offsetWires11[f-6]),this.offsetArcWires1A=r(h),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires11[f+3]),a.push(this.offsetWires11[f-5]),this.offsetArcWires1A=r(a),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),c.push(this.offsetWires11[f+4]),c.push(this.offsetWires11[f-4]),this.offsetArcWires1A=r(c),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A5"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),T.push(this.offsetWires11[f+5]),T.push(this.offsetWires11[f-3]),this.offsetArcWires1A=r(T),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A6"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),B.push(this.offsetWires11[f+6]),B.push(this.offsetWires11[f-2]),this.offsetArcWires1A=r(B),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A7"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),d.push(this.offsetWires11[f+7]),d.push(this.offsetWires11[f-1]),this.offsetArcWires1A=r(d),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A8"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)));break}}if(this.offsetWires12.length>0&&s>0){const t=[],i=[],h=[],a=[],c=[],T=[],B=[],d=[];switch(this.LineInfo.Wairnum){case u.单分裂:t.push(this.offsetWires12[f]),t.push(this.offsetWires12[f-1]),this.offsetArcWires1B=r(t),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.双分裂:t.push(this.offsetWires12[f]),t.push(this.offsetWires12[f-2]),this.offsetArcWires1B=r(t),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires12[f+1]),i.push(this.offsetWires12[f-1]),this.offsetArcWires1B=r(i),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.四分裂:t.push(this.offsetWires12[f]),t.push(this.offsetWires12[f-4]),this.offsetArcWires1B=r(t),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires12[f+1]),i.push(this.offsetWires12[f-3]),this.offsetArcWires1B=r(i),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires12[f+2]),h.push(this.offsetWires12[f-2]),this.offsetArcWires1B=r(h),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires12[f+3]),a.push(this.offsetWires12[f-1]),this.offsetArcWires1B=r(a),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.六分裂:t.push(this.offsetWires12[f]),t.push(this.offsetWires12[f-6]),this.offsetArcWires1B=r(t),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires12[f+1]),i.push(this.offsetWires12[f-5]),this.offsetArcWires1B=r(i),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires12[f+2]),h.push(this.offsetWires12[f-4]),this.offsetArcWires1B=r(h),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires12[f+3]),a.push(this.offsetWires12[f-3]),this.offsetArcWires1B=r(a),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),c.push(this.offsetWires12[f+4]),c.push(this.offsetWires12[f-2]),this.offsetArcWires1B=r(c),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B5"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),T.push(this.offsetWires12[f+5]),T.push(this.offsetWires12[f-1]),this.offsetArcWires1B=r(T),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B6"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.八分裂:t.push(this.offsetWires12[f]),t.push(this.offsetWires12[f-8]),this.offsetArcWires1B=r(t),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires12[f+1]),i.push(this.offsetWires12[f-7]),this.offsetArcWires1B=r(i),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires12[f+2]),h.push(this.offsetWires12[f-6]),this.offsetArcWires1B=r(h),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires12[f+3]),a.push(this.offsetWires12[f-5]),this.offsetArcWires1B=r(a),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),c.push(this.offsetWires12[f+4]),c.push(this.offsetWires12[f-4]),this.offsetArcWires1B=r(c),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B5"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),T.push(this.offsetWires12[f+5]),T.push(this.offsetWires12[f-3]),this.offsetArcWires1B=r(T),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B6"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),B.push(this.offsetWires12[f+6]),B.push(this.offsetWires12[f-2]),this.offsetArcWires1B=r(B),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B7"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),d.push(this.offsetWires12[f+7]),d.push(this.offsetWires12[f-1]),this.offsetArcWires1B=r(d),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B8"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break}}if(this.offsetWires13.length>0&&s>0){const t=[],i=[],h=[],a=[],c=[],T=[],B=[],d=[];switch(this.LineInfo.Wairnum){case u.单分裂:t.push(this.offsetWires13[f]),t.push(this.offsetWires13[f-1]),this.offsetArcWires1C=r(t),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.双分裂:t.push(this.offsetWires13[f]),t.push(this.offsetWires13[f-2]),this.offsetArcWires1C=r(t),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires13[f+1]),i.push(this.offsetWires13[f-1]),this.offsetArcWires1C=r(i),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.四分裂:t.push(this.offsetWires13[f]),t.push(this.offsetWires13[f-4]),this.offsetArcWires1C=r(t),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires13[f+1]),i.push(this.offsetWires13[f-3]),this.offsetArcWires1C=r(i),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires13[f+2]),h.push(this.offsetWires13[f-2]),this.offsetArcWires1C=r(h),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires13[f+3]),a.push(this.offsetWires13[f-1]),this.offsetArcWires1C=r(a),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.六分裂:t.push(this.offsetWires13[f]),t.push(this.offsetWires13[f-6]),this.offsetArcWires1C=r(t),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires13[f+1]),i.push(this.offsetWires13[f-5]),this.offsetArcWires1C=r(i),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires13[f+2]),h.push(this.offsetWires13[f-4]),this.offsetArcWires1C=r(h),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires13[f+3]),a.push(this.offsetWires13[f-3]),this.offsetArcWires1C=r(a),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),c.push(this.offsetWires13[f+4]),c.push(this.offsetWires13[f-2]),this.offsetArcWires1C=r(c),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C5"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),T.push(this.offsetWires13[f+5]),T.push(this.offsetWires13[f-1]),this.offsetArcWires1C=r(T),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C6"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.八分裂:t.push(this.offsetWires13[f]),t.push(this.offsetWires13[f-8]),this.offsetArcWires1C=r(t),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires13[f+1]),i.push(this.offsetWires13[f-7]),this.offsetArcWires1C=r(i),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires13[f+2]),h.push(this.offsetWires13[f-6]),this.offsetArcWires1C=r(h),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires13[f+3]),a.push(this.offsetWires13[f-5]),this.offsetArcWires1C=r(a),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),c.push(this.offsetWires13[f+4]),c.push(this.offsetWires13[f-4]),this.offsetArcWires1C=r(c),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C5"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),T.push(this.offsetWires13[f+5]),T.push(this.offsetWires13[f-3]),this.offsetArcWires1C=r(T),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C6"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),B.push(this.offsetWires13[f+6]),B.push(this.offsetWires13[f-2]),this.offsetArcWires1C=r(B),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C7"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),d.push(this.offsetWires13[f+7]),d.push(this.offsetWires13[f-1]),this.offsetArcWires1C=r(d),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C8"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break}}if(this.offsetWires21.length>0&&s>0){const t=[],i=[],h=[],a=[],c=[],T=[],B=[],d=[];switch(this.LineInfo.Wairnum){case u.单分裂:t.push(this.offsetWires21[f]),t.push(this.offsetWires21[f-1]),this.offsetArcWires2A=r(t),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.双分裂:t.push(this.offsetWires21[f]),t.push(this.offsetWires21[f-2]),this.offsetArcWires2A=r(t),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires21[f+1]),i.push(this.offsetWires21[f-1]),this.offsetArcWires2A=r(i),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.四分裂:t.push(this.offsetWires21[f]),t.push(this.offsetWires21[f-4]),this.offsetArcWires2A=r(t),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires21[f+1]),i.push(this.offsetWires21[f-3]),this.offsetArcWires2A=r(i),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires21[f+2]),h.push(this.offsetWires21[f-2]),this.offsetArcWires2A=r(h),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires21[f+3]),a.push(this.offsetWires21[f-1]),this.offsetArcWires2A=r(a),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.六分裂:t.push(this.offsetWires21[f]),t.push(this.offsetWires21[f-6]),this.offsetArcWires2A=r(t),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires21[f+1]),i.push(this.offsetWires21[f-5]),this.offsetArcWires2A=r(i),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires21[f+2]),h.push(this.offsetWires21[f-4]),this.offsetArcWires2A=r(h),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires21[f+3]),a.push(this.offsetWires21[f-3]),this.offsetArcWires2A=r(a),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),c.push(this.offsetWires21[f+4]),c.push(this.offsetWires21[f-2]),this.offsetArcWires2A=r(c),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A5"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),T.push(this.offsetWires21[f+5]),T.push(this.offsetWires21[f-1]),this.offsetArcWires2A=r(T),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A6"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.八分裂:t.push(this.offsetWires21[f]),t.push(this.offsetWires21[f-8]),this.offsetArcWires2A=r(t),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires21[f+1]),i.push(this.offsetWires21[f-7]),this.offsetArcWires2A=r(i),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires21[f+2]),h.push(this.offsetWires21[f-6]),this.offsetArcWires2A=r(h),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires21[f+3]),a.push(this.offsetWires21[f-5]),this.offsetArcWires2A=r(a),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),c.push(this.offsetWires21[f+4]),c.push(this.offsetWires21[f-4]),this.offsetArcWires2A=r(c),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A5"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),T.push(this.offsetWires21[f+5]),T.push(this.offsetWires21[f-3]),this.offsetArcWires2A=r(T),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A6"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),B.push(this.offsetWires21[f+6]),B.push(this.offsetWires21[f-2]),this.offsetArcWires2A=r(B),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A7"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),d.push(this.offsetWires21[f+7]),d.push(this.offsetWires21[f-1]),this.offsetArcWires2A=r(d),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A8"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break}}if(this.offsetWires22.length>0&&s>0){const t=[],i=[],h=[],a=[],c=[],T=[],B=[],d=[];switch(this.LineInfo.Wairnum){case u.单分裂:t.push(this.offsetWires22[f]),t.push(this.offsetWires22[f-1]),this.offsetArcWires2B=r(t),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.双分裂:t.push(this.offsetWires22[f]),t.push(this.offsetWires22[f-2]),this.offsetArcWires2B=r(t),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires22[f+1]),i.push(this.offsetWires22[f-1]),this.offsetArcWires2B=r(i),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.四分裂:t.push(this.offsetWires22[f]),t.push(this.offsetWires22[f-4]),this.offsetArcWires2B=r(t),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires22[f+1]),i.push(this.offsetWires22[f-3]),this.offsetArcWires2B=r(i),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires22[f+2]),h.push(this.offsetWires22[f-2]),this.offsetArcWires2B=r(h),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires22[f+3]),a.push(this.offsetWires22[f-1]),this.offsetArcWires2B=r(a),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.六分裂:t.push(this.offsetWires22[f]),t.push(this.offsetWires22[f-6]),this.offsetArcWires2B=r(t),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires22[f+1]),i.push(this.offsetWires22[f-5]),this.offsetArcWires2B=r(i),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires22[f+2]),h.push(this.offsetWires22[f-4]),this.offsetArcWires2B=r(h),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires22[f+3]),a.push(this.offsetWires22[f-3]),this.offsetArcWires2B=r(a),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),c.push(this.offsetWires22[f+4]),c.push(this.offsetWires22[f-2]),this.offsetArcWires2B=r(c),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B5"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),T.push(this.offsetWires22[f+5]),T.push(this.offsetWires22[f-1]),this.offsetArcWires2B=r(T),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B6"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.八分裂:t.push(this.offsetWires22[f]),t.push(this.offsetWires22[f-8]),this.offsetArcWires2B=r(t),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires22[f+1]),i.push(this.offsetWires22[f-7]),this.offsetArcWires2B=r(i),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires22[f+2]),h.push(this.offsetWires22[f-6]),this.offsetArcWires2B=r(h),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires22[f+3]),a.push(this.offsetWires22[f-5]),this.offsetArcWires2B=r(a),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),c.push(this.offsetWires22[f+4]),c.push(this.offsetWires22[f-4]),this.offsetArcWires2B=r(c),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B5"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),T.push(this.offsetWires22[f+5]),T.push(this.offsetWires22[f-3]),this.offsetArcWires2B=r(T),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B6"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),B.push(this.offsetWires22[f+6]),B.push(this.offsetWires22[f-2]),this.offsetArcWires2B=r(B),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B7"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),d.push(this.offsetWires22[f+7]),d.push(this.offsetWires22[f-1]),this.offsetArcWires2B=r(d),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B8"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break}}if(this.offsetWires23.length>0&&s>0){const t=[],i=[],h=[],a=[],c=[],T=[],B=[],d=[];switch(this.LineInfo.Wairnum){case u.单分裂:t.push(this.offsetWires23[f]),t.push(this.offsetWires23[f-1]),this.offsetArcWires2C=r(t),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.双分裂:t.push(this.offsetWires23[f]),t.push(this.offsetWires23[f-2]),this.offsetArcWires2C=r(t),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires23[f+1]),i.push(this.offsetWires23[f-1]),this.offsetArcWires2C=r(i),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.四分裂:t.push(this.offsetWires23[f]),t.push(this.offsetWires23[f-4]),this.offsetArcWires2C=r(t),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires23[f+1]),i.push(this.offsetWires23[f-3]),this.offsetArcWires2C=r(i),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires23[f+2]),h.push(this.offsetWires23[f-2]),this.offsetArcWires2C=r(h),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires23[f+3]),a.push(this.offsetWires23[f-1]),this.offsetArcWires2C=r(a),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.六分裂:t.push(this.offsetWires23[f]),t.push(this.offsetWires23[f-6]),this.offsetArcWires2C=r(t),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires23[f+1]),i.push(this.offsetWires23[f-5]),this.offsetArcWires2C=r(i),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires23[f+2]),h.push(this.offsetWires23[f-4]),this.offsetArcWires2C=r(h),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires23[f+3]),a.push(this.offsetWires23[f-3]),this.offsetArcWires2C=r(a),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),c.push(this.offsetWires23[f+4]),c.push(this.offsetWires23[f-2]),this.offsetArcWires2C=r(c),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C5"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),T.push(this.offsetWires23[f+5]),T.push(this.offsetWires23[f-1]),this.offsetArcWires2C=r(T),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C6"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.八分裂:t.push(this.offsetWires23[f]),t.push(this.offsetWires23[f-8]),this.offsetArcWires2C=r(t),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires23[f+1]),i.push(this.offsetWires23[f-7]),this.offsetArcWires2C=r(i),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires23[f+2]),h.push(this.offsetWires23[f-6]),this.offsetArcWires2C=r(h),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires23[f+3]),a.push(this.offsetWires23[f-5]),this.offsetArcWires2C=r(a),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),c.push(this.offsetWires23[f+4]),c.push(this.offsetWires23[f-4]),this.offsetArcWires2C=r(c),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C5"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),T.push(this.offsetWires23[f+5]),T.push(this.offsetWires23[f-3]),this.offsetArcWires2C=r(T),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C6"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),B.push(this.offsetWires23[f+6]),B.push(this.offsetWires23[f-2]),this.offsetArcWires2C=r(B),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C7"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),d.push(this.offsetWires23[f+7]),d.push(this.offsetWires23[f-1]),this.offsetArcWires2C=r(d),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C8"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break}}if(this.offsetGrouundWires11.length>1){const t=[];t.push(this.offsetGrouundWires11[s]),t.push(this.offsetGrouundWires11[s-1]);const i=[];i.push(this.offsetGrouundWires12[s]),i.push(this.offsetGrouundWires12[s-1]),this.offsetGrouundWires1=r(t,2),this.offsetGrouundWires2=r(i,2),this.entityCollection2.add(o(this.offsetGrouundWires1,"地线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireD1Color)),this.entityCollection2.add(o(this.offsetGrouundWires2,"地线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireD2Color))}if(this.LineInfo.towers[s].type==N.耐张塔){switch(this.LineInfo.Wairnum){case u.单分裂:f=f+2,e=e+2;break;case u.双分裂:f=f+4,e=e+4;break;case u.四分裂:f=f+8,e=e+8;break;case u.六分裂:f=f+12,e=e+12;break;case u.八分裂:f=f+16,e=e+16;break}if(this.ToffsetWires1A1.length>1&&this.ToffsetWires1A2.length>1){const t=[],i=[],h=[],a=[],c=[],T=[],B=[],d=[],C=[],p=[],L=[],w=[],P=[],y=[],_=[],b=[];switch(this.LineInfo.Wairnum){case u.单分裂:this.ToffsetWires1A1.length>=2&&(t.push(this.ToffsetWires1A1[e-2]),t.push(this.ToffsetWires1A1[e-1]),this.ToffsetArcWires1A=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires1A2.length>=2&&(C.push(this.ToffsetWires1A2[e-2]),C.push(this.ToffsetWires1A2[e-1]),this.ToffsetArcWires2A=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.双分裂:this.ToffsetWires1A1.length>=4&&(t.push(this.ToffsetWires1A1[e-4]),t.push(this.ToffsetWires1A1[e-2]),this.ToffsetArcWires1A=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires1A1[e-3]),i.push(this.ToffsetWires1A1[e-1]),this.ToffsetArcWires1A=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires1A2.length>=4&&(C.push(this.ToffsetWires1A2[e-4]),C.push(this.ToffsetWires1A2[e-2]),this.ToffsetArcWires2A=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires1A2[e-3]),p.push(this.ToffsetWires1A2[e-1]),this.ToffsetArcWires2A=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.四分裂:this.ToffsetWires1A1.length>=8&&(t.push(this.ToffsetWires1A1[e-8]),t.push(this.ToffsetWires1A1[e-4]),this.ToffsetArcWires1A=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires1A1[e-7]),i.push(this.ToffsetWires1A1[e-3]),this.ToffsetArcWires1A=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires1A1[e-6]),h.push(this.ToffsetWires1A1[e-2]),this.ToffsetArcWires1A=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires1A1[e-5]),a.push(this.ToffsetWires1A1[e-1]),this.ToffsetArcWires1A=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires1A2.length>=8&&(C.push(this.ToffsetWires1A2[e-8]),C.push(this.ToffsetWires1A2[e-4]),this.ToffsetArcWires2A=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires1A2[e-7]),p.push(this.ToffsetWires1A2[e-3]),this.ToffsetArcWires2A=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires1A2[e-6]),L.push(this.ToffsetWires1A2[e-2]),this.ToffsetArcWires2A=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires1A2[e-5]),w.push(this.ToffsetWires1A2[e-1]),this.ToffsetArcWires2A=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.六分裂:this.ToffsetWires1A1.length>=12&&(t.push(this.ToffsetWires1A1[e-12]),t.push(this.ToffsetWires1A1[e-6]),this.ToffsetArcWires1A=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires1A1[e-11]),i.push(this.ToffsetWires1A1[e-5]),this.ToffsetArcWires1A=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires1A1[e-10]),h.push(this.ToffsetWires1A1[e-4]),this.ToffsetArcWires1A=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires1A1[e-9]),a.push(this.ToffsetWires1A1[e-3]),this.ToffsetArcWires1A=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),c.push(this.ToffsetWires1A1[e-8]),c.push(this.ToffsetWires1A1[e-2]),this.ToffsetArcWires1A=r(c,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),T.push(this.ToffsetWires1A1[e-7]),T.push(this.ToffsetWires1A1[e-1]),this.ToffsetArcWires1A=r(T,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires1A2.length>=12&&(C.push(this.ToffsetWires1A2[e-12]),C.push(this.ToffsetWires1A2[e-6]),this.ToffsetArcWires2A=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires1A2[e-11]),p.push(this.ToffsetWires1A2[e-5]),this.ToffsetArcWires2A=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires1A2[e-10]),L.push(this.ToffsetWires1A2[e-4]),this.ToffsetArcWires2A=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires1A2[e-9]),w.push(this.ToffsetWires1A2[e-3]),this.ToffsetArcWires2A=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),P.push(this.ToffsetWires1A2[e-8]),P.push(this.ToffsetWires1A2[e-2]),this.ToffsetArcWires2A=r(P,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),y.push(this.ToffsetWires1A2[e-7]),y.push(this.ToffsetWires1A2[e-1]),this.ToffsetArcWires2A=r(y,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.八分裂:this.ToffsetWires1A1.length>=16&&(t.push(this.ToffsetWires1A1[e-16]),t.push(this.ToffsetWires1A1[e-8]),this.ToffsetArcWires1A=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires1A1[e-15]),i.push(this.ToffsetWires1A1[e-7]),this.ToffsetArcWires1A=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires1A1[e-14]),h.push(this.ToffsetWires1A1[e-6]),this.ToffsetArcWires1A=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires1A1[e-13]),a.push(this.ToffsetWires1A1[e-5]),this.ToffsetArcWires1A=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),c.push(this.ToffsetWires1A1[e-12]),c.push(this.ToffsetWires1A1[e-4]),this.ToffsetArcWires1A=r(c,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),T.push(this.ToffsetWires1A1[e-11]),T.push(this.ToffsetWires1A1[e-3]),this.ToffsetArcWires1A=r(T,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),B.push(this.ToffsetWires1A1[e-10]),B.push(this.ToffsetWires1A1[e-2]),this.ToffsetArcWires1A=r(B,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线7"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),d.push(this.ToffsetWires1A1[e-9]),d.push(this.ToffsetWires1A1[e-1]),this.ToffsetArcWires1A=r(d,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线8"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires1A2.length>=16&&(C.push(this.ToffsetWires1A2[e-16]),C.push(this.ToffsetWires1A2[e-8]),this.ToffsetArcWires2A=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires1A2[e-15]),p.push(this.ToffsetWires1A2[e-7]),this.ToffsetArcWires2A=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires1A2[e-14]),L.push(this.ToffsetWires1A2[e-6]),this.ToffsetArcWires2A=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires1A2[e-13]),w.push(this.ToffsetWires1A2[e-5]),this.ToffsetArcWires2A=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),P.push(this.ToffsetWires1A2[e-12]),P.push(this.ToffsetWires1A2[e-4]),this.ToffsetArcWires2A=r(P,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),y.push(this.ToffsetWires1A2[e-11]),y.push(this.ToffsetWires1A2[e-3]),this.ToffsetArcWires2A=r(y,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),_.push(this.ToffsetWires1A2[e-10]),_.push(this.ToffsetWires1A2[e-2]),this.ToffsetArcWires2A=r(_,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线7"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),b.push(this.ToffsetWires1A2[e-9]),b.push(this.ToffsetWires1A2[e-1]),this.ToffsetArcWires2A=r(b,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线8"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break}}if(this.ToffsetWires1B1.length>1&&this.ToffsetWires1B2.length>1){const t=[],i=[],h=[],a=[],c=[],T=[],B=[],d=[],C=[],p=[],L=[],w=[],P=[],y=[],_=[],b=[];switch(this.LineInfo.Wairnum){case u.单分裂:this.ToffsetWires1B1.length>=2&&(t.push(this.ToffsetWires1B1[e-2]),t.push(this.ToffsetWires1B1[e-1]),this.ToffsetArcWires1B=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires1B2.length>=2&&(C.push(this.ToffsetWires1B2[e-2]),C.push(this.ToffsetWires1B2[e-1]),this.ToffsetArcWires2B=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.双分裂:this.ToffsetWires1B1.length>=4&&(t.push(this.ToffsetWires1B1[e-4]),t.push(this.ToffsetWires1B1[e-2]),this.ToffsetArcWires1B=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires1B1[e-3]),i.push(this.ToffsetWires1B1[e-1]),this.ToffsetArcWires1B=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires1B2.length>=4&&(C.push(this.ToffsetWires1B2[e-4]),C.push(this.ToffsetWires1B2[e-2]),this.ToffsetArcWires2B=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires1B2[e-3]),p.push(this.ToffsetWires1B2[e-1]),this.ToffsetArcWires2B=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.四分裂:this.ToffsetWires1B1.length>=8&&(t.push(this.ToffsetWires1B1[e-8]),t.push(this.ToffsetWires1B1[e-4]),this.ToffsetArcWires1B=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires1B1[e-7]),i.push(this.ToffsetWires1B1[e-3]),this.ToffsetArcWires1B=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires1B1[e-6]),h.push(this.ToffsetWires1B1[e-2]),this.ToffsetArcWires1B=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires1B1[e-5]),a.push(this.ToffsetWires1B1[e-1]),this.ToffsetArcWires1B=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires1B2.length>=8&&(C.push(this.ToffsetWires1B2[e-8]),C.push(this.ToffsetWires1B2[e-4]),this.ToffsetArcWires2B=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires1B2[e-7]),p.push(this.ToffsetWires1B2[e-3]),this.ToffsetArcWires2B=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires1B2[e-6]),L.push(this.ToffsetWires1B2[e-2]),this.ToffsetArcWires2B=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires1B2[e-5]),w.push(this.ToffsetWires1B2[e-1]),this.ToffsetArcWires2B=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.六分裂:this.ToffsetWires1B1.length>=12&&(t.push(this.ToffsetWires1B1[e-12]),t.push(this.ToffsetWires1B1[e-6]),this.ToffsetArcWires1B=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires1B1[e-11]),i.push(this.ToffsetWires1B1[e-5]),this.ToffsetArcWires1B=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires1B1[e-10]),h.push(this.ToffsetWires1B1[e-4]),this.ToffsetArcWires1B=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires1B1[e-9]),a.push(this.ToffsetWires1B1[e-3]),this.ToffsetArcWires1B=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),c.push(this.ToffsetWires1B1[e-8]),c.push(this.ToffsetWires1B1[e-2]),this.ToffsetArcWires1B=r(c,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),T.push(this.ToffsetWires1B1[e-7]),T.push(this.ToffsetWires1B1[e-1]),this.ToffsetArcWires1B=r(T,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires1B2.length>=12&&(C.push(this.ToffsetWires1B2[e-12]),C.push(this.ToffsetWires1B2[e-6]),this.ToffsetArcWires2B=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires1B2[e-11]),p.push(this.ToffsetWires1B2[e-5]),this.ToffsetArcWires2B=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires1B2[e-10]),L.push(this.ToffsetWires1B2[e-4]),this.ToffsetArcWires2B=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires1B2[e-9]),w.push(this.ToffsetWires1B2[e-3]),this.ToffsetArcWires2B=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),P.push(this.ToffsetWires1B2[e-8]),P.push(this.ToffsetWires1B2[e-2]),this.ToffsetArcWires2B=r(P,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),y.push(this.ToffsetWires1B2[e-7]),y.push(this.ToffsetWires1B2[e-1]),this.ToffsetArcWires2B=r(y,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.八分裂:this.ToffsetWires1B1.length>=16&&(t.push(this.ToffsetWires1B1[e-16]),t.push(this.ToffsetWires1B1[e-8]),this.ToffsetArcWires1B=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires1B1[e-15]),i.push(this.ToffsetWires1B1[e-7]),this.ToffsetArcWires1B=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires1B1[e-14]),h.push(this.ToffsetWires1B1[e-6]),this.ToffsetArcWires1B=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires1B1[e-13]),a.push(this.ToffsetWires1B1[e-5]),this.ToffsetArcWires1B=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),c.push(this.ToffsetWires1B1[e-12]),c.push(this.ToffsetWires1B1[e-4]),this.ToffsetArcWires1B=r(c,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),T.push(this.ToffsetWires1B1[e-11]),T.push(this.ToffsetWires1B1[e-3]),this.ToffsetArcWires1B=r(T,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),B.push(this.ToffsetWires1B1[e-10]),B.push(this.ToffsetWires1B1[e-2]),this.ToffsetArcWires1B=r(B,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线7"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),d.push(this.ToffsetWires1B1[e-9]),d.push(this.ToffsetWires1B1[e-1]),this.ToffsetArcWires1B=r(d,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线8"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires1B2.length>=16&&(C.push(this.ToffsetWires1B2[e-16]),C.push(this.ToffsetWires1B2[e-8]),this.ToffsetArcWires2B=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires1B2[e-15]),p.push(this.ToffsetWires1B2[e-7]),this.ToffsetArcWires2B=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires1B2[e-14]),L.push(this.ToffsetWires1B2[e-6]),this.ToffsetArcWires2B=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires1B2[e-13]),w.push(this.ToffsetWires1B2[e-5]),this.ToffsetArcWires2B=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),P.push(this.ToffsetWires1B2[e-12]),P.push(this.ToffsetWires1B2[e-4]),this.ToffsetArcWires2B=r(P,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),y.push(this.ToffsetWires1B2[e-11]),y.push(this.ToffsetWires1B2[e-3]),this.ToffsetArcWires2B=r(y,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),_.push(this.ToffsetWires1B2[e-10]),_.push(this.ToffsetWires1B2[e-2]),this.ToffsetArcWires2B=r(_,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线7"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),b.push(this.ToffsetWires1B2[e-9]),b.push(this.ToffsetWires1B2[e-1]),this.ToffsetArcWires2B=r(b,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线8"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break}}debugger;if(this.ToffsetWires1C1.length>1&&this.ToffsetWires1C2.length>1){const t=[],i=[],h=[],a=[],c=[],T=[],B=[],d=[],C=[],p=[],L=[],w=[],P=[],y=[],_=[],b=[];switch(this.LineInfo.Wairnum){case u.单分裂:this.ToffsetWires1C1.length>=2&&(t.push(this.ToffsetWires1C1[e-2]),t.push(this.ToffsetWires1C1[e-1]),this.ToffsetArcWires1C=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires1C2.length>=2&&(C.push(this.ToffsetWires1C2[e-2]),C.push(this.ToffsetWires1C2[e-1]),this.ToffsetArcWires2C=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.双分裂:this.ToffsetWires1C1.length>=4&&(t.push(this.ToffsetWires1C1[e-4]),t.push(this.ToffsetWires1C1[e-2]),this.ToffsetArcWires1C=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires1C1[e-3]),i.push(this.ToffsetWires1C1[e-1]),this.ToffsetArcWires1C=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires1C2.length>=4&&(C.push(this.ToffsetWires1C2[e-4]),C.push(this.ToffsetWires1C2[e-2]),this.ToffsetArcWires2C=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires1C2[e-3]),p.push(this.ToffsetWires1C2[e-1]),this.ToffsetArcWires2C=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.四分裂:this.ToffsetWires1C1.length>=8&&(t.push(this.ToffsetWires1C1[e-8]),t.push(this.ToffsetWires1C1[e-4]),this.ToffsetArcWires1C=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires1C1[e-7]),i.push(this.ToffsetWires1C1[e-3]),this.ToffsetArcWires1C=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires1C1[e-6]),h.push(this.ToffsetWires1C1[e-2]),this.ToffsetArcWires1C=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires1C1[e-5]),a.push(this.ToffsetWires1C1[e-1]),this.ToffsetArcWires1C=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires1C2.length>=8&&(C.push(this.ToffsetWires1C2[e-8]),C.push(this.ToffsetWires1C2[e-4]),this.ToffsetArcWires2C=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires1C2[e-7]),p.push(this.ToffsetWires1C2[e-3]),this.ToffsetArcWires2C=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires1C2[e-6]),L.push(this.ToffsetWires1C2[e-2]),this.ToffsetArcWires2C=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires1C2[e-5]),w.push(this.ToffsetWires1C2[e-1]),this.ToffsetArcWires2C=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.六分裂:this.ToffsetWires1C1.length>=12&&(t.push(this.ToffsetWires1C1[e-12]),t.push(this.ToffsetWires1C1[e-6]),this.ToffsetArcWires1C=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires1C1[e-11]),i.push(this.ToffsetWires1C1[e-5]),this.ToffsetArcWires1C=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires1C1[e-10]),h.push(this.ToffsetWires1C1[e-4]),this.ToffsetArcWires1C=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires1C1[e-9]),a.push(this.ToffsetWires1C1[e-3]),this.ToffsetArcWires1C=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),c.push(this.ToffsetWires1C1[e-8]),c.push(this.ToffsetWires1C1[e-2]),this.ToffsetArcWires1C=r(c,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),T.push(this.ToffsetWires1C1[e-7]),T.push(this.ToffsetWires1C1[e-1]),this.ToffsetArcWires1C=r(T,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires1C2.length>=12&&(C.push(this.ToffsetWires1C2[e-12]),C.push(this.ToffsetWires1C2[e-6]),this.ToffsetArcWires2C=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires1C2[e-11]),p.push(this.ToffsetWires1C2[e-5]),this.ToffsetArcWires2C=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires1C2[e-10]),L.push(this.ToffsetWires1C2[e-4]),this.ToffsetArcWires2C=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires1C2[e-9]),w.push(this.ToffsetWires1C2[e-3]),this.ToffsetArcWires2C=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),P.push(this.ToffsetWires1C2[e-8]),P.push(this.ToffsetWires1C2[e-2]),this.ToffsetArcWires2C=r(P,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),y.push(this.ToffsetWires1C2[e-7]),y.push(this.ToffsetWires1C2[e-1]),this.ToffsetArcWires2C=r(y,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.八分裂:this.ToffsetWires1C1.length>=16&&(t.push(this.ToffsetWires1C1[e-16]),t.push(this.ToffsetWires1C1[e-8]),this.ToffsetArcWires1C=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires1C1[e-15]),i.push(this.ToffsetWires1C1[e-7]),this.ToffsetArcWires1C=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires1C1[e-14]),h.push(this.ToffsetWires1C1[e-6]),this.ToffsetArcWires1C=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires1C1[e-13]),a.push(this.ToffsetWires1C1[e-5]),this.ToffsetArcWires1C=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),c.push(this.ToffsetWires1C1[e-12]),c.push(this.ToffsetWires1C1[e-4]),this.ToffsetArcWires1C=r(c,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),T.push(this.ToffsetWires1C1[e-11]),T.push(this.ToffsetWires1C1[e-3]),this.ToffsetArcWires1C=r(T,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),B.push(this.ToffsetWires1C1[e-10]),B.push(this.ToffsetWires1C1[e-2]),this.ToffsetArcWires1C=r(B,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线7"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),d.push(this.ToffsetWires1C1[e-9]),d.push(this.ToffsetWires1C1[e-1]),this.ToffsetArcWires1C=r(d,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线8"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires1C2.length>=16&&(C.push(this.ToffsetWires1C2[e-16]),C.push(this.ToffsetWires1C2[e-8]),this.ToffsetArcWires2C=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires1C2[e-15]),p.push(this.ToffsetWires1C2[e-7]),this.ToffsetArcWires2C=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires1C2[e-14]),L.push(this.ToffsetWires1C2[e-6]),this.ToffsetArcWires2C=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires1C2[e-13]),w.push(this.ToffsetWires1C2[e-5]),this.ToffsetArcWires2C=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),P.push(this.ToffsetWires1C2[e-12]),P.push(this.ToffsetWires1C2[e-4]),this.ToffsetArcWires2C=r(P,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),y.push(this.ToffsetWires1C2[e-11]),y.push(this.ToffsetWires1C2[e-3]),this.ToffsetArcWires2C=r(y,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),_.push(this.ToffsetWires1C2[e-10]),_.push(this.ToffsetWires1C2[e-2]),this.ToffsetArcWires2C=r(_,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线7"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),b.push(this.ToffsetWires1C2[e-9]),b.push(this.ToffsetWires1C2[e-1]),this.ToffsetArcWires2C=r(b,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线8"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break}}if(this.ToffsetWires2A1.length>1&&this.ToffsetWires2A2.length>1){const t=[],i=[],h=[],a=[],c=[],T=[],B=[],d=[],C=[],p=[],L=[],w=[],P=[],y=[],_=[],b=[];switch(this.LineInfo.Wairnum){case u.单分裂:this.ToffsetWires2A1.length>=2&&(t.push(this.ToffsetWires2A1[e-2]),t.push(this.ToffsetWires2A1[e-1]),this.ToffsetArcWires1A2=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires2A2.length>=2&&(C.push(this.ToffsetWires2A2[e-2]),C.push(this.ToffsetWires2A2[e-1]),this.ToffsetArcWires2A2=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.双分裂:this.ToffsetWires2A1.length>=4&&(t.push(this.ToffsetWires2A1[e-4]),t.push(this.ToffsetWires2A1[e-2]),this.ToffsetArcWires1A2=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires2A1[e-3]),i.push(this.ToffsetWires2A1[e-1]),this.ToffsetArcWires1A2=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires2A2.length>=4&&(C.push(this.ToffsetWires2A2[e-4]),C.push(this.ToffsetWires2A2[e-2]),this.ToffsetArcWires2A2=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires2A2[e-3]),p.push(this.ToffsetWires2A2[e-1]),this.ToffsetArcWires2A2=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.四分裂:this.ToffsetWires2A1.length>=8&&(t.push(this.ToffsetWires2A1[e-8]),t.push(this.ToffsetWires2A1[e-4]),this.ToffsetArcWires1A2=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires2A1[e-7]),i.push(this.ToffsetWires2A1[e-3]),this.ToffsetArcWires1A2=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires2A1[e-6]),h.push(this.ToffsetWires2A1[e-2]),this.ToffsetArcWires1A2=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires2A1[e-5]),a.push(this.ToffsetWires2A1[e-1]),this.ToffsetArcWires1A2=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires2A2.length>=8&&(C.push(this.ToffsetWires2A2[e-8]),C.push(this.ToffsetWires2A2[e-4]),this.ToffsetArcWires2A2=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires2A2[e-7]),p.push(this.ToffsetWires2A2[e-3]),this.ToffsetArcWires2A2=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires2A2[e-6]),L.push(this.ToffsetWires2A2[e-2]),this.ToffsetArcWires2A2=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires2A2[e-5]),w.push(this.ToffsetWires2A2[e-1]),this.ToffsetArcWires2A2=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.六分裂:this.ToffsetWires2A1.length>=12&&(t.push(this.ToffsetWires2A1[e-12]),t.push(this.ToffsetWires2A1[e-6]),this.ToffsetArcWires1A2=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires2A1[e-11]),i.push(this.ToffsetWires2A1[e-5]),this.ToffsetArcWires1A2=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires2A1[e-10]),h.push(this.ToffsetWires2A1[e-4]),this.ToffsetArcWires1A2=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires2A1[e-9]),a.push(this.ToffsetWires2A1[e-3]),this.ToffsetArcWires1A2=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),c.push(this.ToffsetWires2A1[e-8]),c.push(this.ToffsetWires2A1[e-2]),this.ToffsetArcWires1A2=r(c,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),T.push(this.ToffsetWires2A1[e-7]),T.push(this.ToffsetWires2A1[e-1]),this.ToffsetArcWires1A2=r(T,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires2A2.length>=12&&(C.push(this.ToffsetWires2A2[e-12]),C.push(this.ToffsetWires2A2[e-6]),this.ToffsetArcWires2A2=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires2A2[e-11]),p.push(this.ToffsetWires2A2[e-5]),this.ToffsetArcWires2A2=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires2A2[e-10]),L.push(this.ToffsetWires2A2[e-4]),this.ToffsetArcWires2A2=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires2A2[e-9]),w.push(this.ToffsetWires2A2[e-3]),this.ToffsetArcWires2A2=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),P.push(this.ToffsetWires2A2[e-8]),P.push(this.ToffsetWires2A2[e-2]),this.ToffsetArcWires2A2=r(P,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),y.push(this.ToffsetWires2A2[e-7]),y.push(this.ToffsetWires2A2[e-1]),this.ToffsetArcWires2A2=r(y,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.八分裂:this.ToffsetWires2A1.length>=16&&(t.push(this.ToffsetWires2A1[e-16]),t.push(this.ToffsetWires2A1[e-8]),this.ToffsetArcWires1A2=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires2A1[e-15]),i.push(this.ToffsetWires2A1[e-7]),this.ToffsetArcWires1A2=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires2A1[e-14]),h.push(this.ToffsetWires2A1[e-6]),this.ToffsetArcWires1A2=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires2A1[e-13]),a.push(this.ToffsetWires2A1[e-5]),this.ToffsetArcWires1A2=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),c.push(this.ToffsetWires2A1[e-12]),c.push(this.ToffsetWires2A1[e-4]),this.ToffsetArcWires1A2=r(c,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),T.push(this.ToffsetWires2A1[e-11]),T.push(this.ToffsetWires2A1[e-3]),this.ToffsetArcWires1A2=r(T,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),B.push(this.ToffsetWires2A1[e-10]),B.push(this.ToffsetWires2A1[e-2]),this.ToffsetArcWires1A2=r(B,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线7"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),d.push(this.ToffsetWires2A1[e-9]),d.push(this.ToffsetWires2A1[e-1]),this.ToffsetArcWires1A2=r(d,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线8"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires2A2.length>=16&&(C.push(this.ToffsetWires2A2[e-16]),C.push(this.ToffsetWires2A2[e-8]),this.ToffsetArcWires2A2=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires2A2[e-15]),p.push(this.ToffsetWires2A2[e-7]),this.ToffsetArcWires2A2=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires2A2[e-14]),L.push(this.ToffsetWires2A2[e-6]),this.ToffsetArcWires2A2=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires2A2[e-13]),w.push(this.ToffsetWires2A2[e-5]),this.ToffsetArcWires2A2=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),P.push(this.ToffsetWires2A2[e-12]),P.push(this.ToffsetWires2A2[e-4]),this.ToffsetArcWires2A2=r(P,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),y.push(this.ToffsetWires2A2[e-11]),y.push(this.ToffsetWires2A2[e-3]),this.ToffsetArcWires2A2=r(y,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),_.push(this.ToffsetWires2A2[e-10]),_.push(this.ToffsetWires2A2[e-2]),this.ToffsetArcWires2A2=r(_,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线7"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),b.push(this.ToffsetWires2A2[e-9]),b.push(this.ToffsetWires2A2[e-1]),this.ToffsetArcWires2A2=r(b,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线8"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break}}if(this.ToffsetWires2B1.length>1&&this.ToffsetWires2B2.length>1){const t=[],i=[],h=[],a=[],c=[],T=[],B=[],d=[],C=[],p=[],L=[],w=[],P=[],y=[],_=[],b=[];switch(this.LineInfo.Wairnum){case u.单分裂:this.ToffsetWires2B1.length>=2&&(t.push(this.ToffsetWires2B1[e-2]),t.push(this.ToffsetWires2B1[e-1]),this.ToffsetArcWires1B2=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires2B2.length>=2&&(C.push(this.ToffsetWires2B2[e-2]),C.push(this.ToffsetWires2B2[e-1]),this.ToffsetArcWires2B2=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.双分裂:this.ToffsetWires2B1.length>=4&&(t.push(this.ToffsetWires2B1[e-4]),t.push(this.ToffsetWires2B1[e-2]),this.ToffsetArcWires1B2=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires2B1[e-3]),i.push(this.ToffsetWires2B1[e-1]),this.ToffsetArcWires1B2=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires2B2.length>=4&&(C.push(this.ToffsetWires2B2[e-4]),C.push(this.ToffsetWires2B2[e-2]),this.ToffsetArcWires2B2=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires2B2[e-3]),p.push(this.ToffsetWires2B2[e-1]),this.ToffsetArcWires2B2=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.四分裂:this.ToffsetWires2B1.length>=8&&(t.push(this.ToffsetWires2B1[e-8]),t.push(this.ToffsetWires2B1[e-4]),this.ToffsetArcWires1B2=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires2B1[e-7]),i.push(this.ToffsetWires2B1[e-3]),this.ToffsetArcWires1B2=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires2B1[e-6]),h.push(this.ToffsetWires2B1[e-2]),this.ToffsetArcWires1B2=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires2B1[e-5]),a.push(this.ToffsetWires2B1[e-1]),this.ToffsetArcWires1B2=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires2B2.length>=8&&(C.push(this.ToffsetWires2B2[e-8]),C.push(this.ToffsetWires2B2[e-4]),this.ToffsetArcWires2B2=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires2B2[e-7]),p.push(this.ToffsetWires2B2[e-3]),this.ToffsetArcWires2B2=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires2B2[e-6]),L.push(this.ToffsetWires2B2[e-2]),this.ToffsetArcWires2B2=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires2B2[e-5]),w.push(this.ToffsetWires2B2[e-1]),this.ToffsetArcWires2B2=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.六分裂:this.ToffsetWires2B1.length>=12&&(t.push(this.ToffsetWires2B1[e-12]),t.push(this.ToffsetWires2B1[e-6]),this.ToffsetArcWires1B2=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires2B1[e-11]),i.push(this.ToffsetWires2B1[e-5]),this.ToffsetArcWires1B2=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires2B1[e-10]),h.push(this.ToffsetWires2B1[e-4]),this.ToffsetArcWires1B2=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires2B1[e-9]),a.push(this.ToffsetWires2B1[e-3]),this.ToffsetArcWires1B2=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),c.push(this.ToffsetWires2B1[e-8]),c.push(this.ToffsetWires2B1[e-2]),this.ToffsetArcWires1B2=r(c,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),T.push(this.ToffsetWires2B1[e-7]),T.push(this.ToffsetWires2B1[e-1]),this.ToffsetArcWires1B2=r(T,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires2B2.length>=12&&(C.push(this.ToffsetWires2B2[e-12]),C.push(this.ToffsetWires2B2[e-6]),this.ToffsetArcWires2B2=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires2B2[e-11]),p.push(this.ToffsetWires2B2[e-5]),this.ToffsetArcWires2B2=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires2B2[e-10]),L.push(this.ToffsetWires2B2[e-4]),this.ToffsetArcWires2B2=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires2B2[e-9]),w.push(this.ToffsetWires2B2[e-3]),this.ToffsetArcWires2B2=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),P.push(this.ToffsetWires2B2[e-8]),P.push(this.ToffsetWires2B2[e-2]),this.ToffsetArcWires2B2=r(P,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),y.push(this.ToffsetWires2B2[e-7]),y.push(this.ToffsetWires2B2[e-1]),this.ToffsetArcWires2B2=r(y,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.八分裂:this.ToffsetWires2B1.length>=16&&(t.push(this.ToffsetWires2B1[e-16]),t.push(this.ToffsetWires2B1[e-8]),this.ToffsetArcWires1B2=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires2B1[e-15]),i.push(this.ToffsetWires2B1[e-7]),this.ToffsetArcWires1B2=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires2B1[e-14]),h.push(this.ToffsetWires2B1[e-6]),this.ToffsetArcWires1B2=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires2B1[e-13]),a.push(this.ToffsetWires2B1[e-5]),this.ToffsetArcWires1B2=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),c.push(this.ToffsetWires2B1[e-12]),c.push(this.ToffsetWires2B1[e-4]),this.ToffsetArcWires1B2=r(c,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),T.push(this.ToffsetWires2B1[e-11]),T.push(this.ToffsetWires2B1[e-3]),this.ToffsetArcWires1B2=r(T,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),B.push(this.ToffsetWires2B1[e-10]),B.push(this.ToffsetWires2B1[e-2]),this.ToffsetArcWires1B2=r(B,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线7"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),d.push(this.ToffsetWires2B1[e-9]),d.push(this.ToffsetWires2B1[e-1]),this.ToffsetArcWires1B2=r(d,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线8"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires2B2.length>=16&&(C.push(this.ToffsetWires2B2[e-16]),C.push(this.ToffsetWires2B2[e-8]),this.ToffsetArcWires2B2=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires2B2[e-15]),p.push(this.ToffsetWires2B2[e-7]),this.ToffsetArcWires2B2=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires2B2[e-14]),L.push(this.ToffsetWires2B2[e-6]),this.ToffsetArcWires2B2=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires2B2[e-13]),w.push(this.ToffsetWires2B2[e-5]),this.ToffsetArcWires2B2=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),P.push(this.ToffsetWires2B2[e-12]),P.push(this.ToffsetWires2B2[e-4]),this.ToffsetArcWires2B2=r(P,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),y.push(this.ToffsetWires2B2[e-11]),y.push(this.ToffsetWires2B2[e-3]),this.ToffsetArcWires2B2=r(y,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),_.push(this.ToffsetWires2B2[e-10]),_.push(this.ToffsetWires2B2[e-2]),this.ToffsetArcWires2B2=r(_,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线7"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),b.push(this.ToffsetWires2B2[e-9]),b.push(this.ToffsetWires2B2[e-1]),this.ToffsetArcWires2B2=r(b,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线8"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break}}if(this.ToffsetWires2C1.length>1&&this.ToffsetWires2C2.length>1){const t=[],i=[],h=[],a=[],c=[],T=[],B=[],d=[],C=[],p=[],L=[],w=[],P=[],y=[],_=[],b=[];switch(this.LineInfo.Wairnum){case u.单分裂:this.ToffsetWires2C1.length>=2&&(t.push(this.ToffsetWires2C1[e-2]),t.push(this.ToffsetWires2C1[e-1]),this.ToffsetArcWires1C2=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires2C2.length>=2&&(C.push(this.ToffsetWires2C2[e-2]),C.push(this.ToffsetWires2C2[e-1]),this.ToffsetArcWires2C2=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.双分裂:this.ToffsetWires2C1.length>=4&&(t.push(this.ToffsetWires2C1[e-4]),t.push(this.ToffsetWires2C1[e-2]),this.ToffsetArcWires1C2=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires2C1[e-3]),i.push(this.ToffsetWires2C1[e-1]),this.ToffsetArcWires1C2=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires2C2.length>=4&&(C.push(this.ToffsetWires2C2[e-4]),C.push(this.ToffsetWires2C2[e-2]),this.ToffsetArcWires2C2=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires2C2[e-3]),p.push(this.ToffsetWires2C2[e-1]),this.ToffsetArcWires2C2=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.四分裂:this.ToffsetWires2C1.length>=8&&(t.push(this.ToffsetWires2C1[e-8]),t.push(this.ToffsetWires2C1[e-4]),this.ToffsetArcWires1C2=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires2C1[e-7]),i.push(this.ToffsetWires2C1[e-3]),this.ToffsetArcWires1C2=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires2C1[e-6]),h.push(this.ToffsetWires2C1[e-2]),this.ToffsetArcWires1C2=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires2C1[e-5]),a.push(this.ToffsetWires2C1[e-1]),this.ToffsetArcWires1C2=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires2C2.length>=8&&(C.push(this.ToffsetWires2C2[e-8]),C.push(this.ToffsetWires2C2[e-4]),this.ToffsetArcWires2C2=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires2C2[e-7]),p.push(this.ToffsetWires2C2[e-3]),this.ToffsetArcWires2C2=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires2C2[e-6]),L.push(this.ToffsetWires2C2[e-2]),this.ToffsetArcWires2C2=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires2C2[e-5]),w.push(this.ToffsetWires2C2[e-1]),this.ToffsetArcWires2C2=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.六分裂:this.ToffsetWires2C1.length>=12&&(t.push(this.ToffsetWires2C1[e-12]),t.push(this.ToffsetWires2C1[e-6]),this.ToffsetArcWires1C2=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires2C1[e-11]),i.push(this.ToffsetWires2C1[e-5]),this.ToffsetArcWires1C2=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires2C1[e-10]),h.push(this.ToffsetWires2C1[e-4]),this.ToffsetArcWires1C2=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires2C1[e-9]),a.push(this.ToffsetWires2C1[e-3]),this.ToffsetArcWires1C2=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),c.push(this.ToffsetWires2C1[e-8]),c.push(this.ToffsetWires2C1[e-2]),this.ToffsetArcWires1C2=r(c,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),T.push(this.ToffsetWires2C1[e-7]),T.push(this.ToffsetWires2C1[e-1]),this.ToffsetArcWires1C2=r(T,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires2C2.length>=12&&(C.push(this.ToffsetWires2C2[e-12]),C.push(this.ToffsetWires2C2[e-6]),this.ToffsetArcWires2C2=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires2C2[e-11]),p.push(this.ToffsetWires2C2[e-5]),this.ToffsetArcWires2C2=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires2C2[e-10]),L.push(this.ToffsetWires2C2[e-4]),this.ToffsetArcWires2C2=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires2C2[e-9]),w.push(this.ToffsetWires2C2[e-3]),this.ToffsetArcWires2C2=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),P.push(this.ToffsetWires2C2[e-8]),P.push(this.ToffsetWires2C2[e-2]),this.ToffsetArcWires2C2=r(P,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),y.push(this.ToffsetWires2C2[e-7]),y.push(this.ToffsetWires2C2[e-1]),this.ToffsetArcWires2C2=r(y,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.八分裂:this.ToffsetWires2C1.length>=16&&(t.push(this.ToffsetWires2C1[e-16]),t.push(this.ToffsetWires2C1[e-8]),this.ToffsetArcWires1C2=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires2C1[e-15]),i.push(this.ToffsetWires2C1[e-7]),this.ToffsetArcWires1C2=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires2C1[e-14]),h.push(this.ToffsetWires2C1[e-6]),this.ToffsetArcWires1C2=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires2C1[e-13]),a.push(this.ToffsetWires2C1[e-5]),this.ToffsetArcWires1C2=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),c.push(this.ToffsetWires2C1[e-12]),c.push(this.ToffsetWires2C1[e-4]),this.ToffsetArcWires1C2=r(c,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),T.push(this.ToffsetWires2C1[e-11]),T.push(this.ToffsetWires2C1[e-3]),this.ToffsetArcWires1C2=r(T,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),B.push(this.ToffsetWires2C1[e-10]),B.push(this.ToffsetWires2C1[e-2]),this.ToffsetArcWires1C2=r(B,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线7"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),d.push(this.ToffsetWires2C1[e-9]),d.push(this.ToffsetWires2C1[e-1]),this.ToffsetArcWires1C2=r(d,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线8"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires2C2.length>=16&&(C.push(this.ToffsetWires2C2[e-16]),C.push(this.ToffsetWires2C2[e-8]),this.ToffsetArcWires2C2=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires2C2[e-15]),p.push(this.ToffsetWires2C2[e-7]),this.ToffsetArcWires2C2=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires2C2[e-14]),L.push(this.ToffsetWires2C2[e-6]),this.ToffsetArcWires2C2=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires2C2[e-13]),w.push(this.ToffsetWires2C2[e-5]),this.ToffsetArcWires2C2=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),P.push(this.ToffsetWires2C2[e-12]),P.push(this.ToffsetWires2C2[e-4]),this.ToffsetArcWires2C2=r(P,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),y.push(this.ToffsetWires2C2[e-11]),y.push(this.ToffsetWires2C2[e-3]),this.ToffsetArcWires2C2=r(y,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),_.push(this.ToffsetWires2C2[e-10]),_.push(this.ToffsetWires2C2[e-2]),this.ToffsetArcWires2C2=r(_,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线7"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),b.push(this.ToffsetWires2C2[e-9]),b.push(this.ToffsetWires2C2[e-1]),this.ToffsetArcWires2C2=r(b,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线8"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break}}}else switch(this.LineInfo.Wairnum){case u.单分裂:f=f+1;break;case u.双分裂:f=f+2;break;case u.四分裂:f=f+4;break;case u.六分裂:f=f+6;break;case u.八分裂:f=f+8;break}})}loadLineModel(){this.Keym=="OW_JPS_EEngin_001"&&(this.viewer.dataSources.add(this.dataSource2),this.viewer.entities.show)}LineSpriteLineinit(){Cesium.Material._materialCache.addMaterial("SpriteLineMaterialType",{fabric:{type:"SpriteLineMaterialType",uniforms:{color:new Cesium.Color(1,1,0,1),speed:2},source:`
|
|
1
|
+
(function(Z,o){typeof exports=="object"&&typeof module<"u"?o(exports):typeof define=="function"&&define.amd?define(["exports"],o):(Z=typeof globalThis<"u"?globalThis:Z||self,o(Z.OW_EEngine_Power={}))})(this,function(Z){"use strict";var is=Object.defineProperty;var ts=(Z,o,D)=>o in Z?is(Z,o,{enumerable:!0,configurable:!0,writable:!0,value:D}):Z[o]=D;var A=(Z,o,D)=>ts(Z,typeof o!="symbol"?o+"":o,D);function o(I,f,e=10,n="#ba1919"){return{name:f,label:{text:f,font:"18px sans-serif"},polyline:{show:!0,positions:I,clampToGround:!1,width:e,material:Cesium.Color.fromCssColorString(n),arcType:Cesium.ArcType.NONE,shadows:Cesium.ShadowMode.DISABLED}}}function D(I,f,e,n,s=new Cesium.HeadingPitchRoll(0,0,0),k=1){return{id:I,name:e,position:f,orientation:Cesium.Transforms.headingPitchRollQuaternion(f,s),model:{show:!0,uri:n,scale:k,heightReference:Cesium.HeightReference.NONE}}}function H(I,f){return{name:f,position:I,label:{text:f,font:"18px sans-serif",fillColor:Cesium.Color.GOLD,pixelOffset:new Cesium.Cartesian2(0,-20),style:Cesium.LabelStyle.FILL_AND_OUTLINE,outlineWidth:2,outlineColor:Cesium.Color.BLACK,heightReference:Cesium.HeightReference.NONE,distanceDisplayCondition:new Cesium.DistanceDisplayCondition(0,1e4)},point:{color:Cesium.Color.RED,pixelSize:12,heightReference:Cesium.HeightReference.NONE,distanceDisplayCondition:new Cesium.DistanceDisplayCondition(0,1e4)}}}function l(I,f,e,n,s){e||(e=new Cesium.HeadingPitchRoll);const k=Cesium.Transforms.headingPitchRollQuaternion(I,e,n,s),W=Cesium.Matrix4.fromRotationTranslation(Cesium.Matrix3.fromQuaternion(k,new Cesium.Matrix3),I,new Cesium.Matrix4);return Cesium.Matrix4.multiplyByPoint(W,f,new Cesium.Cartesian3)}function r(I,f=4){const e=[];for(var n=0;n<I.length-1;n++)e.push(...K(I[n],I[n+1],f*-1e3,100));return e}function K(I,f,e,n){var s=[],k=Cesium.Cartographic.fromCartesian(I),W=Cesium.Cartographic.fromCartesian(f),m=k.longitude*180/Math.PI,t=k.latitude*180/Math.PI,i=W.longitude*180/Math.PI,h=W.latitude*180/Math.PI,a=Math.sqrt((m-i)*(m-i)+(t-h)*(t-h)),c=a*e,T=Cesium.Cartesian3.clone(I),B=Cesium.Cartesian3.clone(f),d=Cesium.Cartesian3.distance(T,Cesium.Cartesian3.ZERO),C=Cesium.Cartesian3.distance(B,Cesium.Cartesian3.ZERO);if(Cesium.Cartesian3.normalize(T,T),Cesium.Cartesian3.normalize(B,B),Cesium.Cartesian3.distance(T,B)==0)return s;var p=Cesium.Cartesian3.angleBetween(T,B);s.push(I);for(var L=1;L<n-1;L++){var w=L*1/(n-1),P=1-w,y=Math.sin(P*p)/Math.sin(p),_=Math.sin(w*p)/Math.sin(p),b=Cesium.Cartesian3.multiplyByScalar(T,y,new Cesium.Cartesian3),X=Cesium.Cartesian3.multiplyByScalar(B,_,new Cesium.Cartesian3),g=Cesium.Cartesian3.add(b,X,new Cesium.Cartesian3),Y=w*Math.PI,F=d*P+C*w+Math.sin(Y)*c;g=Cesium.Cartesian3.multiplyByScalar(g,F,g),s.push(g)}return s.push(f),s}class J{constructor(){A(this,"LineID","myEntity1");A(this,"Tag","");A(this,"towers",[]);A(this,"ISPhaseSequence",!1);A(this,"Wairnum",0);A(this,"Type",0);A(this,"wireAColor","#FFFFFF");A(this,"wireBColor","#FFFFFF");A(this,"wireCColor","#FFFFFF");A(this,"wireTColor","#FFFFFF");A(this,"wireD1Color","#FFFFFF");A(this,"wireD2Color","#FFFFFF");A(this,"wireWidth",1)}}class q{constructor(){A(this,"id","");A(this,"name","");A(this,"type",0);A(this,"Longitude",0);A(this,"Latitude",0);A(this,"Altitude",0);A(this,"RollX",0);A(this,"RollY",90);A(this,"RollZ",0);A(this,"towerScale",1);A(this,"towerHeight",42);A(this,"towerModelUri","");A(this,"towerPoint",[]);A(this,"Insulators",[])}}class U{constructor(){A(this,"id","");A(this,"name","");A(this,"type",0);A(this,"WairFX","进");A(this,"linenum",1);A(this,"Wairnum",0);A(this,"PhaseSequence",0);A(this,"RollX",90);A(this,"RollY",0);A(this,"RollZ",0);A(this,"InsulatorScale",1);A(this,"InsulatorLength",0);A(this,"InsulatorModelUri","");A(this,"InsulatorPoint",[])}}class ${constructor(){A(this,"name","");A(this,"X",-45);A(this,"Y",90);A(this,"Z",0)}}var v=(I=>(I[I.A相=0]="A相",I[I.B相=1]="B相",I[I.C相=2]="C相",I[I.地线1=3]="地线1",I[I.地线2=4]="地线2",I))(v||{}),N=(I=>(I[I.直线塔=0]="直线塔",I[I.耐张塔=1]="耐张塔",I[I.门架塔=2]="门架塔",I[I.换位塔=3]="换位塔",I))(N||{}),G=(I=>(I[I.交流单回路=0]="交流单回路",I[I.交流双回路=1]="交流双回路",I[I.直流单回路=2]="直流单回路",I[I.直流双回路=3]="直流双回路",I[I.交流四回路=4]="交流四回路",I))(G||{}),O=(I=>(I[I.地线=0]="地线",I[I.回路一=1]="回路一",I[I.回路二=2]="回路二",I[I.回路三=3]="回路三",I[I.回路四=4]="回路四",I))(O||{}),S=(I=>(I[I.悬垂串=0]="悬垂串",I[I.耐张串=1]="耐张串",I[I.跳线串=2]="跳线串",I[I.硬跳串=3]="硬跳串",I[I.V串=4]="V串",I[I.地线串=5]="地线串",I[I.绕跳临时=6]="绕跳临时",I))(S||{}),u=(I=>(I[I.单分裂=0]="单分裂",I[I.双分裂=1]="双分裂",I[I.四分裂=2]="四分裂",I[I.六分裂=3]="六分裂",I[I.八分裂=4]="八分裂",I))(u||{});class Q{constructor(f,e,n){A(this,"viewer");A(this,"LineInfo");A(this,"Keym","");A(this,"dataSource2");A(this,"entityCollection2");A(this,"offsetTowers",[]);A(this,"offsetWires11",[]);A(this,"offsetWires12",[]);A(this,"offsetWires13",[]);A(this,"offsetWires21",[]);A(this,"offsetWires22",[]);A(this,"offsetWires23",[]);A(this,"ToffsetArcWires1A",[]);A(this,"ToffsetArcWires2A",[]);A(this,"ToffsetWires1A1",[]);A(this,"ToffsetWires1A2",[]);A(this,"ToffsetArcWires1B",[]);A(this,"ToffsetArcWires2B",[]);A(this,"ToffsetWires1B1",[]);A(this,"ToffsetWires1B2",[]);A(this,"ToffsetArcWires1C",[]);A(this,"ToffsetArcWires2C",[]);A(this,"ToffsetWires1C1",[]);A(this,"ToffsetWires1C2",[]);A(this,"ToffsetArcWires1A2",[]);A(this,"ToffsetArcWires2A2",[]);A(this,"ToffsetWires2A1",[]);A(this,"ToffsetWires2A2",[]);A(this,"ToffsetArcWires1B2",[]);A(this,"ToffsetArcWires2B2",[]);A(this,"ToffsetWires2B1",[]);A(this,"ToffsetWires2B2",[]);A(this,"ToffsetArcWires1C2",[]);A(this,"ToffsetArcWires2C2",[]);A(this,"ToffsetWires2C1",[]);A(this,"ToffsetWires2C2",[]);A(this,"offsetArcWires1A",[]);A(this,"offsetArcWires1B",[]);A(this,"offsetArcWires1C",[]);A(this,"offsetArcWires2A",[]);A(this,"offsetArcWires2B",[]);A(this,"offsetArcWires2C",[]);A(this,"offsetGrouundWires1",[]);A(this,"offsetGrouundWires2",[]);A(this,"offsetGrouundWires11",[]);A(this,"offsetGrouundWires12",[]);this.Keym=n,this.viewer=f,this.LineInfo=e,this.dataSource2=new Cesium.CustomDataSource(this.LineInfo.LineID),this.entityCollection2=this.dataSource2.entities}loadLineTower(){if(this.Keym!="OW_JPS_EEngin_001")return;debugger;this.LineInfo.towers.forEach(n=>{this.offsetTowers.push(Cesium.Cartesian3.fromDegrees(n.Longitude,n.Latitude,n.Altitude))});let f=0,e=0;this.offsetTowers.forEach((n,s)=>{const k=new Cesium.HeadingPitchRoll(Cesium.Math.toRadians(this.LineInfo.towers[s].RollX),Cesium.Math.toRadians(this.LineInfo.towers[s].RollY),Cesium.Math.toRadians(this.LineInfo.towers[s].RollZ));this.entityCollection2.add(D(this.LineInfo.towers[s].id,n,this.LineInfo.towers[s].name,this.LineInfo.towers[s].towerModelUri,k,this.LineInfo.towers[s].towerScale));let W=new Cesium.HeadingPitchRoll(Cesium.Math.toRadians(this.LineInfo.towers[s].RollX),0,0),m=0;this.LineInfo.towers[s].Insulators.forEach(t=>{if(this.LineInfo.towers[s].type==N.耐张塔)switch(t.type){case S.耐张串:let h=new Cesium.HeadingPitchRoll(Cesium.Math.toRadians(this.LineInfo.towers[s].RollX),0,0);if(t.WairFX=="进"){const d=new Cesium.HeadingPitchRoll(Cesium.Math.toRadians(t.RollX),Cesium.Math.toRadians(-90),Cesium.Math.toRadians(180)),C=l(n,new Cesium.Cartesian3(this.LineInfo.towers[s].towerPoint[m].X,this.LineInfo.towers[s].towerPoint[m].Y,this.LineInfo.towers[s].towerPoint[m].Z),h);this.entityCollection2.add(D(t.id,C,t.name,t.InsulatorModelUri,d,t.InsulatorScale))}else{const d=new Cesium.HeadingPitchRoll(Cesium.Math.toRadians(t.RollX),Cesium.Math.toRadians(-90),Cesium.Math.toRadians(0)),C=l(n,new Cesium.Cartesian3(this.LineInfo.towers[s].towerPoint[m].X,this.LineInfo.towers[s].towerPoint[m].Y,this.LineInfo.towers[s].towerPoint[m].Z),h);this.entityCollection2.add(D(t.id,C,t.name,t.InsulatorModelUri,d,t.InsulatorScale))}break;case S.跳线串:const a=new Cesium.HeadingPitchRoll(Cesium.Math.toRadians(t.RollX),Cesium.Math.toRadians(t.RollY),Cesium.Math.toRadians(t.RollZ)),c=l(n,new Cesium.Cartesian3(this.LineInfo.towers[s].towerPoint[m].X,this.LineInfo.towers[s].towerPoint[m].Y,this.LineInfo.towers[s].towerPoint[m].Z),W);this.entityCollection2.add(D(t.id,c,t.name,t.InsulatorModelUri,a,t.InsulatorScale));break;case S.地线串:const T=new Cesium.HeadingPitchRoll(Cesium.Math.toRadians(t.RollX),Cesium.Math.toRadians(t.RollY),Cesium.Math.toRadians(t.RollZ)),B=l(n,new Cesium.Cartesian3(this.LineInfo.towers[s].towerPoint[m].X,this.LineInfo.towers[s].towerPoint[m].Y,this.LineInfo.towers[s].towerPoint[m].Z),W);this.entityCollection2.add(D(t.id,B,t.name,t.InsulatorModelUri,T,t.InsulatorScale));break}else{const h=new Cesium.HeadingPitchRoll(Cesium.Math.toRadians(t.RollX),Cesium.Math.toRadians(t.RollY),Cesium.Math.toRadians(t.RollZ)),a=l(n,new Cesium.Cartesian3(this.LineInfo.towers[s].towerPoint[m].X,this.LineInfo.towers[s].towerPoint[m].Y,this.LineInfo.towers[s].towerPoint[m].Z),W);this.entityCollection2.add(D(t.id,a,t.name,t.InsulatorModelUri,h,t.InsulatorScale))}const i=[];switch(t.InsulatorPoint.forEach(h=>{i.push(l(n,new Cesium.Cartesian3(h.X,h.Y,h.Z),W))}),t.linenum){case O.回路一:if(this.LineInfo.ISPhaseSequence)if(this.LineInfo.towers[s].type==N.耐张塔)switch(t.PhaseSequence){case v.A相:if(t.type==S.耐张串)if(t.WairFX=="进")switch(this.LineInfo.Wairnum){case u.单分裂:this.offsetWires11.push(i[0]),this.ToffsetWires1A1.push(i[0]);break;case u.双分裂:this.offsetWires11.push(i[0]),this.offsetWires11.push(i[1]),this.ToffsetWires1A1.push(i[2]),this.ToffsetWires1A1.push(i[3]);break;case u.四分裂:this.offsetWires11.push(i[0]),this.offsetWires11.push(i[1]),this.offsetWires11.push(i[2]),this.offsetWires11.push(i[3]),this.ToffsetWires1A1.push(i[4]),this.ToffsetWires1A1.push(i[5]),this.ToffsetWires1A1.push(i[6]),this.ToffsetWires1A1.push(i[7]);break;case u.六分裂:this.offsetWires11.push(i[0]),this.offsetWires11.push(i[1]),this.offsetWires11.push(i[2]),this.offsetWires11.push(i[3]),this.offsetWires11.push(i[4]),this.offsetWires11.push(i[5]),this.ToffsetWires1A1.push(i[6]),this.ToffsetWires1A1.push(i[7]),this.ToffsetWires1A1.push(i[8]),this.ToffsetWires1A1.push(i[9]),this.ToffsetWires1A1.push(i[10]),this.ToffsetWires1A1.push(i[11]);break;case u.八分裂:this.offsetWires11.push(i[0]),this.offsetWires11.push(i[1]),this.offsetWires11.push(i[2]),this.offsetWires11.push(i[3]),this.offsetWires11.push(i[4]),this.offsetWires11.push(i[5]),this.offsetWires11.push(i[6]),this.offsetWires11.push(i[7]),this.ToffsetWires1A1.push(i[8]),this.ToffsetWires1A1.push(i[9]),this.ToffsetWires1A1.push(i[10]),this.ToffsetWires1A1.push(i[11]),this.ToffsetWires1A1.push(i[12]),this.ToffsetWires1A1.push(i[13]),this.ToffsetWires1A1.push(i[14]),this.ToffsetWires1A1.push(i[15]);break}else switch(this.LineInfo.Wairnum){case u.单分裂:const h=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W);this.offsetWires11.push(h),this.ToffsetWires1A2.push(h);break;case u.双分裂:const a=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),c=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W);this.offsetWires11.push(a),this.offsetWires11.push(c),this.ToffsetWires1A2.push(a),this.ToffsetWires1A2.push(c);break;case u.四分裂:const T=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),B=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),d=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),C=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W);this.offsetWires11.push(T),this.offsetWires11.push(B),this.offsetWires11.push(d),this.offsetWires11.push(C),this.ToffsetWires1A2.push(T),this.ToffsetWires1A2.push(B),this.ToffsetWires1A2.push(d),this.ToffsetWires1A2.push(C);break;case u.六分裂:const p=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),L=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),w=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),P=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W),y=l(n,new Cesium.Cartesian3(t.InsulatorPoint[4].X*-1,t.InsulatorPoint[4].Y,t.InsulatorPoint[4].Z),W),_=l(n,new Cesium.Cartesian3(t.InsulatorPoint[5].X*-1,t.InsulatorPoint[5].Y,t.InsulatorPoint[5].Z),W);this.offsetWires11.push(p),this.offsetWires11.push(L),this.offsetWires11.push(w),this.offsetWires11.push(P),this.offsetWires11.push(y),this.offsetWires11.push(_),this.ToffsetWires1A2.push(p),this.ToffsetWires1A2.push(L),this.ToffsetWires1A2.push(w),this.ToffsetWires1A2.push(P),this.ToffsetWires1A2.push(y),this.ToffsetWires1A2.push(_);break;case u.八分裂:const b=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),X=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),g=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),Y=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W),F=l(n,new Cesium.Cartesian3(t.InsulatorPoint[4].X*-1,t.InsulatorPoint[4].Y,t.InsulatorPoint[4].Z),W),R=l(n,new Cesium.Cartesian3(t.InsulatorPoint[5].X*-1,t.InsulatorPoint[5].Y,t.InsulatorPoint[5].Z),W),M=l(n,new Cesium.Cartesian3(t.InsulatorPoint[6].X*-1,t.InsulatorPoint[6].Y,t.InsulatorPoint[6].Z),W),E=l(n,new Cesium.Cartesian3(t.InsulatorPoint[7].X*-1,t.InsulatorPoint[7].Y,t.InsulatorPoint[7].Z),W);this.offsetWires11.push(b),this.offsetWires11.push(X),this.offsetWires11.push(g),this.offsetWires11.push(Y),this.offsetWires11.push(F),this.offsetWires11.push(R),this.offsetWires11.push(M),this.offsetWires11.push(E),this.ToffsetWires1A2.push(b),this.ToffsetWires1A2.push(X),this.ToffsetWires1A2.push(g),this.ToffsetWires1A2.push(Y),this.ToffsetWires1A2.push(F),this.ToffsetWires1A2.push(R),this.ToffsetWires1A2.push(M),this.ToffsetWires1A2.push(E);break}else if(t.type==S.跳线串)switch(this.LineInfo.Wairnum){case u.单分裂:this.ToffsetWires1A1.push(i[0]),this.ToffsetWires1A2.push(i[0]);break;case u.双分裂:this.ToffsetWires1A1.push(i[0]),this.ToffsetWires1A1.push(i[1]),this.ToffsetWires1A2.push(i[2]),this.ToffsetWires1A2.push(i[3]);break;case u.四分裂:this.ToffsetWires1A1.push(i[0]),this.ToffsetWires1A1.push(i[1]),this.ToffsetWires1A1.push(i[2]),this.ToffsetWires1A1.push(i[3]),this.ToffsetWires1A2.push(i[4]),this.ToffsetWires1A2.push(i[5]),this.ToffsetWires1A2.push(i[6]),this.ToffsetWires1A2.push(i[7]);break;case u.六分裂:this.ToffsetWires1A1.push(i[0]),this.ToffsetWires1A1.push(i[1]),this.ToffsetWires1A1.push(i[2]),this.ToffsetWires1A1.push(i[3]),this.ToffsetWires1A1.push(i[4]),this.ToffsetWires1A1.push(i[5]),this.ToffsetWires1A2.push(i[6]),this.ToffsetWires1A2.push(i[7]),this.ToffsetWires1A2.push(i[8]),this.ToffsetWires1A2.push(i[9]),this.ToffsetWires1A2.push(i[10]),this.ToffsetWires1A2.push(i[11]);break;case u.八分裂:this.ToffsetWires1A1.push(i[0]),this.ToffsetWires1A1.push(i[1]),this.ToffsetWires1A1.push(i[2]),this.ToffsetWires1A1.push(i[3]),this.ToffsetWires1A1.push(i[4]),this.ToffsetWires1A1.push(i[5]),this.ToffsetWires1A1.push(i[6]),this.ToffsetWires1A1.push(i[7]),this.ToffsetWires1A2.push(i[8]),this.ToffsetWires1A2.push(i[9]),this.ToffsetWires1A2.push(i[10]),this.ToffsetWires1A2.push(i[11]),this.ToffsetWires1A2.push(i[12]),this.ToffsetWires1A2.push(i[13]),this.ToffsetWires1A2.push(i[14]),this.ToffsetWires1A2.push(i[15]);break}break;case v.B相:if(t.type==S.耐张串)if(t.WairFX=="进")switch(this.LineInfo.Wairnum){case u.单分裂:this.offsetWires12.push(i[0]),this.ToffsetWires1B1.push(i[0]);break;case u.双分裂:this.offsetWires12.push(i[0]),this.offsetWires12.push(i[1]),this.ToffsetWires1B1.push(i[2]),this.ToffsetWires1B1.push(i[3]);break;case u.四分裂:this.offsetWires12.push(i[0]),this.offsetWires12.push(i[1]),this.offsetWires12.push(i[2]),this.offsetWires12.push(i[3]),this.ToffsetWires1B1.push(i[4]),this.ToffsetWires1B1.push(i[5]),this.ToffsetWires1B1.push(i[6]),this.ToffsetWires1B1.push(i[7]);break;case u.六分裂:this.offsetWires12.push(i[0]),this.offsetWires12.push(i[1]),this.offsetWires12.push(i[2]),this.offsetWires12.push(i[3]),this.offsetWires12.push(i[4]),this.offsetWires12.push(i[5]),this.ToffsetWires1B1.push(i[6]),this.ToffsetWires1B1.push(i[7]),this.ToffsetWires1B1.push(i[8]),this.ToffsetWires1B1.push(i[9]),this.ToffsetWires1B1.push(i[10]),this.ToffsetWires1B1.push(i[11]);break;case u.八分裂:this.offsetWires12.push(i[0]),this.offsetWires12.push(i[1]),this.offsetWires12.push(i[2]),this.offsetWires12.push(i[3]),this.offsetWires12.push(i[4]),this.offsetWires12.push(i[5]),this.offsetWires12.push(i[6]),this.offsetWires12.push(i[7]),this.ToffsetWires1B1.push(i[8]),this.ToffsetWires1B1.push(i[9]),this.ToffsetWires1B1.push(i[10]),this.ToffsetWires1B1.push(i[11]),this.ToffsetWires1B1.push(i[12]),this.ToffsetWires1B1.push(i[13]),this.ToffsetWires1B1.push(i[14]),this.ToffsetWires1B1.push(i[15]);break}else switch(this.LineInfo.Wairnum){case u.单分裂:const h=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W);this.offsetWires12.push(h),this.ToffsetWires1B2.push(h);break;case u.双分裂:const a=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),c=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W);this.offsetWires12.push(a),this.offsetWires12.push(c),this.ToffsetWires1B2.push(a),this.ToffsetWires1B2.push(c);break;case u.四分裂:const T=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),B=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),d=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),C=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W);this.offsetWires12.push(T),this.offsetWires12.push(B),this.offsetWires12.push(d),this.offsetWires12.push(C),this.ToffsetWires1B2.push(T),this.ToffsetWires1B2.push(B),this.ToffsetWires1B2.push(d),this.ToffsetWires1B2.push(C);break;case u.六分裂:const p=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),L=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),w=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),P=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W),y=l(n,new Cesium.Cartesian3(t.InsulatorPoint[4].X*-1,t.InsulatorPoint[4].Y,t.InsulatorPoint[4].Z),W),_=l(n,new Cesium.Cartesian3(t.InsulatorPoint[5].X*-1,t.InsulatorPoint[5].Y,t.InsulatorPoint[5].Z),W);this.offsetWires12.push(p),this.offsetWires12.push(L),this.offsetWires12.push(w),this.offsetWires12.push(P),this.offsetWires12.push(y),this.offsetWires12.push(_),this.ToffsetWires1B2.push(p),this.ToffsetWires1B2.push(L),this.ToffsetWires1B2.push(w),this.ToffsetWires1B2.push(P),this.ToffsetWires1B2.push(y),this.ToffsetWires1B2.push(_);break;case u.八分裂:const b=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),X=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),g=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),Y=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W),F=l(n,new Cesium.Cartesian3(t.InsulatorPoint[4].X*-1,t.InsulatorPoint[4].Y,t.InsulatorPoint[4].Z),W),R=l(n,new Cesium.Cartesian3(t.InsulatorPoint[5].X*-1,t.InsulatorPoint[5].Y,t.InsulatorPoint[5].Z),W),M=l(n,new Cesium.Cartesian3(t.InsulatorPoint[6].X*-1,t.InsulatorPoint[6].Y,t.InsulatorPoint[6].Z),W),E=l(n,new Cesium.Cartesian3(t.InsulatorPoint[7].X*-1,t.InsulatorPoint[7].Y,t.InsulatorPoint[7].Z),W);this.offsetWires12.push(b),this.offsetWires12.push(X),this.offsetWires12.push(g),this.offsetWires12.push(Y),this.offsetWires12.push(F),this.offsetWires12.push(R),this.offsetWires12.push(M),this.offsetWires12.push(E),this.ToffsetWires1B2.push(b),this.ToffsetWires1B2.push(X),this.ToffsetWires1B2.push(g),this.ToffsetWires1B2.push(Y),this.ToffsetWires1B2.push(F),this.ToffsetWires1B2.push(R),this.ToffsetWires1B2.push(M),this.ToffsetWires1B2.push(E);break}else if(t.type==S.跳线串)switch(this.LineInfo.Wairnum){case u.单分裂:this.ToffsetWires1B1.push(i[0]),this.ToffsetWires1B2.push(i[0]);break;case u.双分裂:this.ToffsetWires1B1.push(i[0]),this.ToffsetWires1B1.push(i[1]),this.ToffsetWires1B2.push(i[2]),this.ToffsetWires1B2.push(i[3]);break;case u.四分裂:this.ToffsetWires1B1.push(i[0]),this.ToffsetWires1B1.push(i[1]),this.ToffsetWires1B1.push(i[2]),this.ToffsetWires1B1.push(i[3]),this.ToffsetWires1B2.push(i[4]),this.ToffsetWires1B2.push(i[5]),this.ToffsetWires1B2.push(i[6]),this.ToffsetWires1B2.push(i[7]);break;case u.六分裂:this.ToffsetWires1B1.push(i[0]),this.ToffsetWires1B1.push(i[1]),this.ToffsetWires1B1.push(i[2]),this.ToffsetWires1B1.push(i[3]),this.ToffsetWires1B1.push(i[4]),this.ToffsetWires1B1.push(i[5]),this.ToffsetWires1B2.push(i[6]),this.ToffsetWires1B2.push(i[7]),this.ToffsetWires1B2.push(i[8]),this.ToffsetWires1B2.push(i[9]),this.ToffsetWires1B2.push(i[10]),this.ToffsetWires1B2.push(i[11]);break;case u.八分裂:this.ToffsetWires1B1.push(i[0]),this.ToffsetWires1B1.push(i[1]),this.ToffsetWires1B1.push(i[2]),this.ToffsetWires1B1.push(i[3]),this.ToffsetWires1B1.push(i[4]),this.ToffsetWires1B1.push(i[5]),this.ToffsetWires1B1.push(i[6]),this.ToffsetWires1B1.push(i[7]),this.ToffsetWires1B2.push(i[8]),this.ToffsetWires1B2.push(i[9]),this.ToffsetWires1B2.push(i[10]),this.ToffsetWires1B2.push(i[11]),this.ToffsetWires1B2.push(i[12]),this.ToffsetWires1B2.push(i[13]),this.ToffsetWires1B2.push(i[14]),this.ToffsetWires1B2.push(i[15]);break}break;case v.C相:if(t.type==S.耐张串)if(t.WairFX=="进")switch(this.LineInfo.Wairnum){case u.单分裂:this.offsetWires13.push(i[0]),this.ToffsetWires1C1.push(i[0]);break;case u.双分裂:this.offsetWires13.push(i[0]),this.offsetWires13.push(i[1]),this.ToffsetWires1C1.push(i[2]),this.ToffsetWires1C1.push(i[3]);break;case u.四分裂:this.offsetWires13.push(i[0]),this.offsetWires13.push(i[1]),this.offsetWires13.push(i[2]),this.offsetWires13.push(i[3]),this.ToffsetWires1C1.push(i[4]),this.ToffsetWires1C1.push(i[5]),this.ToffsetWires1C1.push(i[6]),this.ToffsetWires1C1.push(i[7]);break;case u.六分裂:this.offsetWires13.push(i[0]),this.offsetWires13.push(i[1]),this.offsetWires13.push(i[2]),this.offsetWires13.push(i[3]),this.offsetWires13.push(i[4]),this.offsetWires13.push(i[5]),this.ToffsetWires1C1.push(i[6]),this.ToffsetWires1C1.push(i[7]),this.ToffsetWires1C1.push(i[8]),this.ToffsetWires1C1.push(i[9]),this.ToffsetWires1C1.push(i[10]),this.ToffsetWires1C1.push(i[11]);break;case u.八分裂:this.offsetWires13.push(i[0]),this.offsetWires13.push(i[1]),this.offsetWires13.push(i[2]),this.offsetWires13.push(i[3]),this.offsetWires13.push(i[4]),this.offsetWires13.push(i[5]),this.offsetWires13.push(i[6]),this.offsetWires13.push(i[7]),this.ToffsetWires1C1.push(i[8]),this.ToffsetWires1C1.push(i[9]),this.ToffsetWires1C1.push(i[10]),this.ToffsetWires1C1.push(i[11]),this.ToffsetWires1C1.push(i[12]),this.ToffsetWires1C1.push(i[13]),this.ToffsetWires1C1.push(i[14]),this.ToffsetWires1C1.push(i[15]);break}else switch(this.LineInfo.Wairnum){case u.单分裂:const h=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W);this.offsetWires13.push(h),this.ToffsetWires1C2.push(h);break;case u.双分裂:const a=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),c=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W);this.offsetWires13.push(a),this.offsetWires13.push(c),this.ToffsetWires1C2.push(a),this.ToffsetWires1C2.push(c);break;case u.四分裂:const T=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),B=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),d=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),C=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W);this.offsetWires13.push(T),this.offsetWires13.push(B),this.offsetWires13.push(d),this.offsetWires13.push(C),this.ToffsetWires1C2.push(T),this.ToffsetWires1C2.push(B),this.ToffsetWires1C2.push(d),this.ToffsetWires1C2.push(C);break;case u.六分裂:const p=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),L=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),w=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),P=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W),y=l(n,new Cesium.Cartesian3(t.InsulatorPoint[4].X*-1,t.InsulatorPoint[4].Y,t.InsulatorPoint[4].Z),W),_=l(n,new Cesium.Cartesian3(t.InsulatorPoint[5].X*-1,t.InsulatorPoint[5].Y,t.InsulatorPoint[5].Z),W);this.offsetWires13.push(p),this.offsetWires13.push(L),this.offsetWires13.push(w),this.offsetWires13.push(P),this.offsetWires13.push(y),this.offsetWires13.push(_),this.ToffsetWires1C2.push(p),this.ToffsetWires1C2.push(L),this.ToffsetWires1C2.push(w),this.ToffsetWires1C2.push(P),this.ToffsetWires1C2.push(y),this.ToffsetWires1C2.push(_);break;case u.八分裂:const b=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),X=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),g=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),Y=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W),F=l(n,new Cesium.Cartesian3(t.InsulatorPoint[4].X*-1,t.InsulatorPoint[4].Y,t.InsulatorPoint[4].Z),W),R=l(n,new Cesium.Cartesian3(t.InsulatorPoint[5].X*-1,t.InsulatorPoint[5].Y,t.InsulatorPoint[5].Z),W),M=l(n,new Cesium.Cartesian3(t.InsulatorPoint[6].X*-1,t.InsulatorPoint[6].Y,t.InsulatorPoint[6].Z),W),E=l(n,new Cesium.Cartesian3(t.InsulatorPoint[7].X*-1,t.InsulatorPoint[7].Y,t.InsulatorPoint[7].Z),W);this.offsetWires13.push(b),this.offsetWires13.push(X),this.offsetWires13.push(g),this.offsetWires13.push(Y),this.offsetWires13.push(F),this.offsetWires13.push(R),this.offsetWires13.push(M),this.offsetWires13.push(E),this.ToffsetWires1C2.push(b),this.ToffsetWires1C2.push(X),this.ToffsetWires1C2.push(g),this.ToffsetWires1C2.push(Y),this.ToffsetWires1C2.push(F),this.ToffsetWires1C2.push(R),this.ToffsetWires1C2.push(M),this.ToffsetWires1C2.push(E);break}else if(t.type==S.跳线串)switch(this.LineInfo.Wairnum){case u.单分裂:this.ToffsetWires1C1.push(i[0]),this.ToffsetWires1C2.push(i[0]);break;case u.双分裂:this.ToffsetWires1C1.push(i[0]),this.ToffsetWires1C1.push(i[1]),this.ToffsetWires1C2.push(i[2]),this.ToffsetWires1C2.push(i[3]);break;case u.四分裂:this.ToffsetWires1C1.push(i[0]),this.ToffsetWires1C1.push(i[1]),this.ToffsetWires1C1.push(i[2]),this.ToffsetWires1C1.push(i[3]),this.ToffsetWires1C2.push(i[4]),this.ToffsetWires1C2.push(i[5]),this.ToffsetWires1C2.push(i[6]),this.ToffsetWires1C2.push(i[7]);break;case u.六分裂:this.ToffsetWires1C1.push(i[0]),this.ToffsetWires1C1.push(i[1]),this.ToffsetWires1C1.push(i[2]),this.ToffsetWires1C1.push(i[3]),this.ToffsetWires1C1.push(i[4]),this.ToffsetWires1C1.push(i[5]),this.ToffsetWires1C2.push(i[6]),this.ToffsetWires1C2.push(i[7]),this.ToffsetWires1C2.push(i[8]),this.ToffsetWires1C2.push(i[9]),this.ToffsetWires1C2.push(i[10]),this.ToffsetWires1C2.push(i[11]);break;case u.八分裂:this.ToffsetWires1C1.push(i[0]),this.ToffsetWires1C1.push(i[1]),this.ToffsetWires1C1.push(i[2]),this.ToffsetWires1C1.push(i[3]),this.ToffsetWires1C1.push(i[4]),this.ToffsetWires1C1.push(i[5]),this.ToffsetWires1C1.push(i[6]),this.ToffsetWires1C1.push(i[7]),this.ToffsetWires1C2.push(i[8]),this.ToffsetWires1C2.push(i[9]),this.ToffsetWires1C2.push(i[10]),this.ToffsetWires1C2.push(i[11]),this.ToffsetWires1C2.push(i[12]),this.ToffsetWires1C2.push(i[13]),this.ToffsetWires1C2.push(i[14]),this.ToffsetWires1C2.push(i[15]);break}break}else switch(t.PhaseSequence){case v.A相:i.forEach(h=>{this.offsetWires11.push(h)});break;case v.B相:i.forEach(h=>{this.offsetWires12.push(h)});break;case v.C相:i.forEach(h=>{this.offsetWires13.push(h)});break}else if(this.LineInfo.towers[s].type==N.耐张塔){debugger;switch(m){case 2:switch(this.LineInfo.Wairnum){case u.单分裂:this.offsetWires11.push(i[0]),this.ToffsetWires1A1.push(i[0]);break;case u.双分裂:this.offsetWires11.push(i[0]),this.offsetWires11.push(i[1]),this.ToffsetWires1A1.push(i[2]),this.ToffsetWires1A1.push(i[3]);break}break;case 3:switch(this.LineInfo.Wairnum){case u.单分裂:this.ToffsetWires1A1.push(i[0]),this.ToffsetWires1A2.push(i[0]);break;case u.双分裂:this.ToffsetWires1A1.push(i[0]),this.ToffsetWires1A1.push(i[1]),this.ToffsetWires1A2.push(i[2]),this.ToffsetWires1A2.push(i[3]);break}break;case 4:switch(this.LineInfo.Wairnum){case u.单分裂:const h=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W);this.offsetWires11.push(h),this.ToffsetWires1A2.push(h);break;case u.双分裂:const a=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),c=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W);this.offsetWires11.push(a),this.offsetWires11.push(c),this.ToffsetWires1A2.push(a),this.ToffsetWires1A2.push(c);break}break;case 5:i.forEach(h=>{this.offsetWires12.push(h),this.ToffsetWires1B1.push(h)});break;case 6:i.forEach(h=>{this.ToffsetWires1B1.push(h),this.ToffsetWires1B2.push(h)});break;case 7:t.InsulatorPoint.forEach(h=>{const a=l(n,new Cesium.Cartesian3(h.X*-1,h.Y,h.Z),W);this.offsetWires12.push(a),this.ToffsetWires1B2.push(a)});break;case 8:i.forEach(h=>{this.offsetWires13.push(h),this.ToffsetWires1C1.push(h)});break;case 9:i.forEach(h=>{this.ToffsetWires1C1.push(h),this.ToffsetWires1C2.push(h)});break;case 10:t.InsulatorPoint.forEach(h=>{const a=l(n,new Cesium.Cartesian3(h.X*-1,h.Y,h.Z),W);this.offsetWires13.push(a),this.ToffsetWires1C2.push(a)});break}}else switch(m){case 2:i.forEach(h=>{this.offsetWires11.push(h)});break;case 3:i.forEach(h=>{this.offsetWires12.push(h)});break;case 4:i.forEach(h=>{this.offsetWires13.push(h)});break}break;case O.回路二:if(this.LineInfo.ISPhaseSequence)if(this.LineInfo.towers[s].type==N.耐张塔)switch(t.PhaseSequence){case v.A相:if(t.type==S.耐张串)if(t.WairFX=="进")switch(this.LineInfo.Wairnum){case u.单分裂:this.offsetWires21.push(i[0]),this.ToffsetWires2A1.push(i[0]);break;case u.双分裂:this.offsetWires21.push(i[0]),this.offsetWires21.push(i[1]),this.ToffsetWires2A1.push(i[2]),this.ToffsetWires2A1.push(i[3]);break;case u.四分裂:this.offsetWires21.push(i[0]),this.offsetWires21.push(i[1]),this.offsetWires21.push(i[2]),this.offsetWires21.push(i[3]),this.ToffsetWires2A1.push(i[4]),this.ToffsetWires2A1.push(i[5]),this.ToffsetWires2A1.push(i[6]),this.ToffsetWires2A1.push(i[7]);break;case u.六分裂:this.offsetWires21.push(i[0]),this.offsetWires21.push(i[1]),this.offsetWires21.push(i[2]),this.offsetWires21.push(i[3]),this.offsetWires21.push(i[4]),this.offsetWires21.push(i[5]),this.ToffsetWires2A1.push(i[6]),this.ToffsetWires2A1.push(i[7]),this.ToffsetWires2A1.push(i[8]),this.ToffsetWires2A1.push(i[9]),this.ToffsetWires2A1.push(i[10]),this.ToffsetWires2A1.push(i[11]);break;case u.八分裂:this.offsetWires21.push(i[0]),this.offsetWires21.push(i[1]),this.offsetWires21.push(i[2]),this.offsetWires21.push(i[3]),this.offsetWires21.push(i[4]),this.offsetWires21.push(i[5]),this.offsetWires21.push(i[6]),this.offsetWires21.push(i[7]),this.ToffsetWires2A1.push(i[8]),this.ToffsetWires2A1.push(i[9]),this.ToffsetWires2A1.push(i[10]),this.ToffsetWires2A1.push(i[11]),this.ToffsetWires2A1.push(i[12]),this.ToffsetWires2A1.push(i[13]),this.ToffsetWires2A1.push(i[14]),this.ToffsetWires2A1.push(i[15]);break}else switch(this.LineInfo.Wairnum){case u.单分裂:const h=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W);this.offsetWires21.push(h),this.ToffsetWires2A2.push(h);break;case u.双分裂:const a=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),c=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W);this.offsetWires21.push(a),this.offsetWires21.push(c),this.ToffsetWires2A2.push(a),this.ToffsetWires2A2.push(c);break;case u.四分裂:const T=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),B=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),d=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),C=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W);this.offsetWires21.push(T),this.offsetWires21.push(B),this.offsetWires21.push(d),this.offsetWires21.push(C),this.ToffsetWires2A2.push(T),this.ToffsetWires2A2.push(B),this.ToffsetWires2A2.push(d),this.ToffsetWires2A2.push(C);break;case u.六分裂:const p=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),L=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),w=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),P=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W),y=l(n,new Cesium.Cartesian3(t.InsulatorPoint[4].X*-1,t.InsulatorPoint[4].Y,t.InsulatorPoint[4].Z),W),_=l(n,new Cesium.Cartesian3(t.InsulatorPoint[5].X*-1,t.InsulatorPoint[5].Y,t.InsulatorPoint[5].Z),W);this.offsetWires21.push(p),this.offsetWires21.push(L),this.offsetWires21.push(w),this.offsetWires21.push(P),this.offsetWires21.push(y),this.offsetWires21.push(_),this.ToffsetWires2A2.push(p),this.ToffsetWires2A2.push(L),this.ToffsetWires2A2.push(w),this.ToffsetWires2A2.push(P),this.ToffsetWires2A2.push(y),this.ToffsetWires2A2.push(_);break;case u.八分裂:const b=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),X=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),g=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),Y=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W),F=l(n,new Cesium.Cartesian3(t.InsulatorPoint[4].X*-1,t.InsulatorPoint[4].Y,t.InsulatorPoint[4].Z),W),R=l(n,new Cesium.Cartesian3(t.InsulatorPoint[5].X*-1,t.InsulatorPoint[5].Y,t.InsulatorPoint[5].Z),W),M=l(n,new Cesium.Cartesian3(t.InsulatorPoint[6].X*-1,t.InsulatorPoint[6].Y,t.InsulatorPoint[6].Z),W),E=l(n,new Cesium.Cartesian3(t.InsulatorPoint[7].X*-1,t.InsulatorPoint[7].Y,t.InsulatorPoint[7].Z),W);this.offsetWires21.push(b),this.offsetWires21.push(X),this.offsetWires21.push(g),this.offsetWires21.push(Y),this.offsetWires21.push(F),this.offsetWires21.push(R),this.offsetWires21.push(M),this.offsetWires21.push(E),this.ToffsetWires2A2.push(b),this.ToffsetWires2A2.push(X),this.ToffsetWires2A2.push(g),this.ToffsetWires2A2.push(Y),this.ToffsetWires2A2.push(F),this.ToffsetWires2A2.push(R),this.ToffsetWires2A2.push(M),this.ToffsetWires2A2.push(E);break}else if(t.type==S.跳线串)switch(this.LineInfo.Wairnum){case u.单分裂:this.ToffsetWires2A1.push(i[0]),this.ToffsetWires2A2.push(i[0]);break;case u.双分裂:this.ToffsetWires2A1.push(i[0]),this.ToffsetWires2A1.push(i[1]),this.ToffsetWires2A2.push(i[2]),this.ToffsetWires2A2.push(i[3]);break;case u.四分裂:this.ToffsetWires2A1.push(i[0]),this.ToffsetWires2A1.push(i[1]),this.ToffsetWires2A1.push(i[2]),this.ToffsetWires2A1.push(i[3]),this.ToffsetWires2A2.push(i[4]),this.ToffsetWires2A2.push(i[5]),this.ToffsetWires2A2.push(i[6]),this.ToffsetWires2A2.push(i[7]);break;case u.六分裂:this.ToffsetWires2A1.push(i[0]),this.ToffsetWires2A1.push(i[1]),this.ToffsetWires2A1.push(i[2]),this.ToffsetWires2A1.push(i[3]),this.ToffsetWires2A1.push(i[4]),this.ToffsetWires2A1.push(i[5]),this.ToffsetWires2A2.push(i[6]),this.ToffsetWires2A2.push(i[7]),this.ToffsetWires2A2.push(i[8]),this.ToffsetWires2A2.push(i[9]),this.ToffsetWires2A2.push(i[10]),this.ToffsetWires2A2.push(i[11]);break;case u.八分裂:this.ToffsetWires2A1.push(i[0]),this.ToffsetWires2A1.push(i[1]),this.ToffsetWires2A1.push(i[2]),this.ToffsetWires2A1.push(i[3]),this.ToffsetWires2A1.push(i[4]),this.ToffsetWires2A1.push(i[5]),this.ToffsetWires2A1.push(i[6]),this.ToffsetWires2A1.push(i[7]),this.ToffsetWires2A2.push(i[8]),this.ToffsetWires2A2.push(i[9]),this.ToffsetWires2A2.push(i[10]),this.ToffsetWires2A2.push(i[11]),this.ToffsetWires2A2.push(i[12]),this.ToffsetWires2A2.push(i[13]),this.ToffsetWires2A2.push(i[14]),this.ToffsetWires2A2.push(i[15]);break}break;case v.B相:if(t.type==S.耐张串)if(t.WairFX=="进")switch(this.LineInfo.Wairnum){case u.单分裂:this.offsetWires22.push(i[0]),this.ToffsetWires2B1.push(i[0]);break;case u.双分裂:this.offsetWires22.push(i[0]),this.offsetWires22.push(i[1]),this.ToffsetWires2B1.push(i[2]),this.ToffsetWires2B1.push(i[3]);break;case u.四分裂:this.offsetWires22.push(i[0]),this.offsetWires22.push(i[1]),this.offsetWires22.push(i[2]),this.offsetWires22.push(i[3]),this.ToffsetWires2B1.push(i[4]),this.ToffsetWires2B1.push(i[5]),this.ToffsetWires2B1.push(i[6]),this.ToffsetWires2B1.push(i[7]);break;case u.六分裂:this.offsetWires22.push(i[0]),this.offsetWires22.push(i[1]),this.offsetWires22.push(i[2]),this.offsetWires22.push(i[3]),this.offsetWires22.push(i[4]),this.offsetWires22.push(i[5]),this.ToffsetWires2B1.push(i[6]),this.ToffsetWires2B1.push(i[7]),this.ToffsetWires2B1.push(i[8]),this.ToffsetWires2B1.push(i[9]),this.ToffsetWires2B1.push(i[10]),this.ToffsetWires2B1.push(i[11]);break;case u.八分裂:this.offsetWires22.push(i[0]),this.offsetWires22.push(i[1]),this.offsetWires22.push(i[2]),this.offsetWires22.push(i[3]),this.offsetWires22.push(i[4]),this.offsetWires22.push(i[5]),this.offsetWires22.push(i[6]),this.offsetWires22.push(i[7]),this.ToffsetWires2B1.push(i[8]),this.ToffsetWires2B1.push(i[9]),this.ToffsetWires2B1.push(i[10]),this.ToffsetWires2B1.push(i[11]),this.ToffsetWires2B1.push(i[12]),this.ToffsetWires2B1.push(i[13]),this.ToffsetWires2B1.push(i[14]),this.ToffsetWires2B1.push(i[15]);break}else switch(this.LineInfo.Wairnum){case u.单分裂:const h=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W);this.offsetWires22.push(h),this.ToffsetWires2B2.push(h);break;case u.双分裂:const a=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),c=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W);this.offsetWires22.push(a),this.offsetWires22.push(c),this.ToffsetWires2B2.push(a),this.ToffsetWires2B2.push(c);break;case u.四分裂:const T=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),B=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),d=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),C=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W);this.offsetWires22.push(T),this.offsetWires22.push(B),this.offsetWires22.push(d),this.offsetWires22.push(C),this.ToffsetWires2B2.push(T),this.ToffsetWires2B2.push(B),this.ToffsetWires2B2.push(d),this.ToffsetWires2B2.push(C);break;case u.六分裂:const p=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),L=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),w=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),P=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W),y=l(n,new Cesium.Cartesian3(t.InsulatorPoint[4].X*-1,t.InsulatorPoint[4].Y,t.InsulatorPoint[4].Z),W),_=l(n,new Cesium.Cartesian3(t.InsulatorPoint[5].X*-1,t.InsulatorPoint[5].Y,t.InsulatorPoint[5].Z),W);this.offsetWires22.push(p),this.offsetWires22.push(L),this.offsetWires22.push(w),this.offsetWires22.push(P),this.offsetWires22.push(y),this.offsetWires22.push(_),this.ToffsetWires2B2.push(p),this.ToffsetWires2B2.push(L),this.ToffsetWires2B2.push(w),this.ToffsetWires2B2.push(P),this.ToffsetWires2B2.push(y),this.ToffsetWires2B2.push(_);break;case u.八分裂:const b=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),X=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),g=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),Y=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W),F=l(n,new Cesium.Cartesian3(t.InsulatorPoint[4].X*-1,t.InsulatorPoint[4].Y,t.InsulatorPoint[4].Z),W),R=l(n,new Cesium.Cartesian3(t.InsulatorPoint[5].X*-1,t.InsulatorPoint[5].Y,t.InsulatorPoint[5].Z),W),M=l(n,new Cesium.Cartesian3(t.InsulatorPoint[6].X*-1,t.InsulatorPoint[6].Y,t.InsulatorPoint[6].Z),W),E=l(n,new Cesium.Cartesian3(t.InsulatorPoint[7].X*-1,t.InsulatorPoint[7].Y,t.InsulatorPoint[7].Z),W);this.offsetWires22.push(b),this.offsetWires22.push(X),this.offsetWires22.push(g),this.offsetWires22.push(Y),this.offsetWires22.push(F),this.offsetWires22.push(R),this.offsetWires22.push(M),this.offsetWires22.push(E),this.ToffsetWires2B2.push(b),this.ToffsetWires2B2.push(X),this.ToffsetWires2B2.push(g),this.ToffsetWires2B2.push(Y),this.ToffsetWires2B2.push(F),this.ToffsetWires2B2.push(R),this.ToffsetWires2B2.push(M),this.ToffsetWires2B2.push(E);break}else if(t.type==S.跳线串)switch(this.LineInfo.Wairnum){case u.单分裂:this.ToffsetWires2B1.push(i[0]),this.ToffsetWires2B2.push(i[0]);break;case u.双分裂:this.ToffsetWires2B1.push(i[0]),this.ToffsetWires2B1.push(i[1]),this.ToffsetWires2B2.push(i[2]),this.ToffsetWires2B2.push(i[3]);break;case u.四分裂:this.ToffsetWires2B1.push(i[0]),this.ToffsetWires2B1.push(i[1]),this.ToffsetWires2B1.push(i[2]),this.ToffsetWires2B1.push(i[3]),this.ToffsetWires2B2.push(i[4]),this.ToffsetWires2B2.push(i[5]),this.ToffsetWires2B2.push(i[6]),this.ToffsetWires2B2.push(i[7]);break;case u.六分裂:this.ToffsetWires2B1.push(i[0]),this.ToffsetWires2B1.push(i[1]),this.ToffsetWires2B1.push(i[2]),this.ToffsetWires2B1.push(i[3]),this.ToffsetWires2B1.push(i[4]),this.ToffsetWires2B1.push(i[5]),this.ToffsetWires2B2.push(i[6]),this.ToffsetWires2B2.push(i[7]),this.ToffsetWires2B2.push(i[8]),this.ToffsetWires2B2.push(i[9]),this.ToffsetWires2B2.push(i[10]),this.ToffsetWires2B2.push(i[11]);break;case u.八分裂:this.ToffsetWires2B1.push(i[0]),this.ToffsetWires2B1.push(i[1]),this.ToffsetWires2B1.push(i[2]),this.ToffsetWires2B1.push(i[3]),this.ToffsetWires2B1.push(i[4]),this.ToffsetWires2B1.push(i[5]),this.ToffsetWires2B1.push(i[6]),this.ToffsetWires2B1.push(i[7]),this.ToffsetWires2B2.push(i[8]),this.ToffsetWires2B2.push(i[9]),this.ToffsetWires2B2.push(i[10]),this.ToffsetWires2B2.push(i[11]),this.ToffsetWires2B2.push(i[12]),this.ToffsetWires2B2.push(i[13]),this.ToffsetWires2B2.push(i[14]),this.ToffsetWires2B2.push(i[15]);break}break;case v.C相:if(t.type==S.耐张串)if(t.WairFX=="进")switch(this.LineInfo.Wairnum){case u.单分裂:this.offsetWires23.push(i[0]),this.ToffsetWires2C1.push(i[0]);break;case u.双分裂:this.offsetWires23.push(i[0]),this.offsetWires23.push(i[1]),this.ToffsetWires2C1.push(i[2]),this.ToffsetWires2C1.push(i[3]);break;case u.四分裂:this.offsetWires23.push(i[0]),this.offsetWires23.push(i[1]),this.offsetWires23.push(i[2]),this.offsetWires23.push(i[3]),this.ToffsetWires2C1.push(i[4]),this.ToffsetWires2C1.push(i[5]),this.ToffsetWires2C1.push(i[6]),this.ToffsetWires2C1.push(i[7]);break;case u.六分裂:this.offsetWires23.push(i[0]),this.offsetWires23.push(i[1]),this.offsetWires23.push(i[2]),this.offsetWires23.push(i[3]),this.offsetWires23.push(i[4]),this.offsetWires23.push(i[5]),this.ToffsetWires2C1.push(i[6]),this.ToffsetWires2C1.push(i[7]),this.ToffsetWires2C1.push(i[8]),this.ToffsetWires2C1.push(i[9]),this.ToffsetWires2C1.push(i[10]),this.ToffsetWires2C1.push(i[11]);break;case u.八分裂:this.offsetWires23.push(i[0]),this.offsetWires23.push(i[1]),this.offsetWires23.push(i[2]),this.offsetWires23.push(i[3]),this.offsetWires23.push(i[4]),this.offsetWires23.push(i[5]),this.offsetWires23.push(i[6]),this.offsetWires23.push(i[7]),this.ToffsetWires2C1.push(i[8]),this.ToffsetWires2C1.push(i[9]),this.ToffsetWires2C1.push(i[10]),this.ToffsetWires2C1.push(i[11]),this.ToffsetWires2C1.push(i[12]),this.ToffsetWires2C1.push(i[13]),this.ToffsetWires2C1.push(i[14]),this.ToffsetWires2C1.push(i[15]);break}else switch(this.LineInfo.Wairnum){case u.单分裂:const h=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W);this.offsetWires23.push(h),this.ToffsetWires2C2.push(h);break;case u.双分裂:const a=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),c=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W);this.offsetWires23.push(a),this.offsetWires23.push(c),this.ToffsetWires2C2.push(a),this.ToffsetWires2C2.push(c);break;case u.四分裂:const T=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),B=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),d=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),C=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W);this.offsetWires23.push(T),this.offsetWires23.push(B),this.offsetWires23.push(d),this.offsetWires23.push(C),this.ToffsetWires2C2.push(T),this.ToffsetWires2C2.push(B),this.ToffsetWires2C2.push(d),this.ToffsetWires2C2.push(C);break;case u.六分裂:const p=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),L=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),w=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),P=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W),y=l(n,new Cesium.Cartesian3(t.InsulatorPoint[4].X*-1,t.InsulatorPoint[4].Y,t.InsulatorPoint[4].Z),W),_=l(n,new Cesium.Cartesian3(t.InsulatorPoint[5].X*-1,t.InsulatorPoint[5].Y,t.InsulatorPoint[5].Z),W);this.offsetWires23.push(p),this.offsetWires23.push(L),this.offsetWires23.push(w),this.offsetWires23.push(P),this.offsetWires23.push(y),this.offsetWires23.push(_),this.ToffsetWires2C2.push(p),this.ToffsetWires2C2.push(L),this.ToffsetWires2C2.push(w),this.ToffsetWires2C2.push(P),this.ToffsetWires2C2.push(y),this.ToffsetWires2C2.push(_);break;case u.八分裂:const b=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W),X=l(n,new Cesium.Cartesian3(t.InsulatorPoint[1].X*-1,t.InsulatorPoint[1].Y,t.InsulatorPoint[1].Z),W),g=l(n,new Cesium.Cartesian3(t.InsulatorPoint[2].X*-1,t.InsulatorPoint[2].Y,t.InsulatorPoint[2].Z),W),Y=l(n,new Cesium.Cartesian3(t.InsulatorPoint[3].X*-1,t.InsulatorPoint[3].Y,t.InsulatorPoint[3].Z),W),F=l(n,new Cesium.Cartesian3(t.InsulatorPoint[4].X*-1,t.InsulatorPoint[4].Y,t.InsulatorPoint[4].Z),W),R=l(n,new Cesium.Cartesian3(t.InsulatorPoint[5].X*-1,t.InsulatorPoint[5].Y,t.InsulatorPoint[5].Z),W),M=l(n,new Cesium.Cartesian3(t.InsulatorPoint[6].X*-1,t.InsulatorPoint[6].Y,t.InsulatorPoint[6].Z),W),E=l(n,new Cesium.Cartesian3(t.InsulatorPoint[7].X*-1,t.InsulatorPoint[7].Y,t.InsulatorPoint[7].Z),W);this.offsetWires23.push(b),this.offsetWires23.push(X),this.offsetWires23.push(g),this.offsetWires23.push(Y),this.offsetWires23.push(F),this.offsetWires23.push(R),this.offsetWires23.push(M),this.offsetWires23.push(E),this.ToffsetWires2C2.push(b),this.ToffsetWires2C2.push(X),this.ToffsetWires2C2.push(g),this.ToffsetWires2C2.push(Y),this.ToffsetWires2C2.push(F),this.ToffsetWires2C2.push(R),this.ToffsetWires2C2.push(M),this.ToffsetWires2C2.push(E);break}else if(t.type==S.跳线串)switch(this.LineInfo.Wairnum){case u.单分裂:this.ToffsetWires2C1.push(i[0]),this.ToffsetWires2C2.push(i[0]);break;case u.双分裂:this.ToffsetWires2C1.push(i[0]),this.ToffsetWires2C1.push(i[1]),this.ToffsetWires2C2.push(i[2]),this.ToffsetWires2C2.push(i[3]);break;case u.四分裂:this.ToffsetWires2C1.push(i[0]),this.ToffsetWires2C1.push(i[1]),this.ToffsetWires2C1.push(i[2]),this.ToffsetWires2C1.push(i[3]),this.ToffsetWires2C2.push(i[4]),this.ToffsetWires2C2.push(i[5]),this.ToffsetWires2C2.push(i[6]),this.ToffsetWires2C2.push(i[7]);break;case u.六分裂:this.ToffsetWires2C1.push(i[0]),this.ToffsetWires2C1.push(i[1]),this.ToffsetWires2C1.push(i[2]),this.ToffsetWires2C1.push(i[3]),this.ToffsetWires2C1.push(i[4]),this.ToffsetWires2C1.push(i[5]),this.ToffsetWires2C2.push(i[6]),this.ToffsetWires2C2.push(i[7]),this.ToffsetWires2C2.push(i[8]),this.ToffsetWires2C2.push(i[9]),this.ToffsetWires2C2.push(i[10]),this.ToffsetWires2C2.push(i[11]);break;case u.八分裂:this.ToffsetWires2C1.push(i[0]),this.ToffsetWires2C1.push(i[1]),this.ToffsetWires2C1.push(i[2]),this.ToffsetWires2C1.push(i[3]),this.ToffsetWires2C1.push(i[4]),this.ToffsetWires2C1.push(i[5]),this.ToffsetWires2C1.push(i[6]),this.ToffsetWires2C1.push(i[7]),this.ToffsetWires2C2.push(i[8]),this.ToffsetWires2C2.push(i[9]),this.ToffsetWires2C2.push(i[10]),this.ToffsetWires2C2.push(i[11]),this.ToffsetWires2C2.push(i[12]),this.ToffsetWires2C2.push(i[13]),this.ToffsetWires2C2.push(i[14]),this.ToffsetWires2C2.push(i[15]);break}break}else switch(t.PhaseSequence){case v.A相:i.forEach(h=>{this.offsetWires21.push(h)});break;case v.B相:i.forEach(h=>{this.offsetWires22.push(h)});break;case v.C相:i.forEach(h=>{this.offsetWires23.push(h)});break}else if(this.LineInfo.towers[s].type==N.耐张塔)switch(m){case 11:this.offsetWires21.push(i[0]),this.ToffsetWires2A1.push(i[0]);break;case 12:this.ToffsetWires2A1.push(i[0]),this.ToffsetWires2A2.push(i[0]);break;case 13:const h=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W);this.offsetWires21.push(h),this.ToffsetWires2A2.push(h);break;case 14:this.offsetWires22.push(i[0]),this.ToffsetWires2B1.push(i[0]);break;case 15:this.ToffsetWires2B1.push(i[0]),this.ToffsetWires2B2.push(i[0]);break;case 16:const a=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W);this.offsetWires22.push(a),this.ToffsetWires2B2.push(a);break;case 17:this.offsetWires23.push(i[0]),this.ToffsetWires2C1.push(i[0]);break;case 18:this.ToffsetWires2C1.push(i[0]),this.ToffsetWires2C2.push(i[0]);break;case 19:const c=l(n,new Cesium.Cartesian3(t.InsulatorPoint[0].X*-1,t.InsulatorPoint[0].Y,t.InsulatorPoint[0].Z),W);this.offsetWires23.push(c),this.ToffsetWires2C2.push(c);break}else switch(m){case 5:i.forEach(h=>{this.offsetWires21.push(h)});break;case 6:i.forEach(h=>{this.offsetWires22.push(h)});break;case 7:i.forEach(h=>{this.offsetWires23.push(h)});break}break;case O.地线:if(this.LineInfo.ISPhaseSequence)switch(t.PhaseSequence){case v.地线1:this.offsetGrouundWires11.push(i[0]);break;case v.地线2:this.offsetGrouundWires12.push(i[0]);break}else switch(m){case 0:this.offsetGrouundWires11.push(i[0]);break;case 1:this.offsetGrouundWires12.push(i[0]);break}break}m=m+1});debugger;if(this.offsetWires11.length>0&&s>0){const t=[],i=[],h=[],a=[],c=[],T=[],B=[],d=[];switch(this.LineInfo.Wairnum){case u.单分裂:this.offsetWires11.length>=2&&(t.push(this.offsetWires11[f]),t.push(this.offsetWires11[f-1]),this.offsetArcWires1A=r(t),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)));break;case u.双分裂:this.offsetWires11.length>=4&&(t.push(this.offsetWires11[f]),t.push(this.offsetWires11[f-2]),this.offsetArcWires1A=r(t),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires11[f+1]),i.push(this.offsetWires11[f-1]),this.offsetArcWires1A=r(i),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)));break;case u.四分裂:this.offsetWires11.length>=8&&(t.push(this.offsetWires11[f]),t.push(this.offsetWires11[f-4]),this.offsetArcWires1A=r(t),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires11[f+1]),i.push(this.offsetWires11[f-3]),this.offsetArcWires1A=r(i),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires11[f+2]),h.push(this.offsetWires11[f-2]),this.offsetArcWires1A=r(h),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires11[f+3]),a.push(this.offsetWires11[f-1]),this.offsetArcWires1A=r(a),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)));break;case u.六分裂:this.offsetWires11.length>=12&&(t.push(this.offsetWires11[f]),t.push(this.offsetWires11[f-6]),this.offsetArcWires1A=r(t),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires11[f+1]),i.push(this.offsetWires11[f-5]),this.offsetArcWires1A=r(i),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires11[f+2]),h.push(this.offsetWires11[f-4]),this.offsetArcWires1A=r(h),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires11[f+3]),a.push(this.offsetWires11[f-3]),this.offsetArcWires1A=r(a),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),c.push(this.offsetWires11[f+4]),c.push(this.offsetWires11[f-2]),this.offsetArcWires1A=r(c),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A5"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),T.push(this.offsetWires11[f+5]),T.push(this.offsetWires11[f-1]),this.offsetArcWires1A=r(T),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A6"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)));break;case u.八分裂:this.offsetWires11.length>=16&&(t.push(this.offsetWires11[f]),t.push(this.offsetWires11[f-8]),this.offsetArcWires1A=r(t),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires11[f+1]),i.push(this.offsetWires11[f-7]),this.offsetArcWires1A=r(i),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires11[f+2]),h.push(this.offsetWires11[f-6]),this.offsetArcWires1A=r(h),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires11[f+3]),a.push(this.offsetWires11[f-5]),this.offsetArcWires1A=r(a),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),c.push(this.offsetWires11[f+4]),c.push(this.offsetWires11[f-4]),this.offsetArcWires1A=r(c),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A5"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),T.push(this.offsetWires11[f+5]),T.push(this.offsetWires11[f-3]),this.offsetArcWires1A=r(T),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A6"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),B.push(this.offsetWires11[f+6]),B.push(this.offsetWires11[f-2]),this.offsetArcWires1A=r(B),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A7"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),d.push(this.offsetWires11[f+7]),d.push(this.offsetWires11[f-1]),this.offsetArcWires1A=r(d),this.entityCollection2.add(o(this.offsetArcWires1A,"导线1_A8"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)));break}}if(this.offsetWires12.length>0&&s>0){const t=[],i=[],h=[],a=[],c=[],T=[],B=[],d=[];switch(this.LineInfo.Wairnum){case u.单分裂:t.push(this.offsetWires12[f]),t.push(this.offsetWires12[f-1]),this.offsetArcWires1B=r(t),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.双分裂:t.push(this.offsetWires12[f]),t.push(this.offsetWires12[f-2]),this.offsetArcWires1B=r(t),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires12[f+1]),i.push(this.offsetWires12[f-1]),this.offsetArcWires1B=r(i),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.四分裂:t.push(this.offsetWires12[f]),t.push(this.offsetWires12[f-4]),this.offsetArcWires1B=r(t),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires12[f+1]),i.push(this.offsetWires12[f-3]),this.offsetArcWires1B=r(i),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires12[f+2]),h.push(this.offsetWires12[f-2]),this.offsetArcWires1B=r(h),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires12[f+3]),a.push(this.offsetWires12[f-1]),this.offsetArcWires1B=r(a),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.六分裂:t.push(this.offsetWires12[f]),t.push(this.offsetWires12[f-6]),this.offsetArcWires1B=r(t),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires12[f+1]),i.push(this.offsetWires12[f-5]),this.offsetArcWires1B=r(i),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires12[f+2]),h.push(this.offsetWires12[f-4]),this.offsetArcWires1B=r(h),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires12[f+3]),a.push(this.offsetWires12[f-3]),this.offsetArcWires1B=r(a),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),c.push(this.offsetWires12[f+4]),c.push(this.offsetWires12[f-2]),this.offsetArcWires1B=r(c),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B5"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),T.push(this.offsetWires12[f+5]),T.push(this.offsetWires12[f-1]),this.offsetArcWires1B=r(T),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B6"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.八分裂:t.push(this.offsetWires12[f]),t.push(this.offsetWires12[f-8]),this.offsetArcWires1B=r(t),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires12[f+1]),i.push(this.offsetWires12[f-7]),this.offsetArcWires1B=r(i),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires12[f+2]),h.push(this.offsetWires12[f-6]),this.offsetArcWires1B=r(h),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires12[f+3]),a.push(this.offsetWires12[f-5]),this.offsetArcWires1B=r(a),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),c.push(this.offsetWires12[f+4]),c.push(this.offsetWires12[f-4]),this.offsetArcWires1B=r(c),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B5"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),T.push(this.offsetWires12[f+5]),T.push(this.offsetWires12[f-3]),this.offsetArcWires1B=r(T),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B6"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),B.push(this.offsetWires12[f+6]),B.push(this.offsetWires12[f-2]),this.offsetArcWires1B=r(B),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B7"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),d.push(this.offsetWires12[f+7]),d.push(this.offsetWires12[f-1]),this.offsetArcWires1B=r(d),this.entityCollection2.add(o(this.offsetArcWires1B,"导线1_B8"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break}}if(this.offsetWires13.length>0&&s>0){const t=[],i=[],h=[],a=[],c=[],T=[],B=[],d=[];switch(this.LineInfo.Wairnum){case u.单分裂:t.push(this.offsetWires13[f]),t.push(this.offsetWires13[f-1]),this.offsetArcWires1C=r(t),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.双分裂:t.push(this.offsetWires13[f]),t.push(this.offsetWires13[f-2]),this.offsetArcWires1C=r(t),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires13[f+1]),i.push(this.offsetWires13[f-1]),this.offsetArcWires1C=r(i),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.四分裂:t.push(this.offsetWires13[f]),t.push(this.offsetWires13[f-4]),this.offsetArcWires1C=r(t),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires13[f+1]),i.push(this.offsetWires13[f-3]),this.offsetArcWires1C=r(i),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires13[f+2]),h.push(this.offsetWires13[f-2]),this.offsetArcWires1C=r(h),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires13[f+3]),a.push(this.offsetWires13[f-1]),this.offsetArcWires1C=r(a),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.六分裂:t.push(this.offsetWires13[f]),t.push(this.offsetWires13[f-6]),this.offsetArcWires1C=r(t),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires13[f+1]),i.push(this.offsetWires13[f-5]),this.offsetArcWires1C=r(i),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires13[f+2]),h.push(this.offsetWires13[f-4]),this.offsetArcWires1C=r(h),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires13[f+3]),a.push(this.offsetWires13[f-3]),this.offsetArcWires1C=r(a),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),c.push(this.offsetWires13[f+4]),c.push(this.offsetWires13[f-2]),this.offsetArcWires1C=r(c),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C5"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),T.push(this.offsetWires13[f+5]),T.push(this.offsetWires13[f-1]),this.offsetArcWires1C=r(T),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C6"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.八分裂:t.push(this.offsetWires13[f]),t.push(this.offsetWires13[f-8]),this.offsetArcWires1C=r(t),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires13[f+1]),i.push(this.offsetWires13[f-7]),this.offsetArcWires1C=r(i),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires13[f+2]),h.push(this.offsetWires13[f-6]),this.offsetArcWires1C=r(h),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires13[f+3]),a.push(this.offsetWires13[f-5]),this.offsetArcWires1C=r(a),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),c.push(this.offsetWires13[f+4]),c.push(this.offsetWires13[f-4]),this.offsetArcWires1C=r(c),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C5"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),T.push(this.offsetWires13[f+5]),T.push(this.offsetWires13[f-3]),this.offsetArcWires1C=r(T),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C6"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),B.push(this.offsetWires13[f+6]),B.push(this.offsetWires13[f-2]),this.offsetArcWires1C=r(B),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C7"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),d.push(this.offsetWires13[f+7]),d.push(this.offsetWires13[f-1]),this.offsetArcWires1C=r(d),this.entityCollection2.add(o(this.offsetArcWires1C,"导线1_C8"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break}}if(this.offsetWires21.length>0&&s>0){const t=[],i=[],h=[],a=[],c=[],T=[],B=[],d=[];switch(this.LineInfo.Wairnum){case u.单分裂:t.push(this.offsetWires21[f]),t.push(this.offsetWires21[f-1]),this.offsetArcWires2A=r(t),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.双分裂:t.push(this.offsetWires21[f]),t.push(this.offsetWires21[f-2]),this.offsetArcWires2A=r(t),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires21[f+1]),i.push(this.offsetWires21[f-1]),this.offsetArcWires2A=r(i),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.四分裂:t.push(this.offsetWires21[f]),t.push(this.offsetWires21[f-4]),this.offsetArcWires2A=r(t),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires21[f+1]),i.push(this.offsetWires21[f-3]),this.offsetArcWires2A=r(i),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires21[f+2]),h.push(this.offsetWires21[f-2]),this.offsetArcWires2A=r(h),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires21[f+3]),a.push(this.offsetWires21[f-1]),this.offsetArcWires2A=r(a),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.六分裂:t.push(this.offsetWires21[f]),t.push(this.offsetWires21[f-6]),this.offsetArcWires2A=r(t),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires21[f+1]),i.push(this.offsetWires21[f-5]),this.offsetArcWires2A=r(i),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires21[f+2]),h.push(this.offsetWires21[f-4]),this.offsetArcWires2A=r(h),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires21[f+3]),a.push(this.offsetWires21[f-3]),this.offsetArcWires2A=r(a),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),c.push(this.offsetWires21[f+4]),c.push(this.offsetWires21[f-2]),this.offsetArcWires2A=r(c),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A5"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),T.push(this.offsetWires21[f+5]),T.push(this.offsetWires21[f-1]),this.offsetArcWires2A=r(T),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A6"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.八分裂:t.push(this.offsetWires21[f]),t.push(this.offsetWires21[f-8]),this.offsetArcWires2A=r(t),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires21[f+1]),i.push(this.offsetWires21[f-7]),this.offsetArcWires2A=r(i),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires21[f+2]),h.push(this.offsetWires21[f-6]),this.offsetArcWires2A=r(h),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires21[f+3]),a.push(this.offsetWires21[f-5]),this.offsetArcWires2A=r(a),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),c.push(this.offsetWires21[f+4]),c.push(this.offsetWires21[f-4]),this.offsetArcWires2A=r(c),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A5"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),T.push(this.offsetWires21[f+5]),T.push(this.offsetWires21[f-3]),this.offsetArcWires2A=r(T),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A6"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),B.push(this.offsetWires21[f+6]),B.push(this.offsetWires21[f-2]),this.offsetArcWires2A=r(B),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A7"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),d.push(this.offsetWires21[f+7]),d.push(this.offsetWires21[f-1]),this.offsetArcWires2A=r(d),this.entityCollection2.add(o(this.offsetArcWires2A,"导线2_A8"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break}}if(this.offsetWires22.length>0&&s>0){const t=[],i=[],h=[],a=[],c=[],T=[],B=[],d=[];switch(this.LineInfo.Wairnum){case u.单分裂:t.push(this.offsetWires22[f]),t.push(this.offsetWires22[f-1]),this.offsetArcWires2B=r(t),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.双分裂:t.push(this.offsetWires22[f]),t.push(this.offsetWires22[f-2]),this.offsetArcWires2B=r(t),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires22[f+1]),i.push(this.offsetWires22[f-1]),this.offsetArcWires2B=r(i),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.四分裂:t.push(this.offsetWires22[f]),t.push(this.offsetWires22[f-4]),this.offsetArcWires2B=r(t),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires22[f+1]),i.push(this.offsetWires22[f-3]),this.offsetArcWires2B=r(i),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires22[f+2]),h.push(this.offsetWires22[f-2]),this.offsetArcWires2B=r(h),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires22[f+3]),a.push(this.offsetWires22[f-1]),this.offsetArcWires2B=r(a),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.六分裂:t.push(this.offsetWires22[f]),t.push(this.offsetWires22[f-6]),this.offsetArcWires2B=r(t),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires22[f+1]),i.push(this.offsetWires22[f-5]),this.offsetArcWires2B=r(i),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires22[f+2]),h.push(this.offsetWires22[f-4]),this.offsetArcWires2B=r(h),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires22[f+3]),a.push(this.offsetWires22[f-3]),this.offsetArcWires2B=r(a),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),c.push(this.offsetWires22[f+4]),c.push(this.offsetWires22[f-2]),this.offsetArcWires2B=r(c),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B5"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),T.push(this.offsetWires22[f+5]),T.push(this.offsetWires22[f-1]),this.offsetArcWires2B=r(T),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B6"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.八分裂:t.push(this.offsetWires22[f]),t.push(this.offsetWires22[f-8]),this.offsetArcWires2B=r(t),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires22[f+1]),i.push(this.offsetWires22[f-7]),this.offsetArcWires2B=r(i),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires22[f+2]),h.push(this.offsetWires22[f-6]),this.offsetArcWires2B=r(h),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires22[f+3]),a.push(this.offsetWires22[f-5]),this.offsetArcWires2B=r(a),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),c.push(this.offsetWires22[f+4]),c.push(this.offsetWires22[f-4]),this.offsetArcWires2B=r(c),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B5"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),T.push(this.offsetWires22[f+5]),T.push(this.offsetWires22[f-3]),this.offsetArcWires2B=r(T),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B6"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),B.push(this.offsetWires22[f+6]),B.push(this.offsetWires22[f-2]),this.offsetArcWires2B=r(B),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B7"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),d.push(this.offsetWires22[f+7]),d.push(this.offsetWires22[f-1]),this.offsetArcWires2B=r(d),this.entityCollection2.add(o(this.offsetArcWires2B,"导线2_B8"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break}}if(this.offsetWires23.length>0&&s>0){const t=[],i=[],h=[],a=[],c=[],T=[],B=[],d=[];switch(this.LineInfo.Wairnum){case u.单分裂:t.push(this.offsetWires23[f]),t.push(this.offsetWires23[f-1]),this.offsetArcWires2C=r(t),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.双分裂:t.push(this.offsetWires23[f]),t.push(this.offsetWires23[f-2]),this.offsetArcWires2C=r(t),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires23[f+1]),i.push(this.offsetWires23[f-1]),this.offsetArcWires2C=r(i),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.四分裂:t.push(this.offsetWires23[f]),t.push(this.offsetWires23[f-4]),this.offsetArcWires2C=r(t),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires23[f+1]),i.push(this.offsetWires23[f-3]),this.offsetArcWires2C=r(i),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires23[f+2]),h.push(this.offsetWires23[f-2]),this.offsetArcWires2C=r(h),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires23[f+3]),a.push(this.offsetWires23[f-1]),this.offsetArcWires2C=r(a),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.六分裂:t.push(this.offsetWires23[f]),t.push(this.offsetWires23[f-6]),this.offsetArcWires2C=r(t),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires23[f+1]),i.push(this.offsetWires23[f-5]),this.offsetArcWires2C=r(i),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires23[f+2]),h.push(this.offsetWires23[f-4]),this.offsetArcWires2C=r(h),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires23[f+3]),a.push(this.offsetWires23[f-3]),this.offsetArcWires2C=r(a),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),c.push(this.offsetWires23[f+4]),c.push(this.offsetWires23[f-2]),this.offsetArcWires2C=r(c),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C5"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),T.push(this.offsetWires23[f+5]),T.push(this.offsetWires23[f-1]),this.offsetArcWires2C=r(T),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C6"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break;case u.八分裂:t.push(this.offsetWires23[f]),t.push(this.offsetWires23[f-8]),this.offsetArcWires2C=r(t),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C1"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),i.push(this.offsetWires23[f+1]),i.push(this.offsetWires23[f-7]),this.offsetArcWires2C=r(i),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C2"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),h.push(this.offsetWires23[f+2]),h.push(this.offsetWires23[f-6]),this.offsetArcWires2C=r(h),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C3"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),a.push(this.offsetWires23[f+3]),a.push(this.offsetWires23[f-5]),this.offsetArcWires2C=r(a),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C4"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),c.push(this.offsetWires23[f+4]),c.push(this.offsetWires23[f-4]),this.offsetArcWires2C=r(c),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C5"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),T.push(this.offsetWires23[f+5]),T.push(this.offsetWires23[f-3]),this.offsetArcWires2C=r(T),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C6"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),B.push(this.offsetWires23[f+6]),B.push(this.offsetWires23[f-2]),this.offsetArcWires2C=r(B),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C7"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor)),d.push(this.offsetWires23[f+7]),d.push(this.offsetWires23[f-1]),this.offsetArcWires2C=r(d),this.entityCollection2.add(o(this.offsetArcWires2C,"导线2_C8"+(s-2)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireAColor));break}}if(this.offsetGrouundWires11.length>1){const t=[];t.push(this.offsetGrouundWires11[s]),t.push(this.offsetGrouundWires11[s-1]);const i=[];i.push(this.offsetGrouundWires12[s]),i.push(this.offsetGrouundWires12[s-1]),this.offsetGrouundWires1=r(t,2),this.offsetGrouundWires2=r(i,2),this.entityCollection2.add(o(this.offsetGrouundWires1,"地线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireD1Color)),this.entityCollection2.add(o(this.offsetGrouundWires2,"地线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireD2Color))}if(this.LineInfo.towers[s].type==N.耐张塔){switch(this.LineInfo.Wairnum){case u.单分裂:f=f+2,e=e+2;break;case u.双分裂:f=f+4,e=e+4;break;case u.四分裂:f=f+8,e=e+8;break;case u.六分裂:f=f+12,e=e+12;break;case u.八分裂:f=f+16,e=e+16;break}if(this.ToffsetWires1A1.length>1&&this.ToffsetWires1A2.length>1){const t=[],i=[],h=[],a=[],c=[],T=[],B=[],d=[],C=[],p=[],L=[],w=[],P=[],y=[],_=[],b=[];switch(this.LineInfo.Wairnum){case u.单分裂:this.ToffsetWires1A1.length>=2&&(t.push(this.ToffsetWires1A1[e-2]),t.push(this.ToffsetWires1A1[e-1]),this.ToffsetArcWires1A=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires1A2.length>=2&&(C.push(this.ToffsetWires1A2[e-2]),C.push(this.ToffsetWires1A2[e-1]),this.ToffsetArcWires2A=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.双分裂:this.ToffsetWires1A1.length>=4&&(t.push(this.ToffsetWires1A1[e-4]),t.push(this.ToffsetWires1A1[e-2]),this.ToffsetArcWires1A=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires1A1[e-3]),i.push(this.ToffsetWires1A1[e-1]),this.ToffsetArcWires1A=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires1A2.length>=4&&(C.push(this.ToffsetWires1A2[e-4]),C.push(this.ToffsetWires1A2[e-2]),this.ToffsetArcWires2A=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires1A2[e-3]),p.push(this.ToffsetWires1A2[e-1]),this.ToffsetArcWires2A=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.四分裂:this.ToffsetWires1A1.length>=8&&(t.push(this.ToffsetWires1A1[e-8]),t.push(this.ToffsetWires1A1[e-4]),this.ToffsetArcWires1A=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires1A1[e-7]),i.push(this.ToffsetWires1A1[e-3]),this.ToffsetArcWires1A=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires1A1[e-6]),h.push(this.ToffsetWires1A1[e-2]),this.ToffsetArcWires1A=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires1A1[e-5]),a.push(this.ToffsetWires1A1[e-1]),this.ToffsetArcWires1A=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires1A2.length>=8&&(C.push(this.ToffsetWires1A2[e-8]),C.push(this.ToffsetWires1A2[e-4]),this.ToffsetArcWires2A=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires1A2[e-7]),p.push(this.ToffsetWires1A2[e-3]),this.ToffsetArcWires2A=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires1A2[e-6]),L.push(this.ToffsetWires1A2[e-2]),this.ToffsetArcWires2A=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires1A2[e-5]),w.push(this.ToffsetWires1A2[e-1]),this.ToffsetArcWires2A=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.六分裂:this.ToffsetWires1A1.length>=12&&(t.push(this.ToffsetWires1A1[e-12]),t.push(this.ToffsetWires1A1[e-6]),this.ToffsetArcWires1A=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires1A1[e-11]),i.push(this.ToffsetWires1A1[e-5]),this.ToffsetArcWires1A=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires1A1[e-10]),h.push(this.ToffsetWires1A1[e-4]),this.ToffsetArcWires1A=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires1A1[e-9]),a.push(this.ToffsetWires1A1[e-3]),this.ToffsetArcWires1A=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),c.push(this.ToffsetWires1A1[e-8]),c.push(this.ToffsetWires1A1[e-2]),this.ToffsetArcWires1A=r(c,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),T.push(this.ToffsetWires1A1[e-7]),T.push(this.ToffsetWires1A1[e-1]),this.ToffsetArcWires1A=r(T,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires1A2.length>=12&&(C.push(this.ToffsetWires1A2[e-12]),C.push(this.ToffsetWires1A2[e-6]),this.ToffsetArcWires2A=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires1A2[e-11]),p.push(this.ToffsetWires1A2[e-5]),this.ToffsetArcWires2A=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires1A2[e-10]),L.push(this.ToffsetWires1A2[e-4]),this.ToffsetArcWires2A=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires1A2[e-9]),w.push(this.ToffsetWires1A2[e-3]),this.ToffsetArcWires2A=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),P.push(this.ToffsetWires1A2[e-8]),P.push(this.ToffsetWires1A2[e-2]),this.ToffsetArcWires2A=r(P,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),y.push(this.ToffsetWires1A2[e-7]),y.push(this.ToffsetWires1A2[e-1]),this.ToffsetArcWires2A=r(y,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.八分裂:this.ToffsetWires1A1.length>=16&&(t.push(this.ToffsetWires1A1[e-16]),t.push(this.ToffsetWires1A1[e-8]),this.ToffsetArcWires1A=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires1A1[e-15]),i.push(this.ToffsetWires1A1[e-7]),this.ToffsetArcWires1A=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires1A1[e-14]),h.push(this.ToffsetWires1A1[e-6]),this.ToffsetArcWires1A=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires1A1[e-13]),a.push(this.ToffsetWires1A1[e-5]),this.ToffsetArcWires1A=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),c.push(this.ToffsetWires1A1[e-12]),c.push(this.ToffsetWires1A1[e-4]),this.ToffsetArcWires1A=r(c,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),T.push(this.ToffsetWires1A1[e-11]),T.push(this.ToffsetWires1A1[e-3]),this.ToffsetArcWires1A=r(T,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),B.push(this.ToffsetWires1A1[e-10]),B.push(this.ToffsetWires1A1[e-2]),this.ToffsetArcWires1A=r(B,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线7"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),d.push(this.ToffsetWires1A1[e-9]),d.push(this.ToffsetWires1A1[e-1]),this.ToffsetArcWires1A=r(d,15),this.entityCollection2.add(o(this.ToffsetArcWires1A,"1A1跳线8"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires1A2.length>=16&&(C.push(this.ToffsetWires1A2[e-16]),C.push(this.ToffsetWires1A2[e-8]),this.ToffsetArcWires2A=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires1A2[e-15]),p.push(this.ToffsetWires1A2[e-7]),this.ToffsetArcWires2A=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires1A2[e-14]),L.push(this.ToffsetWires1A2[e-6]),this.ToffsetArcWires2A=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires1A2[e-13]),w.push(this.ToffsetWires1A2[e-5]),this.ToffsetArcWires2A=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),P.push(this.ToffsetWires1A2[e-12]),P.push(this.ToffsetWires1A2[e-4]),this.ToffsetArcWires2A=r(P,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),y.push(this.ToffsetWires1A2[e-11]),y.push(this.ToffsetWires1A2[e-3]),this.ToffsetArcWires2A=r(y,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),_.push(this.ToffsetWires1A2[e-10]),_.push(this.ToffsetWires1A2[e-2]),this.ToffsetArcWires2A=r(_,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线7"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),b.push(this.ToffsetWires1A2[e-9]),b.push(this.ToffsetWires1A2[e-1]),this.ToffsetArcWires2A=r(b,15),this.entityCollection2.add(o(this.ToffsetArcWires2A,"1A2跳线8"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break}}if(this.ToffsetWires1B1.length>1&&this.ToffsetWires1B2.length>1){const t=[],i=[],h=[],a=[],c=[],T=[],B=[],d=[],C=[],p=[],L=[],w=[],P=[],y=[],_=[],b=[];switch(this.LineInfo.Wairnum){case u.单分裂:this.ToffsetWires1B1.length>=2&&(t.push(this.ToffsetWires1B1[e-2]),t.push(this.ToffsetWires1B1[e-1]),this.ToffsetArcWires1B=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires1B2.length>=2&&(C.push(this.ToffsetWires1B2[e-2]),C.push(this.ToffsetWires1B2[e-1]),this.ToffsetArcWires2B=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.双分裂:this.ToffsetWires1B1.length>=4&&(t.push(this.ToffsetWires1B1[e-4]),t.push(this.ToffsetWires1B1[e-2]),this.ToffsetArcWires1B=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires1B1[e-3]),i.push(this.ToffsetWires1B1[e-1]),this.ToffsetArcWires1B=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires1B2.length>=4&&(C.push(this.ToffsetWires1B2[e-4]),C.push(this.ToffsetWires1B2[e-2]),this.ToffsetArcWires2B=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires1B2[e-3]),p.push(this.ToffsetWires1B2[e-1]),this.ToffsetArcWires2B=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.四分裂:this.ToffsetWires1B1.length>=8&&(t.push(this.ToffsetWires1B1[e-8]),t.push(this.ToffsetWires1B1[e-4]),this.ToffsetArcWires1B=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires1B1[e-7]),i.push(this.ToffsetWires1B1[e-3]),this.ToffsetArcWires1B=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires1B1[e-6]),h.push(this.ToffsetWires1B1[e-2]),this.ToffsetArcWires1B=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires1B1[e-5]),a.push(this.ToffsetWires1B1[e-1]),this.ToffsetArcWires1B=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires1B2.length>=8&&(C.push(this.ToffsetWires1B2[e-8]),C.push(this.ToffsetWires1B2[e-4]),this.ToffsetArcWires2B=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires1B2[e-7]),p.push(this.ToffsetWires1B2[e-3]),this.ToffsetArcWires2B=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires1B2[e-6]),L.push(this.ToffsetWires1B2[e-2]),this.ToffsetArcWires2B=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires1B2[e-5]),w.push(this.ToffsetWires1B2[e-1]),this.ToffsetArcWires2B=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.六分裂:this.ToffsetWires1B1.length>=12&&(t.push(this.ToffsetWires1B1[e-12]),t.push(this.ToffsetWires1B1[e-6]),this.ToffsetArcWires1B=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires1B1[e-11]),i.push(this.ToffsetWires1B1[e-5]),this.ToffsetArcWires1B=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires1B1[e-10]),h.push(this.ToffsetWires1B1[e-4]),this.ToffsetArcWires1B=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires1B1[e-9]),a.push(this.ToffsetWires1B1[e-3]),this.ToffsetArcWires1B=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),c.push(this.ToffsetWires1B1[e-8]),c.push(this.ToffsetWires1B1[e-2]),this.ToffsetArcWires1B=r(c,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),T.push(this.ToffsetWires1B1[e-7]),T.push(this.ToffsetWires1B1[e-1]),this.ToffsetArcWires1B=r(T,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires1B2.length>=12&&(C.push(this.ToffsetWires1B2[e-12]),C.push(this.ToffsetWires1B2[e-6]),this.ToffsetArcWires2B=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires1B2[e-11]),p.push(this.ToffsetWires1B2[e-5]),this.ToffsetArcWires2B=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires1B2[e-10]),L.push(this.ToffsetWires1B2[e-4]),this.ToffsetArcWires2B=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires1B2[e-9]),w.push(this.ToffsetWires1B2[e-3]),this.ToffsetArcWires2B=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),P.push(this.ToffsetWires1B2[e-8]),P.push(this.ToffsetWires1B2[e-2]),this.ToffsetArcWires2B=r(P,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),y.push(this.ToffsetWires1B2[e-7]),y.push(this.ToffsetWires1B2[e-1]),this.ToffsetArcWires2B=r(y,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.八分裂:this.ToffsetWires1B1.length>=16&&(t.push(this.ToffsetWires1B1[e-16]),t.push(this.ToffsetWires1B1[e-8]),this.ToffsetArcWires1B=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires1B1[e-15]),i.push(this.ToffsetWires1B1[e-7]),this.ToffsetArcWires1B=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires1B1[e-14]),h.push(this.ToffsetWires1B1[e-6]),this.ToffsetArcWires1B=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires1B1[e-13]),a.push(this.ToffsetWires1B1[e-5]),this.ToffsetArcWires1B=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),c.push(this.ToffsetWires1B1[e-12]),c.push(this.ToffsetWires1B1[e-4]),this.ToffsetArcWires1B=r(c,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),T.push(this.ToffsetWires1B1[e-11]),T.push(this.ToffsetWires1B1[e-3]),this.ToffsetArcWires1B=r(T,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),B.push(this.ToffsetWires1B1[e-10]),B.push(this.ToffsetWires1B1[e-2]),this.ToffsetArcWires1B=r(B,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线7"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),d.push(this.ToffsetWires1B1[e-9]),d.push(this.ToffsetWires1B1[e-1]),this.ToffsetArcWires1B=r(d,15),this.entityCollection2.add(o(this.ToffsetArcWires1B,"1B1跳线8"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires1B2.length>=16&&(C.push(this.ToffsetWires1B2[e-16]),C.push(this.ToffsetWires1B2[e-8]),this.ToffsetArcWires2B=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires1B2[e-15]),p.push(this.ToffsetWires1B2[e-7]),this.ToffsetArcWires2B=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires1B2[e-14]),L.push(this.ToffsetWires1B2[e-6]),this.ToffsetArcWires2B=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires1B2[e-13]),w.push(this.ToffsetWires1B2[e-5]),this.ToffsetArcWires2B=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),P.push(this.ToffsetWires1B2[e-12]),P.push(this.ToffsetWires1B2[e-4]),this.ToffsetArcWires2B=r(P,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),y.push(this.ToffsetWires1B2[e-11]),y.push(this.ToffsetWires1B2[e-3]),this.ToffsetArcWires2B=r(y,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),_.push(this.ToffsetWires1B2[e-10]),_.push(this.ToffsetWires1B2[e-2]),this.ToffsetArcWires2B=r(_,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线7"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),b.push(this.ToffsetWires1B2[e-9]),b.push(this.ToffsetWires1B2[e-1]),this.ToffsetArcWires2B=r(b,15),this.entityCollection2.add(o(this.ToffsetArcWires2B,"1B2跳线8"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break}}debugger;if(this.ToffsetWires1C1.length>1&&this.ToffsetWires1C2.length>1){const t=[],i=[],h=[],a=[],c=[],T=[],B=[],d=[],C=[],p=[],L=[],w=[],P=[],y=[],_=[],b=[];switch(this.LineInfo.Wairnum){case u.单分裂:this.ToffsetWires1C1.length>=2&&(t.push(this.ToffsetWires1C1[e-2]),t.push(this.ToffsetWires1C1[e-1]),this.ToffsetArcWires1C=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires1C2.length>=2&&(C.push(this.ToffsetWires1C2[e-2]),C.push(this.ToffsetWires1C2[e-1]),this.ToffsetArcWires2C=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.双分裂:this.ToffsetWires1C1.length>=4&&(t.push(this.ToffsetWires1C1[e-4]),t.push(this.ToffsetWires1C1[e-2]),this.ToffsetArcWires1C=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires1C1[e-3]),i.push(this.ToffsetWires1C1[e-1]),this.ToffsetArcWires1C=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires1C2.length>=4&&(C.push(this.ToffsetWires1C2[e-4]),C.push(this.ToffsetWires1C2[e-2]),this.ToffsetArcWires2C=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires1C2[e-3]),p.push(this.ToffsetWires1C2[e-1]),this.ToffsetArcWires2C=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.四分裂:this.ToffsetWires1C1.length>=8&&(t.push(this.ToffsetWires1C1[e-8]),t.push(this.ToffsetWires1C1[e-4]),this.ToffsetArcWires1C=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires1C1[e-7]),i.push(this.ToffsetWires1C1[e-3]),this.ToffsetArcWires1C=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires1C1[e-6]),h.push(this.ToffsetWires1C1[e-2]),this.ToffsetArcWires1C=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires1C1[e-5]),a.push(this.ToffsetWires1C1[e-1]),this.ToffsetArcWires1C=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires1C2.length>=8&&(C.push(this.ToffsetWires1C2[e-8]),C.push(this.ToffsetWires1C2[e-4]),this.ToffsetArcWires2C=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires1C2[e-7]),p.push(this.ToffsetWires1C2[e-3]),this.ToffsetArcWires2C=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires1C2[e-6]),L.push(this.ToffsetWires1C2[e-2]),this.ToffsetArcWires2C=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires1C2[e-5]),w.push(this.ToffsetWires1C2[e-1]),this.ToffsetArcWires2C=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.六分裂:this.ToffsetWires1C1.length>=12&&(t.push(this.ToffsetWires1C1[e-12]),t.push(this.ToffsetWires1C1[e-6]),this.ToffsetArcWires1C=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires1C1[e-11]),i.push(this.ToffsetWires1C1[e-5]),this.ToffsetArcWires1C=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires1C1[e-10]),h.push(this.ToffsetWires1C1[e-4]),this.ToffsetArcWires1C=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires1C1[e-9]),a.push(this.ToffsetWires1C1[e-3]),this.ToffsetArcWires1C=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),c.push(this.ToffsetWires1C1[e-8]),c.push(this.ToffsetWires1C1[e-2]),this.ToffsetArcWires1C=r(c,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),T.push(this.ToffsetWires1C1[e-7]),T.push(this.ToffsetWires1C1[e-1]),this.ToffsetArcWires1C=r(T,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires1C2.length>=12&&(C.push(this.ToffsetWires1C2[e-12]),C.push(this.ToffsetWires1C2[e-6]),this.ToffsetArcWires2C=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires1C2[e-11]),p.push(this.ToffsetWires1C2[e-5]),this.ToffsetArcWires2C=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires1C2[e-10]),L.push(this.ToffsetWires1C2[e-4]),this.ToffsetArcWires2C=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires1C2[e-9]),w.push(this.ToffsetWires1C2[e-3]),this.ToffsetArcWires2C=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),P.push(this.ToffsetWires1C2[e-8]),P.push(this.ToffsetWires1C2[e-2]),this.ToffsetArcWires2C=r(P,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),y.push(this.ToffsetWires1C2[e-7]),y.push(this.ToffsetWires1C2[e-1]),this.ToffsetArcWires2C=r(y,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.八分裂:this.ToffsetWires1C1.length>=16&&(t.push(this.ToffsetWires1C1[e-16]),t.push(this.ToffsetWires1C1[e-8]),this.ToffsetArcWires1C=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires1C1[e-15]),i.push(this.ToffsetWires1C1[e-7]),this.ToffsetArcWires1C=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires1C1[e-14]),h.push(this.ToffsetWires1C1[e-6]),this.ToffsetArcWires1C=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires1C1[e-13]),a.push(this.ToffsetWires1C1[e-5]),this.ToffsetArcWires1C=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),c.push(this.ToffsetWires1C1[e-12]),c.push(this.ToffsetWires1C1[e-4]),this.ToffsetArcWires1C=r(c,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),T.push(this.ToffsetWires1C1[e-11]),T.push(this.ToffsetWires1C1[e-3]),this.ToffsetArcWires1C=r(T,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),B.push(this.ToffsetWires1C1[e-10]),B.push(this.ToffsetWires1C1[e-2]),this.ToffsetArcWires1C=r(B,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线7"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),d.push(this.ToffsetWires1C1[e-9]),d.push(this.ToffsetWires1C1[e-1]),this.ToffsetArcWires1C=r(d,15),this.entityCollection2.add(o(this.ToffsetArcWires1C,"1C1跳线8"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires1C2.length>=16&&(C.push(this.ToffsetWires1C2[e-16]),C.push(this.ToffsetWires1C2[e-8]),this.ToffsetArcWires2C=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires1C2[e-15]),p.push(this.ToffsetWires1C2[e-7]),this.ToffsetArcWires2C=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires1C2[e-14]),L.push(this.ToffsetWires1C2[e-6]),this.ToffsetArcWires2C=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires1C2[e-13]),w.push(this.ToffsetWires1C2[e-5]),this.ToffsetArcWires2C=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),P.push(this.ToffsetWires1C2[e-12]),P.push(this.ToffsetWires1C2[e-4]),this.ToffsetArcWires2C=r(P,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),y.push(this.ToffsetWires1C2[e-11]),y.push(this.ToffsetWires1C2[e-3]),this.ToffsetArcWires2C=r(y,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),_.push(this.ToffsetWires1C2[e-10]),_.push(this.ToffsetWires1C2[e-2]),this.ToffsetArcWires2C=r(_,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线7"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),b.push(this.ToffsetWires1C2[e-9]),b.push(this.ToffsetWires1C2[e-1]),this.ToffsetArcWires2C=r(b,15),this.entityCollection2.add(o(this.ToffsetArcWires2C,"1C2跳线8"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break}}if(this.ToffsetWires2A1.length>1&&this.ToffsetWires2A2.length>1){const t=[],i=[],h=[],a=[],c=[],T=[],B=[],d=[],C=[],p=[],L=[],w=[],P=[],y=[],_=[],b=[];switch(this.LineInfo.Wairnum){case u.单分裂:this.ToffsetWires2A1.length>=2&&(t.push(this.ToffsetWires2A1[e-2]),t.push(this.ToffsetWires2A1[e-1]),this.ToffsetArcWires1A2=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires2A2.length>=2&&(C.push(this.ToffsetWires2A2[e-2]),C.push(this.ToffsetWires2A2[e-1]),this.ToffsetArcWires2A2=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.双分裂:this.ToffsetWires2A1.length>=4&&(t.push(this.ToffsetWires2A1[e-4]),t.push(this.ToffsetWires2A1[e-2]),this.ToffsetArcWires1A2=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires2A1[e-3]),i.push(this.ToffsetWires2A1[e-1]),this.ToffsetArcWires1A2=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires2A2.length>=4&&(C.push(this.ToffsetWires2A2[e-4]),C.push(this.ToffsetWires2A2[e-2]),this.ToffsetArcWires2A2=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires2A2[e-3]),p.push(this.ToffsetWires2A2[e-1]),this.ToffsetArcWires2A2=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.四分裂:this.ToffsetWires2A1.length>=8&&(t.push(this.ToffsetWires2A1[e-8]),t.push(this.ToffsetWires2A1[e-4]),this.ToffsetArcWires1A2=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires2A1[e-7]),i.push(this.ToffsetWires2A1[e-3]),this.ToffsetArcWires1A2=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires2A1[e-6]),h.push(this.ToffsetWires2A1[e-2]),this.ToffsetArcWires1A2=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires2A1[e-5]),a.push(this.ToffsetWires2A1[e-1]),this.ToffsetArcWires1A2=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires2A2.length>=8&&(C.push(this.ToffsetWires2A2[e-8]),C.push(this.ToffsetWires2A2[e-4]),this.ToffsetArcWires2A2=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires2A2[e-7]),p.push(this.ToffsetWires2A2[e-3]),this.ToffsetArcWires2A2=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires2A2[e-6]),L.push(this.ToffsetWires2A2[e-2]),this.ToffsetArcWires2A2=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires2A2[e-5]),w.push(this.ToffsetWires2A2[e-1]),this.ToffsetArcWires2A2=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.六分裂:this.ToffsetWires2A1.length>=12&&(t.push(this.ToffsetWires2A1[e-12]),t.push(this.ToffsetWires2A1[e-6]),this.ToffsetArcWires1A2=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires2A1[e-11]),i.push(this.ToffsetWires2A1[e-5]),this.ToffsetArcWires1A2=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires2A1[e-10]),h.push(this.ToffsetWires2A1[e-4]),this.ToffsetArcWires1A2=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires2A1[e-9]),a.push(this.ToffsetWires2A1[e-3]),this.ToffsetArcWires1A2=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),c.push(this.ToffsetWires2A1[e-8]),c.push(this.ToffsetWires2A1[e-2]),this.ToffsetArcWires1A2=r(c,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),T.push(this.ToffsetWires2A1[e-7]),T.push(this.ToffsetWires2A1[e-1]),this.ToffsetArcWires1A2=r(T,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires2A2.length>=12&&(C.push(this.ToffsetWires2A2[e-12]),C.push(this.ToffsetWires2A2[e-6]),this.ToffsetArcWires2A2=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires2A2[e-11]),p.push(this.ToffsetWires2A2[e-5]),this.ToffsetArcWires2A2=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires2A2[e-10]),L.push(this.ToffsetWires2A2[e-4]),this.ToffsetArcWires2A2=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires2A2[e-9]),w.push(this.ToffsetWires2A2[e-3]),this.ToffsetArcWires2A2=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),P.push(this.ToffsetWires2A2[e-8]),P.push(this.ToffsetWires2A2[e-2]),this.ToffsetArcWires2A2=r(P,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),y.push(this.ToffsetWires2A2[e-7]),y.push(this.ToffsetWires2A2[e-1]),this.ToffsetArcWires2A2=r(y,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.八分裂:this.ToffsetWires2A1.length>=16&&(t.push(this.ToffsetWires2A1[e-16]),t.push(this.ToffsetWires2A1[e-8]),this.ToffsetArcWires1A2=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires2A1[e-15]),i.push(this.ToffsetWires2A1[e-7]),this.ToffsetArcWires1A2=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires2A1[e-14]),h.push(this.ToffsetWires2A1[e-6]),this.ToffsetArcWires1A2=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires2A1[e-13]),a.push(this.ToffsetWires2A1[e-5]),this.ToffsetArcWires1A2=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),c.push(this.ToffsetWires2A1[e-12]),c.push(this.ToffsetWires2A1[e-4]),this.ToffsetArcWires1A2=r(c,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),T.push(this.ToffsetWires2A1[e-11]),T.push(this.ToffsetWires2A1[e-3]),this.ToffsetArcWires1A2=r(T,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),B.push(this.ToffsetWires2A1[e-10]),B.push(this.ToffsetWires2A1[e-2]),this.ToffsetArcWires1A2=r(B,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线7"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),d.push(this.ToffsetWires2A1[e-9]),d.push(this.ToffsetWires2A1[e-1]),this.ToffsetArcWires1A2=r(d,15),this.entityCollection2.add(o(this.ToffsetArcWires1A2,"2A1跳线8"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires2A2.length>=16&&(C.push(this.ToffsetWires2A2[e-16]),C.push(this.ToffsetWires2A2[e-8]),this.ToffsetArcWires2A2=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires2A2[e-15]),p.push(this.ToffsetWires2A2[e-7]),this.ToffsetArcWires2A2=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires2A2[e-14]),L.push(this.ToffsetWires2A2[e-6]),this.ToffsetArcWires2A2=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires2A2[e-13]),w.push(this.ToffsetWires2A2[e-5]),this.ToffsetArcWires2A2=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),P.push(this.ToffsetWires2A2[e-12]),P.push(this.ToffsetWires2A2[e-4]),this.ToffsetArcWires2A2=r(P,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),y.push(this.ToffsetWires2A2[e-11]),y.push(this.ToffsetWires2A2[e-3]),this.ToffsetArcWires2A2=r(y,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),_.push(this.ToffsetWires2A2[e-10]),_.push(this.ToffsetWires2A2[e-2]),this.ToffsetArcWires2A2=r(_,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线7"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),b.push(this.ToffsetWires2A2[e-9]),b.push(this.ToffsetWires2A2[e-1]),this.ToffsetArcWires2A2=r(b,15),this.entityCollection2.add(o(this.ToffsetArcWires2A2,"2A2跳线8"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break}}if(this.ToffsetWires2B1.length>1&&this.ToffsetWires2B2.length>1){const t=[],i=[],h=[],a=[],c=[],T=[],B=[],d=[],C=[],p=[],L=[],w=[],P=[],y=[],_=[],b=[];switch(this.LineInfo.Wairnum){case u.单分裂:this.ToffsetWires2B1.length>=2&&(t.push(this.ToffsetWires2B1[e-2]),t.push(this.ToffsetWires2B1[e-1]),this.ToffsetArcWires1B2=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires2B2.length>=2&&(C.push(this.ToffsetWires2B2[e-2]),C.push(this.ToffsetWires2B2[e-1]),this.ToffsetArcWires2B2=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.双分裂:this.ToffsetWires2B1.length>=4&&(t.push(this.ToffsetWires2B1[e-4]),t.push(this.ToffsetWires2B1[e-2]),this.ToffsetArcWires1B2=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires2B1[e-3]),i.push(this.ToffsetWires2B1[e-1]),this.ToffsetArcWires1B2=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires2B2.length>=4&&(C.push(this.ToffsetWires2B2[e-4]),C.push(this.ToffsetWires2B2[e-2]),this.ToffsetArcWires2B2=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires2B2[e-3]),p.push(this.ToffsetWires2B2[e-1]),this.ToffsetArcWires2B2=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.四分裂:this.ToffsetWires2B1.length>=8&&(t.push(this.ToffsetWires2B1[e-8]),t.push(this.ToffsetWires2B1[e-4]),this.ToffsetArcWires1B2=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires2B1[e-7]),i.push(this.ToffsetWires2B1[e-3]),this.ToffsetArcWires1B2=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires2B1[e-6]),h.push(this.ToffsetWires2B1[e-2]),this.ToffsetArcWires1B2=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires2B1[e-5]),a.push(this.ToffsetWires2B1[e-1]),this.ToffsetArcWires1B2=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires2B2.length>=8&&(C.push(this.ToffsetWires2B2[e-8]),C.push(this.ToffsetWires2B2[e-4]),this.ToffsetArcWires2B2=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires2B2[e-7]),p.push(this.ToffsetWires2B2[e-3]),this.ToffsetArcWires2B2=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires2B2[e-6]),L.push(this.ToffsetWires2B2[e-2]),this.ToffsetArcWires2B2=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires2B2[e-5]),w.push(this.ToffsetWires2B2[e-1]),this.ToffsetArcWires2B2=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.六分裂:this.ToffsetWires2B1.length>=12&&(t.push(this.ToffsetWires2B1[e-12]),t.push(this.ToffsetWires2B1[e-6]),this.ToffsetArcWires1B2=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires2B1[e-11]),i.push(this.ToffsetWires2B1[e-5]),this.ToffsetArcWires1B2=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires2B1[e-10]),h.push(this.ToffsetWires2B1[e-4]),this.ToffsetArcWires1B2=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires2B1[e-9]),a.push(this.ToffsetWires2B1[e-3]),this.ToffsetArcWires1B2=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),c.push(this.ToffsetWires2B1[e-8]),c.push(this.ToffsetWires2B1[e-2]),this.ToffsetArcWires1B2=r(c,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),T.push(this.ToffsetWires2B1[e-7]),T.push(this.ToffsetWires2B1[e-1]),this.ToffsetArcWires1B2=r(T,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires2B2.length>=12&&(C.push(this.ToffsetWires2B2[e-12]),C.push(this.ToffsetWires2B2[e-6]),this.ToffsetArcWires2B2=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires2B2[e-11]),p.push(this.ToffsetWires2B2[e-5]),this.ToffsetArcWires2B2=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires2B2[e-10]),L.push(this.ToffsetWires2B2[e-4]),this.ToffsetArcWires2B2=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires2B2[e-9]),w.push(this.ToffsetWires2B2[e-3]),this.ToffsetArcWires2B2=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),P.push(this.ToffsetWires2B2[e-8]),P.push(this.ToffsetWires2B2[e-2]),this.ToffsetArcWires2B2=r(P,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),y.push(this.ToffsetWires2B2[e-7]),y.push(this.ToffsetWires2B2[e-1]),this.ToffsetArcWires2B2=r(y,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.八分裂:this.ToffsetWires2B1.length>=16&&(t.push(this.ToffsetWires2B1[e-16]),t.push(this.ToffsetWires2B1[e-8]),this.ToffsetArcWires1B2=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires2B1[e-15]),i.push(this.ToffsetWires2B1[e-7]),this.ToffsetArcWires1B2=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires2B1[e-14]),h.push(this.ToffsetWires2B1[e-6]),this.ToffsetArcWires1B2=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires2B1[e-13]),a.push(this.ToffsetWires2B1[e-5]),this.ToffsetArcWires1B2=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),c.push(this.ToffsetWires2B1[e-12]),c.push(this.ToffsetWires2B1[e-4]),this.ToffsetArcWires1B2=r(c,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),T.push(this.ToffsetWires2B1[e-11]),T.push(this.ToffsetWires2B1[e-3]),this.ToffsetArcWires1B2=r(T,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),B.push(this.ToffsetWires2B1[e-10]),B.push(this.ToffsetWires2B1[e-2]),this.ToffsetArcWires1B2=r(B,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线7"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),d.push(this.ToffsetWires2B1[e-9]),d.push(this.ToffsetWires2B1[e-1]),this.ToffsetArcWires1B2=r(d,15),this.entityCollection2.add(o(this.ToffsetArcWires1B2,"2B1跳线8"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires2B2.length>=16&&(C.push(this.ToffsetWires2B2[e-16]),C.push(this.ToffsetWires2B2[e-8]),this.ToffsetArcWires2B2=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires2B2[e-15]),p.push(this.ToffsetWires2B2[e-7]),this.ToffsetArcWires2B2=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires2B2[e-14]),L.push(this.ToffsetWires2B2[e-6]),this.ToffsetArcWires2B2=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires2B2[e-13]),w.push(this.ToffsetWires2B2[e-5]),this.ToffsetArcWires2B2=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),P.push(this.ToffsetWires2B2[e-12]),P.push(this.ToffsetWires2B2[e-4]),this.ToffsetArcWires2B2=r(P,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),y.push(this.ToffsetWires2B2[e-11]),y.push(this.ToffsetWires2B2[e-3]),this.ToffsetArcWires2B2=r(y,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),_.push(this.ToffsetWires2B2[e-10]),_.push(this.ToffsetWires2B2[e-2]),this.ToffsetArcWires2B2=r(_,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线7"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),b.push(this.ToffsetWires2B2[e-9]),b.push(this.ToffsetWires2B2[e-1]),this.ToffsetArcWires2B2=r(b,15),this.entityCollection2.add(o(this.ToffsetArcWires2B2,"2B2跳线8"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break}}if(this.ToffsetWires2C1.length>1&&this.ToffsetWires2C2.length>1){const t=[],i=[],h=[],a=[],c=[],T=[],B=[],d=[],C=[],p=[],L=[],w=[],P=[],y=[],_=[],b=[];switch(this.LineInfo.Wairnum){case u.单分裂:this.ToffsetWires2C1.length>=2&&(t.push(this.ToffsetWires2C1[e-2]),t.push(this.ToffsetWires2C1[e-1]),this.ToffsetArcWires1C2=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires2C2.length>=2&&(C.push(this.ToffsetWires2C2[e-2]),C.push(this.ToffsetWires2C2[e-1]),this.ToffsetArcWires2C2=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.双分裂:this.ToffsetWires2C1.length>=4&&(t.push(this.ToffsetWires2C1[e-4]),t.push(this.ToffsetWires2C1[e-2]),this.ToffsetArcWires1C2=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires2C1[e-3]),i.push(this.ToffsetWires2C1[e-1]),this.ToffsetArcWires1C2=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires2C2.length>=4&&(C.push(this.ToffsetWires2C2[e-4]),C.push(this.ToffsetWires2C2[e-2]),this.ToffsetArcWires2C2=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires2C2[e-3]),p.push(this.ToffsetWires2C2[e-1]),this.ToffsetArcWires2C2=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.四分裂:this.ToffsetWires2C1.length>=8&&(t.push(this.ToffsetWires2C1[e-8]),t.push(this.ToffsetWires2C1[e-4]),this.ToffsetArcWires1C2=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires2C1[e-7]),i.push(this.ToffsetWires2C1[e-3]),this.ToffsetArcWires1C2=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires2C1[e-6]),h.push(this.ToffsetWires2C1[e-2]),this.ToffsetArcWires1C2=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires2C1[e-5]),a.push(this.ToffsetWires2C1[e-1]),this.ToffsetArcWires1C2=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires2C2.length>=8&&(C.push(this.ToffsetWires2C2[e-8]),C.push(this.ToffsetWires2C2[e-4]),this.ToffsetArcWires2C2=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires2C2[e-7]),p.push(this.ToffsetWires2C2[e-3]),this.ToffsetArcWires2C2=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires2C2[e-6]),L.push(this.ToffsetWires2C2[e-2]),this.ToffsetArcWires2C2=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires2C2[e-5]),w.push(this.ToffsetWires2C2[e-1]),this.ToffsetArcWires2C2=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.六分裂:this.ToffsetWires2C1.length>=12&&(t.push(this.ToffsetWires2C1[e-12]),t.push(this.ToffsetWires2C1[e-6]),this.ToffsetArcWires1C2=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires2C1[e-11]),i.push(this.ToffsetWires2C1[e-5]),this.ToffsetArcWires1C2=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires2C1[e-10]),h.push(this.ToffsetWires2C1[e-4]),this.ToffsetArcWires1C2=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires2C1[e-9]),a.push(this.ToffsetWires2C1[e-3]),this.ToffsetArcWires1C2=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),c.push(this.ToffsetWires2C1[e-8]),c.push(this.ToffsetWires2C1[e-2]),this.ToffsetArcWires1C2=r(c,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),T.push(this.ToffsetWires2C1[e-7]),T.push(this.ToffsetWires2C1[e-1]),this.ToffsetArcWires1C2=r(T,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires2C2.length>=12&&(C.push(this.ToffsetWires2C2[e-12]),C.push(this.ToffsetWires2C2[e-6]),this.ToffsetArcWires2C2=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires2C2[e-11]),p.push(this.ToffsetWires2C2[e-5]),this.ToffsetArcWires2C2=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires2C2[e-10]),L.push(this.ToffsetWires2C2[e-4]),this.ToffsetArcWires2C2=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires2C2[e-9]),w.push(this.ToffsetWires2C2[e-3]),this.ToffsetArcWires2C2=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),P.push(this.ToffsetWires2C2[e-8]),P.push(this.ToffsetWires2C2[e-2]),this.ToffsetArcWires2C2=r(P,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),y.push(this.ToffsetWires2C2[e-7]),y.push(this.ToffsetWires2C2[e-1]),this.ToffsetArcWires2C2=r(y,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break;case u.八分裂:this.ToffsetWires2C1.length>=16&&(t.push(this.ToffsetWires2C1[e-16]),t.push(this.ToffsetWires2C1[e-8]),this.ToffsetArcWires1C2=r(t,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),i.push(this.ToffsetWires2C1[e-15]),i.push(this.ToffsetWires2C1[e-7]),this.ToffsetArcWires1C2=r(i,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),h.push(this.ToffsetWires2C1[e-14]),h.push(this.ToffsetWires2C1[e-6]),this.ToffsetArcWires1C2=r(h,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),a.push(this.ToffsetWires2C1[e-13]),a.push(this.ToffsetWires2C1[e-5]),this.ToffsetArcWires1C2=r(a,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),c.push(this.ToffsetWires2C1[e-12]),c.push(this.ToffsetWires2C1[e-4]),this.ToffsetArcWires1C2=r(c,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),T.push(this.ToffsetWires2C1[e-11]),T.push(this.ToffsetWires2C1[e-3]),this.ToffsetArcWires1C2=r(T,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),B.push(this.ToffsetWires2C1[e-10]),B.push(this.ToffsetWires2C1[e-2]),this.ToffsetArcWires1C2=r(B,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线7"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),d.push(this.ToffsetWires2C1[e-9]),d.push(this.ToffsetWires2C1[e-1]),this.ToffsetArcWires1C2=r(d,15),this.entityCollection2.add(o(this.ToffsetArcWires1C2,"2C1跳线8"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor))),this.ToffsetWires2C2.length>=16&&(C.push(this.ToffsetWires2C2[e-16]),C.push(this.ToffsetWires2C2[e-8]),this.ToffsetArcWires2C2=r(C,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线1"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),p.push(this.ToffsetWires2C2[e-15]),p.push(this.ToffsetWires2C2[e-7]),this.ToffsetArcWires2C2=r(p,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线2"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),L.push(this.ToffsetWires2C2[e-14]),L.push(this.ToffsetWires2C2[e-6]),this.ToffsetArcWires2C2=r(L,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线3"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),w.push(this.ToffsetWires2C2[e-13]),w.push(this.ToffsetWires2C2[e-5]),this.ToffsetArcWires2C2=r(w,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线4"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),P.push(this.ToffsetWires2C2[e-12]),P.push(this.ToffsetWires2C2[e-4]),this.ToffsetArcWires2C2=r(P,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线5"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),y.push(this.ToffsetWires2C2[e-11]),y.push(this.ToffsetWires2C2[e-3]),this.ToffsetArcWires2C2=r(y,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线6"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),_.push(this.ToffsetWires2C2[e-10]),_.push(this.ToffsetWires2C2[e-2]),this.ToffsetArcWires2C2=r(_,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线7"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)),b.push(this.ToffsetWires2C2[e-9]),b.push(this.ToffsetWires2C2[e-1]),this.ToffsetArcWires2C2=r(b,15),this.entityCollection2.add(o(this.ToffsetArcWires2C2,"2C2跳线8"+(s-1)+"-"+s,this.LineInfo.wireWidth,this.LineInfo.wireTColor)));break}}}else switch(this.LineInfo.Wairnum){case u.单分裂:f=f+1;break;case u.双分裂:f=f+2;break;case u.四分裂:f=f+4;break;case u.六分裂:f=f+6;break;case u.八分裂:f=f+8;break}})}loadLineModel(){this.Keym=="OW_JPS_EEngin_001"&&(this.viewer.dataSources.add(this.dataSource2),this.viewer.entities.show)}LineSpriteLineinit(){Cesium.Material._materialCache.addMaterial("SpriteLineMaterialType",{fabric:{type:"SpriteLineMaterialType",uniforms:{color:new Cesium.Color(1,1,0,1),speed:2},source:`
|
|
2
2
|
uniform vec4 color;
|
|
3
3
|
const float pi = 3.1415926;
|
|
4
4
|
czm_material czm_getMaterial(czm_materialInput materialInput)
|
|
@@ -12,4 +12,4 @@
|
|
|
12
12
|
}
|
|
13
13
|
`},translucent:function(){return!0}})}setLineVisible(f){this.Keym=="OW_JPS_EEngin_001"&&(this.entityCollection2.show=f)}RemoveLineModel(){this.Keym=="OW_JPS_EEngin_001"&&(this.viewer.dataSources.remove(this.dataSource2),this.entityCollection2.show=!1)}}class V{constructor(){A(this,"id","");A(this,"name","");A(this,"towerFZinfo","");A(this,"towerDisFile","");A(this,"stressFileContent","");A(this,"TowerMemberColor","#FFFFFF");A(this,"TowerMembersWidth",2);A(this,"Longitude",0);A(this,"Latitude",0);A(this,"Altitude",0);A(this,"RollX",0);A(this,"RollY",90);A(this,"RollZ",0)}}function j(I){debugger;const f=I.split(`
|
|
14
14
|
`),e=[],n=[],s=/^\s*(\d+)\s+([\d.-]+)\s+([\d.-]+)\s+([\d.-]+)\s+(-?\d+)/,k=/^\s*(\d+)\s+(\d+)\s+(\d+)\s*(?:#|$)/;for(const W of f){const m=W.trim();if(!m)continue;const t=m.match(s);if(t){e.push({id:parseInt(t[1]),x:parseFloat(t[2]),y:parseFloat(t[3]),z:parseFloat(t[4]),flag:parseInt(t[5])});continue}const i=m.match(k);i&&n.push({from:parseInt(i[1]),to:parseInt(i[2]),type:parseInt(i[3])})}return{TowerNodes:e,connections:n}}function x(I){const f=I.split(`
|
|
15
|
-
`),e=[];for(const n of f){if(!n.trim())continue;const s=n.trim().split(/\s+/).filter(m=>m!==""),k=parseInt(s[0]);if(isNaN(k))continue;const W=[];for(let m=1;m<s.length;m+=3){const t=parseFloat(s[m]),i=parseFloat(s[m+1]),h=parseFloat(s[m+2]);if(!isNaN(t)&&!isNaN(i)&&!isNaN(h)){const a=Math.floor((m-1)/3)+1;W.push({timeStep:a,x:t,y:i,z:h})}}e.push({nodeId:k,displacements:W})}return e}function
|
|
15
|
+
`),e=[];for(const n of f){if(!n.trim())continue;const s=n.trim().split(/\s+/).filter(m=>m!==""),k=parseInt(s[0]);if(isNaN(k))continue;const W=[];for(let m=1;m<s.length;m+=3){const t=parseFloat(s[m]),i=parseFloat(s[m+1]),h=parseFloat(s[m+2]);if(!isNaN(t)&&!isNaN(i)&&!isNaN(h)){const a=Math.floor((m-1)/3)+1;W.push({timeStep:a,x:t,y:i,z:h})}}e.push({nodeId:k,displacements:W})}return e}function z(I){const f={};return I.forEach(e=>{e.displacements.forEach(n=>{f[n.timeStep]||(f[n.timeStep]=[]),f[n.timeStep].push({nodeId:e.nodeId,...n})})}),f}class ss{constructor(f,e,n){A(this,"viewer");A(this,"TowerFZS");A(this,"Keym","");A(this,"dataSource2");A(this,"entityCollection2");A(this,"TowerNodes",[]);A(this,"connections",[]);A(this,"displacementData",[]);A(this,"_animationInterval",null);this.Keym=n,this.viewer=f,this.TowerFZS=e,this.dataSource2=new Cesium.CustomDataSource(this.TowerFZS.id),this.entityCollection2=this.dataSource2.entities}loadfile(){if(this.Keym!="OW_JPS_EEngin_001")return;const{TowerNodes:f,connections:e}=j(this.TowerFZS.towerFZinfo);this.TowerNodes=f,this.connections=e,this.displacementData=x(this.TowerFZS.towerDisFile);debugger}loadFZTower(){if(this.Keym!="OW_JPS_EEngin_001")return;let f=new Cesium.HeadingPitchRoll(Cesium.Math.toRadians(this.TowerFZS.RollX),this.TowerFZS.RollY,this.TowerFZS.RollZ);const e=Cesium.Cartesian3.fromDegrees(this.TowerFZS.Longitude,this.TowerFZS.Latitude,this.TowerFZS.Altitude);this.connections.forEach(n=>{const s=this.TowerNodes.find(i=>i.id===n.from),k=this.TowerNodes.find(i=>i.id===n.to),W=[],m=new Cesium.Cartesian3(s==null?void 0:s.x,s==null?void 0:s.y,s==null?void 0:s.z);W.push(l(e,m,f)),this.entityCollection2.add(H(W[0],(s==null?void 0:s.id)+""));const t=new Cesium.Cartesian3(k==null?void 0:k.x,k==null?void 0:k.y,k==null?void 0:k.z);W.push(l(e,t,f)),this.entityCollection2.add(H(W[1],(k==null?void 0:k.id)+"")),this.entityCollection2.add(o(W,n.from+""+n.to,this.TowerFZS.TowerMembersWidth,this.TowerFZS.TowerMemberColor))})}loadFZDISTower(f){if(this.Keym!=="OW_JPS_EEngin_001")return;const n=z(this.displacementData)[f];debugger;if(!n){console.warn(`未找到时间步 ${f} 的位移数据`);return}const s=new Cesium.HeadingPitchRoll(Cesium.Math.toRadians(this.TowerFZS.RollX),this.TowerFZS.RollY,this.TowerFZS.RollZ),k=Cesium.Cartesian3.fromDegrees(this.TowerFZS.Longitude,this.TowerFZS.Latitude,this.TowerFZS.Altitude);this.connections.forEach(W=>{const m=this.TowerNodes.find(p=>p.id===W.from),t=this.TowerNodes.find(p=>p.id===W.to);if(!m||!t){console.warn(`找不到连接 ${W.from}->${W.to} 的节点`);return}debugger;const i=n.find(p=>p.nodeId===W.from),h=n.find(p=>p.nodeId===W.to);if(!i||!h){console.warn(`找不到连接 ${W.from}->${W.to} 的位移数据`);return}const a=new Cesium.Cartesian3(m.x-i.x,m.y-i.y,m.z-i.z),c=new Cesium.Cartesian3(t.x-h.x,t.y-h.y,t.z-h.z),T=l(k,a,s);this.entityCollection2.add(H(T,W.from+""));const B=l(k,c,s);this.entityCollection2.add(H(B,W.to+""));const d=[T,B],C=`${W.from}_${W.to}`;this.entityCollection2.add(o(d,C+f,this.TowerFZS.TowerMembersWidth,"#ffffff"))})}loadFZDISTower1(f){if(this.Keym!="OW_JPS_EEngin_001")return;const e=z(this.displacementData);let n=new Cesium.HeadingPitchRoll(Cesium.Math.toRadians(this.TowerFZS.RollX),this.TowerFZS.RollY,this.TowerFZS.RollZ);const s=Cesium.Cartesian3.fromDegrees(this.TowerFZS.Longitude,this.TowerFZS.Latitude,this.TowerFZS.Altitude);this.connections.forEach(k=>{const W=this.TowerNodes.find(T=>T.id===k.from),m=e[f].find(T=>T.nodeId===k.from),t=this.TowerNodes.find(T=>T.id===k.to),i=e[f].find(T=>T.nodeId===k.to),h=[],a=new Cesium.Cartesian3(W.x-m.x,W.y-m.y,W.z-m.z);h.push(l(s,a,n));const c=new Cesium.Cartesian3(t.x-i.x,t.y-i.y,t.z-i.z);h.push(l(s,c,n));debugger;this.entityCollection2.add(o(h,k.from+""+k.to,this.TowerFZS.TowerMembersWidth,this.TowerFZS.TowerMemberColor))})}loadAllFZDisTower(){if(this.Keym!=="OW_JPS_EEngin_001")return;if(!this.displacementData||this.displacementData.length===0){console.warn("没有可用的位移数据");return}let f=1;const e=this.displacementData.length;this._animationInterval&&(clearInterval(this._animationInterval),this._animationInterval=null);const n=()=>{if(this.viewer.dataSources.contains(this.dataSource2)&&this.viewer.dataSources.remove(this.dataSource2,!0),f>e){f=1;return}this.dataSource2=new Cesium.CustomDataSource("fztower"),this.entityCollection2=this.dataSource2.entities;try{this.loadFZDISTower(f),this.loadFZModel(),console.log(`正在显示位移帧: ${f}/${e}`),f++}catch(s){console.error("加载位移帧时出错:",s),this._animationInterval&&(clearInterval(this._animationInterval),this._animationInterval=null)}};n(),this._animationInterval=setInterval(n,300)}stopDisplacementAnimation(){this._animationInterval&&(clearInterval(this._animationInterval),this._animationInterval=null)}toggleAnimation(f){f?this.stopDisplacementAnimation():this.loadAllFZDisTower()}loadFZModel(){this.Keym=="OW_JPS_EEngin_001"&&(this.viewer.dataSources.add(this.dataSource2),this.viewer.entities.show)}setFZModelVisible(f){this.Keym=="OW_JPS_EEngin_001"&&(this.entityCollection2.show=f)}RemoveFZModel(){this.Keym=="OW_JPS_EEngin_001"&&(this.viewer.dataSources.remove(this.dataSource2),this.entityCollection2.show=!1)}}Z.GUAPoint=$,Z.InsulatorInfo=U,Z.InsulatorType=S,Z.LineNum=O,Z.LineType=G,Z.OWEEgineFZManager=ss,Z.OWEEgineManager=Q,Z.PhaseSType=v,Z.TowerFZInfo=V,Z.TowerInfo=q,Z.TowerLineInfo=J,Z.TowerType=N,Z.WairnumType=u,Z.drawModel=D,Object.defineProperty(Z,Symbol.toStringTag,{value:"Module"})});
|