ow-eengine-power 2.8.2 → 2.8.6

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.
@@ -171,7 +171,7 @@ function Me(h, t, s) {
171
171
  };
172
172
  return Ct(W, t, s);
173
173
  }
174
- function U(h, t, s) {
174
+ function J(h, t, s) {
175
175
  if (s === void 0 && (s = {}), h.length < 2)
176
176
  throw new Error("coordinates must be an array of two or more positions");
177
177
  var r = {
@@ -207,14 +207,14 @@ function Qt(h, t) {
207
207
  throw new Error(t + " units is invalid");
208
208
  return h / s;
209
209
  }
210
- function Se(h, t) {
210
+ function _e(h, t) {
211
211
  return Mt(Qt(h, t));
212
212
  }
213
213
  function Mt(h) {
214
214
  var t = h % (2 * Math.PI);
215
215
  return t * 180 / Math.PI;
216
216
  }
217
- function ht(h) {
217
+ function ot(h) {
218
218
  var t = h % 360;
219
219
  return t * Math.PI / 180;
220
220
  }
@@ -234,7 +234,7 @@ function de(h, t, s) {
234
234
  for (var r, e, a, n, W, u, c, i = 0, l = 0, T, p = h.type, o = p === "FeatureCollection", A = p === "Feature", g = o ? h.features.length : 1, y = 0; y < g; y++) {
235
235
  c = o ? h.features[y].geometry : A ? h.geometry : h, T = c ? c.type === "GeometryCollection" : !1, W = T ? c.geometries.length : 1;
236
236
  for (var L = 0; L < W; L++) {
237
- var I = 0, B = 0;
237
+ var m = 0, B = 0;
238
238
  if (n = T ? c.geometries[L] : c, n !== null) {
239
239
  u = n.coordinates;
240
240
  var v = n.type;
@@ -246,11 +246,11 @@ function de(h, t, s) {
246
246
  u,
247
247
  l,
248
248
  y,
249
- I,
249
+ m,
250
250
  B
251
251
  ) === !1)
252
252
  return !1;
253
- l++, I++;
253
+ l++, m++;
254
254
  break;
255
255
  case "LineString":
256
256
  case "MultiPoint":
@@ -259,13 +259,13 @@ function de(h, t, s) {
259
259
  u[r],
260
260
  l,
261
261
  y,
262
- I,
262
+ m,
263
263
  B
264
264
  ) === !1)
265
265
  return !1;
266
- l++, v === "MultiPoint" && I++;
266
+ l++, v === "MultiPoint" && m++;
267
267
  }
268
- v === "LineString" && I++;
268
+ v === "LineString" && m++;
269
269
  break;
270
270
  case "Polygon":
271
271
  case "MultiLineString":
@@ -275,15 +275,15 @@ function de(h, t, s) {
275
275
  u[r][e],
276
276
  l,
277
277
  y,
278
- I,
278
+ m,
279
279
  B
280
280
  ) === !1)
281
281
  return !1;
282
282
  l++;
283
283
  }
284
- v === "MultiLineString" && I++, v === "Polygon" && B++;
284
+ v === "MultiLineString" && m++, v === "Polygon" && B++;
285
285
  }
286
- v === "Polygon" && I++;
286
+ v === "Polygon" && m++;
287
287
  break;
288
288
  case "MultiPolygon":
289
289
  for (r = 0; r < u.length; r++) {
@@ -293,7 +293,7 @@ function de(h, t, s) {
293
293
  u[r][e][a],
294
294
  l,
295
295
  y,
296
- I,
296
+ m,
297
297
  B
298
298
  ) === !1)
299
299
  return !1;
@@ -301,7 +301,7 @@ function de(h, t, s) {
301
301
  }
302
302
  B++;
303
303
  }
304
- I++;
304
+ m++;
305
305
  }
306
306
  break;
307
307
  case "GeometryCollection":
@@ -316,7 +316,7 @@ function de(h, t, s) {
316
316
  }
317
317
  }
318
318
  }
319
- function _e(h, t) {
319
+ function Se(h, t) {
320
320
  if (h.type === "Feature")
321
321
  t(h, 0);
322
322
  else if (h.type === "FeatureCollection")
@@ -424,7 +424,7 @@ function Fe(h, t) {
424
424
  W = l, u = r, c = o, i = A, a = 0;
425
425
  return;
426
426
  }
427
- var g = U(
427
+ var g = J(
428
428
  [W, l],
429
429
  s.properties
430
430
  );
@@ -477,20 +477,20 @@ function ee(h, t, s) {
477
477
  if (!h.geometry || h.geometry.type !== t)
478
478
  throw new Error("Invalid input to " + s + ": must be a " + t + ", given " + h.geometry.type);
479
479
  }
480
- function $e(h) {
480
+ function Ze(h) {
481
481
  return h.type === "Feature" ? h.geometry : h;
482
482
  }
483
- function Ze(h, t) {
483
+ function Xe(h, t) {
484
484
  return h.type === "FeatureCollection" ? "FeatureCollection" : h.type === "GeometryCollection" ? "GeometryCollection" : h.type === "Feature" && h.geometry !== null ? h.geometry.type : h.type;
485
485
  }
486
- var mt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
487
- function Xe(h, t, s) {
486
+ var It = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
487
+ function $e(h, t, s) {
488
488
  if (s === void 0 && (s = {}), !h)
489
489
  throw new Error("point is required");
490
490
  if (!t)
491
491
  throw new Error("polygon is required");
492
- var r = dt(h), e = $e(t), a = e.type, n = t.bbox, W = e.coordinates;
493
- if (n && Ye(r, n) === !1)
492
+ var r = dt(h), e = Ze(t), a = e.type, n = t.bbox, W = e.coordinates;
493
+ if (n && Ve(r, n) === !1)
494
494
  return !1;
495
495
  a === "Polygon" && (W = [W]);
496
496
  for (var u = !1, c = 0; c < W.length && !u; c++)
@@ -513,15 +513,15 @@ function se(h, t, s) {
513
513
  }
514
514
  return r;
515
515
  }
516
- function Ye(h, t) {
516
+ function Ve(h, t) {
517
517
  return t[0] <= h[0] && t[1] <= h[1] && t[2] >= h[0] && t[3] >= h[1];
518
518
  }
519
519
  function ct(h, t, s) {
520
520
  s === void 0 && (s = {});
521
- var r = dt(h), e = dt(t), a = ht(e[1] - r[1]), n = ht(e[0] - r[0]), W = ht(r[1]), u = ht(e[1]), c = Math.pow(Math.sin(a / 2), 2) + Math.pow(Math.sin(n / 2), 2) * Math.cos(W) * Math.cos(u);
521
+ var r = dt(h), e = dt(t), a = ot(e[1] - r[1]), n = ot(e[0] - r[0]), W = ot(r[1]), u = ot(e[1]), c = Math.pow(Math.sin(a / 2), 2) + Math.pow(Math.sin(n / 2), 2) * Math.cos(W) * Math.cos(u);
522
522
  return ue(2 * Math.atan2(Math.sqrt(c), Math.sqrt(1 - c)), s.units);
523
523
  }
524
- function Ve(h) {
524
+ function Ye(h) {
525
525
  if (!h)
526
526
  throw new Error("geojson is required");
527
527
  switch (h.type) {
@@ -591,13 +591,13 @@ function we(h) {
591
591
  }
592
592
  function zt(h, t, s, r) {
593
593
  r === void 0 && (r = {});
594
- var e = dt(h), a = ht(e[0]), n = ht(e[1]), W = ht(s), u = Qt(t, r.units), c = Math.asin(Math.sin(n) * Math.cos(u) + Math.cos(n) * Math.sin(u) * Math.cos(W)), i = a + Math.atan2(Math.sin(W) * Math.sin(u) * Math.cos(n), Math.cos(u) - Math.sin(n) * Math.sin(c)), l = Mt(i), T = Mt(c);
594
+ var e = dt(h), a = ot(e[0]), n = ot(e[1]), W = ot(s), u = Qt(t, r.units), c = Math.asin(Math.sin(n) * Math.cos(u) + Math.cos(n) * Math.sin(u) * Math.cos(W)), i = a + Math.atan2(Math.sin(W) * Math.sin(u) * Math.cos(n), Math.cos(u) - Math.sin(n) * Math.sin(c)), l = Mt(i), T = Mt(c);
595
595
  return st([l, T], r.properties);
596
596
  }
597
597
  function Et(h, t, s) {
598
598
  if (s === void 0 && (s = {}), s.final === !0)
599
599
  return Oe(h, t);
600
- var r = dt(h), e = dt(t), a = ht(r[0]), n = ht(e[0]), W = ht(r[1]), u = ht(e[1]), c = Math.sin(n - a) * Math.cos(u), i = Math.cos(W) * Math.sin(u) - Math.sin(W) * Math.cos(u) * Math.cos(n - a);
600
+ var r = dt(h), e = dt(t), a = ot(r[0]), n = ot(e[0]), W = ot(r[1]), u = ot(e[1]), c = Math.sin(n - a) * Math.cos(u), i = Math.cos(W) * Math.sin(u) - Math.sin(W) * Math.cos(u) * Math.cos(n - a);
601
601
  return Mt(Math.atan2(c, i));
602
602
  }
603
603
  function Oe(h, t) {
@@ -614,10 +614,10 @@ function Ge(h, t) {
614
614
  if (!t)
615
615
  throw new Error("points is required");
616
616
  var s, r = 1 / 0, e = 0;
617
- return _e(t, function(a, n) {
617
+ return Se(t, function(a, n) {
618
618
  var W = ct(h, a);
619
619
  W < r && (e = n, r = W);
620
- }), s = Ve(t.features[e]), s.properties.featureIndex = e, s.properties.distanceToPoint = r, s;
620
+ }), s = Ye(t.features[e]), s.properties.featureIndex = e, s.properties.distanceToPoint = r, s;
621
621
  }
622
622
  function ze(h, t, s) {
623
623
  s === void 0 && (s = {});
@@ -633,12 +633,12 @@ function Ke(h, t, s) {
633
633
  var u = Math.log(Math.tan(a / 2 + Math.PI / 4) / Math.tan(e / 2 + Math.PI / 4)), c = Math.abs(u) > 1e-11 ? n / u : Math.cos(e), i = Math.sqrt(n * n + c * c * W * W), l = i * r;
634
634
  return l;
635
635
  }
636
- function wt(h, t, s) {
636
+ function At(h, t, s) {
637
637
  if (s === void 0 && (s = {}), s.method || (s.method = "geodesic"), s.units || (s.units = "kilometers"), !h)
638
638
  throw new Error("pt is required");
639
639
  if (Array.isArray(h) ? h = st(h) : h.type === "Point" ? h = Ct(h) : ee(h, "Point", "point"), !t)
640
640
  throw new Error("line is required");
641
- Array.isArray(t) ? t = U(t) : t.type === "LineString" ? t = Ct(t) : ee(t, "LineString", "line");
641
+ Array.isArray(t) ? t = J(t) : t.type === "LineString" ? t = Ct(t) : ee(t, "LineString", "line");
642
642
  var r = 1 / 0, e = h.geometry.coordinates;
643
643
  return Fe(t, function(a) {
644
644
  var n = a.geometry.coordinates[0], W = a.geometry.coordinates[1], u = qe(e, n, W, s);
@@ -648,17 +648,17 @@ function wt(h, t, s) {
648
648
  function qe(h, t, s, r) {
649
649
  var e = [s[0] - t[0], s[1] - t[1]], a = [h[0] - t[0], h[1] - t[1]], n = ie(a, e);
650
650
  if (n <= 0)
651
- return Yt(h, t, { method: r.method, units: "degrees" });
651
+ return Vt(h, t, { method: r.method, units: "degrees" });
652
652
  var W = ie(e, e);
653
653
  if (W <= n)
654
- return Yt(h, s, { method: r.method, units: "degrees" });
654
+ return Vt(h, s, { method: r.method, units: "degrees" });
655
655
  var u = n / W, c = [t[0] + u * e[0], t[1] + u * e[1]];
656
- return Yt(h, c, { method: r.method, units: "degrees" });
656
+ return Vt(h, c, { method: r.method, units: "degrees" });
657
657
  }
658
658
  function ie(h, t) {
659
659
  return h[0] * t[0] + h[1] * t[1];
660
660
  }
661
- function Yt(h, t, s) {
661
+ function Vt(h, t, s) {
662
662
  return s.method === "planar" ? ze(h, t, s) : ct(h, t, s);
663
663
  }
664
664
  function Le(h, t, s, r) {
@@ -670,19 +670,19 @@ function Le(h, t, s, r) {
670
670
  for (var n = e.length, W = 0, u, c, i, l = 0; l < e.length && !(t >= W && l === e.length - 1); l++) {
671
671
  if (W > t && a.length === 0) {
672
672
  if (u = t - W, !u)
673
- return a.push(e[l]), U(a);
673
+ return a.push(e[l]), J(a);
674
674
  c = Et(e[l], e[l - 1]) - 180, i = zt(e[l], u, c, r), a.push(i.geometry.coordinates);
675
675
  }
676
676
  if (W >= s)
677
- return u = s - W, u ? (c = Et(e[l], e[l - 1]) - 180, i = zt(e[l], u, c, r), a.push(i.geometry.coordinates), U(a)) : (a.push(e[l]), U(a));
677
+ return u = s - W, u ? (c = Et(e[l], e[l - 1]) - 180, i = zt(e[l], u, c, r), a.push(i.geometry.coordinates), J(a)) : (a.push(e[l]), J(a));
678
678
  if (W >= t && a.push(e[l]), l === e.length - 1)
679
- return U(a);
679
+ return J(a);
680
680
  W += ct(e[l], e[l + 1], r);
681
681
  }
682
682
  if (W < t && e.length === n)
683
683
  throw new Error("Start position is beyond line");
684
684
  var T = e[e.length - 1];
685
- return U([T, T]);
685
+ return J([T, T]);
686
686
  }
687
687
  function Rt(h) {
688
688
  var t = h[0], s = h[1];
@@ -717,7 +717,7 @@ function qt(h, t, s) {
717
717
  if (!h) throw new Error("geojson is required");
718
718
  if (t == null || isNaN(t))
719
719
  throw new Error("distance is required");
720
- var e = Ze(h), a = h.properties;
720
+ var e = Xe(h), a = h.properties;
721
721
  switch (e) {
722
722
  case "LineString":
723
723
  return oe(h, t, r);
@@ -733,7 +733,7 @@ function qt(h, t, s) {
733
733
  }
734
734
  }
735
735
  function oe(h, t, s) {
736
- var r = [], e = Se(t, s), a = Gt(h), n = [];
736
+ var r = [], e = _e(t, s), a = Gt(h), n = [];
737
737
  return a.forEach(function(W, u) {
738
738
  if (u !== a.length - 1) {
739
739
  var c = es(
@@ -747,7 +747,7 @@ function oe(h, t, s) {
747
747
  }
748
748
  a.length === 2 && (n.push(c[0]), n.push(c[1]));
749
749
  }
750
- }), U(n, h.properties);
750
+ }), J(n, h.properties);
751
751
  }
752
752
  function es(h, t, s) {
753
753
  var r = Math.sqrt(
@@ -799,7 +799,7 @@ class zs {
799
799
  w(this, "modelbox", "");
800
800
  }
801
801
  }
802
- var q = /* @__PURE__ */ ((h) => (h[h.树木 = 0] = "树木", h[h.房屋 = 1] = "房屋", h[h.高速公路 = 2] = "高速公路", h[h.电力线 = 3] = "电力线", h[h.导线 = 4] = "导线", h[h.地面 = 5] = "地面", h[h.其他地物 = 6] = "其他地物", h))(q || {});
802
+ var U = /* @__PURE__ */ ((h) => (h[h.树木 = 0] = "树木", h[h.房屋 = 1] = "房屋", h[h.高速公路 = 2] = "高速公路", h[h.电力线 = 3] = "电力线", h[h.导线 = 4] = "导线", h[h.地面 = 5] = "地面", h[h.其他地物 = 6] = "其他地物", h))(U || {});
803
803
  class Ks {
804
804
  constructor() {
805
805
  // 杆塔id
@@ -894,7 +894,7 @@ class Js {
894
894
  w(this, "Z", 0);
895
895
  }
896
896
  }
897
- var x = /* @__PURE__ */ ((h) => (h[h.A相 = 0] = "A相", h[h.B相 = 1] = "B相", h[h.C相 = 2] = "C相", h[h.地线1 = 3] = "地线1", h[h.地线2 = 4] = "地线2", h))(x || {}), nt = /* @__PURE__ */ ((h) => (h[h.直线塔 = 0] = "直线塔", h[h.耐张塔 = 1] = "耐张塔", h[h.门架塔 = 2] = "门架塔", h[h.换位塔 = 3] = "换位塔", h))(nt || {}), ss = /* @__PURE__ */ ((h) => (h[h.交流单回路 = 0] = "交流单回路", h[h.交流双回路 = 1] = "交流双回路", h[h.直流单回路 = 2] = "直流单回路", h[h.直流双回路 = 3] = "直流双回路", h[h.交流四回路 = 4] = "交流四回路", h))(ss || {}), Dt = /* @__PURE__ */ ((h) => (h[h.地线 = 0] = "地线", h[h.回路一 = 1] = "回路一", h[h.回路二 = 2] = "回路二", h[h.回路三 = 3] = "回路三", h[h.回路四 = 4] = "回路四", h))(Dt || {}), G = /* @__PURE__ */ ((h) => (h[h.悬垂串 = 0] = "悬垂串", h[h.耐张串 = 1] = "耐张串", h[h.跳线串 = 2] = "跳线串", h[h.硬跳串 = 3] = "硬跳串", h[h.V串 = 4] = "V串", h[h.地线串 = 5] = "地线串", h[h.绕跳临时 = 6] = "绕跳临时", h))(G || {}), m = /* @__PURE__ */ ((h) => (h[h.单分裂 = 0] = "单分裂", h[h.双分裂 = 1] = "双分裂", h[h.四分裂 = 2] = "四分裂", h[h.六分裂 = 3] = "六分裂", h[h.八分裂 = 4] = "八分裂", h))(m || {}), K = /* @__PURE__ */ ((h) => (h[h.直线距离 = 0] = "直线距离", h[h.水平距离 = 1] = "水平距离", h[h.垂直距离 = 2] = "垂直距离", h[h.净空距离 = 3] = "净空距离", h[h.安全距离 = 4] = "安全距离", h[h.线间距离测量 = 5] = "线间距离测量", h))(K || {});
897
+ var x = /* @__PURE__ */ ((h) => (h[h.A相 = 0] = "A相", h[h.B相 = 1] = "B相", h[h.C相 = 2] = "C相", h[h.地线1 = 3] = "地线1", h[h.地线2 = 4] = "地线2", h))(x || {}), it = /* @__PURE__ */ ((h) => (h[h.直线塔 = 0] = "直线塔", h[h.耐张塔 = 1] = "耐张塔", h[h.门架塔 = 2] = "门架塔", h[h.换位塔 = 3] = "换位塔", h))(it || {}), ss = /* @__PURE__ */ ((h) => (h[h.交流单回路 = 0] = "交流单回路", h[h.交流双回路 = 1] = "交流双回路", h[h.直流单回路 = 2] = "直流单回路", h[h.直流双回路 = 3] = "直流双回路", h[h.交流四回路 = 4] = "交流四回路", h))(ss || {}), Dt = /* @__PURE__ */ ((h) => (h[h.地线 = 0] = "地线", h[h.回路一 = 1] = "回路一", h[h.回路二 = 2] = "回路二", h[h.回路三 = 3] = "回路三", h[h.回路四 = 4] = "回路四", h))(Dt || {}), z = /* @__PURE__ */ ((h) => (h[h.悬垂串 = 0] = "悬垂串", h[h.耐张串 = 1] = "耐张串", h[h.跳线串 = 2] = "跳线串", h[h.硬跳串 = 3] = "硬跳串", h[h.V串 = 4] = "V串", h[h.地线串 = 5] = "地线串", h[h.绕跳临时 = 6] = "绕跳临时", h))(z || {}), I = /* @__PURE__ */ ((h) => (h[h.单分裂 = 0] = "单分裂", h[h.双分裂 = 1] = "双分裂", h[h.四分裂 = 2] = "四分裂", h[h.六分裂 = 3] = "六分裂", h[h.八分裂 = 4] = "八分裂", h))(I || {}), q = /* @__PURE__ */ ((h) => (h[h.直线距离 = 0] = "直线距离", h[h.水平距离 = 1] = "水平距离", h[h.垂直距离 = 2] = "垂直距离", h[h.净空距离 = 3] = "净空距离", h[h.安全距离 = 4] = "安全距离", h[h.线间距离测量 = 5] = "线间距离测量", h))(q || {});
898
898
  class ge {
899
899
  constructor() {
900
900
  // 水平距离规则配置
@@ -916,7 +916,7 @@ class Ie {
916
916
  }
917
917
  }
918
918
  var N = /* @__PURE__ */ ((h) => (h[h.A相 = 0] = "A相", h[h.B相 = 1] = "B相", h[h.C相 = 2] = "C相", h[h.地线1 = 3] = "地线1", h[h.地线2 = 4] = "地线2", h[h.全部 = 5] = "全部", h))(N || {});
919
- class Vt {
919
+ class Yt {
920
920
  constructor() {
921
921
  // 按相序组合存储的距离规则配置
922
922
  // key格式: "A-B", "A-C", "B-C", "A-地线1", "B-地线2", 等
@@ -968,44 +968,43 @@ function Pt(h, t, s, r) {
968
968
  }
969
969
  function Ht(h, t) {
970
970
  if (!t || t.length === 0)
971
- return console.log("fastPointToLineDistance: line is empty or null"), 1 / 0;
971
+ return 1 / 0;
972
972
  let s = 1 / 0;
973
973
  for (let e = 0; e < t.length; e++) {
974
974
  const a = t[e], n = h[0] - a[0], W = h[1] - a[1], u = n * n + W * W;
975
975
  u < s && (s = u);
976
976
  }
977
- const r = Math.sqrt(s);
978
- return console.log(`fastPointToLineDistance result: ${r}`), r;
977
+ return Math.sqrt(s);
979
978
  }
980
979
  const vt = () => ({
981
980
  horizontalLevels: [
982
- { name: "critical", minDistance: 0, maxDistance: 160, color: "#ff0000" },
983
- { name: "danger", minDistance: 160, maxDistance: 170, color: "#ff0000" },
984
- { name: "warning", minDistance: 170, maxDistance: 180, color: "#ffa500" },
985
- { name: "safe", minDistance: 180, maxDistance: 1 / 0, color: "#00ff00" }
981
+ { id: "critical", name: "critical", minDistance: 0, maxDistance: 160, color: "#ff0000" },
982
+ { id: "danger", name: "danger", minDistance: 160, maxDistance: 170, color: "#ff0000" },
983
+ { id: "warning", name: "warning", minDistance: 170, maxDistance: 180, color: "#ffa500" },
984
+ { id: "safe", name: "safe", minDistance: 180, maxDistance: 1 / 0, color: "#00ff00" }
986
985
  ],
987
986
  verticalLevels: [
988
- { name: "critical", minDistance: 0, maxDistance: 160, color: "#ff0000" },
989
- { name: "danger", minDistance: 160, maxDistance: 170, color: "#ff0000" },
990
- { name: "warning", minDistance: 170, maxDistance: 180, color: "#ffa500" },
991
- { name: "safe", minDistance: 180, maxDistance: 1 / 0, color: "#00ff00" }
987
+ { id: "critical", name: "critical", minDistance: 0, maxDistance: 160, color: "#ff0000" },
988
+ { id: "danger", name: "danger", minDistance: 160, maxDistance: 170, color: "#ff0000" },
989
+ { id: "warning", name: "warning", minDistance: 170, maxDistance: 180, color: "#ffa500" },
990
+ { id: "safe", name: "safe", minDistance: 180, maxDistance: 1 / 0, color: "#00ff00" }
992
991
  ],
993
992
  straightLineLevels: [
994
- { name: "critical", minDistance: 0, maxDistance: 160, color: "#ff0000" },
995
- { name: "danger", minDistance: 160, maxDistance: 170, color: "#ff0000" },
996
- { name: "warning", minDistance: 170, maxDistance: 180, color: "#ffa500" },
997
- { name: "safe", minDistance: 180, maxDistance: 1 / 0, color: "#00ff00" }
993
+ { id: "critical", name: "critical", minDistance: 0, maxDistance: 160, color: "#ff0000" },
994
+ { id: "danger", name: "danger", minDistance: 160, maxDistance: 170, color: "#ff0000" },
995
+ { id: "warning", name: "warning", minDistance: 170, maxDistance: 180, color: "#ffa500" },
996
+ { id: "safe", name: "safe", minDistance: 180, maxDistance: 1 / 0, color: "#00ff00" }
998
997
  ],
999
998
  clearanceLevels: [
1000
- { name: "critical", minDistance: 0, maxDistance: 10, color: "#ff0000" },
1001
- { name: "danger", minDistance: 10, maxDistance: 15, color: "#ff6600" },
1002
- { name: "warning", minDistance: 15, maxDistance: 20, color: "#ffa500" },
1003
- { name: "safe", minDistance: 20, maxDistance: 1 / 0, color: "#00ff00" }
999
+ { id: "critical", name: "critical", minDistance: 0, maxDistance: 10, color: "#ff0000" },
1000
+ { id: "danger", name: "danger", minDistance: 10, maxDistance: 15, color: "#ff6600" },
1001
+ { id: "warning", name: "warning", minDistance: 15, maxDistance: 20, color: "#ffa500" },
1002
+ { id: "safe", name: "safe", minDistance: 20, maxDistance: 1 / 0, color: "#00ff00" }
1004
1003
  ]
1005
1004
  }), os = () => {
1006
1005
  const h = new Ie();
1007
- return h.typeRules.set(q.树木, vt()), h.typeRules.set(q.房屋, vt()), h.typeRules.set(q.高速公路, vt()), h.typeRules.set(q.电力线, vt()), h;
1008
- }, re = os(), rs = (h, t) => h.typeRules.get(t) || new ge(), Wt = (h, t, s, r = re, e, a = q.树木) => {
1006
+ return h.typeRules.set(U.树木, vt()), h.typeRules.set(U.房屋, vt()), h.typeRules.set(U.高速公路, vt()), h.typeRules.set(U.电力线, vt()), h;
1007
+ }, re = os(), rs = (h, t) => h.typeRules.get(t) || new ge(), Wt = (h, t, s, r = re, e, a = U.树木) => {
1009
1008
  const W = rs(r || re, a), u = st(h.slice(0, 2)), { nearestCoord: c } = me(h, t), i = t.findIndex(
1010
1009
  (H) => H[0] == c[0] && H[1] == c[1]
1011
1010
  );
@@ -1015,26 +1014,21 @@ const vt = () => ({
1015
1014
  else if (i == t.length - 1)
1016
1015
  l.push(t[t.length - 2], t[t.length - 1]);
1017
1016
  else {
1018
- const H = [t[i], t[i + 1]], z = [t[i - 1], t[i]];
1019
- var T = wt(u, U(H), et), p = wt(u, U(z), et);
1020
- l = T > p ? z : H;
1017
+ const H = [t[i], t[i + 1]], K = [t[i - 1], t[i]];
1018
+ var T = At(u, J(H), et), p = At(u, J(K), et);
1019
+ l = T > p ? K : H;
1021
1020
  }
1022
- console.log("附近的点", i, l);
1023
- const o = U([l[0].slice(0, 2), l[1].slice(0, 2)]), A = st(l[0].slice(0, 2)), g = st(l[1].slice(0, 2));
1024
- var y = wt(u, o, et), L = ct(u, A, et) || 0, I = Math.sqrt(L * L - y * y) || 0;
1021
+ const o = J([l[0].slice(0, 2), l[1].slice(0, 2)]), A = st(l[0].slice(0, 2)), g = st(l[1].slice(0, 2));
1022
+ var y = At(u, o, et), L = ct(u, A, et) || 0, m = Math.sqrt(L * L - y * y) || 0;
1025
1023
  let B = l[0].slice(0, 2);
1026
- I > 0 && (B = Le(o, 0, I, et).geometry.coordinates[1]);
1027
- const v = ct(A, g, et), b = Math.abs(l[0][2] - l[1][2]), M = Math.min(l[0][2], l[1][2]), S = Math.max(l[0][2], l[1][2]), R = l[0][2] > l[1][2] ? S - I / v * b : I / v * b + M;
1028
- console.log("高度差>>>>", b), console.log("最小高度>>>>", M), console.log("最大高度>>>>", S);
1029
- const E = R - h[2], D = y * 1e3, $ = Math.sqrt(D * D + E * E);
1030
- console.log("水平距离>>>>", D), console.log("竖直距离>>>>", E), console.log("直线距离>>>>", $);
1024
+ m > 0 && (B = Le(o, 0, m, et).geometry.coordinates[1]);
1025
+ const v = ct(A, g, et), b = Math.abs(l[0][2] - l[1][2]), M = Math.min(l[0][2], l[1][2]), _ = Math.max(l[0][2], l[1][2]), R = l[0][2] > l[1][2] ? _ - m / v * b : m / v * b + M, E = R - h[2], D = y * 1e3, Z = Math.sqrt(D * D + E * E);
1031
1026
  let k = "#eff819", F = f.Color.RED;
1032
- const Z = f.Cartesian3.fromDegrees(
1027
+ const X = f.Cartesian3.fromDegrees(
1033
1028
  h[0],
1034
1029
  h[1],
1035
1030
  h[2]
1036
- ), X = f.Cartesian3.fromDegrees(B[0], B[1], h[2]), Y = f.Cartesian3.fromDegrees(B[0], B[1], R);
1037
- console.log(`坐标详情: 树木=[${h[0]}, ${h[1]}, ${h[2]}], 导线点=[${B[0]}, ${B[1]}, ${R}]`);
1031
+ ), $ = f.Cartesian3.fromDegrees(B[0], B[1], h[2]), Y = f.Cartesian3.fromDegrees(B[0], B[1], R);
1038
1032
  var V = Ne(
1039
1033
  st([h[0], h[1]]),
1040
1034
  st([B[0], B[1]])
@@ -1043,23 +1037,23 @@ const vt = () => ({
1043
1037
  V[0],
1044
1038
  V[1],
1045
1039
  h[2]
1046
- ), Lt = f.Cartesian3.fromDegrees(
1040
+ ), wt = f.Cartesian3.fromDegrees(
1047
1041
  V[0],
1048
1042
  V[1],
1049
1043
  R - E / 2
1050
- ), Tt = f.Cartesian3.fromDegrees(
1044
+ ), Lt = f.Cartesian3.fromDegrees(
1051
1045
  B[0],
1052
1046
  B[1],
1053
1047
  R - E / 2
1054
1048
  );
1055
- let J;
1056
- if (e.includes(K.水平距离) && (W.horizontalLevels && (J = W.horizontalLevels.find(
1049
+ let G;
1050
+ if (e.includes(q.水平距离) && (W.horizontalLevels && (G = W.horizontalLevels.find(
1057
1051
  (H) => D >= H.minDistance && D <= H.maxDistance
1058
- )), J)) {
1059
- k = J.color, F = f.Color.fromCssColorString(J.color);
1052
+ )), G)) {
1053
+ k = G.color, F = f.Color.fromCssColorString(G.color);
1060
1054
  const H = {
1061
1055
  position: O,
1062
- name: "水平距离",
1056
+ name: G.id,
1063
1057
  label: {
1064
1058
  text: `水平距离${D.toFixed(1)}米`,
1065
1059
  fillColor: f.Color.fromCssColorString(k),
@@ -1068,13 +1062,14 @@ const vt = () => ({
1068
1062
  scaleByDistance: new f.NearFarScalar(1e3, 1.5, 2e3, 1),
1069
1063
  disableDepthTestDistance: Number.POSITIVE_INFINITY
1070
1064
  }
1071
- }, z = [];
1072
- z.push(Z), z.push(X);
1073
- var yt = {
1065
+ }, K = [];
1066
+ K.push(X), K.push($);
1067
+ var mt = {
1068
+ name: G.id,
1074
1069
  polyline: {
1075
1070
  show: !0,
1076
1071
  // 定义线条的 Cartesian3 位置的数组
1077
- positions: z,
1072
+ positions: K,
1078
1073
  clampToGround: !1,
1079
1074
  // 是否贴地
1080
1075
  width: 2,
@@ -1083,15 +1078,15 @@ const vt = () => ({
1083
1078
  // 折线是投射还是接收光源的阴影
1084
1079
  }
1085
1080
  };
1086
- s.add(H), s.add(yt);
1081
+ s.add(H), s.add(mt);
1087
1082
  }
1088
- if (e.includes(K.垂直距离) && (W.verticalLevels && (J = W.verticalLevels.find(
1083
+ if (e.includes(q.垂直距离) && (W.verticalLevels && (G = W.verticalLevels.find(
1089
1084
  (H) => E >= H.minDistance && E <= H.maxDistance
1090
- )), J)) {
1091
- k = J.color, F = f.Color.fromCssColorString(J.color);
1085
+ )), G)) {
1086
+ k = G.color, F = f.Color.fromCssColorString(G.color);
1092
1087
  const H = {
1093
- position: Tt,
1094
- name: "垂直距离",
1088
+ position: Lt,
1089
+ name: G.id,
1095
1090
  label: {
1096
1091
  text: `垂直距离${E.toFixed(1)}米`,
1097
1092
  fillColor: f.Color.fromCssColorString(k),
@@ -1100,13 +1095,14 @@ const vt = () => ({
1100
1095
  scaleByDistance: new f.NearFarScalar(1e3, 1.5, 2e3, 1),
1101
1096
  disableDepthTestDistance: Number.POSITIVE_INFINITY
1102
1097
  }
1103
- }, z = [];
1104
- z.push(X), z.push(Y);
1098
+ }, K = [];
1099
+ K.push($), K.push(Y);
1105
1100
  var kt = {
1101
+ name: G.id,
1106
1102
  polyline: {
1107
1103
  show: !0,
1108
1104
  // 定义线条的 Cartesian3 位置的数组
1109
- positions: z,
1105
+ positions: K,
1110
1106
  clampToGround: !1,
1111
1107
  // 是否贴地
1112
1108
  width: 2,
@@ -1116,28 +1112,29 @@ const vt = () => ({
1116
1112
  };
1117
1113
  s.add(H), s.add(kt);
1118
1114
  }
1119
- if (e.includes(K.直线距离) && (W.straightLineLevels && (J = W.straightLineLevels.find(
1120
- (H) => $ >= H.minDistance && $ <= H.maxDistance
1121
- )), J)) {
1122
- k = J.color, F = f.Color.fromCssColorString(J.color);
1115
+ if (e.includes(q.直线距离) && (W.straightLineLevels && (G = W.straightLineLevels.find(
1116
+ (H) => Z >= H.minDistance && Z <= H.maxDistance
1117
+ )), G)) {
1118
+ k = G.color, F = f.Color.fromCssColorString(G.color);
1123
1119
  const H = {
1124
- position: Lt,
1125
- name: "直线距离",
1120
+ position: wt,
1121
+ name: G.id,
1126
1122
  label: {
1127
- text: `直线距离${$.toFixed(1)}米`,
1123
+ text: `直线距离${Z.toFixed(1)}米`,
1128
1124
  fillColor: f.Color.fromCssColorString(k),
1129
1125
  font: "12px sans-serif",
1130
1126
  pixelOffset: new f.Cartesian2(0, 0),
1131
1127
  scaleByDistance: new f.NearFarScalar(1e3, 1.5, 2e3, 1),
1132
1128
  disableDepthTestDistance: Number.POSITIVE_INFINITY
1133
1129
  }
1134
- }, z = [];
1135
- z.push(Z), z.push(Y);
1130
+ }, K = [];
1131
+ K.push(X), K.push(Y);
1136
1132
  var gt = {
1133
+ name: G.id,
1137
1134
  polyline: {
1138
1135
  show: !0,
1139
1136
  // 定义线条的 Cartesian3 位置的数组
1140
- positions: z,
1137
+ positions: K,
1141
1138
  clampToGround: !1,
1142
1139
  // 是否贴地
1143
1140
  width: 2,
@@ -1159,14 +1156,14 @@ const vt = () => ({
1159
1156
  n.push(t[t.length - 2], t[t.length - 1]);
1160
1157
  else {
1161
1158
  const E = [t[a], t[a + 1]], D = [t[a - 1], t[a]];
1162
- var W = wt(r, U(E), et), u = wt(r, U(D), et);
1159
+ var W = At(r, J(E), et), u = At(r, J(D), et);
1163
1160
  n = W > u ? D : E;
1164
1161
  }
1165
- const c = U([n[0].slice(0, 2), n[1].slice(0, 2)]), i = st(n[0].slice(0, 2)), l = st(n[1].slice(0, 2));
1166
- var T = wt(r, c, et), p = ct(r, i, et) || 0, o = Math.sqrt(p * p - T * T) || 0;
1162
+ const c = J([n[0].slice(0, 2), n[1].slice(0, 2)]), i = st(n[0].slice(0, 2)), l = st(n[1].slice(0, 2));
1163
+ var T = At(r, c, et), p = ct(r, i, et) || 0, o = Math.sqrt(p * p - T * T) || 0;
1167
1164
  let A = n[0].slice(0, 2);
1168
1165
  o > 0 && (A = Le(c, 0, o, et).geometry.coordinates[1]);
1169
- const g = ct(i, l, et), y = Math.abs(n[0][2] - n[1][2]), L = Math.min(n[0][2], n[1][2]), I = Math.max(n[0][2], n[1][2]), B = n[0][2] > n[1][2] ? I - o / g * y : o / g * y + L, v = B - h[2], b = T * 1e3, M = Math.sqrt(b * b + v * v), S = parseFloat(B.toFixed(1));
1166
+ const g = ct(i, l, et), y = Math.abs(n[0][2] - n[1][2]), L = Math.min(n[0][2], n[1][2]), m = Math.max(n[0][2], n[1][2]), B = n[0][2] > n[1][2] ? m - o / g * y : o / g * y + L, v = B - h[2], b = T * 1e3, M = Math.sqrt(b * b + v * v), _ = parseFloat(B.toFixed(1));
1170
1167
  return {
1171
1168
  treeId: s,
1172
1169
  treeCoordinates: [h[0], h[1], h[2]],
@@ -1174,7 +1171,7 @@ const vt = () => ({
1174
1171
  horizontalDistance: parseFloat(b.toFixed(1)),
1175
1172
  verticalDistance: parseFloat(v.toFixed(1)),
1176
1173
  straightLineDistance: parseFloat(M.toFixed(1)),
1177
- clearanceDistance: S,
1174
+ clearanceDistance: _,
1178
1175
  timestamp: Date.now()
1179
1176
  };
1180
1177
  };
@@ -1238,19 +1235,19 @@ function ns(h, t, s, r) {
1238
1235
  var y = f.Cartesian3.angleBetween(p, o);
1239
1236
  e.push(h);
1240
1237
  for (var L = 1; L < r - 1; L++) {
1241
- var I = L * 1 / (r - 1), B = 1 - I, v = Math.sin(B * y) / Math.sin(y), b = Math.sin(I * y) / Math.sin(y), M = f.Cartesian3.multiplyByScalar(
1238
+ var m = L * 1 / (r - 1), B = 1 - m, v = Math.sin(B * y) / Math.sin(y), b = Math.sin(m * y) / Math.sin(y), M = f.Cartesian3.multiplyByScalar(
1242
1239
  p,
1243
1240
  v,
1244
1241
  new f.Cartesian3()
1245
- ), S = f.Cartesian3.multiplyByScalar(
1242
+ ), _ = f.Cartesian3.multiplyByScalar(
1246
1243
  o,
1247
1244
  b,
1248
1245
  new f.Cartesian3()
1249
1246
  ), R = f.Cartesian3.add(
1250
1247
  M,
1251
- S,
1248
+ _,
1252
1249
  new f.Cartesian3()
1253
- ), E = I * Math.PI, D = A * B + g * I + Math.sin(E) * T;
1250
+ ), E = m * Math.PI, D = A * B + g * m + Math.sin(E) * T;
1254
1251
  R = f.Cartesian3.multiplyByScalar(
1255
1252
  R,
1256
1253
  D,
@@ -1336,18 +1333,15 @@ function as(h, t) {
1336
1333
  if (!t || t.length < 2)
1337
1334
  return !1;
1338
1335
  const s = st(h), r = Me([t]);
1339
- return Xe(s, r);
1336
+ return $e(s, r);
1340
1337
  }
1341
1338
  function ls(h, t = []) {
1342
- if (!h || !t || t.length < 2)
1343
- return console.log("filterTreesInCorridor: invalid input parameters"), [];
1344
- const s = h.filter((r) => {
1339
+ return !h || !t || t.length < 2 ? [] : h.filter((r) => {
1345
1340
  if (r.lon === void 0 || r.lat === void 0)
1346
1341
  return console.warn("filterTreesInCorridor: tree missing lon/lat properties", r), !1;
1347
1342
  const e = [r.lon, r.lat], a = as(e, t);
1348
- return h.indexOf(r) < 5 && console.log(`Tree ${h.indexOf(r)}: [${e[0]}, ${e[1]}], inCorridor: ${a}`), a;
1343
+ return h.indexOf(r) < 5, a;
1349
1344
  });
1350
- return console.log(`filterTreesInCorridor: found ${s.length} trees in corridor`), s;
1351
1345
  }
1352
1346
  function cs(h, t = 2e3) {
1353
1347
  if (!h || h.length < 2)
@@ -1355,7 +1349,7 @@ function cs(h, t = 2e3) {
1355
1349
  const s = h.map((e) => [
1356
1350
  e.Longitude,
1357
1351
  e.Latitude
1358
- ]), r = U(s);
1352
+ ]), r = J(s);
1359
1353
  try {
1360
1354
  const e = t / 1e3, a = qt(r, e, { units: "kilometers" }), n = qt(r, -e, { units: "kilometers" }), W = Gt(a), u = Gt(n);
1361
1355
  return [
@@ -1600,7 +1594,7 @@ class us {
1600
1594
  }
1601
1595
  for (let s = 0; s < t; s++) {
1602
1596
  let r = 0;
1603
- if (this.LineInfo.towers[s].type === nt.耐张塔)
1597
+ if (this.LineInfo.towers[s].type === it.耐张塔)
1604
1598
  if (s === 0)
1605
1599
  r = (Ot(this.LineInfo.towers, s, 3) - 90 + 360) % 360;
1606
1600
  else if (s === t - 1)
@@ -1668,22 +1662,22 @@ class us {
1668
1662
  this.LineInfo.towers[t].towerPoint[n].Y,
1669
1663
  this.LineInfo.towers[t].towerPoint[n].Z
1670
1664
  ),
1671
- this.LineInfo.towers[t].type === nt.耐张塔 ? a : e
1665
+ this.LineInfo.towers[t].type === it.耐张塔 ? a : e
1672
1666
  );
1673
1667
  let i, l;
1674
- if (this.autoCalculateRollX ? l = this.LineInfo.towers[t].RollX : l = u.RollX, this.LineInfo.towers[t].type === nt.耐张塔)
1668
+ if (this.autoCalculateRollX ? l = this.LineInfo.towers[t].RollX : l = u.RollX, this.LineInfo.towers[t].type === it.耐张塔)
1675
1669
  switch (u.type) {
1676
- case G.耐张串:
1670
+ case z.耐张串:
1677
1671
  i = u.WairFX === "进" ? new f.HeadingPitchRoll(f.Math.toRadians(l), f.Math.toRadians(-180), f.Math.toRadians(180)) : new f.HeadingPitchRoll(f.Math.toRadians(l), f.Math.toRadians(0), f.Math.toRadians(0));
1678
1672
  break;
1679
- case G.跳线串:
1673
+ case z.跳线串:
1680
1674
  i = new f.HeadingPitchRoll(
1681
1675
  f.Math.toRadians(l),
1682
1676
  f.Math.toRadians(u.RollY),
1683
1677
  f.Math.toRadians(u.RollZ)
1684
1678
  );
1685
1679
  break;
1686
- case G.地线串:
1680
+ case z.地线串:
1687
1681
  i = new f.HeadingPitchRoll(
1688
1682
  f.Math.toRadians(l),
1689
1683
  f.Math.toRadians(u.RollY),
@@ -1785,22 +1779,22 @@ class us {
1785
1779
  this.LineInfo.towers[e].towerPoint[u].Y,
1786
1780
  this.LineInfo.towers[e].towerPoint[u].Z
1787
1781
  ),
1788
- this.LineInfo.towers[e].type === nt.耐张塔 ? W : n
1782
+ this.LineInfo.towers[e].type === it.耐张塔 ? W : n
1789
1783
  );
1790
1784
  let T, p;
1791
- if (this.autoCalculateRollX ? p = this.LineInfo.towers[e].RollX : p = i.RollX, this.LineInfo.towers[e].type === nt.耐张塔)
1785
+ if (this.autoCalculateRollX ? p = this.LineInfo.towers[e].RollX : p = i.RollX, this.LineInfo.towers[e].type === it.耐张塔)
1792
1786
  switch (i.type) {
1793
- case G.耐张串:
1787
+ case z.耐张串:
1794
1788
  T = i.WairFX === "进" ? new f.HeadingPitchRoll(f.Math.toRadians(p), f.Math.toRadians(-180), f.Math.toRadians(180)) : new f.HeadingPitchRoll(f.Math.toRadians(p), f.Math.toRadians(0), f.Math.toRadians(0));
1795
1789
  break;
1796
- case G.跳线串:
1790
+ case z.跳线串:
1797
1791
  T = new f.HeadingPitchRoll(
1798
1792
  f.Math.toRadians(p),
1799
1793
  f.Math.toRadians(i.RollY),
1800
1794
  f.Math.toRadians(i.RollZ)
1801
1795
  );
1802
1796
  break;
1803
- case G.地线串:
1797
+ case z.地线串:
1804
1798
  T = new f.HeadingPitchRoll(
1805
1799
  f.Math.toRadians(p),
1806
1800
  f.Math.toRadians(i.RollY),
@@ -1835,190 +1829,190 @@ class us {
1835
1829
  }), i.linenum) {
1836
1830
  case Dt.回路一:
1837
1831
  if (this.LineInfo.ISPhaseSequence)
1838
- if (this.LineInfo.towers[e].type == nt.耐张塔)
1832
+ if (this.LineInfo.towers[e].type == it.耐张塔)
1839
1833
  switch (i.PhaseSequence) {
1840
1834
  case x.A相:
1841
- if (i.type == G.耐张串)
1835
+ if (i.type == z.耐张串)
1842
1836
  if (i.WairFX == "进")
1843
1837
  switch (this.LineInfo.Wairnum) {
1844
- case m.单分裂:
1838
+ case I.单分裂:
1845
1839
  this.offsetWires11.push(o[0]), this.ToffsetWires1A1.push(o[0]);
1846
1840
  break;
1847
- case m.双分裂:
1841
+ case I.双分裂:
1848
1842
  this.offsetWires11.push(o[0]), this.offsetWires11.push(o[1]), this.ToffsetWires1A1.push(o[2]), this.ToffsetWires1A1.push(o[3]);
1849
1843
  break;
1850
- case m.四分裂:
1844
+ case I.四分裂:
1851
1845
  this.offsetWires11.push(o[0]), this.offsetWires11.push(o[1]), this.offsetWires11.push(o[2]), this.offsetWires11.push(o[3]), this.ToffsetWires1A1.push(o[4]), this.ToffsetWires1A1.push(o[5]), this.ToffsetWires1A1.push(o[6]), this.ToffsetWires1A1.push(o[7]);
1852
1846
  break;
1853
- case m.六分裂:
1847
+ case I.六分裂:
1854
1848
  this.offsetWires11.push(o[0]), this.offsetWires11.push(o[1]), this.offsetWires11.push(o[2]), this.offsetWires11.push(o[3]), this.offsetWires11.push(o[4]), this.offsetWires11.push(o[5]), this.ToffsetWires1A1.push(o[6]), this.ToffsetWires1A1.push(o[7]), this.ToffsetWires1A1.push(o[8]), this.ToffsetWires1A1.push(o[9]), this.ToffsetWires1A1.push(o[10]), this.ToffsetWires1A1.push(o[11]);
1855
1849
  break;
1856
- case m.八分裂:
1850
+ case I.八分裂:
1857
1851
  this.offsetWires11.push(o[0]), this.offsetWires11.push(o[1]), this.offsetWires11.push(o[2]), this.offsetWires11.push(o[3]), this.offsetWires11.push(o[4]), this.offsetWires11.push(o[5]), this.offsetWires11.push(o[6]), this.offsetWires11.push(o[7]), this.ToffsetWires1A1.push(o[8]), this.ToffsetWires1A1.push(o[9]), this.ToffsetWires1A1.push(o[10]), this.ToffsetWires1A1.push(o[11]), this.ToffsetWires1A1.push(o[12]), this.ToffsetWires1A1.push(o[13]), this.ToffsetWires1A1.push(o[14]), this.ToffsetWires1A1.push(o[15]);
1858
1852
  break;
1859
1853
  }
1860
1854
  else
1861
1855
  switch (this.LineInfo.Wairnum) {
1862
- case m.单分裂:
1856
+ case I.单分裂:
1863
1857
  const A = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n);
1864
1858
  this.offsetWires11.push(A), this.ToffsetWires1A2.push(A);
1865
1859
  break;
1866
- case m.双分裂:
1860
+ case I.双分裂:
1867
1861
  const g = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), y = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n);
1868
1862
  this.offsetWires11.push(g), this.offsetWires11.push(y), this.ToffsetWires1A2.push(g), this.ToffsetWires1A2.push(y);
1869
1863
  break;
1870
- case m.四分裂:
1871
- const L = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), I = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), B = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), v = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n);
1872
- this.offsetWires11.push(L), this.offsetWires11.push(I), this.offsetWires11.push(B), this.offsetWires11.push(v), this.ToffsetWires1A2.push(L), this.ToffsetWires1A2.push(I), this.ToffsetWires1A2.push(B), this.ToffsetWires1A2.push(v);
1864
+ case I.四分裂:
1865
+ const L = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), m = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), B = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), v = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n);
1866
+ this.offsetWires11.push(L), this.offsetWires11.push(m), this.offsetWires11.push(B), this.offsetWires11.push(v), this.ToffsetWires1A2.push(L), this.ToffsetWires1A2.push(m), this.ToffsetWires1A2.push(B), this.ToffsetWires1A2.push(v);
1873
1867
  break;
1874
- case m.六分裂:
1875
- const b = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), M = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), S = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), R = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n), E = P(r, new f.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), n), D = P(r, new f.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), n);
1876
- this.offsetWires11.push(b), this.offsetWires11.push(M), this.offsetWires11.push(S), this.offsetWires11.push(R), this.offsetWires11.push(E), this.offsetWires11.push(D), this.ToffsetWires1A2.push(b), this.ToffsetWires1A2.push(M), this.ToffsetWires1A2.push(S), this.ToffsetWires1A2.push(R), this.ToffsetWires1A2.push(E), this.ToffsetWires1A2.push(D);
1868
+ case I.六分裂:
1869
+ const b = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), M = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), _ = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), R = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n), E = P(r, new f.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), n), D = P(r, new f.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), n);
1870
+ this.offsetWires11.push(b), this.offsetWires11.push(M), this.offsetWires11.push(_), this.offsetWires11.push(R), this.offsetWires11.push(E), this.offsetWires11.push(D), this.ToffsetWires1A2.push(b), this.ToffsetWires1A2.push(M), this.ToffsetWires1A2.push(_), this.ToffsetWires1A2.push(R), this.ToffsetWires1A2.push(E), this.ToffsetWires1A2.push(D);
1877
1871
  break;
1878
- case m.八分裂:
1879
- const $ = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), k = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), F = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), Z = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n), X = P(r, new f.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), n), Y = P(r, new f.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), n), V = P(r, new f.Cartesian3(i.InsulatorPoint[6].X * -1, i.InsulatorPoint[6].Y, i.InsulatorPoint[6].Z), n), O = P(r, new f.Cartesian3(i.InsulatorPoint[7].X * -1, i.InsulatorPoint[7].Y, i.InsulatorPoint[7].Z), n);
1880
- this.offsetWires11.push($), this.offsetWires11.push(k), this.offsetWires11.push(F), this.offsetWires11.push(Z), this.offsetWires11.push(X), this.offsetWires11.push(Y), this.offsetWires11.push(V), this.offsetWires11.push(O), this.ToffsetWires1A2.push($), this.ToffsetWires1A2.push(k), this.ToffsetWires1A2.push(F), this.ToffsetWires1A2.push(Z), this.ToffsetWires1A2.push(X), this.ToffsetWires1A2.push(Y), this.ToffsetWires1A2.push(V), this.ToffsetWires1A2.push(O);
1872
+ case I.八分裂:
1873
+ const Z = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), k = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), F = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), X = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n), $ = P(r, new f.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), n), Y = P(r, new f.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), n), V = P(r, new f.Cartesian3(i.InsulatorPoint[6].X * -1, i.InsulatorPoint[6].Y, i.InsulatorPoint[6].Z), n), O = P(r, new f.Cartesian3(i.InsulatorPoint[7].X * -1, i.InsulatorPoint[7].Y, i.InsulatorPoint[7].Z), n);
1874
+ this.offsetWires11.push(Z), this.offsetWires11.push(k), this.offsetWires11.push(F), this.offsetWires11.push(X), this.offsetWires11.push($), this.offsetWires11.push(Y), this.offsetWires11.push(V), this.offsetWires11.push(O), this.ToffsetWires1A2.push(Z), this.ToffsetWires1A2.push(k), this.ToffsetWires1A2.push(F), this.ToffsetWires1A2.push(X), this.ToffsetWires1A2.push($), this.ToffsetWires1A2.push(Y), this.ToffsetWires1A2.push(V), this.ToffsetWires1A2.push(O);
1881
1875
  break;
1882
1876
  }
1883
- else if (i.type == G.跳线串)
1877
+ else if (i.type == z.跳线串)
1884
1878
  switch (this.LineInfo.Wairnum) {
1885
- case m.单分裂:
1879
+ case I.单分裂:
1886
1880
  this.ToffsetWires1A1.push(o[0]), this.ToffsetWires1A2.push(o[1]);
1887
1881
  break;
1888
- case m.双分裂:
1882
+ case I.双分裂:
1889
1883
  this.ToffsetWires1A1.push(o[0]), this.ToffsetWires1A1.push(o[1]), this.ToffsetWires1A2.push(o[2]), this.ToffsetWires1A2.push(o[3]);
1890
1884
  break;
1891
- case m.四分裂:
1885
+ case I.四分裂:
1892
1886
  this.ToffsetWires1A1.push(o[0]), this.ToffsetWires1A1.push(o[1]), this.ToffsetWires1A1.push(o[2]), this.ToffsetWires1A1.push(o[3]), this.ToffsetWires1A2.push(o[4]), this.ToffsetWires1A2.push(o[5]), this.ToffsetWires1A2.push(o[6]), this.ToffsetWires1A2.push(o[7]);
1893
1887
  break;
1894
- case m.六分裂:
1888
+ case I.六分裂:
1895
1889
  this.ToffsetWires1A1.push(o[0]), this.ToffsetWires1A1.push(o[1]), this.ToffsetWires1A1.push(o[2]), this.ToffsetWires1A1.push(o[3]), this.ToffsetWires1A1.push(o[4]), this.ToffsetWires1A1.push(o[5]), this.ToffsetWires1A2.push(o[6]), this.ToffsetWires1A2.push(o[7]), this.ToffsetWires1A2.push(o[8]), this.ToffsetWires1A2.push(o[9]), this.ToffsetWires1A2.push(o[10]), this.ToffsetWires1A2.push(o[11]);
1896
1890
  break;
1897
- case m.八分裂:
1891
+ case I.八分裂:
1898
1892
  this.ToffsetWires1A1.push(o[0]), this.ToffsetWires1A1.push(o[1]), this.ToffsetWires1A1.push(o[2]), this.ToffsetWires1A1.push(o[3]), this.ToffsetWires1A1.push(o[4]), this.ToffsetWires1A1.push(o[5]), this.ToffsetWires1A1.push(o[6]), this.ToffsetWires1A1.push(o[7]), this.ToffsetWires1A2.push(o[8]), this.ToffsetWires1A2.push(o[9]), this.ToffsetWires1A2.push(o[10]), this.ToffsetWires1A2.push(o[11]), this.ToffsetWires1A2.push(o[12]), this.ToffsetWires1A2.push(o[13]), this.ToffsetWires1A2.push(o[14]), this.ToffsetWires1A2.push(o[15]);
1899
1893
  break;
1900
1894
  }
1901
1895
  break;
1902
1896
  case x.B相:
1903
- if (i.type == G.耐张串)
1897
+ if (i.type == z.耐张串)
1904
1898
  if (i.WairFX == "进")
1905
1899
  switch (this.LineInfo.Wairnum) {
1906
- case m.单分裂:
1900
+ case I.单分裂:
1907
1901
  this.offsetWires12.push(o[0]), this.ToffsetWires1B1.push(o[1]);
1908
1902
  break;
1909
- case m.双分裂:
1903
+ case I.双分裂:
1910
1904
  this.offsetWires12.push(o[0]), this.offsetWires12.push(o[1]), this.ToffsetWires1B1.push(o[2]), this.ToffsetWires1B1.push(o[3]);
1911
1905
  break;
1912
- case m.四分裂:
1906
+ case I.四分裂:
1913
1907
  this.offsetWires12.push(o[0]), this.offsetWires12.push(o[1]), this.offsetWires12.push(o[2]), this.offsetWires12.push(o[3]), this.ToffsetWires1B1.push(o[4]), this.ToffsetWires1B1.push(o[5]), this.ToffsetWires1B1.push(o[6]), this.ToffsetWires1B1.push(o[7]);
1914
1908
  break;
1915
- case m.六分裂:
1909
+ case I.六分裂:
1916
1910
  this.offsetWires12.push(o[0]), this.offsetWires12.push(o[1]), this.offsetWires12.push(o[2]), this.offsetWires12.push(o[3]), this.offsetWires12.push(o[4]), this.offsetWires12.push(o[5]), this.ToffsetWires1B1.push(o[6]), this.ToffsetWires1B1.push(o[7]), this.ToffsetWires1B1.push(o[8]), this.ToffsetWires1B1.push(o[9]), this.ToffsetWires1B1.push(o[10]), this.ToffsetWires1B1.push(o[11]);
1917
1911
  break;
1918
- case m.八分裂:
1912
+ case I.八分裂:
1919
1913
  this.offsetWires12.push(o[0]), this.offsetWires12.push(o[1]), this.offsetWires12.push(o[2]), this.offsetWires12.push(o[3]), this.offsetWires12.push(o[4]), this.offsetWires12.push(o[5]), this.offsetWires12.push(o[6]), this.offsetWires12.push(o[7]), this.ToffsetWires1B1.push(o[8]), this.ToffsetWires1B1.push(o[9]), this.ToffsetWires1B1.push(o[10]), this.ToffsetWires1B1.push(o[11]), this.ToffsetWires1B1.push(o[12]), this.ToffsetWires1B1.push(o[13]), this.ToffsetWires1B1.push(o[14]), this.ToffsetWires1B1.push(o[15]);
1920
1914
  break;
1921
1915
  }
1922
1916
  else
1923
1917
  switch (this.LineInfo.Wairnum) {
1924
- case m.单分裂:
1918
+ case I.单分裂:
1925
1919
  const A = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n);
1926
1920
  this.offsetWires12.push(A), this.ToffsetWires1B2.push(A);
1927
1921
  break;
1928
- case m.双分裂:
1922
+ case I.双分裂:
1929
1923
  const g = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), y = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n);
1930
1924
  this.offsetWires12.push(g), this.offsetWires12.push(y), this.ToffsetWires1B2.push(g), this.ToffsetWires1B2.push(y);
1931
1925
  break;
1932
- case m.四分裂:
1933
- const L = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), I = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), B = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), v = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n);
1934
- this.offsetWires12.push(L), this.offsetWires12.push(I), this.offsetWires12.push(B), this.offsetWires12.push(v), this.ToffsetWires1B2.push(L), this.ToffsetWires1B2.push(I), this.ToffsetWires1B2.push(B), this.ToffsetWires1B2.push(v);
1926
+ case I.四分裂:
1927
+ const L = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), m = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), B = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), v = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n);
1928
+ this.offsetWires12.push(L), this.offsetWires12.push(m), this.offsetWires12.push(B), this.offsetWires12.push(v), this.ToffsetWires1B2.push(L), this.ToffsetWires1B2.push(m), this.ToffsetWires1B2.push(B), this.ToffsetWires1B2.push(v);
1935
1929
  break;
1936
- case m.六分裂:
1937
- const b = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), M = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), S = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), R = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n), E = P(r, new f.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), n), D = P(r, new f.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), n);
1938
- this.offsetWires12.push(b), this.offsetWires12.push(M), this.offsetWires12.push(S), this.offsetWires12.push(R), this.offsetWires12.push(E), this.offsetWires12.push(D), this.ToffsetWires1B2.push(b), this.ToffsetWires1B2.push(M), this.ToffsetWires1B2.push(S), this.ToffsetWires1B2.push(R), this.ToffsetWires1B2.push(E), this.ToffsetWires1B2.push(D);
1930
+ case I.六分裂:
1931
+ const b = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), M = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), _ = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), R = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n), E = P(r, new f.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), n), D = P(r, new f.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), n);
1932
+ this.offsetWires12.push(b), this.offsetWires12.push(M), this.offsetWires12.push(_), this.offsetWires12.push(R), this.offsetWires12.push(E), this.offsetWires12.push(D), this.ToffsetWires1B2.push(b), this.ToffsetWires1B2.push(M), this.ToffsetWires1B2.push(_), this.ToffsetWires1B2.push(R), this.ToffsetWires1B2.push(E), this.ToffsetWires1B2.push(D);
1939
1933
  break;
1940
- case m.八分裂:
1941
- const $ = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), k = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), F = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), Z = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n), X = P(r, new f.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), n), Y = P(r, new f.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), n), V = P(r, new f.Cartesian3(i.InsulatorPoint[6].X * -1, i.InsulatorPoint[6].Y, i.InsulatorPoint[6].Z), n), O = P(r, new f.Cartesian3(i.InsulatorPoint[7].X * -1, i.InsulatorPoint[7].Y, i.InsulatorPoint[7].Z), n);
1942
- this.offsetWires12.push($), this.offsetWires12.push(k), this.offsetWires12.push(F), this.offsetWires12.push(Z), this.offsetWires12.push(X), this.offsetWires12.push(Y), this.offsetWires12.push(V), this.offsetWires12.push(O), this.ToffsetWires1B2.push($), this.ToffsetWires1B2.push(k), this.ToffsetWires1B2.push(F), this.ToffsetWires1B2.push(Z), this.ToffsetWires1B2.push(X), this.ToffsetWires1B2.push(Y), this.ToffsetWires1B2.push(V), this.ToffsetWires1B2.push(O);
1934
+ case I.八分裂:
1935
+ const Z = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), k = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), F = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), X = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n), $ = P(r, new f.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), n), Y = P(r, new f.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), n), V = P(r, new f.Cartesian3(i.InsulatorPoint[6].X * -1, i.InsulatorPoint[6].Y, i.InsulatorPoint[6].Z), n), O = P(r, new f.Cartesian3(i.InsulatorPoint[7].X * -1, i.InsulatorPoint[7].Y, i.InsulatorPoint[7].Z), n);
1936
+ this.offsetWires12.push(Z), this.offsetWires12.push(k), this.offsetWires12.push(F), this.offsetWires12.push(X), this.offsetWires12.push($), this.offsetWires12.push(Y), this.offsetWires12.push(V), this.offsetWires12.push(O), this.ToffsetWires1B2.push(Z), this.ToffsetWires1B2.push(k), this.ToffsetWires1B2.push(F), this.ToffsetWires1B2.push(X), this.ToffsetWires1B2.push($), this.ToffsetWires1B2.push(Y), this.ToffsetWires1B2.push(V), this.ToffsetWires1B2.push(O);
1943
1937
  break;
1944
1938
  }
1945
- else if (i.type == G.跳线串)
1939
+ else if (i.type == z.跳线串)
1946
1940
  switch (this.LineInfo.Wairnum) {
1947
- case m.单分裂:
1941
+ case I.单分裂:
1948
1942
  this.ToffsetWires1B1.push(o[0]), this.ToffsetWires1B2.push(o[0]);
1949
1943
  break;
1950
- case m.双分裂:
1944
+ case I.双分裂:
1951
1945
  this.ToffsetWires1B1.push(o[0]), this.ToffsetWires1B1.push(o[1]), this.ToffsetWires1B2.push(o[2]), this.ToffsetWires1B2.push(o[3]);
1952
1946
  break;
1953
- case m.四分裂:
1947
+ case I.四分裂:
1954
1948
  this.ToffsetWires1B1.push(o[0]), this.ToffsetWires1B1.push(o[1]), this.ToffsetWires1B1.push(o[2]), this.ToffsetWires1B1.push(o[3]), this.ToffsetWires1B2.push(o[4]), this.ToffsetWires1B2.push(o[5]), this.ToffsetWires1B2.push(o[6]), this.ToffsetWires1B2.push(o[7]);
1955
1949
  break;
1956
- case m.六分裂:
1950
+ case I.六分裂:
1957
1951
  this.ToffsetWires1B1.push(o[0]), this.ToffsetWires1B1.push(o[1]), this.ToffsetWires1B1.push(o[2]), this.ToffsetWires1B1.push(o[3]), this.ToffsetWires1B1.push(o[4]), this.ToffsetWires1B1.push(o[5]), this.ToffsetWires1B2.push(o[6]), this.ToffsetWires1B2.push(o[7]), this.ToffsetWires1B2.push(o[8]), this.ToffsetWires1B2.push(o[9]), this.ToffsetWires1B2.push(o[10]), this.ToffsetWires1B2.push(o[11]);
1958
1952
  break;
1959
- case m.八分裂:
1953
+ case I.八分裂:
1960
1954
  this.ToffsetWires1B1.push(o[0]), this.ToffsetWires1B1.push(o[1]), this.ToffsetWires1B1.push(o[2]), this.ToffsetWires1B1.push(o[3]), this.ToffsetWires1B1.push(o[4]), this.ToffsetWires1B1.push(o[5]), this.ToffsetWires1B1.push(o[6]), this.ToffsetWires1B1.push(o[7]), this.ToffsetWires1B2.push(o[8]), this.ToffsetWires1B2.push(o[9]), this.ToffsetWires1B2.push(o[10]), this.ToffsetWires1B2.push(o[11]), this.ToffsetWires1B2.push(o[12]), this.ToffsetWires1B2.push(o[13]), this.ToffsetWires1B2.push(o[14]), this.ToffsetWires1B2.push(o[15]);
1961
1955
  break;
1962
1956
  }
1963
1957
  break;
1964
1958
  case x.C相:
1965
- if (i.type == G.耐张串)
1959
+ if (i.type == z.耐张串)
1966
1960
  if (i.WairFX == "进")
1967
1961
  switch (this.LineInfo.Wairnum) {
1968
- case m.单分裂:
1962
+ case I.单分裂:
1969
1963
  this.offsetWires13.push(o[0]), this.ToffsetWires1C1.push(o[1]);
1970
1964
  break;
1971
- case m.双分裂:
1965
+ case I.双分裂:
1972
1966
  this.offsetWires13.push(o[0]), this.offsetWires13.push(o[1]), this.ToffsetWires1C1.push(o[2]), this.ToffsetWires1C1.push(o[3]);
1973
1967
  break;
1974
- case m.四分裂:
1968
+ case I.四分裂:
1975
1969
  this.offsetWires13.push(o[0]), this.offsetWires13.push(o[1]), this.offsetWires13.push(o[2]), this.offsetWires13.push(o[3]), this.ToffsetWires1C1.push(o[4]), this.ToffsetWires1C1.push(o[5]), this.ToffsetWires1C1.push(o[6]), this.ToffsetWires1C1.push(o[7]);
1976
1970
  break;
1977
- case m.六分裂:
1971
+ case I.六分裂:
1978
1972
  this.offsetWires13.push(o[0]), this.offsetWires13.push(o[1]), this.offsetWires13.push(o[2]), this.offsetWires13.push(o[3]), this.offsetWires13.push(o[4]), this.offsetWires13.push(o[5]), this.ToffsetWires1C1.push(o[6]), this.ToffsetWires1C1.push(o[7]), this.ToffsetWires1C1.push(o[8]), this.ToffsetWires1C1.push(o[9]), this.ToffsetWires1C1.push(o[10]), this.ToffsetWires1C1.push(o[11]);
1979
1973
  break;
1980
- case m.八分裂:
1974
+ case I.八分裂:
1981
1975
  this.offsetWires13.push(o[0]), this.offsetWires13.push(o[1]), this.offsetWires13.push(o[2]), this.offsetWires13.push(o[3]), this.offsetWires13.push(o[4]), this.offsetWires13.push(o[5]), this.offsetWires13.push(o[6]), this.offsetWires13.push(o[7]), this.ToffsetWires1C1.push(o[8]), this.ToffsetWires1C1.push(o[9]), this.ToffsetWires1C1.push(o[10]), this.ToffsetWires1C1.push(o[11]), this.ToffsetWires1C1.push(o[12]), this.ToffsetWires1C1.push(o[13]), this.ToffsetWires1C1.push(o[14]), this.ToffsetWires1C1.push(o[15]);
1982
1976
  break;
1983
1977
  }
1984
1978
  else
1985
1979
  switch (this.LineInfo.Wairnum) {
1986
- case m.单分裂:
1980
+ case I.单分裂:
1987
1981
  const A = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n);
1988
1982
  this.offsetWires13.push(A), this.ToffsetWires1C2.push(A);
1989
1983
  break;
1990
- case m.双分裂:
1984
+ case I.双分裂:
1991
1985
  const g = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), y = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n);
1992
1986
  this.offsetWires13.push(g), this.offsetWires13.push(y), this.ToffsetWires1C2.push(g), this.ToffsetWires1C2.push(y);
1993
1987
  break;
1994
- case m.四分裂:
1995
- const L = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), I = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), B = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), v = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n);
1996
- this.offsetWires13.push(L), this.offsetWires13.push(I), this.offsetWires13.push(B), this.offsetWires13.push(v), this.ToffsetWires1C2.push(L), this.ToffsetWires1C2.push(I), this.ToffsetWires1C2.push(B), this.ToffsetWires1C2.push(v);
1988
+ case I.四分裂:
1989
+ const L = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), m = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), B = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), v = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n);
1990
+ this.offsetWires13.push(L), this.offsetWires13.push(m), this.offsetWires13.push(B), this.offsetWires13.push(v), this.ToffsetWires1C2.push(L), this.ToffsetWires1C2.push(m), this.ToffsetWires1C2.push(B), this.ToffsetWires1C2.push(v);
1997
1991
  break;
1998
- case m.六分裂:
1999
- const b = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), M = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), S = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), R = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n), E = P(r, new f.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), n), D = P(r, new f.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), n);
2000
- this.offsetWires13.push(b), this.offsetWires13.push(M), this.offsetWires13.push(S), this.offsetWires13.push(R), this.offsetWires13.push(E), this.offsetWires13.push(D), this.ToffsetWires1C2.push(b), this.ToffsetWires1C2.push(M), this.ToffsetWires1C2.push(S), this.ToffsetWires1C2.push(R), this.ToffsetWires1C2.push(E), this.ToffsetWires1C2.push(D);
1992
+ case I.六分裂:
1993
+ const b = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), M = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), _ = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), R = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n), E = P(r, new f.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), n), D = P(r, new f.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), n);
1994
+ this.offsetWires13.push(b), this.offsetWires13.push(M), this.offsetWires13.push(_), this.offsetWires13.push(R), this.offsetWires13.push(E), this.offsetWires13.push(D), this.ToffsetWires1C2.push(b), this.ToffsetWires1C2.push(M), this.ToffsetWires1C2.push(_), this.ToffsetWires1C2.push(R), this.ToffsetWires1C2.push(E), this.ToffsetWires1C2.push(D);
2001
1995
  break;
2002
- case m.八分裂:
2003
- const $ = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), k = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), F = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), Z = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n), X = P(r, new f.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), n), Y = P(r, new f.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), n), V = P(r, new f.Cartesian3(i.InsulatorPoint[6].X * -1, i.InsulatorPoint[6].Y, i.InsulatorPoint[6].Z), n), O = P(r, new f.Cartesian3(i.InsulatorPoint[7].X * -1, i.InsulatorPoint[7].Y, i.InsulatorPoint[7].Z), n);
2004
- this.offsetWires13.push($), this.offsetWires13.push(k), this.offsetWires13.push(F), this.offsetWires13.push(Z), this.offsetWires13.push(X), this.offsetWires13.push(Y), this.offsetWires13.push(V), this.offsetWires13.push(O), this.ToffsetWires1C2.push($), this.ToffsetWires1C2.push(k), this.ToffsetWires1C2.push(F), this.ToffsetWires1C2.push(Z), this.ToffsetWires1C2.push(X), this.ToffsetWires1C2.push(Y), this.ToffsetWires1C2.push(V), this.ToffsetWires1C2.push(O);
1996
+ case I.八分裂:
1997
+ const Z = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), k = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), F = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), X = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n), $ = P(r, new f.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), n), Y = P(r, new f.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), n), V = P(r, new f.Cartesian3(i.InsulatorPoint[6].X * -1, i.InsulatorPoint[6].Y, i.InsulatorPoint[6].Z), n), O = P(r, new f.Cartesian3(i.InsulatorPoint[7].X * -1, i.InsulatorPoint[7].Y, i.InsulatorPoint[7].Z), n);
1998
+ this.offsetWires13.push(Z), this.offsetWires13.push(k), this.offsetWires13.push(F), this.offsetWires13.push(X), this.offsetWires13.push($), this.offsetWires13.push(Y), this.offsetWires13.push(V), this.offsetWires13.push(O), this.ToffsetWires1C2.push(Z), this.ToffsetWires1C2.push(k), this.ToffsetWires1C2.push(F), this.ToffsetWires1C2.push(X), this.ToffsetWires1C2.push($), this.ToffsetWires1C2.push(Y), this.ToffsetWires1C2.push(V), this.ToffsetWires1C2.push(O);
2005
1999
  break;
2006
2000
  }
2007
- else if (i.type == G.跳线串)
2001
+ else if (i.type == z.跳线串)
2008
2002
  switch (this.LineInfo.Wairnum) {
2009
- case m.单分裂:
2003
+ case I.单分裂:
2010
2004
  this.ToffsetWires1C1.push(o[0]), this.ToffsetWires1C2.push(o[0]);
2011
2005
  break;
2012
- case m.双分裂:
2006
+ case I.双分裂:
2013
2007
  this.ToffsetWires1C1.push(o[0]), this.ToffsetWires1C1.push(o[1]), this.ToffsetWires1C2.push(o[2]), this.ToffsetWires1C2.push(o[3]);
2014
2008
  break;
2015
- case m.四分裂:
2009
+ case I.四分裂:
2016
2010
  this.ToffsetWires1C1.push(o[0]), this.ToffsetWires1C1.push(o[1]), this.ToffsetWires1C1.push(o[2]), this.ToffsetWires1C1.push(o[3]), this.ToffsetWires1C2.push(o[4]), this.ToffsetWires1C2.push(o[5]), this.ToffsetWires1C2.push(o[6]), this.ToffsetWires1C2.push(o[7]);
2017
2011
  break;
2018
- case m.六分裂:
2012
+ case I.六分裂:
2019
2013
  this.ToffsetWires1C1.push(o[0]), this.ToffsetWires1C1.push(o[1]), this.ToffsetWires1C1.push(o[2]), this.ToffsetWires1C1.push(o[3]), this.ToffsetWires1C1.push(o[4]), this.ToffsetWires1C1.push(o[5]), this.ToffsetWires1C2.push(o[6]), this.ToffsetWires1C2.push(o[7]), this.ToffsetWires1C2.push(o[8]), this.ToffsetWires1C2.push(o[9]), this.ToffsetWires1C2.push(o[10]), this.ToffsetWires1C2.push(o[11]);
2020
2014
  break;
2021
- case m.八分裂:
2015
+ case I.八分裂:
2022
2016
  this.ToffsetWires1C1.push(o[0]), this.ToffsetWires1C1.push(o[1]), this.ToffsetWires1C1.push(o[2]), this.ToffsetWires1C1.push(o[3]), this.ToffsetWires1C1.push(o[4]), this.ToffsetWires1C1.push(o[5]), this.ToffsetWires1C1.push(o[6]), this.ToffsetWires1C1.push(o[7]), this.ToffsetWires1C2.push(o[8]), this.ToffsetWires1C2.push(o[9]), this.ToffsetWires1C2.push(o[10]), this.ToffsetWires1C2.push(o[11]), this.ToffsetWires1C2.push(o[12]), this.ToffsetWires1C2.push(o[13]), this.ToffsetWires1C2.push(o[14]), this.ToffsetWires1C2.push(o[15]);
2023
2017
  break;
2024
2018
  }
@@ -2042,35 +2036,35 @@ class us {
2042
2036
  });
2043
2037
  break;
2044
2038
  }
2045
- else if (this.LineInfo.towers[e].type == nt.耐张塔)
2039
+ else if (this.LineInfo.towers[e].type == it.耐张塔)
2046
2040
  switch (u) {
2047
2041
  case 2:
2048
2042
  switch (this.LineInfo.Wairnum) {
2049
- case m.单分裂:
2043
+ case I.单分裂:
2050
2044
  this.offsetWires11.push(o[0]), this.ToffsetWires1A1.push(o[0]);
2051
2045
  break;
2052
- case m.双分裂:
2046
+ case I.双分裂:
2053
2047
  this.offsetWires11.push(o[0]), this.offsetWires11.push(o[1]), this.ToffsetWires1A1.push(o[2]), this.ToffsetWires1A1.push(o[3]);
2054
2048
  break;
2055
2049
  }
2056
2050
  break;
2057
2051
  case 3:
2058
2052
  switch (this.LineInfo.Wairnum) {
2059
- case m.单分裂:
2053
+ case I.单分裂:
2060
2054
  this.ToffsetWires1A1.push(o[0]), this.ToffsetWires1A2.push(o[0]);
2061
2055
  break;
2062
- case m.双分裂:
2056
+ case I.双分裂:
2063
2057
  this.ToffsetWires1A1.push(o[0]), this.ToffsetWires1A1.push(o[1]), this.ToffsetWires1A2.push(o[2]), this.ToffsetWires1A2.push(o[3]);
2064
2058
  break;
2065
2059
  }
2066
2060
  break;
2067
2061
  case 4:
2068
2062
  switch (this.LineInfo.Wairnum) {
2069
- case m.单分裂:
2063
+ case I.单分裂:
2070
2064
  const A = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n);
2071
2065
  this.offsetWires11.push(A), this.ToffsetWires1A2.push(A);
2072
2066
  break;
2073
- case m.双分裂:
2067
+ case I.双分裂:
2074
2068
  const g = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), y = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n);
2075
2069
  this.offsetWires11.push(g), this.offsetWires11.push(y), this.ToffsetWires1A2.push(g), this.ToffsetWires1A2.push(y);
2076
2070
  break;
@@ -2130,190 +2124,190 @@ class us {
2130
2124
  break;
2131
2125
  case Dt.回路二:
2132
2126
  if (this.LineInfo.ISPhaseSequence)
2133
- if (this.LineInfo.towers[e].type == nt.耐张塔)
2127
+ if (this.LineInfo.towers[e].type == it.耐张塔)
2134
2128
  switch (i.PhaseSequence) {
2135
2129
  case x.A相:
2136
- if (i.type == G.耐张串)
2130
+ if (i.type == z.耐张串)
2137
2131
  if (i.WairFX == "进")
2138
2132
  switch (this.LineInfo.Wairnum) {
2139
- case m.单分裂:
2133
+ case I.单分裂:
2140
2134
  this.offsetWires21.push(o[0]), this.ToffsetWires2A1.push(o[0]);
2141
2135
  break;
2142
- case m.双分裂:
2136
+ case I.双分裂:
2143
2137
  this.offsetWires21.push(o[0]), this.offsetWires21.push(o[1]), this.ToffsetWires2A1.push(o[2]), this.ToffsetWires2A1.push(o[3]);
2144
2138
  break;
2145
- case m.四分裂:
2139
+ case I.四分裂:
2146
2140
  this.offsetWires21.push(o[0]), this.offsetWires21.push(o[1]), this.offsetWires21.push(o[2]), this.offsetWires21.push(o[3]), this.ToffsetWires2A1.push(o[4]), this.ToffsetWires2A1.push(o[5]), this.ToffsetWires2A1.push(o[6]), this.ToffsetWires2A1.push(o[7]);
2147
2141
  break;
2148
- case m.六分裂:
2142
+ case I.六分裂:
2149
2143
  this.offsetWires21.push(o[0]), this.offsetWires21.push(o[1]), this.offsetWires21.push(o[2]), this.offsetWires21.push(o[3]), this.offsetWires21.push(o[4]), this.offsetWires21.push(o[5]), this.ToffsetWires2A1.push(o[6]), this.ToffsetWires2A1.push(o[7]), this.ToffsetWires2A1.push(o[8]), this.ToffsetWires2A1.push(o[9]), this.ToffsetWires2A1.push(o[10]), this.ToffsetWires2A1.push(o[11]);
2150
2144
  break;
2151
- case m.八分裂:
2145
+ case I.八分裂:
2152
2146
  this.offsetWires21.push(o[0]), this.offsetWires21.push(o[1]), this.offsetWires21.push(o[2]), this.offsetWires21.push(o[3]), this.offsetWires21.push(o[4]), this.offsetWires21.push(o[5]), this.offsetWires21.push(o[6]), this.offsetWires21.push(o[7]), this.ToffsetWires2A1.push(o[8]), this.ToffsetWires2A1.push(o[9]), this.ToffsetWires2A1.push(o[10]), this.ToffsetWires2A1.push(o[11]), this.ToffsetWires2A1.push(o[12]), this.ToffsetWires2A1.push(o[13]), this.ToffsetWires2A1.push(o[14]), this.ToffsetWires2A1.push(o[15]);
2153
2147
  break;
2154
2148
  }
2155
2149
  else
2156
2150
  switch (this.LineInfo.Wairnum) {
2157
- case m.单分裂:
2151
+ case I.单分裂:
2158
2152
  const A = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n);
2159
2153
  this.offsetWires21.push(A), this.ToffsetWires2A2.push(A);
2160
2154
  break;
2161
- case m.双分裂:
2155
+ case I.双分裂:
2162
2156
  const g = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), y = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n);
2163
2157
  this.offsetWires21.push(g), this.offsetWires21.push(y), this.ToffsetWires2A2.push(g), this.ToffsetWires2A2.push(y);
2164
2158
  break;
2165
- case m.四分裂:
2166
- const L = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), I = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), B = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), v = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n);
2167
- this.offsetWires21.push(L), this.offsetWires21.push(I), this.offsetWires21.push(B), this.offsetWires21.push(v), this.ToffsetWires2A2.push(L), this.ToffsetWires2A2.push(I), this.ToffsetWires2A2.push(B), this.ToffsetWires2A2.push(v);
2159
+ case I.四分裂:
2160
+ const L = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), m = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), B = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), v = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n);
2161
+ this.offsetWires21.push(L), this.offsetWires21.push(m), this.offsetWires21.push(B), this.offsetWires21.push(v), this.ToffsetWires2A2.push(L), this.ToffsetWires2A2.push(m), this.ToffsetWires2A2.push(B), this.ToffsetWires2A2.push(v);
2168
2162
  break;
2169
- case m.六分裂:
2170
- const b = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), M = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), S = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), R = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n), E = P(r, new f.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), n), D = P(r, new f.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), n);
2171
- this.offsetWires21.push(b), this.offsetWires21.push(M), this.offsetWires21.push(S), this.offsetWires21.push(R), this.offsetWires21.push(E), this.offsetWires21.push(D), this.ToffsetWires2A2.push(b), this.ToffsetWires2A2.push(M), this.ToffsetWires2A2.push(S), this.ToffsetWires2A2.push(R), this.ToffsetWires2A2.push(E), this.ToffsetWires2A2.push(D);
2163
+ case I.六分裂:
2164
+ const b = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), M = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), _ = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), R = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n), E = P(r, new f.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), n), D = P(r, new f.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), n);
2165
+ this.offsetWires21.push(b), this.offsetWires21.push(M), this.offsetWires21.push(_), this.offsetWires21.push(R), this.offsetWires21.push(E), this.offsetWires21.push(D), this.ToffsetWires2A2.push(b), this.ToffsetWires2A2.push(M), this.ToffsetWires2A2.push(_), this.ToffsetWires2A2.push(R), this.ToffsetWires2A2.push(E), this.ToffsetWires2A2.push(D);
2172
2166
  break;
2173
- case m.八分裂:
2174
- const $ = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), k = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), F = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), Z = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n), X = P(r, new f.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), n), Y = P(r, new f.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), n), V = P(r, new f.Cartesian3(i.InsulatorPoint[6].X * -1, i.InsulatorPoint[6].Y, i.InsulatorPoint[6].Z), n), O = P(r, new f.Cartesian3(i.InsulatorPoint[7].X * -1, i.InsulatorPoint[7].Y, i.InsulatorPoint[7].Z), n);
2175
- this.offsetWires21.push($), this.offsetWires21.push(k), this.offsetWires21.push(F), this.offsetWires21.push(Z), this.offsetWires21.push(X), this.offsetWires21.push(Y), this.offsetWires21.push(V), this.offsetWires21.push(O), this.ToffsetWires2A2.push($), this.ToffsetWires2A2.push(k), this.ToffsetWires2A2.push(F), this.ToffsetWires2A2.push(Z), this.ToffsetWires2A2.push(X), this.ToffsetWires2A2.push(Y), this.ToffsetWires2A2.push(V), this.ToffsetWires2A2.push(O);
2167
+ case I.八分裂:
2168
+ const Z = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), k = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), F = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), X = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n), $ = P(r, new f.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), n), Y = P(r, new f.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), n), V = P(r, new f.Cartesian3(i.InsulatorPoint[6].X * -1, i.InsulatorPoint[6].Y, i.InsulatorPoint[6].Z), n), O = P(r, new f.Cartesian3(i.InsulatorPoint[7].X * -1, i.InsulatorPoint[7].Y, i.InsulatorPoint[7].Z), n);
2169
+ this.offsetWires21.push(Z), this.offsetWires21.push(k), this.offsetWires21.push(F), this.offsetWires21.push(X), this.offsetWires21.push($), this.offsetWires21.push(Y), this.offsetWires21.push(V), this.offsetWires21.push(O), this.ToffsetWires2A2.push(Z), this.ToffsetWires2A2.push(k), this.ToffsetWires2A2.push(F), this.ToffsetWires2A2.push(X), this.ToffsetWires2A2.push($), this.ToffsetWires2A2.push(Y), this.ToffsetWires2A2.push(V), this.ToffsetWires2A2.push(O);
2176
2170
  break;
2177
2171
  }
2178
- else if (i.type == G.跳线串)
2172
+ else if (i.type == z.跳线串)
2179
2173
  switch (this.LineInfo.Wairnum) {
2180
- case m.单分裂:
2174
+ case I.单分裂:
2181
2175
  this.ToffsetWires2A1.push(o[0]), this.ToffsetWires2A2.push(o[0]);
2182
2176
  break;
2183
- case m.双分裂:
2177
+ case I.双分裂:
2184
2178
  this.ToffsetWires2A1.push(o[0]), this.ToffsetWires2A1.push(o[1]), this.ToffsetWires2A2.push(o[2]), this.ToffsetWires2A2.push(o[3]);
2185
2179
  break;
2186
- case m.四分裂:
2180
+ case I.四分裂:
2187
2181
  this.ToffsetWires2A1.push(o[0]), this.ToffsetWires2A1.push(o[1]), this.ToffsetWires2A1.push(o[2]), this.ToffsetWires2A1.push(o[3]), this.ToffsetWires2A2.push(o[4]), this.ToffsetWires2A2.push(o[5]), this.ToffsetWires2A2.push(o[6]), this.ToffsetWires2A2.push(o[7]);
2188
2182
  break;
2189
- case m.六分裂:
2183
+ case I.六分裂:
2190
2184
  this.ToffsetWires2A1.push(o[0]), this.ToffsetWires2A1.push(o[1]), this.ToffsetWires2A1.push(o[2]), this.ToffsetWires2A1.push(o[3]), this.ToffsetWires2A1.push(o[4]), this.ToffsetWires2A1.push(o[5]), this.ToffsetWires2A2.push(o[6]), this.ToffsetWires2A2.push(o[7]), this.ToffsetWires2A2.push(o[8]), this.ToffsetWires2A2.push(o[9]), this.ToffsetWires2A2.push(o[10]), this.ToffsetWires2A2.push(o[11]);
2191
2185
  break;
2192
- case m.八分裂:
2186
+ case I.八分裂:
2193
2187
  this.ToffsetWires2A1.push(o[0]), this.ToffsetWires2A1.push(o[1]), this.ToffsetWires2A1.push(o[2]), this.ToffsetWires2A1.push(o[3]), this.ToffsetWires2A1.push(o[4]), this.ToffsetWires2A1.push(o[5]), this.ToffsetWires2A1.push(o[6]), this.ToffsetWires2A1.push(o[7]), this.ToffsetWires2A2.push(o[8]), this.ToffsetWires2A2.push(o[9]), this.ToffsetWires2A2.push(o[10]), this.ToffsetWires2A2.push(o[11]), this.ToffsetWires2A2.push(o[12]), this.ToffsetWires2A2.push(o[13]), this.ToffsetWires2A2.push(o[14]), this.ToffsetWires2A2.push(o[15]);
2194
2188
  break;
2195
2189
  }
2196
2190
  break;
2197
2191
  case x.B相:
2198
- if (i.type == G.耐张串)
2192
+ if (i.type == z.耐张串)
2199
2193
  if (i.WairFX == "进")
2200
2194
  switch (this.LineInfo.Wairnum) {
2201
- case m.单分裂:
2195
+ case I.单分裂:
2202
2196
  this.offsetWires22.push(o[0]), this.ToffsetWires2B1.push(o[0]);
2203
2197
  break;
2204
- case m.双分裂:
2198
+ case I.双分裂:
2205
2199
  this.offsetWires22.push(o[0]), this.offsetWires22.push(o[1]), this.ToffsetWires2B1.push(o[2]), this.ToffsetWires2B1.push(o[3]);
2206
2200
  break;
2207
- case m.四分裂:
2201
+ case I.四分裂:
2208
2202
  this.offsetWires22.push(o[0]), this.offsetWires22.push(o[1]), this.offsetWires22.push(o[2]), this.offsetWires22.push(o[3]), this.ToffsetWires2B1.push(o[4]), this.ToffsetWires2B1.push(o[5]), this.ToffsetWires2B1.push(o[6]), this.ToffsetWires2B1.push(o[7]);
2209
2203
  break;
2210
- case m.六分裂:
2204
+ case I.六分裂:
2211
2205
  this.offsetWires22.push(o[0]), this.offsetWires22.push(o[1]), this.offsetWires22.push(o[2]), this.offsetWires22.push(o[3]), this.offsetWires22.push(o[4]), this.offsetWires22.push(o[5]), this.ToffsetWires2B1.push(o[6]), this.ToffsetWires2B1.push(o[7]), this.ToffsetWires2B1.push(o[8]), this.ToffsetWires2B1.push(o[9]), this.ToffsetWires2B1.push(o[10]), this.ToffsetWires2B1.push(o[11]);
2212
2206
  break;
2213
- case m.八分裂:
2207
+ case I.八分裂:
2214
2208
  this.offsetWires22.push(o[0]), this.offsetWires22.push(o[1]), this.offsetWires22.push(o[2]), this.offsetWires22.push(o[3]), this.offsetWires22.push(o[4]), this.offsetWires22.push(o[5]), this.offsetWires22.push(o[6]), this.offsetWires22.push(o[7]), this.ToffsetWires2B1.push(o[8]), this.ToffsetWires2B1.push(o[9]), this.ToffsetWires2B1.push(o[10]), this.ToffsetWires2B1.push(o[11]), this.ToffsetWires2B1.push(o[12]), this.ToffsetWires2B1.push(o[13]), this.ToffsetWires2B1.push(o[14]), this.ToffsetWires2B1.push(o[15]);
2215
2209
  break;
2216
2210
  }
2217
2211
  else
2218
2212
  switch (this.LineInfo.Wairnum) {
2219
- case m.单分裂:
2213
+ case I.单分裂:
2220
2214
  const A = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n);
2221
2215
  this.offsetWires22.push(A), this.ToffsetWires2B2.push(A);
2222
2216
  break;
2223
- case m.双分裂:
2217
+ case I.双分裂:
2224
2218
  const g = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), y = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n);
2225
2219
  this.offsetWires22.push(g), this.offsetWires22.push(y), this.ToffsetWires2B2.push(g), this.ToffsetWires2B2.push(y);
2226
2220
  break;
2227
- case m.四分裂:
2228
- const L = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), I = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), B = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), v = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n);
2229
- this.offsetWires22.push(L), this.offsetWires22.push(I), this.offsetWires22.push(B), this.offsetWires22.push(v), this.ToffsetWires2B2.push(L), this.ToffsetWires2B2.push(I), this.ToffsetWires2B2.push(B), this.ToffsetWires2B2.push(v);
2221
+ case I.四分裂:
2222
+ const L = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), m = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), B = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), v = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n);
2223
+ this.offsetWires22.push(L), this.offsetWires22.push(m), this.offsetWires22.push(B), this.offsetWires22.push(v), this.ToffsetWires2B2.push(L), this.ToffsetWires2B2.push(m), this.ToffsetWires2B2.push(B), this.ToffsetWires2B2.push(v);
2230
2224
  break;
2231
- case m.六分裂:
2232
- const b = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), M = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), S = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), R = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n), E = P(r, new f.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), n), D = P(r, new f.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), n);
2233
- this.offsetWires22.push(b), this.offsetWires22.push(M), this.offsetWires22.push(S), this.offsetWires22.push(R), this.offsetWires22.push(E), this.offsetWires22.push(D), this.ToffsetWires2B2.push(b), this.ToffsetWires2B2.push(M), this.ToffsetWires2B2.push(S), this.ToffsetWires2B2.push(R), this.ToffsetWires2B2.push(E), this.ToffsetWires2B2.push(D);
2225
+ case I.六分裂:
2226
+ const b = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), M = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), _ = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), R = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n), E = P(r, new f.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), n), D = P(r, new f.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), n);
2227
+ this.offsetWires22.push(b), this.offsetWires22.push(M), this.offsetWires22.push(_), this.offsetWires22.push(R), this.offsetWires22.push(E), this.offsetWires22.push(D), this.ToffsetWires2B2.push(b), this.ToffsetWires2B2.push(M), this.ToffsetWires2B2.push(_), this.ToffsetWires2B2.push(R), this.ToffsetWires2B2.push(E), this.ToffsetWires2B2.push(D);
2234
2228
  break;
2235
- case m.八分裂:
2236
- const $ = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), k = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), F = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), Z = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n), X = P(r, new f.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), n), Y = P(r, new f.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), n), V = P(r, new f.Cartesian3(i.InsulatorPoint[6].X * -1, i.InsulatorPoint[6].Y, i.InsulatorPoint[6].Z), n), O = P(r, new f.Cartesian3(i.InsulatorPoint[7].X * -1, i.InsulatorPoint[7].Y, i.InsulatorPoint[7].Z), n);
2237
- this.offsetWires22.push($), this.offsetWires22.push(k), this.offsetWires22.push(F), this.offsetWires22.push(Z), this.offsetWires22.push(X), this.offsetWires22.push(Y), this.offsetWires22.push(V), this.offsetWires22.push(O), this.ToffsetWires2B2.push($), this.ToffsetWires2B2.push(k), this.ToffsetWires2B2.push(F), this.ToffsetWires2B2.push(Z), this.ToffsetWires2B2.push(X), this.ToffsetWires2B2.push(Y), this.ToffsetWires2B2.push(V), this.ToffsetWires2B2.push(O);
2229
+ case I.八分裂:
2230
+ const Z = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), k = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), F = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), X = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n), $ = P(r, new f.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), n), Y = P(r, new f.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), n), V = P(r, new f.Cartesian3(i.InsulatorPoint[6].X * -1, i.InsulatorPoint[6].Y, i.InsulatorPoint[6].Z), n), O = P(r, new f.Cartesian3(i.InsulatorPoint[7].X * -1, i.InsulatorPoint[7].Y, i.InsulatorPoint[7].Z), n);
2231
+ this.offsetWires22.push(Z), this.offsetWires22.push(k), this.offsetWires22.push(F), this.offsetWires22.push(X), this.offsetWires22.push($), this.offsetWires22.push(Y), this.offsetWires22.push(V), this.offsetWires22.push(O), this.ToffsetWires2B2.push(Z), this.ToffsetWires2B2.push(k), this.ToffsetWires2B2.push(F), this.ToffsetWires2B2.push(X), this.ToffsetWires2B2.push($), this.ToffsetWires2B2.push(Y), this.ToffsetWires2B2.push(V), this.ToffsetWires2B2.push(O);
2238
2232
  break;
2239
2233
  }
2240
- else if (i.type == G.跳线串)
2234
+ else if (i.type == z.跳线串)
2241
2235
  switch (this.LineInfo.Wairnum) {
2242
- case m.单分裂:
2236
+ case I.单分裂:
2243
2237
  this.ToffsetWires2B1.push(o[0]), this.ToffsetWires2B2.push(o[0]);
2244
2238
  break;
2245
- case m.双分裂:
2239
+ case I.双分裂:
2246
2240
  this.ToffsetWires2B1.push(o[0]), this.ToffsetWires2B1.push(o[1]), this.ToffsetWires2B2.push(o[2]), this.ToffsetWires2B2.push(o[3]);
2247
2241
  break;
2248
- case m.四分裂:
2242
+ case I.四分裂:
2249
2243
  this.ToffsetWires2B1.push(o[0]), this.ToffsetWires2B1.push(o[1]), this.ToffsetWires2B1.push(o[2]), this.ToffsetWires2B1.push(o[3]), this.ToffsetWires2B2.push(o[4]), this.ToffsetWires2B2.push(o[5]), this.ToffsetWires2B2.push(o[6]), this.ToffsetWires2B2.push(o[7]);
2250
2244
  break;
2251
- case m.六分裂:
2245
+ case I.六分裂:
2252
2246
  this.ToffsetWires2B1.push(o[0]), this.ToffsetWires2B1.push(o[1]), this.ToffsetWires2B1.push(o[2]), this.ToffsetWires2B1.push(o[3]), this.ToffsetWires2B1.push(o[4]), this.ToffsetWires2B1.push(o[5]), this.ToffsetWires2B2.push(o[6]), this.ToffsetWires2B2.push(o[7]), this.ToffsetWires2B2.push(o[8]), this.ToffsetWires2B2.push(o[9]), this.ToffsetWires2B2.push(o[10]), this.ToffsetWires2B2.push(o[11]);
2253
2247
  break;
2254
- case m.八分裂:
2248
+ case I.八分裂:
2255
2249
  this.ToffsetWires2B1.push(o[0]), this.ToffsetWires2B1.push(o[1]), this.ToffsetWires2B1.push(o[2]), this.ToffsetWires2B1.push(o[3]), this.ToffsetWires2B1.push(o[4]), this.ToffsetWires2B1.push(o[5]), this.ToffsetWires2B1.push(o[6]), this.ToffsetWires2B1.push(o[7]), this.ToffsetWires2B2.push(o[8]), this.ToffsetWires2B2.push(o[9]), this.ToffsetWires2B2.push(o[10]), this.ToffsetWires2B2.push(o[11]), this.ToffsetWires2B2.push(o[12]), this.ToffsetWires2B2.push(o[13]), this.ToffsetWires2B2.push(o[14]), this.ToffsetWires2B2.push(o[15]);
2256
2250
  break;
2257
2251
  }
2258
2252
  break;
2259
2253
  case x.C相:
2260
- if (i.type == G.耐张串)
2254
+ if (i.type == z.耐张串)
2261
2255
  if (i.WairFX == "进")
2262
2256
  switch (this.LineInfo.Wairnum) {
2263
- case m.单分裂:
2257
+ case I.单分裂:
2264
2258
  this.offsetWires23.push(o[0]), this.ToffsetWires2C1.push(o[0]);
2265
2259
  break;
2266
- case m.双分裂:
2260
+ case I.双分裂:
2267
2261
  this.offsetWires23.push(o[0]), this.offsetWires23.push(o[1]), this.ToffsetWires2C1.push(o[2]), this.ToffsetWires2C1.push(o[3]);
2268
2262
  break;
2269
- case m.四分裂:
2263
+ case I.四分裂:
2270
2264
  this.offsetWires23.push(o[0]), this.offsetWires23.push(o[1]), this.offsetWires23.push(o[2]), this.offsetWires23.push(o[3]), this.ToffsetWires2C1.push(o[4]), this.ToffsetWires2C1.push(o[5]), this.ToffsetWires2C1.push(o[6]), this.ToffsetWires2C1.push(o[7]);
2271
2265
  break;
2272
- case m.六分裂:
2266
+ case I.六分裂:
2273
2267
  this.offsetWires23.push(o[0]), this.offsetWires23.push(o[1]), this.offsetWires23.push(o[2]), this.offsetWires23.push(o[3]), this.offsetWires23.push(o[4]), this.offsetWires23.push(o[5]), this.ToffsetWires2C1.push(o[6]), this.ToffsetWires2C1.push(o[7]), this.ToffsetWires2C1.push(o[8]), this.ToffsetWires2C1.push(o[9]), this.ToffsetWires2C1.push(o[10]), this.ToffsetWires2C1.push(o[11]);
2274
2268
  break;
2275
- case m.八分裂:
2269
+ case I.八分裂:
2276
2270
  this.offsetWires23.push(o[0]), this.offsetWires23.push(o[1]), this.offsetWires23.push(o[2]), this.offsetWires23.push(o[3]), this.offsetWires23.push(o[4]), this.offsetWires23.push(o[5]), this.offsetWires23.push(o[6]), this.offsetWires23.push(o[7]), this.ToffsetWires2C1.push(o[8]), this.ToffsetWires2C1.push(o[9]), this.ToffsetWires2C1.push(o[10]), this.ToffsetWires2C1.push(o[11]), this.ToffsetWires2C1.push(o[12]), this.ToffsetWires2C1.push(o[13]), this.ToffsetWires2C1.push(o[14]), this.ToffsetWires2C1.push(o[15]);
2277
2271
  break;
2278
2272
  }
2279
2273
  else
2280
2274
  switch (this.LineInfo.Wairnum) {
2281
- case m.单分裂:
2275
+ case I.单分裂:
2282
2276
  const A = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n);
2283
2277
  this.offsetWires23.push(A), this.ToffsetWires2C2.push(A);
2284
2278
  break;
2285
- case m.双分裂:
2279
+ case I.双分裂:
2286
2280
  const g = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), y = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n);
2287
2281
  this.offsetWires23.push(g), this.offsetWires23.push(y), this.ToffsetWires2C2.push(g), this.ToffsetWires2C2.push(y);
2288
2282
  break;
2289
- case m.四分裂:
2290
- const L = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), I = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), B = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), v = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n);
2291
- this.offsetWires23.push(L), this.offsetWires23.push(I), this.offsetWires23.push(B), this.offsetWires23.push(v), this.ToffsetWires2C2.push(L), this.ToffsetWires2C2.push(I), this.ToffsetWires2C2.push(B), this.ToffsetWires2C2.push(v);
2283
+ case I.四分裂:
2284
+ const L = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), m = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), B = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), v = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n);
2285
+ this.offsetWires23.push(L), this.offsetWires23.push(m), this.offsetWires23.push(B), this.offsetWires23.push(v), this.ToffsetWires2C2.push(L), this.ToffsetWires2C2.push(m), this.ToffsetWires2C2.push(B), this.ToffsetWires2C2.push(v);
2292
2286
  break;
2293
- case m.六分裂:
2294
- const b = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), M = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), S = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), R = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n), E = P(r, new f.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), n), D = P(r, new f.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), n);
2295
- this.offsetWires23.push(b), this.offsetWires23.push(M), this.offsetWires23.push(S), this.offsetWires23.push(R), this.offsetWires23.push(E), this.offsetWires23.push(D), this.ToffsetWires2C2.push(b), this.ToffsetWires2C2.push(M), this.ToffsetWires2C2.push(S), this.ToffsetWires2C2.push(R), this.ToffsetWires2C2.push(E), this.ToffsetWires2C2.push(D);
2287
+ case I.六分裂:
2288
+ const b = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), M = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), _ = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), R = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n), E = P(r, new f.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), n), D = P(r, new f.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), n);
2289
+ this.offsetWires23.push(b), this.offsetWires23.push(M), this.offsetWires23.push(_), this.offsetWires23.push(R), this.offsetWires23.push(E), this.offsetWires23.push(D), this.ToffsetWires2C2.push(b), this.ToffsetWires2C2.push(M), this.ToffsetWires2C2.push(_), this.ToffsetWires2C2.push(R), this.ToffsetWires2C2.push(E), this.ToffsetWires2C2.push(D);
2296
2290
  break;
2297
- case m.八分裂:
2298
- const $ = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), k = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), F = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), Z = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n), X = P(r, new f.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), n), Y = P(r, new f.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), n), V = P(r, new f.Cartesian3(i.InsulatorPoint[6].X * -1, i.InsulatorPoint[6].Y, i.InsulatorPoint[6].Z), n), O = P(r, new f.Cartesian3(i.InsulatorPoint[7].X * -1, i.InsulatorPoint[7].Y, i.InsulatorPoint[7].Z), n);
2299
- this.offsetWires23.push($), this.offsetWires23.push(k), this.offsetWires23.push(F), this.offsetWires23.push(Z), this.offsetWires23.push(X), this.offsetWires23.push(Y), this.offsetWires23.push(V), this.offsetWires23.push(O), this.ToffsetWires2C2.push($), this.ToffsetWires2C2.push(k), this.ToffsetWires2C2.push(F), this.ToffsetWires2C2.push(Z), this.ToffsetWires2C2.push(X), this.ToffsetWires2C2.push(Y), this.ToffsetWires2C2.push(V), this.ToffsetWires2C2.push(O);
2291
+ case I.八分裂:
2292
+ const Z = P(r, new f.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), n), k = P(r, new f.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), n), F = P(r, new f.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), n), X = P(r, new f.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), n), $ = P(r, new f.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), n), Y = P(r, new f.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), n), V = P(r, new f.Cartesian3(i.InsulatorPoint[6].X * -1, i.InsulatorPoint[6].Y, i.InsulatorPoint[6].Z), n), O = P(r, new f.Cartesian3(i.InsulatorPoint[7].X * -1, i.InsulatorPoint[7].Y, i.InsulatorPoint[7].Z), n);
2293
+ this.offsetWires23.push(Z), this.offsetWires23.push(k), this.offsetWires23.push(F), this.offsetWires23.push(X), this.offsetWires23.push($), this.offsetWires23.push(Y), this.offsetWires23.push(V), this.offsetWires23.push(O), this.ToffsetWires2C2.push(Z), this.ToffsetWires2C2.push(k), this.ToffsetWires2C2.push(F), this.ToffsetWires2C2.push(X), this.ToffsetWires2C2.push($), this.ToffsetWires2C2.push(Y), this.ToffsetWires2C2.push(V), this.ToffsetWires2C2.push(O);
2300
2294
  break;
2301
2295
  }
2302
- else if (i.type == G.跳线串)
2296
+ else if (i.type == z.跳线串)
2303
2297
  switch (this.LineInfo.Wairnum) {
2304
- case m.单分裂:
2298
+ case I.单分裂:
2305
2299
  this.ToffsetWires2C1.push(o[0]), this.ToffsetWires2C2.push(o[0]);
2306
2300
  break;
2307
- case m.双分裂:
2301
+ case I.双分裂:
2308
2302
  this.ToffsetWires2C1.push(o[0]), this.ToffsetWires2C1.push(o[1]), this.ToffsetWires2C2.push(o[2]), this.ToffsetWires2C2.push(o[3]);
2309
2303
  break;
2310
- case m.四分裂:
2304
+ case I.四分裂:
2311
2305
  this.ToffsetWires2C1.push(o[0]), this.ToffsetWires2C1.push(o[1]), this.ToffsetWires2C1.push(o[2]), this.ToffsetWires2C1.push(o[3]), this.ToffsetWires2C2.push(o[4]), this.ToffsetWires2C2.push(o[5]), this.ToffsetWires2C2.push(o[6]), this.ToffsetWires2C2.push(o[7]);
2312
2306
  break;
2313
- case m.六分裂:
2307
+ case I.六分裂:
2314
2308
  this.ToffsetWires2C1.push(o[0]), this.ToffsetWires2C1.push(o[1]), this.ToffsetWires2C1.push(o[2]), this.ToffsetWires2C1.push(o[3]), this.ToffsetWires2C1.push(o[4]), this.ToffsetWires2C1.push(o[5]), this.ToffsetWires2C2.push(o[6]), this.ToffsetWires2C2.push(o[7]), this.ToffsetWires2C2.push(o[8]), this.ToffsetWires2C2.push(o[9]), this.ToffsetWires2C2.push(o[10]), this.ToffsetWires2C2.push(o[11]);
2315
2309
  break;
2316
- case m.八分裂:
2310
+ case I.八分裂:
2317
2311
  this.ToffsetWires2C1.push(o[0]), this.ToffsetWires2C1.push(o[1]), this.ToffsetWires2C1.push(o[2]), this.ToffsetWires2C1.push(o[3]), this.ToffsetWires2C1.push(o[4]), this.ToffsetWires2C1.push(o[5]), this.ToffsetWires2C1.push(o[6]), this.ToffsetWires2C1.push(o[7]), this.ToffsetWires2C2.push(o[8]), this.ToffsetWires2C2.push(o[9]), this.ToffsetWires2C2.push(o[10]), this.ToffsetWires2C2.push(o[11]), this.ToffsetWires2C2.push(o[12]), this.ToffsetWires2C2.push(o[13]), this.ToffsetWires2C2.push(o[14]), this.ToffsetWires2C2.push(o[15]);
2318
2312
  break;
2319
2313
  }
@@ -2337,7 +2331,7 @@ class us {
2337
2331
  });
2338
2332
  break;
2339
2333
  }
2340
- else if (this.LineInfo.towers[e].type == nt.耐张塔)
2334
+ else if (this.LineInfo.towers[e].type == it.耐张塔)
2341
2335
  switch (u) {
2342
2336
  case 11:
2343
2337
  this.offsetWires21.push(o[0]), this.ToffsetWires2A1.push(o[0]);
@@ -2414,28 +2408,28 @@ class us {
2414
2408
  }), this.offsetWires11.length > 0 && e > 0) {
2415
2409
  const i = [], l = [], T = [], p = [], o = [], A = [], g = [], y = [];
2416
2410
  switch (this.LineInfo.Wairnum) {
2417
- case m.单分裂:
2411
+ case I.单分裂:
2418
2412
  this.offsetWires11.length >= 2 && (i.push(this.offsetWires11[t]), i.push(this.offsetWires11[t - 1]), this.offsetArcWires1A = d(i), this.offsetArcWires1A.forEach((L) => {
2419
- const I = Q(this.viewer.scene.globe.ellipsoid, L);
2420
- this.arcLine1A1.push(I);
2413
+ const m = Q(this.viewer.scene.globe.ellipsoid, L);
2414
+ this.arcLine1A1.push(m);
2421
2415
  }), this.LineentityCollection2.add(C(this.offsetArcWires1A, "导线1_A1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)));
2422
2416
  break;
2423
- case m.双分裂:
2417
+ case I.双分裂:
2424
2418
  this.offsetWires11.length >= 4 && (i.push(this.offsetWires11[t]), i.push(this.offsetWires11[t - 2]), this.offsetArcWires1A = d(i), this.LineentityCollection2.add(C(this.offsetArcWires1A, "导线1_A1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1A.forEach((L) => {
2425
2419
  this.arcLine1A1.push(Q(this.viewer.scene.globe.ellipsoid, L));
2426
2420
  }), l.push(this.offsetWires11[t + 1]), l.push(this.offsetWires11[t - 1]), this.offsetArcWires1A = d(l), this.LineentityCollection2.add(C(this.offsetArcWires1A, "导线1_A2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)));
2427
2421
  break;
2428
- case m.四分裂:
2422
+ case I.四分裂:
2429
2423
  this.offsetWires11.length >= 8 && (i.push(this.offsetWires11[t]), i.push(this.offsetWires11[t - 4]), this.offsetArcWires1A = d(i), this.LineentityCollection2.add(C(this.offsetArcWires1A, "导线1_A1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1A.forEach((L) => {
2430
2424
  this.arcLine1A1.push(Q(this.viewer.scene.globe.ellipsoid, L));
2431
2425
  }), l.push(this.offsetWires11[t + 1]), l.push(this.offsetWires11[t - 3]), this.offsetArcWires1A = d(l), this.LineentityCollection2.add(C(this.offsetArcWires1A, "导线1_A2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires11[t + 2]), T.push(this.offsetWires11[t - 2]), this.offsetArcWires1A = d(T), this.LineentityCollection2.add(C(this.offsetArcWires1A, "导线1_A3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), p.push(this.offsetWires11[t + 3]), p.push(this.offsetWires11[t - 1]), this.offsetArcWires1A = d(p), this.LineentityCollection2.add(C(this.offsetArcWires1A, "导线1_A4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)));
2432
2426
  break;
2433
- case m.六分裂:
2427
+ case I.六分裂:
2434
2428
  this.offsetWires11.length >= 12 && (i.push(this.offsetWires11[t]), i.push(this.offsetWires11[t - 6]), this.offsetArcWires1A = d(i), this.LineentityCollection2.add(C(this.offsetArcWires1A, "导线1_A1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1A.forEach((L) => {
2435
2429
  this.arcLine1A1.push(Q(this.viewer.scene.globe.ellipsoid, L));
2436
2430
  }), l.push(this.offsetWires11[t + 1]), l.push(this.offsetWires11[t - 5]), this.offsetArcWires1A = d(l), this.LineentityCollection2.add(C(this.offsetArcWires1A, "导线1_A2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires11[t + 2]), T.push(this.offsetWires11[t - 4]), this.offsetArcWires1A = d(T), this.LineentityCollection2.add(C(this.offsetArcWires1A, "导线1_A3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), p.push(this.offsetWires11[t + 3]), p.push(this.offsetWires11[t - 3]), this.offsetArcWires1A = d(p), this.LineentityCollection2.add(C(this.offsetArcWires1A, "导线1_A4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires11[t + 4]), o.push(this.offsetWires11[t - 2]), this.offsetArcWires1A = d(o), this.LineentityCollection2.add(C(this.offsetArcWires1A, "导线1_A5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), A.push(this.offsetWires11[t + 5]), A.push(this.offsetWires11[t - 1]), this.offsetArcWires1A = d(A), this.LineentityCollection2.add(C(this.offsetArcWires1A, "导线1_A6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)));
2437
2431
  break;
2438
- case m.八分裂:
2432
+ case I.八分裂:
2439
2433
  this.offsetWires11.length >= 16 && (i.push(this.offsetWires11[t]), i.push(this.offsetWires11[t - 8]), this.offsetArcWires1A = d(i), this.LineentityCollection2.add(C(this.offsetArcWires1A, "导线1_A1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1A.forEach((L) => {
2440
2434
  this.arcLine1A1.push(Q(this.viewer.scene.globe.ellipsoid, L));
2441
2435
  }), l.push(this.offsetWires11[t + 1]), l.push(this.offsetWires11[t - 7]), this.offsetArcWires1A = d(l), this.LineentityCollection2.add(C(this.offsetArcWires1A, "导线1_A2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires11[t + 2]), T.push(this.offsetWires11[t - 6]), this.offsetArcWires1A = d(T), this.LineentityCollection2.add(C(this.offsetArcWires1A, "导线1_A3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), p.push(this.offsetWires11[t + 3]), p.push(this.offsetWires11[t - 5]), this.offsetArcWires1A = d(p), this.LineentityCollection2.add(C(this.offsetArcWires1A, "导线1_A4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires11[t + 4]), o.push(this.offsetWires11[t - 4]), this.offsetArcWires1A = d(o), this.LineentityCollection2.add(C(this.offsetArcWires1A, "导线1_A5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), A.push(this.offsetWires11[t + 5]), A.push(this.offsetWires11[t - 3]), this.offsetArcWires1A = d(A), this.LineentityCollection2.add(C(this.offsetArcWires1A, "导线1_A6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), g.push(this.offsetWires11[t + 6]), g.push(this.offsetWires11[t - 2]), this.offsetArcWires1A = d(g), this.LineentityCollection2.add(C(this.offsetArcWires1A, "导线1_A7" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), y.push(this.offsetWires11[t + 7]), y.push(this.offsetWires11[t - 1]), this.offsetArcWires1A = d(y), this.LineentityCollection2.add(C(this.offsetArcWires1A, "导线1_A8" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)));
@@ -2445,27 +2439,27 @@ class us {
2445
2439
  if (this.offsetWires12.length > 0 && e > 0) {
2446
2440
  const i = [], l = [], T = [], p = [], o = [], A = [], g = [], y = [];
2447
2441
  switch (this.LineInfo.Wairnum) {
2448
- case m.单分裂:
2442
+ case I.单分裂:
2449
2443
  i.push(this.offsetWires12[t]), i.push(this.offsetWires12[t - 1]), this.offsetArcWires1B = d(i), this.LineentityCollection2.add(C(this.offsetArcWires1B, "导线1_B1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((L) => {
2450
2444
  this.arcLine1B1.push(Q(this.viewer.scene.globe.ellipsoid, L));
2451
2445
  });
2452
2446
  break;
2453
- case m.双分裂:
2447
+ case I.双分裂:
2454
2448
  i.push(this.offsetWires12[t]), i.push(this.offsetWires12[t - 2]), this.offsetArcWires1B = d(i), this.LineentityCollection2.add(C(this.offsetArcWires1B, "导线1_B1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((L) => {
2455
2449
  this.arcLine1B1.push(Q(this.viewer.scene.globe.ellipsoid, L));
2456
2450
  }), l.push(this.offsetWires12[t + 1]), l.push(this.offsetWires12[t - 1]), this.offsetArcWires1B = d(l), this.LineentityCollection2.add(C(this.offsetArcWires1B, "导线1_B2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2457
2451
  break;
2458
- case m.四分裂:
2452
+ case I.四分裂:
2459
2453
  i.push(this.offsetWires12[t]), i.push(this.offsetWires12[t - 4]), this.offsetArcWires1B = d(i), this.LineentityCollection2.add(C(this.offsetArcWires1B, "导线1_B1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((L) => {
2460
2454
  this.arcLine1B1.push(Q(this.viewer.scene.globe.ellipsoid, L));
2461
2455
  }), l.push(this.offsetWires12[t + 1]), l.push(this.offsetWires12[t - 3]), this.offsetArcWires1B = d(l), this.LineentityCollection2.add(C(this.offsetArcWires1B, "导线1_B2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires12[t + 2]), T.push(this.offsetWires12[t - 2]), this.offsetArcWires1B = d(T), this.LineentityCollection2.add(C(this.offsetArcWires1B, "导线1_B3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), p.push(this.offsetWires12[t + 3]), p.push(this.offsetWires12[t - 1]), this.offsetArcWires1B = d(p), this.LineentityCollection2.add(C(this.offsetArcWires1B, "导线1_B4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2462
2456
  break;
2463
- case m.六分裂:
2457
+ case I.六分裂:
2464
2458
  i.push(this.offsetWires12[t]), i.push(this.offsetWires12[t - 6]), this.offsetArcWires1B = d(i), this.LineentityCollection2.add(C(this.offsetArcWires1B, "导线1_B1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((L) => {
2465
2459
  this.arcLine1B1.push(Q(this.viewer.scene.globe.ellipsoid, L));
2466
2460
  }), l.push(this.offsetWires12[t + 1]), l.push(this.offsetWires12[t - 5]), this.offsetArcWires1B = d(l), this.LineentityCollection2.add(C(this.offsetArcWires1B, "导线1_B2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires12[t + 2]), T.push(this.offsetWires12[t - 4]), this.offsetArcWires1B = d(T), this.LineentityCollection2.add(C(this.offsetArcWires1B, "导线1_B3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), p.push(this.offsetWires12[t + 3]), p.push(this.offsetWires12[t - 3]), this.offsetArcWires1B = d(p), this.LineentityCollection2.add(C(this.offsetArcWires1B, "导线1_B4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires12[t + 4]), o.push(this.offsetWires12[t - 2]), this.offsetArcWires1B = d(o), this.LineentityCollection2.add(C(this.offsetArcWires1B, "导线1_B5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), A.push(this.offsetWires12[t + 5]), A.push(this.offsetWires12[t - 1]), this.offsetArcWires1B = d(A), this.LineentityCollection2.add(C(this.offsetArcWires1B, "导线1_B6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2467
2461
  break;
2468
- case m.八分裂:
2462
+ case I.八分裂:
2469
2463
  i.push(this.offsetWires12[t]), i.push(this.offsetWires12[t - 8]), this.offsetArcWires1B = d(i), this.LineentityCollection2.add(C(this.offsetArcWires1B, "导线1_B1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((L) => {
2470
2464
  this.arcLine1B1.push(Q(this.viewer.scene.globe.ellipsoid, L));
2471
2465
  }), l.push(this.offsetWires12[t + 1]), l.push(this.offsetWires12[t - 7]), this.offsetArcWires1B = d(l), this.LineentityCollection2.add(C(this.offsetArcWires1B, "导线1_B2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires12[t + 2]), T.push(this.offsetWires12[t - 6]), this.offsetArcWires1B = d(T), this.LineentityCollection2.add(C(this.offsetArcWires1B, "导线1_B3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), p.push(this.offsetWires12[t + 3]), p.push(this.offsetWires12[t - 5]), this.offsetArcWires1B = d(p), this.LineentityCollection2.add(C(this.offsetArcWires1B, "导线1_B4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires12[t + 4]), o.push(this.offsetWires12[t - 4]), this.offsetArcWires1B = d(o), this.LineentityCollection2.add(C(this.offsetArcWires1B, "导线1_B5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), A.push(this.offsetWires12[t + 5]), A.push(this.offsetWires12[t - 3]), this.offsetArcWires1B = d(A), this.LineentityCollection2.add(C(this.offsetArcWires1B, "导线1_B6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), g.push(this.offsetWires12[t + 6]), g.push(this.offsetWires12[t - 2]), this.offsetArcWires1B = d(g), this.LineentityCollection2.add(C(this.offsetArcWires1B, "导线1_B7" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), y.push(this.offsetWires12[t + 7]), y.push(this.offsetWires12[t - 1]), this.offsetArcWires1B = d(y), this.LineentityCollection2.add(C(this.offsetArcWires1B, "导线1_B8" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
@@ -2475,27 +2469,27 @@ class us {
2475
2469
  if (this.offsetWires13.length > 0 && e > 0) {
2476
2470
  const i = [], l = [], T = [], p = [], o = [], A = [], g = [], y = [];
2477
2471
  switch (this.LineInfo.Wairnum) {
2478
- case m.单分裂:
2472
+ case I.单分裂:
2479
2473
  i.push(this.offsetWires13[t]), i.push(this.offsetWires13[t - 1]), this.offsetArcWires1C = d(i), this.LineentityCollection2.add(C(this.offsetArcWires1C, "导线1_C1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1C.forEach((L) => {
2480
2474
  this.arcLine1C1.push(Q(this.viewer.scene.globe.ellipsoid, L));
2481
2475
  });
2482
2476
  break;
2483
- case m.双分裂:
2477
+ case I.双分裂:
2484
2478
  i.push(this.offsetWires13[t]), i.push(this.offsetWires13[t - 2]), this.offsetArcWires1C = d(i), this.LineentityCollection2.add(C(this.offsetArcWires1C, "导线1_C1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires13[t + 1]), l.push(this.offsetWires13[t - 1]), this.offsetArcWires1C = d(l), this.LineentityCollection2.add(C(this.offsetArcWires1C, "导线1_C2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1C.forEach((L) => {
2485
2479
  this.arcLine1C1.push(Q(this.viewer.scene.globe.ellipsoid, L));
2486
2480
  });
2487
2481
  break;
2488
- case m.四分裂:
2482
+ case I.四分裂:
2489
2483
  i.push(this.offsetWires13[t]), i.push(this.offsetWires13[t - 4]), this.offsetArcWires1C = d(i), this.LineentityCollection2.add(C(this.offsetArcWires1C, "导线1_C1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires13[t + 1]), l.push(this.offsetWires13[t - 3]), this.offsetArcWires1C = d(l), this.LineentityCollection2.add(C(this.offsetArcWires1C, "导线1_C2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires13[t + 2]), T.push(this.offsetWires13[t - 2]), this.offsetArcWires1C = d(T), this.LineentityCollection2.add(C(this.offsetArcWires1C, "导线1_C3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), p.push(this.offsetWires13[t + 3]), p.push(this.offsetWires13[t - 1]), this.offsetArcWires1C = d(p), this.LineentityCollection2.add(C(this.offsetArcWires1C, "导线1_C4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1C.forEach((L) => {
2490
2484
  this.arcLine1C1.push(Q(this.viewer.scene.globe.ellipsoid, L));
2491
2485
  });
2492
2486
  break;
2493
- case m.六分裂:
2487
+ case I.六分裂:
2494
2488
  i.push(this.offsetWires13[t]), i.push(this.offsetWires13[t - 6]), this.offsetArcWires1C = d(i), this.LineentityCollection2.add(C(this.offsetArcWires1C, "导线1_C1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires13[t + 1]), l.push(this.offsetWires13[t - 5]), this.offsetArcWires1C = d(l), this.LineentityCollection2.add(C(this.offsetArcWires1C, "导线1_C2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires13[t + 2]), T.push(this.offsetWires13[t - 4]), this.offsetArcWires1C = d(T), this.LineentityCollection2.add(C(this.offsetArcWires1C, "导线1_C3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), p.push(this.offsetWires13[t + 3]), p.push(this.offsetWires13[t - 3]), this.offsetArcWires1C = d(p), this.LineentityCollection2.add(C(this.offsetArcWires1C, "导线1_C4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires13[t + 4]), o.push(this.offsetWires13[t - 2]), this.offsetArcWires1C = d(o), this.LineentityCollection2.add(C(this.offsetArcWires1C, "导线1_C5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), A.push(this.offsetWires13[t + 5]), A.push(this.offsetWires13[t - 1]), this.offsetArcWires1C = d(A), this.LineentityCollection2.add(C(this.offsetArcWires1C, "导线1_C6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1C.forEach((L) => {
2495
2489
  this.arcLine1C1.push(Q(this.viewer.scene.globe.ellipsoid, L));
2496
2490
  });
2497
2491
  break;
2498
- case m.八分裂:
2492
+ case I.八分裂:
2499
2493
  i.push(this.offsetWires13[t]), i.push(this.offsetWires13[t - 8]), this.offsetArcWires1C = d(i), this.LineentityCollection2.add(C(this.offsetArcWires1C, "导线1_C1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires13[t + 1]), l.push(this.offsetWires13[t - 7]), this.offsetArcWires1C = d(l), this.LineentityCollection2.add(C(this.offsetArcWires1C, "导线1_C2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires13[t + 2]), T.push(this.offsetWires13[t - 6]), this.offsetArcWires1C = d(T), this.LineentityCollection2.add(C(this.offsetArcWires1C, "导线1_C3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), p.push(this.offsetWires13[t + 3]), p.push(this.offsetWires13[t - 5]), this.offsetArcWires1C = d(p), this.LineentityCollection2.add(C(this.offsetArcWires1C, "导线1_C4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires13[t + 4]), o.push(this.offsetWires13[t - 4]), this.offsetArcWires1C = d(o), this.LineentityCollection2.add(C(this.offsetArcWires1C, "导线1_C5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), A.push(this.offsetWires13[t + 5]), A.push(this.offsetWires13[t - 3]), this.offsetArcWires1C = d(A), this.LineentityCollection2.add(C(this.offsetArcWires1C, "导线1_C6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), g.push(this.offsetWires13[t + 6]), g.push(this.offsetWires13[t - 2]), this.offsetArcWires1C = d(g), this.LineentityCollection2.add(C(this.offsetArcWires1C, "导线1_C7" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), y.push(this.offsetWires13[t + 7]), y.push(this.offsetWires13[t - 1]), this.offsetArcWires1C = d(y), this.LineentityCollection2.add(C(this.offsetArcWires1C, "导线1_C8" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1C.forEach((L) => {
2500
2494
  this.arcLine1C1.push(Q(this.viewer.scene.globe.ellipsoid, L));
2501
2495
  });
@@ -2505,19 +2499,19 @@ class us {
2505
2499
  if (this.offsetWires21.length > 0 && e > 0) {
2506
2500
  const i = [], l = [], T = [], p = [], o = [], A = [], g = [], y = [];
2507
2501
  switch (this.LineInfo.Wairnum) {
2508
- case m.单分裂:
2502
+ case I.单分裂:
2509
2503
  i.push(this.offsetWires21[t]), i.push(this.offsetWires21[t - 1]), this.offsetArcWires2A = d(i), this.LineentityCollection2.add(C(this.offsetArcWires2A, "导线2_A1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2510
2504
  break;
2511
- case m.双分裂:
2505
+ case I.双分裂:
2512
2506
  i.push(this.offsetWires21[t]), i.push(this.offsetWires21[t - 2]), this.offsetArcWires2A = d(i), this.LineentityCollection2.add(C(this.offsetArcWires2A, "导线2_A1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires21[t + 1]), l.push(this.offsetWires21[t - 1]), this.offsetArcWires2A = d(l), this.LineentityCollection2.add(C(this.offsetArcWires2A, "导线2_A2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2513
2507
  break;
2514
- case m.四分裂:
2508
+ case I.四分裂:
2515
2509
  i.push(this.offsetWires21[t]), i.push(this.offsetWires21[t - 4]), this.offsetArcWires2A = d(i), this.LineentityCollection2.add(C(this.offsetArcWires2A, "导线2_A1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires21[t + 1]), l.push(this.offsetWires21[t - 3]), this.offsetArcWires2A = d(l), this.LineentityCollection2.add(C(this.offsetArcWires2A, "导线2_A2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires21[t + 2]), T.push(this.offsetWires21[t - 2]), this.offsetArcWires2A = d(T), this.LineentityCollection2.add(C(this.offsetArcWires2A, "导线2_A3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), p.push(this.offsetWires21[t + 3]), p.push(this.offsetWires21[t - 1]), this.offsetArcWires2A = d(p), this.LineentityCollection2.add(C(this.offsetArcWires2A, "导线2_A4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2516
2510
  break;
2517
- case m.六分裂:
2511
+ case I.六分裂:
2518
2512
  i.push(this.offsetWires21[t]), i.push(this.offsetWires21[t - 6]), this.offsetArcWires2A = d(i), this.LineentityCollection2.add(C(this.offsetArcWires2A, "导线2_A1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires21[t + 1]), l.push(this.offsetWires21[t - 5]), this.offsetArcWires2A = d(l), this.LineentityCollection2.add(C(this.offsetArcWires2A, "导线2_A2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires21[t + 2]), T.push(this.offsetWires21[t - 4]), this.offsetArcWires2A = d(T), this.LineentityCollection2.add(C(this.offsetArcWires2A, "导线2_A3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), p.push(this.offsetWires21[t + 3]), p.push(this.offsetWires21[t - 3]), this.offsetArcWires2A = d(p), this.LineentityCollection2.add(C(this.offsetArcWires2A, "导线2_A4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires21[t + 4]), o.push(this.offsetWires21[t - 2]), this.offsetArcWires2A = d(o), this.LineentityCollection2.add(C(this.offsetArcWires2A, "导线2_A5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), A.push(this.offsetWires21[t + 5]), A.push(this.offsetWires21[t - 1]), this.offsetArcWires2A = d(A), this.LineentityCollection2.add(C(this.offsetArcWires2A, "导线2_A6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2519
2513
  break;
2520
- case m.八分裂:
2514
+ case I.八分裂:
2521
2515
  i.push(this.offsetWires21[t]), i.push(this.offsetWires21[t - 8]), this.offsetArcWires2A = d(i), this.LineentityCollection2.add(C(this.offsetArcWires2A, "导线2_A1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires21[t + 1]), l.push(this.offsetWires21[t - 7]), this.offsetArcWires2A = d(l), this.LineentityCollection2.add(C(this.offsetArcWires2A, "导线2_A2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires21[t + 2]), T.push(this.offsetWires21[t - 6]), this.offsetArcWires2A = d(T), this.LineentityCollection2.add(C(this.offsetArcWires2A, "导线2_A3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), p.push(this.offsetWires21[t + 3]), p.push(this.offsetWires21[t - 5]), this.offsetArcWires2A = d(p), this.LineentityCollection2.add(C(this.offsetArcWires2A, "导线2_A4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires21[t + 4]), o.push(this.offsetWires21[t - 4]), this.offsetArcWires2A = d(o), this.LineentityCollection2.add(C(this.offsetArcWires2A, "导线2_A5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), A.push(this.offsetWires21[t + 5]), A.push(this.offsetWires21[t - 3]), this.offsetArcWires2A = d(A), this.LineentityCollection2.add(C(this.offsetArcWires2A, "导线2_A6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), g.push(this.offsetWires21[t + 6]), g.push(this.offsetWires21[t - 2]), this.offsetArcWires2A = d(g), this.LineentityCollection2.add(C(this.offsetArcWires2A, "导线2_A7" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), y.push(this.offsetWires21[t + 7]), y.push(this.offsetWires21[t - 1]), this.offsetArcWires2A = d(y), this.LineentityCollection2.add(C(this.offsetArcWires2A, "导线2_A8" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2522
2516
  break;
2523
2517
  }
@@ -2525,19 +2519,19 @@ class us {
2525
2519
  if (this.offsetWires22.length > 0 && e > 0) {
2526
2520
  const i = [], l = [], T = [], p = [], o = [], A = [], g = [], y = [];
2527
2521
  switch (this.LineInfo.Wairnum) {
2528
- case m.单分裂:
2522
+ case I.单分裂:
2529
2523
  i.push(this.offsetWires22[t]), i.push(this.offsetWires22[t - 1]), this.offsetArcWires2B = d(i), this.LineentityCollection2.add(C(this.offsetArcWires2B, "导线2_B1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2530
2524
  break;
2531
- case m.双分裂:
2525
+ case I.双分裂:
2532
2526
  i.push(this.offsetWires22[t]), i.push(this.offsetWires22[t - 2]), this.offsetArcWires2B = d(i), this.LineentityCollection2.add(C(this.offsetArcWires2B, "导线2_B1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires22[t + 1]), l.push(this.offsetWires22[t - 1]), this.offsetArcWires2B = d(l), this.LineentityCollection2.add(C(this.offsetArcWires2B, "导线2_B2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2533
2527
  break;
2534
- case m.四分裂:
2528
+ case I.四分裂:
2535
2529
  i.push(this.offsetWires22[t]), i.push(this.offsetWires22[t - 4]), this.offsetArcWires2B = d(i), this.LineentityCollection2.add(C(this.offsetArcWires2B, "导线2_B1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires22[t + 1]), l.push(this.offsetWires22[t - 3]), this.offsetArcWires2B = d(l), this.LineentityCollection2.add(C(this.offsetArcWires2B, "导线2_B2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires22[t + 2]), T.push(this.offsetWires22[t - 2]), this.offsetArcWires2B = d(T), this.LineentityCollection2.add(C(this.offsetArcWires2B, "导线2_B3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), p.push(this.offsetWires22[t + 3]), p.push(this.offsetWires22[t - 1]), this.offsetArcWires2B = d(p), this.LineentityCollection2.add(C(this.offsetArcWires2B, "导线2_B4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2536
2530
  break;
2537
- case m.六分裂:
2531
+ case I.六分裂:
2538
2532
  i.push(this.offsetWires22[t]), i.push(this.offsetWires22[t - 6]), this.offsetArcWires2B = d(i), this.LineentityCollection2.add(C(this.offsetArcWires2B, "导线2_B1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires22[t + 1]), l.push(this.offsetWires22[t - 5]), this.offsetArcWires2B = d(l), this.LineentityCollection2.add(C(this.offsetArcWires2B, "导线2_B2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires22[t + 2]), T.push(this.offsetWires22[t - 4]), this.offsetArcWires2B = d(T), this.LineentityCollection2.add(C(this.offsetArcWires2B, "导线2_B3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), p.push(this.offsetWires22[t + 3]), p.push(this.offsetWires22[t - 3]), this.offsetArcWires2B = d(p), this.LineentityCollection2.add(C(this.offsetArcWires2B, "导线2_B4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires22[t + 4]), o.push(this.offsetWires22[t - 2]), this.offsetArcWires2B = d(o), this.LineentityCollection2.add(C(this.offsetArcWires2B, "导线2_B5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), A.push(this.offsetWires22[t + 5]), A.push(this.offsetWires22[t - 1]), this.offsetArcWires2B = d(A), this.LineentityCollection2.add(C(this.offsetArcWires2B, "导线2_B6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2539
2533
  break;
2540
- case m.八分裂:
2534
+ case I.八分裂:
2541
2535
  i.push(this.offsetWires22[t]), i.push(this.offsetWires22[t - 8]), this.offsetArcWires2B = d(i), this.LineentityCollection2.add(C(this.offsetArcWires2B, "导线2_B1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires22[t + 1]), l.push(this.offsetWires22[t - 7]), this.offsetArcWires2B = d(l), this.LineentityCollection2.add(C(this.offsetArcWires2B, "导线2_B2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires22[t + 2]), T.push(this.offsetWires22[t - 6]), this.offsetArcWires2B = d(T), this.LineentityCollection2.add(C(this.offsetArcWires2B, "导线2_B3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), p.push(this.offsetWires22[t + 3]), p.push(this.offsetWires22[t - 5]), this.offsetArcWires2B = d(p), this.LineentityCollection2.add(C(this.offsetArcWires2B, "导线2_B4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires22[t + 4]), o.push(this.offsetWires22[t - 4]), this.offsetArcWires2B = d(o), this.LineentityCollection2.add(C(this.offsetArcWires2B, "导线2_B5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), A.push(this.offsetWires22[t + 5]), A.push(this.offsetWires22[t - 3]), this.offsetArcWires2B = d(A), this.LineentityCollection2.add(C(this.offsetArcWires2B, "导线2_B6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), g.push(this.offsetWires22[t + 6]), g.push(this.offsetWires22[t - 2]), this.offsetArcWires2B = d(g), this.LineentityCollection2.add(C(this.offsetArcWires2B, "导线2_B7" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), y.push(this.offsetWires22[t + 7]), y.push(this.offsetWires22[t - 1]), this.offsetArcWires2B = d(y), this.LineentityCollection2.add(C(this.offsetArcWires2B, "导线2_B8" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2542
2536
  break;
2543
2537
  }
@@ -2545,19 +2539,19 @@ class us {
2545
2539
  if (this.offsetWires23.length > 0 && e > 0) {
2546
2540
  const i = [], l = [], T = [], p = [], o = [], A = [], g = [], y = [];
2547
2541
  switch (this.LineInfo.Wairnum) {
2548
- case m.单分裂:
2542
+ case I.单分裂:
2549
2543
  i.push(this.offsetWires23[t]), i.push(this.offsetWires23[t - 1]), this.offsetArcWires2C = d(i), this.LineentityCollection2.add(C(this.offsetArcWires2C, "导线2_C1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2550
2544
  break;
2551
- case m.双分裂:
2545
+ case I.双分裂:
2552
2546
  i.push(this.offsetWires23[t]), i.push(this.offsetWires23[t - 2]), this.offsetArcWires2C = d(i), this.LineentityCollection2.add(C(this.offsetArcWires2C, "导线2_C1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires23[t + 1]), l.push(this.offsetWires23[t - 1]), this.offsetArcWires2C = d(l), this.LineentityCollection2.add(C(this.offsetArcWires2C, "导线2_C2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2553
2547
  break;
2554
- case m.四分裂:
2548
+ case I.四分裂:
2555
2549
  i.push(this.offsetWires23[t]), i.push(this.offsetWires23[t - 4]), this.offsetArcWires2C = d(i), this.LineentityCollection2.add(C(this.offsetArcWires2C, "导线2_C1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires23[t + 1]), l.push(this.offsetWires23[t - 3]), this.offsetArcWires2C = d(l), this.LineentityCollection2.add(C(this.offsetArcWires2C, "导线2_C2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires23[t + 2]), T.push(this.offsetWires23[t - 2]), this.offsetArcWires2C = d(T), this.LineentityCollection2.add(C(this.offsetArcWires2C, "导线2_C3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), p.push(this.offsetWires23[t + 3]), p.push(this.offsetWires23[t - 1]), this.offsetArcWires2C = d(p), this.LineentityCollection2.add(C(this.offsetArcWires2C, "导线2_C4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2556
2550
  break;
2557
- case m.六分裂:
2551
+ case I.六分裂:
2558
2552
  i.push(this.offsetWires23[t]), i.push(this.offsetWires23[t - 6]), this.offsetArcWires2C = d(i), this.LineentityCollection2.add(C(this.offsetArcWires2C, "导线2_C1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires23[t + 1]), l.push(this.offsetWires23[t - 5]), this.offsetArcWires2C = d(l), this.LineentityCollection2.add(C(this.offsetArcWires2C, "导线2_C2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires23[t + 2]), T.push(this.offsetWires23[t - 4]), this.offsetArcWires2C = d(T), this.LineentityCollection2.add(C(this.offsetArcWires2C, "导线2_C3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), p.push(this.offsetWires23[t + 3]), p.push(this.offsetWires23[t - 3]), this.offsetArcWires2C = d(p), this.LineentityCollection2.add(C(this.offsetArcWires2C, "导线2_C4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires23[t + 4]), o.push(this.offsetWires23[t - 2]), this.offsetArcWires2C = d(o), this.LineentityCollection2.add(C(this.offsetArcWires2C, "导线2_C5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), A.push(this.offsetWires23[t + 5]), A.push(this.offsetWires23[t - 1]), this.offsetArcWires2C = d(A), this.LineentityCollection2.add(C(this.offsetArcWires2C, "导线2_C6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2559
2553
  break;
2560
- case m.八分裂:
2554
+ case I.八分裂:
2561
2555
  i.push(this.offsetWires23[t]), i.push(this.offsetWires23[t - 8]), this.offsetArcWires2C = d(i), this.LineentityCollection2.add(C(this.offsetArcWires2C, "导线2_C1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires23[t + 1]), l.push(this.offsetWires23[t - 7]), this.offsetArcWires2C = d(l), this.LineentityCollection2.add(C(this.offsetArcWires2C, "导线2_C2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires23[t + 2]), T.push(this.offsetWires23[t - 6]), this.offsetArcWires2C = d(T), this.LineentityCollection2.add(C(this.offsetArcWires2C, "导线2_C3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), p.push(this.offsetWires23[t + 3]), p.push(this.offsetWires23[t - 5]), this.offsetArcWires2C = d(p), this.LineentityCollection2.add(C(this.offsetArcWires2C, "导线2_C4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires23[t + 4]), o.push(this.offsetWires23[t - 4]), this.offsetArcWires2C = d(o), this.LineentityCollection2.add(C(this.offsetArcWires2C, "导线2_C5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), A.push(this.offsetWires23[t + 5]), A.push(this.offsetWires23[t - 3]), this.offsetArcWires2C = d(A), this.LineentityCollection2.add(C(this.offsetArcWires2C, "导线2_C6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), g.push(this.offsetWires23[t + 6]), g.push(this.offsetWires23[t - 2]), this.offsetArcWires2C = d(g), this.LineentityCollection2.add(C(this.offsetArcWires2C, "导线2_C7" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), y.push(this.offsetWires23[t + 7]), y.push(this.offsetWires23[t - 1]), this.offsetArcWires2C = d(y), this.LineentityCollection2.add(C(this.offsetArcWires2C, "导线2_C8" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2562
2556
  break;
2563
2557
  }
@@ -2569,159 +2563,159 @@ class us {
2569
2563
  l.push(this.offsetGrouundWires12[e]), l.push(this.offsetGrouundWires12[e - 1]), this.offsetGrouundWires1 = d(i, 2), this.offsetGrouundWires2 = d(l, 2), this.LineentityCollection2.add(C(this.offsetGrouundWires1, "地线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireD1Color)), this.LineentityCollection2.add(C(this.offsetGrouundWires2, "地线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireD2Color));
2570
2564
  }
2571
2565
  let c = 2;
2572
- if (this.LineInfo.towers[e].type == nt.耐张塔) {
2566
+ if (this.LineInfo.towers[e].type == it.耐张塔) {
2573
2567
  switch (this.LineInfo.Wairnum) {
2574
- case m.单分裂:
2568
+ case I.单分裂:
2575
2569
  t = t + c, s = s + c;
2576
2570
  break;
2577
- case m.双分裂:
2571
+ case I.双分裂:
2578
2572
  t = t + c * 2, s = s + c * 2;
2579
2573
  break;
2580
- case m.四分裂:
2574
+ case I.四分裂:
2581
2575
  t = t + c * 4, s = s + c * 4;
2582
2576
  break;
2583
- case m.六分裂:
2577
+ case I.六分裂:
2584
2578
  t = t + c * 6, s = s + c * 6;
2585
2579
  break;
2586
- case m.八分裂:
2580
+ case I.八分裂:
2587
2581
  t = t + c * 8, s = s + c * 8;
2588
2582
  break;
2589
2583
  }
2590
2584
  if (this.ToffsetWires1A1.length > 1 && this.ToffsetWires1A2.length > 1) {
2591
- const i = [], l = [], T = [], p = [], o = [], A = [], g = [], y = [], L = [], I = [], B = [], v = [], b = [], M = [], S = [], R = [];
2585
+ const i = [], l = [], T = [], p = [], o = [], A = [], g = [], y = [], L = [], m = [], B = [], v = [], b = [], M = [], _ = [], R = [];
2592
2586
  switch (this.LineInfo.Wairnum) {
2593
- case m.单分裂:
2587
+ case I.单分裂:
2594
2588
  this.ToffsetWires1A1.length >= 2 && (i.push(this.ToffsetWires1A1[s - 2]), i.push(this.ToffsetWires1A1[s - 1]), this.ToffsetArcWires1A = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 2 && (L.push(this.ToffsetWires1A2[s - 2]), L.push(this.ToffsetWires1A2[s - 1]), this.ToffsetArcWires2A = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2595
2589
  break;
2596
- case m.双分裂:
2597
- this.ToffsetWires1A1.length >= 4 && (i.push(this.ToffsetWires1A1[s - 4]), i.push(this.ToffsetWires1A1[s - 2]), this.ToffsetArcWires1A = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1A1[s - 3]), l.push(this.ToffsetWires1A1[s - 1]), this.ToffsetArcWires1A = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 4 && (L.push(this.ToffsetWires1A2[s - 4]), L.push(this.ToffsetWires1A2[s - 2]), this.ToffsetArcWires2A = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), I.push(this.ToffsetWires1A2[s - 3]), I.push(this.ToffsetWires1A2[s - 1]), this.ToffsetArcWires2A = d(I, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2590
+ case I.双分裂:
2591
+ this.ToffsetWires1A1.length >= 4 && (i.push(this.ToffsetWires1A1[s - 4]), i.push(this.ToffsetWires1A1[s - 2]), this.ToffsetArcWires1A = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1A1[s - 3]), l.push(this.ToffsetWires1A1[s - 1]), this.ToffsetArcWires1A = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 4 && (L.push(this.ToffsetWires1A2[s - 4]), L.push(this.ToffsetWires1A2[s - 2]), this.ToffsetArcWires2A = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires1A2[s - 3]), m.push(this.ToffsetWires1A2[s - 1]), this.ToffsetArcWires2A = d(m, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2598
2592
  break;
2599
- case m.四分裂:
2600
- this.ToffsetWires1A1.length >= 8 && (i.push(this.ToffsetWires1A1[s - 8]), i.push(this.ToffsetWires1A1[s - 4]), this.ToffsetArcWires1A = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1A1[s - 7]), l.push(this.ToffsetWires1A1[s - 3]), this.ToffsetArcWires1A = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1A1[s - 6]), T.push(this.ToffsetWires1A1[s - 2]), this.ToffsetArcWires1A = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires1A1[s - 5]), p.push(this.ToffsetWires1A1[s - 1]), this.ToffsetArcWires1A = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 8 && (L.push(this.ToffsetWires1A2[s - 8]), L.push(this.ToffsetWires1A2[s - 4]), this.ToffsetArcWires2A = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), I.push(this.ToffsetWires1A2[s - 7]), I.push(this.ToffsetWires1A2[s - 3]), this.ToffsetArcWires2A = d(I, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires1A2[s - 6]), B.push(this.ToffsetWires1A2[s - 2]), this.ToffsetArcWires2A = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1A2[s - 5]), v.push(this.ToffsetWires1A2[s - 1]), this.ToffsetArcWires2A = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2593
+ case I.四分裂:
2594
+ this.ToffsetWires1A1.length >= 8 && (i.push(this.ToffsetWires1A1[s - 8]), i.push(this.ToffsetWires1A1[s - 4]), this.ToffsetArcWires1A = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1A1[s - 7]), l.push(this.ToffsetWires1A1[s - 3]), this.ToffsetArcWires1A = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1A1[s - 6]), T.push(this.ToffsetWires1A1[s - 2]), this.ToffsetArcWires1A = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires1A1[s - 5]), p.push(this.ToffsetWires1A1[s - 1]), this.ToffsetArcWires1A = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 8 && (L.push(this.ToffsetWires1A2[s - 8]), L.push(this.ToffsetWires1A2[s - 4]), this.ToffsetArcWires2A = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires1A2[s - 7]), m.push(this.ToffsetWires1A2[s - 3]), this.ToffsetArcWires2A = d(m, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires1A2[s - 6]), B.push(this.ToffsetWires1A2[s - 2]), this.ToffsetArcWires2A = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1A2[s - 5]), v.push(this.ToffsetWires1A2[s - 1]), this.ToffsetArcWires2A = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2601
2595
  break;
2602
- case m.六分裂:
2603
- this.ToffsetWires1A1.length >= 12 && (i.push(this.ToffsetWires1A1[s - 12]), i.push(this.ToffsetWires1A1[s - 6]), this.ToffsetArcWires1A = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1A1[s - 11]), l.push(this.ToffsetWires1A1[s - 5]), this.ToffsetArcWires1A = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1A1[s - 10]), T.push(this.ToffsetWires1A1[s - 4]), this.ToffsetArcWires1A = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires1A1[s - 9]), p.push(this.ToffsetWires1A1[s - 3]), this.ToffsetArcWires1A = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires1A1[s - 8]), o.push(this.ToffsetWires1A1[s - 2]), this.ToffsetArcWires1A = d(o, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), A.push(this.ToffsetWires1A1[s - 7]), A.push(this.ToffsetWires1A1[s - 1]), this.ToffsetArcWires1A = d(A, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 12 && (L.push(this.ToffsetWires1A2[s - 12]), L.push(this.ToffsetWires1A2[s - 6]), this.ToffsetArcWires2A = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), I.push(this.ToffsetWires1A2[s - 11]), I.push(this.ToffsetWires1A2[s - 5]), this.ToffsetArcWires2A = d(I, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires1A2[s - 10]), B.push(this.ToffsetWires1A2[s - 4]), this.ToffsetArcWires2A = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1A2[s - 9]), v.push(this.ToffsetWires1A2[s - 3]), this.ToffsetArcWires2A = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires1A2[s - 8]), b.push(this.ToffsetWires1A2[s - 2]), this.ToffsetArcWires2A = d(b, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires1A2[s - 7]), M.push(this.ToffsetWires1A2[s - 1]), this.ToffsetArcWires2A = d(M, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2596
+ case I.六分裂:
2597
+ this.ToffsetWires1A1.length >= 12 && (i.push(this.ToffsetWires1A1[s - 12]), i.push(this.ToffsetWires1A1[s - 6]), this.ToffsetArcWires1A = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1A1[s - 11]), l.push(this.ToffsetWires1A1[s - 5]), this.ToffsetArcWires1A = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1A1[s - 10]), T.push(this.ToffsetWires1A1[s - 4]), this.ToffsetArcWires1A = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires1A1[s - 9]), p.push(this.ToffsetWires1A1[s - 3]), this.ToffsetArcWires1A = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires1A1[s - 8]), o.push(this.ToffsetWires1A1[s - 2]), this.ToffsetArcWires1A = d(o, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), A.push(this.ToffsetWires1A1[s - 7]), A.push(this.ToffsetWires1A1[s - 1]), this.ToffsetArcWires1A = d(A, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 12 && (L.push(this.ToffsetWires1A2[s - 12]), L.push(this.ToffsetWires1A2[s - 6]), this.ToffsetArcWires2A = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires1A2[s - 11]), m.push(this.ToffsetWires1A2[s - 5]), this.ToffsetArcWires2A = d(m, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires1A2[s - 10]), B.push(this.ToffsetWires1A2[s - 4]), this.ToffsetArcWires2A = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1A2[s - 9]), v.push(this.ToffsetWires1A2[s - 3]), this.ToffsetArcWires2A = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires1A2[s - 8]), b.push(this.ToffsetWires1A2[s - 2]), this.ToffsetArcWires2A = d(b, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires1A2[s - 7]), M.push(this.ToffsetWires1A2[s - 1]), this.ToffsetArcWires2A = d(M, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2604
2598
  break;
2605
- case m.八分裂:
2606
- this.ToffsetWires1A1.length >= 16 && (i.push(this.ToffsetWires1A1[s - 16]), i.push(this.ToffsetWires1A1[s - 8]), this.ToffsetArcWires1A = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1A1[s - 15]), l.push(this.ToffsetWires1A1[s - 7]), this.ToffsetArcWires1A = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1A1[s - 14]), T.push(this.ToffsetWires1A1[s - 6]), this.ToffsetArcWires1A = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires1A1[s - 13]), p.push(this.ToffsetWires1A1[s - 5]), this.ToffsetArcWires1A = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires1A1[s - 12]), o.push(this.ToffsetWires1A1[s - 4]), this.ToffsetArcWires1A = d(o, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), A.push(this.ToffsetWires1A1[s - 11]), A.push(this.ToffsetWires1A1[s - 3]), this.ToffsetArcWires1A = d(A, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1A1[s - 10]), g.push(this.ToffsetWires1A1[s - 2]), this.ToffsetArcWires1A = d(g, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线7" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1A1[s - 9]), y.push(this.ToffsetWires1A1[s - 1]), this.ToffsetArcWires1A = d(y, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线8" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 16 && (L.push(this.ToffsetWires1A2[s - 16]), L.push(this.ToffsetWires1A2[s - 8]), this.ToffsetArcWires2A = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), I.push(this.ToffsetWires1A2[s - 15]), I.push(this.ToffsetWires1A2[s - 7]), this.ToffsetArcWires2A = d(I, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires1A2[s - 14]), B.push(this.ToffsetWires1A2[s - 6]), this.ToffsetArcWires2A = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1A2[s - 13]), v.push(this.ToffsetWires1A2[s - 5]), this.ToffsetArcWires2A = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires1A2[s - 12]), b.push(this.ToffsetWires1A2[s - 4]), this.ToffsetArcWires2A = d(b, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires1A2[s - 11]), M.push(this.ToffsetWires1A2[s - 3]), this.ToffsetArcWires2A = d(M, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), S.push(this.ToffsetWires1A2[s - 10]), S.push(this.ToffsetWires1A2[s - 2]), this.ToffsetArcWires2A = d(S, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线7" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), R.push(this.ToffsetWires1A2[s - 9]), R.push(this.ToffsetWires1A2[s - 1]), this.ToffsetArcWires2A = d(R, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线8" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2599
+ case I.八分裂:
2600
+ this.ToffsetWires1A1.length >= 16 && (i.push(this.ToffsetWires1A1[s - 16]), i.push(this.ToffsetWires1A1[s - 8]), this.ToffsetArcWires1A = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1A1[s - 15]), l.push(this.ToffsetWires1A1[s - 7]), this.ToffsetArcWires1A = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1A1[s - 14]), T.push(this.ToffsetWires1A1[s - 6]), this.ToffsetArcWires1A = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires1A1[s - 13]), p.push(this.ToffsetWires1A1[s - 5]), this.ToffsetArcWires1A = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires1A1[s - 12]), o.push(this.ToffsetWires1A1[s - 4]), this.ToffsetArcWires1A = d(o, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), A.push(this.ToffsetWires1A1[s - 11]), A.push(this.ToffsetWires1A1[s - 3]), this.ToffsetArcWires1A = d(A, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1A1[s - 10]), g.push(this.ToffsetWires1A1[s - 2]), this.ToffsetArcWires1A = d(g, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线7" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1A1[s - 9]), y.push(this.ToffsetWires1A1[s - 1]), this.ToffsetArcWires1A = d(y, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A, "1A1跳线8" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 16 && (L.push(this.ToffsetWires1A2[s - 16]), L.push(this.ToffsetWires1A2[s - 8]), this.ToffsetArcWires2A = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires1A2[s - 15]), m.push(this.ToffsetWires1A2[s - 7]), this.ToffsetArcWires2A = d(m, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires1A2[s - 14]), B.push(this.ToffsetWires1A2[s - 6]), this.ToffsetArcWires2A = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1A2[s - 13]), v.push(this.ToffsetWires1A2[s - 5]), this.ToffsetArcWires2A = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires1A2[s - 12]), b.push(this.ToffsetWires1A2[s - 4]), this.ToffsetArcWires2A = d(b, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires1A2[s - 11]), M.push(this.ToffsetWires1A2[s - 3]), this.ToffsetArcWires2A = d(M, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1A2[s - 10]), _.push(this.ToffsetWires1A2[s - 2]), this.ToffsetArcWires2A = d(_, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线7" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), R.push(this.ToffsetWires1A2[s - 9]), R.push(this.ToffsetWires1A2[s - 1]), this.ToffsetArcWires2A = d(R, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A, "1A2跳线8" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2607
2601
  break;
2608
2602
  }
2609
2603
  }
2610
2604
  if (this.ToffsetWires1B1.length > 1 && this.ToffsetWires1B2.length > 1) {
2611
- const i = [], l = [], T = [], p = [], o = [], A = [], g = [], y = [], L = [], I = [], B = [], v = [], b = [], M = [], S = [], R = [];
2605
+ const i = [], l = [], T = [], p = [], o = [], A = [], g = [], y = [], L = [], m = [], B = [], v = [], b = [], M = [], _ = [], R = [];
2612
2606
  switch (this.LineInfo.Wairnum) {
2613
- case m.单分裂:
2607
+ case I.单分裂:
2614
2608
  this.ToffsetWires1B1.length >= 2 && (i.push(this.ToffsetWires1B1[s - 2]), i.push(this.ToffsetWires1B1[s - 1]), this.ToffsetArcWires1B = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 2 && (L.push(this.ToffsetWires1B2[s - 2]), L.push(this.ToffsetWires1B2[s - 1]), this.ToffsetArcWires2B = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2615
2609
  break;
2616
- case m.双分裂:
2617
- this.ToffsetWires1B1.length >= 4 && (i.push(this.ToffsetWires1B1[s - 4]), i.push(this.ToffsetWires1B1[s - 2]), this.ToffsetArcWires1B = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1B1[s - 3]), l.push(this.ToffsetWires1B1[s - 1]), this.ToffsetArcWires1B = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 4 && (L.push(this.ToffsetWires1B2[s - 4]), L.push(this.ToffsetWires1B2[s - 2]), this.ToffsetArcWires2B = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), I.push(this.ToffsetWires1B2[s - 3]), I.push(this.ToffsetWires1B2[s - 1]), this.ToffsetArcWires2B = d(I, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2610
+ case I.双分裂:
2611
+ this.ToffsetWires1B1.length >= 4 && (i.push(this.ToffsetWires1B1[s - 4]), i.push(this.ToffsetWires1B1[s - 2]), this.ToffsetArcWires1B = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1B1[s - 3]), l.push(this.ToffsetWires1B1[s - 1]), this.ToffsetArcWires1B = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 4 && (L.push(this.ToffsetWires1B2[s - 4]), L.push(this.ToffsetWires1B2[s - 2]), this.ToffsetArcWires2B = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires1B2[s - 3]), m.push(this.ToffsetWires1B2[s - 1]), this.ToffsetArcWires2B = d(m, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2618
2612
  break;
2619
- case m.四分裂:
2620
- this.ToffsetWires1B1.length >= 8 && (i.push(this.ToffsetWires1B1[s - 8]), i.push(this.ToffsetWires1B1[s - 4]), this.ToffsetArcWires1B = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1B1[s - 7]), l.push(this.ToffsetWires1B1[s - 3]), this.ToffsetArcWires1B = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1B1[s - 6]), T.push(this.ToffsetWires1B1[s - 2]), this.ToffsetArcWires1B = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires1B1[s - 5]), p.push(this.ToffsetWires1B1[s - 1]), this.ToffsetArcWires1B = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 8 && (L.push(this.ToffsetWires1B2[s - 8]), L.push(this.ToffsetWires1B2[s - 4]), this.ToffsetArcWires2B = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), I.push(this.ToffsetWires1B2[s - 7]), I.push(this.ToffsetWires1B2[s - 3]), this.ToffsetArcWires2B = d(I, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires1B2[s - 6]), B.push(this.ToffsetWires1B2[s - 2]), this.ToffsetArcWires2B = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1B2[s - 5]), v.push(this.ToffsetWires1B2[s - 1]), this.ToffsetArcWires2B = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2613
+ case I.四分裂:
2614
+ this.ToffsetWires1B1.length >= 8 && (i.push(this.ToffsetWires1B1[s - 8]), i.push(this.ToffsetWires1B1[s - 4]), this.ToffsetArcWires1B = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1B1[s - 7]), l.push(this.ToffsetWires1B1[s - 3]), this.ToffsetArcWires1B = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1B1[s - 6]), T.push(this.ToffsetWires1B1[s - 2]), this.ToffsetArcWires1B = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires1B1[s - 5]), p.push(this.ToffsetWires1B1[s - 1]), this.ToffsetArcWires1B = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 8 && (L.push(this.ToffsetWires1B2[s - 8]), L.push(this.ToffsetWires1B2[s - 4]), this.ToffsetArcWires2B = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires1B2[s - 7]), m.push(this.ToffsetWires1B2[s - 3]), this.ToffsetArcWires2B = d(m, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires1B2[s - 6]), B.push(this.ToffsetWires1B2[s - 2]), this.ToffsetArcWires2B = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1B2[s - 5]), v.push(this.ToffsetWires1B2[s - 1]), this.ToffsetArcWires2B = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2621
2615
  break;
2622
- case m.六分裂:
2623
- this.ToffsetWires1B1.length >= 12 && (i.push(this.ToffsetWires1B1[s - 12]), i.push(this.ToffsetWires1B1[s - 6]), this.ToffsetArcWires1B = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1B1[s - 11]), l.push(this.ToffsetWires1B1[s - 5]), this.ToffsetArcWires1B = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1B1[s - 10]), T.push(this.ToffsetWires1B1[s - 4]), this.ToffsetArcWires1B = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires1B1[s - 9]), p.push(this.ToffsetWires1B1[s - 3]), this.ToffsetArcWires1B = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires1B1[s - 8]), o.push(this.ToffsetWires1B1[s - 2]), this.ToffsetArcWires1B = d(o, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), A.push(this.ToffsetWires1B1[s - 7]), A.push(this.ToffsetWires1B1[s - 1]), this.ToffsetArcWires1B = d(A, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 12 && (L.push(this.ToffsetWires1B2[s - 12]), L.push(this.ToffsetWires1B2[s - 6]), this.ToffsetArcWires2B = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), I.push(this.ToffsetWires1B2[s - 11]), I.push(this.ToffsetWires1B2[s - 5]), this.ToffsetArcWires2B = d(I, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires1B2[s - 10]), B.push(this.ToffsetWires1B2[s - 4]), this.ToffsetArcWires2B = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1B2[s - 9]), v.push(this.ToffsetWires1B2[s - 3]), this.ToffsetArcWires2B = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires1B2[s - 8]), b.push(this.ToffsetWires1B2[s - 2]), this.ToffsetArcWires2B = d(b, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires1B2[s - 7]), M.push(this.ToffsetWires1B2[s - 1]), this.ToffsetArcWires2B = d(M, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2616
+ case I.六分裂:
2617
+ this.ToffsetWires1B1.length >= 12 && (i.push(this.ToffsetWires1B1[s - 12]), i.push(this.ToffsetWires1B1[s - 6]), this.ToffsetArcWires1B = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1B1[s - 11]), l.push(this.ToffsetWires1B1[s - 5]), this.ToffsetArcWires1B = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1B1[s - 10]), T.push(this.ToffsetWires1B1[s - 4]), this.ToffsetArcWires1B = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires1B1[s - 9]), p.push(this.ToffsetWires1B1[s - 3]), this.ToffsetArcWires1B = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires1B1[s - 8]), o.push(this.ToffsetWires1B1[s - 2]), this.ToffsetArcWires1B = d(o, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), A.push(this.ToffsetWires1B1[s - 7]), A.push(this.ToffsetWires1B1[s - 1]), this.ToffsetArcWires1B = d(A, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 12 && (L.push(this.ToffsetWires1B2[s - 12]), L.push(this.ToffsetWires1B2[s - 6]), this.ToffsetArcWires2B = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires1B2[s - 11]), m.push(this.ToffsetWires1B2[s - 5]), this.ToffsetArcWires2B = d(m, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires1B2[s - 10]), B.push(this.ToffsetWires1B2[s - 4]), this.ToffsetArcWires2B = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1B2[s - 9]), v.push(this.ToffsetWires1B2[s - 3]), this.ToffsetArcWires2B = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires1B2[s - 8]), b.push(this.ToffsetWires1B2[s - 2]), this.ToffsetArcWires2B = d(b, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires1B2[s - 7]), M.push(this.ToffsetWires1B2[s - 1]), this.ToffsetArcWires2B = d(M, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2624
2618
  break;
2625
- case m.八分裂:
2626
- this.ToffsetWires1B1.length >= 16 && (i.push(this.ToffsetWires1B1[s - 16]), i.push(this.ToffsetWires1B1[s - 8]), this.ToffsetArcWires1B = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1B1[s - 15]), l.push(this.ToffsetWires1B1[s - 7]), this.ToffsetArcWires1B = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1B1[s - 14]), T.push(this.ToffsetWires1B1[s - 6]), this.ToffsetArcWires1B = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires1B1[s - 13]), p.push(this.ToffsetWires1B1[s - 5]), this.ToffsetArcWires1B = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires1B1[s - 12]), o.push(this.ToffsetWires1B1[s - 4]), this.ToffsetArcWires1B = d(o, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), A.push(this.ToffsetWires1B1[s - 11]), A.push(this.ToffsetWires1B1[s - 3]), this.ToffsetArcWires1B = d(A, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1B1[s - 10]), g.push(this.ToffsetWires1B1[s - 2]), this.ToffsetArcWires1B = d(g, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线7" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1B1[s - 9]), y.push(this.ToffsetWires1B1[s - 1]), this.ToffsetArcWires1B = d(y, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线8" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 16 && (L.push(this.ToffsetWires1B2[s - 16]), L.push(this.ToffsetWires1B2[s - 8]), this.ToffsetArcWires2B = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), I.push(this.ToffsetWires1B2[s - 15]), I.push(this.ToffsetWires1B2[s - 7]), this.ToffsetArcWires2B = d(I, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires1B2[s - 14]), B.push(this.ToffsetWires1B2[s - 6]), this.ToffsetArcWires2B = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1B2[s - 13]), v.push(this.ToffsetWires1B2[s - 5]), this.ToffsetArcWires2B = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires1B2[s - 12]), b.push(this.ToffsetWires1B2[s - 4]), this.ToffsetArcWires2B = d(b, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires1B2[s - 11]), M.push(this.ToffsetWires1B2[s - 3]), this.ToffsetArcWires2B = d(M, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), S.push(this.ToffsetWires1B2[s - 10]), S.push(this.ToffsetWires1B2[s - 2]), this.ToffsetArcWires2B = d(S, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线7" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), R.push(this.ToffsetWires1B2[s - 9]), R.push(this.ToffsetWires1B2[s - 1]), this.ToffsetArcWires2B = d(R, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线8" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2619
+ case I.八分裂:
2620
+ this.ToffsetWires1B1.length >= 16 && (i.push(this.ToffsetWires1B1[s - 16]), i.push(this.ToffsetWires1B1[s - 8]), this.ToffsetArcWires1B = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1B1[s - 15]), l.push(this.ToffsetWires1B1[s - 7]), this.ToffsetArcWires1B = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1B1[s - 14]), T.push(this.ToffsetWires1B1[s - 6]), this.ToffsetArcWires1B = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires1B1[s - 13]), p.push(this.ToffsetWires1B1[s - 5]), this.ToffsetArcWires1B = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires1B1[s - 12]), o.push(this.ToffsetWires1B1[s - 4]), this.ToffsetArcWires1B = d(o, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), A.push(this.ToffsetWires1B1[s - 11]), A.push(this.ToffsetWires1B1[s - 3]), this.ToffsetArcWires1B = d(A, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1B1[s - 10]), g.push(this.ToffsetWires1B1[s - 2]), this.ToffsetArcWires1B = d(g, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线7" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1B1[s - 9]), y.push(this.ToffsetWires1B1[s - 1]), this.ToffsetArcWires1B = d(y, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B, "1B1跳线8" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 16 && (L.push(this.ToffsetWires1B2[s - 16]), L.push(this.ToffsetWires1B2[s - 8]), this.ToffsetArcWires2B = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires1B2[s - 15]), m.push(this.ToffsetWires1B2[s - 7]), this.ToffsetArcWires2B = d(m, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires1B2[s - 14]), B.push(this.ToffsetWires1B2[s - 6]), this.ToffsetArcWires2B = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1B2[s - 13]), v.push(this.ToffsetWires1B2[s - 5]), this.ToffsetArcWires2B = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires1B2[s - 12]), b.push(this.ToffsetWires1B2[s - 4]), this.ToffsetArcWires2B = d(b, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires1B2[s - 11]), M.push(this.ToffsetWires1B2[s - 3]), this.ToffsetArcWires2B = d(M, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1B2[s - 10]), _.push(this.ToffsetWires1B2[s - 2]), this.ToffsetArcWires2B = d(_, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线7" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), R.push(this.ToffsetWires1B2[s - 9]), R.push(this.ToffsetWires1B2[s - 1]), this.ToffsetArcWires2B = d(R, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B, "1B2跳线8" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2627
2621
  break;
2628
2622
  }
2629
2623
  }
2630
2624
  if (this.ToffsetWires1C1.length > 1 && this.ToffsetWires1C2.length > 1) {
2631
- const i = [], l = [], T = [], p = [], o = [], A = [], g = [], y = [], L = [], I = [], B = [], v = [], b = [], M = [], S = [], R = [];
2625
+ const i = [], l = [], T = [], p = [], o = [], A = [], g = [], y = [], L = [], m = [], B = [], v = [], b = [], M = [], _ = [], R = [];
2632
2626
  switch (this.LineInfo.Wairnum) {
2633
- case m.单分裂:
2627
+ case I.单分裂:
2634
2628
  this.ToffsetWires1C1.length >= 2 && (i.push(this.ToffsetWires1C1[s - 2]), i.push(this.ToffsetWires1C1[s - 1]), this.ToffsetArcWires1C = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 2 && (L.push(this.ToffsetWires1C2[s - 2]), L.push(this.ToffsetWires1C2[s - 1]), this.ToffsetArcWires2C = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2635
2629
  break;
2636
- case m.双分裂:
2637
- this.ToffsetWires1C1.length >= 4 && (i.push(this.ToffsetWires1C1[s - 4]), i.push(this.ToffsetWires1C1[s - 2]), this.ToffsetArcWires1C = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1C1[s - 3]), l.push(this.ToffsetWires1C1[s - 1]), this.ToffsetArcWires1C = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 4 && (L.push(this.ToffsetWires1C2[s - 4]), L.push(this.ToffsetWires1C2[s - 2]), this.ToffsetArcWires2C = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), I.push(this.ToffsetWires1C2[s - 3]), I.push(this.ToffsetWires1C2[s - 1]), this.ToffsetArcWires2C = d(I, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2630
+ case I.双分裂:
2631
+ this.ToffsetWires1C1.length >= 4 && (i.push(this.ToffsetWires1C1[s - 4]), i.push(this.ToffsetWires1C1[s - 2]), this.ToffsetArcWires1C = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1C1[s - 3]), l.push(this.ToffsetWires1C1[s - 1]), this.ToffsetArcWires1C = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 4 && (L.push(this.ToffsetWires1C2[s - 4]), L.push(this.ToffsetWires1C2[s - 2]), this.ToffsetArcWires2C = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires1C2[s - 3]), m.push(this.ToffsetWires1C2[s - 1]), this.ToffsetArcWires2C = d(m, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2638
2632
  break;
2639
- case m.四分裂:
2640
- this.ToffsetWires1C1.length >= 8 && (i.push(this.ToffsetWires1C1[s - 8]), i.push(this.ToffsetWires1C1[s - 4]), this.ToffsetArcWires1C = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1C1[s - 7]), l.push(this.ToffsetWires1C1[s - 3]), this.ToffsetArcWires1C = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1C1[s - 6]), T.push(this.ToffsetWires1C1[s - 2]), this.ToffsetArcWires1C = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires1C1[s - 5]), p.push(this.ToffsetWires1C1[s - 1]), this.ToffsetArcWires1C = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 8 && (L.push(this.ToffsetWires1C2[s - 8]), L.push(this.ToffsetWires1C2[s - 4]), this.ToffsetArcWires2C = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), I.push(this.ToffsetWires1C2[s - 7]), I.push(this.ToffsetWires1C2[s - 3]), this.ToffsetArcWires2C = d(I, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires1C2[s - 6]), B.push(this.ToffsetWires1C2[s - 2]), this.ToffsetArcWires2C = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1C2[s - 5]), v.push(this.ToffsetWires1C2[s - 1]), this.ToffsetArcWires2C = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2633
+ case I.四分裂:
2634
+ this.ToffsetWires1C1.length >= 8 && (i.push(this.ToffsetWires1C1[s - 8]), i.push(this.ToffsetWires1C1[s - 4]), this.ToffsetArcWires1C = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1C1[s - 7]), l.push(this.ToffsetWires1C1[s - 3]), this.ToffsetArcWires1C = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1C1[s - 6]), T.push(this.ToffsetWires1C1[s - 2]), this.ToffsetArcWires1C = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires1C1[s - 5]), p.push(this.ToffsetWires1C1[s - 1]), this.ToffsetArcWires1C = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 8 && (L.push(this.ToffsetWires1C2[s - 8]), L.push(this.ToffsetWires1C2[s - 4]), this.ToffsetArcWires2C = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires1C2[s - 7]), m.push(this.ToffsetWires1C2[s - 3]), this.ToffsetArcWires2C = d(m, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires1C2[s - 6]), B.push(this.ToffsetWires1C2[s - 2]), this.ToffsetArcWires2C = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1C2[s - 5]), v.push(this.ToffsetWires1C2[s - 1]), this.ToffsetArcWires2C = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2641
2635
  break;
2642
- case m.六分裂:
2643
- this.ToffsetWires1C1.length >= 12 && (i.push(this.ToffsetWires1C1[s - 12]), i.push(this.ToffsetWires1C1[s - 6]), this.ToffsetArcWires1C = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1C1[s - 11]), l.push(this.ToffsetWires1C1[s - 5]), this.ToffsetArcWires1C = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1C1[s - 10]), T.push(this.ToffsetWires1C1[s - 4]), this.ToffsetArcWires1C = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires1C1[s - 9]), p.push(this.ToffsetWires1C1[s - 3]), this.ToffsetArcWires1C = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires1C1[s - 8]), o.push(this.ToffsetWires1C1[s - 2]), this.ToffsetArcWires1C = d(o, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), A.push(this.ToffsetWires1C1[s - 7]), A.push(this.ToffsetWires1C1[s - 1]), this.ToffsetArcWires1C = d(A, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 12 && (L.push(this.ToffsetWires1C2[s - 12]), L.push(this.ToffsetWires1C2[s - 6]), this.ToffsetArcWires2C = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), I.push(this.ToffsetWires1C2[s - 11]), I.push(this.ToffsetWires1C2[s - 5]), this.ToffsetArcWires2C = d(I, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires1C2[s - 10]), B.push(this.ToffsetWires1C2[s - 4]), this.ToffsetArcWires2C = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1C2[s - 9]), v.push(this.ToffsetWires1C2[s - 3]), this.ToffsetArcWires2C = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires1C2[s - 8]), b.push(this.ToffsetWires1C2[s - 2]), this.ToffsetArcWires2C = d(b, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires1C2[s - 7]), M.push(this.ToffsetWires1C2[s - 1]), this.ToffsetArcWires2C = d(M, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2636
+ case I.六分裂:
2637
+ this.ToffsetWires1C1.length >= 12 && (i.push(this.ToffsetWires1C1[s - 12]), i.push(this.ToffsetWires1C1[s - 6]), this.ToffsetArcWires1C = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1C1[s - 11]), l.push(this.ToffsetWires1C1[s - 5]), this.ToffsetArcWires1C = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1C1[s - 10]), T.push(this.ToffsetWires1C1[s - 4]), this.ToffsetArcWires1C = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires1C1[s - 9]), p.push(this.ToffsetWires1C1[s - 3]), this.ToffsetArcWires1C = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires1C1[s - 8]), o.push(this.ToffsetWires1C1[s - 2]), this.ToffsetArcWires1C = d(o, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), A.push(this.ToffsetWires1C1[s - 7]), A.push(this.ToffsetWires1C1[s - 1]), this.ToffsetArcWires1C = d(A, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 12 && (L.push(this.ToffsetWires1C2[s - 12]), L.push(this.ToffsetWires1C2[s - 6]), this.ToffsetArcWires2C = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires1C2[s - 11]), m.push(this.ToffsetWires1C2[s - 5]), this.ToffsetArcWires2C = d(m, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires1C2[s - 10]), B.push(this.ToffsetWires1C2[s - 4]), this.ToffsetArcWires2C = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1C2[s - 9]), v.push(this.ToffsetWires1C2[s - 3]), this.ToffsetArcWires2C = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires1C2[s - 8]), b.push(this.ToffsetWires1C2[s - 2]), this.ToffsetArcWires2C = d(b, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires1C2[s - 7]), M.push(this.ToffsetWires1C2[s - 1]), this.ToffsetArcWires2C = d(M, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2644
2638
  break;
2645
- case m.八分裂:
2646
- this.ToffsetWires1C1.length >= 16 && (i.push(this.ToffsetWires1C1[s - 16]), i.push(this.ToffsetWires1C1[s - 8]), this.ToffsetArcWires1C = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1C1[s - 15]), l.push(this.ToffsetWires1C1[s - 7]), this.ToffsetArcWires1C = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1C1[s - 14]), T.push(this.ToffsetWires1C1[s - 6]), this.ToffsetArcWires1C = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires1C1[s - 13]), p.push(this.ToffsetWires1C1[s - 5]), this.ToffsetArcWires1C = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires1C1[s - 12]), o.push(this.ToffsetWires1C1[s - 4]), this.ToffsetArcWires1C = d(o, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), A.push(this.ToffsetWires1C1[s - 11]), A.push(this.ToffsetWires1C1[s - 3]), this.ToffsetArcWires1C = d(A, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1C1[s - 10]), g.push(this.ToffsetWires1C1[s - 2]), this.ToffsetArcWires1C = d(g, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线7" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1C1[s - 9]), y.push(this.ToffsetWires1C1[s - 1]), this.ToffsetArcWires1C = d(y, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线8" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 16 && (L.push(this.ToffsetWires1C2[s - 16]), L.push(this.ToffsetWires1C2[s - 8]), this.ToffsetArcWires2C = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), I.push(this.ToffsetWires1C2[s - 15]), I.push(this.ToffsetWires1C2[s - 7]), this.ToffsetArcWires2C = d(I, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires1C2[s - 14]), B.push(this.ToffsetWires1C2[s - 6]), this.ToffsetArcWires2C = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1C2[s - 13]), v.push(this.ToffsetWires1C2[s - 5]), this.ToffsetArcWires2C = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires1C2[s - 12]), b.push(this.ToffsetWires1C2[s - 4]), this.ToffsetArcWires2C = d(b, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires1C2[s - 11]), M.push(this.ToffsetWires1C2[s - 3]), this.ToffsetArcWires2C = d(M, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), S.push(this.ToffsetWires1C2[s - 10]), S.push(this.ToffsetWires1C2[s - 2]), this.ToffsetArcWires2C = d(S, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线7" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), R.push(this.ToffsetWires1C2[s - 9]), R.push(this.ToffsetWires1C2[s - 1]), this.ToffsetArcWires2C = d(R, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线8" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2639
+ case I.八分裂:
2640
+ this.ToffsetWires1C1.length >= 16 && (i.push(this.ToffsetWires1C1[s - 16]), i.push(this.ToffsetWires1C1[s - 8]), this.ToffsetArcWires1C = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1C1[s - 15]), l.push(this.ToffsetWires1C1[s - 7]), this.ToffsetArcWires1C = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1C1[s - 14]), T.push(this.ToffsetWires1C1[s - 6]), this.ToffsetArcWires1C = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires1C1[s - 13]), p.push(this.ToffsetWires1C1[s - 5]), this.ToffsetArcWires1C = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires1C1[s - 12]), o.push(this.ToffsetWires1C1[s - 4]), this.ToffsetArcWires1C = d(o, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), A.push(this.ToffsetWires1C1[s - 11]), A.push(this.ToffsetWires1C1[s - 3]), this.ToffsetArcWires1C = d(A, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1C1[s - 10]), g.push(this.ToffsetWires1C1[s - 2]), this.ToffsetArcWires1C = d(g, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线7" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1C1[s - 9]), y.push(this.ToffsetWires1C1[s - 1]), this.ToffsetArcWires1C = d(y, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C, "1C1跳线8" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 16 && (L.push(this.ToffsetWires1C2[s - 16]), L.push(this.ToffsetWires1C2[s - 8]), this.ToffsetArcWires2C = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires1C2[s - 15]), m.push(this.ToffsetWires1C2[s - 7]), this.ToffsetArcWires2C = d(m, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires1C2[s - 14]), B.push(this.ToffsetWires1C2[s - 6]), this.ToffsetArcWires2C = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1C2[s - 13]), v.push(this.ToffsetWires1C2[s - 5]), this.ToffsetArcWires2C = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires1C2[s - 12]), b.push(this.ToffsetWires1C2[s - 4]), this.ToffsetArcWires2C = d(b, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires1C2[s - 11]), M.push(this.ToffsetWires1C2[s - 3]), this.ToffsetArcWires2C = d(M, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1C2[s - 10]), _.push(this.ToffsetWires1C2[s - 2]), this.ToffsetArcWires2C = d(_, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线7" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), R.push(this.ToffsetWires1C2[s - 9]), R.push(this.ToffsetWires1C2[s - 1]), this.ToffsetArcWires2C = d(R, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C, "1C2跳线8" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2647
2641
  break;
2648
2642
  }
2649
2643
  }
2650
2644
  if (this.ToffsetWires2A1.length > 1 && this.ToffsetWires2A2.length > 1) {
2651
- const i = [], l = [], T = [], p = [], o = [], A = [], g = [], y = [], L = [], I = [], B = [], v = [], b = [], M = [], S = [], R = [];
2645
+ const i = [], l = [], T = [], p = [], o = [], A = [], g = [], y = [], L = [], m = [], B = [], v = [], b = [], M = [], _ = [], R = [];
2652
2646
  switch (this.LineInfo.Wairnum) {
2653
- case m.单分裂:
2647
+ case I.单分裂:
2654
2648
  this.ToffsetWires2A1.length >= 2 && (i.push(this.ToffsetWires2A1[s - 2]), i.push(this.ToffsetWires2A1[s - 1]), this.ToffsetArcWires1A2 = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 2 && (L.push(this.ToffsetWires2A2[s - 2]), L.push(this.ToffsetWires2A2[s - 1]), this.ToffsetArcWires2A2 = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2655
2649
  break;
2656
- case m.双分裂:
2657
- this.ToffsetWires2A1.length >= 4 && (i.push(this.ToffsetWires2A1[s - 4]), i.push(this.ToffsetWires2A1[s - 2]), this.ToffsetArcWires1A2 = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2A1[s - 3]), l.push(this.ToffsetWires2A1[s - 1]), this.ToffsetArcWires1A2 = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 4 && (L.push(this.ToffsetWires2A2[s - 4]), L.push(this.ToffsetWires2A2[s - 2]), this.ToffsetArcWires2A2 = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), I.push(this.ToffsetWires2A2[s - 3]), I.push(this.ToffsetWires2A2[s - 1]), this.ToffsetArcWires2A2 = d(I, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2650
+ case I.双分裂:
2651
+ this.ToffsetWires2A1.length >= 4 && (i.push(this.ToffsetWires2A1[s - 4]), i.push(this.ToffsetWires2A1[s - 2]), this.ToffsetArcWires1A2 = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2A1[s - 3]), l.push(this.ToffsetWires2A1[s - 1]), this.ToffsetArcWires1A2 = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 4 && (L.push(this.ToffsetWires2A2[s - 4]), L.push(this.ToffsetWires2A2[s - 2]), this.ToffsetArcWires2A2 = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires2A2[s - 3]), m.push(this.ToffsetWires2A2[s - 1]), this.ToffsetArcWires2A2 = d(m, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2658
2652
  break;
2659
- case m.四分裂:
2660
- this.ToffsetWires2A1.length >= 8 && (i.push(this.ToffsetWires2A1[s - 8]), i.push(this.ToffsetWires2A1[s - 4]), this.ToffsetArcWires1A2 = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2A1[s - 7]), l.push(this.ToffsetWires2A1[s - 3]), this.ToffsetArcWires1A2 = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2A1[s - 6]), T.push(this.ToffsetWires2A1[s - 2]), this.ToffsetArcWires1A2 = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires2A1[s - 5]), p.push(this.ToffsetWires2A1[s - 1]), this.ToffsetArcWires1A2 = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 8 && (L.push(this.ToffsetWires2A2[s - 8]), L.push(this.ToffsetWires2A2[s - 4]), this.ToffsetArcWires2A2 = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), I.push(this.ToffsetWires2A2[s - 7]), I.push(this.ToffsetWires2A2[s - 3]), this.ToffsetArcWires2A2 = d(I, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires2A2[s - 6]), B.push(this.ToffsetWires2A2[s - 2]), this.ToffsetArcWires2A2 = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2A2[s - 5]), v.push(this.ToffsetWires2A2[s - 1]), this.ToffsetArcWires2A2 = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2653
+ case I.四分裂:
2654
+ this.ToffsetWires2A1.length >= 8 && (i.push(this.ToffsetWires2A1[s - 8]), i.push(this.ToffsetWires2A1[s - 4]), this.ToffsetArcWires1A2 = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2A1[s - 7]), l.push(this.ToffsetWires2A1[s - 3]), this.ToffsetArcWires1A2 = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2A1[s - 6]), T.push(this.ToffsetWires2A1[s - 2]), this.ToffsetArcWires1A2 = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires2A1[s - 5]), p.push(this.ToffsetWires2A1[s - 1]), this.ToffsetArcWires1A2 = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 8 && (L.push(this.ToffsetWires2A2[s - 8]), L.push(this.ToffsetWires2A2[s - 4]), this.ToffsetArcWires2A2 = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires2A2[s - 7]), m.push(this.ToffsetWires2A2[s - 3]), this.ToffsetArcWires2A2 = d(m, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires2A2[s - 6]), B.push(this.ToffsetWires2A2[s - 2]), this.ToffsetArcWires2A2 = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2A2[s - 5]), v.push(this.ToffsetWires2A2[s - 1]), this.ToffsetArcWires2A2 = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2661
2655
  break;
2662
- case m.六分裂:
2663
- this.ToffsetWires2A1.length >= 12 && (i.push(this.ToffsetWires2A1[s - 12]), i.push(this.ToffsetWires2A1[s - 6]), this.ToffsetArcWires1A2 = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2A1[s - 11]), l.push(this.ToffsetWires2A1[s - 5]), this.ToffsetArcWires1A2 = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2A1[s - 10]), T.push(this.ToffsetWires2A1[s - 4]), this.ToffsetArcWires1A2 = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires2A1[s - 9]), p.push(this.ToffsetWires2A1[s - 3]), this.ToffsetArcWires1A2 = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires2A1[s - 8]), o.push(this.ToffsetWires2A1[s - 2]), this.ToffsetArcWires1A2 = d(o, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), A.push(this.ToffsetWires2A1[s - 7]), A.push(this.ToffsetWires2A1[s - 1]), this.ToffsetArcWires1A2 = d(A, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 12 && (L.push(this.ToffsetWires2A2[s - 12]), L.push(this.ToffsetWires2A2[s - 6]), this.ToffsetArcWires2A2 = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), I.push(this.ToffsetWires2A2[s - 11]), I.push(this.ToffsetWires2A2[s - 5]), this.ToffsetArcWires2A2 = d(I, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires2A2[s - 10]), B.push(this.ToffsetWires2A2[s - 4]), this.ToffsetArcWires2A2 = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2A2[s - 9]), v.push(this.ToffsetWires2A2[s - 3]), this.ToffsetArcWires2A2 = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires2A2[s - 8]), b.push(this.ToffsetWires2A2[s - 2]), this.ToffsetArcWires2A2 = d(b, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires2A2[s - 7]), M.push(this.ToffsetWires2A2[s - 1]), this.ToffsetArcWires2A2 = d(M, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2656
+ case I.六分裂:
2657
+ this.ToffsetWires2A1.length >= 12 && (i.push(this.ToffsetWires2A1[s - 12]), i.push(this.ToffsetWires2A1[s - 6]), this.ToffsetArcWires1A2 = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2A1[s - 11]), l.push(this.ToffsetWires2A1[s - 5]), this.ToffsetArcWires1A2 = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2A1[s - 10]), T.push(this.ToffsetWires2A1[s - 4]), this.ToffsetArcWires1A2 = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires2A1[s - 9]), p.push(this.ToffsetWires2A1[s - 3]), this.ToffsetArcWires1A2 = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires2A1[s - 8]), o.push(this.ToffsetWires2A1[s - 2]), this.ToffsetArcWires1A2 = d(o, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), A.push(this.ToffsetWires2A1[s - 7]), A.push(this.ToffsetWires2A1[s - 1]), this.ToffsetArcWires1A2 = d(A, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 12 && (L.push(this.ToffsetWires2A2[s - 12]), L.push(this.ToffsetWires2A2[s - 6]), this.ToffsetArcWires2A2 = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires2A2[s - 11]), m.push(this.ToffsetWires2A2[s - 5]), this.ToffsetArcWires2A2 = d(m, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires2A2[s - 10]), B.push(this.ToffsetWires2A2[s - 4]), this.ToffsetArcWires2A2 = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2A2[s - 9]), v.push(this.ToffsetWires2A2[s - 3]), this.ToffsetArcWires2A2 = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires2A2[s - 8]), b.push(this.ToffsetWires2A2[s - 2]), this.ToffsetArcWires2A2 = d(b, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires2A2[s - 7]), M.push(this.ToffsetWires2A2[s - 1]), this.ToffsetArcWires2A2 = d(M, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2664
2658
  break;
2665
- case m.八分裂:
2666
- this.ToffsetWires2A1.length >= 16 && (i.push(this.ToffsetWires2A1[s - 16]), i.push(this.ToffsetWires2A1[s - 8]), this.ToffsetArcWires1A2 = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2A1[s - 15]), l.push(this.ToffsetWires2A1[s - 7]), this.ToffsetArcWires1A2 = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2A1[s - 14]), T.push(this.ToffsetWires2A1[s - 6]), this.ToffsetArcWires1A2 = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires2A1[s - 13]), p.push(this.ToffsetWires2A1[s - 5]), this.ToffsetArcWires1A2 = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires2A1[s - 12]), o.push(this.ToffsetWires2A1[s - 4]), this.ToffsetArcWires1A2 = d(o, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), A.push(this.ToffsetWires2A1[s - 11]), A.push(this.ToffsetWires2A1[s - 3]), this.ToffsetArcWires1A2 = d(A, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2A1[s - 10]), g.push(this.ToffsetWires2A1[s - 2]), this.ToffsetArcWires1A2 = d(g, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线7" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2A1[s - 9]), y.push(this.ToffsetWires2A1[s - 1]), this.ToffsetArcWires1A2 = d(y, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线8" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 16 && (L.push(this.ToffsetWires2A2[s - 16]), L.push(this.ToffsetWires2A2[s - 8]), this.ToffsetArcWires2A2 = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), I.push(this.ToffsetWires2A2[s - 15]), I.push(this.ToffsetWires2A2[s - 7]), this.ToffsetArcWires2A2 = d(I, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires2A2[s - 14]), B.push(this.ToffsetWires2A2[s - 6]), this.ToffsetArcWires2A2 = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2A2[s - 13]), v.push(this.ToffsetWires2A2[s - 5]), this.ToffsetArcWires2A2 = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires2A2[s - 12]), b.push(this.ToffsetWires2A2[s - 4]), this.ToffsetArcWires2A2 = d(b, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires2A2[s - 11]), M.push(this.ToffsetWires2A2[s - 3]), this.ToffsetArcWires2A2 = d(M, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), S.push(this.ToffsetWires2A2[s - 10]), S.push(this.ToffsetWires2A2[s - 2]), this.ToffsetArcWires2A2 = d(S, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线7" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), R.push(this.ToffsetWires2A2[s - 9]), R.push(this.ToffsetWires2A2[s - 1]), this.ToffsetArcWires2A2 = d(R, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线8" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2659
+ case I.八分裂:
2660
+ this.ToffsetWires2A1.length >= 16 && (i.push(this.ToffsetWires2A1[s - 16]), i.push(this.ToffsetWires2A1[s - 8]), this.ToffsetArcWires1A2 = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2A1[s - 15]), l.push(this.ToffsetWires2A1[s - 7]), this.ToffsetArcWires1A2 = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2A1[s - 14]), T.push(this.ToffsetWires2A1[s - 6]), this.ToffsetArcWires1A2 = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires2A1[s - 13]), p.push(this.ToffsetWires2A1[s - 5]), this.ToffsetArcWires1A2 = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires2A1[s - 12]), o.push(this.ToffsetWires2A1[s - 4]), this.ToffsetArcWires1A2 = d(o, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), A.push(this.ToffsetWires2A1[s - 11]), A.push(this.ToffsetWires2A1[s - 3]), this.ToffsetArcWires1A2 = d(A, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2A1[s - 10]), g.push(this.ToffsetWires2A1[s - 2]), this.ToffsetArcWires1A2 = d(g, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线7" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2A1[s - 9]), y.push(this.ToffsetWires2A1[s - 1]), this.ToffsetArcWires1A2 = d(y, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1A2, "2A1跳线8" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 16 && (L.push(this.ToffsetWires2A2[s - 16]), L.push(this.ToffsetWires2A2[s - 8]), this.ToffsetArcWires2A2 = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires2A2[s - 15]), m.push(this.ToffsetWires2A2[s - 7]), this.ToffsetArcWires2A2 = d(m, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires2A2[s - 14]), B.push(this.ToffsetWires2A2[s - 6]), this.ToffsetArcWires2A2 = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2A2[s - 13]), v.push(this.ToffsetWires2A2[s - 5]), this.ToffsetArcWires2A2 = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires2A2[s - 12]), b.push(this.ToffsetWires2A2[s - 4]), this.ToffsetArcWires2A2 = d(b, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires2A2[s - 11]), M.push(this.ToffsetWires2A2[s - 3]), this.ToffsetArcWires2A2 = d(M, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2A2[s - 10]), _.push(this.ToffsetWires2A2[s - 2]), this.ToffsetArcWires2A2 = d(_, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线7" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), R.push(this.ToffsetWires2A2[s - 9]), R.push(this.ToffsetWires2A2[s - 1]), this.ToffsetArcWires2A2 = d(R, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2A2, "2A2跳线8" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2667
2661
  break;
2668
2662
  }
2669
2663
  }
2670
2664
  if (this.ToffsetWires2B1.length > 1 && this.ToffsetWires2B2.length > 1) {
2671
- const i = [], l = [], T = [], p = [], o = [], A = [], g = [], y = [], L = [], I = [], B = [], v = [], b = [], M = [], S = [], R = [];
2665
+ const i = [], l = [], T = [], p = [], o = [], A = [], g = [], y = [], L = [], m = [], B = [], v = [], b = [], M = [], _ = [], R = [];
2672
2666
  switch (this.LineInfo.Wairnum) {
2673
- case m.单分裂:
2667
+ case I.单分裂:
2674
2668
  this.ToffsetWires2B1.length >= 2 && (i.push(this.ToffsetWires2B1[s - 2]), i.push(this.ToffsetWires2B1[s - 1]), this.ToffsetArcWires1B2 = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 2 && (L.push(this.ToffsetWires2B2[s - 2]), L.push(this.ToffsetWires2B2[s - 1]), this.ToffsetArcWires2B2 = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2675
2669
  break;
2676
- case m.双分裂:
2677
- this.ToffsetWires2B1.length >= 4 && (i.push(this.ToffsetWires2B1[s - 4]), i.push(this.ToffsetWires2B1[s - 2]), this.ToffsetArcWires1B2 = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2B1[s - 3]), l.push(this.ToffsetWires2B1[s - 1]), this.ToffsetArcWires1B2 = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 4 && (L.push(this.ToffsetWires2B2[s - 4]), L.push(this.ToffsetWires2B2[s - 2]), this.ToffsetArcWires2B2 = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), I.push(this.ToffsetWires2B2[s - 3]), I.push(this.ToffsetWires2B2[s - 1]), this.ToffsetArcWires2B2 = d(I, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2670
+ case I.双分裂:
2671
+ this.ToffsetWires2B1.length >= 4 && (i.push(this.ToffsetWires2B1[s - 4]), i.push(this.ToffsetWires2B1[s - 2]), this.ToffsetArcWires1B2 = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2B1[s - 3]), l.push(this.ToffsetWires2B1[s - 1]), this.ToffsetArcWires1B2 = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 4 && (L.push(this.ToffsetWires2B2[s - 4]), L.push(this.ToffsetWires2B2[s - 2]), this.ToffsetArcWires2B2 = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires2B2[s - 3]), m.push(this.ToffsetWires2B2[s - 1]), this.ToffsetArcWires2B2 = d(m, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2678
2672
  break;
2679
- case m.四分裂:
2680
- this.ToffsetWires2B1.length >= 8 && (i.push(this.ToffsetWires2B1[s - 8]), i.push(this.ToffsetWires2B1[s - 4]), this.ToffsetArcWires1B2 = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2B1[s - 7]), l.push(this.ToffsetWires2B1[s - 3]), this.ToffsetArcWires1B2 = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2B1[s - 6]), T.push(this.ToffsetWires2B1[s - 2]), this.ToffsetArcWires1B2 = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires2B1[s - 5]), p.push(this.ToffsetWires2B1[s - 1]), this.ToffsetArcWires1B2 = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 8 && (L.push(this.ToffsetWires2B2[s - 8]), L.push(this.ToffsetWires2B2[s - 4]), this.ToffsetArcWires2B2 = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), I.push(this.ToffsetWires2B2[s - 7]), I.push(this.ToffsetWires2B2[s - 3]), this.ToffsetArcWires2B2 = d(I, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires2B2[s - 6]), B.push(this.ToffsetWires2B2[s - 2]), this.ToffsetArcWires2B2 = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2B2[s - 5]), v.push(this.ToffsetWires2B2[s - 1]), this.ToffsetArcWires2B2 = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2673
+ case I.四分裂:
2674
+ this.ToffsetWires2B1.length >= 8 && (i.push(this.ToffsetWires2B1[s - 8]), i.push(this.ToffsetWires2B1[s - 4]), this.ToffsetArcWires1B2 = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2B1[s - 7]), l.push(this.ToffsetWires2B1[s - 3]), this.ToffsetArcWires1B2 = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2B1[s - 6]), T.push(this.ToffsetWires2B1[s - 2]), this.ToffsetArcWires1B2 = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires2B1[s - 5]), p.push(this.ToffsetWires2B1[s - 1]), this.ToffsetArcWires1B2 = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 8 && (L.push(this.ToffsetWires2B2[s - 8]), L.push(this.ToffsetWires2B2[s - 4]), this.ToffsetArcWires2B2 = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires2B2[s - 7]), m.push(this.ToffsetWires2B2[s - 3]), this.ToffsetArcWires2B2 = d(m, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires2B2[s - 6]), B.push(this.ToffsetWires2B2[s - 2]), this.ToffsetArcWires2B2 = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2B2[s - 5]), v.push(this.ToffsetWires2B2[s - 1]), this.ToffsetArcWires2B2 = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2681
2675
  break;
2682
- case m.六分裂:
2683
- this.ToffsetWires2B1.length >= 12 && (i.push(this.ToffsetWires2B1[s - 12]), i.push(this.ToffsetWires2B1[s - 6]), this.ToffsetArcWires1B2 = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2B1[s - 11]), l.push(this.ToffsetWires2B1[s - 5]), this.ToffsetArcWires1B2 = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2B1[s - 10]), T.push(this.ToffsetWires2B1[s - 4]), this.ToffsetArcWires1B2 = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires2B1[s - 9]), p.push(this.ToffsetWires2B1[s - 3]), this.ToffsetArcWires1B2 = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires2B1[s - 8]), o.push(this.ToffsetWires2B1[s - 2]), this.ToffsetArcWires1B2 = d(o, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), A.push(this.ToffsetWires2B1[s - 7]), A.push(this.ToffsetWires2B1[s - 1]), this.ToffsetArcWires1B2 = d(A, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 12 && (L.push(this.ToffsetWires2B2[s - 12]), L.push(this.ToffsetWires2B2[s - 6]), this.ToffsetArcWires2B2 = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), I.push(this.ToffsetWires2B2[s - 11]), I.push(this.ToffsetWires2B2[s - 5]), this.ToffsetArcWires2B2 = d(I, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires2B2[s - 10]), B.push(this.ToffsetWires2B2[s - 4]), this.ToffsetArcWires2B2 = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2B2[s - 9]), v.push(this.ToffsetWires2B2[s - 3]), this.ToffsetArcWires2B2 = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires2B2[s - 8]), b.push(this.ToffsetWires2B2[s - 2]), this.ToffsetArcWires2B2 = d(b, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires2B2[s - 7]), M.push(this.ToffsetWires2B2[s - 1]), this.ToffsetArcWires2B2 = d(M, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2676
+ case I.六分裂:
2677
+ this.ToffsetWires2B1.length >= 12 && (i.push(this.ToffsetWires2B1[s - 12]), i.push(this.ToffsetWires2B1[s - 6]), this.ToffsetArcWires1B2 = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2B1[s - 11]), l.push(this.ToffsetWires2B1[s - 5]), this.ToffsetArcWires1B2 = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2B1[s - 10]), T.push(this.ToffsetWires2B1[s - 4]), this.ToffsetArcWires1B2 = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires2B1[s - 9]), p.push(this.ToffsetWires2B1[s - 3]), this.ToffsetArcWires1B2 = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires2B1[s - 8]), o.push(this.ToffsetWires2B1[s - 2]), this.ToffsetArcWires1B2 = d(o, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), A.push(this.ToffsetWires2B1[s - 7]), A.push(this.ToffsetWires2B1[s - 1]), this.ToffsetArcWires1B2 = d(A, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 12 && (L.push(this.ToffsetWires2B2[s - 12]), L.push(this.ToffsetWires2B2[s - 6]), this.ToffsetArcWires2B2 = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires2B2[s - 11]), m.push(this.ToffsetWires2B2[s - 5]), this.ToffsetArcWires2B2 = d(m, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires2B2[s - 10]), B.push(this.ToffsetWires2B2[s - 4]), this.ToffsetArcWires2B2 = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2B2[s - 9]), v.push(this.ToffsetWires2B2[s - 3]), this.ToffsetArcWires2B2 = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires2B2[s - 8]), b.push(this.ToffsetWires2B2[s - 2]), this.ToffsetArcWires2B2 = d(b, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires2B2[s - 7]), M.push(this.ToffsetWires2B2[s - 1]), this.ToffsetArcWires2B2 = d(M, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2684
2678
  break;
2685
- case m.八分裂:
2686
- this.ToffsetWires2B1.length >= 16 && (i.push(this.ToffsetWires2B1[s - 16]), i.push(this.ToffsetWires2B1[s - 8]), this.ToffsetArcWires1B2 = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2B1[s - 15]), l.push(this.ToffsetWires2B1[s - 7]), this.ToffsetArcWires1B2 = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2B1[s - 14]), T.push(this.ToffsetWires2B1[s - 6]), this.ToffsetArcWires1B2 = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires2B1[s - 13]), p.push(this.ToffsetWires2B1[s - 5]), this.ToffsetArcWires1B2 = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires2B1[s - 12]), o.push(this.ToffsetWires2B1[s - 4]), this.ToffsetArcWires1B2 = d(o, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), A.push(this.ToffsetWires2B1[s - 11]), A.push(this.ToffsetWires2B1[s - 3]), this.ToffsetArcWires1B2 = d(A, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2B1[s - 10]), g.push(this.ToffsetWires2B1[s - 2]), this.ToffsetArcWires1B2 = d(g, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线7" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2B1[s - 9]), y.push(this.ToffsetWires2B1[s - 1]), this.ToffsetArcWires1B2 = d(y, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线8" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 16 && (L.push(this.ToffsetWires2B2[s - 16]), L.push(this.ToffsetWires2B2[s - 8]), this.ToffsetArcWires2B2 = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), I.push(this.ToffsetWires2B2[s - 15]), I.push(this.ToffsetWires2B2[s - 7]), this.ToffsetArcWires2B2 = d(I, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires2B2[s - 14]), B.push(this.ToffsetWires2B2[s - 6]), this.ToffsetArcWires2B2 = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2B2[s - 13]), v.push(this.ToffsetWires2B2[s - 5]), this.ToffsetArcWires2B2 = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires2B2[s - 12]), b.push(this.ToffsetWires2B2[s - 4]), this.ToffsetArcWires2B2 = d(b, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires2B2[s - 11]), M.push(this.ToffsetWires2B2[s - 3]), this.ToffsetArcWires2B2 = d(M, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), S.push(this.ToffsetWires2B2[s - 10]), S.push(this.ToffsetWires2B2[s - 2]), this.ToffsetArcWires2B2 = d(S, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线7" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), R.push(this.ToffsetWires2B2[s - 9]), R.push(this.ToffsetWires2B2[s - 1]), this.ToffsetArcWires2B2 = d(R, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线8" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2679
+ case I.八分裂:
2680
+ this.ToffsetWires2B1.length >= 16 && (i.push(this.ToffsetWires2B1[s - 16]), i.push(this.ToffsetWires2B1[s - 8]), this.ToffsetArcWires1B2 = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2B1[s - 15]), l.push(this.ToffsetWires2B1[s - 7]), this.ToffsetArcWires1B2 = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2B1[s - 14]), T.push(this.ToffsetWires2B1[s - 6]), this.ToffsetArcWires1B2 = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires2B1[s - 13]), p.push(this.ToffsetWires2B1[s - 5]), this.ToffsetArcWires1B2 = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires2B1[s - 12]), o.push(this.ToffsetWires2B1[s - 4]), this.ToffsetArcWires1B2 = d(o, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), A.push(this.ToffsetWires2B1[s - 11]), A.push(this.ToffsetWires2B1[s - 3]), this.ToffsetArcWires1B2 = d(A, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2B1[s - 10]), g.push(this.ToffsetWires2B1[s - 2]), this.ToffsetArcWires1B2 = d(g, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线7" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2B1[s - 9]), y.push(this.ToffsetWires2B1[s - 1]), this.ToffsetArcWires1B2 = d(y, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1B2, "2B1跳线8" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 16 && (L.push(this.ToffsetWires2B2[s - 16]), L.push(this.ToffsetWires2B2[s - 8]), this.ToffsetArcWires2B2 = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires2B2[s - 15]), m.push(this.ToffsetWires2B2[s - 7]), this.ToffsetArcWires2B2 = d(m, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires2B2[s - 14]), B.push(this.ToffsetWires2B2[s - 6]), this.ToffsetArcWires2B2 = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2B2[s - 13]), v.push(this.ToffsetWires2B2[s - 5]), this.ToffsetArcWires2B2 = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires2B2[s - 12]), b.push(this.ToffsetWires2B2[s - 4]), this.ToffsetArcWires2B2 = d(b, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires2B2[s - 11]), M.push(this.ToffsetWires2B2[s - 3]), this.ToffsetArcWires2B2 = d(M, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2B2[s - 10]), _.push(this.ToffsetWires2B2[s - 2]), this.ToffsetArcWires2B2 = d(_, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线7" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), R.push(this.ToffsetWires2B2[s - 9]), R.push(this.ToffsetWires2B2[s - 1]), this.ToffsetArcWires2B2 = d(R, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2B2, "2B2跳线8" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2687
2681
  break;
2688
2682
  }
2689
2683
  }
2690
2684
  if (this.ToffsetWires2C1.length > 1 && this.ToffsetWires2C2.length > 1) {
2691
- const i = [], l = [], T = [], p = [], o = [], A = [], g = [], y = [], L = [], I = [], B = [], v = [], b = [], M = [], S = [], R = [];
2685
+ const i = [], l = [], T = [], p = [], o = [], A = [], g = [], y = [], L = [], m = [], B = [], v = [], b = [], M = [], _ = [], R = [];
2692
2686
  switch (this.LineInfo.Wairnum) {
2693
- case m.单分裂:
2687
+ case I.单分裂:
2694
2688
  this.ToffsetWires2C1.length >= 2 && (i.push(this.ToffsetWires2C1[s - 2]), i.push(this.ToffsetWires2C1[s - 1]), this.ToffsetArcWires1C2 = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 2 && (L.push(this.ToffsetWires2C2[s - 2]), L.push(this.ToffsetWires2C2[s - 1]), this.ToffsetArcWires2C2 = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2695
2689
  break;
2696
- case m.双分裂:
2697
- this.ToffsetWires2C1.length >= 4 && (i.push(this.ToffsetWires2C1[s - 4]), i.push(this.ToffsetWires2C1[s - 2]), this.ToffsetArcWires1C2 = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2C1[s - 3]), l.push(this.ToffsetWires2C1[s - 1]), this.ToffsetArcWires1C2 = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 4 && (L.push(this.ToffsetWires2C2[s - 4]), L.push(this.ToffsetWires2C2[s - 2]), this.ToffsetArcWires2C2 = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), I.push(this.ToffsetWires2C2[s - 3]), I.push(this.ToffsetWires2C2[s - 1]), this.ToffsetArcWires2C2 = d(I, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2690
+ case I.双分裂:
2691
+ this.ToffsetWires2C1.length >= 4 && (i.push(this.ToffsetWires2C1[s - 4]), i.push(this.ToffsetWires2C1[s - 2]), this.ToffsetArcWires1C2 = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2C1[s - 3]), l.push(this.ToffsetWires2C1[s - 1]), this.ToffsetArcWires1C2 = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 4 && (L.push(this.ToffsetWires2C2[s - 4]), L.push(this.ToffsetWires2C2[s - 2]), this.ToffsetArcWires2C2 = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires2C2[s - 3]), m.push(this.ToffsetWires2C2[s - 1]), this.ToffsetArcWires2C2 = d(m, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2698
2692
  break;
2699
- case m.四分裂:
2700
- this.ToffsetWires2C1.length >= 8 && (i.push(this.ToffsetWires2C1[s - 8]), i.push(this.ToffsetWires2C1[s - 4]), this.ToffsetArcWires1C2 = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2C1[s - 7]), l.push(this.ToffsetWires2C1[s - 3]), this.ToffsetArcWires1C2 = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2C1[s - 6]), T.push(this.ToffsetWires2C1[s - 2]), this.ToffsetArcWires1C2 = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires2C1[s - 5]), p.push(this.ToffsetWires2C1[s - 1]), this.ToffsetArcWires1C2 = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 8 && (L.push(this.ToffsetWires2C2[s - 8]), L.push(this.ToffsetWires2C2[s - 4]), this.ToffsetArcWires2C2 = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), I.push(this.ToffsetWires2C2[s - 7]), I.push(this.ToffsetWires2C2[s - 3]), this.ToffsetArcWires2C2 = d(I, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires2C2[s - 6]), B.push(this.ToffsetWires2C2[s - 2]), this.ToffsetArcWires2C2 = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2C2[s - 5]), v.push(this.ToffsetWires2C2[s - 1]), this.ToffsetArcWires2C2 = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2693
+ case I.四分裂:
2694
+ this.ToffsetWires2C1.length >= 8 && (i.push(this.ToffsetWires2C1[s - 8]), i.push(this.ToffsetWires2C1[s - 4]), this.ToffsetArcWires1C2 = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2C1[s - 7]), l.push(this.ToffsetWires2C1[s - 3]), this.ToffsetArcWires1C2 = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2C1[s - 6]), T.push(this.ToffsetWires2C1[s - 2]), this.ToffsetArcWires1C2 = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires2C1[s - 5]), p.push(this.ToffsetWires2C1[s - 1]), this.ToffsetArcWires1C2 = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 8 && (L.push(this.ToffsetWires2C2[s - 8]), L.push(this.ToffsetWires2C2[s - 4]), this.ToffsetArcWires2C2 = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires2C2[s - 7]), m.push(this.ToffsetWires2C2[s - 3]), this.ToffsetArcWires2C2 = d(m, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires2C2[s - 6]), B.push(this.ToffsetWires2C2[s - 2]), this.ToffsetArcWires2C2 = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2C2[s - 5]), v.push(this.ToffsetWires2C2[s - 1]), this.ToffsetArcWires2C2 = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2701
2695
  break;
2702
- case m.六分裂:
2703
- this.ToffsetWires2C1.length >= 12 && (i.push(this.ToffsetWires2C1[s - 12]), i.push(this.ToffsetWires2C1[s - 6]), this.ToffsetArcWires1C2 = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2C1[s - 11]), l.push(this.ToffsetWires2C1[s - 5]), this.ToffsetArcWires1C2 = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2C1[s - 10]), T.push(this.ToffsetWires2C1[s - 4]), this.ToffsetArcWires1C2 = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires2C1[s - 9]), p.push(this.ToffsetWires2C1[s - 3]), this.ToffsetArcWires1C2 = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires2C1[s - 8]), o.push(this.ToffsetWires2C1[s - 2]), this.ToffsetArcWires1C2 = d(o, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), A.push(this.ToffsetWires2C1[s - 7]), A.push(this.ToffsetWires2C1[s - 1]), this.ToffsetArcWires1C2 = d(A, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 12 && (L.push(this.ToffsetWires2C2[s - 12]), L.push(this.ToffsetWires2C2[s - 6]), this.ToffsetArcWires2C2 = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), I.push(this.ToffsetWires2C2[s - 11]), I.push(this.ToffsetWires2C2[s - 5]), this.ToffsetArcWires2C2 = d(I, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires2C2[s - 10]), B.push(this.ToffsetWires2C2[s - 4]), this.ToffsetArcWires2C2 = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2C2[s - 9]), v.push(this.ToffsetWires2C2[s - 3]), this.ToffsetArcWires2C2 = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires2C2[s - 8]), b.push(this.ToffsetWires2C2[s - 2]), this.ToffsetArcWires2C2 = d(b, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires2C2[s - 7]), M.push(this.ToffsetWires2C2[s - 1]), this.ToffsetArcWires2C2 = d(M, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2696
+ case I.六分裂:
2697
+ this.ToffsetWires2C1.length >= 12 && (i.push(this.ToffsetWires2C1[s - 12]), i.push(this.ToffsetWires2C1[s - 6]), this.ToffsetArcWires1C2 = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2C1[s - 11]), l.push(this.ToffsetWires2C1[s - 5]), this.ToffsetArcWires1C2 = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2C1[s - 10]), T.push(this.ToffsetWires2C1[s - 4]), this.ToffsetArcWires1C2 = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires2C1[s - 9]), p.push(this.ToffsetWires2C1[s - 3]), this.ToffsetArcWires1C2 = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires2C1[s - 8]), o.push(this.ToffsetWires2C1[s - 2]), this.ToffsetArcWires1C2 = d(o, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), A.push(this.ToffsetWires2C1[s - 7]), A.push(this.ToffsetWires2C1[s - 1]), this.ToffsetArcWires1C2 = d(A, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 12 && (L.push(this.ToffsetWires2C2[s - 12]), L.push(this.ToffsetWires2C2[s - 6]), this.ToffsetArcWires2C2 = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires2C2[s - 11]), m.push(this.ToffsetWires2C2[s - 5]), this.ToffsetArcWires2C2 = d(m, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires2C2[s - 10]), B.push(this.ToffsetWires2C2[s - 4]), this.ToffsetArcWires2C2 = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2C2[s - 9]), v.push(this.ToffsetWires2C2[s - 3]), this.ToffsetArcWires2C2 = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires2C2[s - 8]), b.push(this.ToffsetWires2C2[s - 2]), this.ToffsetArcWires2C2 = d(b, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires2C2[s - 7]), M.push(this.ToffsetWires2C2[s - 1]), this.ToffsetArcWires2C2 = d(M, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2704
2698
  break;
2705
- case m.八分裂:
2706
- this.ToffsetWires2C1.length >= 16 && (i.push(this.ToffsetWires2C1[s - 16]), i.push(this.ToffsetWires2C1[s - 8]), this.ToffsetArcWires1C2 = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2C1[s - 15]), l.push(this.ToffsetWires2C1[s - 7]), this.ToffsetArcWires1C2 = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2C1[s - 14]), T.push(this.ToffsetWires2C1[s - 6]), this.ToffsetArcWires1C2 = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires2C1[s - 13]), p.push(this.ToffsetWires2C1[s - 5]), this.ToffsetArcWires1C2 = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires2C1[s - 12]), o.push(this.ToffsetWires2C1[s - 4]), this.ToffsetArcWires1C2 = d(o, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), A.push(this.ToffsetWires2C1[s - 11]), A.push(this.ToffsetWires2C1[s - 3]), this.ToffsetArcWires1C2 = d(A, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2C1[s - 10]), g.push(this.ToffsetWires2C1[s - 2]), this.ToffsetArcWires1C2 = d(g, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线7" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2C1[s - 9]), y.push(this.ToffsetWires2C1[s - 1]), this.ToffsetArcWires1C2 = d(y, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线8" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 16 && (L.push(this.ToffsetWires2C2[s - 16]), L.push(this.ToffsetWires2C2[s - 8]), this.ToffsetArcWires2C2 = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), I.push(this.ToffsetWires2C2[s - 15]), I.push(this.ToffsetWires2C2[s - 7]), this.ToffsetArcWires2C2 = d(I, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires2C2[s - 14]), B.push(this.ToffsetWires2C2[s - 6]), this.ToffsetArcWires2C2 = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2C2[s - 13]), v.push(this.ToffsetWires2C2[s - 5]), this.ToffsetArcWires2C2 = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires2C2[s - 12]), b.push(this.ToffsetWires2C2[s - 4]), this.ToffsetArcWires2C2 = d(b, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires2C2[s - 11]), M.push(this.ToffsetWires2C2[s - 3]), this.ToffsetArcWires2C2 = d(M, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), S.push(this.ToffsetWires2C2[s - 10]), S.push(this.ToffsetWires2C2[s - 2]), this.ToffsetArcWires2C2 = d(S, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线7" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), R.push(this.ToffsetWires2C2[s - 9]), R.push(this.ToffsetWires2C2[s - 1]), this.ToffsetArcWires2C2 = d(R, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线8" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2699
+ case I.八分裂:
2700
+ this.ToffsetWires2C1.length >= 16 && (i.push(this.ToffsetWires2C1[s - 16]), i.push(this.ToffsetWires2C1[s - 8]), this.ToffsetArcWires1C2 = d(i, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2C1[s - 15]), l.push(this.ToffsetWires2C1[s - 7]), this.ToffsetArcWires1C2 = d(l, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2C1[s - 14]), T.push(this.ToffsetWires2C1[s - 6]), this.ToffsetArcWires1C2 = d(T, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), p.push(this.ToffsetWires2C1[s - 13]), p.push(this.ToffsetWires2C1[s - 5]), this.ToffsetArcWires1C2 = d(p, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires2C1[s - 12]), o.push(this.ToffsetWires2C1[s - 4]), this.ToffsetArcWires1C2 = d(o, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), A.push(this.ToffsetWires2C1[s - 11]), A.push(this.ToffsetWires2C1[s - 3]), this.ToffsetArcWires1C2 = d(A, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2C1[s - 10]), g.push(this.ToffsetWires2C1[s - 2]), this.ToffsetArcWires1C2 = d(g, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线7" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2C1[s - 9]), y.push(this.ToffsetWires2C1[s - 1]), this.ToffsetArcWires1C2 = d(y, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires1C2, "2C1跳线8" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 16 && (L.push(this.ToffsetWires2C2[s - 16]), L.push(this.ToffsetWires2C2[s - 8]), this.ToffsetArcWires2C2 = d(L, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线1" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires2C2[s - 15]), m.push(this.ToffsetWires2C2[s - 7]), this.ToffsetArcWires2C2 = d(m, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线2" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires2C2[s - 14]), B.push(this.ToffsetWires2C2[s - 6]), this.ToffsetArcWires2C2 = d(B, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线3" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2C2[s - 13]), v.push(this.ToffsetWires2C2[s - 5]), this.ToffsetArcWires2C2 = d(v, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线4" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires2C2[s - 12]), b.push(this.ToffsetWires2C2[s - 4]), this.ToffsetArcWires2C2 = d(b, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线5" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires2C2[s - 11]), M.push(this.ToffsetWires2C2[s - 3]), this.ToffsetArcWires2C2 = d(M, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线6" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2C2[s - 10]), _.push(this.ToffsetWires2C2[s - 2]), this.ToffsetArcWires2C2 = d(_, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线7" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), R.push(this.ToffsetWires2C2[s - 9]), R.push(this.ToffsetWires2C2[s - 1]), this.ToffsetArcWires2C2 = d(R, 15), this.LineentityCollection2.add(C(this.ToffsetArcWires2C2, "2C2跳线8" + (e - 1) + "-" + e, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2707
2701
  break;
2708
2702
  }
2709
2703
  }
2710
2704
  } else
2711
2705
  switch (this.LineInfo.Wairnum) {
2712
- case m.单分裂:
2706
+ case I.单分裂:
2713
2707
  t = t + 1;
2714
2708
  break;
2715
- case m.双分裂:
2709
+ case I.双分裂:
2716
2710
  t = t + 2;
2717
2711
  break;
2718
- case m.四分裂:
2712
+ case I.四分裂:
2719
2713
  t = t + 4;
2720
2714
  break;
2721
- case m.六分裂:
2715
+ case I.六分裂:
2722
2716
  t = t + 6;
2723
2717
  break;
2724
- case m.八分裂:
2718
+ case I.八分裂:
2725
2719
  t = t + 8;
2726
2720
  break;
2727
2721
  }
@@ -2963,7 +2957,7 @@ class us {
2963
2957
  return this.arcLine1C1;
2964
2958
  }
2965
2959
  }
2966
- const _t = class _t {
2960
+ const St = class St {
2967
2961
  constructor(t, s, r) {
2968
2962
  //三维场景
2969
2963
  w(this, "viewer");
@@ -3193,7 +3187,7 @@ const _t = class _t {
3193
3187
  * 获取树木实体ID前缀
3194
3188
  */
3195
3189
  static getTreeEntityPrefix() {
3196
- return _t.TREE_ENTITY_PREFIX;
3190
+ return St.TREE_ENTITY_PREFIX;
3197
3191
  }
3198
3192
  //设置显隐
3199
3193
  setTreeVisible(t) {
@@ -3201,8 +3195,8 @@ const _t = class _t {
3201
3195
  }
3202
3196
  };
3203
3197
  // 树木实体ID前缀常量
3204
- w(_t, "TREE_ENTITY_PREFIX", "tree-");
3205
- let Ut = _t;
3198
+ w(St, "TREE_ENTITY_PREFIX", "tree-");
3199
+ let Ut = St;
3206
3200
  class Ws {
3207
3201
  constructor(t) {
3208
3202
  //三维场景
@@ -3232,7 +3226,7 @@ class Ws {
3232
3226
  w(this, "distanceRuleConfig", new Ie());
3233
3227
  // ========== 导线间距测量功能 ==========
3234
3228
  // 线间距离规则配置
3235
- w(this, "wireToWireDistanceRuleConfig", new Vt());
3229
+ w(this, "wireToWireDistanceRuleConfig", new Yt());
3236
3230
  this.viewer = t, this.dataSourceplotting = new f.CustomDataSource("plotting"), this.entityCollectionplotting = this.dataSourceplotting.entities;
3237
3231
  }
3238
3232
  /**
@@ -3247,7 +3241,7 @@ class Ws {
3247
3241
  * @param distanceConfig 距离规则配置,null表示不应用规则
3248
3242
  * @param featureType 地物类型,用于获取对应类型的规则配置
3249
3243
  */
3250
- calcResultByType(t, s, r, e, a, n = this.distanceRuleConfig, W = q.树木) {
3244
+ calcResultByType(t, s, r, e, a, n = this.distanceRuleConfig, W = U.树木) {
3251
3245
  if (this.entityCollectionplotting.values.length >= this.maxVisibleResults)
3252
3246
  return;
3253
3247
  const u = `${t[0].toFixed(6)}_${t[1].toFixed(6)}_${t[2].toFixed(2)}`;
@@ -3277,7 +3271,7 @@ class Ws {
3277
3271
  * @param featureType 地物类型,用于获取对应类型的规则配置
3278
3272
  * @returns MeasurementResult | null 测量结果对象或null(如果被过滤)
3279
3273
  */
3280
- performTerrainVerification(t, s, r, e, a = null, n, W = [], u = q.树木) {
3274
+ performTerrainVerification(t, s, r, e, a = null, n, W = [], u = U.树木) {
3281
3275
  const c = `${t[0].toFixed(6)}_${t[1].toFixed(6)}_${t[2].toFixed(2)}`, i = Pt(
3282
3276
  t,
3283
3277
  s,
@@ -3406,31 +3400,31 @@ class Ws {
3406
3400
  createDefaultDistanceRuleConfig() {
3407
3401
  const t = {
3408
3402
  horizontalLevels: [
3409
- { name: "critical", minDistance: 0, maxDistance: 160, color: "#ff0000" },
3410
- { name: "danger", minDistance: 160, maxDistance: 170, color: "#ff0000" },
3411
- { name: "warning", minDistance: 170, maxDistance: 180, color: "#ffa500" },
3412
- { name: "safe", minDistance: 180, maxDistance: 1 / 0, color: "#00ff00" }
3403
+ { id: "critical", name: "critical", minDistance: 0, maxDistance: 160, color: "#ff0000" },
3404
+ { id: "danger", name: "danger", minDistance: 160, maxDistance: 170, color: "#ff0000" },
3405
+ { id: "warning", name: "warning", minDistance: 170, maxDistance: 180, color: "#ffa500" },
3406
+ { id: "safe", name: "safe", minDistance: 180, maxDistance: 1 / 0, color: "#00ff00" }
3413
3407
  ],
3414
3408
  verticalLevels: [
3415
- { name: "critical", minDistance: 0, maxDistance: 160, color: "#ff0000" },
3416
- { name: "danger", minDistance: 160, maxDistance: 170, color: "#ff0000" },
3417
- { name: "warning", minDistance: 170, maxDistance: 180, color: "#ffa500" },
3418
- { name: "safe", minDistance: 180, maxDistance: 1 / 0, color: "#00ff00" }
3409
+ { id: "critical", name: "critical", minDistance: 0, maxDistance: 160, color: "#ff0000" },
3410
+ { id: "danger", name: "danger", minDistance: 160, maxDistance: 170, color: "#ff0000" },
3411
+ { id: "warning", name: "warning", minDistance: 170, maxDistance: 180, color: "#ffa500" },
3412
+ { id: "safe", name: "safe", minDistance: 180, maxDistance: 1 / 0, color: "#00ff00" }
3419
3413
  ],
3420
3414
  straightLineLevels: [
3421
- { name: "critical", minDistance: 0, maxDistance: 160, color: "#ff0000" },
3422
- { name: "danger", minDistance: 160, maxDistance: 170, color: "#ff0000" },
3423
- { name: "warning", minDistance: 170, maxDistance: 180, color: "#ffa500" },
3424
- { name: "safe", minDistance: 180, maxDistance: 1 / 0, color: "#00ff00" }
3415
+ { id: "critical", name: "critical", minDistance: 0, maxDistance: 160, color: "#ff0000" },
3416
+ { id: "danger", name: "danger", minDistance: 160, maxDistance: 170, color: "#ff0000" },
3417
+ { id: "warning", name: "warning", minDistance: 170, maxDistance: 180, color: "#ffa500" },
3418
+ { id: "safe", name: "safe", minDistance: 180, maxDistance: 1 / 0, color: "#00ff00" }
3425
3419
  ],
3426
3420
  clearanceLevels: [
3427
- { name: "critical", minDistance: 0, maxDistance: 10, color: "#ff0000" },
3428
- { name: "danger", minDistance: 10, maxDistance: 15, color: "#ff6600" },
3429
- { name: "warning", minDistance: 15, maxDistance: 20, color: "#ffa500" },
3430
- { name: "safe", minDistance: 20, maxDistance: 1 / 0, color: "#00ff00" }
3421
+ { id: "critical", name: "critical", minDistance: 0, maxDistance: 10, color: "#ff0000" },
3422
+ { id: "danger", name: "danger", minDistance: 10, maxDistance: 15, color: "#ff6600" },
3423
+ { id: "warning", name: "warning", minDistance: 15, maxDistance: 20, color: "#ffa500" },
3424
+ { id: "safe", name: "safe", minDistance: 20, maxDistance: 1 / 0, color: "#00ff00" }
3431
3425
  ]
3432
3426
  };
3433
- this.setDistanceRulesByType(q.树木, { ...t }), this.setDistanceRulesByType(q.房屋, { ...t }), this.setDistanceRulesByType(q.高速公路, { ...t }), this.setDistanceRulesByType(q.电力线, { ...t });
3427
+ this.setDistanceRulesByType(U.树木, { ...t }), this.setDistanceRulesByType(U.房屋, { ...t }), this.setDistanceRulesByType(U.高速公路, { ...t }), this.setDistanceRulesByType(U.电力线, { ...t });
3434
3428
  }
3435
3429
  /**
3436
3430
  * 绘制通道范围多边形
@@ -3490,7 +3484,7 @@ class Ws {
3490
3484
  n,
3491
3485
  f.Cartesian3.multiplyByScalar(i, -l, new f.Cartesian3()),
3492
3486
  new f.Cartesian3()
3493
- ), o = f.Cartographic.fromCartesian(T), A = f.Cartographic.fromCartesian(p), g = f.Math.toDegrees(o.longitude), y = f.Math.toDegrees(o.latitude), L = f.Math.toDegrees(A.longitude), I = f.Math.toDegrees(A.latitude), B = this.entityCollectionplotting.add({
3487
+ ), o = f.Cartographic.fromCartesian(T), A = f.Cartographic.fromCartesian(p), g = f.Math.toDegrees(o.longitude), y = f.Math.toDegrees(o.latitude), L = f.Math.toDegrees(A.longitude), m = f.Math.toDegrees(A.latitude), B = this.entityCollectionplotting.add({
3494
3488
  name: `${r}-left-width-marker`,
3495
3489
  polyline: {
3496
3490
  positions: [
@@ -3509,7 +3503,7 @@ class Ws {
3509
3503
  polyline: {
3510
3504
  positions: [
3511
3505
  f.Cartesian3.fromDegrees(e[0], e[1]),
3512
- f.Cartesian3.fromDegrees(L, I)
3506
+ f.Cartesian3.fromDegrees(L, m)
3513
3507
  ],
3514
3508
  width: 3,
3515
3509
  material: new f.PolylineDashMaterialProperty({
@@ -3585,7 +3579,7 @@ class Ws {
3585
3579
  createOffsetLine(t, s, r) {
3586
3580
  if (t.length < 2)
3587
3581
  return [];
3588
- const e = U(t), a = s / 1e3;
3582
+ const e = J(t), a = s / 1e3;
3589
3583
  try {
3590
3584
  const n = r ? -a : a, W = qt(e, n, { units: "kilometers" });
3591
3585
  if (W.geometry.type === "LineString")
@@ -3832,7 +3826,7 @@ class Ws {
3832
3826
  A,
3833
3827
  p.id
3834
3828
  );
3835
- a && g && a(g), Wt(o, A, this.entityCollectionplotting, this.getClickDistanceRuleConfig(), n, q.树木);
3829
+ a && g && a(g), Wt(o, A, this.entityCollectionplotting, this.getClickDistanceRuleConfig(), n, U.树木);
3836
3830
  }
3837
3831
  }
3838
3832
  }
@@ -3890,21 +3884,21 @@ class Ws {
3890
3884
  }));
3891
3885
  }
3892
3886
  if ((!o || o.length === 0) && (l.match(/(\d+)-(\d+)$/) && (l.includes("A") || l.includes("_A") ? o = s : l.includes("B") || l.includes("_B") ? o = r : (l.includes("C") || l.includes("_C")) && (o = e)), (!o || o.length === 0) && (o = [...s, ...r, ...e])), o && o.length > 1) {
3893
- const A = (n == null ? void 0 : n.measurementType) || [], g = A.includes(K.净空距离), y = A.includes(K.垂直距离) || A.includes(K.水平距离) || A.includes(K.安全距离) || A.includes(K.直线距离), L = this.interpolateWire(o, 1), I = [];
3887
+ const A = (n == null ? void 0 : n.measurementType) || [], g = A.includes(q.净空距离), y = A.includes(q.垂直距离) || A.includes(q.水平距离) || A.includes(q.安全距离) || A.includes(q.直线距离), L = this.interpolateWire(o, 1), m = [];
3894
3888
  if (g) {
3895
- const B = await this.calculateAndDrawWireToGroundDistanceByType(L, [K.净空距离]).catch((v) => (console.error("Error in wire to ground distance calculation:", v), null));
3896
- B && I.push(B);
3889
+ const B = await this.calculateAndDrawWireToGroundDistanceByType(L, [q.净空距离]).catch((v) => (console.error("Error in wire to ground distance calculation:", v), null));
3890
+ B && m.push(B);
3897
3891
  }
3898
3892
  if (y) {
3899
3893
  const B = (n == null ? void 0 : n.width) || 10, v = (n == null ? void 0 : n.show) !== !1, b = this.drawWireCorridor(L, B);
3900
3894
  v && this.entityCollectionplotting.add(b);
3901
- const M = t.filter((S) => this.lonLatInStaticPolygonOpts(S.lon, S.lat, b));
3902
- this.terrainVerificationCache.clear(), M.forEach((S) => {
3903
- const R = this.calcResultSingleWire(S, L, A, this.getClickDistanceRuleConfig());
3904
- R && I.push(R);
3895
+ const M = t.filter((_) => this.lonLatInStaticPolygonOpts(_.lon, _.lat, b));
3896
+ this.terrainVerificationCache.clear(), M.forEach((_) => {
3897
+ const R = this.calcResultSingleWire(_, L, A, this.getClickDistanceRuleConfig());
3898
+ R && m.push(R);
3905
3899
  });
3906
3900
  }
3907
- n != null && n.onMeasurementResult && I.length > 0 && n.onMeasurementResult(I);
3901
+ n != null && n.onMeasurementResult && m.length > 0 && n.onMeasurementResult(m);
3908
3902
  }
3909
3903
  }
3910
3904
  }
@@ -4049,13 +4043,13 @@ class Ws {
4049
4043
  l = new Array(u.length).fill(0);
4050
4044
  let T = 1 / 0, p = 0;
4051
4045
  for (let g = 0; g < u.length; g++) {
4052
- const y = u[g][2], L = l[g], I = y - L;
4053
- I > 0 && I < T && (T = I, p = g);
4046
+ const y = u[g][2], L = l[g], m = y - L;
4047
+ m > 0 && m < T && (T = m, p = g);
4054
4048
  }
4055
4049
  if (T === 1 / 0)
4056
4050
  for (let g = 0; g < u.length; g++) {
4057
- const y = u[g][2], L = l[g], I = Math.abs(y - L);
4058
- I < T && (T = I, p = g);
4051
+ const y = u[g][2], L = l[g], m = Math.abs(y - L);
4052
+ m < T && (T = m, p = g);
4059
4053
  }
4060
4054
  console.log(`${n.name}相最低净空距离:`, T, "在索引:", p);
4061
4055
  const o = u[p], A = [o[0], o[1], l[p]];
@@ -4075,11 +4069,11 @@ class Ws {
4075
4069
  getDistanceTypeLabel(t, s) {
4076
4070
  const r = `${s.toFixed(1)}米`;
4077
4071
  switch (t) {
4078
- case K.垂直距离:
4072
+ case q.垂直距离:
4079
4073
  return `对地距离${r}`;
4080
- case K.净空距离:
4074
+ case q.净空距离:
4081
4075
  return `净空距离${r}`;
4082
- case K.安全距离:
4076
+ case q.安全距离:
4083
4077
  return `安全距离${r}`;
4084
4078
  default:
4085
4079
  return `距离${r}`;
@@ -4092,7 +4086,7 @@ class Ws {
4092
4086
  * @param distance 距离(米)
4093
4087
  * @param distanceType 测量类型
4094
4088
  */
4095
- drawWireToGroundDistanceByType(t, s, r, e, a = q.导线) {
4089
+ drawWireToGroundDistanceByType(t, s, r, e, a = U.导线) {
4096
4090
  var T, p;
4097
4091
  const n = [
4098
4092
  f.Cartesian3.fromDegrees(t[0], t[1], t[2]),
@@ -4101,10 +4095,11 @@ class Ws {
4101
4095
  let W = "#eff819", u = f.Color.RED;
4102
4096
  const c = this.distanceRuleConfig;
4103
4097
  let i, l = !1;
4104
- if (e.includes(K.净空距离) && (i = (p = (T = c.typeRules.get(a)) == null ? void 0 : T.clearanceLevels) == null ? void 0 : p.find(
4098
+ if (e.includes(q.净空距离) && (i = (p = (T = c.typeRules.get(a)) == null ? void 0 : T.clearanceLevels) == null ? void 0 : p.find(
4105
4099
  (o) => r >= o.minDistance && r <= o.maxDistance
4106
4100
  )), i ? (W = i.color, u = f.Color.fromCssColorString(i.color)) : (l = !0, W = "#00ff00", u = f.Color.GREEN), i || l) {
4107
4101
  this.entityCollectionplotting.add({
4102
+ name: i.id,
4108
4103
  polyline: {
4109
4104
  positions: n,
4110
4105
  width: 2,
@@ -4120,9 +4115,9 @@ class Ws {
4120
4115
  );
4121
4116
  this.entityCollectionplotting.add({
4122
4117
  position: o,
4123
- name: "净空距离",
4118
+ name: i.id,
4124
4119
  label: {
4125
- text: this.getDistanceTypeLabel(K.净空距离, r),
4120
+ text: this.getDistanceTypeLabel(q.净空距离, r),
4126
4121
  fillColor: f.Color.fromCssColorString(W),
4127
4122
  font: "12px sans-serif",
4128
4123
  pixelOffset: new f.Cartesian2(0, 0),
@@ -4263,8 +4258,8 @@ class Ws {
4263
4258
  f.Cartesian3.normalize(p, p);
4264
4259
  const o = f.Cartesian3.cross(T, p, new f.Cartesian3());
4265
4260
  f.Cartesian3.normalize(o, o);
4266
- const A = s / 2, g = f.Cartesian3.multiplyByScalar(o, A, new f.Cartesian3()), y = f.Cartesian3.multiplyByScalar(o, -A, new f.Cartesian3()), L = f.Cartesian3.add(c, g, new f.Cartesian3()), I = f.Cartesian3.add(c, y, new f.Cartesian3());
4267
- r.push(L), e.push(I);
4261
+ const A = s / 2, g = f.Cartesian3.multiplyByScalar(o, A, new f.Cartesian3()), y = f.Cartesian3.multiplyByScalar(o, -A, new f.Cartesian3()), L = f.Cartesian3.add(c, g, new f.Cartesian3()), m = f.Cartesian3.add(c, y, new f.Cartesian3());
4262
+ r.push(L), e.push(m);
4268
4263
  }
4269
4264
  const a = [];
4270
4265
  return a.push(...r), a.push(...e.reverse()), a.push(r[0]), {
@@ -4288,7 +4283,7 @@ class Ws {
4288
4283
  * @param distanceConfig 距离规则配置,null表示不应用规则
4289
4284
  * @param featureType 地物类型,用于获取对应类型的规则配置
4290
4285
  */
4291
- calcResult(t, s, r, e, a = this.distanceRuleConfig, n = [], W = q.树木) {
4286
+ calcResult(t, s, r, e, a = this.distanceRuleConfig, n = [], W = U.树木) {
4292
4287
  if (this.entityCollectionplotting.values.length >= this.maxVisibleResults)
4293
4288
  return;
4294
4289
  const u = `${t[0].toFixed(6)}_${t[1].toFixed(6)}_${t[2].toFixed(2)}`;
@@ -4310,7 +4305,7 @@ class Ws {
4310
4305
  * @param featureType 地物类型,用于获取对应类型的规则配置
4311
4306
  * @returns MeasurementResult 测量结果对象
4312
4307
  */
4313
- calcResultSingleWire(t, s, r, e = this.distanceRuleConfig, a = q.树木) {
4308
+ calcResultSingleWire(t, s, r, e = this.distanceRuleConfig, a = U.树木) {
4314
4309
  if (this.entityCollectionplotting.values.length >= this.maxVisibleResults)
4315
4310
  return null;
4316
4311
  const n = [
@@ -4367,7 +4362,7 @@ class Ws {
4367
4362
  * 获取线间距离规则配置
4368
4363
  */
4369
4364
  getWireToWireDistanceRuleConfig() {
4370
- const t = new Vt();
4365
+ const t = new Yt();
4371
4366
  return t.phaseRules = new Map(this.wireToWireDistanceRuleConfig.phaseRules), t;
4372
4367
  }
4373
4368
  /**
@@ -4480,7 +4475,7 @@ class Ws {
4480
4475
  * 创建默认的线间距离规则配置
4481
4476
  */
4482
4477
  createDefaultWireToWireDistanceRuleConfig() {
4483
- const t = new Vt(), s = {
4478
+ const t = new Yt(), s = {
4484
4479
  distanceLevels: [
4485
4480
  { name: "危险", minDistance: 0, maxDistance: 3, color: "#ff0000", isAlarm: !0 },
4486
4481
  { name: "警告", minDistance: 3, maxDistance: 5, color: "#ffa500", isAlarm: !0 },
@@ -4493,6 +4488,16 @@ class Ws {
4493
4488
  t.setRules(r[e], r[a], { ...s });
4494
4489
  return t;
4495
4490
  }
4491
+ /**
4492
+ * 根据实体 name 批量设置显隐
4493
+ * @param targetName 指定匹配的name值
4494
+ * @param visible 是否显示 true显示 / false隐藏
4495
+ */
4496
+ setPlottingEntityVisible(t, s) {
4497
+ const r = this.entityCollectionplotting.values;
4498
+ for (const e of r)
4499
+ e.name === t && (e.show = s);
4500
+ }
4496
4501
  }
4497
4502
  function Cs(h, t) {
4498
4503
  let s = 0;
@@ -4513,15 +4518,15 @@ function ds(h, t) {
4513
4518
  return [s, r];
4514
4519
  }
4515
4520
  const Ts = Math.sqrt(50), ps = Math.sqrt(10), As = Math.sqrt(2);
4516
- function St(h, t, s) {
4521
+ function _t(h, t, s) {
4517
4522
  const r = (t - h) / Math.max(0, s), e = Math.floor(Math.log10(r)), a = r / Math.pow(10, e), n = a >= Ts ? 10 : a >= ps ? 5 : a >= As ? 2 : 1;
4518
4523
  let W, u, c;
4519
- return e < 0 ? (c = Math.pow(10, -e) / n, W = Math.round(h * c), u = Math.round(t * c), W / c < h && ++W, u / c > t && --u, c = -c) : (c = Math.pow(10, e) * n, W = Math.round(h / c), u = Math.round(t / c), W * c < h && ++W, u * c > t && --u), u < W && 0.5 <= s && s < 2 ? St(h, t, s * 2) : [W, u, c];
4524
+ return e < 0 ? (c = Math.pow(10, -e) / n, W = Math.round(h * c), u = Math.round(t * c), W / c < h && ++W, u / c > t && --u, c = -c) : (c = Math.pow(10, e) * n, W = Math.round(h / c), u = Math.round(t / c), W * c < h && ++W, u * c > t && --u), u < W && 0.5 <= s && s < 2 ? _t(h, t, s * 2) : [W, u, c];
4520
4525
  }
4521
4526
  function ws(h, t, s) {
4522
4527
  if (t = +t, h = +h, s = +s, !(s > 0)) return [];
4523
4528
  if (h === t) return [h];
4524
- const r = t < h, [e, a, n] = r ? St(t, h, s) : St(h, t, s);
4529
+ const r = t < h, [e, a, n] = r ? _t(t, h, s) : _t(h, t, s);
4525
4530
  if (!(a >= e)) return [];
4526
4531
  const W = a - e + 1, u = new Array(W);
4527
4532
  if (r)
@@ -4532,7 +4537,7 @@ function ws(h, t, s) {
4532
4537
  return u;
4533
4538
  }
4534
4539
  function Ls(h, t, s) {
4535
- return t = +t, h = +h, s = +s, St(h, t, s)[2];
4540
+ return t = +t, h = +h, s = +s, _t(h, t, s)[2];
4536
4541
  }
4537
4542
  function gs(h, t, s) {
4538
4543
  let r;
@@ -4597,14 +4602,14 @@ var ft = [
4597
4602
  [[[0.5, 1], [1, 1.5]]],
4598
4603
  []
4599
4604
  ];
4600
- function Ss() {
4605
+ function _s() {
4601
4606
  var h = 1, t = 1, s = Is, r = u;
4602
4607
  function e(c) {
4603
4608
  var i = s(c);
4604
4609
  if (Array.isArray(i))
4605
4610
  i = i.slice().sort(Bs);
4606
4611
  else {
4607
- const l = ds(c, _s);
4612
+ const l = ds(c, Ss);
4608
4613
  for (i = ws(...gs(l[0], l[1], i), i); i[i.length - 1] >= l[1]; ) i.pop();
4609
4614
  for (; i[1] < l[0]; ) i.shift();
4610
4615
  }
@@ -4629,20 +4634,20 @@ function Ss() {
4629
4634
  };
4630
4635
  }
4631
4636
  function n(c, i, l) {
4632
- var T = new Array(), p = new Array(), o, A, g, y, L, I;
4633
- for (o = A = -1, y = At(c[0], i), ft[y << 1].forEach(B); ++o < h - 1; )
4634
- g = y, y = At(c[o + 1], i), ft[g | y << 1].forEach(B);
4637
+ var T = new Array(), p = new Array(), o, A, g, y, L, m;
4638
+ for (o = A = -1, y = Tt(c[0], i), ft[y << 1].forEach(B); ++o < h - 1; )
4639
+ g = y, y = Tt(c[o + 1], i), ft[g | y << 1].forEach(B);
4635
4640
  for (ft[y << 0].forEach(B); ++A < t - 1; ) {
4636
- for (o = -1, y = At(c[A * h + h], i), L = At(c[A * h], i), ft[y << 1 | L << 2].forEach(B); ++o < h - 1; )
4637
- g = y, y = At(c[A * h + h + o + 1], i), I = L, L = At(c[A * h + o + 1], i), ft[g | y << 1 | L << 2 | I << 3].forEach(B);
4641
+ for (o = -1, y = Tt(c[A * h + h], i), L = Tt(c[A * h], i), ft[y << 1 | L << 2].forEach(B); ++o < h - 1; )
4642
+ g = y, y = Tt(c[A * h + h + o + 1], i), m = L, L = Tt(c[A * h + o + 1], i), ft[g | y << 1 | L << 2 | m << 3].forEach(B);
4638
4643
  ft[y | L << 3].forEach(B);
4639
4644
  }
4640
4645
  for (o = -1, L = c[A * h] >= i, ft[L << 2].forEach(B); ++o < h - 1; )
4641
- I = L, L = At(c[A * h + o + 1], i), ft[L << 2 | I << 3].forEach(B);
4646
+ m = L, L = Tt(c[A * h + o + 1], i), ft[L << 2 | m << 3].forEach(B);
4642
4647
  ft[L << 3].forEach(B);
4643
4648
  function B(v) {
4644
- var b = [v[0][0] + o, v[0][1] + A], M = [v[1][0] + o, v[1][1] + A], S = W(b), R = W(M), E, D;
4645
- (E = p[S]) ? (D = T[R]) ? (delete p[E.end], delete T[D.start], E === D ? (E.ring.push(M), l(E.ring)) : T[E.start] = p[D.end] = { start: E.start, end: D.end, ring: E.ring.concat(D.ring) }) : (delete p[E.end], E.ring.push(M), p[E.end = R] = E) : (E = T[R]) ? (D = p[S]) ? (delete T[E.start], delete p[D.end], E === D ? (E.ring.push(M), l(E.ring)) : T[D.start] = p[E.end] = { start: D.start, end: E.end, ring: D.ring.concat(E.ring) }) : (delete T[E.start], E.ring.unshift(b), T[E.start = S] = E) : T[S] = p[R] = { start: S, end: R, ring: [b, M] };
4649
+ var b = [v[0][0] + o, v[0][1] + A], M = [v[1][0] + o, v[1][1] + A], _ = W(b), R = W(M), E, D;
4650
+ (E = p[_]) ? (D = T[R]) ? (delete p[E.end], delete T[D.start], E === D ? (E.ring.push(M), l(E.ring)) : T[E.start] = p[D.end] = { start: E.start, end: D.end, ring: E.ring.concat(D.ring) }) : (delete p[E.end], E.ring.push(M), p[E.end = R] = E) : (E = T[R]) ? (D = p[_]) ? (delete T[E.start], delete p[D.end], E === D ? (E.ring.push(M), l(E.ring)) : T[D.start] = p[E.end] = { start: D.start, end: E.end, ring: D.ring.concat(E.ring) }) : (delete T[E.start], E.ring.unshift(b), T[E.start = _] = E) : T[_] = p[R] = { start: _, end: R, ring: [b, M] };
4646
4651
  }
4647
4652
  }
4648
4653
  function W(c) {
@@ -4665,10 +4670,10 @@ function Ss() {
4665
4670
  return arguments.length ? (r = c ? u : Rs, e) : r === u;
4666
4671
  }, e;
4667
4672
  }
4668
- function _s(h) {
4673
+ function Ss(h) {
4669
4674
  return isFinite(h) ? h : NaN;
4670
4675
  }
4671
- function At(h, t) {
4676
+ function Tt(h, t) {
4672
4677
  return h == null ? !1 : +h >= t;
4673
4678
  }
4674
4679
  function Nt(h) {
@@ -4777,8 +4782,8 @@ class Fs {
4777
4782
  for (let o = 0; o < c; o++) {
4778
4783
  const A = a - o * W;
4779
4784
  for (let g = 0; g < u; g++) {
4780
- const y = s + g * W, L = await this.getHeightFromTerrain(y, A), I = o * u + g;
4781
- if (T[I] = L, p.push({ longitude: y, latitude: A, height: L }), l++, l % 100 === 0) {
4785
+ const y = s + g * W, L = await this.getHeightFromTerrain(y, A), m = o * u + g;
4786
+ if (T[m] = L, p.push({ longitude: y, latitude: A, height: L }), l++, l % 100 === 0) {
4782
4787
  const B = (l / i * 100).toFixed(1);
4783
4788
  console.log(`[d3-contour] 网格点生成进度: ${l}/${i} (${B}%)`);
4784
4789
  }
@@ -4809,7 +4814,7 @@ class Fs {
4809
4814
  const a = Math.floor(Math.min(...e) / r) * r, n = Math.ceil(Math.max(...e) / r) * r, W = [];
4810
4815
  for (let i = a; i <= n; i += r)
4811
4816
  W.push(i);
4812
- const c = Ss().size([t.width, t.height]).thresholds(W)(t.values);
4817
+ const c = _s().size([t.width, t.height]).thresholds(W)(t.values);
4813
4818
  return console.log(`[d3-contour] d3-contour 生成了 ${c.length} 条等高线`), c.forEach((i) => {
4814
4819
  const l = {
4815
4820
  height: i.value,
@@ -4833,8 +4838,8 @@ class Fs {
4833
4838
  * 获取网格点的高度值(支持小数坐标的插值)
4834
4839
  */
4835
4840
  getHeightAtGridPoint(t, s, r) {
4836
- const e = Math.floor(s), a = Math.floor(r), n = Math.min(e + 1, t.width - 1), W = Math.min(a + 1, t.height - 1), u = a * t.width + e, c = a * t.width + n, i = W * t.width + e, l = W * t.width + n, T = t.values[u] || 0, p = t.values[c] || 0, o = t.values[i] || 0, A = t.values[l] || 0, g = s - e, y = r - a, L = T * (1 - g) + p * g, I = o * (1 - g) + A * g;
4837
- return L * (1 - y) + I * y;
4841
+ const e = Math.floor(s), a = Math.floor(r), n = Math.min(e + 1, t.width - 1), W = Math.min(a + 1, t.height - 1), u = a * t.width + e, c = a * t.width + n, i = W * t.width + e, l = W * t.width + n, T = t.values[u] || 0, p = t.values[c] || 0, o = t.values[i] || 0, A = t.values[l] || 0, g = s - e, y = r - a, L = T * (1 - g) + p * g, m = o * (1 - g) + A * g;
4842
+ return L * (1 - y) + m * y;
4838
4843
  }
4839
4844
  /**
4840
4845
  * 绘制等高线到场景中 - 使用GroundPolylinePrimitive实现真正的贴地渲染
@@ -4991,25 +4996,25 @@ class Fs {
4991
4996
  const u = W.Longitude - n.Longitude, i = -(W.Latitude - n.Latitude), l = u, T = Math.sqrt(i * i + l * l), p = {
4992
4997
  dx: i / T,
4993
4998
  dy: l / T
4994
- }, o = e.width / 2, A = 6371e3, g = o / A * (180 / Math.PI), y = o / A * (180 / Math.PI) / Math.cos(a.Latitude * Math.PI / 180), L = a.Longitude - p.dx * y, I = a.Latitude - p.dy * g, B = a.Longitude + p.dx * y, v = a.Latitude + p.dy * g, b = [], M = Math.ceil(e.width / e.interval) + 1;
4999
+ }, o = e.width / 2, A = 6371e3, g = o / A * (180 / Math.PI), y = o / A * (180 / Math.PI) / Math.cos(a.Latitude * Math.PI / 180), L = a.Longitude - p.dx * y, m = a.Latitude - p.dy * g, B = a.Longitude + p.dx * y, v = a.Latitude + p.dy * g, b = [], M = Math.ceil(e.width / e.interval) + 1;
4995
5000
  for (let E = 0; E < M; E++) {
4996
- const D = E / (M - 1), $ = L + (B - L) * D, k = I + (v - I) * D, F = (D - 0.5) * e.width, Z = await this.getHeightFromTerrain($, k);
5001
+ const D = E / (M - 1), Z = L + (B - L) * D, k = m + (v - m) * D, F = (D - 0.5) * e.width, X = await this.getHeightFromTerrain(Z, k);
4997
5002
  b.push({
4998
5003
  distance: F,
4999
- height: Z,
5000
- lon: $,
5004
+ height: X,
5005
+ lon: Z,
5001
5006
  lat: k,
5002
5007
  isCenter: Math.abs(F) < e.interval / 2,
5003
5008
  isMountain: !1
5004
5009
  });
5005
5010
  }
5006
- const S = this.applyInterpolation(b, e.interpolationMethod), R = this.detectMountains(S, e.mountainThreshold, e.mountainProminence);
5011
+ const _ = this.applyInterpolation(b, e.interpolationMethod), R = this.detectMountains(_, e.mountainThreshold, e.mountainProminence);
5007
5012
  return R.forEach((E) => {
5008
- S.forEach((D) => {
5013
+ _.forEach((D) => {
5009
5014
  D.distance >= E.startDistance && D.distance <= E.endDistance && (D.isMountain = !0);
5010
5015
  });
5011
5016
  }), {
5012
- points: S,
5017
+ points: _,
5013
5018
  mountains: R
5014
5019
  };
5015
5020
  }
@@ -5387,11 +5392,11 @@ Prom: ${s.prominence.toFixed(0)}m`,
5387
5392
  g = D;
5388
5393
  for (let D = l + 1; D < W && T.height - t[D].height >= s.minPeakDiff / 2; D++)
5389
5394
  y = D;
5390
- const L = T.height - t[g].height, I = T.height - t[y].height, B = T.distance - t[g].distance, v = t[y].distance - T.distance, b = u(L, B), M = u(I, v), S = s.peakMode === "slope_only" || A >= s.minPeakDiff, R = s.peakMode === "height_diff" || b >= s.minPeakSlope && M >= s.minPeakSlope, E = s.peakMode === "both" ? A >= s.minPeakDiff && b >= s.minPeakSlope && M >= s.minPeakSlope : !0;
5395
+ const L = T.height - t[g].height, m = T.height - t[y].height, B = T.distance - t[g].distance, v = t[y].distance - T.distance, b = u(L, B), M = u(m, v), _ = s.peakMode === "slope_only" || A >= s.minPeakDiff, R = s.peakMode === "height_diff" || b >= s.minPeakSlope && M >= s.minPeakSlope, E = s.peakMode === "both" ? A >= s.minPeakDiff && b >= s.minPeakSlope && M >= s.minPeakSlope : !0;
5391
5396
  if (s.peakMode === "both") {
5392
5397
  if (!E) continue;
5393
5398
  } else if (s.peakMode === "height_diff") {
5394
- if (!S) continue;
5399
+ if (!_) continue;
5395
5400
  } else if (!R) continue;
5396
5401
  e.push({
5397
5402
  id: e.length + 1,
@@ -5423,11 +5428,11 @@ Prom: ${s.prominence.toFixed(0)}m`,
5423
5428
  g = D;
5424
5429
  for (let D = l + 1; D < W && t[D].height - T.height >= s.minValleyDiff / 2; D++)
5425
5430
  y = D;
5426
- const L = t[g].height - T.height, I = t[y].height - T.height, B = T.distance - t[g].distance, v = t[y].distance - T.distance, b = u(L, B), M = u(I, v), S = s.valleyMode === "slope_only" || A >= s.minValleyDiff, R = s.valleyMode === "height_diff" || b >= s.minValleySlope && M >= s.minValleySlope, E = s.valleyMode === "both" ? A >= s.minValleyDiff && b >= s.minValleySlope && M >= s.minValleySlope : !0;
5431
+ const L = t[g].height - T.height, m = t[y].height - T.height, B = T.distance - t[g].distance, v = t[y].distance - T.distance, b = u(L, B), M = u(m, v), _ = s.valleyMode === "slope_only" || A >= s.minValleyDiff, R = s.valleyMode === "height_diff" || b >= s.minValleySlope && M >= s.minValleySlope, E = s.valleyMode === "both" ? A >= s.minValleyDiff && b >= s.minValleySlope && M >= s.minValleySlope : !0;
5427
5432
  if (s.valleyMode === "both") {
5428
5433
  if (!E) continue;
5429
5434
  } else if (s.valleyMode === "height_diff") {
5430
- if (!S) continue;
5435
+ if (!_) continue;
5431
5436
  } else if (!R) continue;
5432
5437
  a.push({
5433
5438
  id: a.length + 1,
@@ -5742,10 +5747,10 @@ class Qs {
5742
5747
  i && i.length > 0 && u.push(...i);
5743
5748
  }), n.wireSegments1C1.forEach((i) => {
5744
5749
  i && i.length > 0 && c.push(...i);
5745
- }), console.log(`使用按塔段存储的导线数据: A相=${W.length}点, B相=${u.length}点, C相=${c.length}点`), await this.calculateClearanceBySegments(n);
5750
+ }), await this.calculateClearanceBySegments(n);
5746
5751
  else {
5747
5752
  const i = this.lineConstruction.getWireDataForChannelCalculation();
5748
- W = i.arcLine1A1, u = i.arcLine1B1, c = i.arcLine1C1, console.log(`使用整体导线数据: A相=${W.length}点, B相=${u.length}点, C相=${c.length}点`);
5753
+ W = i.arcLine1A1, u = i.arcLine1B1, c = i.arcLine1C1;
5749
5754
  }
5750
5755
  this.channelCalculation.LineChannelTerrainVerification(
5751
5756
  e,
@@ -5764,44 +5769,25 @@ class Qs {
5764
5769
  */
5765
5770
  async calculateClearanceBySegments(t) {
5766
5771
  var e, a, n;
5767
- console.log("========== 开始按塔段计算净空距离 ==========");
5768
5772
  const s = Math.max(
5769
5773
  t.wireSegments1A1.length,
5770
5774
  t.wireSegments1B1.length,
5771
5775
  t.wireSegments1C1.length
5772
- );
5773
- console.log(`塔段总数: ${s}`), console.log(`A相塔段数: ${t.wireSegments1A1.length}`), console.log(`B相塔段数: ${t.wireSegments1B1.length}`), console.log(`C相塔段数: ${t.wireSegments1C1.length}`);
5774
- const r = [];
5775
- if (t.wireSegments1A1.length > 0 && ((e = t.wireSegments1A1[0]) == null ? void 0 : e.length) > 0 ? (r.push({ key: "A", data: t.wireSegments1A1 }), console.log("A相数据有效,加入计算")) : console.log("A相数据无效或为空"), t.wireSegments1B1.length > 0 && ((a = t.wireSegments1B1[0]) == null ? void 0 : a.length) > 0 ? (r.push({ key: "B", data: t.wireSegments1B1 }), console.log("B相数据有效,加入计算")) : console.log("B相数据无效或为空"), t.wireSegments1C1.length > 0 && ((n = t.wireSegments1C1[0]) == null ? void 0 : n.length) > 0 ? (r.push({ key: "C", data: t.wireSegments1C1 }), console.log("C相数据有效,加入计算")) : console.log("C相数据无效或为空"), console.log(`有效相数: ${r.length} (${r.map((W) => W.key).join(", ")})`), r.length === 0) {
5776
- console.log("没有有效相数据,跳过净空距离计算");
5777
- return;
5778
- }
5779
- for (let W = 0; W < s; W++) {
5780
- console.log(`
5781
- --- 处理塔段 ${W} ---`);
5782
- for (const u of r) {
5783
- const c = u.data[W];
5784
- if (!c) {
5785
- console.log(`${u.key}相 塔段${W} 数据为空,跳过`);
5786
- continue;
5787
- }
5788
- if (c.length < 2) {
5789
- console.log(`${u.key}相 塔段${W} 点数不足(${c.length}点),跳过`);
5790
- continue;
5791
- }
5792
- console.log(`${u.key}相 塔段${W}: ${c.length}个点,开始计算净空距离`);
5793
- try {
5794
- await this.channelCalculation.calculateAndDrawWireToGroundDistanceByType(
5795
- c,
5796
- [K.线间距离测量]
5797
- ), console.log(`${u.key}相 塔段${W} 净空距离计算完成`);
5798
- } catch (i) {
5799
- console.error(`${u.key}相 塔段${W} 净空距离计算失败:`, i);
5776
+ ), r = [];
5777
+ if (t.wireSegments1A1.length > 0 && ((e = t.wireSegments1A1[0]) == null ? void 0 : e.length) > 0 && r.push({ key: "A", data: t.wireSegments1A1 }), t.wireSegments1B1.length > 0 && ((a = t.wireSegments1B1[0]) == null ? void 0 : a.length) > 0 && r.push({ key: "B", data: t.wireSegments1B1 }), t.wireSegments1C1.length > 0 && ((n = t.wireSegments1C1[0]) == null ? void 0 : n.length) > 0 && r.push({ key: "C", data: t.wireSegments1C1 }), r.length !== 0)
5778
+ for (let W = 0; W < s; W++)
5779
+ for (const u of r) {
5780
+ const c = u.data[W];
5781
+ if (c && !(c.length < 2))
5782
+ try {
5783
+ await this.channelCalculation.calculateAndDrawWireToGroundDistanceByType(
5784
+ c,
5785
+ [q.线间距离测量]
5786
+ );
5787
+ } catch (i) {
5788
+ console.error(`${u.key}相 塔段${W} 净空距离计算失败:`, i);
5789
+ }
5800
5790
  }
5801
- }
5802
- }
5803
- console.log(`
5804
- ========== 按塔段净空距离计算完成 ==========`);
5805
5791
  }
5806
5792
  /**
5807
5793
  * 按杆塔号范围进行地物校验(基于线路中心线的带状区域筛选)
@@ -5817,109 +5803,101 @@ class Qs {
5817
5803
  * @param phase 相序:ABC-全部,A-A相,B-B相,C-C相,AB-A/B相,AC-A/C相,BC-B/C相,默认ABC
5818
5804
  */
5819
5805
  LineChannelTerrainVerificationByTowerRange(t, s, r, e = 100, a = 2e3, n = !1, W = !0, u = [], c = 0, i = "ABC") {
5820
- debugger;
5821
5806
  const l = this.LineInfo.towers;
5822
5807
  let T = -1, p = -1;
5823
- for (let _ = 0; _ < l.length; _++)
5824
- (l[_].id == t || l[_].name == t) && (T = _), (l[_].id == s || l[_].name == s) && (p = _);
5808
+ for (let S = 0; S < l.length; S++)
5809
+ (l[S].id == t || l[S].name == t) && (T = S), (l[S].id == s || l[S].name == s) && (p = S);
5825
5810
  if (T === -1 || p === -1) {
5826
5811
  console.warn("未找到指定的杆塔范围,使用全部线路进行校验");
5827
5812
  return;
5828
5813
  }
5829
5814
  T > p && ([T, p] = [p, T]);
5830
5815
  const o = this.lineConstruction.getAllWireSegments();
5831
- console.log(`获取到的导线数据: 回路1-A相${o.wireSegments1A1.length}段, B相${o.wireSegments1B1.length}段, C相${o.wireSegments1C1.length}段; 回路2-A相${o.wireSegments2A1.length}段, B相${o.wireSegments2B1.length}段, C相${o.wireSegments2C1.length}段`), console.log(`杆塔索引范围: ${T} - ${p}`);
5832
- let A = o.wireSegments1A1, g = o.wireSegments1B1, y = o.wireSegments1C1, L = [], I = [], B = [];
5833
- (c === 0 || c === 2) && (L = o.wireSegments2A1, I = o.wireSegments2B1, B = o.wireSegments2C1);
5834
- const v = [], b = [], M = [], S = [], R = [], E = [];
5835
- for (let _ = T + 1; _ <= p; _++)
5836
- console.log(`检查塔段索引${_}: 回路1-A相存在=${!!A[_]}, B相存在=${!!g[_]}, C相存在=${!!y[_]}; 回路2-A相存在=${!!L[_]}, B相存在=${!!I[_]}, C相存在=${!!B[_]}`), (c === 0 || c === 1) && (A[_] && v.push(A[_]), g[_] && b.push(g[_]), y[_] && M.push(y[_])), (c === 0 || c === 2) && (L[_] && S.push(L[_]), I[_] && R.push(I[_]), B[_] && E.push(B[_]));
5837
- console.log(`塔段范围 ${T}-${p}: 回路1-A相${v.length}段, B相${b.length}段, C相${M.length}段; 回路2-A相${S.length}段, B相${R.length}段, C相${E.length}段`);
5838
- const D = [], $ = [], k = [], F = [], Z = [], X = [];
5839
- for (let _ = 0; _ < v.length; _++)
5840
- D.push(...v[_]);
5841
- for (let _ = 0; _ < b.length; _++)
5842
- $.push(...b[_]);
5843
- for (let _ = 0; _ < M.length; _++)
5844
- k.push(...M[_]);
5845
- for (let _ = 0; _ < S.length; _++)
5846
- F.push(...S[_]);
5847
- for (let _ = 0; _ < R.length; _++)
5848
- Z.push(...R[_]);
5849
- for (let _ = 0; _ < E.length; _++)
5850
- X.push(...E[_]);
5851
- i === "A" ? ($.splice(0), k.splice(0), Z.splice(0), X.splice(0)) : i === "B" ? (D.splice(0), k.splice(0), F.splice(0), X.splice(0)) : i === "C" ? (D.splice(0), $.splice(0), F.splice(0), Z.splice(0)) : i === "AB" ? (k.splice(0), X.splice(0)) : i === "AC" ? ($.splice(0), Z.splice(0)) : i === "BC" && (D.splice(0), F.splice(0)), console.log(`导线数据状态(回路${c},相序${i}): 回路1-A相=${D.length}, B相=${$.length}, C相=${k.length}; 回路2-A相=${F.length}, B相=${Z.length}, C相=${X.length}`);
5852
- const Y = this.terrainConstruction.getLineInfo().corridor_features, V = this.terrainConstruction.getOffsetTrees();
5853
- console.log(`总树木数量: ${Y.length}`);
5854
- const O = l.slice(T, p + 1), Lt = cs(O, a);
5816
+ let A = o.wireSegments1A1, g = o.wireSegments1B1, y = o.wireSegments1C1, L = [], m = [], B = [];
5817
+ (c === 0 || c === 2) && (L = o.wireSegments2A1, m = o.wireSegments2B1, B = o.wireSegments2C1);
5818
+ const v = [], b = [], M = [], _ = [], R = [], E = [];
5819
+ for (let S = T + 1; S <= p; S++)
5820
+ (c === 0 || c === 1) && (A[S] && v.push(A[S]), g[S] && b.push(g[S]), y[S] && M.push(y[S])), (c === 0 || c === 2) && (L[S] && _.push(L[S]), m[S] && R.push(m[S]), B[S] && E.push(B[S]));
5821
+ const D = [], Z = [], k = [], F = [], X = [], $ = [];
5822
+ for (let S = 0; S < v.length; S++)
5823
+ D.push(...v[S]);
5824
+ for (let S = 0; S < b.length; S++)
5825
+ Z.push(...b[S]);
5826
+ for (let S = 0; S < M.length; S++)
5827
+ k.push(...M[S]);
5828
+ for (let S = 0; S < _.length; S++)
5829
+ F.push(..._[S]);
5830
+ for (let S = 0; S < R.length; S++)
5831
+ X.push(...R[S]);
5832
+ for (let S = 0; S < E.length; S++)
5833
+ $.push(...E[S]);
5834
+ i === "A" ? (Z.splice(0), k.splice(0), X.splice(0), $.splice(0)) : i === "B" ? (D.splice(0), k.splice(0), F.splice(0), $.splice(0)) : i === "C" ? (D.splice(0), Z.splice(0), F.splice(0), X.splice(0)) : i === "AB" ? (k.splice(0), $.splice(0)) : i === "AC" ? (Z.splice(0), X.splice(0)) : i === "BC" && (D.splice(0), F.splice(0));
5835
+ const Y = this.terrainConstruction.getLineInfo().corridor_features, V = this.terrainConstruction.getOffsetTrees(), O = l.slice(T, p + 1), wt = cs(O, a);
5855
5836
  if (n) {
5856
- if (Lt.length > 0) {
5857
- this.channelCalculation.drawCorridorPolygon(Lt, `corridor-${t}-${s}`);
5858
- const _ = O.map((ut) => [
5837
+ if (wt.length > 0) {
5838
+ this.channelCalculation.drawCorridorPolygon(wt, `corridor-${t}-${s}`);
5839
+ const S = O.map((ut) => [
5859
5840
  ut.Longitude,
5860
5841
  ut.Latitude
5861
5842
  ]);
5862
- this.channelCalculation.drawCorridorDistanceMarkers(_, a, `corridor-${t}-${s}`, W);
5843
+ this.channelCalculation.drawCorridorDistanceMarkers(S, a, `corridor-${t}-${s}`, W);
5863
5844
  }
5864
5845
  } else
5865
5846
  this.channelCalculation.clearCorridorPolygon(), this.channelCalculation.clearCorridorDistanceMarkers();
5866
- const Tt = ls(Y, Lt);
5867
- console.log(`通道内树木数量: ${Tt.length}`);
5868
- const J = [], yt = /* @__PURE__ */ new Map();
5869
- if (Y.forEach((_, ut) => {
5870
- yt.set(_, ut);
5871
- }), Tt.forEach((_) => {
5872
- const ut = yt.get(_);
5873
- ut !== void 0 && J.push(V[ut]);
5874
- }), Tt.length === 0) {
5847
+ const Lt = ls(Y, wt), G = [], mt = /* @__PURE__ */ new Map();
5848
+ if (Y.forEach((S, ut) => {
5849
+ mt.set(S, ut);
5850
+ }), Lt.forEach((S) => {
5851
+ const ut = mt.get(S);
5852
+ ut !== void 0 && G.push(V[ut]);
5853
+ }), Lt.length === 0) {
5875
5854
  console.warn("指定杆塔范围的通道内没有找到树木"), r && r([]);
5876
5855
  return;
5877
5856
  }
5878
- const kt = D.length > 0 || $.length > 0 || k.length > 0, gt = F.length > 0 || Z.length > 0 || X.length > 0;
5857
+ const kt = D.length > 0 || Z.length > 0 || k.length > 0, gt = F.length > 0 || X.length > 0 || $.length > 0;
5879
5858
  if (!kt && !gt) {
5880
- console.error("过滤后的导线数据为空,无法进行测量"), r && r([]);
5859
+ r && r([]);
5881
5860
  return;
5882
5861
  }
5883
- console.log(`开始对${Tt.length}棵树进行测量...`);
5884
- let H = [...D], z = [...$], xt = [...k];
5885
- (c === 0 || c === 2) && gt && (H.push(...F), z.push(...Z), xt.push(...X)), this.channelCalculation.LineChannelTerrainVerificationForFilteredTrees(
5886
- Tt,
5887
- J,
5862
+ let H = [...D], K = [...Z], xt = [...k];
5863
+ (c === 0 || c === 2) && gt && (H.push(...F), K.push(...X), xt.push(...$)), this.channelCalculation.LineChannelTerrainVerificationForFilteredTrees(
5864
+ Lt,
5865
+ G,
5888
5866
  H,
5889
- z,
5867
+ K,
5890
5868
  xt,
5891
5869
  e,
5892
5870
  u,
5893
- (_) => {
5894
- if (u.includes(K.净空距离)) {
5871
+ (S) => {
5872
+ if (u.includes(q.净空距离)) {
5895
5873
  if (c === 0 || c === 1)
5896
5874
  for (let tt = 0; tt < v.length; tt++) {
5897
- const pt = T + tt, It = pt + 1, Ft = v[tt] || [], $t = b[tt] || [], Zt = M[tt] || [];
5898
- let it = [...Ft], ot = [...$t], rt = [...Zt];
5899
- i === "A" ? (ot = [], rt = []) : i === "B" ? (it = [], rt = []) : i === "C" ? (it = [], ot = []) : i === "AB" ? rt = [] : i === "AC" ? ot = [] : i === "BC" && (it = []), console.log(`计算塔段 ${pt}-${It} (回路1) 的净空距离: A相=${it.length}, B相=${ot.length}, C相=${rt.length}`), this.channelCalculation.calculateAndDrawWireToGroundDistanceBySegments(
5900
- it,
5901
- ot,
5875
+ const pt = T + tt, yt = pt + 1, Ft = v[tt] || [], Zt = b[tt] || [], Xt = M[tt] || [];
5876
+ let rt = [...Ft], nt = [...Zt], ht = [...Xt];
5877
+ i === "A" ? (nt = [], ht = []) : i === "B" ? (rt = [], ht = []) : i === "C" ? (rt = [], nt = []) : i === "AB" ? ht = [] : i === "AC" ? nt = [] : i === "BC" && (rt = []), this.channelCalculation.calculateAndDrawWireToGroundDistanceBySegments(
5902
5878
  rt,
5879
+ nt,
5880
+ ht,
5903
5881
  u
5904
- ).catch((Xt) => {
5905
- console.error(`Error calculating wire to ground distance for segment ${pt}-${It} (circuit 1):`, Xt);
5882
+ ).catch(($t) => {
5883
+ console.error(`Error calculating wire to ground distance for segment ${pt}-${yt} (circuit 1):`, $t);
5906
5884
  });
5907
5885
  }
5908
5886
  if ((c === 0 || c === 2) && gt)
5909
- for (let tt = 0; tt < S.length; tt++) {
5910
- const pt = T + tt, It = pt + 1, Ft = S[tt] || [], $t = R[tt] || [], Zt = E[tt] || [];
5911
- let it = [...Ft], ot = [...$t], rt = [...Zt];
5912
- i === "A" ? (ot = [], rt = []) : i === "B" ? (it = [], rt = []) : i === "C" ? (it = [], ot = []) : i === "AB" ? rt = [] : i === "AC" ? ot = [] : i === "BC" && (it = []), console.log(`计算塔段 ${pt}-${It} (回路2) 的净空距离: A相=${it.length}, B相=${ot.length}, C相=${rt.length}`), this.channelCalculation.calculateAndDrawWireToGroundDistanceBySegments(
5913
- it,
5914
- ot,
5887
+ for (let tt = 0; tt < _.length; tt++) {
5888
+ const pt = T + tt, yt = pt + 1, Ft = _[tt] || [], Zt = R[tt] || [], Xt = E[tt] || [];
5889
+ let rt = [...Ft], nt = [...Zt], ht = [...Xt];
5890
+ i === "A" ? (nt = [], ht = []) : i === "B" ? (rt = [], ht = []) : i === "C" ? (rt = [], nt = []) : i === "AB" ? ht = [] : i === "AC" ? nt = [] : i === "BC" && (rt = []), console.log(`计算塔段 ${pt}-${yt} (回路2) 的净空距离: A相=${rt.length}, B相=${nt.length}, C相=${ht.length}`), this.channelCalculation.calculateAndDrawWireToGroundDistanceBySegments(
5915
5891
  rt,
5892
+ nt,
5893
+ ht,
5916
5894
  u
5917
- ).catch((Xt) => {
5918
- console.error(`Error calculating wire to ground distance for segment ${pt}-${It} (circuit 2):`, Xt);
5895
+ ).catch(($t) => {
5896
+ console.error(`Error calculating wire to ground distance for segment ${pt}-${yt} (circuit 2):`, $t);
5919
5897
  });
5920
5898
  }
5921
5899
  }
5922
- r && r(_);
5900
+ r && r(S);
5923
5901
  }
5924
5902
  );
5925
5903
  }
@@ -5942,6 +5920,10 @@ class Qs {
5942
5920
  r.arcLine1C1
5943
5921
  );
5944
5922
  }
5923
+ //根据地物规则ID 批量设置显隐
5924
+ setPlottingEntityVisible(t, s) {
5925
+ this.channelCalculation.setPlottingEntityVisible(t, s);
5926
+ }
5945
5927
  /**
5946
5928
  * 禁用可视区域动态地物校验
5947
5929
  */
@@ -6221,15 +6203,12 @@ class Qs {
6221
6203
  this.selectedWire1Phase,
6222
6204
  l
6223
6205
  );
6224
- this.channelCalculation.drawWireToWireDistance(T), t && t(T), this.selectedWire1Entity = null, this.selectedWire1Data = [], this.selectedWire1Phase = N.A相, this.originalWire1Color = null, console.log(`导线间距测量完成: ${T.straightLineDistance.toFixed(2)}米`);
6206
+ this.channelCalculation.drawWireToWireDistance(T), t && t(T), this.selectedWire1Entity = null, this.selectedWire1Data = [], this.selectedWire1Phase = N.A相, this.originalWire1Color = null;
6225
6207
  } else
6226
- this.selectedWire1Entity = null, this.selectedWire1Data = [], this.selectedWire1Phase = N.A相, this.originalWire1Color = null, console.log("已取消选择导线");
6227
- else {
6228
- if (this.selectedWire1Entity = n, this.selectedWire1Data = i, this.selectedWire1Phase = l, n.polyline && n.polyline.material) {
6229
- const T = n.polyline.material;
6230
- T instanceof f.Color ? this.originalWire1Color = T.toCssColorString() : this.originalWire1Color = "#ffffff", n.polyline.material = f.Color.YELLOW;
6231
- }
6232
- console.log(`已选中第一根导线: ${["A相", "B相", "C相", "地线1", "地线2", "全部"][l]}`);
6208
+ this.selectedWire1Entity = null, this.selectedWire1Data = [], this.selectedWire1Phase = N.A相, this.originalWire1Color = null;
6209
+ else if (this.selectedWire1Entity = n, this.selectedWire1Data = i, this.selectedWire1Phase = l, n.polyline && n.polyline.material) {
6210
+ const T = n.polyline.material;
6211
+ T instanceof f.Color ? this.originalWire1Color = T.toCssColorString() : this.originalWire1Color = "#ffffff", n.polyline.material = f.Color.YELLOW;
6233
6212
  }
6234
6213
  }
6235
6214
  }
@@ -6300,7 +6279,7 @@ class js {
6300
6279
  w(this, "RollZ", 0);
6301
6280
  }
6302
6281
  }
6303
- function $s(h) {
6282
+ function Zs(h) {
6304
6283
  debugger;
6305
6284
  const t = h.split(`
6306
6285
  `), s = [], r = [], e = /^\s*(\d+)\s+([\d.-]+)\s+([\d.-]+)\s+([\d.-]+)\s+(-?\d+)/, a = /^\s*(\d+)\s+(\d+)\s+(\d+)\s*(?:#|$)/;
@@ -6327,7 +6306,7 @@ function $s(h) {
6327
6306
  }
6328
6307
  return { TowerNodes: s, connections: r };
6329
6308
  }
6330
- function Zs(h) {
6309
+ function Xs(h) {
6331
6310
  const t = h.split(`
6332
6311
  `), s = [];
6333
6312
  for (const r of t) {
@@ -6360,7 +6339,7 @@ function fe(h) {
6360
6339
  });
6361
6340
  }), t;
6362
6341
  }
6363
- function Xs(h) {
6342
+ function $s(h) {
6364
6343
  const t = h.split(`
6365
6344
  `), s = [];
6366
6345
  for (const e of t) {
@@ -6396,7 +6375,7 @@ function Xs(h) {
6396
6375
  }
6397
6376
  return { byElement: s, byTime: r };
6398
6377
  }
6399
- class Ys {
6378
+ class Vs {
6400
6379
  constructor(t) {
6401
6380
  w(this, "viewer");
6402
6381
  w(this, "lines", []);
@@ -6433,7 +6412,7 @@ var ye = { exports: {} };
6433
6412
  (function(h, t) {
6434
6413
  (function(s, r) {
6435
6414
  r();
6436
- })(mt, function() {
6415
+ })(It, function() {
6437
6416
  function s(c, i) {
6438
6417
  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(c.type) ? new Blob(["\uFEFF", c], { type: c.type }) : c;
6439
6418
  }
@@ -6462,7 +6441,7 @@ var ye = { exports: {} };
6462
6441
  i.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), c.dispatchEvent(i);
6463
6442
  }
6464
6443
  }
6465
- var n = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof mt == "object" && mt.global === mt ? mt : void 0, W = n.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent), u = n.saveAs || (typeof window != "object" || window !== n ? function() {
6444
+ var n = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof It == "object" && It.global === It ? It : void 0, W = n.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent), u = n.saveAs || (typeof window != "object" || window !== n ? function() {
6466
6445
  } : "download" in HTMLAnchorElement.prototype && !W ? function(c, i, l) {
6467
6446
  var T = n.URL || n.webkitURL, p = document.createElement("a");
6468
6447
  i = i || c.name || "download", p.download = i, p.rel = "noopener", typeof c == "string" ? (p.href = c, p.origin === location.origin ? a(p) : e(p.href) ? r(c, i, l) : a(p, p.target = "_blank")) : (p.href = T.createObjectURL(c), setTimeout(function() {
@@ -6485,8 +6464,8 @@ var ye = { exports: {} };
6485
6464
  if ((A || p && o || W) && typeof FileReader < "u") {
6486
6465
  var g = new FileReader();
6487
6466
  g.onloadend = function() {
6488
- var I = g.result;
6489
- I = A ? I : I.replace(/^data:[^;]*;/, "data:attachment/file;"), T ? T.location.href = I : location = I, T = null;
6467
+ var m = g.result;
6468
+ m = A ? m : m.replace(/^data:[^;]*;/, "data:attachment/file;"), T ? T.location.href = m : location = m, T = null;
6490
6469
  }, g.readAsDataURL(c);
6491
6470
  } else {
6492
6471
  var y = n.URL || n.webkitURL, L = y.createObjectURL(c);
@@ -6500,7 +6479,7 @@ var ye = { exports: {} };
6500
6479
  })(ye);
6501
6480
  var Jt = ye.exports;
6502
6481
  const ae = require("shp-write");
6503
- class Vs {
6482
+ class Ys {
6504
6483
  // constructor(viewer: Cesium.Viewer, towerNodes: TowerNode[], connections: Connection[], towerFZS: TowerFZInfo) {
6505
6484
  constructor(t, s, r) {
6506
6485
  // private viewer: Cesium.Viewer;
@@ -6569,7 +6548,7 @@ class Vs {
6569
6548
  for (const e of this.connections) {
6570
6549
  const a = this.towerNodes.find((B) => B.id === e.from), n = this.towerNodes.find((B) => B.id === e.to);
6571
6550
  if (!a || !n) continue;
6572
- const W = new f.Cartesian3(a.x, a.y, a.z), u = new f.Cartesian3(n.x, n.y, n.z), c = this.getPositionByHprAndOffset(r, W, s), i = this.getPositionByHprAndOffset(r, u, s), l = f.Ellipsoid.WGS84.cartesianToCartographic(c), T = f.Ellipsoid.WGS84.cartesianToCartographic(i), p = f.Math.toDegrees(l.longitude), o = f.Math.toDegrees(l.latitude), A = l.height, g = f.Math.toDegrees(T.longitude), y = f.Math.toDegrees(T.latitude), L = T.height, I = {
6551
+ const W = new f.Cartesian3(a.x, a.y, a.z), u = new f.Cartesian3(n.x, n.y, n.z), c = this.getPositionByHprAndOffset(r, W, s), i = this.getPositionByHprAndOffset(r, u, s), l = f.Ellipsoid.WGS84.cartesianToCartographic(c), T = f.Ellipsoid.WGS84.cartesianToCartographic(i), p = f.Math.toDegrees(l.longitude), o = f.Math.toDegrees(l.latitude), A = l.height, g = f.Math.toDegrees(T.longitude), y = f.Math.toDegrees(T.latitude), L = T.height, m = {
6573
6552
  type: "Feature",
6574
6553
  geometry: {
6575
6554
  type: "LineString",
@@ -6599,7 +6578,7 @@ class Vs {
6599
6578
  to_latitude: y
6600
6579
  }
6601
6580
  };
6602
- t.push(I);
6581
+ t.push(m);
6603
6582
  }
6604
6583
  return t;
6605
6584
  }
@@ -6740,7 +6719,7 @@ class xs {
6740
6719
  w(this, "byTimes", []);
6741
6720
  // 或者如果是Node.js环境:
6742
6721
  w(this, "_animationInterval", null);
6743
- this.Keym = r, this.viewer = t, this.TowerFZS = s, this.dataSource2 = new f.CustomDataSource(this.TowerFZS.id), this.entityCollection2 = this.dataSource2.entities, this.TowerLineManager = new Ys(this.viewer);
6722
+ this.Keym = r, this.viewer = t, this.TowerFZS = s, this.dataSource2 = new f.CustomDataSource(this.TowerFZS.id), this.entityCollection2 = this.dataSource2.entities, this.TowerLineManager = new Vs(this.viewer);
6744
6723
  }
6745
6724
  // 类的构造函数,用于初始化属性
6746
6725
  // private shpExporter: TowerSHPExporter;
@@ -6750,9 +6729,9 @@ class xs {
6750
6729
  loadfile() {
6751
6730
  if (this.Keym != "OW_JPS_EEngin_001")
6752
6731
  return;
6753
- const { TowerNodes: t, connections: s } = $s(this.TowerFZS.towerFZinfo);
6754
- this.TowerNodes = t, this.connections = s, this.displacementData = Zs(this.TowerFZS.towerDisFile);
6755
- const { byTime: r } = Xs(this.TowerFZS.stressFileContent);
6732
+ const { TowerNodes: t, connections: s } = Zs(this.TowerFZS.towerFZinfo);
6733
+ this.TowerNodes = t, this.connections = s, this.displacementData = Xs(this.TowerFZS.towerDisFile);
6734
+ const { byTime: r } = $s(this.TowerFZS.stressFileContent);
6756
6735
  this.byTimes = r;
6757
6736
  debugger;
6758
6737
  }
@@ -6795,7 +6774,7 @@ class xs {
6795
6774
  }
6796
6775
  // 使用修复后的SHP导出器
6797
6776
  async exportToSHP() {
6798
- await new Vs(
6777
+ await new Ys(
6799
6778
  this.TowerNodes,
6800
6779
  this.connections,
6801
6780
  this.TowerFZS
@@ -6875,7 +6854,7 @@ class xs {
6875
6854
  }
6876
6855
  );
6877
6856
  this.pointEntities.push(y);
6878
- const L = [o, g], I = W.from + "-" + W.to, B = e == null ? void 0 : e.elements.find((v) => v.elementId === I);
6857
+ const L = [o, g], m = W.from + "-" + W.to, B = e == null ? void 0 : e.elements.find((v) => v.elementId === m);
6879
6858
  debugger;
6880
6859
  this.TowerLineManager.addLine(L, {
6881
6860
  color: B == null ? void 0 : B.ylbColor,
@@ -6955,8 +6934,8 @@ export {
6955
6934
  Ie as DistanceRuleConfig,
6956
6935
  Js as GUAPoint,
6957
6936
  Us as InsulatorInfo,
6958
- G as InsulatorType,
6959
- Ys as LineManager,
6937
+ z as InsulatorType,
6938
+ Vs as LineManager,
6960
6939
  Dt as LineNum,
6961
6940
  ss as LineType,
6962
6941
  qs as MeasurementResult,
@@ -6966,10 +6945,10 @@ export {
6966
6945
  js as TowerFZInfo,
6967
6946
  Ks as TowerInfo,
6968
6947
  Gs as TowerLineInfo,
6969
- nt as TowerType,
6970
- m as WairnumType,
6948
+ it as TowerType,
6949
+ I as WairnumType,
6971
6950
  zs as corFeatureType,
6972
- q as corType,
6951
+ U as corType,
6973
6952
  le as drawModel,
6974
- K as primaryDistanceType
6953
+ q as primaryDistanceType
6975
6954
  };