ow-eengine-power 2.4.5 → 2.4.7

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.
@@ -1,9 +1,9 @@
1
1
  var Ss = Object.defineProperty;
2
- var ks = (a, e, t) => e in a ? Ss(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t;
3
- var w = (a, e, t) => ks(a, typeof e != "symbol" ? e + "" : e, t);
2
+ var ks = (a, e, i) => e in a ? Ss(a, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : a[e] = i;
3
+ var w = (a, e, i) => ks(a, typeof e != "symbol" ? e + "" : e, i);
4
4
  import * as n from "cesium";
5
5
  import { Color as J, HeightReference as Rs, LabelStyle as Zs } from "cesium";
6
- function Es(a, e, t = {}) {
6
+ function Es(a, e, i = {}) {
7
7
  const {
8
8
  color: r = J.WHITE,
9
9
  width: s = 3,
@@ -11,7 +11,7 @@ function Es(a, e, t = {}) {
11
11
  zIndex: W = 0,
12
12
  dashed: L = !1,
13
13
  dashLength: A = 10
14
- } = t, d = L ? new n.PolylineDashMaterialProperty({
14
+ } = i, d = L ? new n.PolylineDashMaterialProperty({
15
15
  color: r,
16
16
  dashLength: A
17
17
  }) : new n.ColorMaterialProperty(r);
@@ -25,12 +25,12 @@ function Es(a, e, t = {}) {
25
25
  }
26
26
  });
27
27
  }
28
- function h(a, e, t = 10, r = "#ba1919", s, T = !1) {
28
+ function h(a, e, i = 10, r = "#ba1919", s, T = !1) {
29
29
  const W = {
30
30
  show: !0,
31
31
  positions: a,
32
32
  clampToGround: T,
33
- width: t,
33
+ width: i,
34
34
  material: n.Color.fromCssColorString(r),
35
35
  arcType: n.ArcType.NONE,
36
36
  shadows: n.ShadowMode.DISABLED,
@@ -57,7 +57,7 @@ function h(a, e, t = 10, r = "#ba1919", s, T = !1) {
57
57
  polyline: W
58
58
  };
59
59
  }
60
- function Cs(a, e, t, r, s = new n.HeadingPitchRoll(0, 0, 0), T = 1, W) {
60
+ function Cs(a, e, i, r, s = new n.HeadingPitchRoll(0, 0, 0), T = 1, W) {
61
61
  const L = {
62
62
  show: !0,
63
63
  uri: r,
@@ -76,7 +76,7 @@ function Cs(a, e, t, r, s = new n.HeadingPitchRoll(0, 0, 0), T = 1, W) {
76
76
  W[1]
77
77
  ) : L.distanceDisplayCondition = W), {
78
78
  id: a,
79
- name: t,
79
+ name: i,
80
80
  position: e,
81
81
  orientation: n.Transforms.headingPitchRollQuaternion(
82
82
  e,
@@ -85,7 +85,7 @@ function Cs(a, e, t, r, s = new n.HeadingPitchRoll(0, 0, 0), T = 1, W) {
85
85
  model: L
86
86
  };
87
87
  }
88
- function os(a, e, t, r = {}) {
88
+ function os(a, e, i, r = {}) {
89
89
  const {
90
90
  pointColor: s = J.YELLOW,
91
91
  pointSize: T = 12,
@@ -104,7 +104,7 @@ function os(a, e, t, r = {}) {
104
104
  // 显示距离范围
105
105
  },
106
106
  label: {
107
- text: t,
107
+ text: i,
108
108
  font: `${L}px sans-serif`,
109
109
  fillColor: W,
110
110
  pixelOffset: new n.Cartesian2(...A),
@@ -134,13 +134,13 @@ var N = 63710088e-1, Bs = {
134
134
  radians: 1,
135
135
  yards: N * 1.0936
136
136
  };
137
- function ts(a, e, t) {
138
- t === void 0 && (t = {});
137
+ function is(a, e, i) {
138
+ i === void 0 && (i = {});
139
139
  var r = { type: "Feature" };
140
- return (t.id === 0 || t.id) && (r.id = t.id), t.bbox && (r.bbox = t.bbox), r.properties = e || {}, r.geometry = a, r;
140
+ return (i.id === 0 || i.id) && (r.id = i.id), i.bbox && (r.bbox = i.bbox), r.properties = e || {}, r.geometry = a, r;
141
141
  }
142
- function U(a, e, t) {
143
- if (t === void 0 && (t = {}), !a)
142
+ function U(a, e, i) {
143
+ if (i === void 0 && (i = {}), !a)
144
144
  throw new Error("coordinates is required");
145
145
  if (!Array.isArray(a))
146
146
  throw new Error("coordinates must be an Array");
@@ -152,35 +152,35 @@ function U(a, e, t) {
152
152
  type: "Point",
153
153
  coordinates: a
154
154
  };
155
- return ts(r, e, t);
155
+ return is(r, e, i);
156
156
  }
157
- function K(a, e, t) {
158
- if (t === void 0 && (t = {}), a.length < 2)
157
+ function K(a, e, i) {
158
+ if (i === void 0 && (i = {}), a.length < 2)
159
159
  throw new Error("coordinates must be an array of two or more positions");
160
160
  var r = {
161
161
  type: "LineString",
162
162
  coordinates: a
163
163
  };
164
- return ts(r, e, t);
164
+ return is(r, e, i);
165
165
  }
166
166
  function Xs(a, e) {
167
167
  e === void 0 && (e = {});
168
- var t = { type: "FeatureCollection" };
169
- return e.id && (t.id = e.id), e.bbox && (t.bbox = e.bbox), t.features = a, t;
168
+ var i = { type: "FeatureCollection" };
169
+ return e.id && (i.id = e.id), e.bbox && (i.bbox = e.bbox), i.features = a, i;
170
170
  }
171
171
  function Ps(a, e) {
172
172
  e === void 0 && (e = "kilometers");
173
- var t = Bs[e];
174
- if (!t)
173
+ var i = Bs[e];
174
+ if (!i)
175
175
  throw new Error(e + " units is invalid");
176
- return a * t;
176
+ return a * i;
177
177
  }
178
178
  function ys(a, e) {
179
179
  e === void 0 && (e = "kilometers");
180
- var t = Bs[e];
181
- if (!t)
180
+ var i = Bs[e];
181
+ if (!i)
182
182
  throw new Error(e + " units is invalid");
183
- return a / t;
183
+ return a / i;
184
184
  }
185
185
  function ls(a) {
186
186
  var e = a % (2 * Math.PI);
@@ -190,10 +190,10 @@ function q(a) {
190
190
  var e = a % 360;
191
191
  return e * Math.PI / 180;
192
192
  }
193
- function gs(a, e, t) {
194
- if (e === void 0 && (e = "kilometers"), t === void 0 && (t = "kilometers"), !(a >= 0))
193
+ function gs(a, e, i) {
194
+ if (e === void 0 && (e = "kilometers"), i === void 0 && (i = "kilometers"), !(a >= 0))
195
195
  throw new Error("length must be a positive number");
196
- return Ps(ys(a, e), t);
196
+ return Ps(ys(a, e), i);
197
197
  }
198
198
  function As(a) {
199
199
  return !isNaN(a) && a !== null && !Array.isArray(a);
@@ -201,16 +201,16 @@ function As(a) {
201
201
  function Ys(a) {
202
202
  return !!a && a.constructor === Object;
203
203
  }
204
- function ms(a, e, t) {
204
+ function ms(a, e, i) {
205
205
  if (a !== null)
206
- for (var r, s, T, W, L, A, d, i = 0, l = 0, u, C = a.type, o = C === "FeatureCollection", c = C === "Feature", m = o ? a.features.length : 1, b = 0; b < m; b++) {
206
+ for (var r, s, T, W, L, A, d, t = 0, l = 0, u, C = a.type, o = C === "FeatureCollection", c = C === "Feature", m = o ? a.features.length : 1, b = 0; b < m; b++) {
207
207
  d = o ? a.features[b].geometry : c ? a.geometry : a, u = d ? d.type === "GeometryCollection" : !1, L = u ? d.geometries.length : 1;
208
208
  for (var I = 0; I < L; I++) {
209
209
  var P = 0, g = 0;
210
210
  if (W = u ? d.geometries[I] : d, W !== null) {
211
211
  A = W.coordinates;
212
212
  var y = W.type;
213
- switch (i = 0, y) {
213
+ switch (t = 0, y) {
214
214
  case null:
215
215
  break;
216
216
  case "Point":
@@ -242,7 +242,7 @@ function ms(a, e, t) {
242
242
  case "Polygon":
243
243
  case "MultiLineString":
244
244
  for (r = 0; r < A.length; r++) {
245
- for (s = 0; s < A[r].length - i; s++) {
245
+ for (s = 0; s < A[r].length - t; s++) {
246
246
  if (e(
247
247
  A[r][s],
248
248
  l,
@@ -260,7 +260,7 @@ function ms(a, e, t) {
260
260
  case "MultiPolygon":
261
261
  for (r = 0; r < A.length; r++) {
262
262
  for (g = 0, s = 0; s < A[r].length; s++) {
263
- for (T = 0; T < A[r][s].length - i; T++) {
263
+ for (T = 0; T < A[r][s].length - t; T++) {
264
264
  if (e(
265
265
  A[r][s][T],
266
266
  l,
@@ -288,23 +288,23 @@ function ms(a, e, t) {
288
288
  }
289
289
  }
290
290
  }
291
- function Fs(a, e) {
291
+ function Ds(a, e) {
292
292
  if (a.type === "Feature")
293
293
  e(a, 0);
294
294
  else if (a.type === "FeatureCollection")
295
- for (var t = 0; t < a.features.length && e(a.features[t], t) !== !1; t++)
295
+ for (var i = 0; i < a.features.length && e(a.features[i], i) !== !1; i++)
296
296
  ;
297
297
  }
298
- function Ds(a, e) {
299
- var t, r, s, T, W, L, A, d, i, l, u = 0, C = a.type === "FeatureCollection", o = a.type === "Feature", c = C ? a.features.length : 1;
300
- for (t = 0; t < c; t++) {
301
- for (L = C ? a.features[t].geometry : o ? a.geometry : a, d = C ? a.features[t].properties : o ? a.properties : {}, i = C ? a.features[t].bbox : o ? a.bbox : void 0, l = C ? a.features[t].id : o ? a.id : void 0, A = L ? L.type === "GeometryCollection" : !1, W = A ? L.geometries.length : 1, s = 0; s < W; s++) {
298
+ function Fs(a, e) {
299
+ var i, r, s, T, W, L, A, d, t, l, u = 0, C = a.type === "FeatureCollection", o = a.type === "Feature", c = C ? a.features.length : 1;
300
+ for (i = 0; i < c; i++) {
301
+ for (L = C ? a.features[i].geometry : o ? a.geometry : a, d = C ? a.features[i].properties : o ? a.properties : {}, t = C ? a.features[i].bbox : o ? a.bbox : void 0, l = C ? a.features[i].id : o ? a.id : void 0, A = L ? L.type === "GeometryCollection" : !1, W = A ? L.geometries.length : 1, s = 0; s < W; s++) {
302
302
  if (T = A ? L.geometries[s] : L, T === null) {
303
303
  if (e(
304
304
  null,
305
305
  u,
306
306
  d,
307
- i,
307
+ t,
308
308
  l
309
309
  ) === !1)
310
310
  return !1;
@@ -321,7 +321,7 @@ function Ds(a, e) {
321
321
  T,
322
322
  u,
323
323
  d,
324
- i,
324
+ t,
325
325
  l
326
326
  ) === !1)
327
327
  return !1;
@@ -333,7 +333,7 @@ function Ds(a, e) {
333
333
  T.geometries[r],
334
334
  u,
335
335
  d,
336
- i,
336
+ t,
337
337
  l
338
338
  ) === !1)
339
339
  return !1;
@@ -347,15 +347,15 @@ function Ds(a, e) {
347
347
  }
348
348
  }
349
349
  function Hs(a, e) {
350
- Ds(a, function(t, r, s, T, W) {
351
- var L = t === null ? null : t.type;
350
+ Fs(a, function(i, r, s, T, W) {
351
+ var L = i === null ? null : i.type;
352
352
  switch (L) {
353
353
  case null:
354
354
  case "Point":
355
355
  case "LineString":
356
356
  case "Polygon":
357
357
  return e(
358
- ts(t, s, { bbox: T, id: W }),
358
+ is(i, s, { bbox: T, id: W }),
359
359
  r,
360
360
  0
361
361
  ) === !1 ? !1 : void 0;
@@ -372,33 +372,33 @@ function Hs(a, e) {
372
372
  A = "Polygon";
373
373
  break;
374
374
  }
375
- for (var d = 0; d < t.coordinates.length; d++) {
376
- var i = t.coordinates[d], l = {
375
+ for (var d = 0; d < i.coordinates.length; d++) {
376
+ var t = i.coordinates[d], l = {
377
377
  type: A,
378
- coordinates: i
378
+ coordinates: t
379
379
  };
380
- if (e(ts(l, s), r, d) === !1)
380
+ if (e(is(l, s), r, d) === !1)
381
381
  return !1;
382
382
  }
383
383
  });
384
384
  }
385
385
  function Os(a, e) {
386
- Hs(a, function(t, r, s) {
386
+ Hs(a, function(i, r, s) {
387
387
  var T = 0;
388
- if (t.geometry) {
389
- var W = t.geometry.type;
388
+ if (i.geometry) {
389
+ var W = i.geometry.type;
390
390
  if (!(W === "Point" || W === "MultiPoint")) {
391
- var L, A = 0, d = 0, i = 0;
391
+ var L, A = 0, d = 0, t = 0;
392
392
  if (ms(
393
- t,
393
+ i,
394
394
  function(l, u, C, o, c) {
395
- if (L === void 0 || r > A || o > d || c > i) {
396
- L = l, A = r, d = o, i = c, T = 0;
395
+ if (L === void 0 || r > A || o > d || c > t) {
396
+ L = l, A = r, d = o, t = c, T = 0;
397
397
  return;
398
398
  }
399
399
  var m = K(
400
400
  [L, l],
401
- t.properties
401
+ i.properties
402
402
  );
403
403
  if (e(
404
404
  m,
@@ -429,21 +429,21 @@ function x(a) {
429
429
  return a;
430
430
  throw new Error("coord must be GeoJSON Point or an Array of numbers");
431
431
  }
432
- function ps(a, e, t) {
432
+ function ps(a, e, i) {
433
433
  if (!a)
434
434
  throw new Error("No feature passed");
435
- if (!t)
435
+ if (!i)
436
436
  throw new Error(".featureOf() requires a name");
437
437
  if (!a || a.type !== "Feature" || !a.geometry)
438
- throw new Error("Invalid input to " + t + ", Feature with geometry required");
438
+ throw new Error("Invalid input to " + i + ", Feature with geometry required");
439
439
  if (!a.geometry || a.geometry.type !== e)
440
- throw new Error("Invalid input to " + t + ": must be a " + e + ", given " + a.geometry.type);
440
+ throw new Error("Invalid input to " + i + ": must be a " + e + ", given " + a.geometry.type);
441
441
  }
442
- var is = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
443
- function ss(a, e, t) {
444
- t === void 0 && (t = {});
442
+ var ts = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
443
+ function ss(a, e, i) {
444
+ i === void 0 && (i = {});
445
445
  var r = x(a), s = x(e), T = q(s[1] - r[1]), W = q(s[0] - r[0]), L = q(r[1]), A = q(s[1]), d = Math.pow(Math.sin(T / 2), 2) + Math.pow(Math.sin(W / 2), 2) * Math.cos(L) * Math.cos(A);
446
- return Ps(2 * Math.atan2(Math.sqrt(d), Math.sqrt(1 - d)), t.units);
446
+ return Ps(2 * Math.atan2(Math.sqrt(d), Math.sqrt(1 - d)), i.units);
447
447
  }
448
448
  function $s(a) {
449
449
  if (!a)
@@ -467,69 +467,69 @@ function $s(a) {
467
467
  }
468
468
  function bs(a) {
469
469
  var e = { type: "Feature" };
470
- return Object.keys(a).forEach(function(t) {
471
- switch (t) {
470
+ return Object.keys(a).forEach(function(i) {
471
+ switch (i) {
472
472
  case "type":
473
473
  case "properties":
474
474
  case "geometry":
475
475
  return;
476
476
  default:
477
- e[t] = a[t];
477
+ e[i] = a[i];
478
478
  }
479
- }), e.properties = _s(a.properties), e.geometry = Ts(a.geometry), e;
479
+ }), e.properties = vs(a.properties), e.geometry = Ts(a.geometry), e;
480
480
  }
481
- function _s(a) {
481
+ function vs(a) {
482
482
  var e = {};
483
- return a && Object.keys(a).forEach(function(t) {
484
- var r = a[t];
485
- typeof r == "object" ? r === null ? e[t] = null : Array.isArray(r) ? e[t] = r.map(function(s) {
483
+ return a && Object.keys(a).forEach(function(i) {
484
+ var r = a[i];
485
+ typeof r == "object" ? r === null ? e[i] = null : Array.isArray(r) ? e[i] = r.map(function(s) {
486
486
  return s;
487
- }) : e[t] = _s(r) : e[t] = r;
487
+ }) : e[i] = vs(r) : e[i] = r;
488
488
  }), e;
489
489
  }
490
490
  function Ns(a) {
491
491
  var e = { type: "FeatureCollection" };
492
- return Object.keys(a).forEach(function(t) {
493
- switch (t) {
492
+ return Object.keys(a).forEach(function(i) {
493
+ switch (i) {
494
494
  case "type":
495
495
  case "features":
496
496
  return;
497
497
  default:
498
- e[t] = a[t];
498
+ e[i] = a[i];
499
499
  }
500
- }), e.features = a.features.map(function(t) {
501
- return bs(t);
500
+ }), e.features = a.features.map(function(i) {
501
+ return bs(i);
502
502
  }), e;
503
503
  }
504
504
  function Ts(a) {
505
505
  var e = { type: a.type };
506
- return a.bbox && (e.bbox = a.bbox), a.type === "GeometryCollection" ? (e.geometries = a.geometries.map(function(t) {
507
- return Ts(t);
508
- }), e) : (e.coordinates = vs(a.coordinates), e);
506
+ return a.bbox && (e.bbox = a.bbox), a.type === "GeometryCollection" ? (e.geometries = a.geometries.map(function(i) {
507
+ return Ts(i);
508
+ }), e) : (e.coordinates = _s(a.coordinates), e);
509
509
  }
510
- function vs(a) {
510
+ function _s(a) {
511
511
  var e = a;
512
- return typeof e[0] != "object" ? e.slice() : e.map(function(t) {
513
- return vs(t);
512
+ return typeof e[0] != "object" ? e.slice() : e.map(function(i) {
513
+ return _s(i);
514
514
  });
515
515
  }
516
- function us(a, e, t, r) {
516
+ function us(a, e, i, r) {
517
517
  r === void 0 && (r = {});
518
- var s = x(a), T = q(s[0]), W = q(s[1]), L = q(t), A = ys(e, r.units), d = Math.asin(Math.sin(W) * Math.cos(A) + Math.cos(W) * Math.sin(A) * Math.cos(L)), i = T + Math.atan2(Math.sin(L) * Math.sin(A) * Math.cos(W), Math.cos(A) - Math.sin(W) * Math.sin(d)), l = ls(i), u = ls(d);
518
+ var s = x(a), T = q(s[0]), W = q(s[1]), L = q(i), A = ys(e, r.units), d = Math.asin(Math.sin(W) * Math.cos(A) + Math.cos(W) * Math.sin(A) * Math.cos(L)), t = T + Math.atan2(Math.sin(L) * Math.sin(A) * Math.cos(W), Math.cos(A) - Math.sin(W) * Math.sin(d)), l = ls(t), u = ls(d);
519
519
  return U([l, u], r.properties);
520
520
  }
521
- function fs(a, e, t) {
522
- if (t === void 0 && (t = {}), t.final === !0)
521
+ function fs(a, e, i) {
522
+ if (i === void 0 && (i = {}), i.final === !0)
523
523
  return Gs(a, e);
524
- var r = x(a), s = x(e), T = q(r[0]), W = q(s[0]), L = q(r[1]), A = q(s[1]), d = Math.sin(W - T) * Math.cos(A), i = Math.cos(L) * Math.sin(A) - Math.sin(L) * Math.cos(A) * Math.cos(W - T);
525
- return ls(Math.atan2(d, i));
524
+ var r = x(a), s = x(e), T = q(r[0]), W = q(s[0]), L = q(r[1]), A = q(s[1]), d = Math.sin(W - T) * Math.cos(A), t = Math.cos(L) * Math.sin(A) - Math.sin(L) * Math.cos(A) * Math.cos(W - T);
525
+ return ls(Math.atan2(d, t));
526
526
  }
527
527
  function Gs(a, e) {
528
- var t = fs(e, a);
529
- return t = (t + 180) % 360, t;
528
+ var i = fs(e, a);
529
+ return i = (i + 180) % 360, i;
530
530
  }
531
531
  function zs(a, e) {
532
- var t = ss(a, e), r = fs(a, e), s = us(a, t / 2, r);
532
+ var i = ss(a, e), r = fs(a, e), s = us(a, i / 2, r);
533
533
  return s;
534
534
  }
535
535
  function Vs(a, e) {
@@ -537,68 +537,68 @@ function Vs(a, e) {
537
537
  throw new Error("targetPoint is required");
538
538
  if (!e)
539
539
  throw new Error("points is required");
540
- var t, r = 1 / 0, s = 0;
541
- return Fs(e, function(T, W) {
540
+ var i, r = 1 / 0, s = 0;
541
+ return Ds(e, function(T, W) {
542
542
  var L = ss(a, T);
543
543
  L < r && (s = W, r = L);
544
- }), t = $s(e.features[s]), t.properties.featureIndex = s, t.properties.distanceToPoint = r, t;
544
+ }), i = $s(e.features[s]), i.properties.featureIndex = s, i.properties.distanceToPoint = r, i;
545
545
  }
546
- function qs(a, e, t) {
547
- t === void 0 && (t = {});
546
+ function qs(a, e, i) {
547
+ i === void 0 && (i = {});
548
548
  var r = x(a), s = x(e);
549
549
  s[0] += s[0] - r[0] > 180 ? -360 : r[0] - s[0] > 180 ? 360 : 0;
550
- var T = Ks(r, s), W = gs(T, "meters", t.units);
550
+ var T = Ks(r, s), W = gs(T, "meters", i.units);
551
551
  return W;
552
552
  }
553
- function Ks(a, e, t) {
554
- t = t === void 0 ? N : Number(t);
555
- var r = t, s = a[1] * Math.PI / 180, T = e[1] * Math.PI / 180, W = T - s, L = Math.abs(e[0] - a[0]) * Math.PI / 180;
553
+ function Ks(a, e, i) {
554
+ i = i === void 0 ? N : Number(i);
555
+ var r = i, s = a[1] * Math.PI / 180, T = e[1] * Math.PI / 180, W = T - s, L = Math.abs(e[0] - a[0]) * Math.PI / 180;
556
556
  L > Math.PI && (L -= 2 * Math.PI);
557
- var A = Math.log(Math.tan(T / 2 + Math.PI / 4) / Math.tan(s / 2 + Math.PI / 4)), d = Math.abs(A) > 1e-11 ? W / A : Math.cos(s), i = Math.sqrt(W * W + d * d * L * L), l = i * r;
557
+ var A = Math.log(Math.tan(T / 2 + Math.PI / 4) / Math.tan(s / 2 + Math.PI / 4)), d = Math.abs(A) > 1e-11 ? W / A : Math.cos(s), t = Math.sqrt(W * W + d * d * L * L), l = t * r;
558
558
  return l;
559
559
  }
560
- function ns(a, e, t) {
561
- if (t === void 0 && (t = {}), t.method || (t.method = "geodesic"), t.units || (t.units = "kilometers"), !a)
560
+ function ns(a, e, i) {
561
+ if (i === void 0 && (i = {}), i.method || (i.method = "geodesic"), i.units || (i.units = "kilometers"), !a)
562
562
  throw new Error("pt is required");
563
- if (Array.isArray(a) ? a = U(a) : a.type === "Point" ? a = ts(a) : ps(a, "Point", "point"), !e)
563
+ if (Array.isArray(a) ? a = U(a) : a.type === "Point" ? a = is(a) : ps(a, "Point", "point"), !e)
564
564
  throw new Error("line is required");
565
- Array.isArray(e) ? e = K(e) : e.type === "LineString" ? e = ts(e) : ps(e, "LineString", "line");
565
+ Array.isArray(e) ? e = K(e) : e.type === "LineString" ? e = is(e) : ps(e, "LineString", "line");
566
566
  var r = 1 / 0, s = a.geometry.coordinates;
567
567
  return Os(e, function(T) {
568
- var W = T.geometry.coordinates[0], L = T.geometry.coordinates[1], A = Js(s, W, L, t);
568
+ var W = T.geometry.coordinates[0], L = T.geometry.coordinates[1], A = Js(s, W, L, i);
569
569
  A < r && (r = A);
570
- }), gs(r, "degrees", t.units);
570
+ }), gs(r, "degrees", i.units);
571
571
  }
572
- function Js(a, e, t, r) {
573
- var s = [t[0] - e[0], t[1] - e[1]], T = [a[0] - e[0], a[1] - e[1]], W = Ls(T, s);
572
+ function Js(a, e, i, r) {
573
+ var s = [i[0] - e[0], i[1] - e[1]], T = [a[0] - e[0], a[1] - e[1]], W = Ls(T, s);
574
574
  if (W <= 0)
575
575
  return as(a, e, { method: r.method, units: "degrees" });
576
576
  var L = Ls(s, s);
577
577
  if (L <= W)
578
- return as(a, t, { method: r.method, units: "degrees" });
578
+ return as(a, i, { method: r.method, units: "degrees" });
579
579
  var A = W / L, d = [e[0] + A * s[0], e[1] + A * s[1]];
580
580
  return as(a, d, { method: r.method, units: "degrees" });
581
581
  }
582
582
  function Ls(a, e) {
583
583
  return a[0] * e[0] + a[1] * e[1];
584
584
  }
585
- function as(a, e, t) {
586
- return t.method === "planar" ? qs(a, e, t) : ss(a, e, t);
585
+ function as(a, e, i) {
586
+ return i.method === "planar" ? qs(a, e, i) : ss(a, e, i);
587
587
  }
588
- function Us(a, e, t, r) {
588
+ function Us(a, e, i, r) {
589
589
  if (r = r || {}, !Ys(r)) throw new Error("options is invalid");
590
590
  var s, T = [];
591
591
  if (a.type === "Feature") s = a.geometry.coordinates;
592
592
  else if (a.type === "LineString") s = a.coordinates;
593
593
  else throw new Error("input must be a LineString Feature or Geometry");
594
- for (var W = s.length, L = 0, A, d, i, l = 0; l < s.length && !(e >= L && l === s.length - 1); l++) {
594
+ for (var W = s.length, L = 0, A, d, t, l = 0; l < s.length && !(e >= L && l === s.length - 1); l++) {
595
595
  if (L > e && T.length === 0) {
596
596
  if (A = e - L, !A)
597
597
  return T.push(s[l]), K(T);
598
- d = fs(s[l], s[l - 1]) - 180, i = us(s[l], A, d, r), T.push(i.geometry.coordinates);
598
+ d = fs(s[l], s[l - 1]) - 180, t = us(s[l], A, d, r), T.push(t.geometry.coordinates);
599
599
  }
600
- if (L >= t)
601
- return A = t - L, A ? (d = fs(s[l], s[l - 1]) - 180, i = us(s[l], A, d, r), T.push(i.geometry.coordinates), K(T)) : (T.push(s[l]), K(T));
600
+ if (L >= i)
601
+ return A = i - L, A ? (d = fs(s[l], s[l - 1]) - 180, t = us(s[l], A, d, r), T.push(t.geometry.coordinates), K(T)) : (T.push(s[l]), K(T));
602
602
  if (L >= e && T.push(s[l]), l === s.length - 1)
603
603
  return K(T);
604
604
  L += ss(s[l], s[l + 1], r);
@@ -609,12 +609,12 @@ function Us(a, e, t, r) {
609
609
  return K([u, u]);
610
610
  }
611
611
  const j = { units: "kilometers" };
612
- function Qs(a, e, t, r) {
613
- var { nearestDistance: s } = rs(a, e), { nearestDistance: T } = rs(a, r), { nearestDistance: W } = rs(a, t);
612
+ function Qs(a, e, i, r) {
613
+ var { nearestDistance: s } = rs(a, e), { nearestDistance: T } = rs(a, r), { nearestDistance: W } = rs(a, i);
614
614
  const L = Math.min(s, W, T);
615
- return L === s ? e : L === W ? t : r;
615
+ return L === s ? e : L === W ? i : r;
616
616
  }
617
- const js = (a, e, t) => {
617
+ const js = (a, e, i) => {
618
618
  debugger;
619
619
  const r = U(a.slice(0, 2)), { nearestCoord: s } = rs(a, e), T = e.findIndex(
620
620
  (k) => k[0] == s[0] && k[1] == s[1]
@@ -630,14 +630,14 @@ const js = (a, e, t) => {
630
630
  W = L > A ? X : k;
631
631
  }
632
632
  console.log("附近的点", T, W);
633
- const d = K([W[0].slice(0, 2), W[1].slice(0, 2)]), i = U(W[0].slice(0, 2)), l = U(W[1].slice(0, 2));
634
- var u = ns(r, d, j), C = ss(r, i, j) || 0, o = Math.sqrt(C * C - u * u) || 0;
633
+ const d = K([W[0].slice(0, 2), W[1].slice(0, 2)]), t = U(W[0].slice(0, 2)), l = U(W[1].slice(0, 2));
634
+ var u = ns(r, d, j), C = ss(r, t, j) || 0, o = Math.sqrt(C * C - u * u) || 0;
635
635
  let c = W[0].slice(0, 2);
636
636
  o > 0 && (c = Us(d, 0, o, j).geometry.coordinates[1]);
637
- const m = ss(i, l, j), b = Math.abs(W[0][2] - W[1][2]), I = Math.min(W[0][2], W[1][2]), P = Math.max(W[0][2], W[1][2]), g = W[0][2] > W[1][2] ? P - o / m * b : o / m * b + I;
637
+ const m = ss(t, l, j), b = Math.abs(W[0][2] - W[1][2]), I = Math.min(W[0][2], W[1][2]), P = Math.max(W[0][2], W[1][2]), g = W[0][2] > W[1][2] ? P - o / m * b : o / m * b + I;
638
638
  console.log("高度差>>>>", b), console.log("最小高度>>>>", I);
639
- const y = g - a[2], _ = u * 1e3, v = Math.sqrt(_ * _ + y * y);
640
- console.log("水平距离>>>>", _), console.log("竖直距离>>>>", y), console.log("直线距离>>>>", v);
639
+ const y = g - a[2], v = u * 1e3, _ = Math.sqrt(v * v + y * y);
640
+ console.log("水平距离>>>>", v), console.log("竖直距离>>>>", y), console.log("直线距离>>>>", _);
641
641
  const S = n.Cartesian3.fromDegrees(
642
642
  a[0],
643
643
  a[1],
@@ -655,7 +655,7 @@ const js = (a, e, t) => {
655
655
  ),
656
656
  name: "直线距离",
657
657
  label: {
658
- text: `直线距离${v.toFixed(1)}米`,
658
+ text: `直线距离${_.toFixed(1)}米`,
659
659
  fillColor: n.Color.fromCssColorString("#eff819"),
660
660
  font: "12px sans-serif",
661
661
  pixelOffset: new n.Cartesian2(0, 0),
@@ -664,7 +664,7 @@ const js = (a, e, t) => {
664
664
  }
665
665
  }, Z = [];
666
666
  Z.push(S), Z.push(M);
667
- var F = {
667
+ var D = {
668
668
  polyline: {
669
669
  show: !0,
670
670
  // 定义线条的 Cartesian3 位置的数组
@@ -692,26 +692,26 @@ const js = (a, e, t) => {
692
692
  // zIndex: 0,
693
693
  }
694
694
  };
695
- t.add(Y), t.add(F);
695
+ i.add(Y), i.add(D);
696
696
  };
697
697
  function rs(a, e) {
698
- const t = U(a.slice(0, 2)), r = [];
698
+ const i = U(a.slice(0, 2)), r = [];
699
699
  e.forEach((L) => {
700
700
  r.push(U([L[0], L[1]]));
701
701
  });
702
702
  const s = Xs(
703
703
  r
704
- ), T = Vs(t, s), W = ss(t, T, j);
704
+ ), T = Vs(i, s), W = ss(i, T, j);
705
705
  return {
706
706
  nearestCoord: T.geometry.coordinates,
707
707
  nearestDistance: W
708
708
  };
709
709
  }
710
- function B(a, e, t, r, s) {
711
- t || (t = new n.HeadingPitchRoll());
710
+ function B(a, e, i, r, s) {
711
+ i || (i = new n.HeadingPitchRoll());
712
712
  const T = n.Transforms.headingPitchRollQuaternion(
713
713
  a,
714
- t,
714
+ i,
715
715
  r,
716
716
  s
717
717
  ), W = n.Matrix4.fromRotationTranslation(
@@ -726,26 +726,26 @@ function B(a, e, t, r, s) {
726
726
  );
727
727
  }
728
728
  function z(a, e) {
729
- var t = a.cartesianToCartographic(e), r = n.Math.toDegrees(t.latitude), s = n.Math.toDegrees(t.longitude), T = t.height;
729
+ var i = a.cartesianToCartographic(e), r = n.Math.toDegrees(i.latitude), s = n.Math.toDegrees(i.longitude), T = i.height;
730
730
  return [s, r, T];
731
731
  }
732
- function Q(a, e, t, r) {
733
- const s = e * Math.PI / 180, T = a * Math.PI / 180, W = r * Math.PI / 180, L = t * Math.PI / 180, A = Math.sin(L - T) * Math.cos(W), d = Math.cos(s) * Math.sin(W) - Math.sin(s) * Math.cos(W) * Math.cos(L - T);
734
- let i = Math.atan2(A, d) * 180 / Math.PI;
735
- return i = (i + 360) % 360, i;
732
+ function Q(a, e, i, r) {
733
+ const s = e * Math.PI / 180, T = a * Math.PI / 180, W = r * Math.PI / 180, L = i * Math.PI / 180, A = Math.sin(L - T) * Math.cos(W), d = Math.cos(s) * Math.sin(W) - Math.sin(s) * Math.cos(W) * Math.cos(L - T);
734
+ let t = Math.atan2(A, d) * 180 / Math.PI;
735
+ return t = (t + 360) % 360, t;
736
736
  }
737
737
  function f(a, e = 6) {
738
- const t = [];
738
+ const i = [];
739
739
  for (var r = 0; r < a.length - 1; r++)
740
- t.push(
740
+ i.push(
741
741
  ...xs(a[r], a[r + 1], e * -1e3, 100)
742
742
  );
743
- return t;
743
+ return i;
744
744
  }
745
- function xs(a, e, t, r) {
746
- var s = [], T = n.Cartographic.fromCartesian(a), W = n.Cartographic.fromCartesian(e), L = T.longitude * 180 / Math.PI, A = T.latitude * 180 / Math.PI, d = W.longitude * 180 / Math.PI, i = W.latitude * 180 / Math.PI, l = Math.sqrt(
747
- (L - d) * (L - d) + (A - i) * (A - i)
748
- ), u = l * t, C = n.Cartesian3.clone(a), o = n.Cartesian3.clone(e), c = n.Cartesian3.distance(
745
+ function xs(a, e, i, r) {
746
+ var s = [], T = n.Cartographic.fromCartesian(a), W = n.Cartographic.fromCartesian(e), L = T.longitude * 180 / Math.PI, A = T.latitude * 180 / Math.PI, d = W.longitude * 180 / Math.PI, t = W.latitude * 180 / Math.PI, l = Math.sqrt(
747
+ (L - d) * (L - d) + (A - t) * (A - t)
748
+ ), u = l * i, C = n.Cartesian3.clone(a), o = n.Cartesian3.clone(e), c = n.Cartesian3.distance(
749
749
  C,
750
750
  n.Cartesian3.ZERO
751
751
  ), m = n.Cartesian3.distance(o, n.Cartesian3.ZERO);
@@ -754,16 +754,16 @@ function xs(a, e, t, r) {
754
754
  var b = n.Cartesian3.angleBetween(C, o);
755
755
  s.push(a);
756
756
  for (var I = 1; I < r - 1; I++) {
757
- var P = I * 1 / (r - 1), g = 1 - P, y = Math.sin(g * b) / Math.sin(b), _ = Math.sin(P * b) / Math.sin(b), v = n.Cartesian3.multiplyByScalar(
757
+ var P = I * 1 / (r - 1), g = 1 - P, y = Math.sin(g * b) / Math.sin(b), v = Math.sin(P * b) / Math.sin(b), _ = n.Cartesian3.multiplyByScalar(
758
758
  C,
759
759
  y,
760
760
  new n.Cartesian3()
761
761
  ), S = n.Cartesian3.multiplyByScalar(
762
762
  o,
763
- _,
763
+ v,
764
764
  new n.Cartesian3()
765
765
  ), M = n.Cartesian3.add(
766
- v,
766
+ _,
767
767
  S,
768
768
  new n.Cartesian3()
769
769
  ), R = P * Math.PI, E = c * g + m * P + Math.sin(R) * u;
@@ -775,7 +775,7 @@ function xs(a, e, t, r) {
775
775
  }
776
776
  return s.push(e), s;
777
777
  }
778
- function st(a, e, t = 30) {
778
+ function si(a, e, i = 30) {
779
779
  const r = a.length;
780
780
  if (r <= 2 || e === 0 || e === r - 1)
781
781
  return !1;
@@ -791,13 +791,13 @@ function st(a, e, t = 30) {
791
791
  a[e + 1].Longitude,
792
792
  a[e + 1].Latitude
793
793
  ) - s;
794
- return W > 180 && (W -= 360), W < -180 && (W += 360), Math.abs(W) >= t;
794
+ return W > 180 && (W -= 360), W < -180 && (W += 360), Math.abs(W) >= i;
795
795
  }
796
- function Ws(a, e, t = 2) {
796
+ function Ws(a, e, i = 2) {
797
797
  const r = a.length;
798
798
  if (r <= 1)
799
799
  return 0;
800
- if (st(a, e, 15))
800
+ if (si(a, e, 15))
801
801
  return e < r - 1 ? Q(
802
802
  a[e].Longitude,
803
803
  a[e].Latitude,
@@ -809,7 +809,7 @@ function Ws(a, e, t = 2) {
809
809
  a[e].Longitude,
810
810
  a[e].Latitude
811
811
  );
812
- let s = Math.max(0, e - t), T = Math.min(r - 1, e + t);
812
+ let s = Math.max(0, e - i), T = Math.min(r - 1, e + i);
813
813
  if (T - s < 1)
814
814
  return e === r - 1 ? Q(
815
815
  a[e - 1].Longitude,
@@ -823,32 +823,32 @@ function Ws(a, e, t = 2) {
823
823
  a[e + 1].Latitude
824
824
  );
825
825
  const W = [];
826
- for (let i = s; i < T; i++) {
826
+ for (let t = s; t < T; t++) {
827
827
  const l = Q(
828
- a[i].Longitude,
829
- a[i].Latitude,
830
- a[i + 1].Longitude,
831
- a[i + 1].Latitude
828
+ a[t].Longitude,
829
+ a[t].Latitude,
830
+ a[t + 1].Longitude,
831
+ a[t + 1].Latitude
832
832
  );
833
833
  W.push(l);
834
834
  }
835
835
  if (W.length === 1)
836
836
  return W[0];
837
837
  let L = 0, A = 0;
838
- for (const i of W) {
839
- const l = i * Math.PI / 180;
838
+ for (const t of W) {
839
+ const l = t * Math.PI / 180;
840
840
  L += Math.cos(l), A += Math.sin(l);
841
841
  }
842
842
  return (Math.atan2(A, L) * 180 / Math.PI + 360) % 360;
843
843
  }
844
- function tt(a, e) {
845
- const t = a * Math.PI / 180, r = e * Math.PI / 180, s = Math.cos(t), T = Math.sin(t), W = Math.cos(r), L = Math.sin(r), A = s + W, d = T + L;
844
+ function ii(a, e) {
845
+ const i = a * Math.PI / 180, r = e * Math.PI / 180, s = Math.cos(i), T = Math.sin(i), W = Math.cos(r), L = Math.sin(r), A = s + W, d = T + L;
846
846
  if (Math.abs(A) < 1e-10 && Math.abs(d) < 1e-10)
847
847
  return (a + 90) % 360;
848
- let i = Math.atan2(d, A) * 180 / Math.PI;
849
- return i = (i + 360) % 360, i;
848
+ let t = Math.atan2(d, A) * 180 / Math.PI;
849
+ return t = (t + 360) % 360, t;
850
850
  }
851
- class lt {
851
+ class li {
852
852
  constructor() {
853
853
  w(this, "LineID", "myEntity1");
854
854
  w(this, "Tag", "");
@@ -874,7 +874,7 @@ class lt {
874
874
  w(this, "LineDistanceDisplaymax", 5e3);
875
875
  }
876
876
  }
877
- class ut {
877
+ class ui {
878
878
  constructor() {
879
879
  w(this, "id", "");
880
880
  w(this, "modelid", "");
@@ -886,7 +886,7 @@ class ut {
886
886
  w(this, "treeScale", 1);
887
887
  }
888
888
  }
889
- class ct {
889
+ class ci {
890
890
  constructor() {
891
891
  // 杆塔id
892
892
  w(this, "id", "");
@@ -918,7 +918,7 @@ class ct {
918
918
  w(this, "DistanceDisplaymax", 1e3);
919
919
  }
920
920
  }
921
- class Tt {
921
+ class Ti {
922
922
  constructor() {
923
923
  // 绝缘子串id
924
924
  w(this, "id", "");
@@ -950,7 +950,7 @@ class Tt {
950
950
  w(this, "DistanceDisplaymax", 500);
951
951
  }
952
952
  }
953
- class Ct {
953
+ class Ci {
954
954
  constructor() {
955
955
  w(this, "name", "");
956
956
  w(this, "X", -45);
@@ -958,11 +958,11 @@ class Ct {
958
958
  w(this, "Z", 0);
959
959
  }
960
960
  }
961
- var G = /* @__PURE__ */ ((a) => (a[a.A相 = 0] = "A相", a[a.B相 = 1] = "B相", a[a.C相 = 2] = "C相", a[a.地线1 = 3] = "地线1", a[a.地线2 = 4] = "地线2", a))(G || {}), V = /* @__PURE__ */ ((a) => (a[a.直线塔 = 0] = "直线塔", a[a.耐张塔 = 1] = "耐张塔", a[a.门架塔 = 2] = "门架塔", a[a.换位塔 = 3] = "换位塔", a))(V || {}), it = /* @__PURE__ */ ((a) => (a[a.交流单回路 = 0] = "交流单回路", a[a.交流双回路 = 1] = "交流双回路", a[a.直流单回路 = 2] = "直流单回路", a[a.直流双回路 = 3] = "直流双回路", a[a.交流四回路 = 4] = "交流四回路", a))(it || {}), hs = /* @__PURE__ */ ((a) => (a[a.地线 = 0] = "地线", a[a.回路一 = 1] = "回路一", a[a.回路二 = 2] = "回路二", a[a.回路三 = 3] = "回路三", a[a.回路四 = 4] = "回路四", a))(hs || {}), D = /* @__PURE__ */ ((a) => (a[a.悬垂串 = 0] = "悬垂串", a[a.耐张串 = 1] = "耐张串", a[a.跳线串 = 2] = "跳线串", a[a.硬跳串 = 3] = "硬跳串", a[a.V串 = 4] = "V串", a[a.地线串 = 5] = "地线串", a[a.绕跳临时 = 6] = "绕跳临时", a))(D || {}), p = /* @__PURE__ */ ((a) => (a[a.单分裂 = 0] = "单分裂", a[a.双分裂 = 1] = "双分裂", a[a.四分裂 = 2] = "四分裂", a[a.六分裂 = 3] = "六分裂", a[a.八分裂 = 4] = "八分裂", a))(p || {});
961
+ var G = /* @__PURE__ */ ((a) => (a[a.A相 = 0] = "A相", a[a.B相 = 1] = "B相", a[a.C相 = 2] = "C相", a[a.地线1 = 3] = "地线1", a[a.地线2 = 4] = "地线2", a))(G || {}), V = /* @__PURE__ */ ((a) => (a[a.直线塔 = 0] = "直线塔", a[a.耐张塔 = 1] = "耐张塔", a[a.门架塔 = 2] = "门架塔", a[a.换位塔 = 3] = "换位塔", a))(V || {}), ti = /* @__PURE__ */ ((a) => (a[a.交流单回路 = 0] = "交流单回路", a[a.交流双回路 = 1] = "交流双回路", a[a.直流单回路 = 2] = "直流单回路", a[a.直流双回路 = 3] = "直流双回路", a[a.交流四回路 = 4] = "交流四回路", a))(ti || {}), hs = /* @__PURE__ */ ((a) => (a[a.地线 = 0] = "地线", a[a.回路一 = 1] = "回路一", a[a.回路二 = 2] = "回路二", a[a.回路三 = 3] = "回路三", a[a.回路四 = 4] = "回路四", a))(hs || {}), F = /* @__PURE__ */ ((a) => (a[a.悬垂串 = 0] = "悬垂串", a[a.耐张串 = 1] = "耐张串", a[a.跳线串 = 2] = "跳线串", a[a.硬跳串 = 3] = "硬跳串", a[a.V串 = 4] = "V串", a[a.地线串 = 5] = "地线串", a[a.绕跳临时 = 6] = "绕跳临时", a))(F || {}), p = /* @__PURE__ */ ((a) => (a[a.单分裂 = 0] = "单分裂", a[a.双分裂 = 1] = "双分裂", a[a.四分裂 = 2] = "四分裂", a[a.六分裂 = 3] = "六分裂", a[a.八分裂 = 4] = "八分裂", a))(p || {});
962
962
  const es = class es {
963
963
  // private arcLine1D2: Cesium.Cartesian3[]= [];
964
964
  // 类的构造函数,用于初始化属性
965
- constructor(e, t, r) {
965
+ constructor(e, i, r) {
966
966
  //三维场景
967
967
  w(this, "viewer");
968
968
  w(this, "LineInfo");
@@ -997,6 +997,10 @@ const es = class es {
997
997
  // 是否启用动态加载(默认启用以解决800km卡顿问题)
998
998
  w(this, "loadedTowerIndices", /* @__PURE__ */ new Set());
999
999
  // 已加载的塔索引
1000
+ w(this, "isTreeModelRemoved", !1);
1001
+ // 树木模型是否被移除
1002
+ w(this, "isLineModelRemoved", !1);
1003
+ // 线路模型是否被移除
1000
1004
  w(this, "cameraMoveHandler", null);
1001
1005
  // 相机移动监听器
1002
1006
  // 回路1单根导线1
@@ -1075,24 +1079,24 @@ const es = class es {
1075
1079
  w(this, "modelCache", /* @__PURE__ */ new Map());
1076
1080
  // 在类中添加私有属性来存储事件处理器和标记数据源
1077
1081
  w(this, "treeHandler", null);
1078
- this.Keym = r, this.viewer = e, this.LineInfo = t, this.dataSource2 = new n.CustomDataSource(this.LineInfo.LineID), this.entityCollection2 = this.dataSource2.entities, this.dataSourcetree = new n.CustomDataSource(this.LineInfo.LineID + "tree"), this.entityCollectiontree = this.dataSourcetree.entities, this.dataSourceplotting = new n.CustomDataSource("plotting"), this.entityCollectionplotting = this.dataSourceplotting.entities, this.LinedataSource2 = new n.CustomDataSource(this.LineInfo.LineID + "daoxian"), this.LineentityCollection2 = this.LinedataSource2.entities;
1082
+ this.Keym = r, this.viewer = e, this.LineInfo = i, this.dataSource2 = new n.CustomDataSource(this.LineInfo.LineID), this.entityCollection2 = this.dataSource2.entities, this.dataSourcetree = new n.CustomDataSource(this.LineInfo.LineID + "tree"), this.entityCollectiontree = this.dataSourcetree.entities, this.dataSourceplotting = new n.CustomDataSource("plotting"), this.entityCollectionplotting = this.dataSourceplotting.entities, this.LinedataSource2 = new n.CustomDataSource(this.LineInfo.LineID + "daoxian"), this.LineentityCollection2 = this.LinedataSource2.entities;
1079
1083
  }
1080
1084
  /**
1081
1085
  * 创建模型缓存键
1082
1086
  */
1083
- createModelCacheKey(e, t, r, s) {
1084
- return `${e}_${t}_${r}_${s}`;
1087
+ createModelCacheKey(e, i, r, s) {
1088
+ return `${e}_${i}_${r}_${s}`;
1085
1089
  }
1086
1090
  /**
1087
1091
  * 从缓存中获取或创建模型配置
1088
1092
  * 注意:距离参数会自动限制最大值以避免性能问题
1089
1093
  */
1090
- getCachedModelConfig(e, t, r, s) {
1091
- const T = Math.max(0, r), W = Math.min(s, 5e4), L = this.createModelCacheKey(e, t, T, W);
1094
+ getCachedModelConfig(e, i, r, s) {
1095
+ const T = Math.max(0, r), W = Math.min(s, 5e4), L = this.createModelCacheKey(e, i, T, W);
1092
1096
  if (!this.modelCache.has(L)) {
1093
1097
  const A = {
1094
1098
  uri: e,
1095
- scale: t,
1099
+ scale: i,
1096
1100
  distanceDisplayCondition: [T, W]
1097
1101
  };
1098
1102
  this.modelCache.set(L, A);
@@ -1102,7 +1106,7 @@ const es = class es {
1102
1106
  /**
1103
1107
  * 统一的模型添加方法,减少重复代码
1104
1108
  */
1105
- addModelToCollection(e, t, r, s, T, W, L) {
1109
+ addModelToCollection(e, i, r, s, T, W, L) {
1106
1110
  const A = this.getCachedModelConfig(
1107
1111
  s,
1108
1112
  W,
@@ -1112,7 +1116,7 @@ const es = class es {
1112
1116
  this.entityCollection2.add(
1113
1117
  Cs(
1114
1118
  e,
1115
- t,
1119
+ i,
1116
1120
  r,
1117
1121
  A.uri,
1118
1122
  T,
@@ -1170,13 +1174,13 @@ const es = class es {
1170
1174
  var A;
1171
1175
  if (!this.viewer.camera || this.offsetTowers.length === 0)
1172
1176
  return { start: 0, end: 0 };
1173
- const e = this.viewer.camera.position, t = ((A = this.viewer.camera.positionCartographic) == null ? void 0 : A.height) || 1e3;
1177
+ const e = this.viewer.camera.position, i = ((A = this.viewer.camera.positionCartographic) == null ? void 0 : A.height) || 1e3;
1174
1178
  let r = 5;
1175
- t > 5e4 ? r = 2 : t > 1e4 ? r = 3 : t > 5e3 ? r = 5 : r = 10;
1179
+ i > 5e4 ? r = 2 : i > 1e4 ? r = 3 : i > 5e3 ? r = 5 : r = 10;
1176
1180
  let s = 0, T = Number.MAX_VALUE;
1177
1181
  for (let d = 0; d < this.offsetTowers.length; d++) {
1178
- const i = n.Cartesian3.distance(e, this.offsetTowers[d]);
1179
- i < T && (T = i, s = d);
1182
+ const t = n.Cartesian3.distance(e, this.offsetTowers[d]);
1183
+ t < T && (T = t, s = d);
1180
1184
  }
1181
1185
  const W = Math.max(0, s - r), L = Math.min(this.offsetTowers.length - 1, s + r);
1182
1186
  return { start: W, end: L };
@@ -1185,8 +1189,8 @@ const es = class es {
1185
1189
  * 更新可见范围内的塔(加载新塔,可选择性卸载远处的塔)
1186
1190
  */
1187
1191
  updateVisibleTowers() {
1188
- const { start: e, end: t } = this.getVisibleTowerIndices();
1189
- this.loadTowersInRange(e, t), this.updateVisibleTrees();
1192
+ const { start: e, end: i } = this.getVisibleTowerIndices();
1193
+ this.isLineModelRemoved || this.loadTowersInRange(e, i), this.isTreeModelRemoved || this.updateVisibleTrees();
1190
1194
  }
1191
1195
  /**
1192
1196
  * 计算相机视野范围内的树木索引
@@ -1195,9 +1199,9 @@ const es = class es {
1195
1199
  var T;
1196
1200
  if (!this.viewer.camera || this.offsetTrees.length === 0)
1197
1201
  return [];
1198
- const e = this.viewer.camera.position, t = ((T = this.viewer.camera.positionCartographic) == null ? void 0 : T.height) || 1e3;
1199
- let r = Math.max(5e3, t * 2);
1200
- t > 5e4 && (r = 1e5);
1202
+ const e = this.viewer.camera.position, i = ((T = this.viewer.camera.positionCartographic) == null ? void 0 : T.height) || 1e3;
1203
+ let r = Math.max(5e3, i * 2);
1204
+ i > 5e4 && (r = 1e5);
1201
1205
  const s = [];
1202
1206
  for (let W = 0; W < this.offsetTrees.length; W++) {
1203
1207
  const L = this.offsetTrees[W];
@@ -1214,10 +1218,12 @@ const es = class es {
1214
1218
  * 更新可见的树木
1215
1219
  */
1216
1220
  updateVisibleTrees() {
1217
- const e = this.getVisibleTreeIndices(), t = [];
1221
+ if (this.isTreeModelRemoved)
1222
+ return;
1223
+ const e = this.getVisibleTreeIndices(), i = [];
1218
1224
  this.loadedTreeIndices.forEach((r) => {
1219
- e.includes(r) || t.push(r);
1220
- }), t.forEach((r) => {
1225
+ e.includes(r) || i.push(r);
1226
+ }), i.forEach((r) => {
1221
1227
  const s = "tree-" + this.LineInfo.Trees[r].id;
1222
1228
  this.entityCollectiontree.removeById(s), this.loadedTreeIndices.delete(r);
1223
1229
  }), e.forEach((r) => {
@@ -1235,8 +1241,6 @@ const es = class es {
1235
1241
  initializeLineData() {
1236
1242
  this.Keym == "OW_JPS_EEngin_001" && (this.LineInfo.towers.forEach((e) => {
1237
1243
  this.offsetTowers.push(n.Cartesian3.fromDegrees(e.Longitude, e.Latitude, e.Altitude));
1238
- }), this.LineInfo.Trees.forEach((e) => {
1239
- this.offsetTrees.push(n.Cartesian3.fromDegrees(e.lon, e.lat, e.alt));
1240
1244
  }), this.autoCalculateRollX && this.calculateTowerOrientations());
1241
1245
  }
1242
1246
  /**
@@ -1251,15 +1255,15 @@ const es = class es {
1251
1255
  this.LineInfo.towers[0].RollX === void 0 && (this.LineInfo.towers[0].RollX = 90);
1252
1256
  return;
1253
1257
  }
1254
- for (let t = 0; t < e; t++) {
1258
+ for (let i = 0; i < e; i++) {
1255
1259
  let r = 0;
1256
- if (this.LineInfo.towers[t].type === V.耐张塔)
1257
- if (t === 0)
1258
- r = (Ws(this.LineInfo.towers, t, 3) - 90 + 360) % 360;
1259
- else if (t === e - 1)
1260
- r = (Ws(this.LineInfo.towers, t, 3) - 90 + 360) % 360;
1260
+ if (this.LineInfo.towers[i].type === V.耐张塔)
1261
+ if (i === 0)
1262
+ r = (Ws(this.LineInfo.towers, i, 3) - 90 + 360) % 360;
1263
+ else if (i === e - 1)
1264
+ r = (Ws(this.LineInfo.towers, i, 3) - 90 + 360) % 360;
1261
1265
  else {
1262
- const s = this.LineInfo.towers[t - 1], T = this.LineInfo.towers[t], W = this.LineInfo.towers[t + 1], L = Q(
1266
+ const s = this.LineInfo.towers[i - 1], T = this.LineInfo.towers[i], W = this.LineInfo.towers[i + 1], L = Q(
1263
1267
  s.Longitude,
1264
1268
  s.Latitude,
1265
1269
  T.Longitude,
@@ -1270,21 +1274,21 @@ const es = class es {
1270
1274
  W.Longitude,
1271
1275
  W.Latitude
1272
1276
  );
1273
- r = (tt(L, A) - 90 + 360) % 360;
1277
+ r = (ii(L, A) - 90 + 360) % 360;
1274
1278
  }
1275
1279
  else
1276
- r = (Ws(this.LineInfo.towers, t, 2) - 90 + 360) % 360;
1277
- this.LineInfo.towers[t].RollX = r;
1280
+ r = (Ws(this.LineInfo.towers, i, 2) - 90 + 360) % 360;
1281
+ this.LineInfo.towers[i].RollX = r;
1278
1282
  }
1279
1283
  }
1280
1284
  }
1281
1285
  /**
1282
1286
  * 加载指定范围内的塔、绝缘子和相关导线(完整的动态加载实现)
1283
1287
  */
1284
- loadTowersInRange(e, t) {
1285
- if (e < 0 || t >= this.LineInfo.towers.length)
1288
+ loadTowersInRange(e, i) {
1289
+ if (e < 0 || i >= this.LineInfo.towers.length)
1286
1290
  return;
1287
- const r = Math.max(0, e - 1), s = Math.min(this.LineInfo.towers.length - 1, t + 1);
1291
+ const r = Math.max(0, e - 1), s = Math.min(this.LineInfo.towers.length - 1, i + 1);
1288
1292
  for (let T = r; T <= s; T++)
1289
1293
  this.loadedTowerIndices.has(T) || (this.loadTowerAndCollectWirePoints(T), this.loadedTowerIndices.add(T));
1290
1294
  for (let T = r; T < s; T++) {
@@ -1296,14 +1300,14 @@ const es = class es {
1296
1300
  * 加载单个塔和绝缘子,并收集导线挂点信息用于后续导线计算
1297
1301
  */
1298
1302
  loadTowerAndCollectWirePoints(e) {
1299
- const t = this.offsetTowers[e], r = new n.HeadingPitchRoll(
1303
+ const i = this.offsetTowers[e], r = new n.HeadingPitchRoll(
1300
1304
  n.Math.toRadians(this.LineInfo.towers[e].RollX),
1301
1305
  n.Math.toRadians(this.LineInfo.towers[e].RollY),
1302
1306
  n.Math.toRadians(this.LineInfo.towers[e].RollZ)
1303
1307
  );
1304
1308
  this.addModelToCollection(
1305
1309
  this.LineInfo.towers[e].id,
1306
- t,
1310
+ i,
1307
1311
  this.LineInfo.towers[e].name,
1308
1312
  this.LineInfo.towers[e].towerModelUri,
1309
1313
  r,
@@ -1315,7 +1319,7 @@ const es = class es {
1315
1319
  const L = [];
1316
1320
  this.LineInfo.towers[e].Insulators.forEach((A) => {
1317
1321
  const d = B(
1318
- t,
1322
+ i,
1319
1323
  new n.Cartesian3(
1320
1324
  this.LineInfo.towers[e].towerPoint[W].X,
1321
1325
  this.LineInfo.towers[e].towerPoint[W].Y,
@@ -1323,35 +1327,35 @@ const es = class es {
1323
1327
  ),
1324
1328
  this.LineInfo.towers[e].type === V.耐张塔 ? T : s
1325
1329
  );
1326
- let i, l;
1330
+ let t, l;
1327
1331
  if (this.autoCalculateRollX ? l = this.LineInfo.towers[e].RollX : l = A.RollX, this.LineInfo.towers[e].type === V.耐张塔)
1328
1332
  switch (A.type) {
1329
- case D.耐张串:
1330
- i = A.WairFX === "进" ? new n.HeadingPitchRoll(n.Math.toRadians(l), n.Math.toRadians(-180), n.Math.toRadians(180)) : new n.HeadingPitchRoll(n.Math.toRadians(l), n.Math.toRadians(0), n.Math.toRadians(0));
1333
+ case F.耐张串:
1334
+ t = A.WairFX === "进" ? new n.HeadingPitchRoll(n.Math.toRadians(l), n.Math.toRadians(-180), n.Math.toRadians(180)) : new n.HeadingPitchRoll(n.Math.toRadians(l), n.Math.toRadians(0), n.Math.toRadians(0));
1331
1335
  break;
1332
- case D.跳线串:
1333
- i = new n.HeadingPitchRoll(
1336
+ case F.跳线串:
1337
+ t = new n.HeadingPitchRoll(
1334
1338
  n.Math.toRadians(l),
1335
1339
  n.Math.toRadians(A.RollY),
1336
1340
  n.Math.toRadians(A.RollZ)
1337
1341
  );
1338
1342
  break;
1339
- case D.地线串:
1340
- i = new n.HeadingPitchRoll(
1343
+ case F.地线串:
1344
+ t = new n.HeadingPitchRoll(
1341
1345
  n.Math.toRadians(l),
1342
1346
  n.Math.toRadians(A.RollY),
1343
1347
  n.Math.toRadians(A.RollZ)
1344
1348
  );
1345
1349
  break;
1346
1350
  default:
1347
- i = new n.HeadingPitchRoll(
1351
+ t = new n.HeadingPitchRoll(
1348
1352
  n.Math.toRadians(l),
1349
1353
  n.Math.toRadians(A.RollY),
1350
1354
  n.Math.toRadians(A.RollZ)
1351
1355
  );
1352
1356
  }
1353
1357
  else
1354
- i = new n.HeadingPitchRoll(
1358
+ t = new n.HeadingPitchRoll(
1355
1359
  n.Math.toRadians(l),
1356
1360
  n.Math.toRadians(A.RollY),
1357
1361
  n.Math.toRadians(A.RollZ)
@@ -1361,27 +1365,27 @@ const es = class es {
1361
1365
  d,
1362
1366
  A.name,
1363
1367
  A.InsulatorModelUri,
1364
- i,
1368
+ t,
1365
1369
  A.InsulatorScale,
1366
1370
  [A.DistanceDisplaymin, A.DistanceDisplaymax]
1367
1371
  );
1368
1372
  const u = {
1369
1373
  insulator: A,
1370
1374
  insulatorIndex: W,
1371
- position: t,
1375
+ position: i,
1372
1376
  lineroll: s,
1373
1377
  WairPoint: []
1374
1378
  };
1375
1379
  A.InsulatorPoint.forEach((C) => {
1376
- C.Y = C.Y + this.LineInfo.towers[e].towerPoint[W].Y, C.Z = C.Z + this.LineInfo.towers[e].towerPoint[W].Z, u.WairPoint.push(B(t, new n.Cartesian3(C.X, C.Y, C.Z), s));
1380
+ C.Y = C.Y + this.LineInfo.towers[e].towerPoint[W].Y, C.Z = C.Z + this.LineInfo.towers[e].towerPoint[W].Z, u.WairPoint.push(B(i, new n.Cartesian3(C.X, C.Y, C.Z), s));
1377
1381
  }), L.push(u), W++;
1378
1382
  }), this.towerWirePoints.set(e, L);
1379
1383
  }
1380
1384
  /**
1381
1385
  * 加载两个相邻塔之间的导线段
1382
1386
  */
1383
- loadWireSegmentBetweenTowers(e, t) {
1384
- const r = this.towerWirePoints.get(e), s = this.towerWirePoints.get(t);
1387
+ loadWireSegmentBetweenTowers(e, i) {
1388
+ const r = this.towerWirePoints.get(e), s = this.towerWirePoints.get(i);
1385
1389
  !r || !s || this.resetWireArraysForTwoTowers();
1386
1390
  }
1387
1391
  /**
@@ -1400,13 +1404,13 @@ const es = class es {
1400
1404
  * 只加载导线,不加载杆塔和绝缘子(用于动态加载模式)
1401
1405
  */
1402
1406
  loadAllWiresOnly() {
1403
- const e = new n.EntityCollection(), t = this.entityCollection2;
1407
+ const e = new n.EntityCollection(), i = this.entityCollection2;
1404
1408
  this.entityCollection2 = e, this.loadAllTowersAtOnce();
1405
1409
  const r = [];
1406
1410
  e.values.forEach((s) => {
1407
1411
  var T;
1408
1412
  s.name && (s.name.includes("导线") || s.name.includes("daoxian") || (T = s.id) != null && T.toString().includes("daoxian")) && r.push(s);
1409
- }), this.entityCollection2 = t, r.forEach((s) => {
1413
+ }), this.entityCollection2 = i, r.forEach((s) => {
1410
1414
  this.entityCollection2.add(s);
1411
1415
  }), e.removeAll();
1412
1416
  }
@@ -1414,7 +1418,7 @@ const es = class es {
1414
1418
  * 一次性加载所有塔(兼容模式,大数据量时会卡顿)
1415
1419
  */
1416
1420
  loadAllTowersAtOnce() {
1417
- let e = 0, t = 0;
1421
+ let e = 0, i = 0;
1418
1422
  this.offsetTowers.forEach((r, s) => {
1419
1423
  const T = new n.HeadingPitchRoll(
1420
1424
  n.Math.toRadians(this.LineInfo.towers[s].RollX),
@@ -1432,7 +1436,7 @@ const es = class es {
1432
1436
  );
1433
1437
  const W = new n.HeadingPitchRoll(n.Math.toRadians(this.LineInfo.towers[s].RollX), 0, 0), L = new n.HeadingPitchRoll(n.Math.toRadians(this.LineInfo.towers[s].RollX), 0, 0);
1434
1438
  let A = 0;
1435
- if (this.LineInfo.towers[s].Insulators.forEach((i) => {
1439
+ if (this.LineInfo.towers[s].Insulators.forEach((t) => {
1436
1440
  const l = B(
1437
1441
  r,
1438
1442
  new n.Cartesian3(
@@ -1443,58 +1447,58 @@ const es = class es {
1443
1447
  this.LineInfo.towers[s].type === V.耐张塔 ? L : W
1444
1448
  );
1445
1449
  let u, C;
1446
- if (this.autoCalculateRollX ? C = this.LineInfo.towers[s].RollX : C = i.RollX, this.LineInfo.towers[s].type === V.耐张塔)
1447
- switch (i.type) {
1448
- case D.耐张串:
1449
- u = i.WairFX === "进" ? new n.HeadingPitchRoll(n.Math.toRadians(C), n.Math.toRadians(-180), n.Math.toRadians(180)) : new n.HeadingPitchRoll(n.Math.toRadians(C), n.Math.toRadians(0), n.Math.toRadians(0));
1450
+ if (this.autoCalculateRollX ? C = this.LineInfo.towers[s].RollX : C = t.RollX, this.LineInfo.towers[s].type === V.耐张塔)
1451
+ switch (t.type) {
1452
+ case F.耐张串:
1453
+ u = t.WairFX === "进" ? new n.HeadingPitchRoll(n.Math.toRadians(C), n.Math.toRadians(-180), n.Math.toRadians(180)) : new n.HeadingPitchRoll(n.Math.toRadians(C), n.Math.toRadians(0), n.Math.toRadians(0));
1450
1454
  break;
1451
- case D.跳线串:
1455
+ case F.跳线串:
1452
1456
  u = new n.HeadingPitchRoll(
1453
1457
  n.Math.toRadians(C),
1454
- n.Math.toRadians(i.RollY),
1455
- n.Math.toRadians(i.RollZ)
1458
+ n.Math.toRadians(t.RollY),
1459
+ n.Math.toRadians(t.RollZ)
1456
1460
  );
1457
1461
  break;
1458
- case D.地线串:
1462
+ case F.地线串:
1459
1463
  u = new n.HeadingPitchRoll(
1460
1464
  n.Math.toRadians(C),
1461
- n.Math.toRadians(i.RollY),
1462
- n.Math.toRadians(i.RollZ)
1465
+ n.Math.toRadians(t.RollY),
1466
+ n.Math.toRadians(t.RollZ)
1463
1467
  );
1464
1468
  break;
1465
1469
  default:
1466
1470
  u = new n.HeadingPitchRoll(
1467
1471
  n.Math.toRadians(C),
1468
- n.Math.toRadians(i.RollY),
1469
- n.Math.toRadians(i.RollZ)
1472
+ n.Math.toRadians(t.RollY),
1473
+ n.Math.toRadians(t.RollZ)
1470
1474
  );
1471
1475
  }
1472
1476
  else
1473
1477
  u = new n.HeadingPitchRoll(
1474
1478
  n.Math.toRadians(C),
1475
- n.Math.toRadians(i.RollY),
1476
- n.Math.toRadians(i.RollZ)
1479
+ n.Math.toRadians(t.RollY),
1480
+ n.Math.toRadians(t.RollZ)
1477
1481
  );
1478
1482
  this.addModelToCollection(
1479
- i.id,
1483
+ t.id,
1480
1484
  l,
1481
- i.name,
1482
- i.InsulatorModelUri,
1485
+ t.name,
1486
+ t.InsulatorModelUri,
1483
1487
  u,
1484
- i.InsulatorScale,
1485
- [i.DistanceDisplaymin, i.DistanceDisplaymax]
1488
+ t.InsulatorScale,
1489
+ [t.DistanceDisplaymin, t.DistanceDisplaymax]
1486
1490
  );
1487
1491
  const o = [];
1488
- switch (i.InsulatorPoint.forEach((c) => {
1492
+ switch (t.InsulatorPoint.forEach((c) => {
1489
1493
  c.Y = c.Y + this.LineInfo.towers[s].towerPoint[A].Y, c.Z = c.Z + this.LineInfo.towers[s].towerPoint[A].Z, o.push(B(r, new n.Cartesian3(c.X, c.Y, c.Z), W));
1490
- }), i.linenum) {
1494
+ }), t.linenum) {
1491
1495
  case hs.回路一:
1492
1496
  if (this.LineInfo.ISPhaseSequence)
1493
1497
  if (this.LineInfo.towers[s].type == V.耐张塔)
1494
- switch (i.PhaseSequence) {
1498
+ switch (t.PhaseSequence) {
1495
1499
  case G.A相:
1496
- if (i.type == D.耐张串)
1497
- if (i.WairFX == "进")
1500
+ if (t.type == F.耐张串)
1501
+ if (t.WairFX == "进")
1498
1502
  switch (this.LineInfo.Wairnum) {
1499
1503
  case p.单分裂:
1500
1504
  this.offsetWires11.push(o[0]), this.ToffsetWires1A1.push(o[0]);
@@ -1515,27 +1519,27 @@ const es = class es {
1515
1519
  else
1516
1520
  switch (this.LineInfo.Wairnum) {
1517
1521
  case p.单分裂:
1518
- const c = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W);
1522
+ const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1519
1523
  this.offsetWires11.push(c), this.ToffsetWires1A2.push(c);
1520
1524
  break;
1521
1525
  case p.双分裂:
1522
- const m = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W);
1526
+ const m = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W);
1523
1527
  this.offsetWires11.push(m), this.offsetWires11.push(b), this.ToffsetWires1A2.push(m), this.ToffsetWires1A2.push(b);
1524
1528
  break;
1525
1529
  case p.四分裂:
1526
- const I = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), P = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), g = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), y = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W);
1530
+ const I = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), P = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), g = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), y = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W);
1527
1531
  this.offsetWires11.push(I), this.offsetWires11.push(P), this.offsetWires11.push(g), this.offsetWires11.push(y), this.ToffsetWires1A2.push(I), this.ToffsetWires1A2.push(P), this.ToffsetWires1A2.push(g), this.ToffsetWires1A2.push(y);
1528
1532
  break;
1529
1533
  case p.六分裂:
1530
- const _ = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), v = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), S = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), M = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W), R = B(r, new n.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), W), E = B(r, new n.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), W);
1531
- this.offsetWires11.push(_), this.offsetWires11.push(v), this.offsetWires11.push(S), this.offsetWires11.push(M), this.offsetWires11.push(R), this.offsetWires11.push(E), this.ToffsetWires1A2.push(_), this.ToffsetWires1A2.push(v), this.ToffsetWires1A2.push(S), this.ToffsetWires1A2.push(M), this.ToffsetWires1A2.push(R), this.ToffsetWires1A2.push(E);
1534
+ const v = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), _ = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), S = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), M = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), R = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), E = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W);
1535
+ this.offsetWires11.push(v), this.offsetWires11.push(_), this.offsetWires11.push(S), this.offsetWires11.push(M), this.offsetWires11.push(R), this.offsetWires11.push(E), this.ToffsetWires1A2.push(v), this.ToffsetWires1A2.push(_), this.ToffsetWires1A2.push(S), this.ToffsetWires1A2.push(M), this.ToffsetWires1A2.push(R), this.ToffsetWires1A2.push(E);
1532
1536
  break;
1533
1537
  case p.八分裂:
1534
- const Y = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), Z = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), F = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), k = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W), X = B(r, new n.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), W), H = B(r, new n.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), W), O = B(r, new n.Cartesian3(i.InsulatorPoint[6].X * -1, i.InsulatorPoint[6].Y, i.InsulatorPoint[6].Z), W), $ = B(r, new n.Cartesian3(i.InsulatorPoint[7].X * -1, i.InsulatorPoint[7].Y, i.InsulatorPoint[7].Z), W);
1535
- this.offsetWires11.push(Y), this.offsetWires11.push(Z), this.offsetWires11.push(F), this.offsetWires11.push(k), this.offsetWires11.push(X), this.offsetWires11.push(H), this.offsetWires11.push(O), this.offsetWires11.push($), this.ToffsetWires1A2.push(Y), this.ToffsetWires1A2.push(Z), this.ToffsetWires1A2.push(F), this.ToffsetWires1A2.push(k), this.ToffsetWires1A2.push(X), this.ToffsetWires1A2.push(H), this.ToffsetWires1A2.push(O), this.ToffsetWires1A2.push($);
1538
+ const Y = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), Z = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), D = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), k = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), X = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), H = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W), O = B(r, new n.Cartesian3(t.InsulatorPoint[6].X * -1, t.InsulatorPoint[6].Y, t.InsulatorPoint[6].Z), W), $ = B(r, new n.Cartesian3(t.InsulatorPoint[7].X * -1, t.InsulatorPoint[7].Y, t.InsulatorPoint[7].Z), W);
1539
+ this.offsetWires11.push(Y), this.offsetWires11.push(Z), this.offsetWires11.push(D), this.offsetWires11.push(k), this.offsetWires11.push(X), this.offsetWires11.push(H), this.offsetWires11.push(O), this.offsetWires11.push($), this.ToffsetWires1A2.push(Y), this.ToffsetWires1A2.push(Z), this.ToffsetWires1A2.push(D), this.ToffsetWires1A2.push(k), this.ToffsetWires1A2.push(X), this.ToffsetWires1A2.push(H), this.ToffsetWires1A2.push(O), this.ToffsetWires1A2.push($);
1536
1540
  break;
1537
1541
  }
1538
- else if (i.type == D.跳线串)
1542
+ else if (t.type == F.跳线串)
1539
1543
  switch (this.LineInfo.Wairnum) {
1540
1544
  case p.单分裂:
1541
1545
  this.ToffsetWires1A1.push(o[0]), this.ToffsetWires1A2.push(o[1]);
@@ -1555,8 +1559,8 @@ const es = class es {
1555
1559
  }
1556
1560
  break;
1557
1561
  case G.B相:
1558
- if (i.type == D.耐张串)
1559
- if (i.WairFX == "进")
1562
+ if (t.type == F.耐张串)
1563
+ if (t.WairFX == "进")
1560
1564
  switch (this.LineInfo.Wairnum) {
1561
1565
  case p.单分裂:
1562
1566
  this.offsetWires12.push(o[0]), this.ToffsetWires1B1.push(o[1]);
@@ -1577,27 +1581,27 @@ const es = class es {
1577
1581
  else
1578
1582
  switch (this.LineInfo.Wairnum) {
1579
1583
  case p.单分裂:
1580
- const c = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W);
1584
+ const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1581
1585
  this.offsetWires12.push(c), this.ToffsetWires1B2.push(c);
1582
1586
  break;
1583
1587
  case p.双分裂:
1584
- const m = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W);
1588
+ const m = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W);
1585
1589
  this.offsetWires12.push(m), this.offsetWires12.push(b), this.ToffsetWires1B2.push(m), this.ToffsetWires1B2.push(b);
1586
1590
  break;
1587
1591
  case p.四分裂:
1588
- const I = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), P = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), g = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), y = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W);
1592
+ const I = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), P = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), g = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), y = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W);
1589
1593
  this.offsetWires12.push(I), this.offsetWires12.push(P), this.offsetWires12.push(g), this.offsetWires12.push(y), this.ToffsetWires1B2.push(I), this.ToffsetWires1B2.push(P), this.ToffsetWires1B2.push(g), this.ToffsetWires1B2.push(y);
1590
1594
  break;
1591
1595
  case p.六分裂:
1592
- const _ = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), v = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), S = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), M = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W), R = B(r, new n.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), W), E = B(r, new n.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), W);
1593
- this.offsetWires12.push(_), this.offsetWires12.push(v), this.offsetWires12.push(S), this.offsetWires12.push(M), this.offsetWires12.push(R), this.offsetWires12.push(E), this.ToffsetWires1B2.push(_), this.ToffsetWires1B2.push(v), this.ToffsetWires1B2.push(S), this.ToffsetWires1B2.push(M), this.ToffsetWires1B2.push(R), this.ToffsetWires1B2.push(E);
1596
+ const v = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), _ = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), S = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), M = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), R = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), E = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W);
1597
+ this.offsetWires12.push(v), this.offsetWires12.push(_), this.offsetWires12.push(S), this.offsetWires12.push(M), this.offsetWires12.push(R), this.offsetWires12.push(E), this.ToffsetWires1B2.push(v), this.ToffsetWires1B2.push(_), this.ToffsetWires1B2.push(S), this.ToffsetWires1B2.push(M), this.ToffsetWires1B2.push(R), this.ToffsetWires1B2.push(E);
1594
1598
  break;
1595
1599
  case p.八分裂:
1596
- const Y = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), Z = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), F = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), k = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W), X = B(r, new n.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), W), H = B(r, new n.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), W), O = B(r, new n.Cartesian3(i.InsulatorPoint[6].X * -1, i.InsulatorPoint[6].Y, i.InsulatorPoint[6].Z), W), $ = B(r, new n.Cartesian3(i.InsulatorPoint[7].X * -1, i.InsulatorPoint[7].Y, i.InsulatorPoint[7].Z), W);
1597
- this.offsetWires12.push(Y), this.offsetWires12.push(Z), this.offsetWires12.push(F), this.offsetWires12.push(k), this.offsetWires12.push(X), this.offsetWires12.push(H), this.offsetWires12.push(O), this.offsetWires12.push($), this.ToffsetWires1B2.push(Y), this.ToffsetWires1B2.push(Z), this.ToffsetWires1B2.push(F), this.ToffsetWires1B2.push(k), this.ToffsetWires1B2.push(X), this.ToffsetWires1B2.push(H), this.ToffsetWires1B2.push(O), this.ToffsetWires1B2.push($);
1600
+ const Y = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), Z = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), D = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), k = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), X = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), H = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W), O = B(r, new n.Cartesian3(t.InsulatorPoint[6].X * -1, t.InsulatorPoint[6].Y, t.InsulatorPoint[6].Z), W), $ = B(r, new n.Cartesian3(t.InsulatorPoint[7].X * -1, t.InsulatorPoint[7].Y, t.InsulatorPoint[7].Z), W);
1601
+ this.offsetWires12.push(Y), this.offsetWires12.push(Z), this.offsetWires12.push(D), this.offsetWires12.push(k), this.offsetWires12.push(X), this.offsetWires12.push(H), this.offsetWires12.push(O), this.offsetWires12.push($), this.ToffsetWires1B2.push(Y), this.ToffsetWires1B2.push(Z), this.ToffsetWires1B2.push(D), this.ToffsetWires1B2.push(k), this.ToffsetWires1B2.push(X), this.ToffsetWires1B2.push(H), this.ToffsetWires1B2.push(O), this.ToffsetWires1B2.push($);
1598
1602
  break;
1599
1603
  }
1600
- else if (i.type == D.跳线串)
1604
+ else if (t.type == F.跳线串)
1601
1605
  switch (this.LineInfo.Wairnum) {
1602
1606
  case p.单分裂:
1603
1607
  this.ToffsetWires1B1.push(o[0]), this.ToffsetWires1B2.push(o[0]);
@@ -1617,8 +1621,8 @@ const es = class es {
1617
1621
  }
1618
1622
  break;
1619
1623
  case G.C相:
1620
- if (i.type == D.耐张串)
1621
- if (i.WairFX == "进")
1624
+ if (t.type == F.耐张串)
1625
+ if (t.WairFX == "进")
1622
1626
  switch (this.LineInfo.Wairnum) {
1623
1627
  case p.单分裂:
1624
1628
  this.offsetWires13.push(o[0]), this.ToffsetWires1C1.push(o[1]);
@@ -1639,27 +1643,27 @@ const es = class es {
1639
1643
  else
1640
1644
  switch (this.LineInfo.Wairnum) {
1641
1645
  case p.单分裂:
1642
- const c = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W);
1646
+ const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1643
1647
  this.offsetWires13.push(c), this.ToffsetWires1C2.push(c);
1644
1648
  break;
1645
1649
  case p.双分裂:
1646
- const m = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W);
1650
+ const m = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W);
1647
1651
  this.offsetWires13.push(m), this.offsetWires13.push(b), this.ToffsetWires1C2.push(m), this.ToffsetWires1C2.push(b);
1648
1652
  break;
1649
1653
  case p.四分裂:
1650
- const I = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), P = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), g = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), y = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W);
1654
+ const I = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), P = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), g = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), y = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W);
1651
1655
  this.offsetWires13.push(I), this.offsetWires13.push(P), this.offsetWires13.push(g), this.offsetWires13.push(y), this.ToffsetWires1C2.push(I), this.ToffsetWires1C2.push(P), this.ToffsetWires1C2.push(g), this.ToffsetWires1C2.push(y);
1652
1656
  break;
1653
1657
  case p.六分裂:
1654
- const _ = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), v = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), S = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), M = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W), R = B(r, new n.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), W), E = B(r, new n.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), W);
1655
- this.offsetWires13.push(_), this.offsetWires13.push(v), this.offsetWires13.push(S), this.offsetWires13.push(M), this.offsetWires13.push(R), this.offsetWires13.push(E), this.ToffsetWires1C2.push(_), this.ToffsetWires1C2.push(v), this.ToffsetWires1C2.push(S), this.ToffsetWires1C2.push(M), this.ToffsetWires1C2.push(R), this.ToffsetWires1C2.push(E);
1658
+ const v = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), _ = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), S = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), M = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), R = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), E = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W);
1659
+ this.offsetWires13.push(v), this.offsetWires13.push(_), this.offsetWires13.push(S), this.offsetWires13.push(M), this.offsetWires13.push(R), this.offsetWires13.push(E), this.ToffsetWires1C2.push(v), this.ToffsetWires1C2.push(_), this.ToffsetWires1C2.push(S), this.ToffsetWires1C2.push(M), this.ToffsetWires1C2.push(R), this.ToffsetWires1C2.push(E);
1656
1660
  break;
1657
1661
  case p.八分裂:
1658
- const Y = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), Z = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), F = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), k = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W), X = B(r, new n.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), W), H = B(r, new n.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), W), O = B(r, new n.Cartesian3(i.InsulatorPoint[6].X * -1, i.InsulatorPoint[6].Y, i.InsulatorPoint[6].Z), W), $ = B(r, new n.Cartesian3(i.InsulatorPoint[7].X * -1, i.InsulatorPoint[7].Y, i.InsulatorPoint[7].Z), W);
1659
- this.offsetWires13.push(Y), this.offsetWires13.push(Z), this.offsetWires13.push(F), this.offsetWires13.push(k), this.offsetWires13.push(X), this.offsetWires13.push(H), this.offsetWires13.push(O), this.offsetWires13.push($), this.ToffsetWires1C2.push(Y), this.ToffsetWires1C2.push(Z), this.ToffsetWires1C2.push(F), this.ToffsetWires1C2.push(k), this.ToffsetWires1C2.push(X), this.ToffsetWires1C2.push(H), this.ToffsetWires1C2.push(O), this.ToffsetWires1C2.push($);
1662
+ const Y = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), Z = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), D = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), k = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), X = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), H = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W), O = B(r, new n.Cartesian3(t.InsulatorPoint[6].X * -1, t.InsulatorPoint[6].Y, t.InsulatorPoint[6].Z), W), $ = B(r, new n.Cartesian3(t.InsulatorPoint[7].X * -1, t.InsulatorPoint[7].Y, t.InsulatorPoint[7].Z), W);
1663
+ this.offsetWires13.push(Y), this.offsetWires13.push(Z), this.offsetWires13.push(D), this.offsetWires13.push(k), this.offsetWires13.push(X), this.offsetWires13.push(H), this.offsetWires13.push(O), this.offsetWires13.push($), this.ToffsetWires1C2.push(Y), this.ToffsetWires1C2.push(Z), this.ToffsetWires1C2.push(D), this.ToffsetWires1C2.push(k), this.ToffsetWires1C2.push(X), this.ToffsetWires1C2.push(H), this.ToffsetWires1C2.push(O), this.ToffsetWires1C2.push($);
1660
1664
  break;
1661
1665
  }
1662
- else if (i.type == D.跳线串)
1666
+ else if (t.type == F.跳线串)
1663
1667
  switch (this.LineInfo.Wairnum) {
1664
1668
  case p.单分裂:
1665
1669
  this.ToffsetWires1C1.push(o[0]), this.ToffsetWires1C2.push(o[0]);
@@ -1680,7 +1684,7 @@ const es = class es {
1680
1684
  break;
1681
1685
  }
1682
1686
  else
1683
- switch (i.PhaseSequence) {
1687
+ switch (t.PhaseSequence) {
1684
1688
  case G.A相:
1685
1689
  o.forEach((c) => {
1686
1690
  this.offsetWires11.push(c);
@@ -1722,11 +1726,11 @@ const es = class es {
1722
1726
  case 4:
1723
1727
  switch (this.LineInfo.Wairnum) {
1724
1728
  case p.单分裂:
1725
- const c = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W);
1729
+ const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1726
1730
  this.offsetWires11.push(c), this.ToffsetWires1A2.push(c);
1727
1731
  break;
1728
1732
  case p.双分裂:
1729
- const m = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W);
1733
+ const m = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W);
1730
1734
  this.offsetWires11.push(m), this.offsetWires11.push(b), this.ToffsetWires1A2.push(m), this.ToffsetWires1A2.push(b);
1731
1735
  break;
1732
1736
  }
@@ -1742,7 +1746,7 @@ const es = class es {
1742
1746
  });
1743
1747
  break;
1744
1748
  case 7:
1745
- i.InsulatorPoint.forEach((c) => {
1749
+ t.InsulatorPoint.forEach((c) => {
1746
1750
  const m = B(r, new n.Cartesian3(c.X * -1, c.Y, c.Z), W);
1747
1751
  this.offsetWires12.push(m), this.ToffsetWires1B2.push(m);
1748
1752
  });
@@ -1758,7 +1762,7 @@ const es = class es {
1758
1762
  });
1759
1763
  break;
1760
1764
  case 10:
1761
- i.InsulatorPoint.forEach((c) => {
1765
+ t.InsulatorPoint.forEach((c) => {
1762
1766
  const m = B(r, new n.Cartesian3(c.X * -1, c.Y, c.Z), W);
1763
1767
  this.offsetWires13.push(m), this.ToffsetWires1C2.push(m);
1764
1768
  });
@@ -1786,10 +1790,10 @@ const es = class es {
1786
1790
  case hs.回路二:
1787
1791
  if (this.LineInfo.ISPhaseSequence)
1788
1792
  if (this.LineInfo.towers[s].type == V.耐张塔)
1789
- switch (i.PhaseSequence) {
1793
+ switch (t.PhaseSequence) {
1790
1794
  case G.A相:
1791
- if (i.type == D.耐张串)
1792
- if (i.WairFX == "进")
1795
+ if (t.type == F.耐张串)
1796
+ if (t.WairFX == "进")
1793
1797
  switch (this.LineInfo.Wairnum) {
1794
1798
  case p.单分裂:
1795
1799
  this.offsetWires21.push(o[0]), this.ToffsetWires2A1.push(o[0]);
@@ -1810,27 +1814,27 @@ const es = class es {
1810
1814
  else
1811
1815
  switch (this.LineInfo.Wairnum) {
1812
1816
  case p.单分裂:
1813
- const c = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W);
1817
+ const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1814
1818
  this.offsetWires21.push(c), this.ToffsetWires2A2.push(c);
1815
1819
  break;
1816
1820
  case p.双分裂:
1817
- const m = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W);
1821
+ const m = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W);
1818
1822
  this.offsetWires21.push(m), this.offsetWires21.push(b), this.ToffsetWires2A2.push(m), this.ToffsetWires2A2.push(b);
1819
1823
  break;
1820
1824
  case p.四分裂:
1821
- const I = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), P = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), g = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), y = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W);
1825
+ const I = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), P = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), g = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), y = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W);
1822
1826
  this.offsetWires21.push(I), this.offsetWires21.push(P), this.offsetWires21.push(g), this.offsetWires21.push(y), this.ToffsetWires2A2.push(I), this.ToffsetWires2A2.push(P), this.ToffsetWires2A2.push(g), this.ToffsetWires2A2.push(y);
1823
1827
  break;
1824
1828
  case p.六分裂:
1825
- const _ = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), v = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), S = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), M = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W), R = B(r, new n.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), W), E = B(r, new n.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), W);
1826
- this.offsetWires21.push(_), this.offsetWires21.push(v), this.offsetWires21.push(S), this.offsetWires21.push(M), this.offsetWires21.push(R), this.offsetWires21.push(E), this.ToffsetWires2A2.push(_), this.ToffsetWires2A2.push(v), this.ToffsetWires2A2.push(S), this.ToffsetWires2A2.push(M), this.ToffsetWires2A2.push(R), this.ToffsetWires2A2.push(E);
1829
+ const v = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), _ = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), S = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), M = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), R = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), E = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W);
1830
+ this.offsetWires21.push(v), this.offsetWires21.push(_), this.offsetWires21.push(S), this.offsetWires21.push(M), this.offsetWires21.push(R), this.offsetWires21.push(E), this.ToffsetWires2A2.push(v), this.ToffsetWires2A2.push(_), this.ToffsetWires2A2.push(S), this.ToffsetWires2A2.push(M), this.ToffsetWires2A2.push(R), this.ToffsetWires2A2.push(E);
1827
1831
  break;
1828
1832
  case p.八分裂:
1829
- const Y = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), Z = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), F = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), k = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W), X = B(r, new n.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), W), H = B(r, new n.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), W), O = B(r, new n.Cartesian3(i.InsulatorPoint[6].X * -1, i.InsulatorPoint[6].Y, i.InsulatorPoint[6].Z), W), $ = B(r, new n.Cartesian3(i.InsulatorPoint[7].X * -1, i.InsulatorPoint[7].Y, i.InsulatorPoint[7].Z), W);
1830
- this.offsetWires21.push(Y), this.offsetWires21.push(Z), this.offsetWires21.push(F), this.offsetWires21.push(k), this.offsetWires21.push(X), this.offsetWires21.push(H), this.offsetWires21.push(O), this.offsetWires21.push($), this.ToffsetWires2A2.push(Y), this.ToffsetWires2A2.push(Z), this.ToffsetWires2A2.push(F), this.ToffsetWires2A2.push(k), this.ToffsetWires2A2.push(X), this.ToffsetWires2A2.push(H), this.ToffsetWires2A2.push(O), this.ToffsetWires2A2.push($);
1833
+ const Y = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), Z = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), D = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), k = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), X = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), H = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W), O = B(r, new n.Cartesian3(t.InsulatorPoint[6].X * -1, t.InsulatorPoint[6].Y, t.InsulatorPoint[6].Z), W), $ = B(r, new n.Cartesian3(t.InsulatorPoint[7].X * -1, t.InsulatorPoint[7].Y, t.InsulatorPoint[7].Z), W);
1834
+ this.offsetWires21.push(Y), this.offsetWires21.push(Z), this.offsetWires21.push(D), this.offsetWires21.push(k), this.offsetWires21.push(X), this.offsetWires21.push(H), this.offsetWires21.push(O), this.offsetWires21.push($), this.ToffsetWires2A2.push(Y), this.ToffsetWires2A2.push(Z), this.ToffsetWires2A2.push(D), this.ToffsetWires2A2.push(k), this.ToffsetWires2A2.push(X), this.ToffsetWires2A2.push(H), this.ToffsetWires2A2.push(O), this.ToffsetWires2A2.push($);
1831
1835
  break;
1832
1836
  }
1833
- else if (i.type == D.跳线串)
1837
+ else if (t.type == F.跳线串)
1834
1838
  switch (this.LineInfo.Wairnum) {
1835
1839
  case p.单分裂:
1836
1840
  this.ToffsetWires2A1.push(o[0]), this.ToffsetWires2A2.push(o[0]);
@@ -1850,8 +1854,8 @@ const es = class es {
1850
1854
  }
1851
1855
  break;
1852
1856
  case G.B相:
1853
- if (i.type == D.耐张串)
1854
- if (i.WairFX == "进")
1857
+ if (t.type == F.耐张串)
1858
+ if (t.WairFX == "进")
1855
1859
  switch (this.LineInfo.Wairnum) {
1856
1860
  case p.单分裂:
1857
1861
  this.offsetWires22.push(o[0]), this.ToffsetWires2B1.push(o[0]);
@@ -1872,27 +1876,27 @@ const es = class es {
1872
1876
  else
1873
1877
  switch (this.LineInfo.Wairnum) {
1874
1878
  case p.单分裂:
1875
- const c = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W);
1879
+ const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1876
1880
  this.offsetWires22.push(c), this.ToffsetWires2B2.push(c);
1877
1881
  break;
1878
1882
  case p.双分裂:
1879
- const m = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W);
1883
+ const m = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W);
1880
1884
  this.offsetWires22.push(m), this.offsetWires22.push(b), this.ToffsetWires2B2.push(m), this.ToffsetWires2B2.push(b);
1881
1885
  break;
1882
1886
  case p.四分裂:
1883
- const I = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), P = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), g = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), y = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W);
1887
+ const I = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), P = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), g = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), y = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W);
1884
1888
  this.offsetWires22.push(I), this.offsetWires22.push(P), this.offsetWires22.push(g), this.offsetWires22.push(y), this.ToffsetWires2B2.push(I), this.ToffsetWires2B2.push(P), this.ToffsetWires2B2.push(g), this.ToffsetWires2B2.push(y);
1885
1889
  break;
1886
1890
  case p.六分裂:
1887
- const _ = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), v = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), S = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), M = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W), R = B(r, new n.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), W), E = B(r, new n.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), W);
1888
- this.offsetWires22.push(_), this.offsetWires22.push(v), this.offsetWires22.push(S), this.offsetWires22.push(M), this.offsetWires22.push(R), this.offsetWires22.push(E), this.ToffsetWires2B2.push(_), this.ToffsetWires2B2.push(v), this.ToffsetWires2B2.push(S), this.ToffsetWires2B2.push(M), this.ToffsetWires2B2.push(R), this.ToffsetWires2B2.push(E);
1891
+ const v = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), _ = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), S = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), M = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), R = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), E = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W);
1892
+ this.offsetWires22.push(v), this.offsetWires22.push(_), this.offsetWires22.push(S), this.offsetWires22.push(M), this.offsetWires22.push(R), this.offsetWires22.push(E), this.ToffsetWires2B2.push(v), this.ToffsetWires2B2.push(_), this.ToffsetWires2B2.push(S), this.ToffsetWires2B2.push(M), this.ToffsetWires2B2.push(R), this.ToffsetWires2B2.push(E);
1889
1893
  break;
1890
1894
  case p.八分裂:
1891
- const Y = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), Z = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), F = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), k = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W), X = B(r, new n.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), W), H = B(r, new n.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), W), O = B(r, new n.Cartesian3(i.InsulatorPoint[6].X * -1, i.InsulatorPoint[6].Y, i.InsulatorPoint[6].Z), W), $ = B(r, new n.Cartesian3(i.InsulatorPoint[7].X * -1, i.InsulatorPoint[7].Y, i.InsulatorPoint[7].Z), W);
1892
- this.offsetWires22.push(Y), this.offsetWires22.push(Z), this.offsetWires22.push(F), this.offsetWires22.push(k), this.offsetWires22.push(X), this.offsetWires22.push(H), this.offsetWires22.push(O), this.offsetWires22.push($), this.ToffsetWires2B2.push(Y), this.ToffsetWires2B2.push(Z), this.ToffsetWires2B2.push(F), this.ToffsetWires2B2.push(k), this.ToffsetWires2B2.push(X), this.ToffsetWires2B2.push(H), this.ToffsetWires2B2.push(O), this.ToffsetWires2B2.push($);
1895
+ const Y = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), Z = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), D = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), k = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), X = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), H = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W), O = B(r, new n.Cartesian3(t.InsulatorPoint[6].X * -1, t.InsulatorPoint[6].Y, t.InsulatorPoint[6].Z), W), $ = B(r, new n.Cartesian3(t.InsulatorPoint[7].X * -1, t.InsulatorPoint[7].Y, t.InsulatorPoint[7].Z), W);
1896
+ this.offsetWires22.push(Y), this.offsetWires22.push(Z), this.offsetWires22.push(D), this.offsetWires22.push(k), this.offsetWires22.push(X), this.offsetWires22.push(H), this.offsetWires22.push(O), this.offsetWires22.push($), this.ToffsetWires2B2.push(Y), this.ToffsetWires2B2.push(Z), this.ToffsetWires2B2.push(D), this.ToffsetWires2B2.push(k), this.ToffsetWires2B2.push(X), this.ToffsetWires2B2.push(H), this.ToffsetWires2B2.push(O), this.ToffsetWires2B2.push($);
1893
1897
  break;
1894
1898
  }
1895
- else if (i.type == D.跳线串)
1899
+ else if (t.type == F.跳线串)
1896
1900
  switch (this.LineInfo.Wairnum) {
1897
1901
  case p.单分裂:
1898
1902
  this.ToffsetWires2B1.push(o[0]), this.ToffsetWires2B2.push(o[0]);
@@ -1912,8 +1916,8 @@ const es = class es {
1912
1916
  }
1913
1917
  break;
1914
1918
  case G.C相:
1915
- if (i.type == D.耐张串)
1916
- if (i.WairFX == "进")
1919
+ if (t.type == F.耐张串)
1920
+ if (t.WairFX == "进")
1917
1921
  switch (this.LineInfo.Wairnum) {
1918
1922
  case p.单分裂:
1919
1923
  this.offsetWires23.push(o[0]), this.ToffsetWires2C1.push(o[0]);
@@ -1934,27 +1938,27 @@ const es = class es {
1934
1938
  else
1935
1939
  switch (this.LineInfo.Wairnum) {
1936
1940
  case p.单分裂:
1937
- const c = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W);
1941
+ const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1938
1942
  this.offsetWires23.push(c), this.ToffsetWires2C2.push(c);
1939
1943
  break;
1940
1944
  case p.双分裂:
1941
- const m = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W);
1945
+ const m = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W);
1942
1946
  this.offsetWires23.push(m), this.offsetWires23.push(b), this.ToffsetWires2C2.push(m), this.ToffsetWires2C2.push(b);
1943
1947
  break;
1944
1948
  case p.四分裂:
1945
- const I = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), P = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), g = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), y = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W);
1949
+ const I = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), P = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), g = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), y = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W);
1946
1950
  this.offsetWires23.push(I), this.offsetWires23.push(P), this.offsetWires23.push(g), this.offsetWires23.push(y), this.ToffsetWires2C2.push(I), this.ToffsetWires2C2.push(P), this.ToffsetWires2C2.push(g), this.ToffsetWires2C2.push(y);
1947
1951
  break;
1948
1952
  case p.六分裂:
1949
- const _ = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), v = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), S = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), M = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W), R = B(r, new n.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), W), E = B(r, new n.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), W);
1950
- this.offsetWires23.push(_), this.offsetWires23.push(v), this.offsetWires23.push(S), this.offsetWires23.push(M), this.offsetWires23.push(R), this.offsetWires23.push(E), this.ToffsetWires2C2.push(_), this.ToffsetWires2C2.push(v), this.ToffsetWires2C2.push(S), this.ToffsetWires2C2.push(M), this.ToffsetWires2C2.push(R), this.ToffsetWires2C2.push(E);
1953
+ const v = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), _ = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), S = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), M = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), R = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), E = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W);
1954
+ this.offsetWires23.push(v), this.offsetWires23.push(_), this.offsetWires23.push(S), this.offsetWires23.push(M), this.offsetWires23.push(R), this.offsetWires23.push(E), this.ToffsetWires2C2.push(v), this.ToffsetWires2C2.push(_), this.ToffsetWires2C2.push(S), this.ToffsetWires2C2.push(M), this.ToffsetWires2C2.push(R), this.ToffsetWires2C2.push(E);
1951
1955
  break;
1952
1956
  case p.八分裂:
1953
- const Y = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), Z = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), F = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), k = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W), X = B(r, new n.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), W), H = B(r, new n.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), W), O = B(r, new n.Cartesian3(i.InsulatorPoint[6].X * -1, i.InsulatorPoint[6].Y, i.InsulatorPoint[6].Z), W), $ = B(r, new n.Cartesian3(i.InsulatorPoint[7].X * -1, i.InsulatorPoint[7].Y, i.InsulatorPoint[7].Z), W);
1954
- this.offsetWires23.push(Y), this.offsetWires23.push(Z), this.offsetWires23.push(F), this.offsetWires23.push(k), this.offsetWires23.push(X), this.offsetWires23.push(H), this.offsetWires23.push(O), this.offsetWires23.push($), this.ToffsetWires2C2.push(Y), this.ToffsetWires2C2.push(Z), this.ToffsetWires2C2.push(F), this.ToffsetWires2C2.push(k), this.ToffsetWires2C2.push(X), this.ToffsetWires2C2.push(H), this.ToffsetWires2C2.push(O), this.ToffsetWires2C2.push($);
1957
+ const Y = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), Z = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), D = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), k = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), X = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), H = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W), O = B(r, new n.Cartesian3(t.InsulatorPoint[6].X * -1, t.InsulatorPoint[6].Y, t.InsulatorPoint[6].Z), W), $ = B(r, new n.Cartesian3(t.InsulatorPoint[7].X * -1, t.InsulatorPoint[7].Y, t.InsulatorPoint[7].Z), W);
1958
+ this.offsetWires23.push(Y), this.offsetWires23.push(Z), this.offsetWires23.push(D), this.offsetWires23.push(k), this.offsetWires23.push(X), this.offsetWires23.push(H), this.offsetWires23.push(O), this.offsetWires23.push($), this.ToffsetWires2C2.push(Y), this.ToffsetWires2C2.push(Z), this.ToffsetWires2C2.push(D), this.ToffsetWires2C2.push(k), this.ToffsetWires2C2.push(X), this.ToffsetWires2C2.push(H), this.ToffsetWires2C2.push(O), this.ToffsetWires2C2.push($);
1955
1959
  break;
1956
1960
  }
1957
- else if (i.type == D.跳线串)
1961
+ else if (t.type == F.跳线串)
1958
1962
  switch (this.LineInfo.Wairnum) {
1959
1963
  case p.单分裂:
1960
1964
  this.ToffsetWires2C1.push(o[0]), this.ToffsetWires2C2.push(o[0]);
@@ -1975,7 +1979,7 @@ const es = class es {
1975
1979
  break;
1976
1980
  }
1977
1981
  else
1978
- switch (i.PhaseSequence) {
1982
+ switch (t.PhaseSequence) {
1979
1983
  case G.A相:
1980
1984
  o.forEach((c) => {
1981
1985
  this.offsetWires21.push(c);
@@ -2001,7 +2005,7 @@ const es = class es {
2001
2005
  this.ToffsetWires2A1.push(o[0]), this.ToffsetWires2A2.push(o[0]);
2002
2006
  break;
2003
2007
  case 13:
2004
- const c = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W);
2008
+ const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
2005
2009
  this.offsetWires21.push(c), this.ToffsetWires2A2.push(c);
2006
2010
  break;
2007
2011
  case 14:
@@ -2011,7 +2015,7 @@ const es = class es {
2011
2015
  this.ToffsetWires2B1.push(o[0]), this.ToffsetWires2B2.push(o[0]);
2012
2016
  break;
2013
2017
  case 16:
2014
- const m = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W);
2018
+ const m = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
2015
2019
  this.offsetWires22.push(m), this.ToffsetWires2B2.push(m);
2016
2020
  break;
2017
2021
  case 17:
@@ -2021,7 +2025,7 @@ const es = class es {
2021
2025
  this.ToffsetWires2C1.push(o[0]), this.ToffsetWires2C2.push(o[0]);
2022
2026
  break;
2023
2027
  case 19:
2024
- const b = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W);
2028
+ const b = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
2025
2029
  this.offsetWires23.push(b), this.ToffsetWires2C2.push(b);
2026
2030
  break;
2027
2031
  }
@@ -2046,7 +2050,7 @@ const es = class es {
2046
2050
  break;
2047
2051
  case hs.地线:
2048
2052
  if (this.LineInfo.ISPhaseSequence)
2049
- switch (i.PhaseSequence) {
2053
+ switch (t.PhaseSequence) {
2050
2054
  case G.地线1:
2051
2055
  this.offsetGrouundWires11.push(o[0]);
2052
2056
  break;
@@ -2067,150 +2071,150 @@ const es = class es {
2067
2071
  }
2068
2072
  A = A + 1;
2069
2073
  }), this.offsetWires11.length > 0 && s > 0) {
2070
- const i = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [];
2074
+ const t = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [];
2071
2075
  switch (this.LineInfo.Wairnum) {
2072
2076
  case p.单分裂:
2073
- this.offsetWires11.length >= 2 && (i.push(this.offsetWires11[e]), i.push(this.offsetWires11[e - 1]), this.offsetArcWires1A = f(i), this.offsetArcWires1A.forEach((I) => {
2077
+ this.offsetWires11.length >= 2 && (t.push(this.offsetWires11[e]), t.push(this.offsetWires11[e - 1]), this.offsetArcWires1A = f(t), this.offsetArcWires1A.forEach((I) => {
2074
2078
  this.arcLine1A1.push(z(this.viewer.scene.globe.ellipsoid, I));
2075
2079
  }), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)));
2076
2080
  break;
2077
2081
  case p.双分裂:
2078
- this.offsetWires11.length >= 4 && (i.push(this.offsetWires11[e]), i.push(this.offsetWires11[e - 2]), this.offsetArcWires1A = f(i), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1A.forEach((I) => {
2082
+ this.offsetWires11.length >= 4 && (t.push(this.offsetWires11[e]), t.push(this.offsetWires11[e - 2]), this.offsetArcWires1A = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1A.forEach((I) => {
2079
2083
  this.arcLine1A1.push(z(this.viewer.scene.globe.ellipsoid, I));
2080
2084
  }), l.push(this.offsetWires11[e + 1]), l.push(this.offsetWires11[e - 1]), this.offsetArcWires1A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)));
2081
2085
  break;
2082
2086
  case p.四分裂:
2083
- this.offsetWires11.length >= 8 && (i.push(this.offsetWires11[e]), i.push(this.offsetWires11[e - 4]), this.offsetArcWires1A = f(i), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1A.forEach((I) => {
2087
+ this.offsetWires11.length >= 8 && (t.push(this.offsetWires11[e]), t.push(this.offsetWires11[e - 4]), this.offsetArcWires1A = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1A.forEach((I) => {
2084
2088
  this.arcLine1A1.push(z(this.viewer.scene.globe.ellipsoid, I));
2085
2089
  }), l.push(this.offsetWires11[e + 1]), l.push(this.offsetWires11[e - 3]), this.offsetArcWires1A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires11[e + 2]), u.push(this.offsetWires11[e - 2]), this.offsetArcWires1A = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires11[e + 3]), C.push(this.offsetWires11[e - 1]), this.offsetArcWires1A = f(C), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)));
2086
2090
  break;
2087
2091
  case p.六分裂:
2088
- this.offsetWires11.length >= 12 && (i.push(this.offsetWires11[e]), i.push(this.offsetWires11[e - 6]), this.offsetArcWires1A = f(i), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1A.forEach((I) => {
2092
+ this.offsetWires11.length >= 12 && (t.push(this.offsetWires11[e]), t.push(this.offsetWires11[e - 6]), this.offsetArcWires1A = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1A.forEach((I) => {
2089
2093
  this.arcLine1A1.push(z(this.viewer.scene.globe.ellipsoid, I));
2090
2094
  }), l.push(this.offsetWires11[e + 1]), l.push(this.offsetWires11[e - 5]), this.offsetArcWires1A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires11[e + 2]), u.push(this.offsetWires11[e - 4]), this.offsetArcWires1A = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires11[e + 3]), C.push(this.offsetWires11[e - 3]), this.offsetArcWires1A = f(C), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires11[e + 4]), o.push(this.offsetWires11[e - 2]), this.offsetArcWires1A = f(o), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires11[e + 5]), c.push(this.offsetWires11[e - 1]), this.offsetArcWires1A = f(c), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)));
2091
2095
  break;
2092
2096
  case p.八分裂:
2093
- this.offsetWires11.length >= 16 && (i.push(this.offsetWires11[e]), i.push(this.offsetWires11[e - 8]), this.offsetArcWires1A = f(i), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1A.forEach((I) => {
2097
+ this.offsetWires11.length >= 16 && (t.push(this.offsetWires11[e]), t.push(this.offsetWires11[e - 8]), this.offsetArcWires1A = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1A.forEach((I) => {
2094
2098
  this.arcLine1A1.push(z(this.viewer.scene.globe.ellipsoid, I));
2095
2099
  }), l.push(this.offsetWires11[e + 1]), l.push(this.offsetWires11[e - 7]), this.offsetArcWires1A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires11[e + 2]), u.push(this.offsetWires11[e - 6]), this.offsetArcWires1A = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires11[e + 3]), C.push(this.offsetWires11[e - 5]), this.offsetArcWires1A = f(C), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires11[e + 4]), o.push(this.offsetWires11[e - 4]), this.offsetArcWires1A = f(o), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires11[e + 5]), c.push(this.offsetWires11[e - 3]), this.offsetArcWires1A = f(c), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), m.push(this.offsetWires11[e + 6]), m.push(this.offsetWires11[e - 2]), this.offsetArcWires1A = f(m), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A7" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), b.push(this.offsetWires11[e + 7]), b.push(this.offsetWires11[e - 1]), this.offsetArcWires1A = f(b), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)));
2096
2100
  break;
2097
2101
  }
2098
2102
  }
2099
2103
  if (this.offsetWires12.length > 0 && s > 0) {
2100
- const i = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [];
2104
+ const t = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [];
2101
2105
  switch (this.LineInfo.Wairnum) {
2102
2106
  case p.单分裂:
2103
- i.push(this.offsetWires12[e]), i.push(this.offsetWires12[e - 1]), this.offsetArcWires1B = f(i), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((I) => {
2107
+ t.push(this.offsetWires12[e]), t.push(this.offsetWires12[e - 1]), this.offsetArcWires1B = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((I) => {
2104
2108
  this.arcLine1B1.push(z(this.viewer.scene.globe.ellipsoid, I));
2105
2109
  });
2106
2110
  break;
2107
2111
  case p.双分裂:
2108
- i.push(this.offsetWires12[e]), i.push(this.offsetWires12[e - 2]), this.offsetArcWires1B = f(i), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((I) => {
2112
+ t.push(this.offsetWires12[e]), t.push(this.offsetWires12[e - 2]), this.offsetArcWires1B = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((I) => {
2109
2113
  this.arcLine1B1.push(z(this.viewer.scene.globe.ellipsoid, I));
2110
2114
  }), l.push(this.offsetWires12[e + 1]), l.push(this.offsetWires12[e - 1]), this.offsetArcWires1B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2111
2115
  break;
2112
2116
  case p.四分裂:
2113
- i.push(this.offsetWires12[e]), i.push(this.offsetWires12[e - 4]), this.offsetArcWires1B = f(i), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((I) => {
2117
+ t.push(this.offsetWires12[e]), t.push(this.offsetWires12[e - 4]), this.offsetArcWires1B = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((I) => {
2114
2118
  this.arcLine1B1.push(z(this.viewer.scene.globe.ellipsoid, I));
2115
2119
  }), l.push(this.offsetWires12[e + 1]), l.push(this.offsetWires12[e - 3]), this.offsetArcWires1B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires12[e + 2]), u.push(this.offsetWires12[e - 2]), this.offsetArcWires1B = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires12[e + 3]), C.push(this.offsetWires12[e - 1]), this.offsetArcWires1B = f(C), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2116
2120
  break;
2117
2121
  case p.六分裂:
2118
- i.push(this.offsetWires12[e]), i.push(this.offsetWires12[e - 6]), this.offsetArcWires1B = f(i), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((I) => {
2122
+ t.push(this.offsetWires12[e]), t.push(this.offsetWires12[e - 6]), this.offsetArcWires1B = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((I) => {
2119
2123
  this.arcLine1B1.push(z(this.viewer.scene.globe.ellipsoid, I));
2120
2124
  }), l.push(this.offsetWires12[e + 1]), l.push(this.offsetWires12[e - 5]), this.offsetArcWires1B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires12[e + 2]), u.push(this.offsetWires12[e - 4]), this.offsetArcWires1B = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires12[e + 3]), C.push(this.offsetWires12[e - 3]), this.offsetArcWires1B = f(C), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires12[e + 4]), o.push(this.offsetWires12[e - 2]), this.offsetArcWires1B = f(o), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires12[e + 5]), c.push(this.offsetWires12[e - 1]), this.offsetArcWires1B = f(c), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2121
2125
  break;
2122
2126
  case p.八分裂:
2123
- i.push(this.offsetWires12[e]), i.push(this.offsetWires12[e - 8]), this.offsetArcWires1B = f(i), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((I) => {
2127
+ t.push(this.offsetWires12[e]), t.push(this.offsetWires12[e - 8]), this.offsetArcWires1B = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((I) => {
2124
2128
  this.arcLine1B1.push(z(this.viewer.scene.globe.ellipsoid, I));
2125
2129
  }), l.push(this.offsetWires12[e + 1]), l.push(this.offsetWires12[e - 7]), this.offsetArcWires1B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires12[e + 2]), u.push(this.offsetWires12[e - 6]), this.offsetArcWires1B = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires12[e + 3]), C.push(this.offsetWires12[e - 5]), this.offsetArcWires1B = f(C), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires12[e + 4]), o.push(this.offsetWires12[e - 4]), this.offsetArcWires1B = f(o), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires12[e + 5]), c.push(this.offsetWires12[e - 3]), this.offsetArcWires1B = f(c), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), m.push(this.offsetWires12[e + 6]), m.push(this.offsetWires12[e - 2]), this.offsetArcWires1B = f(m), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B7" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), b.push(this.offsetWires12[e + 7]), b.push(this.offsetWires12[e - 1]), this.offsetArcWires1B = f(b), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2126
2130
  break;
2127
2131
  }
2128
2132
  }
2129
2133
  if (this.offsetWires13.length > 0 && s > 0) {
2130
- const i = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [];
2134
+ const t = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [];
2131
2135
  switch (this.LineInfo.Wairnum) {
2132
2136
  case p.单分裂:
2133
- i.push(this.offsetWires13[e]), i.push(this.offsetWires13[e - 1]), this.offsetArcWires1C = f(i), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2137
+ t.push(this.offsetWires13[e]), t.push(this.offsetWires13[e - 1]), this.offsetArcWires1C = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2134
2138
  break;
2135
2139
  case p.双分裂:
2136
- i.push(this.offsetWires13[e]), i.push(this.offsetWires13[e - 2]), this.offsetArcWires1C = f(i), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires13[e + 1]), l.push(this.offsetWires13[e - 1]), this.offsetArcWires1C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2140
+ t.push(this.offsetWires13[e]), t.push(this.offsetWires13[e - 2]), this.offsetArcWires1C = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires13[e + 1]), l.push(this.offsetWires13[e - 1]), this.offsetArcWires1C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2137
2141
  break;
2138
2142
  case p.四分裂:
2139
- i.push(this.offsetWires13[e]), i.push(this.offsetWires13[e - 4]), this.offsetArcWires1C = f(i), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires13[e + 1]), l.push(this.offsetWires13[e - 3]), this.offsetArcWires1C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires13[e + 2]), u.push(this.offsetWires13[e - 2]), this.offsetArcWires1C = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires13[e + 3]), C.push(this.offsetWires13[e - 1]), this.offsetArcWires1C = f(C), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2143
+ t.push(this.offsetWires13[e]), t.push(this.offsetWires13[e - 4]), this.offsetArcWires1C = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires13[e + 1]), l.push(this.offsetWires13[e - 3]), this.offsetArcWires1C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires13[e + 2]), u.push(this.offsetWires13[e - 2]), this.offsetArcWires1C = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires13[e + 3]), C.push(this.offsetWires13[e - 1]), this.offsetArcWires1C = f(C), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2140
2144
  break;
2141
2145
  case p.六分裂:
2142
- i.push(this.offsetWires13[e]), i.push(this.offsetWires13[e - 6]), this.offsetArcWires1C = f(i), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires13[e + 1]), l.push(this.offsetWires13[e - 5]), this.offsetArcWires1C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires13[e + 2]), u.push(this.offsetWires13[e - 4]), this.offsetArcWires1C = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires13[e + 3]), C.push(this.offsetWires13[e - 3]), this.offsetArcWires1C = f(C), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires13[e + 4]), o.push(this.offsetWires13[e - 2]), this.offsetArcWires1C = f(o), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires13[e + 5]), c.push(this.offsetWires13[e - 1]), this.offsetArcWires1C = f(c), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2146
+ t.push(this.offsetWires13[e]), t.push(this.offsetWires13[e - 6]), this.offsetArcWires1C = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires13[e + 1]), l.push(this.offsetWires13[e - 5]), this.offsetArcWires1C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires13[e + 2]), u.push(this.offsetWires13[e - 4]), this.offsetArcWires1C = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires13[e + 3]), C.push(this.offsetWires13[e - 3]), this.offsetArcWires1C = f(C), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires13[e + 4]), o.push(this.offsetWires13[e - 2]), this.offsetArcWires1C = f(o), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires13[e + 5]), c.push(this.offsetWires13[e - 1]), this.offsetArcWires1C = f(c), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2143
2147
  break;
2144
2148
  case p.八分裂:
2145
- i.push(this.offsetWires13[e]), i.push(this.offsetWires13[e - 8]), this.offsetArcWires1C = f(i), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires13[e + 1]), l.push(this.offsetWires13[e - 7]), this.offsetArcWires1C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires13[e + 2]), u.push(this.offsetWires13[e - 6]), this.offsetArcWires1C = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires13[e + 3]), C.push(this.offsetWires13[e - 5]), this.offsetArcWires1C = f(C), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires13[e + 4]), o.push(this.offsetWires13[e - 4]), this.offsetArcWires1C = f(o), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires13[e + 5]), c.push(this.offsetWires13[e - 3]), this.offsetArcWires1C = f(c), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), m.push(this.offsetWires13[e + 6]), m.push(this.offsetWires13[e - 2]), this.offsetArcWires1C = f(m), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C7" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), b.push(this.offsetWires13[e + 7]), b.push(this.offsetWires13[e - 1]), this.offsetArcWires1C = f(b), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2149
+ t.push(this.offsetWires13[e]), t.push(this.offsetWires13[e - 8]), this.offsetArcWires1C = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires13[e + 1]), l.push(this.offsetWires13[e - 7]), this.offsetArcWires1C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires13[e + 2]), u.push(this.offsetWires13[e - 6]), this.offsetArcWires1C = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires13[e + 3]), C.push(this.offsetWires13[e - 5]), this.offsetArcWires1C = f(C), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires13[e + 4]), o.push(this.offsetWires13[e - 4]), this.offsetArcWires1C = f(o), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires13[e + 5]), c.push(this.offsetWires13[e - 3]), this.offsetArcWires1C = f(c), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), m.push(this.offsetWires13[e + 6]), m.push(this.offsetWires13[e - 2]), this.offsetArcWires1C = f(m), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C7" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), b.push(this.offsetWires13[e + 7]), b.push(this.offsetWires13[e - 1]), this.offsetArcWires1C = f(b), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2146
2150
  break;
2147
2151
  }
2148
2152
  }
2149
2153
  if (this.offsetWires21.length > 0 && s > 0) {
2150
- const i = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [];
2154
+ const t = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [];
2151
2155
  switch (this.LineInfo.Wairnum) {
2152
2156
  case p.单分裂:
2153
- i.push(this.offsetWires21[e]), i.push(this.offsetWires21[e - 1]), this.offsetArcWires2A = f(i), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2157
+ t.push(this.offsetWires21[e]), t.push(this.offsetWires21[e - 1]), this.offsetArcWires2A = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2154
2158
  break;
2155
2159
  case p.双分裂:
2156
- i.push(this.offsetWires21[e]), i.push(this.offsetWires21[e - 2]), this.offsetArcWires2A = f(i), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires21[e + 1]), l.push(this.offsetWires21[e - 1]), this.offsetArcWires2A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2160
+ t.push(this.offsetWires21[e]), t.push(this.offsetWires21[e - 2]), this.offsetArcWires2A = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires21[e + 1]), l.push(this.offsetWires21[e - 1]), this.offsetArcWires2A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2157
2161
  break;
2158
2162
  case p.四分裂:
2159
- i.push(this.offsetWires21[e]), i.push(this.offsetWires21[e - 4]), this.offsetArcWires2A = f(i), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires21[e + 1]), l.push(this.offsetWires21[e - 3]), this.offsetArcWires2A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires21[e + 2]), u.push(this.offsetWires21[e - 2]), this.offsetArcWires2A = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires21[e + 3]), C.push(this.offsetWires21[e - 1]), this.offsetArcWires2A = f(C), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2163
+ t.push(this.offsetWires21[e]), t.push(this.offsetWires21[e - 4]), this.offsetArcWires2A = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires21[e + 1]), l.push(this.offsetWires21[e - 3]), this.offsetArcWires2A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires21[e + 2]), u.push(this.offsetWires21[e - 2]), this.offsetArcWires2A = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires21[e + 3]), C.push(this.offsetWires21[e - 1]), this.offsetArcWires2A = f(C), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2160
2164
  break;
2161
2165
  case p.六分裂:
2162
- i.push(this.offsetWires21[e]), i.push(this.offsetWires21[e - 6]), this.offsetArcWires2A = f(i), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires21[e + 1]), l.push(this.offsetWires21[e - 5]), this.offsetArcWires2A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires21[e + 2]), u.push(this.offsetWires21[e - 4]), this.offsetArcWires2A = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires21[e + 3]), C.push(this.offsetWires21[e - 3]), this.offsetArcWires2A = f(C), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires21[e + 4]), o.push(this.offsetWires21[e - 2]), this.offsetArcWires2A = f(o), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires21[e + 5]), c.push(this.offsetWires21[e - 1]), this.offsetArcWires2A = f(c), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2166
+ t.push(this.offsetWires21[e]), t.push(this.offsetWires21[e - 6]), this.offsetArcWires2A = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires21[e + 1]), l.push(this.offsetWires21[e - 5]), this.offsetArcWires2A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires21[e + 2]), u.push(this.offsetWires21[e - 4]), this.offsetArcWires2A = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires21[e + 3]), C.push(this.offsetWires21[e - 3]), this.offsetArcWires2A = f(C), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires21[e + 4]), o.push(this.offsetWires21[e - 2]), this.offsetArcWires2A = f(o), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires21[e + 5]), c.push(this.offsetWires21[e - 1]), this.offsetArcWires2A = f(c), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2163
2167
  break;
2164
2168
  case p.八分裂:
2165
- i.push(this.offsetWires21[e]), i.push(this.offsetWires21[e - 8]), this.offsetArcWires2A = f(i), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires21[e + 1]), l.push(this.offsetWires21[e - 7]), this.offsetArcWires2A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires21[e + 2]), u.push(this.offsetWires21[e - 6]), this.offsetArcWires2A = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires21[e + 3]), C.push(this.offsetWires21[e - 5]), this.offsetArcWires2A = f(C), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires21[e + 4]), o.push(this.offsetWires21[e - 4]), this.offsetArcWires2A = f(o), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires21[e + 5]), c.push(this.offsetWires21[e - 3]), this.offsetArcWires2A = f(c), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), m.push(this.offsetWires21[e + 6]), m.push(this.offsetWires21[e - 2]), this.offsetArcWires2A = f(m), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A7" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), b.push(this.offsetWires21[e + 7]), b.push(this.offsetWires21[e - 1]), this.offsetArcWires2A = f(b), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2169
+ t.push(this.offsetWires21[e]), t.push(this.offsetWires21[e - 8]), this.offsetArcWires2A = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires21[e + 1]), l.push(this.offsetWires21[e - 7]), this.offsetArcWires2A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires21[e + 2]), u.push(this.offsetWires21[e - 6]), this.offsetArcWires2A = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires21[e + 3]), C.push(this.offsetWires21[e - 5]), this.offsetArcWires2A = f(C), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires21[e + 4]), o.push(this.offsetWires21[e - 4]), this.offsetArcWires2A = f(o), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires21[e + 5]), c.push(this.offsetWires21[e - 3]), this.offsetArcWires2A = f(c), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), m.push(this.offsetWires21[e + 6]), m.push(this.offsetWires21[e - 2]), this.offsetArcWires2A = f(m), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A7" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), b.push(this.offsetWires21[e + 7]), b.push(this.offsetWires21[e - 1]), this.offsetArcWires2A = f(b), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2166
2170
  break;
2167
2171
  }
2168
2172
  }
2169
2173
  if (this.offsetWires22.length > 0 && s > 0) {
2170
- const i = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [];
2174
+ const t = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [];
2171
2175
  switch (this.LineInfo.Wairnum) {
2172
2176
  case p.单分裂:
2173
- i.push(this.offsetWires22[e]), i.push(this.offsetWires22[e - 1]), this.offsetArcWires2B = f(i), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2177
+ t.push(this.offsetWires22[e]), t.push(this.offsetWires22[e - 1]), this.offsetArcWires2B = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2174
2178
  break;
2175
2179
  case p.双分裂:
2176
- i.push(this.offsetWires22[e]), i.push(this.offsetWires22[e - 2]), this.offsetArcWires2B = f(i), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires22[e + 1]), l.push(this.offsetWires22[e - 1]), this.offsetArcWires2B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2180
+ t.push(this.offsetWires22[e]), t.push(this.offsetWires22[e - 2]), this.offsetArcWires2B = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires22[e + 1]), l.push(this.offsetWires22[e - 1]), this.offsetArcWires2B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2177
2181
  break;
2178
2182
  case p.四分裂:
2179
- i.push(this.offsetWires22[e]), i.push(this.offsetWires22[e - 4]), this.offsetArcWires2B = f(i), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires22[e + 1]), l.push(this.offsetWires22[e - 3]), this.offsetArcWires2B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires22[e + 2]), u.push(this.offsetWires22[e - 2]), this.offsetArcWires2B = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires22[e + 3]), C.push(this.offsetWires22[e - 1]), this.offsetArcWires2B = f(C), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2183
+ t.push(this.offsetWires22[e]), t.push(this.offsetWires22[e - 4]), this.offsetArcWires2B = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires22[e + 1]), l.push(this.offsetWires22[e - 3]), this.offsetArcWires2B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires22[e + 2]), u.push(this.offsetWires22[e - 2]), this.offsetArcWires2B = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires22[e + 3]), C.push(this.offsetWires22[e - 1]), this.offsetArcWires2B = f(C), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2180
2184
  break;
2181
2185
  case p.六分裂:
2182
- i.push(this.offsetWires22[e]), i.push(this.offsetWires22[e - 6]), this.offsetArcWires2B = f(i), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires22[e + 1]), l.push(this.offsetWires22[e - 5]), this.offsetArcWires2B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires22[e + 2]), u.push(this.offsetWires22[e - 4]), this.offsetArcWires2B = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires22[e + 3]), C.push(this.offsetWires22[e - 3]), this.offsetArcWires2B = f(C), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires22[e + 4]), o.push(this.offsetWires22[e - 2]), this.offsetArcWires2B = f(o), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires22[e + 5]), c.push(this.offsetWires22[e - 1]), this.offsetArcWires2B = f(c), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2186
+ t.push(this.offsetWires22[e]), t.push(this.offsetWires22[e - 6]), this.offsetArcWires2B = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires22[e + 1]), l.push(this.offsetWires22[e - 5]), this.offsetArcWires2B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires22[e + 2]), u.push(this.offsetWires22[e - 4]), this.offsetArcWires2B = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires22[e + 3]), C.push(this.offsetWires22[e - 3]), this.offsetArcWires2B = f(C), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires22[e + 4]), o.push(this.offsetWires22[e - 2]), this.offsetArcWires2B = f(o), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires22[e + 5]), c.push(this.offsetWires22[e - 1]), this.offsetArcWires2B = f(c), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2183
2187
  break;
2184
2188
  case p.八分裂:
2185
- i.push(this.offsetWires22[e]), i.push(this.offsetWires22[e - 8]), this.offsetArcWires2B = f(i), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires22[e + 1]), l.push(this.offsetWires22[e - 7]), this.offsetArcWires2B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires22[e + 2]), u.push(this.offsetWires22[e - 6]), this.offsetArcWires2B = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires22[e + 3]), C.push(this.offsetWires22[e - 5]), this.offsetArcWires2B = f(C), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires22[e + 4]), o.push(this.offsetWires22[e - 4]), this.offsetArcWires2B = f(o), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires22[e + 5]), c.push(this.offsetWires22[e - 3]), this.offsetArcWires2B = f(c), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), m.push(this.offsetWires22[e + 6]), m.push(this.offsetWires22[e - 2]), this.offsetArcWires2B = f(m), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B7" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), b.push(this.offsetWires22[e + 7]), b.push(this.offsetWires22[e - 1]), this.offsetArcWires2B = f(b), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2189
+ t.push(this.offsetWires22[e]), t.push(this.offsetWires22[e - 8]), this.offsetArcWires2B = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires22[e + 1]), l.push(this.offsetWires22[e - 7]), this.offsetArcWires2B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires22[e + 2]), u.push(this.offsetWires22[e - 6]), this.offsetArcWires2B = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires22[e + 3]), C.push(this.offsetWires22[e - 5]), this.offsetArcWires2B = f(C), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires22[e + 4]), o.push(this.offsetWires22[e - 4]), this.offsetArcWires2B = f(o), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires22[e + 5]), c.push(this.offsetWires22[e - 3]), this.offsetArcWires2B = f(c), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), m.push(this.offsetWires22[e + 6]), m.push(this.offsetWires22[e - 2]), this.offsetArcWires2B = f(m), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B7" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), b.push(this.offsetWires22[e + 7]), b.push(this.offsetWires22[e - 1]), this.offsetArcWires2B = f(b), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2186
2190
  break;
2187
2191
  }
2188
2192
  }
2189
2193
  if (this.offsetWires23.length > 0 && s > 0) {
2190
- const i = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [];
2194
+ const t = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [];
2191
2195
  switch (this.LineInfo.Wairnum) {
2192
2196
  case p.单分裂:
2193
- i.push(this.offsetWires23[e]), i.push(this.offsetWires23[e - 1]), this.offsetArcWires2C = f(i), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2197
+ t.push(this.offsetWires23[e]), t.push(this.offsetWires23[e - 1]), this.offsetArcWires2C = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2194
2198
  break;
2195
2199
  case p.双分裂:
2196
- i.push(this.offsetWires23[e]), i.push(this.offsetWires23[e - 2]), this.offsetArcWires2C = f(i), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires23[e + 1]), l.push(this.offsetWires23[e - 1]), this.offsetArcWires2C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2200
+ t.push(this.offsetWires23[e]), t.push(this.offsetWires23[e - 2]), this.offsetArcWires2C = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires23[e + 1]), l.push(this.offsetWires23[e - 1]), this.offsetArcWires2C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2197
2201
  break;
2198
2202
  case p.四分裂:
2199
- i.push(this.offsetWires23[e]), i.push(this.offsetWires23[e - 4]), this.offsetArcWires2C = f(i), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires23[e + 1]), l.push(this.offsetWires23[e - 3]), this.offsetArcWires2C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires23[e + 2]), u.push(this.offsetWires23[e - 2]), this.offsetArcWires2C = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires23[e + 3]), C.push(this.offsetWires23[e - 1]), this.offsetArcWires2C = f(C), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2203
+ t.push(this.offsetWires23[e]), t.push(this.offsetWires23[e - 4]), this.offsetArcWires2C = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires23[e + 1]), l.push(this.offsetWires23[e - 3]), this.offsetArcWires2C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires23[e + 2]), u.push(this.offsetWires23[e - 2]), this.offsetArcWires2C = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires23[e + 3]), C.push(this.offsetWires23[e - 1]), this.offsetArcWires2C = f(C), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2200
2204
  break;
2201
2205
  case p.六分裂:
2202
- i.push(this.offsetWires23[e]), i.push(this.offsetWires23[e - 6]), this.offsetArcWires2C = f(i), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires23[e + 1]), l.push(this.offsetWires23[e - 5]), this.offsetArcWires2C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires23[e + 2]), u.push(this.offsetWires23[e - 4]), this.offsetArcWires2C = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires23[e + 3]), C.push(this.offsetWires23[e - 3]), this.offsetArcWires2C = f(C), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires23[e + 4]), o.push(this.offsetWires23[e - 2]), this.offsetArcWires2C = f(o), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires23[e + 5]), c.push(this.offsetWires23[e - 1]), this.offsetArcWires2C = f(c), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2206
+ t.push(this.offsetWires23[e]), t.push(this.offsetWires23[e - 6]), this.offsetArcWires2C = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires23[e + 1]), l.push(this.offsetWires23[e - 5]), this.offsetArcWires2C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires23[e + 2]), u.push(this.offsetWires23[e - 4]), this.offsetArcWires2C = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires23[e + 3]), C.push(this.offsetWires23[e - 3]), this.offsetArcWires2C = f(C), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires23[e + 4]), o.push(this.offsetWires23[e - 2]), this.offsetArcWires2C = f(o), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires23[e + 5]), c.push(this.offsetWires23[e - 1]), this.offsetArcWires2C = f(c), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2203
2207
  break;
2204
2208
  case p.八分裂:
2205
- i.push(this.offsetWires23[e]), i.push(this.offsetWires23[e - 8]), this.offsetArcWires2C = f(i), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires23[e + 1]), l.push(this.offsetWires23[e - 7]), this.offsetArcWires2C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires23[e + 2]), u.push(this.offsetWires23[e - 6]), this.offsetArcWires2C = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires23[e + 3]), C.push(this.offsetWires23[e - 5]), this.offsetArcWires2C = f(C), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires23[e + 4]), o.push(this.offsetWires23[e - 4]), this.offsetArcWires2C = f(o), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires23[e + 5]), c.push(this.offsetWires23[e - 3]), this.offsetArcWires2C = f(c), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), m.push(this.offsetWires23[e + 6]), m.push(this.offsetWires23[e - 2]), this.offsetArcWires2C = f(m), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C7" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), b.push(this.offsetWires23[e + 7]), b.push(this.offsetWires23[e - 1]), this.offsetArcWires2C = f(b), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2209
+ t.push(this.offsetWires23[e]), t.push(this.offsetWires23[e - 8]), this.offsetArcWires2C = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires23[e + 1]), l.push(this.offsetWires23[e - 7]), this.offsetArcWires2C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires23[e + 2]), u.push(this.offsetWires23[e - 6]), this.offsetArcWires2C = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires23[e + 3]), C.push(this.offsetWires23[e - 5]), this.offsetArcWires2C = f(C), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires23[e + 4]), o.push(this.offsetWires23[e - 4]), this.offsetArcWires2C = f(o), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires23[e + 5]), c.push(this.offsetWires23[e - 3]), this.offsetArcWires2C = f(c), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), m.push(this.offsetWires23[e + 6]), m.push(this.offsetWires23[e - 2]), this.offsetArcWires2C = f(m), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C7" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), b.push(this.offsetWires23[e + 7]), b.push(this.offsetWires23[e - 1]), this.offsetArcWires2C = f(b), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2206
2210
  break;
2207
2211
  }
2208
2212
  }
2209
2213
  if (this.offsetGrouundWires11.length > 1) {
2210
- const i = [];
2211
- i.push(this.offsetGrouundWires11[s]), i.push(this.offsetGrouundWires11[s - 1]);
2214
+ const t = [];
2215
+ t.push(this.offsetGrouundWires11[s]), t.push(this.offsetGrouundWires11[s - 1]);
2212
2216
  const l = [];
2213
- l.push(this.offsetGrouundWires12[s]), l.push(this.offsetGrouundWires12[s - 1]), this.offsetGrouundWires1 = f(i, 2), this.offsetGrouundWires2 = f(l, 2), this.offsetGrouundWires1.forEach((u) => {
2217
+ l.push(this.offsetGrouundWires12[s]), l.push(this.offsetGrouundWires12[s - 1]), this.offsetGrouundWires1 = f(t, 2), this.offsetGrouundWires2 = f(l, 2), this.offsetGrouundWires1.forEach((u) => {
2214
2218
  this.arcLine1D1.push(z(this.viewer.scene.globe.ellipsoid, u));
2215
2219
  }), this.LineentityCollection2.add(h(this.offsetGrouundWires1, "地线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireD1Color)), this.LineentityCollection2.add(h(this.offsetGrouundWires2, "地线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireD2Color));
2216
2220
  }
@@ -2218,138 +2222,138 @@ const es = class es {
2218
2222
  if (this.LineInfo.towers[s].type == V.耐张塔) {
2219
2223
  switch (this.LineInfo.Wairnum) {
2220
2224
  case p.单分裂:
2221
- e = e + d, t = t + d;
2225
+ e = e + d, i = i + d;
2222
2226
  break;
2223
2227
  case p.双分裂:
2224
- e = e + d * 2, t = t + d * 2;
2228
+ e = e + d * 2, i = i + d * 2;
2225
2229
  break;
2226
2230
  case p.四分裂:
2227
- e = e + d * 4, t = t + d * 4;
2231
+ e = e + d * 4, i = i + d * 4;
2228
2232
  break;
2229
2233
  case p.六分裂:
2230
- e = e + d * 6, t = t + d * 6;
2234
+ e = e + d * 6, i = i + d * 6;
2231
2235
  break;
2232
2236
  case p.八分裂:
2233
- e = e + d * 8, t = t + d * 8;
2237
+ e = e + d * 8, i = i + d * 8;
2234
2238
  break;
2235
2239
  }
2236
2240
  if (this.ToffsetWires1A1.length > 1 && this.ToffsetWires1A2.length > 1) {
2237
- const i = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], _ = [], v = [], S = [], M = [];
2241
+ const t = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], v = [], _ = [], S = [], M = [];
2238
2242
  switch (this.LineInfo.Wairnum) {
2239
2243
  case p.单分裂:
2240
- this.ToffsetWires1A1.length >= 2 && (i.push(this.ToffsetWires1A1[t - 2]), i.push(this.ToffsetWires1A1[t - 1]), this.ToffsetArcWires1A = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 2 && (I.push(this.ToffsetWires1A2[t - 2]), I.push(this.ToffsetWires1A2[t - 1]), this.ToffsetArcWires2A = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2244
+ this.ToffsetWires1A1.length >= 2 && (t.push(this.ToffsetWires1A1[i - 2]), t.push(this.ToffsetWires1A1[i - 1]), this.ToffsetArcWires1A = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 2 && (I.push(this.ToffsetWires1A2[i - 2]), I.push(this.ToffsetWires1A2[i - 1]), this.ToffsetArcWires2A = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2241
2245
  break;
2242
2246
  case p.双分裂:
2243
- this.ToffsetWires1A1.length >= 4 && (i.push(this.ToffsetWires1A1[t - 4]), i.push(this.ToffsetWires1A1[t - 2]), this.ToffsetArcWires1A = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1A1[t - 3]), l.push(this.ToffsetWires1A1[t - 1]), this.ToffsetArcWires1A = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 4 && (I.push(this.ToffsetWires1A2[t - 4]), I.push(this.ToffsetWires1A2[t - 2]), this.ToffsetArcWires2A = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1A2[t - 3]), P.push(this.ToffsetWires1A2[t - 1]), this.ToffsetArcWires2A = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2247
+ this.ToffsetWires1A1.length >= 4 && (t.push(this.ToffsetWires1A1[i - 4]), t.push(this.ToffsetWires1A1[i - 2]), this.ToffsetArcWires1A = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1A1[i - 3]), l.push(this.ToffsetWires1A1[i - 1]), this.ToffsetArcWires1A = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 4 && (I.push(this.ToffsetWires1A2[i - 4]), I.push(this.ToffsetWires1A2[i - 2]), this.ToffsetArcWires2A = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1A2[i - 3]), P.push(this.ToffsetWires1A2[i - 1]), this.ToffsetArcWires2A = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2244
2248
  break;
2245
2249
  case p.四分裂:
2246
- this.ToffsetWires1A1.length >= 8 && (i.push(this.ToffsetWires1A1[t - 8]), i.push(this.ToffsetWires1A1[t - 4]), this.ToffsetArcWires1A = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1A1[t - 7]), l.push(this.ToffsetWires1A1[t - 3]), this.ToffsetArcWires1A = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1A1[t - 6]), u.push(this.ToffsetWires1A1[t - 2]), this.ToffsetArcWires1A = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires1A1[t - 5]), C.push(this.ToffsetWires1A1[t - 1]), this.ToffsetArcWires1A = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 8 && (I.push(this.ToffsetWires1A2[t - 8]), I.push(this.ToffsetWires1A2[t - 4]), this.ToffsetArcWires2A = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1A2[t - 7]), P.push(this.ToffsetWires1A2[t - 3]), this.ToffsetArcWires2A = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1A2[t - 6]), g.push(this.ToffsetWires1A2[t - 2]), this.ToffsetArcWires2A = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1A2[t - 5]), y.push(this.ToffsetWires1A2[t - 1]), this.ToffsetArcWires2A = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2250
+ this.ToffsetWires1A1.length >= 8 && (t.push(this.ToffsetWires1A1[i - 8]), t.push(this.ToffsetWires1A1[i - 4]), this.ToffsetArcWires1A = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1A1[i - 7]), l.push(this.ToffsetWires1A1[i - 3]), this.ToffsetArcWires1A = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1A1[i - 6]), u.push(this.ToffsetWires1A1[i - 2]), this.ToffsetArcWires1A = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires1A1[i - 5]), C.push(this.ToffsetWires1A1[i - 1]), this.ToffsetArcWires1A = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 8 && (I.push(this.ToffsetWires1A2[i - 8]), I.push(this.ToffsetWires1A2[i - 4]), this.ToffsetArcWires2A = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1A2[i - 7]), P.push(this.ToffsetWires1A2[i - 3]), this.ToffsetArcWires2A = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1A2[i - 6]), g.push(this.ToffsetWires1A2[i - 2]), this.ToffsetArcWires2A = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1A2[i - 5]), y.push(this.ToffsetWires1A2[i - 1]), this.ToffsetArcWires2A = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2247
2251
  break;
2248
2252
  case p.六分裂:
2249
- this.ToffsetWires1A1.length >= 12 && (i.push(this.ToffsetWires1A1[t - 12]), i.push(this.ToffsetWires1A1[t - 6]), this.ToffsetArcWires1A = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1A1[t - 11]), l.push(this.ToffsetWires1A1[t - 5]), this.ToffsetArcWires1A = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1A1[t - 10]), u.push(this.ToffsetWires1A1[t - 4]), this.ToffsetArcWires1A = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires1A1[t - 9]), C.push(this.ToffsetWires1A1[t - 3]), this.ToffsetArcWires1A = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires1A1[t - 8]), o.push(this.ToffsetWires1A1[t - 2]), this.ToffsetArcWires1A = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1A1[t - 7]), c.push(this.ToffsetWires1A1[t - 1]), this.ToffsetArcWires1A = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 12 && (I.push(this.ToffsetWires1A2[t - 12]), I.push(this.ToffsetWires1A2[t - 6]), this.ToffsetArcWires2A = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1A2[t - 11]), P.push(this.ToffsetWires1A2[t - 5]), this.ToffsetArcWires2A = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1A2[t - 10]), g.push(this.ToffsetWires1A2[t - 4]), this.ToffsetArcWires2A = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1A2[t - 9]), y.push(this.ToffsetWires1A2[t - 3]), this.ToffsetArcWires2A = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1A2[t - 8]), _.push(this.ToffsetWires1A2[t - 2]), this.ToffsetArcWires2A = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1A2[t - 7]), v.push(this.ToffsetWires1A2[t - 1]), this.ToffsetArcWires2A = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2253
+ this.ToffsetWires1A1.length >= 12 && (t.push(this.ToffsetWires1A1[i - 12]), t.push(this.ToffsetWires1A1[i - 6]), this.ToffsetArcWires1A = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1A1[i - 11]), l.push(this.ToffsetWires1A1[i - 5]), this.ToffsetArcWires1A = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1A1[i - 10]), u.push(this.ToffsetWires1A1[i - 4]), this.ToffsetArcWires1A = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires1A1[i - 9]), C.push(this.ToffsetWires1A1[i - 3]), this.ToffsetArcWires1A = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires1A1[i - 8]), o.push(this.ToffsetWires1A1[i - 2]), this.ToffsetArcWires1A = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1A1[i - 7]), c.push(this.ToffsetWires1A1[i - 1]), this.ToffsetArcWires1A = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 12 && (I.push(this.ToffsetWires1A2[i - 12]), I.push(this.ToffsetWires1A2[i - 6]), this.ToffsetArcWires2A = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1A2[i - 11]), P.push(this.ToffsetWires1A2[i - 5]), this.ToffsetArcWires2A = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1A2[i - 10]), g.push(this.ToffsetWires1A2[i - 4]), this.ToffsetArcWires2A = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1A2[i - 9]), y.push(this.ToffsetWires1A2[i - 3]), this.ToffsetArcWires2A = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1A2[i - 8]), v.push(this.ToffsetWires1A2[i - 2]), this.ToffsetArcWires2A = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1A2[i - 7]), _.push(this.ToffsetWires1A2[i - 1]), this.ToffsetArcWires2A = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2250
2254
  break;
2251
2255
  case p.八分裂:
2252
- this.ToffsetWires1A1.length >= 16 && (i.push(this.ToffsetWires1A1[t - 16]), i.push(this.ToffsetWires1A1[t - 8]), this.ToffsetArcWires1A = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1A1[t - 15]), l.push(this.ToffsetWires1A1[t - 7]), this.ToffsetArcWires1A = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1A1[t - 14]), u.push(this.ToffsetWires1A1[t - 6]), this.ToffsetArcWires1A = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires1A1[t - 13]), C.push(this.ToffsetWires1A1[t - 5]), this.ToffsetArcWires1A = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires1A1[t - 12]), o.push(this.ToffsetWires1A1[t - 4]), this.ToffsetArcWires1A = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1A1[t - 11]), c.push(this.ToffsetWires1A1[t - 3]), this.ToffsetArcWires1A = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires1A1[t - 10]), m.push(this.ToffsetWires1A1[t - 2]), this.ToffsetArcWires1A = f(m, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires1A1[t - 9]), b.push(this.ToffsetWires1A1[t - 1]), this.ToffsetArcWires1A = f(b, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 16 && (I.push(this.ToffsetWires1A2[t - 16]), I.push(this.ToffsetWires1A2[t - 8]), this.ToffsetArcWires2A = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1A2[t - 15]), P.push(this.ToffsetWires1A2[t - 7]), this.ToffsetArcWires2A = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1A2[t - 14]), g.push(this.ToffsetWires1A2[t - 6]), this.ToffsetArcWires2A = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1A2[t - 13]), y.push(this.ToffsetWires1A2[t - 5]), this.ToffsetArcWires2A = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1A2[t - 12]), _.push(this.ToffsetWires1A2[t - 4]), this.ToffsetArcWires2A = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1A2[t - 11]), v.push(this.ToffsetWires1A2[t - 3]), this.ToffsetArcWires2A = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), S.push(this.ToffsetWires1A2[t - 10]), S.push(this.ToffsetWires1A2[t - 2]), this.ToffsetArcWires2A = f(S, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires1A2[t - 9]), M.push(this.ToffsetWires1A2[t - 1]), this.ToffsetArcWires2A = f(M, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2256
+ this.ToffsetWires1A1.length >= 16 && (t.push(this.ToffsetWires1A1[i - 16]), t.push(this.ToffsetWires1A1[i - 8]), this.ToffsetArcWires1A = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1A1[i - 15]), l.push(this.ToffsetWires1A1[i - 7]), this.ToffsetArcWires1A = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1A1[i - 14]), u.push(this.ToffsetWires1A1[i - 6]), this.ToffsetArcWires1A = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires1A1[i - 13]), C.push(this.ToffsetWires1A1[i - 5]), this.ToffsetArcWires1A = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires1A1[i - 12]), o.push(this.ToffsetWires1A1[i - 4]), this.ToffsetArcWires1A = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1A1[i - 11]), c.push(this.ToffsetWires1A1[i - 3]), this.ToffsetArcWires1A = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires1A1[i - 10]), m.push(this.ToffsetWires1A1[i - 2]), this.ToffsetArcWires1A = f(m, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires1A1[i - 9]), b.push(this.ToffsetWires1A1[i - 1]), this.ToffsetArcWires1A = f(b, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 16 && (I.push(this.ToffsetWires1A2[i - 16]), I.push(this.ToffsetWires1A2[i - 8]), this.ToffsetArcWires2A = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1A2[i - 15]), P.push(this.ToffsetWires1A2[i - 7]), this.ToffsetArcWires2A = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1A2[i - 14]), g.push(this.ToffsetWires1A2[i - 6]), this.ToffsetArcWires2A = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1A2[i - 13]), y.push(this.ToffsetWires1A2[i - 5]), this.ToffsetArcWires2A = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1A2[i - 12]), v.push(this.ToffsetWires1A2[i - 4]), this.ToffsetArcWires2A = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1A2[i - 11]), _.push(this.ToffsetWires1A2[i - 3]), this.ToffsetArcWires2A = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), S.push(this.ToffsetWires1A2[i - 10]), S.push(this.ToffsetWires1A2[i - 2]), this.ToffsetArcWires2A = f(S, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires1A2[i - 9]), M.push(this.ToffsetWires1A2[i - 1]), this.ToffsetArcWires2A = f(M, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2253
2257
  break;
2254
2258
  }
2255
2259
  }
2256
2260
  if (this.ToffsetWires1B1.length > 1 && this.ToffsetWires1B2.length > 1) {
2257
- const i = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], _ = [], v = [], S = [], M = [];
2261
+ const t = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], v = [], _ = [], S = [], M = [];
2258
2262
  switch (this.LineInfo.Wairnum) {
2259
2263
  case p.单分裂:
2260
- this.ToffsetWires1B1.length >= 2 && (i.push(this.ToffsetWires1B1[t - 2]), i.push(this.ToffsetWires1B1[t - 1]), this.ToffsetArcWires1B = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 2 && (I.push(this.ToffsetWires1B2[t - 2]), I.push(this.ToffsetWires1B2[t - 1]), this.ToffsetArcWires2B = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2264
+ this.ToffsetWires1B1.length >= 2 && (t.push(this.ToffsetWires1B1[i - 2]), t.push(this.ToffsetWires1B1[i - 1]), this.ToffsetArcWires1B = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 2 && (I.push(this.ToffsetWires1B2[i - 2]), I.push(this.ToffsetWires1B2[i - 1]), this.ToffsetArcWires2B = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2261
2265
  break;
2262
2266
  case p.双分裂:
2263
- this.ToffsetWires1B1.length >= 4 && (i.push(this.ToffsetWires1B1[t - 4]), i.push(this.ToffsetWires1B1[t - 2]), this.ToffsetArcWires1B = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1B1[t - 3]), l.push(this.ToffsetWires1B1[t - 1]), this.ToffsetArcWires1B = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 4 && (I.push(this.ToffsetWires1B2[t - 4]), I.push(this.ToffsetWires1B2[t - 2]), this.ToffsetArcWires2B = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1B2[t - 3]), P.push(this.ToffsetWires1B2[t - 1]), this.ToffsetArcWires2B = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2267
+ this.ToffsetWires1B1.length >= 4 && (t.push(this.ToffsetWires1B1[i - 4]), t.push(this.ToffsetWires1B1[i - 2]), this.ToffsetArcWires1B = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1B1[i - 3]), l.push(this.ToffsetWires1B1[i - 1]), this.ToffsetArcWires1B = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 4 && (I.push(this.ToffsetWires1B2[i - 4]), I.push(this.ToffsetWires1B2[i - 2]), this.ToffsetArcWires2B = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1B2[i - 3]), P.push(this.ToffsetWires1B2[i - 1]), this.ToffsetArcWires2B = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2264
2268
  break;
2265
2269
  case p.四分裂:
2266
- this.ToffsetWires1B1.length >= 8 && (i.push(this.ToffsetWires1B1[t - 8]), i.push(this.ToffsetWires1B1[t - 4]), this.ToffsetArcWires1B = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1B1[t - 7]), l.push(this.ToffsetWires1B1[t - 3]), this.ToffsetArcWires1B = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1B1[t - 6]), u.push(this.ToffsetWires1B1[t - 2]), this.ToffsetArcWires1B = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires1B1[t - 5]), C.push(this.ToffsetWires1B1[t - 1]), this.ToffsetArcWires1B = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 8 && (I.push(this.ToffsetWires1B2[t - 8]), I.push(this.ToffsetWires1B2[t - 4]), this.ToffsetArcWires2B = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1B2[t - 7]), P.push(this.ToffsetWires1B2[t - 3]), this.ToffsetArcWires2B = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1B2[t - 6]), g.push(this.ToffsetWires1B2[t - 2]), this.ToffsetArcWires2B = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1B2[t - 5]), y.push(this.ToffsetWires1B2[t - 1]), this.ToffsetArcWires2B = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2270
+ this.ToffsetWires1B1.length >= 8 && (t.push(this.ToffsetWires1B1[i - 8]), t.push(this.ToffsetWires1B1[i - 4]), this.ToffsetArcWires1B = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1B1[i - 7]), l.push(this.ToffsetWires1B1[i - 3]), this.ToffsetArcWires1B = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1B1[i - 6]), u.push(this.ToffsetWires1B1[i - 2]), this.ToffsetArcWires1B = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires1B1[i - 5]), C.push(this.ToffsetWires1B1[i - 1]), this.ToffsetArcWires1B = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 8 && (I.push(this.ToffsetWires1B2[i - 8]), I.push(this.ToffsetWires1B2[i - 4]), this.ToffsetArcWires2B = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1B2[i - 7]), P.push(this.ToffsetWires1B2[i - 3]), this.ToffsetArcWires2B = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1B2[i - 6]), g.push(this.ToffsetWires1B2[i - 2]), this.ToffsetArcWires2B = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1B2[i - 5]), y.push(this.ToffsetWires1B2[i - 1]), this.ToffsetArcWires2B = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2267
2271
  break;
2268
2272
  case p.六分裂:
2269
- this.ToffsetWires1B1.length >= 12 && (i.push(this.ToffsetWires1B1[t - 12]), i.push(this.ToffsetWires1B1[t - 6]), this.ToffsetArcWires1B = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1B1[t - 11]), l.push(this.ToffsetWires1B1[t - 5]), this.ToffsetArcWires1B = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1B1[t - 10]), u.push(this.ToffsetWires1B1[t - 4]), this.ToffsetArcWires1B = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires1B1[t - 9]), C.push(this.ToffsetWires1B1[t - 3]), this.ToffsetArcWires1B = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires1B1[t - 8]), o.push(this.ToffsetWires1B1[t - 2]), this.ToffsetArcWires1B = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1B1[t - 7]), c.push(this.ToffsetWires1B1[t - 1]), this.ToffsetArcWires1B = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 12 && (I.push(this.ToffsetWires1B2[t - 12]), I.push(this.ToffsetWires1B2[t - 6]), this.ToffsetArcWires2B = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1B2[t - 11]), P.push(this.ToffsetWires1B2[t - 5]), this.ToffsetArcWires2B = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1B2[t - 10]), g.push(this.ToffsetWires1B2[t - 4]), this.ToffsetArcWires2B = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1B2[t - 9]), y.push(this.ToffsetWires1B2[t - 3]), this.ToffsetArcWires2B = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1B2[t - 8]), _.push(this.ToffsetWires1B2[t - 2]), this.ToffsetArcWires2B = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1B2[t - 7]), v.push(this.ToffsetWires1B2[t - 1]), this.ToffsetArcWires2B = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2273
+ this.ToffsetWires1B1.length >= 12 && (t.push(this.ToffsetWires1B1[i - 12]), t.push(this.ToffsetWires1B1[i - 6]), this.ToffsetArcWires1B = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1B1[i - 11]), l.push(this.ToffsetWires1B1[i - 5]), this.ToffsetArcWires1B = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1B1[i - 10]), u.push(this.ToffsetWires1B1[i - 4]), this.ToffsetArcWires1B = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires1B1[i - 9]), C.push(this.ToffsetWires1B1[i - 3]), this.ToffsetArcWires1B = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires1B1[i - 8]), o.push(this.ToffsetWires1B1[i - 2]), this.ToffsetArcWires1B = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1B1[i - 7]), c.push(this.ToffsetWires1B1[i - 1]), this.ToffsetArcWires1B = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 12 && (I.push(this.ToffsetWires1B2[i - 12]), I.push(this.ToffsetWires1B2[i - 6]), this.ToffsetArcWires2B = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1B2[i - 11]), P.push(this.ToffsetWires1B2[i - 5]), this.ToffsetArcWires2B = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1B2[i - 10]), g.push(this.ToffsetWires1B2[i - 4]), this.ToffsetArcWires2B = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1B2[i - 9]), y.push(this.ToffsetWires1B2[i - 3]), this.ToffsetArcWires2B = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1B2[i - 8]), v.push(this.ToffsetWires1B2[i - 2]), this.ToffsetArcWires2B = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1B2[i - 7]), _.push(this.ToffsetWires1B2[i - 1]), this.ToffsetArcWires2B = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2270
2274
  break;
2271
2275
  case p.八分裂:
2272
- this.ToffsetWires1B1.length >= 16 && (i.push(this.ToffsetWires1B1[t - 16]), i.push(this.ToffsetWires1B1[t - 8]), this.ToffsetArcWires1B = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1B1[t - 15]), l.push(this.ToffsetWires1B1[t - 7]), this.ToffsetArcWires1B = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1B1[t - 14]), u.push(this.ToffsetWires1B1[t - 6]), this.ToffsetArcWires1B = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires1B1[t - 13]), C.push(this.ToffsetWires1B1[t - 5]), this.ToffsetArcWires1B = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires1B1[t - 12]), o.push(this.ToffsetWires1B1[t - 4]), this.ToffsetArcWires1B = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1B1[t - 11]), c.push(this.ToffsetWires1B1[t - 3]), this.ToffsetArcWires1B = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires1B1[t - 10]), m.push(this.ToffsetWires1B1[t - 2]), this.ToffsetArcWires1B = f(m, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires1B1[t - 9]), b.push(this.ToffsetWires1B1[t - 1]), this.ToffsetArcWires1B = f(b, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 16 && (I.push(this.ToffsetWires1B2[t - 16]), I.push(this.ToffsetWires1B2[t - 8]), this.ToffsetArcWires2B = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1B2[t - 15]), P.push(this.ToffsetWires1B2[t - 7]), this.ToffsetArcWires2B = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1B2[t - 14]), g.push(this.ToffsetWires1B2[t - 6]), this.ToffsetArcWires2B = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1B2[t - 13]), y.push(this.ToffsetWires1B2[t - 5]), this.ToffsetArcWires2B = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1B2[t - 12]), _.push(this.ToffsetWires1B2[t - 4]), this.ToffsetArcWires2B = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1B2[t - 11]), v.push(this.ToffsetWires1B2[t - 3]), this.ToffsetArcWires2B = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), S.push(this.ToffsetWires1B2[t - 10]), S.push(this.ToffsetWires1B2[t - 2]), this.ToffsetArcWires2B = f(S, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires1B2[t - 9]), M.push(this.ToffsetWires1B2[t - 1]), this.ToffsetArcWires2B = f(M, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2276
+ this.ToffsetWires1B1.length >= 16 && (t.push(this.ToffsetWires1B1[i - 16]), t.push(this.ToffsetWires1B1[i - 8]), this.ToffsetArcWires1B = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1B1[i - 15]), l.push(this.ToffsetWires1B1[i - 7]), this.ToffsetArcWires1B = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1B1[i - 14]), u.push(this.ToffsetWires1B1[i - 6]), this.ToffsetArcWires1B = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires1B1[i - 13]), C.push(this.ToffsetWires1B1[i - 5]), this.ToffsetArcWires1B = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires1B1[i - 12]), o.push(this.ToffsetWires1B1[i - 4]), this.ToffsetArcWires1B = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1B1[i - 11]), c.push(this.ToffsetWires1B1[i - 3]), this.ToffsetArcWires1B = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires1B1[i - 10]), m.push(this.ToffsetWires1B1[i - 2]), this.ToffsetArcWires1B = f(m, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires1B1[i - 9]), b.push(this.ToffsetWires1B1[i - 1]), this.ToffsetArcWires1B = f(b, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 16 && (I.push(this.ToffsetWires1B2[i - 16]), I.push(this.ToffsetWires1B2[i - 8]), this.ToffsetArcWires2B = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1B2[i - 15]), P.push(this.ToffsetWires1B2[i - 7]), this.ToffsetArcWires2B = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1B2[i - 14]), g.push(this.ToffsetWires1B2[i - 6]), this.ToffsetArcWires2B = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1B2[i - 13]), y.push(this.ToffsetWires1B2[i - 5]), this.ToffsetArcWires2B = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1B2[i - 12]), v.push(this.ToffsetWires1B2[i - 4]), this.ToffsetArcWires2B = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1B2[i - 11]), _.push(this.ToffsetWires1B2[i - 3]), this.ToffsetArcWires2B = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), S.push(this.ToffsetWires1B2[i - 10]), S.push(this.ToffsetWires1B2[i - 2]), this.ToffsetArcWires2B = f(S, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires1B2[i - 9]), M.push(this.ToffsetWires1B2[i - 1]), this.ToffsetArcWires2B = f(M, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2273
2277
  break;
2274
2278
  }
2275
2279
  }
2276
2280
  if (this.ToffsetWires1C1.length > 1 && this.ToffsetWires1C2.length > 1) {
2277
- const i = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], _ = [], v = [], S = [], M = [];
2281
+ const t = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], v = [], _ = [], S = [], M = [];
2278
2282
  switch (this.LineInfo.Wairnum) {
2279
2283
  case p.单分裂:
2280
- this.ToffsetWires1C1.length >= 2 && (i.push(this.ToffsetWires1C1[t - 2]), i.push(this.ToffsetWires1C1[t - 1]), this.ToffsetArcWires1C = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 2 && (I.push(this.ToffsetWires1C2[t - 2]), I.push(this.ToffsetWires1C2[t - 1]), this.ToffsetArcWires2C = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2284
+ this.ToffsetWires1C1.length >= 2 && (t.push(this.ToffsetWires1C1[i - 2]), t.push(this.ToffsetWires1C1[i - 1]), this.ToffsetArcWires1C = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 2 && (I.push(this.ToffsetWires1C2[i - 2]), I.push(this.ToffsetWires1C2[i - 1]), this.ToffsetArcWires2C = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2281
2285
  break;
2282
2286
  case p.双分裂:
2283
- this.ToffsetWires1C1.length >= 4 && (i.push(this.ToffsetWires1C1[t - 4]), i.push(this.ToffsetWires1C1[t - 2]), this.ToffsetArcWires1C = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1C1[t - 3]), l.push(this.ToffsetWires1C1[t - 1]), this.ToffsetArcWires1C = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 4 && (I.push(this.ToffsetWires1C2[t - 4]), I.push(this.ToffsetWires1C2[t - 2]), this.ToffsetArcWires2C = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1C2[t - 3]), P.push(this.ToffsetWires1C2[t - 1]), this.ToffsetArcWires2C = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2287
+ this.ToffsetWires1C1.length >= 4 && (t.push(this.ToffsetWires1C1[i - 4]), t.push(this.ToffsetWires1C1[i - 2]), this.ToffsetArcWires1C = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1C1[i - 3]), l.push(this.ToffsetWires1C1[i - 1]), this.ToffsetArcWires1C = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 4 && (I.push(this.ToffsetWires1C2[i - 4]), I.push(this.ToffsetWires1C2[i - 2]), this.ToffsetArcWires2C = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1C2[i - 3]), P.push(this.ToffsetWires1C2[i - 1]), this.ToffsetArcWires2C = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2284
2288
  break;
2285
2289
  case p.四分裂:
2286
- this.ToffsetWires1C1.length >= 8 && (i.push(this.ToffsetWires1C1[t - 8]), i.push(this.ToffsetWires1C1[t - 4]), this.ToffsetArcWires1C = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1C1[t - 7]), l.push(this.ToffsetWires1C1[t - 3]), this.ToffsetArcWires1C = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1C1[t - 6]), u.push(this.ToffsetWires1C1[t - 2]), this.ToffsetArcWires1C = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires1C1[t - 5]), C.push(this.ToffsetWires1C1[t - 1]), this.ToffsetArcWires1C = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 8 && (I.push(this.ToffsetWires1C2[t - 8]), I.push(this.ToffsetWires1C2[t - 4]), this.ToffsetArcWires2C = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1C2[t - 7]), P.push(this.ToffsetWires1C2[t - 3]), this.ToffsetArcWires2C = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1C2[t - 6]), g.push(this.ToffsetWires1C2[t - 2]), this.ToffsetArcWires2C = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1C2[t - 5]), y.push(this.ToffsetWires1C2[t - 1]), this.ToffsetArcWires2C = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2290
+ this.ToffsetWires1C1.length >= 8 && (t.push(this.ToffsetWires1C1[i - 8]), t.push(this.ToffsetWires1C1[i - 4]), this.ToffsetArcWires1C = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1C1[i - 7]), l.push(this.ToffsetWires1C1[i - 3]), this.ToffsetArcWires1C = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1C1[i - 6]), u.push(this.ToffsetWires1C1[i - 2]), this.ToffsetArcWires1C = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires1C1[i - 5]), C.push(this.ToffsetWires1C1[i - 1]), this.ToffsetArcWires1C = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 8 && (I.push(this.ToffsetWires1C2[i - 8]), I.push(this.ToffsetWires1C2[i - 4]), this.ToffsetArcWires2C = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1C2[i - 7]), P.push(this.ToffsetWires1C2[i - 3]), this.ToffsetArcWires2C = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1C2[i - 6]), g.push(this.ToffsetWires1C2[i - 2]), this.ToffsetArcWires2C = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1C2[i - 5]), y.push(this.ToffsetWires1C2[i - 1]), this.ToffsetArcWires2C = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2287
2291
  break;
2288
2292
  case p.六分裂:
2289
- this.ToffsetWires1C1.length >= 12 && (i.push(this.ToffsetWires1C1[t - 12]), i.push(this.ToffsetWires1C1[t - 6]), this.ToffsetArcWires1C = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1C1[t - 11]), l.push(this.ToffsetWires1C1[t - 5]), this.ToffsetArcWires1C = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1C1[t - 10]), u.push(this.ToffsetWires1C1[t - 4]), this.ToffsetArcWires1C = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires1C1[t - 9]), C.push(this.ToffsetWires1C1[t - 3]), this.ToffsetArcWires1C = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires1C1[t - 8]), o.push(this.ToffsetWires1C1[t - 2]), this.ToffsetArcWires1C = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1C1[t - 7]), c.push(this.ToffsetWires1C1[t - 1]), this.ToffsetArcWires1C = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 12 && (I.push(this.ToffsetWires1C2[t - 12]), I.push(this.ToffsetWires1C2[t - 6]), this.ToffsetArcWires2C = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1C2[t - 11]), P.push(this.ToffsetWires1C2[t - 5]), this.ToffsetArcWires2C = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1C2[t - 10]), g.push(this.ToffsetWires1C2[t - 4]), this.ToffsetArcWires2C = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1C2[t - 9]), y.push(this.ToffsetWires1C2[t - 3]), this.ToffsetArcWires2C = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1C2[t - 8]), _.push(this.ToffsetWires1C2[t - 2]), this.ToffsetArcWires2C = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1C2[t - 7]), v.push(this.ToffsetWires1C2[t - 1]), this.ToffsetArcWires2C = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2293
+ this.ToffsetWires1C1.length >= 12 && (t.push(this.ToffsetWires1C1[i - 12]), t.push(this.ToffsetWires1C1[i - 6]), this.ToffsetArcWires1C = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1C1[i - 11]), l.push(this.ToffsetWires1C1[i - 5]), this.ToffsetArcWires1C = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1C1[i - 10]), u.push(this.ToffsetWires1C1[i - 4]), this.ToffsetArcWires1C = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires1C1[i - 9]), C.push(this.ToffsetWires1C1[i - 3]), this.ToffsetArcWires1C = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires1C1[i - 8]), o.push(this.ToffsetWires1C1[i - 2]), this.ToffsetArcWires1C = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1C1[i - 7]), c.push(this.ToffsetWires1C1[i - 1]), this.ToffsetArcWires1C = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 12 && (I.push(this.ToffsetWires1C2[i - 12]), I.push(this.ToffsetWires1C2[i - 6]), this.ToffsetArcWires2C = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1C2[i - 11]), P.push(this.ToffsetWires1C2[i - 5]), this.ToffsetArcWires2C = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1C2[i - 10]), g.push(this.ToffsetWires1C2[i - 4]), this.ToffsetArcWires2C = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1C2[i - 9]), y.push(this.ToffsetWires1C2[i - 3]), this.ToffsetArcWires2C = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1C2[i - 8]), v.push(this.ToffsetWires1C2[i - 2]), this.ToffsetArcWires2C = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1C2[i - 7]), _.push(this.ToffsetWires1C2[i - 1]), this.ToffsetArcWires2C = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2290
2294
  break;
2291
2295
  case p.八分裂:
2292
- this.ToffsetWires1C1.length >= 16 && (i.push(this.ToffsetWires1C1[t - 16]), i.push(this.ToffsetWires1C1[t - 8]), this.ToffsetArcWires1C = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1C1[t - 15]), l.push(this.ToffsetWires1C1[t - 7]), this.ToffsetArcWires1C = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1C1[t - 14]), u.push(this.ToffsetWires1C1[t - 6]), this.ToffsetArcWires1C = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires1C1[t - 13]), C.push(this.ToffsetWires1C1[t - 5]), this.ToffsetArcWires1C = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires1C1[t - 12]), o.push(this.ToffsetWires1C1[t - 4]), this.ToffsetArcWires1C = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1C1[t - 11]), c.push(this.ToffsetWires1C1[t - 3]), this.ToffsetArcWires1C = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires1C1[t - 10]), m.push(this.ToffsetWires1C1[t - 2]), this.ToffsetArcWires1C = f(m, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires1C1[t - 9]), b.push(this.ToffsetWires1C1[t - 1]), this.ToffsetArcWires1C = f(b, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 16 && (I.push(this.ToffsetWires1C2[t - 16]), I.push(this.ToffsetWires1C2[t - 8]), this.ToffsetArcWires2C = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1C2[t - 15]), P.push(this.ToffsetWires1C2[t - 7]), this.ToffsetArcWires2C = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1C2[t - 14]), g.push(this.ToffsetWires1C2[t - 6]), this.ToffsetArcWires2C = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1C2[t - 13]), y.push(this.ToffsetWires1C2[t - 5]), this.ToffsetArcWires2C = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1C2[t - 12]), _.push(this.ToffsetWires1C2[t - 4]), this.ToffsetArcWires2C = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1C2[t - 11]), v.push(this.ToffsetWires1C2[t - 3]), this.ToffsetArcWires2C = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), S.push(this.ToffsetWires1C2[t - 10]), S.push(this.ToffsetWires1C2[t - 2]), this.ToffsetArcWires2C = f(S, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires1C2[t - 9]), M.push(this.ToffsetWires1C2[t - 1]), this.ToffsetArcWires2C = f(M, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2296
+ this.ToffsetWires1C1.length >= 16 && (t.push(this.ToffsetWires1C1[i - 16]), t.push(this.ToffsetWires1C1[i - 8]), this.ToffsetArcWires1C = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1C1[i - 15]), l.push(this.ToffsetWires1C1[i - 7]), this.ToffsetArcWires1C = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1C1[i - 14]), u.push(this.ToffsetWires1C1[i - 6]), this.ToffsetArcWires1C = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires1C1[i - 13]), C.push(this.ToffsetWires1C1[i - 5]), this.ToffsetArcWires1C = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires1C1[i - 12]), o.push(this.ToffsetWires1C1[i - 4]), this.ToffsetArcWires1C = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1C1[i - 11]), c.push(this.ToffsetWires1C1[i - 3]), this.ToffsetArcWires1C = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires1C1[i - 10]), m.push(this.ToffsetWires1C1[i - 2]), this.ToffsetArcWires1C = f(m, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires1C1[i - 9]), b.push(this.ToffsetWires1C1[i - 1]), this.ToffsetArcWires1C = f(b, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 16 && (I.push(this.ToffsetWires1C2[i - 16]), I.push(this.ToffsetWires1C2[i - 8]), this.ToffsetArcWires2C = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1C2[i - 15]), P.push(this.ToffsetWires1C2[i - 7]), this.ToffsetArcWires2C = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1C2[i - 14]), g.push(this.ToffsetWires1C2[i - 6]), this.ToffsetArcWires2C = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1C2[i - 13]), y.push(this.ToffsetWires1C2[i - 5]), this.ToffsetArcWires2C = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1C2[i - 12]), v.push(this.ToffsetWires1C2[i - 4]), this.ToffsetArcWires2C = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1C2[i - 11]), _.push(this.ToffsetWires1C2[i - 3]), this.ToffsetArcWires2C = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), S.push(this.ToffsetWires1C2[i - 10]), S.push(this.ToffsetWires1C2[i - 2]), this.ToffsetArcWires2C = f(S, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires1C2[i - 9]), M.push(this.ToffsetWires1C2[i - 1]), this.ToffsetArcWires2C = f(M, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2293
2297
  break;
2294
2298
  }
2295
2299
  }
2296
2300
  if (this.ToffsetWires2A1.length > 1 && this.ToffsetWires2A2.length > 1) {
2297
- const i = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], _ = [], v = [], S = [], M = [];
2301
+ const t = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], v = [], _ = [], S = [], M = [];
2298
2302
  switch (this.LineInfo.Wairnum) {
2299
2303
  case p.单分裂:
2300
- this.ToffsetWires2A1.length >= 2 && (i.push(this.ToffsetWires2A1[t - 2]), i.push(this.ToffsetWires2A1[t - 1]), this.ToffsetArcWires1A2 = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 2 && (I.push(this.ToffsetWires2A2[t - 2]), I.push(this.ToffsetWires2A2[t - 1]), this.ToffsetArcWires2A2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2304
+ this.ToffsetWires2A1.length >= 2 && (t.push(this.ToffsetWires2A1[i - 2]), t.push(this.ToffsetWires2A1[i - 1]), this.ToffsetArcWires1A2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 2 && (I.push(this.ToffsetWires2A2[i - 2]), I.push(this.ToffsetWires2A2[i - 1]), this.ToffsetArcWires2A2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2301
2305
  break;
2302
2306
  case p.双分裂:
2303
- this.ToffsetWires2A1.length >= 4 && (i.push(this.ToffsetWires2A1[t - 4]), i.push(this.ToffsetWires2A1[t - 2]), this.ToffsetArcWires1A2 = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2A1[t - 3]), l.push(this.ToffsetWires2A1[t - 1]), this.ToffsetArcWires1A2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 4 && (I.push(this.ToffsetWires2A2[t - 4]), I.push(this.ToffsetWires2A2[t - 2]), this.ToffsetArcWires2A2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2A2[t - 3]), P.push(this.ToffsetWires2A2[t - 1]), this.ToffsetArcWires2A2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2307
+ this.ToffsetWires2A1.length >= 4 && (t.push(this.ToffsetWires2A1[i - 4]), t.push(this.ToffsetWires2A1[i - 2]), this.ToffsetArcWires1A2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2A1[i - 3]), l.push(this.ToffsetWires2A1[i - 1]), this.ToffsetArcWires1A2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 4 && (I.push(this.ToffsetWires2A2[i - 4]), I.push(this.ToffsetWires2A2[i - 2]), this.ToffsetArcWires2A2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2A2[i - 3]), P.push(this.ToffsetWires2A2[i - 1]), this.ToffsetArcWires2A2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2304
2308
  break;
2305
2309
  case p.四分裂:
2306
- this.ToffsetWires2A1.length >= 8 && (i.push(this.ToffsetWires2A1[t - 8]), i.push(this.ToffsetWires2A1[t - 4]), this.ToffsetArcWires1A2 = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2A1[t - 7]), l.push(this.ToffsetWires2A1[t - 3]), this.ToffsetArcWires1A2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2A1[t - 6]), u.push(this.ToffsetWires2A1[t - 2]), this.ToffsetArcWires1A2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires2A1[t - 5]), C.push(this.ToffsetWires2A1[t - 1]), this.ToffsetArcWires1A2 = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 8 && (I.push(this.ToffsetWires2A2[t - 8]), I.push(this.ToffsetWires2A2[t - 4]), this.ToffsetArcWires2A2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2A2[t - 7]), P.push(this.ToffsetWires2A2[t - 3]), this.ToffsetArcWires2A2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2A2[t - 6]), g.push(this.ToffsetWires2A2[t - 2]), this.ToffsetArcWires2A2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2A2[t - 5]), y.push(this.ToffsetWires2A2[t - 1]), this.ToffsetArcWires2A2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2310
+ this.ToffsetWires2A1.length >= 8 && (t.push(this.ToffsetWires2A1[i - 8]), t.push(this.ToffsetWires2A1[i - 4]), this.ToffsetArcWires1A2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2A1[i - 7]), l.push(this.ToffsetWires2A1[i - 3]), this.ToffsetArcWires1A2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2A1[i - 6]), u.push(this.ToffsetWires2A1[i - 2]), this.ToffsetArcWires1A2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires2A1[i - 5]), C.push(this.ToffsetWires2A1[i - 1]), this.ToffsetArcWires1A2 = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 8 && (I.push(this.ToffsetWires2A2[i - 8]), I.push(this.ToffsetWires2A2[i - 4]), this.ToffsetArcWires2A2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2A2[i - 7]), P.push(this.ToffsetWires2A2[i - 3]), this.ToffsetArcWires2A2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2A2[i - 6]), g.push(this.ToffsetWires2A2[i - 2]), this.ToffsetArcWires2A2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2A2[i - 5]), y.push(this.ToffsetWires2A2[i - 1]), this.ToffsetArcWires2A2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2307
2311
  break;
2308
2312
  case p.六分裂:
2309
- this.ToffsetWires2A1.length >= 12 && (i.push(this.ToffsetWires2A1[t - 12]), i.push(this.ToffsetWires2A1[t - 6]), this.ToffsetArcWires1A2 = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2A1[t - 11]), l.push(this.ToffsetWires2A1[t - 5]), this.ToffsetArcWires1A2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2A1[t - 10]), u.push(this.ToffsetWires2A1[t - 4]), this.ToffsetArcWires1A2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires2A1[t - 9]), C.push(this.ToffsetWires2A1[t - 3]), this.ToffsetArcWires1A2 = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires2A1[t - 8]), o.push(this.ToffsetWires2A1[t - 2]), this.ToffsetArcWires1A2 = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2A1[t - 7]), c.push(this.ToffsetWires2A1[t - 1]), this.ToffsetArcWires1A2 = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 12 && (I.push(this.ToffsetWires2A2[t - 12]), I.push(this.ToffsetWires2A2[t - 6]), this.ToffsetArcWires2A2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2A2[t - 11]), P.push(this.ToffsetWires2A2[t - 5]), this.ToffsetArcWires2A2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2A2[t - 10]), g.push(this.ToffsetWires2A2[t - 4]), this.ToffsetArcWires2A2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2A2[t - 9]), y.push(this.ToffsetWires2A2[t - 3]), this.ToffsetArcWires2A2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2A2[t - 8]), _.push(this.ToffsetWires2A2[t - 2]), this.ToffsetArcWires2A2 = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2A2[t - 7]), v.push(this.ToffsetWires2A2[t - 1]), this.ToffsetArcWires2A2 = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2313
+ this.ToffsetWires2A1.length >= 12 && (t.push(this.ToffsetWires2A1[i - 12]), t.push(this.ToffsetWires2A1[i - 6]), this.ToffsetArcWires1A2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2A1[i - 11]), l.push(this.ToffsetWires2A1[i - 5]), this.ToffsetArcWires1A2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2A1[i - 10]), u.push(this.ToffsetWires2A1[i - 4]), this.ToffsetArcWires1A2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires2A1[i - 9]), C.push(this.ToffsetWires2A1[i - 3]), this.ToffsetArcWires1A2 = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires2A1[i - 8]), o.push(this.ToffsetWires2A1[i - 2]), this.ToffsetArcWires1A2 = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2A1[i - 7]), c.push(this.ToffsetWires2A1[i - 1]), this.ToffsetArcWires1A2 = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 12 && (I.push(this.ToffsetWires2A2[i - 12]), I.push(this.ToffsetWires2A2[i - 6]), this.ToffsetArcWires2A2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2A2[i - 11]), P.push(this.ToffsetWires2A2[i - 5]), this.ToffsetArcWires2A2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2A2[i - 10]), g.push(this.ToffsetWires2A2[i - 4]), this.ToffsetArcWires2A2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2A2[i - 9]), y.push(this.ToffsetWires2A2[i - 3]), this.ToffsetArcWires2A2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2A2[i - 8]), v.push(this.ToffsetWires2A2[i - 2]), this.ToffsetArcWires2A2 = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2A2[i - 7]), _.push(this.ToffsetWires2A2[i - 1]), this.ToffsetArcWires2A2 = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2310
2314
  break;
2311
2315
  case p.八分裂:
2312
- this.ToffsetWires2A1.length >= 16 && (i.push(this.ToffsetWires2A1[t - 16]), i.push(this.ToffsetWires2A1[t - 8]), this.ToffsetArcWires1A2 = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2A1[t - 15]), l.push(this.ToffsetWires2A1[t - 7]), this.ToffsetArcWires1A2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2A1[t - 14]), u.push(this.ToffsetWires2A1[t - 6]), this.ToffsetArcWires1A2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires2A1[t - 13]), C.push(this.ToffsetWires2A1[t - 5]), this.ToffsetArcWires1A2 = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires2A1[t - 12]), o.push(this.ToffsetWires2A1[t - 4]), this.ToffsetArcWires1A2 = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2A1[t - 11]), c.push(this.ToffsetWires2A1[t - 3]), this.ToffsetArcWires1A2 = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires2A1[t - 10]), m.push(this.ToffsetWires2A1[t - 2]), this.ToffsetArcWires1A2 = f(m, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires2A1[t - 9]), b.push(this.ToffsetWires2A1[t - 1]), this.ToffsetArcWires1A2 = f(b, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 16 && (I.push(this.ToffsetWires2A2[t - 16]), I.push(this.ToffsetWires2A2[t - 8]), this.ToffsetArcWires2A2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2A2[t - 15]), P.push(this.ToffsetWires2A2[t - 7]), this.ToffsetArcWires2A2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2A2[t - 14]), g.push(this.ToffsetWires2A2[t - 6]), this.ToffsetArcWires2A2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2A2[t - 13]), y.push(this.ToffsetWires2A2[t - 5]), this.ToffsetArcWires2A2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2A2[t - 12]), _.push(this.ToffsetWires2A2[t - 4]), this.ToffsetArcWires2A2 = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2A2[t - 11]), v.push(this.ToffsetWires2A2[t - 3]), this.ToffsetArcWires2A2 = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), S.push(this.ToffsetWires2A2[t - 10]), S.push(this.ToffsetWires2A2[t - 2]), this.ToffsetArcWires2A2 = f(S, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires2A2[t - 9]), M.push(this.ToffsetWires2A2[t - 1]), this.ToffsetArcWires2A2 = f(M, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2316
+ this.ToffsetWires2A1.length >= 16 && (t.push(this.ToffsetWires2A1[i - 16]), t.push(this.ToffsetWires2A1[i - 8]), this.ToffsetArcWires1A2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2A1[i - 15]), l.push(this.ToffsetWires2A1[i - 7]), this.ToffsetArcWires1A2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2A1[i - 14]), u.push(this.ToffsetWires2A1[i - 6]), this.ToffsetArcWires1A2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires2A1[i - 13]), C.push(this.ToffsetWires2A1[i - 5]), this.ToffsetArcWires1A2 = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires2A1[i - 12]), o.push(this.ToffsetWires2A1[i - 4]), this.ToffsetArcWires1A2 = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2A1[i - 11]), c.push(this.ToffsetWires2A1[i - 3]), this.ToffsetArcWires1A2 = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires2A1[i - 10]), m.push(this.ToffsetWires2A1[i - 2]), this.ToffsetArcWires1A2 = f(m, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires2A1[i - 9]), b.push(this.ToffsetWires2A1[i - 1]), this.ToffsetArcWires1A2 = f(b, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 16 && (I.push(this.ToffsetWires2A2[i - 16]), I.push(this.ToffsetWires2A2[i - 8]), this.ToffsetArcWires2A2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2A2[i - 15]), P.push(this.ToffsetWires2A2[i - 7]), this.ToffsetArcWires2A2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2A2[i - 14]), g.push(this.ToffsetWires2A2[i - 6]), this.ToffsetArcWires2A2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2A2[i - 13]), y.push(this.ToffsetWires2A2[i - 5]), this.ToffsetArcWires2A2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2A2[i - 12]), v.push(this.ToffsetWires2A2[i - 4]), this.ToffsetArcWires2A2 = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2A2[i - 11]), _.push(this.ToffsetWires2A2[i - 3]), this.ToffsetArcWires2A2 = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), S.push(this.ToffsetWires2A2[i - 10]), S.push(this.ToffsetWires2A2[i - 2]), this.ToffsetArcWires2A2 = f(S, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires2A2[i - 9]), M.push(this.ToffsetWires2A2[i - 1]), this.ToffsetArcWires2A2 = f(M, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2313
2317
  break;
2314
2318
  }
2315
2319
  }
2316
2320
  if (this.ToffsetWires2B1.length > 1 && this.ToffsetWires2B2.length > 1) {
2317
- const i = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], _ = [], v = [], S = [], M = [];
2321
+ const t = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], v = [], _ = [], S = [], M = [];
2318
2322
  switch (this.LineInfo.Wairnum) {
2319
2323
  case p.单分裂:
2320
- this.ToffsetWires2B1.length >= 2 && (i.push(this.ToffsetWires2B1[t - 2]), i.push(this.ToffsetWires2B1[t - 1]), this.ToffsetArcWires1B2 = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 2 && (I.push(this.ToffsetWires2B2[t - 2]), I.push(this.ToffsetWires2B2[t - 1]), this.ToffsetArcWires2B2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2324
+ this.ToffsetWires2B1.length >= 2 && (t.push(this.ToffsetWires2B1[i - 2]), t.push(this.ToffsetWires2B1[i - 1]), this.ToffsetArcWires1B2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 2 && (I.push(this.ToffsetWires2B2[i - 2]), I.push(this.ToffsetWires2B2[i - 1]), this.ToffsetArcWires2B2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2321
2325
  break;
2322
2326
  case p.双分裂:
2323
- this.ToffsetWires2B1.length >= 4 && (i.push(this.ToffsetWires2B1[t - 4]), i.push(this.ToffsetWires2B1[t - 2]), this.ToffsetArcWires1B2 = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2B1[t - 3]), l.push(this.ToffsetWires2B1[t - 1]), this.ToffsetArcWires1B2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 4 && (I.push(this.ToffsetWires2B2[t - 4]), I.push(this.ToffsetWires2B2[t - 2]), this.ToffsetArcWires2B2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2B2[t - 3]), P.push(this.ToffsetWires2B2[t - 1]), this.ToffsetArcWires2B2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2327
+ this.ToffsetWires2B1.length >= 4 && (t.push(this.ToffsetWires2B1[i - 4]), t.push(this.ToffsetWires2B1[i - 2]), this.ToffsetArcWires1B2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2B1[i - 3]), l.push(this.ToffsetWires2B1[i - 1]), this.ToffsetArcWires1B2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 4 && (I.push(this.ToffsetWires2B2[i - 4]), I.push(this.ToffsetWires2B2[i - 2]), this.ToffsetArcWires2B2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2B2[i - 3]), P.push(this.ToffsetWires2B2[i - 1]), this.ToffsetArcWires2B2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2324
2328
  break;
2325
2329
  case p.四分裂:
2326
- this.ToffsetWires2B1.length >= 8 && (i.push(this.ToffsetWires2B1[t - 8]), i.push(this.ToffsetWires2B1[t - 4]), this.ToffsetArcWires1B2 = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2B1[t - 7]), l.push(this.ToffsetWires2B1[t - 3]), this.ToffsetArcWires1B2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2B1[t - 6]), u.push(this.ToffsetWires2B1[t - 2]), this.ToffsetArcWires1B2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires2B1[t - 5]), C.push(this.ToffsetWires2B1[t - 1]), this.ToffsetArcWires1B2 = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 8 && (I.push(this.ToffsetWires2B2[t - 8]), I.push(this.ToffsetWires2B2[t - 4]), this.ToffsetArcWires2B2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2B2[t - 7]), P.push(this.ToffsetWires2B2[t - 3]), this.ToffsetArcWires2B2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2B2[t - 6]), g.push(this.ToffsetWires2B2[t - 2]), this.ToffsetArcWires2B2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2B2[t - 5]), y.push(this.ToffsetWires2B2[t - 1]), this.ToffsetArcWires2B2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2330
+ this.ToffsetWires2B1.length >= 8 && (t.push(this.ToffsetWires2B1[i - 8]), t.push(this.ToffsetWires2B1[i - 4]), this.ToffsetArcWires1B2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2B1[i - 7]), l.push(this.ToffsetWires2B1[i - 3]), this.ToffsetArcWires1B2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2B1[i - 6]), u.push(this.ToffsetWires2B1[i - 2]), this.ToffsetArcWires1B2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires2B1[i - 5]), C.push(this.ToffsetWires2B1[i - 1]), this.ToffsetArcWires1B2 = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 8 && (I.push(this.ToffsetWires2B2[i - 8]), I.push(this.ToffsetWires2B2[i - 4]), this.ToffsetArcWires2B2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2B2[i - 7]), P.push(this.ToffsetWires2B2[i - 3]), this.ToffsetArcWires2B2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2B2[i - 6]), g.push(this.ToffsetWires2B2[i - 2]), this.ToffsetArcWires2B2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2B2[i - 5]), y.push(this.ToffsetWires2B2[i - 1]), this.ToffsetArcWires2B2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2327
2331
  break;
2328
2332
  case p.六分裂:
2329
- this.ToffsetWires2B1.length >= 12 && (i.push(this.ToffsetWires2B1[t - 12]), i.push(this.ToffsetWires2B1[t - 6]), this.ToffsetArcWires1B2 = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2B1[t - 11]), l.push(this.ToffsetWires2B1[t - 5]), this.ToffsetArcWires1B2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2B1[t - 10]), u.push(this.ToffsetWires2B1[t - 4]), this.ToffsetArcWires1B2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires2B1[t - 9]), C.push(this.ToffsetWires2B1[t - 3]), this.ToffsetArcWires1B2 = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires2B1[t - 8]), o.push(this.ToffsetWires2B1[t - 2]), this.ToffsetArcWires1B2 = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2B1[t - 7]), c.push(this.ToffsetWires2B1[t - 1]), this.ToffsetArcWires1B2 = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 12 && (I.push(this.ToffsetWires2B2[t - 12]), I.push(this.ToffsetWires2B2[t - 6]), this.ToffsetArcWires2B2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2B2[t - 11]), P.push(this.ToffsetWires2B2[t - 5]), this.ToffsetArcWires2B2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2B2[t - 10]), g.push(this.ToffsetWires2B2[t - 4]), this.ToffsetArcWires2B2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2B2[t - 9]), y.push(this.ToffsetWires2B2[t - 3]), this.ToffsetArcWires2B2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2B2[t - 8]), _.push(this.ToffsetWires2B2[t - 2]), this.ToffsetArcWires2B2 = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2B2[t - 7]), v.push(this.ToffsetWires2B2[t - 1]), this.ToffsetArcWires2B2 = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2333
+ this.ToffsetWires2B1.length >= 12 && (t.push(this.ToffsetWires2B1[i - 12]), t.push(this.ToffsetWires2B1[i - 6]), this.ToffsetArcWires1B2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2B1[i - 11]), l.push(this.ToffsetWires2B1[i - 5]), this.ToffsetArcWires1B2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2B1[i - 10]), u.push(this.ToffsetWires2B1[i - 4]), this.ToffsetArcWires1B2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires2B1[i - 9]), C.push(this.ToffsetWires2B1[i - 3]), this.ToffsetArcWires1B2 = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires2B1[i - 8]), o.push(this.ToffsetWires2B1[i - 2]), this.ToffsetArcWires1B2 = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2B1[i - 7]), c.push(this.ToffsetWires2B1[i - 1]), this.ToffsetArcWires1B2 = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 12 && (I.push(this.ToffsetWires2B2[i - 12]), I.push(this.ToffsetWires2B2[i - 6]), this.ToffsetArcWires2B2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2B2[i - 11]), P.push(this.ToffsetWires2B2[i - 5]), this.ToffsetArcWires2B2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2B2[i - 10]), g.push(this.ToffsetWires2B2[i - 4]), this.ToffsetArcWires2B2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2B2[i - 9]), y.push(this.ToffsetWires2B2[i - 3]), this.ToffsetArcWires2B2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2B2[i - 8]), v.push(this.ToffsetWires2B2[i - 2]), this.ToffsetArcWires2B2 = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2B2[i - 7]), _.push(this.ToffsetWires2B2[i - 1]), this.ToffsetArcWires2B2 = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2330
2334
  break;
2331
2335
  case p.八分裂:
2332
- this.ToffsetWires2B1.length >= 16 && (i.push(this.ToffsetWires2B1[t - 16]), i.push(this.ToffsetWires2B1[t - 8]), this.ToffsetArcWires1B2 = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2B1[t - 15]), l.push(this.ToffsetWires2B1[t - 7]), this.ToffsetArcWires1B2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2B1[t - 14]), u.push(this.ToffsetWires2B1[t - 6]), this.ToffsetArcWires1B2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires2B1[t - 13]), C.push(this.ToffsetWires2B1[t - 5]), this.ToffsetArcWires1B2 = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires2B1[t - 12]), o.push(this.ToffsetWires2B1[t - 4]), this.ToffsetArcWires1B2 = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2B1[t - 11]), c.push(this.ToffsetWires2B1[t - 3]), this.ToffsetArcWires1B2 = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires2B1[t - 10]), m.push(this.ToffsetWires2B1[t - 2]), this.ToffsetArcWires1B2 = f(m, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires2B1[t - 9]), b.push(this.ToffsetWires2B1[t - 1]), this.ToffsetArcWires1B2 = f(b, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 16 && (I.push(this.ToffsetWires2B2[t - 16]), I.push(this.ToffsetWires2B2[t - 8]), this.ToffsetArcWires2B2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2B2[t - 15]), P.push(this.ToffsetWires2B2[t - 7]), this.ToffsetArcWires2B2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2B2[t - 14]), g.push(this.ToffsetWires2B2[t - 6]), this.ToffsetArcWires2B2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2B2[t - 13]), y.push(this.ToffsetWires2B2[t - 5]), this.ToffsetArcWires2B2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2B2[t - 12]), _.push(this.ToffsetWires2B2[t - 4]), this.ToffsetArcWires2B2 = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2B2[t - 11]), v.push(this.ToffsetWires2B2[t - 3]), this.ToffsetArcWires2B2 = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), S.push(this.ToffsetWires2B2[t - 10]), S.push(this.ToffsetWires2B2[t - 2]), this.ToffsetArcWires2B2 = f(S, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires2B2[t - 9]), M.push(this.ToffsetWires2B2[t - 1]), this.ToffsetArcWires2B2 = f(M, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2336
+ this.ToffsetWires2B1.length >= 16 && (t.push(this.ToffsetWires2B1[i - 16]), t.push(this.ToffsetWires2B1[i - 8]), this.ToffsetArcWires1B2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2B1[i - 15]), l.push(this.ToffsetWires2B1[i - 7]), this.ToffsetArcWires1B2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2B1[i - 14]), u.push(this.ToffsetWires2B1[i - 6]), this.ToffsetArcWires1B2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires2B1[i - 13]), C.push(this.ToffsetWires2B1[i - 5]), this.ToffsetArcWires1B2 = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires2B1[i - 12]), o.push(this.ToffsetWires2B1[i - 4]), this.ToffsetArcWires1B2 = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2B1[i - 11]), c.push(this.ToffsetWires2B1[i - 3]), this.ToffsetArcWires1B2 = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires2B1[i - 10]), m.push(this.ToffsetWires2B1[i - 2]), this.ToffsetArcWires1B2 = f(m, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires2B1[i - 9]), b.push(this.ToffsetWires2B1[i - 1]), this.ToffsetArcWires1B2 = f(b, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 16 && (I.push(this.ToffsetWires2B2[i - 16]), I.push(this.ToffsetWires2B2[i - 8]), this.ToffsetArcWires2B2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2B2[i - 15]), P.push(this.ToffsetWires2B2[i - 7]), this.ToffsetArcWires2B2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2B2[i - 14]), g.push(this.ToffsetWires2B2[i - 6]), this.ToffsetArcWires2B2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2B2[i - 13]), y.push(this.ToffsetWires2B2[i - 5]), this.ToffsetArcWires2B2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2B2[i - 12]), v.push(this.ToffsetWires2B2[i - 4]), this.ToffsetArcWires2B2 = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2B2[i - 11]), _.push(this.ToffsetWires2B2[i - 3]), this.ToffsetArcWires2B2 = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), S.push(this.ToffsetWires2B2[i - 10]), S.push(this.ToffsetWires2B2[i - 2]), this.ToffsetArcWires2B2 = f(S, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires2B2[i - 9]), M.push(this.ToffsetWires2B2[i - 1]), this.ToffsetArcWires2B2 = f(M, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2333
2337
  break;
2334
2338
  }
2335
2339
  }
2336
2340
  if (this.ToffsetWires2C1.length > 1 && this.ToffsetWires2C2.length > 1) {
2337
- const i = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], _ = [], v = [], S = [], M = [];
2341
+ const t = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], v = [], _ = [], S = [], M = [];
2338
2342
  switch (this.LineInfo.Wairnum) {
2339
2343
  case p.单分裂:
2340
- this.ToffsetWires2C1.length >= 2 && (i.push(this.ToffsetWires2C1[t - 2]), i.push(this.ToffsetWires2C1[t - 1]), this.ToffsetArcWires1C2 = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 2 && (I.push(this.ToffsetWires2C2[t - 2]), I.push(this.ToffsetWires2C2[t - 1]), this.ToffsetArcWires2C2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2344
+ this.ToffsetWires2C1.length >= 2 && (t.push(this.ToffsetWires2C1[i - 2]), t.push(this.ToffsetWires2C1[i - 1]), this.ToffsetArcWires1C2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 2 && (I.push(this.ToffsetWires2C2[i - 2]), I.push(this.ToffsetWires2C2[i - 1]), this.ToffsetArcWires2C2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2341
2345
  break;
2342
2346
  case p.双分裂:
2343
- this.ToffsetWires2C1.length >= 4 && (i.push(this.ToffsetWires2C1[t - 4]), i.push(this.ToffsetWires2C1[t - 2]), this.ToffsetArcWires1C2 = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2C1[t - 3]), l.push(this.ToffsetWires2C1[t - 1]), this.ToffsetArcWires1C2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 4 && (I.push(this.ToffsetWires2C2[t - 4]), I.push(this.ToffsetWires2C2[t - 2]), this.ToffsetArcWires2C2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2C2[t - 3]), P.push(this.ToffsetWires2C2[t - 1]), this.ToffsetArcWires2C2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2347
+ this.ToffsetWires2C1.length >= 4 && (t.push(this.ToffsetWires2C1[i - 4]), t.push(this.ToffsetWires2C1[i - 2]), this.ToffsetArcWires1C2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2C1[i - 3]), l.push(this.ToffsetWires2C1[i - 1]), this.ToffsetArcWires1C2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 4 && (I.push(this.ToffsetWires2C2[i - 4]), I.push(this.ToffsetWires2C2[i - 2]), this.ToffsetArcWires2C2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2C2[i - 3]), P.push(this.ToffsetWires2C2[i - 1]), this.ToffsetArcWires2C2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2344
2348
  break;
2345
2349
  case p.四分裂:
2346
- this.ToffsetWires2C1.length >= 8 && (i.push(this.ToffsetWires2C1[t - 8]), i.push(this.ToffsetWires2C1[t - 4]), this.ToffsetArcWires1C2 = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2C1[t - 7]), l.push(this.ToffsetWires2C1[t - 3]), this.ToffsetArcWires1C2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2C1[t - 6]), u.push(this.ToffsetWires2C1[t - 2]), this.ToffsetArcWires1C2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires2C1[t - 5]), C.push(this.ToffsetWires2C1[t - 1]), this.ToffsetArcWires1C2 = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 8 && (I.push(this.ToffsetWires2C2[t - 8]), I.push(this.ToffsetWires2C2[t - 4]), this.ToffsetArcWires2C2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2C2[t - 7]), P.push(this.ToffsetWires2C2[t - 3]), this.ToffsetArcWires2C2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2C2[t - 6]), g.push(this.ToffsetWires2C2[t - 2]), this.ToffsetArcWires2C2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2C2[t - 5]), y.push(this.ToffsetWires2C2[t - 1]), this.ToffsetArcWires2C2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2350
+ this.ToffsetWires2C1.length >= 8 && (t.push(this.ToffsetWires2C1[i - 8]), t.push(this.ToffsetWires2C1[i - 4]), this.ToffsetArcWires1C2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2C1[i - 7]), l.push(this.ToffsetWires2C1[i - 3]), this.ToffsetArcWires1C2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2C1[i - 6]), u.push(this.ToffsetWires2C1[i - 2]), this.ToffsetArcWires1C2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires2C1[i - 5]), C.push(this.ToffsetWires2C1[i - 1]), this.ToffsetArcWires1C2 = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 8 && (I.push(this.ToffsetWires2C2[i - 8]), I.push(this.ToffsetWires2C2[i - 4]), this.ToffsetArcWires2C2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2C2[i - 7]), P.push(this.ToffsetWires2C2[i - 3]), this.ToffsetArcWires2C2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2C2[i - 6]), g.push(this.ToffsetWires2C2[i - 2]), this.ToffsetArcWires2C2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2C2[i - 5]), y.push(this.ToffsetWires2C2[i - 1]), this.ToffsetArcWires2C2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2347
2351
  break;
2348
2352
  case p.六分裂:
2349
- this.ToffsetWires2C1.length >= 12 && (i.push(this.ToffsetWires2C1[t - 12]), i.push(this.ToffsetWires2C1[t - 6]), this.ToffsetArcWires1C2 = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2C1[t - 11]), l.push(this.ToffsetWires2C1[t - 5]), this.ToffsetArcWires1C2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2C1[t - 10]), u.push(this.ToffsetWires2C1[t - 4]), this.ToffsetArcWires1C2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires2C1[t - 9]), C.push(this.ToffsetWires2C1[t - 3]), this.ToffsetArcWires1C2 = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires2C1[t - 8]), o.push(this.ToffsetWires2C1[t - 2]), this.ToffsetArcWires1C2 = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2C1[t - 7]), c.push(this.ToffsetWires2C1[t - 1]), this.ToffsetArcWires1C2 = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 12 && (I.push(this.ToffsetWires2C2[t - 12]), I.push(this.ToffsetWires2C2[t - 6]), this.ToffsetArcWires2C2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2C2[t - 11]), P.push(this.ToffsetWires2C2[t - 5]), this.ToffsetArcWires2C2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2C2[t - 10]), g.push(this.ToffsetWires2C2[t - 4]), this.ToffsetArcWires2C2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2C2[t - 9]), y.push(this.ToffsetWires2C2[t - 3]), this.ToffsetArcWires2C2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2C2[t - 8]), _.push(this.ToffsetWires2C2[t - 2]), this.ToffsetArcWires2C2 = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2C2[t - 7]), v.push(this.ToffsetWires2C2[t - 1]), this.ToffsetArcWires2C2 = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2353
+ this.ToffsetWires2C1.length >= 12 && (t.push(this.ToffsetWires2C1[i - 12]), t.push(this.ToffsetWires2C1[i - 6]), this.ToffsetArcWires1C2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2C1[i - 11]), l.push(this.ToffsetWires2C1[i - 5]), this.ToffsetArcWires1C2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2C1[i - 10]), u.push(this.ToffsetWires2C1[i - 4]), this.ToffsetArcWires1C2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires2C1[i - 9]), C.push(this.ToffsetWires2C1[i - 3]), this.ToffsetArcWires1C2 = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires2C1[i - 8]), o.push(this.ToffsetWires2C1[i - 2]), this.ToffsetArcWires1C2 = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2C1[i - 7]), c.push(this.ToffsetWires2C1[i - 1]), this.ToffsetArcWires1C2 = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 12 && (I.push(this.ToffsetWires2C2[i - 12]), I.push(this.ToffsetWires2C2[i - 6]), this.ToffsetArcWires2C2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2C2[i - 11]), P.push(this.ToffsetWires2C2[i - 5]), this.ToffsetArcWires2C2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2C2[i - 10]), g.push(this.ToffsetWires2C2[i - 4]), this.ToffsetArcWires2C2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2C2[i - 9]), y.push(this.ToffsetWires2C2[i - 3]), this.ToffsetArcWires2C2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2C2[i - 8]), v.push(this.ToffsetWires2C2[i - 2]), this.ToffsetArcWires2C2 = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2C2[i - 7]), _.push(this.ToffsetWires2C2[i - 1]), this.ToffsetArcWires2C2 = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2350
2354
  break;
2351
2355
  case p.八分裂:
2352
- this.ToffsetWires2C1.length >= 16 && (i.push(this.ToffsetWires2C1[t - 16]), i.push(this.ToffsetWires2C1[t - 8]), this.ToffsetArcWires1C2 = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2C1[t - 15]), l.push(this.ToffsetWires2C1[t - 7]), this.ToffsetArcWires1C2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2C1[t - 14]), u.push(this.ToffsetWires2C1[t - 6]), this.ToffsetArcWires1C2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires2C1[t - 13]), C.push(this.ToffsetWires2C1[t - 5]), this.ToffsetArcWires1C2 = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires2C1[t - 12]), o.push(this.ToffsetWires2C1[t - 4]), this.ToffsetArcWires1C2 = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2C1[t - 11]), c.push(this.ToffsetWires2C1[t - 3]), this.ToffsetArcWires1C2 = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires2C1[t - 10]), m.push(this.ToffsetWires2C1[t - 2]), this.ToffsetArcWires1C2 = f(m, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires2C1[t - 9]), b.push(this.ToffsetWires2C1[t - 1]), this.ToffsetArcWires1C2 = f(b, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 16 && (I.push(this.ToffsetWires2C2[t - 16]), I.push(this.ToffsetWires2C2[t - 8]), this.ToffsetArcWires2C2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2C2[t - 15]), P.push(this.ToffsetWires2C2[t - 7]), this.ToffsetArcWires2C2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2C2[t - 14]), g.push(this.ToffsetWires2C2[t - 6]), this.ToffsetArcWires2C2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2C2[t - 13]), y.push(this.ToffsetWires2C2[t - 5]), this.ToffsetArcWires2C2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2C2[t - 12]), _.push(this.ToffsetWires2C2[t - 4]), this.ToffsetArcWires2C2 = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2C2[t - 11]), v.push(this.ToffsetWires2C2[t - 3]), this.ToffsetArcWires2C2 = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), S.push(this.ToffsetWires2C2[t - 10]), S.push(this.ToffsetWires2C2[t - 2]), this.ToffsetArcWires2C2 = f(S, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires2C2[t - 9]), M.push(this.ToffsetWires2C2[t - 1]), this.ToffsetArcWires2C2 = f(M, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2356
+ this.ToffsetWires2C1.length >= 16 && (t.push(this.ToffsetWires2C1[i - 16]), t.push(this.ToffsetWires2C1[i - 8]), this.ToffsetArcWires1C2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2C1[i - 15]), l.push(this.ToffsetWires2C1[i - 7]), this.ToffsetArcWires1C2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2C1[i - 14]), u.push(this.ToffsetWires2C1[i - 6]), this.ToffsetArcWires1C2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires2C1[i - 13]), C.push(this.ToffsetWires2C1[i - 5]), this.ToffsetArcWires1C2 = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires2C1[i - 12]), o.push(this.ToffsetWires2C1[i - 4]), this.ToffsetArcWires1C2 = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2C1[i - 11]), c.push(this.ToffsetWires2C1[i - 3]), this.ToffsetArcWires1C2 = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires2C1[i - 10]), m.push(this.ToffsetWires2C1[i - 2]), this.ToffsetArcWires1C2 = f(m, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires2C1[i - 9]), b.push(this.ToffsetWires2C1[i - 1]), this.ToffsetArcWires1C2 = f(b, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 16 && (I.push(this.ToffsetWires2C2[i - 16]), I.push(this.ToffsetWires2C2[i - 8]), this.ToffsetArcWires2C2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2C2[i - 15]), P.push(this.ToffsetWires2C2[i - 7]), this.ToffsetArcWires2C2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2C2[i - 14]), g.push(this.ToffsetWires2C2[i - 6]), this.ToffsetArcWires2C2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2C2[i - 13]), y.push(this.ToffsetWires2C2[i - 5]), this.ToffsetArcWires2C2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2C2[i - 12]), v.push(this.ToffsetWires2C2[i - 4]), this.ToffsetArcWires2C2 = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2C2[i - 11]), _.push(this.ToffsetWires2C2[i - 3]), this.ToffsetArcWires2C2 = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), S.push(this.ToffsetWires2C2[i - 10]), S.push(this.ToffsetWires2C2[i - 2]), this.ToffsetArcWires2C2 = f(S, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires2C2[i - 9]), M.push(this.ToffsetWires2C2[i - 1]), this.ToffsetArcWires2C2 = f(M, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2353
2357
  break;
2354
2358
  }
2355
2359
  }
@@ -2381,7 +2385,9 @@ const es = class es {
2381
2385
  * 初始化树木数据并设置动态加载(如果启用)
2382
2386
  */
2383
2387
  loadTree() {
2384
- this.Keym == "OW_JPS_EEngin_001" && (this.viewer.dataSources.contains(this.dataSourcetree) || (this.viewer.dataSources.add(this.dataSourcetree), console.log("Added tree datasource to viewer in loadTree")), this.entityCollectiontree.show = !0, this.isDynamicLoadingEnabled ? (this.setupTreeCameraMoveListener(), this.updateVisibleTrees()) : this.loadAllTreesAtOnce());
2388
+ this.Keym == "OW_JPS_EEngin_001" && (this.LineInfo.Trees.forEach((e) => {
2389
+ this.offsetTrees.push(n.Cartesian3.fromDegrees(e.lon, e.lat, e.alt));
2390
+ }), this.viewer.dataSources.contains(this.dataSourcetree) || (this.viewer.dataSources.add(this.dataSourcetree), console.log("Added tree datasource to viewer in loadTree")), this.entityCollectiontree.show = !0, this.isDynamicLoadingEnabled ? (this.setupTreeCameraMoveListener(), this.updateVisibleTrees()) : this.loadAllTreesAtOnce());
2385
2391
  }
2386
2392
  /**
2387
2393
  * 一次性加载所有树木(静态加载模式)
@@ -2391,16 +2397,16 @@ const es = class es {
2391
2397
  `树木数据长度 (${this.LineInfo.Trees.length}) 与位置数据长度 (${this.offsetTrees.length}) 不匹配`
2392
2398
  );
2393
2399
  const e = Math.min(this.LineInfo.Trees.length, this.offsetTrees.length);
2394
- for (let t = 0; t < e; t++) {
2395
- const r = this.LineInfo.Trees[t], s = this.offsetTrees[t];
2396
- r && s ? this.loadTreeAtIndex(t, s) : console.warn(`跳过无效的树木数据,索引: ${t}`);
2400
+ for (let i = 0; i < e; i++) {
2401
+ const r = this.LineInfo.Trees[i], s = this.offsetTrees[i];
2402
+ r && s ? this.loadTreeAtIndex(i, s) : console.warn(`跳过无效的树木数据,索引: ${i}`);
2397
2403
  }
2398
2404
  console.log(`完成加载 ${e} 棵树木`);
2399
2405
  }
2400
2406
  /**
2401
2407
  * 加载指定索引的树木
2402
2408
  */
2403
- loadTreeAtIndex(e, t) {
2409
+ loadTreeAtIndex(e, i) {
2404
2410
  const r = this.LineInfo.Trees[e];
2405
2411
  if (!r.modelurl || r.modelurl.trim() === "") {
2406
2412
  console.warn(`Tree ${e} has invalid model URL: ${r.modelurl}. Skipping...`);
@@ -2420,7 +2426,7 @@ const es = class es {
2420
2426
  this.entityCollectiontree.add(
2421
2427
  Cs(
2422
2428
  "tree-" + r.id,
2423
- t,
2429
+ i,
2424
2430
  "tree-" + r.id,
2425
2431
  T.uri,
2426
2432
  new n.HeadingPitchRoll(0, 0, 0),
@@ -2439,7 +2445,7 @@ const es = class es {
2439
2445
  console.warn(`Invalid tree index: ${e}. Valid range: 0-${this.LineInfo.Trees.length - 1}`);
2440
2446
  return;
2441
2447
  }
2442
- const t = this.LineInfo.Trees[e], r = n.Cartesian3.fromDegrees(t.lon, t.lat, t.alt + (t.treeH || 0));
2448
+ const i = this.LineInfo.Trees[e], r = n.Cartesian3.fromDegrees(i.lon, i.lat, i.alt + (i.treeH || 0));
2443
2449
  this.viewer.camera.flyTo({
2444
2450
  destination: r,
2445
2451
  duration: 2,
@@ -2448,38 +2454,38 @@ const es = class es {
2448
2454
  pitch: n.Math.toRadians(-60),
2449
2455
  roll: n.Math.toRadians(0)
2450
2456
  }
2451
- }), console.log(`Flying to tree ${e}: lon=${t.lon}, lat=${t.lat}, alt=${t.alt}, treeH=${t.treeH}`);
2457
+ }), console.log(`Flying to tree ${e}: lon=${i.lon}, lat=${i.lat}, alt=${i.alt}, treeH=${i.treeH}`);
2452
2458
  }
2453
2459
  /**
2454
2460
  * 显示计算结果
2455
2461
  * @param point 树木坐标点 [经度, 纬度, 高度]
2456
2462
  */
2457
2463
  calcResult(e) {
2458
- const t = Qs(
2464
+ const i = Qs(
2459
2465
  e,
2460
2466
  this.arcLine1A1,
2461
2467
  this.arcLine1B1,
2462
2468
  this.arcLine1D1
2463
2469
  );
2464
- js(e, t, this.entityCollectionplotting);
2470
+ js(e, i, this.entityCollectionplotting);
2465
2471
  }
2466
2472
  /**
2467
2473
  * 加载树木点击监听功能
2468
2474
  */
2469
2475
  loadTreeListen() {
2470
2476
  this.treeHandler && this.removeTreeListen();
2471
- const e = (t, r) => {
2477
+ const e = (i, r) => {
2472
2478
  var T;
2473
- const s = t.scene.pick(r);
2479
+ const s = i.scene.pick(r);
2474
2480
  if (n.defined(s)) {
2475
2481
  const W = n.defaultValue(s.id, (T = s.primitive) == null ? void 0 : T.id);
2476
2482
  if (W instanceof n.Entity)
2477
2483
  return W;
2478
2484
  }
2479
2485
  };
2480
- this.ensurePlottingDataSourceAdded(), this.treeHandler = new n.ScreenSpaceEventHandler(this.viewer.canvas), this.treeHandler.setInputAction((t) => {
2486
+ this.ensurePlottingDataSourceAdded(), this.treeHandler = new n.ScreenSpaceEventHandler(this.viewer.canvas), this.treeHandler.setInputAction((i) => {
2481
2487
  var s;
2482
- const r = e(this.viewer, t.position);
2488
+ const r = e(this.viewer, i.position);
2483
2489
  if (r && r.id) {
2484
2490
  const T = String(r.id);
2485
2491
  if (T.startsWith(es.TREE_ENTITY_PREFIX)) {
@@ -2514,12 +2520,12 @@ const es = class es {
2514
2520
  LineChannelTerrainVerification() {
2515
2521
  this.ensurePlottingDataSourceAdded(), this.LineInfo.Trees.forEach((e) => {
2516
2522
  if (e) {
2517
- const t = [
2523
+ const i = [
2518
2524
  e.lon,
2519
2525
  e.lat,
2520
2526
  Number(e.alt || 0) + Number(e.treeH || 0)
2521
2527
  ];
2522
- this.calcResult(t);
2528
+ this.calcResult(i);
2523
2529
  }
2524
2530
  });
2525
2531
  }
@@ -2539,13 +2545,19 @@ const es = class es {
2539
2545
  }
2540
2546
  //移除树木
2541
2547
  RemoveTreeModel() {
2542
- this.Keym == "OW_JPS_EEngin_001" && (this.viewer.dataSources.remove(this.dataSourcetree), this.entityCollectiontree.show = !1, this.loadedTreeIndices.clear());
2548
+ this.Keym == "OW_JPS_EEngin_001" && (this.entityCollectiontree && this.entityCollectiontree.removeAll(), this.viewer.dataSources.contains(this.dataSourcetree) && this.viewer.dataSources.remove(this.dataSourcetree), this.entityCollectiontree.show = !1, this.loadedTreeIndices.clear(), this.isTreeModelRemoved = !0, this.isLineModelRemoved && this.cleanupDynamicLoadingResources());
2543
2549
  }
2544
2550
  /**
2545
2551
  * 重新加载树木(用于切换动态/静态模式后)
2546
2552
  */
2547
2553
  reloadTrees() {
2548
- this.RemoveTreeModel(), this.dataSourcetree = new n.CustomDataSource(this.LineInfo.LineID + "tree"), this.entityCollectiontree = this.dataSourcetree.entities, this.loadTree();
2554
+ this.RemoveTreeModel(), this.dataSourcetree = new n.CustomDataSource(this.LineInfo.LineID + "tree"), this.entityCollectiontree = this.dataSourcetree.entities, this.viewer.dataSources.contains(this.dataSourcetree) || this.viewer.dataSources.add(this.dataSourcetree), this.isTreeModelRemoved = !1, this.loadTree();
2555
+ }
2556
+ /**
2557
+ * 重新加载线路(用于切换动态/静态模式后)
2558
+ */
2559
+ reloadLines() {
2560
+ this.RemoveLineModel(), this.dataSource2 = new n.CustomDataSource(this.LineInfo.LineID + "tower"), this.entityCollection2 = this.dataSource2.entities, this.LinedataSource2 = new n.CustomDataSource(this.LineInfo.LineID + "wire"), this.LineentityCollection2 = this.LinedataSource2.entities, this.viewer.dataSources.contains(this.dataSource2) || this.viewer.dataSources.add(this.dataSource2), this.viewer.dataSources.contains(this.LinedataSource2) || this.viewer.dataSources.add(this.LinedataSource2), this.isLineModelRemoved = !1, this.loadLineModel();
2549
2561
  }
2550
2562
  LineSpriteLineinit() {
2551
2563
  n.Material._materialCache.addMaterial(
@@ -2582,15 +2594,25 @@ const es = class es {
2582
2594
  setLineVisible(e) {
2583
2595
  this.Keym == "OW_JPS_EEngin_001" && (this.entityCollection2.show = e, this.LineentityCollection2.show = e);
2584
2596
  }
2597
+ //设置显隐
2598
+ setTreeVisible(e) {
2599
+ this.Keym == "OW_JPS_EEngin_001" && (this.entityCollectiontree.show = e);
2600
+ }
2585
2601
  //移除渲染电力线路
2586
2602
  RemoveLineModel() {
2587
- this.Keym == "OW_JPS_EEngin_001" && (this.viewer.dataSources.remove(this.dataSource2), this.entityCollection2.show = !1, this.viewer.dataSources.remove(this.LinedataSource2), this.LineentityCollection2.show = !1, this.cameraMoveHandler && (this.cameraMoveHandler(), this.cameraMoveHandler = null), this.loadedTowerIndices.clear(), this.loadedTreeIndices.clear(), this.modelCache.clear());
2603
+ this.Keym == "OW_JPS_EEngin_001" && (this.viewer.dataSources.remove(this.dataSource2), this.entityCollection2.show = !1, this.viewer.dataSources.remove(this.LinedataSource2), this.LineentityCollection2.show = !1, this.isLineModelRemoved = !0, this.isTreeModelRemoved ? this.cleanupDynamicLoadingResources() : this.loadedTowerIndices.clear());
2604
+ }
2605
+ /**
2606
+ * 清理所有动态加载相关资源
2607
+ */
2608
+ cleanupDynamicLoadingResources() {
2609
+ this.cameraMoveHandler && (this.cameraMoveHandler(), this.cameraMoveHandler = null), this.loadedTowerIndices.clear(), this.loadedTreeIndices.clear(), this.modelCache.clear(), console.log("已清理所有动态加载资源");
2588
2610
  }
2589
2611
  };
2590
2612
  // 树木实体ID前缀常量
2591
2613
  w(es, "TREE_ENTITY_PREFIX", "tree-");
2592
2614
  let ws = es;
2593
- class At {
2615
+ class Ai {
2594
2616
  constructor() {
2595
2617
  // 杆塔id
2596
2618
  w(this, "id", "");
@@ -2620,16 +2642,16 @@ class At {
2620
2642
  w(this, "RollZ", 0);
2621
2643
  }
2622
2644
  }
2623
- function et(a) {
2645
+ function ei(a) {
2624
2646
  debugger;
2625
2647
  const e = a.split(`
2626
- `), t = [], r = [], s = /^\s*(\d+)\s+([\d.-]+)\s+([\d.-]+)\s+([\d.-]+)\s+(-?\d+)/, T = /^\s*(\d+)\s+(\d+)\s+(\d+)\s*(?:#|$)/;
2648
+ `), i = [], r = [], s = /^\s*(\d+)\s+([\d.-]+)\s+([\d.-]+)\s+([\d.-]+)\s+(-?\d+)/, T = /^\s*(\d+)\s+(\d+)\s+(\d+)\s*(?:#|$)/;
2627
2649
  for (const W of e) {
2628
2650
  const L = W.trim();
2629
2651
  if (!L) continue;
2630
2652
  const A = L.match(s);
2631
2653
  if (A) {
2632
- t.push({
2654
+ i.push({
2633
2655
  id: parseInt(A[1]),
2634
2656
  x: parseFloat(A[2]),
2635
2657
  y: parseFloat(A[3]),
@@ -2645,64 +2667,64 @@ function et(a) {
2645
2667
  type: parseInt(d[3])
2646
2668
  });
2647
2669
  }
2648
- return { TowerNodes: t, connections: r };
2670
+ return { TowerNodes: i, connections: r };
2649
2671
  }
2650
- function ot(a) {
2672
+ function oi(a) {
2651
2673
  const e = a.split(`
2652
- `), t = [];
2674
+ `), i = [];
2653
2675
  for (const r of e) {
2654
2676
  if (!r.trim()) continue;
2655
2677
  const s = r.trim().split(/\s+/).filter((L) => L !== ""), T = parseInt(s[0]);
2656
2678
  if (isNaN(T)) continue;
2657
2679
  const W = [];
2658
2680
  for (let L = 1; L < s.length; L += 3) {
2659
- const A = parseFloat(s[L]), d = parseFloat(s[L + 1]), i = parseFloat(s[L + 2]);
2660
- if (!isNaN(A) && !isNaN(d) && !isNaN(i)) {
2681
+ const A = parseFloat(s[L]), d = parseFloat(s[L + 1]), t = parseFloat(s[L + 2]);
2682
+ if (!isNaN(A) && !isNaN(d) && !isNaN(t)) {
2661
2683
  const l = Math.floor((L - 1) / 3) + 1;
2662
- W.push({ timeStep: l, x: A, y: d, z: i });
2684
+ W.push({ timeStep: l, x: A, y: d, z: t });
2663
2685
  }
2664
2686
  }
2665
- t.push({
2687
+ i.push({
2666
2688
  nodeId: T,
2667
2689
  displacements: W
2668
2690
  });
2669
2691
  }
2670
- return t;
2692
+ return i;
2671
2693
  }
2672
2694
  function Is(a) {
2673
2695
  const e = {};
2674
- return a.forEach((t) => {
2675
- t.displacements.forEach((r) => {
2696
+ return a.forEach((i) => {
2697
+ i.displacements.forEach((r) => {
2676
2698
  e[r.timeStep] || (e[r.timeStep] = []), e[r.timeStep].push({
2677
- nodeId: t.nodeId,
2699
+ nodeId: i.nodeId,
2678
2700
  ...r
2679
2701
  });
2680
2702
  });
2681
2703
  }), e;
2682
2704
  }
2683
- function rt(a) {
2705
+ function ri(a) {
2684
2706
  const e = a.split(`
2685
- `), t = [];
2707
+ `), i = [];
2686
2708
  for (const s of e) {
2687
2709
  if (!s.trim()) continue;
2688
2710
  const T = s.match(/^\s*(\d+-\s*\d+)\s+((?:\d+\.\d+\s*)+)/);
2689
2711
  if (T) {
2690
2712
  const W = T[1].replace(/\s+/g, ""), L = T[2].trim().split(/\s+/).map(Number);
2691
- t.push({
2713
+ i.push({
2692
2714
  elementId: W,
2693
2715
  stressRatios: L
2694
2716
  });
2695
2717
  }
2696
2718
  }
2697
2719
  const r = [];
2698
- if (t.length > 0) {
2699
- const s = t[0].stressRatios.length;
2720
+ if (i.length > 0) {
2721
+ const s = i[0].stressRatios.length;
2700
2722
  for (let T = 0; T < s; T++) {
2701
2723
  const W = {
2702
2724
  timeIndex: T,
2703
2725
  elements: []
2704
2726
  };
2705
- for (const L of t) {
2727
+ for (const L of i) {
2706
2728
  let A;
2707
2729
  const d = L.stressRatios[T];
2708
2730
  d > 1 ? A = J.RED : d > 0.95 && d <= 1 ? A = J.PINK : d > 0.85 && d <= 0.95 ? A = J.YELLOW : d > 0.7 && d <= 0.85 ? A = J.GREEN : A = J.BLUE, W.elements.push({
@@ -2714,9 +2736,9 @@ function rt(a) {
2714
2736
  r.push(W);
2715
2737
  }
2716
2738
  }
2717
- return { byElement: t, byTime: r };
2739
+ return { byElement: i, byTime: r };
2718
2740
  }
2719
- class ht {
2741
+ class hi {
2720
2742
  constructor(e) {
2721
2743
  w(this, "viewer");
2722
2744
  w(this, "lines", []);
@@ -2726,8 +2748,8 @@ class ht {
2726
2748
  * 添加一条线
2727
2749
  * @returns 生成的Entity对象
2728
2750
  */
2729
- addLine(e, t) {
2730
- const r = Es(this.viewer, e, t);
2751
+ addLine(e, i) {
2752
+ const r = Es(this.viewer, e, i);
2731
2753
  return this.lines.push(r), r;
2732
2754
  }
2733
2755
  /** 移除所有线 */
@@ -2751,56 +2773,56 @@ class ht {
2751
2773
  }
2752
2774
  var Ms = { exports: {} };
2753
2775
  (function(a, e) {
2754
- (function(t, r) {
2776
+ (function(i, r) {
2755
2777
  r();
2756
- })(is, function() {
2757
- function t(d, i) {
2758
- return typeof i > "u" ? i = { autoBom: !1 } : typeof i != "object" && (console.warn("Deprecated: Expected third argument to be a object"), i = { autoBom: !i }), i.autoBom && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(d.type) ? new Blob(["\uFEFF", d], { type: d.type }) : d;
2778
+ })(ts, function() {
2779
+ function i(d, t) {
2780
+ return typeof t > "u" ? t = { autoBom: !1 } : typeof t != "object" && (console.warn("Deprecated: Expected third argument to be a object"), t = { autoBom: !t }), t.autoBom && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(d.type) ? new Blob(["\uFEFF", d], { type: d.type }) : d;
2759
2781
  }
2760
- function r(d, i, l) {
2782
+ function r(d, t, l) {
2761
2783
  var u = new XMLHttpRequest();
2762
2784
  u.open("GET", d), u.responseType = "blob", u.onload = function() {
2763
- A(u.response, i, l);
2785
+ A(u.response, t, l);
2764
2786
  }, u.onerror = function() {
2765
2787
  console.error("could not download file");
2766
2788
  }, u.send();
2767
2789
  }
2768
2790
  function s(d) {
2769
- var i = new XMLHttpRequest();
2770
- i.open("HEAD", d, !1);
2791
+ var t = new XMLHttpRequest();
2792
+ t.open("HEAD", d, !1);
2771
2793
  try {
2772
- i.send();
2794
+ t.send();
2773
2795
  } catch {
2774
2796
  }
2775
- return 200 <= i.status && 299 >= i.status;
2797
+ return 200 <= t.status && 299 >= t.status;
2776
2798
  }
2777
2799
  function T(d) {
2778
2800
  try {
2779
2801
  d.dispatchEvent(new MouseEvent("click"));
2780
2802
  } catch {
2781
- var i = document.createEvent("MouseEvents");
2782
- i.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), d.dispatchEvent(i);
2803
+ var t = document.createEvent("MouseEvents");
2804
+ t.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), d.dispatchEvent(t);
2783
2805
  }
2784
2806
  }
2785
- var W = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof is == "object" && is.global === is ? is : void 0, L = W.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent), A = W.saveAs || (typeof window != "object" || window !== W ? function() {
2786
- } : "download" in HTMLAnchorElement.prototype && !L ? function(d, i, l) {
2807
+ var W = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof ts == "object" && ts.global === ts ? ts : void 0, L = W.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent), A = W.saveAs || (typeof window != "object" || window !== W ? function() {
2808
+ } : "download" in HTMLAnchorElement.prototype && !L ? function(d, t, l) {
2787
2809
  var u = W.URL || W.webkitURL, C = document.createElement("a");
2788
- i = i || d.name || "download", C.download = i, C.rel = "noopener", typeof d == "string" ? (C.href = d, C.origin === location.origin ? T(C) : s(C.href) ? r(d, i, l) : T(C, C.target = "_blank")) : (C.href = u.createObjectURL(d), setTimeout(function() {
2810
+ t = t || d.name || "download", C.download = t, C.rel = "noopener", typeof d == "string" ? (C.href = d, C.origin === location.origin ? T(C) : s(C.href) ? r(d, t, l) : T(C, C.target = "_blank")) : (C.href = u.createObjectURL(d), setTimeout(function() {
2789
2811
  u.revokeObjectURL(C.href);
2790
2812
  }, 4e4), setTimeout(function() {
2791
2813
  T(C);
2792
2814
  }, 0));
2793
- } : "msSaveOrOpenBlob" in navigator ? function(d, i, l) {
2794
- if (i = i || d.name || "download", typeof d != "string") navigator.msSaveOrOpenBlob(t(d, l), i);
2795
- else if (s(d)) r(d, i, l);
2815
+ } : "msSaveOrOpenBlob" in navigator ? function(d, t, l) {
2816
+ if (t = t || d.name || "download", typeof d != "string") navigator.msSaveOrOpenBlob(i(d, l), t);
2817
+ else if (s(d)) r(d, t, l);
2796
2818
  else {
2797
2819
  var u = document.createElement("a");
2798
2820
  u.href = d, u.target = "_blank", setTimeout(function() {
2799
2821
  T(u);
2800
2822
  });
2801
2823
  }
2802
- } : function(d, i, l, u) {
2803
- if (u = u || open("", "_blank"), u && (u.document.title = u.document.body.innerText = "downloading..."), typeof d == "string") return r(d, i, l);
2824
+ } : function(d, t, l, u) {
2825
+ if (u = u || open("", "_blank"), u && (u.document.title = u.document.body.innerText = "downloading..."), typeof d == "string") return r(d, t, l);
2804
2826
  var C = d.type === "application/octet-stream", o = /constructor/i.test(W.HTMLElement) || W.safari, c = /CriOS\/[\d]+/.test(navigator.userAgent);
2805
2827
  if ((c || C && o || L) && typeof FileReader < "u") {
2806
2828
  var m = new FileReader();
@@ -2820,27 +2842,27 @@ var Ms = { exports: {} };
2820
2842
  })(Ms);
2821
2843
  var cs = Ms.exports;
2822
2844
  const ds = require("shp-write");
2823
- class ft {
2845
+ class fi {
2824
2846
  // constructor(viewer: Cesium.Viewer, towerNodes: TowerNode[], connections: Connection[], towerFZS: TowerFZInfo) {
2825
- constructor(e, t, r) {
2847
+ constructor(e, i, r) {
2826
2848
  // private viewer: Cesium.Viewer;
2827
2849
  w(this, "towerNodes", []);
2828
2850
  w(this, "connections", []);
2829
2851
  w(this, "towerFZS");
2830
- this.towerNodes = e, this.connections = t, this.towerFZS = r;
2852
+ this.towerNodes = e, this.connections = i, this.towerFZS = r;
2831
2853
  }
2832
2854
  // 导出杆塔数据为SHP文件
2833
2855
  async exportTowerToSHP() {
2834
2856
  try {
2835
- const e = await this.generatePointFeatures(), t = await this.generateLineFeatures();
2836
- await this.generateSHPFiles(e, t), console.log("SHP文件导出成功");
2857
+ const e = await this.generatePointFeatures(), i = await this.generateLineFeatures();
2858
+ await this.generateSHPFiles(e, i), console.log("SHP文件导出成功");
2837
2859
  } catch (e) {
2838
2860
  console.error("导出SHP文件失败:", e);
2839
2861
  }
2840
2862
  }
2841
2863
  // 生成点要素数据 - 修复坐标格式
2842
2864
  async generatePointFeatures() {
2843
- const e = [], t = new n.HeadingPitchRoll(
2865
+ const e = [], i = new n.HeadingPitchRoll(
2844
2866
  n.Math.toRadians(this.towerFZS.RollX),
2845
2867
  this.towerFZS.RollY,
2846
2868
  this.towerFZS.RollZ
@@ -2850,7 +2872,7 @@ class ft {
2850
2872
  this.towerFZS.Altitude
2851
2873
  );
2852
2874
  for (const s of this.towerNodes) {
2853
- const T = new n.Cartesian3(s.x, s.y, s.z), W = this.getPositionByHprAndOffset(r, T, t), L = n.Ellipsoid.WGS84.cartesianToCartographic(W), A = n.Math.toDegrees(L.longitude), d = n.Math.toDegrees(L.latitude), i = L.height, l = {
2875
+ const T = new n.Cartesian3(s.x, s.y, s.z), W = this.getPositionByHprAndOffset(r, T, i), L = n.Ellipsoid.WGS84.cartesianToCartographic(W), A = n.Math.toDegrees(L.longitude), d = n.Math.toDegrees(L.latitude), t = L.height, l = {
2854
2876
  type: "Feature",
2855
2877
  geometry: {
2856
2878
  type: "Point",
@@ -2865,9 +2887,9 @@ class ft {
2865
2887
  z: s.z,
2866
2888
  longitude: A,
2867
2889
  latitude: d,
2868
- height: i,
2890
+ height: t,
2869
2891
  // 高度作为属性存储
2870
- elevation: i,
2892
+ elevation: t,
2871
2893
  type: "tower_node"
2872
2894
  }
2873
2895
  };
@@ -2877,7 +2899,7 @@ class ft {
2877
2899
  }
2878
2900
  // 生成线要素数据 - 修复坐标格式
2879
2901
  async generateLineFeatures() {
2880
- const e = [], t = new n.HeadingPitchRoll(
2902
+ const e = [], i = new n.HeadingPitchRoll(
2881
2903
  n.Math.toRadians(this.towerFZS.RollX),
2882
2904
  this.towerFZS.RollY,
2883
2905
  this.towerFZS.RollZ
@@ -2889,7 +2911,7 @@ class ft {
2889
2911
  for (const s of this.connections) {
2890
2912
  const T = this.towerNodes.find((g) => g.id === s.from), W = this.towerNodes.find((g) => g.id === s.to);
2891
2913
  if (!T || !W) continue;
2892
- const L = new n.Cartesian3(T.x, T.y, T.z), A = new n.Cartesian3(W.x, W.y, W.z), d = this.getPositionByHprAndOffset(r, L, t), i = this.getPositionByHprAndOffset(r, A, t), l = n.Ellipsoid.WGS84.cartesianToCartographic(d), u = n.Ellipsoid.WGS84.cartesianToCartographic(i), C = n.Math.toDegrees(l.longitude), o = n.Math.toDegrees(l.latitude), c = l.height, m = n.Math.toDegrees(u.longitude), b = n.Math.toDegrees(u.latitude), I = u.height, P = {
2914
+ const L = new n.Cartesian3(T.x, T.y, T.z), A = new n.Cartesian3(W.x, W.y, W.z), d = this.getPositionByHprAndOffset(r, L, i), t = this.getPositionByHprAndOffset(r, A, i), l = n.Ellipsoid.WGS84.cartesianToCartographic(d), u = n.Ellipsoid.WGS84.cartesianToCartographic(t), C = n.Math.toDegrees(l.longitude), o = n.Math.toDegrees(l.latitude), c = l.height, m = n.Math.toDegrees(u.longitude), b = n.Math.toDegrees(u.latitude), I = u.height, P = {
2893
2915
  type: "Feature",
2894
2916
  geometry: {
2895
2917
  type: "LineString",
@@ -2910,7 +2932,7 @@ class ft {
2910
2932
  // 终点高度
2911
2933
  avg_height: (c + I) / 2,
2912
2934
  // 平均高度
2913
- length: this.calculateDistance(d, i),
2935
+ length: this.calculateDistance(d, t),
2914
2936
  type: "tower_member",
2915
2937
  width: this.towerFZS.TowerMembersWidth,
2916
2938
  from_longitude: C,
@@ -2924,7 +2946,7 @@ class ft {
2924
2946
  return e;
2925
2947
  }
2926
2948
  // 修复SHP文件生成方法
2927
- async generateSHPFiles(e, t) {
2949
+ async generateSHPFiles(e, i) {
2928
2950
  try {
2929
2951
  if (e.length > 0) {
2930
2952
  const r = {
@@ -2933,24 +2955,24 @@ class ft {
2933
2955
  }, s = ds.point(r);
2934
2956
  this.downloadSHPFiles(s, "tower_nodes");
2935
2957
  }
2936
- if (t.length > 0) {
2958
+ if (i.length > 0) {
2937
2959
  const r = {
2938
2960
  type: "FeatureCollection",
2939
- features: t
2961
+ features: i
2940
2962
  }, s = ds.line(r);
2941
2963
  this.downloadSHPFiles(s, "tower_members");
2942
2964
  }
2943
2965
  } catch (r) {
2944
- console.error("生成SHP文件时出错:", r), await this.alternativeExport(e, t);
2966
+ console.error("生成SHP文件时出错:", r), await this.alternativeExport(e, i);
2945
2967
  }
2946
2968
  }
2947
2969
  // 下载SHP文件
2948
- downloadSHPFiles(e, t) {
2970
+ downloadSHPFiles(e, i) {
2949
2971
  const r = new Blob([e], { type: "application/zip" });
2950
- cs.saveAs(r, `${t}.zip`);
2972
+ cs.saveAs(r, `${i}.zip`);
2951
2973
  }
2952
2974
  // 备用导出方案 - 导出为GeoJSON
2953
- async alternativeExport(e, t) {
2975
+ async alternativeExport(e, i) {
2954
2976
  if (console.log("使用备用方案导出为GeoJSON格式"), e.length > 0) {
2955
2977
  const r = {
2956
2978
  type: "FeatureCollection",
@@ -2958,57 +2980,57 @@ class ft {
2958
2980
  };
2959
2981
  this.downloadJSON(r, "tower_nodes.geojson");
2960
2982
  }
2961
- if (t.length > 0) {
2983
+ if (i.length > 0) {
2962
2984
  const r = {
2963
2985
  type: "FeatureCollection",
2964
- features: t
2986
+ features: i
2965
2987
  };
2966
2988
  this.downloadJSON(r, "tower_members.geojson");
2967
2989
  }
2968
2990
  }
2969
2991
  // 下载JSON文件
2970
- downloadJSON(e, t) {
2992
+ downloadJSON(e, i) {
2971
2993
  const r = new Blob([JSON.stringify(e, null, 2)], {
2972
2994
  type: "application/json"
2973
2995
  });
2974
- cs.saveAs(r, t);
2996
+ cs.saveAs(r, i);
2975
2997
  }
2976
2998
  // 计算两点之间的距离
2977
- calculateDistance(e, t) {
2978
- return n.Cartesian3.distance(e, t);
2999
+ calculateDistance(e, i) {
3000
+ return n.Cartesian3.distance(e, i);
2979
3001
  }
2980
3002
  // 根据朝向和偏移量计算位置
2981
- getPositionByHprAndOffset(e, t, r) {
3003
+ getPositionByHprAndOffset(e, i, r) {
2982
3004
  const s = n.Transforms.headingPitchRollToFixedFrame(e, r);
2983
- return n.Matrix4.multiplyByPoint(s, t, new n.Cartesian3());
3005
+ return n.Matrix4.multiplyByPoint(s, i, new n.Cartesian3());
2984
3006
  }
2985
3007
  }
2986
- class nt {
2987
- static async exportToCSV(e, t, r) {
3008
+ class ni {
3009
+ static async exportToCSV(e, i, r) {
2988
3010
  const s = this.exportNodesToCSV(e, r);
2989
3011
  this.downloadCSV(s, "tower_nodes.csv");
2990
- const T = this.exportConnectionsToCSV(t, e, r);
3012
+ const T = this.exportConnectionsToCSV(i, e, r);
2991
3013
  this.downloadCSV(T, "tower_connections.csv");
2992
3014
  }
2993
- static exportNodesToCSV(e, t) {
3015
+ static exportNodesToCSV(e, i) {
2994
3016
  let r = `ID,X,Y,Z,Longitude,Latitude,Height
2995
3017
  `;
2996
3018
  const s = new n.HeadingPitchRoll(
2997
- n.Math.toRadians(t.RollX),
2998
- t.RollY,
2999
- t.RollZ
3019
+ n.Math.toRadians(i.RollX),
3020
+ i.RollY,
3021
+ i.RollZ
3000
3022
  ), T = n.Cartesian3.fromDegrees(
3001
- t.Longitude,
3002
- t.Latitude,
3003
- t.Altitude
3023
+ i.Longitude,
3024
+ i.Latitude,
3025
+ i.Altitude
3004
3026
  );
3005
3027
  return e.forEach((W) => {
3006
- const L = new n.Cartesian3(W.x, W.y, W.z), A = this.getPositionByHprAndOffset(T, L, s), d = n.Ellipsoid.WGS84.cartesianToCartographic(A), i = n.Math.toDegrees(d.longitude), l = n.Math.toDegrees(d.latitude), u = d.height;
3007
- r += `${W.id},${W.x},${W.y},${W.z},${i},${l},${u}
3028
+ const L = new n.Cartesian3(W.x, W.y, W.z), A = this.getPositionByHprAndOffset(T, L, s), d = n.Ellipsoid.WGS84.cartesianToCartographic(A), t = n.Math.toDegrees(d.longitude), l = n.Math.toDegrees(d.latitude), u = d.height;
3029
+ r += `${W.id},${W.x},${W.y},${W.z},${t},${l},${u}
3008
3030
  `;
3009
3031
  }), r;
3010
3032
  }
3011
- static exportConnectionsToCSV(e, t, r) {
3033
+ static exportConnectionsToCSV(e, i, r) {
3012
3034
  let s = `FromNode,ToNode,FromX,FromY,FromZ,ToX,ToY,ToZ,Length
3013
3035
  `;
3014
3036
  const T = new n.HeadingPitchRoll(
@@ -3021,24 +3043,24 @@ class nt {
3021
3043
  r.Altitude
3022
3044
  );
3023
3045
  return e.forEach((L) => {
3024
- const A = t.find((c) => c.id === L.from), d = t.find((c) => c.id === L.to);
3046
+ const A = i.find((c) => c.id === L.from), d = i.find((c) => c.id === L.to);
3025
3047
  if (!A || !d) return;
3026
- const i = new n.Cartesian3(A.x, A.y, A.z), l = new n.Cartesian3(d.x, d.y, d.z), u = this.getPositionByHprAndOffset(W, i, T), C = this.getPositionByHprAndOffset(W, l, T), o = n.Cartesian3.distance(u, C);
3048
+ const t = new n.Cartesian3(A.x, A.y, A.z), l = new n.Cartesian3(d.x, d.y, d.z), u = this.getPositionByHprAndOffset(W, t, T), C = this.getPositionByHprAndOffset(W, l, T), o = n.Cartesian3.distance(u, C);
3027
3049
  s += `${L.from},${L.to},${A.x},${A.y},${A.z},${d.x},${d.y},${d.z},${o}
3028
3050
  `;
3029
3051
  }), s;
3030
3052
  }
3031
- static downloadCSV(e, t) {
3053
+ static downloadCSV(e, i) {
3032
3054
  const r = new Blob([e], { type: "text/csv;charset=utf-8;" });
3033
- cs.saveAs(r, t);
3055
+ cs.saveAs(r, i);
3034
3056
  }
3035
- static getPositionByHprAndOffset(e, t, r) {
3057
+ static getPositionByHprAndOffset(e, i, r) {
3036
3058
  const s = n.Transforms.headingPitchRollToFixedFrame(e, r);
3037
- return n.Matrix4.multiplyByPoint(s, t, new n.Cartesian3());
3059
+ return n.Matrix4.multiplyByPoint(s, i, new n.Cartesian3());
3038
3060
  }
3039
3061
  }
3040
- class pt {
3041
- constructor(e, t, r) {
3062
+ class pi {
3063
+ constructor(e, i, r) {
3042
3064
  //三维场景
3043
3065
  w(this, "viewer");
3044
3066
  w(this, "TowerFZS");
@@ -3060,7 +3082,7 @@ class pt {
3060
3082
  w(this, "byTimes", []);
3061
3083
  // 或者如果是Node.js环境:
3062
3084
  w(this, "_animationInterval", null);
3063
- this.Keym = r, this.viewer = e, this.TowerFZS = t, this.dataSource2 = new n.CustomDataSource(this.TowerFZS.id), this.entityCollection2 = this.dataSource2.entities, this.TowerLineManager = new ht(this.viewer);
3085
+ this.Keym = r, this.viewer = e, this.TowerFZS = i, this.dataSource2 = new n.CustomDataSource(this.TowerFZS.id), this.entityCollection2 = this.dataSource2.entities, this.TowerLineManager = new hi(this.viewer);
3064
3086
  }
3065
3087
  // 类的构造函数,用于初始化属性
3066
3088
  // private shpExporter: TowerSHPExporter;
@@ -3070,9 +3092,9 @@ class pt {
3070
3092
  loadfile() {
3071
3093
  if (this.Keym != "OW_JPS_EEngin_001")
3072
3094
  return;
3073
- const { TowerNodes: e, connections: t } = et(this.TowerFZS.towerFZinfo);
3074
- this.TowerNodes = e, this.connections = t, this.displacementData = ot(this.TowerFZS.towerDisFile);
3075
- const { byTime: r } = rt(this.TowerFZS.stressFileContent);
3095
+ const { TowerNodes: e, connections: i } = ei(this.TowerFZS.towerFZinfo);
3096
+ this.TowerNodes = e, this.connections = i, this.displacementData = oi(this.TowerFZS.towerDisFile);
3097
+ const { byTime: r } = ri(this.TowerFZS.stressFileContent);
3076
3098
  this.byTimes = r;
3077
3099
  debugger;
3078
3100
  }
@@ -3081,10 +3103,10 @@ class pt {
3081
3103
  if (this.Keym != "OW_JPS_EEngin_001")
3082
3104
  return;
3083
3105
  let e = new n.HeadingPitchRoll(n.Math.toRadians(this.TowerFZS.RollX), this.TowerFZS.RollY, this.TowerFZS.RollZ);
3084
- const t = n.Cartesian3.fromDegrees(this.TowerFZS.Longitude, this.TowerFZS.Latitude, this.TowerFZS.Altitude);
3106
+ const i = n.Cartesian3.fromDegrees(this.TowerFZS.Longitude, this.TowerFZS.Latitude, this.TowerFZS.Altitude);
3085
3107
  this.connections.forEach((r) => {
3086
3108
  const s = this.TowerNodes.find((l) => l.id === r.from), T = this.TowerNodes.find((l) => l.id === r.to), W = [], L = new n.Cartesian3(s == null ? void 0 : s.x, s == null ? void 0 : s.y, s == null ? void 0 : s.z);
3087
- W.push(B(t, L, e));
3109
+ W.push(B(i, L, e));
3088
3110
  const A = os(
3089
3111
  this.viewer,
3090
3112
  W[0],
@@ -3098,8 +3120,8 @@ class pt {
3098
3120
  );
3099
3121
  this.pointEntities.push(A);
3100
3122
  const d = new n.Cartesian3(T == null ? void 0 : T.x, T == null ? void 0 : T.y, T == null ? void 0 : T.z);
3101
- W.push(B(t, d, e));
3102
- const i = os(
3123
+ W.push(B(i, d, e));
3124
+ const t = os(
3103
3125
  this.viewer,
3104
3126
  W[1],
3105
3127
  (s == null ? void 0 : s.id) + "",
@@ -3110,12 +3132,12 @@ class pt {
3110
3132
  pixelOffset: [0, -30]
3111
3133
  }
3112
3134
  );
3113
- this.pointEntities.push(i), this.TowerLineManager.addLine(W);
3135
+ this.pointEntities.push(t), this.TowerLineManager.addLine(W);
3114
3136
  }), this.initSHPExporter();
3115
3137
  }
3116
3138
  // 使用修复后的SHP导出器
3117
3139
  async exportToSHP() {
3118
- await new ft(
3140
+ await new fi(
3119
3141
  this.TowerNodes,
3120
3142
  this.connections,
3121
3143
  this.TowerFZS
@@ -3123,7 +3145,7 @@ class pt {
3123
3145
  }
3124
3146
  // 如果SHP导出仍有问题,使用CSV备用方案
3125
3147
  async exportToCSV() {
3126
- await nt.exportToCSV(
3148
+ await ni.exportToCSV(
3127
3149
  this.TowerNodes,
3128
3150
  this.connections,
3129
3151
  this.TowerFZS
@@ -3158,15 +3180,15 @@ class pt {
3158
3180
  return;
3159
3181
  }
3160
3182
  debugger;
3161
- const i = r.find((y) => y.nodeId === L.from), l = r.find((y) => y.nodeId === L.to);
3162
- if (!i || !l) {
3183
+ const t = r.find((y) => y.nodeId === L.from), l = r.find((y) => y.nodeId === L.to);
3184
+ if (!t || !l) {
3163
3185
  console.warn(`找不到连接 ${L.from}->${L.to} 的位移数据`);
3164
3186
  return;
3165
3187
  }
3166
3188
  const u = new n.Cartesian3(
3167
- A.x - i.x,
3168
- A.y - i.y,
3169
- A.z - i.z
3189
+ A.x - t.x,
3190
+ A.y - t.y,
3191
+ A.z - t.z
3170
3192
  ), C = new n.Cartesian3(
3171
3193
  d.x - l.x,
3172
3194
  d.y - l.y,
@@ -3211,16 +3233,16 @@ class pt {
3211
3233
  loadFZDISTower1(e) {
3212
3234
  if (this.Keym != "OW_JPS_EEngin_001")
3213
3235
  return;
3214
- const t = Is(this.displacementData);
3236
+ const i = Is(this.displacementData);
3215
3237
  let r = new n.HeadingPitchRoll(n.Math.toRadians(this.TowerFZS.RollX), this.TowerFZS.RollY, this.TowerFZS.RollZ);
3216
3238
  const s = n.Cartesian3.fromDegrees(this.TowerFZS.Longitude, this.TowerFZS.Latitude, this.TowerFZS.Altitude);
3217
3239
  this.connections.forEach((T) => {
3218
- const W = this.TowerNodes.find((C) => C.id === T.from), L = t[e].find((C) => C.nodeId === T.from), A = this.TowerNodes.find((C) => C.id === T.to), d = t[e].find((C) => C.nodeId === T.to), i = [], l = new n.Cartesian3(W.x - L.x, W.y - L.y, W.z - L.z);
3219
- i.push(B(s, l, r));
3240
+ const W = this.TowerNodes.find((C) => C.id === T.from), L = i[e].find((C) => C.nodeId === T.from), A = this.TowerNodes.find((C) => C.id === T.to), d = i[e].find((C) => C.nodeId === T.to), t = [], l = new n.Cartesian3(W.x - L.x, W.y - L.y, W.z - L.z);
3241
+ t.push(B(s, l, r));
3220
3242
  const u = new n.Cartesian3(A.x - d.x, A.y - d.y, A.z - d.z);
3221
- i.push(B(s, u, r));
3243
+ t.push(B(s, u, r));
3222
3244
  debugger;
3223
- this.entityCollection2.add(h(i, T.from + "" + T.to, this.TowerFZS.TowerMembersWidth, this.TowerFZS.TowerMemberColor));
3245
+ this.entityCollection2.add(h(t, T.from + "" + T.to, this.TowerFZS.TowerMembersWidth, this.TowerFZS.TowerMemberColor));
3224
3246
  });
3225
3247
  }
3226
3248
  /**
@@ -3234,16 +3256,16 @@ class pt {
3234
3256
  return;
3235
3257
  }
3236
3258
  let e = 1;
3237
- const t = this.displacementData.length;
3259
+ const i = this.displacementData.length;
3238
3260
  this._animationInterval && (clearInterval(this._animationInterval), this._animationInterval = null);
3239
3261
  const r = () => {
3240
- if (this.viewer.dataSources.contains(this.dataSource2) && this.viewer.dataSources.remove(this.dataSource2, !0), e > t) {
3262
+ if (this.viewer.dataSources.contains(this.dataSource2) && this.viewer.dataSources.remove(this.dataSource2, !0), e > i) {
3241
3263
  e = 1;
3242
3264
  return;
3243
3265
  }
3244
3266
  this.dataSource2 = new n.CustomDataSource("fztower"), this.entityCollection2 = this.dataSource2.entities;
3245
3267
  try {
3246
- this.loadFZDISTower(e), this.loadFZModel(), console.log(`正在显示位移帧: ${e}/${t}`), e++;
3268
+ this.loadFZDISTower(e), this.loadFZModel(), console.log(`正在显示位移帧: ${e}/${i}`), e++;
3247
3269
  } catch (s) {
3248
3270
  console.error("加载位移帧时出错:", s), this._animationInterval && (clearInterval(this._animationInterval), this._animationInterval = null);
3249
3271
  }
@@ -3272,20 +3294,20 @@ class pt {
3272
3294
  }
3273
3295
  }
3274
3296
  export {
3275
- Ct as GUAPoint,
3276
- Tt as InsulatorInfo,
3277
- D as InsulatorType,
3278
- ht as LineManager,
3297
+ Ci as GUAPoint,
3298
+ Ti as InsulatorInfo,
3299
+ F as InsulatorType,
3300
+ hi as LineManager,
3279
3301
  hs as LineNum,
3280
- it as LineType,
3281
- pt as OWEEgineFZManager,
3302
+ ti as LineType,
3303
+ pi as OWEEgineFZManager,
3282
3304
  ws as OWEEgineManager,
3283
3305
  G as PhaseSType,
3284
- At as TowerFZInfo,
3285
- ct as TowerInfo,
3286
- lt as TowerLineInfo,
3306
+ Ai as TowerFZInfo,
3307
+ ci as TowerInfo,
3308
+ li as TowerLineInfo,
3287
3309
  V as TowerType,
3288
- ut as TreeType,
3310
+ ui as TreeType,
3289
3311
  p as WairnumType,
3290
3312
  Cs as drawModel
3291
3313
  };