ow-eengine-power 2.4.4 → 2.4.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.
@@ -1,41 +1,41 @@
1
- var _s = Object.defineProperty;
2
- var vs = (a, o, i) => o in a ? _s(a, o, { enumerable: !0, configurable: !0, writable: !0, value: i }) : a[o] = i;
3
- var w = (a, o, i) => vs(a, typeof o != "symbol" ? o + "" : o, i);
1
+ var Ss = Object.defineProperty;
2
+ var ks = (a, e, t) => e in a ? Ss(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t;
3
+ var w = (a, e, t) => ks(a, typeof e != "symbol" ? e + "" : e, t);
4
4
  import * as n from "cesium";
5
- import { Color as V, HeightReference as Ms, LabelStyle as ks } from "cesium";
6
- function Ss(a, o, i = {}) {
5
+ import { Color as J, HeightReference as Rs, LabelStyle as Zs } from "cesium";
6
+ function Es(a, e, t = {}) {
7
7
  const {
8
- color: r = V.WHITE,
8
+ color: r = J.WHITE,
9
9
  width: s = 3,
10
- clampToGround: C = !1,
10
+ clampToGround: T = !1,
11
11
  zIndex: W = 0,
12
12
  dashed: L = !1,
13
- dashLength: p = 10
14
- } = i, d = L ? new n.PolylineDashMaterialProperty({
13
+ dashLength: A = 10
14
+ } = t, d = L ? new n.PolylineDashMaterialProperty({
15
15
  color: r,
16
- dashLength: p
16
+ dashLength: A
17
17
  }) : new n.ColorMaterialProperty(r);
18
18
  return a.entities.add({
19
19
  polyline: {
20
- positions: o,
20
+ positions: e,
21
21
  width: s,
22
22
  material: d,
23
- clampToGround: C,
23
+ clampToGround: T,
24
24
  zIndex: W
25
25
  }
26
26
  });
27
27
  }
28
- function h(a, o, i = 10, r = "#ba1919", s, C = !1) {
28
+ function h(a, e, t = 10, r = "#ba1919", s, T = !1) {
29
29
  const W = {
30
30
  show: !0,
31
31
  positions: a,
32
- clampToGround: C,
33
- width: i,
32
+ clampToGround: T,
33
+ width: t,
34
34
  material: n.Color.fromCssColorString(r),
35
35
  arcType: n.ArcType.NONE,
36
36
  shadows: n.ShadowMode.DISABLED,
37
37
  // 关键优化:减少动态采样,提升静态线性能
38
- granularity: C ? void 0 : 0
38
+ granularity: T ? void 0 : 0
39
39
  // 贴地线需要采样,空间线则无需
40
40
  };
41
41
  let L;
@@ -43,10 +43,10 @@ function h(a, o, i = 10, r = "#ba1919", s, C = !1) {
43
43
  L[0],
44
44
  L[1]
45
45
  ), {
46
- name: o,
46
+ name: e,
47
47
  // 2. 按需加载标签:默认不显示,或同样受距离控制
48
48
  label: {
49
- text: o,
49
+ text: e,
50
50
  font: "18px sans-serif",
51
51
  distanceDisplayCondition: new n.DistanceDisplayCondition(
52
52
  L[0],
@@ -57,11 +57,11 @@ function h(a, o, i = 10, r = "#ba1919", s, C = !1) {
57
57
  polyline: W
58
58
  };
59
59
  }
60
- function Zs(a, o, i, r, s = new n.HeadingPitchRoll(0, 0, 0), C = 1, W) {
60
+ function Cs(a, e, t, r, s = new n.HeadingPitchRoll(0, 0, 0), T = 1, W) {
61
61
  const L = {
62
62
  show: !0,
63
63
  uri: r,
64
- scale: C,
64
+ scale: T,
65
65
  // // 添加渐变过渡
66
66
  // minimumPixelSize: 64, // 最小像素尺寸
67
67
  // maximumScale: 20000, // 最大缩放比例
@@ -76,146 +76,146 @@ function Zs(a, o, i, r, s = new n.HeadingPitchRoll(0, 0, 0), C = 1, W) {
76
76
  W[1]
77
77
  ) : L.distanceDisplayCondition = W), {
78
78
  id: a,
79
- name: i,
80
- position: o,
79
+ name: t,
80
+ position: e,
81
81
  orientation: n.Transforms.headingPitchRollQuaternion(
82
- o,
82
+ e,
83
83
  s
84
84
  ),
85
85
  model: L
86
86
  };
87
87
  }
88
- function es(a, o, i, r = {}) {
88
+ function os(a, e, t, r = {}) {
89
89
  const {
90
- pointColor: s = V.YELLOW,
91
- pointSize: C = 12,
92
- labelColor: W = V.WHITE,
90
+ pointColor: s = J.YELLOW,
91
+ pointSize: T = 12,
92
+ labelColor: W = J.WHITE,
93
93
  fontSize: L = 16,
94
- pixelOffset: p = [0, -20],
95
- heightReference: d = Ms.NONE
94
+ pixelOffset: A = [0, -20],
95
+ heightReference: d = Rs.NONE
96
96
  } = r;
97
97
  return a.entities.add({
98
- position: o,
98
+ position: e,
99
99
  point: {
100
100
  color: s,
101
- pixelSize: C,
101
+ pixelSize: T,
102
102
  heightReference: d,
103
103
  distanceDisplayCondition: new n.DistanceDisplayCondition(0, 100)
104
104
  // 显示距离范围
105
105
  },
106
106
  label: {
107
- text: i,
107
+ text: t,
108
108
  font: `${L}px sans-serif`,
109
109
  fillColor: W,
110
- pixelOffset: new n.Cartesian2(...p),
111
- style: ks.FILL_AND_OUTLINE,
110
+ pixelOffset: new n.Cartesian2(...A),
111
+ style: Zs.FILL_AND_OUTLINE,
112
112
  outlineWidth: 2,
113
- outlineColor: V.BLACK,
113
+ outlineColor: J.BLACK,
114
114
  heightReference: d,
115
115
  distanceDisplayCondition: new n.DistanceDisplayCondition(0, 100)
116
116
  // 显示距离范围
117
117
  }
118
118
  });
119
119
  }
120
- var G = 63710088e-1, ws = {
121
- centimeters: G * 100,
122
- centimetres: G * 100,
123
- degrees: G / 111325,
124
- feet: G * 3.28084,
125
- inches: G * 39.37,
126
- kilometers: G / 1e3,
127
- kilometres: G / 1e3,
128
- meters: G,
129
- metres: G,
130
- miles: G / 1609.344,
131
- millimeters: G * 1e3,
132
- millimetres: G * 1e3,
133
- nauticalmiles: G / 1852,
120
+ var N = 63710088e-1, Bs = {
121
+ centimeters: N * 100,
122
+ centimetres: N * 100,
123
+ degrees: N / 111325,
124
+ feet: N * 3.28084,
125
+ inches: N * 39.37,
126
+ kilometers: N / 1e3,
127
+ kilometres: N / 1e3,
128
+ meters: N,
129
+ metres: N,
130
+ miles: N / 1609.344,
131
+ millimeters: N * 1e3,
132
+ millimetres: N * 1e3,
133
+ nauticalmiles: N / 1852,
134
134
  radians: 1,
135
- yards: G * 1.0936
135
+ yards: N * 1.0936
136
136
  };
137
- function is(a, o, i) {
138
- i === void 0 && (i = {});
137
+ function ts(a, e, t) {
138
+ t === void 0 && (t = {});
139
139
  var r = { type: "Feature" };
140
- return (i.id === 0 || i.id) && (r.id = i.id), i.bbox && (r.bbox = i.bbox), r.properties = o || {}, r.geometry = a, r;
140
+ return (t.id === 0 || t.id) && (r.id = t.id), t.bbox && (r.bbox = t.bbox), r.properties = e || {}, r.geometry = a, r;
141
141
  }
142
- function U(a, o, i) {
143
- if (i === void 0 && (i = {}), !a)
142
+ function U(a, e, t) {
143
+ if (t === void 0 && (t = {}), !a)
144
144
  throw new Error("coordinates is required");
145
145
  if (!Array.isArray(a))
146
146
  throw new Error("coordinates must be an Array");
147
147
  if (a.length < 2)
148
148
  throw new Error("coordinates must be at least 2 numbers long");
149
- if (!Ts(a[0]) || !Ts(a[1]))
149
+ if (!As(a[0]) || !As(a[1]))
150
150
  throw new Error("coordinates must contain numbers");
151
151
  var r = {
152
152
  type: "Point",
153
153
  coordinates: a
154
154
  };
155
- return is(r, o, i);
155
+ return ts(r, e, t);
156
156
  }
157
- function J(a, o, i) {
158
- if (i === void 0 && (i = {}), a.length < 2)
157
+ function K(a, e, t) {
158
+ if (t === void 0 && (t = {}), a.length < 2)
159
159
  throw new Error("coordinates must be an array of two or more positions");
160
160
  var r = {
161
161
  type: "LineString",
162
162
  coordinates: a
163
163
  };
164
- return is(r, o, i);
165
- }
166
- function Rs(a, o) {
167
- o === void 0 && (o = {});
168
- var i = { type: "FeatureCollection" };
169
- return o.id && (i.id = o.id), o.bbox && (i.bbox = o.bbox), i.features = a, i;
170
- }
171
- function Is(a, o) {
172
- o === void 0 && (o = "kilometers");
173
- var i = ws[o];
174
- if (!i)
175
- throw new Error(o + " units is invalid");
176
- return a * i;
177
- }
178
- function ds(a, o) {
179
- o === void 0 && (o = "kilometers");
180
- var i = ws[o];
181
- if (!i)
182
- throw new Error(o + " units is invalid");
183
- return a / i;
184
- }
185
- function Ws(a) {
186
- var o = a % (2 * Math.PI);
187
- return o * 180 / Math.PI;
188
- }
189
- function K(a) {
190
- var o = a % 360;
191
- return o * Math.PI / 180;
192
- }
193
- function Bs(a, o, i) {
194
- if (o === void 0 && (o = "kilometers"), i === void 0 && (i = "kilometers"), !(a >= 0))
164
+ return ts(r, e, t);
165
+ }
166
+ function Xs(a, e) {
167
+ e === void 0 && (e = {});
168
+ var t = { type: "FeatureCollection" };
169
+ return e.id && (t.id = e.id), e.bbox && (t.bbox = e.bbox), t.features = a, t;
170
+ }
171
+ function Ps(a, e) {
172
+ e === void 0 && (e = "kilometers");
173
+ var t = Bs[e];
174
+ if (!t)
175
+ throw new Error(e + " units is invalid");
176
+ return a * t;
177
+ }
178
+ function ys(a, e) {
179
+ e === void 0 && (e = "kilometers");
180
+ var t = Bs[e];
181
+ if (!t)
182
+ throw new Error(e + " units is invalid");
183
+ return a / t;
184
+ }
185
+ function ls(a) {
186
+ var e = a % (2 * Math.PI);
187
+ return e * 180 / Math.PI;
188
+ }
189
+ function q(a) {
190
+ var e = a % 360;
191
+ return e * Math.PI / 180;
192
+ }
193
+ function gs(a, e, t) {
194
+ if (e === void 0 && (e = "kilometers"), t === void 0 && (t = "kilometers"), !(a >= 0))
195
195
  throw new Error("length must be a positive number");
196
- return Is(ds(a, o), i);
196
+ return Ps(ys(a, e), t);
197
197
  }
198
- function Ts(a) {
198
+ function As(a) {
199
199
  return !isNaN(a) && a !== null && !Array.isArray(a);
200
200
  }
201
- function Es(a) {
201
+ function Ys(a) {
202
202
  return !!a && a.constructor === Object;
203
203
  }
204
- function Ps(a, o, i) {
204
+ function ms(a, e, t) {
205
205
  if (a !== null)
206
- for (var r, s, C, W, L, p, d, t = 0, l = 0, u, T = a.type, e = T === "FeatureCollection", c = T === "Feature", m = e ? a.features.length : 1, b = 0; b < m; b++) {
207
- d = e ? a.features[b].geometry : c ? a.geometry : a, u = d ? d.type === "GeometryCollection" : !1, L = u ? d.geometries.length : 1;
206
+ for (var r, s, T, W, L, A, d, i = 0, l = 0, u, C = a.type, o = C === "FeatureCollection", c = C === "Feature", m = o ? a.features.length : 1, b = 0; b < m; b++) {
207
+ d = o ? a.features[b].geometry : c ? a.geometry : a, u = d ? d.type === "GeometryCollection" : !1, L = u ? d.geometries.length : 1;
208
208
  for (var I = 0; I < L; I++) {
209
209
  var P = 0, g = 0;
210
210
  if (W = u ? d.geometries[I] : d, W !== null) {
211
- p = W.coordinates;
211
+ A = W.coordinates;
212
212
  var y = W.type;
213
- switch (t = 0, y) {
213
+ switch (i = 0, y) {
214
214
  case null:
215
215
  break;
216
216
  case "Point":
217
- if (o(
218
- p,
217
+ if (e(
218
+ A,
219
219
  l,
220
220
  b,
221
221
  P,
@@ -226,9 +226,9 @@ function Ps(a, o, i) {
226
226
  break;
227
227
  case "LineString":
228
228
  case "MultiPoint":
229
- for (r = 0; r < p.length; r++) {
230
- if (o(
231
- p[r],
229
+ for (r = 0; r < A.length; r++) {
230
+ if (e(
231
+ A[r],
232
232
  l,
233
233
  b,
234
234
  P,
@@ -241,10 +241,10 @@ function Ps(a, o, i) {
241
241
  break;
242
242
  case "Polygon":
243
243
  case "MultiLineString":
244
- for (r = 0; r < p.length; r++) {
245
- for (s = 0; s < p[r].length - t; s++) {
246
- if (o(
247
- p[r][s],
244
+ for (r = 0; r < A.length; r++) {
245
+ for (s = 0; s < A[r].length - i; s++) {
246
+ if (e(
247
+ A[r][s],
248
248
  l,
249
249
  b,
250
250
  P,
@@ -258,11 +258,11 @@ function Ps(a, o, i) {
258
258
  y === "Polygon" && P++;
259
259
  break;
260
260
  case "MultiPolygon":
261
- for (r = 0; r < p.length; r++) {
262
- for (g = 0, s = 0; s < p[r].length; s++) {
263
- for (C = 0; C < p[r][s].length - t; C++) {
264
- if (o(
265
- p[r][s][C],
261
+ for (r = 0; r < A.length; r++) {
262
+ for (g = 0, s = 0; s < A[r].length; s++) {
263
+ for (T = 0; T < A[r][s].length - i; T++) {
264
+ if (e(
265
+ A[r][s][T],
266
266
  l,
267
267
  b,
268
268
  P,
@@ -278,7 +278,7 @@ function Ps(a, o, i) {
278
278
  break;
279
279
  case "GeometryCollection":
280
280
  for (r = 0; r < W.geometries.length; r++)
281
- if (Ps(W.geometries[r], o) === !1)
281
+ if (ms(W.geometries[r], e) === !1)
282
282
  return !1;
283
283
  break;
284
284
  default:
@@ -288,52 +288,52 @@ function Ps(a, o, i) {
288
288
  }
289
289
  }
290
290
  }
291
- function Xs(a, o) {
291
+ function Fs(a, e) {
292
292
  if (a.type === "Feature")
293
- o(a, 0);
293
+ e(a, 0);
294
294
  else if (a.type === "FeatureCollection")
295
- for (var i = 0; i < a.features.length && o(a.features[i], i) !== !1; i++)
295
+ for (var t = 0; t < a.features.length && e(a.features[t], t) !== !1; t++)
296
296
  ;
297
297
  }
298
- function Ys(a, o) {
299
- var i, r, s, C, W, L, p, d, t, l, u = 0, T = a.type === "FeatureCollection", e = a.type === "Feature", c = T ? a.features.length : 1;
300
- for (i = 0; i < c; i++) {
301
- for (L = T ? a.features[i].geometry : e ? a.geometry : a, d = T ? a.features[i].properties : e ? a.properties : {}, t = T ? a.features[i].bbox : e ? a.bbox : void 0, l = T ? a.features[i].id : e ? a.id : void 0, p = L ? L.type === "GeometryCollection" : !1, W = p ? L.geometries.length : 1, s = 0; s < W; s++) {
302
- if (C = p ? L.geometries[s] : L, C === null) {
303
- if (o(
298
+ function Ds(a, e) {
299
+ var t, r, s, T, W, L, A, d, i, l, u = 0, C = a.type === "FeatureCollection", o = a.type === "Feature", c = C ? a.features.length : 1;
300
+ for (t = 0; t < c; t++) {
301
+ for (L = C ? a.features[t].geometry : o ? a.geometry : a, d = C ? a.features[t].properties : o ? a.properties : {}, i = C ? a.features[t].bbox : o ? a.bbox : void 0, l = C ? a.features[t].id : o ? a.id : void 0, A = L ? L.type === "GeometryCollection" : !1, W = A ? L.geometries.length : 1, s = 0; s < W; s++) {
302
+ if (T = A ? L.geometries[s] : L, T === null) {
303
+ if (e(
304
304
  null,
305
305
  u,
306
306
  d,
307
- t,
307
+ i,
308
308
  l
309
309
  ) === !1)
310
310
  return !1;
311
311
  continue;
312
312
  }
313
- switch (C.type) {
313
+ switch (T.type) {
314
314
  case "Point":
315
315
  case "LineString":
316
316
  case "MultiPoint":
317
317
  case "Polygon":
318
318
  case "MultiLineString":
319
319
  case "MultiPolygon": {
320
- if (o(
321
- C,
320
+ if (e(
321
+ T,
322
322
  u,
323
323
  d,
324
- t,
324
+ i,
325
325
  l
326
326
  ) === !1)
327
327
  return !1;
328
328
  break;
329
329
  }
330
330
  case "GeometryCollection": {
331
- for (r = 0; r < C.geometries.length; r++)
332
- if (o(
333
- C.geometries[r],
331
+ for (r = 0; r < T.geometries.length; r++)
332
+ if (e(
333
+ T.geometries[r],
334
334
  u,
335
335
  d,
336
- t,
336
+ i,
337
337
  l
338
338
  ) === !1)
339
339
  return !1;
@@ -346,69 +346,69 @@ function Ys(a, o) {
346
346
  u++;
347
347
  }
348
348
  }
349
- function Fs(a, o) {
350
- Ys(a, function(i, r, s, C, W) {
351
- var L = i === null ? null : i.type;
349
+ function Hs(a, e) {
350
+ Ds(a, function(t, r, s, T, W) {
351
+ var L = t === null ? null : t.type;
352
352
  switch (L) {
353
353
  case null:
354
354
  case "Point":
355
355
  case "LineString":
356
356
  case "Polygon":
357
- return o(
358
- is(i, s, { bbox: C, id: W }),
357
+ return e(
358
+ ts(t, s, { bbox: T, id: W }),
359
359
  r,
360
360
  0
361
361
  ) === !1 ? !1 : void 0;
362
362
  }
363
- var p;
363
+ var A;
364
364
  switch (L) {
365
365
  case "MultiPoint":
366
- p = "Point";
366
+ A = "Point";
367
367
  break;
368
368
  case "MultiLineString":
369
- p = "LineString";
369
+ A = "LineString";
370
370
  break;
371
371
  case "MultiPolygon":
372
- p = "Polygon";
372
+ A = "Polygon";
373
373
  break;
374
374
  }
375
- for (var d = 0; d < i.coordinates.length; d++) {
376
- var t = i.coordinates[d], l = {
377
- type: p,
378
- coordinates: t
375
+ for (var d = 0; d < t.coordinates.length; d++) {
376
+ var i = t.coordinates[d], l = {
377
+ type: A,
378
+ coordinates: i
379
379
  };
380
- if (o(is(l, s), r, d) === !1)
380
+ if (e(ts(l, s), r, d) === !1)
381
381
  return !1;
382
382
  }
383
383
  });
384
384
  }
385
- function Ds(a, o) {
386
- Fs(a, function(i, r, s) {
387
- var C = 0;
388
- if (i.geometry) {
389
- var W = i.geometry.type;
385
+ function Os(a, e) {
386
+ Hs(a, function(t, r, s) {
387
+ var T = 0;
388
+ if (t.geometry) {
389
+ var W = t.geometry.type;
390
390
  if (!(W === "Point" || W === "MultiPoint")) {
391
- var L, p = 0, d = 0, t = 0;
392
- if (Ps(
393
- i,
394
- function(l, u, T, e, c) {
395
- if (L === void 0 || r > p || e > d || c > t) {
396
- L = l, p = r, d = e, t = c, C = 0;
391
+ var L, A = 0, d = 0, i = 0;
392
+ if (ms(
393
+ t,
394
+ function(l, u, C, o, c) {
395
+ if (L === void 0 || r > A || o > d || c > i) {
396
+ L = l, A = r, d = o, i = c, T = 0;
397
397
  return;
398
398
  }
399
- var m = J(
399
+ var m = K(
400
400
  [L, l],
401
- i.properties
401
+ t.properties
402
402
  );
403
- if (o(
403
+ if (e(
404
404
  m,
405
405
  r,
406
406
  s,
407
407
  c,
408
- C
408
+ T
409
409
  ) === !1)
410
410
  return !1;
411
- C++, L = l;
411
+ T++, L = l;
412
412
  }
413
413
  ) === !1)
414
414
  return !1;
@@ -429,30 +429,30 @@ function x(a) {
429
429
  return a;
430
430
  throw new Error("coord must be GeoJSON Point or an Array of numbers");
431
431
  }
432
- function Cs(a, o, i) {
432
+ function ps(a, e, t) {
433
433
  if (!a)
434
434
  throw new Error("No feature passed");
435
- if (!i)
435
+ if (!t)
436
436
  throw new Error(".featureOf() requires a name");
437
437
  if (!a || a.type !== "Feature" || !a.geometry)
438
- throw new Error("Invalid input to " + i + ", Feature with geometry required");
439
- if (!a.geometry || a.geometry.type !== o)
440
- throw new Error("Invalid input to " + i + ": must be a " + o + ", given " + a.geometry.type);
438
+ throw new Error("Invalid input to " + t + ", Feature with geometry required");
439
+ if (!a.geometry || a.geometry.type !== e)
440
+ throw new Error("Invalid input to " + t + ": must be a " + e + ", given " + a.geometry.type);
441
441
  }
442
- var ts = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
443
- function ss(a, o, i) {
444
- i === void 0 && (i = {});
445
- var r = x(a), s = x(o), C = K(s[1] - r[1]), W = K(s[0] - r[0]), L = K(r[1]), p = K(s[1]), d = Math.pow(Math.sin(C / 2), 2) + Math.pow(Math.sin(W / 2), 2) * Math.cos(L) * Math.cos(p);
446
- return Is(2 * Math.atan2(Math.sqrt(d), Math.sqrt(1 - d)), i.units);
442
+ var is = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
443
+ function ss(a, e, t) {
444
+ t === void 0 && (t = {});
445
+ var r = x(a), s = x(e), T = q(s[1] - r[1]), W = q(s[0] - r[0]), L = q(r[1]), A = q(s[1]), d = Math.pow(Math.sin(T / 2), 2) + Math.pow(Math.sin(W / 2), 2) * Math.cos(L) * Math.cos(A);
446
+ return Ps(2 * Math.atan2(Math.sqrt(d), Math.sqrt(1 - d)), t.units);
447
447
  }
448
- function Hs(a) {
448
+ function $s(a) {
449
449
  if (!a)
450
450
  throw new Error("geojson is required");
451
451
  switch (a.type) {
452
452
  case "Feature":
453
- return ys(a);
453
+ return bs(a);
454
454
  case "FeatureCollection":
455
- return Os(a);
455
+ return Ns(a);
456
456
  case "Point":
457
457
  case "LineString":
458
458
  case "Polygon":
@@ -460,197 +460,197 @@ function Hs(a) {
460
460
  case "MultiLineString":
461
461
  case "MultiPolygon":
462
462
  case "GeometryCollection":
463
- return cs(a);
463
+ return Ts(a);
464
464
  default:
465
465
  throw new Error("unknown GeoJSON type");
466
466
  }
467
467
  }
468
- function ys(a) {
469
- var o = { type: "Feature" };
470
- return Object.keys(a).forEach(function(i) {
471
- switch (i) {
468
+ function bs(a) {
469
+ var e = { type: "Feature" };
470
+ return Object.keys(a).forEach(function(t) {
471
+ switch (t) {
472
472
  case "type":
473
473
  case "properties":
474
474
  case "geometry":
475
475
  return;
476
476
  default:
477
- o[i] = a[i];
477
+ e[t] = a[t];
478
478
  }
479
- }), o.properties = gs(a.properties), o.geometry = cs(a.geometry), o;
479
+ }), e.properties = _s(a.properties), e.geometry = Ts(a.geometry), e;
480
480
  }
481
- function gs(a) {
482
- var o = {};
483
- return a && Object.keys(a).forEach(function(i) {
484
- var r = a[i];
485
- typeof r == "object" ? r === null ? o[i] = null : Array.isArray(r) ? o[i] = r.map(function(s) {
481
+ function _s(a) {
482
+ var e = {};
483
+ return a && Object.keys(a).forEach(function(t) {
484
+ var r = a[t];
485
+ typeof r == "object" ? r === null ? e[t] = null : Array.isArray(r) ? e[t] = r.map(function(s) {
486
486
  return s;
487
- }) : o[i] = gs(r) : o[i] = r;
488
- }), o;
487
+ }) : e[t] = _s(r) : e[t] = r;
488
+ }), e;
489
489
  }
490
- function Os(a) {
491
- var o = { type: "FeatureCollection" };
492
- return Object.keys(a).forEach(function(i) {
493
- switch (i) {
490
+ function Ns(a) {
491
+ var e = { type: "FeatureCollection" };
492
+ return Object.keys(a).forEach(function(t) {
493
+ switch (t) {
494
494
  case "type":
495
495
  case "features":
496
496
  return;
497
497
  default:
498
- o[i] = a[i];
498
+ e[t] = a[t];
499
499
  }
500
- }), o.features = a.features.map(function(i) {
501
- return ys(i);
502
- }), o;
503
- }
504
- function cs(a) {
505
- var o = { type: a.type };
506
- return a.bbox && (o.bbox = a.bbox), a.type === "GeometryCollection" ? (o.geometries = a.geometries.map(function(i) {
507
- return cs(i);
508
- }), o) : (o.coordinates = ms(a.coordinates), o);
509
- }
510
- function ms(a) {
511
- var o = a;
512
- return typeof o[0] != "object" ? o.slice() : o.map(function(i) {
513
- return ms(i);
500
+ }), e.features = a.features.map(function(t) {
501
+ return bs(t);
502
+ }), e;
503
+ }
504
+ function Ts(a) {
505
+ var e = { type: a.type };
506
+ return a.bbox && (e.bbox = a.bbox), a.type === "GeometryCollection" ? (e.geometries = a.geometries.map(function(t) {
507
+ return Ts(t);
508
+ }), e) : (e.coordinates = vs(a.coordinates), e);
509
+ }
510
+ function vs(a) {
511
+ var e = a;
512
+ return typeof e[0] != "object" ? e.slice() : e.map(function(t) {
513
+ return vs(t);
514
514
  });
515
515
  }
516
- function ls(a, o, i, r) {
516
+ function us(a, e, t, r) {
517
517
  r === void 0 && (r = {});
518
- var s = x(a), C = K(s[0]), W = K(s[1]), L = K(i), p = ds(o, r.units), d = Math.asin(Math.sin(W) * Math.cos(p) + Math.cos(W) * Math.sin(p) * Math.cos(L)), t = C + Math.atan2(Math.sin(L) * Math.sin(p) * Math.cos(W), Math.cos(p) - Math.sin(W) * Math.sin(d)), l = Ws(t), u = Ws(d);
518
+ var s = x(a), T = q(s[0]), W = q(s[1]), L = q(t), A = ys(e, r.units), d = Math.asin(Math.sin(W) * Math.cos(A) + Math.cos(W) * Math.sin(A) * Math.cos(L)), i = T + Math.atan2(Math.sin(L) * Math.sin(A) * Math.cos(W), Math.cos(A) - Math.sin(W) * Math.sin(d)), l = ls(i), u = ls(d);
519
519
  return U([l, u], r.properties);
520
520
  }
521
- function hs(a, o, i) {
522
- if (i === void 0 && (i = {}), i.final === !0)
523
- return Ns(a, o);
524
- var r = x(a), s = x(o), C = K(r[0]), W = K(s[0]), L = K(r[1]), p = K(s[1]), d = Math.sin(W - C) * Math.cos(p), t = Math.cos(L) * Math.sin(p) - Math.sin(L) * Math.cos(p) * Math.cos(W - C);
525
- return Ws(Math.atan2(d, t));
521
+ function fs(a, e, t) {
522
+ if (t === void 0 && (t = {}), t.final === !0)
523
+ return Gs(a, e);
524
+ var r = x(a), s = x(e), T = q(r[0]), W = q(s[0]), L = q(r[1]), A = q(s[1]), d = Math.sin(W - T) * Math.cos(A), i = Math.cos(L) * Math.sin(A) - Math.sin(L) * Math.cos(A) * Math.cos(W - T);
525
+ return ls(Math.atan2(d, i));
526
526
  }
527
- function Ns(a, o) {
528
- var i = hs(o, a);
529
- return i = (i + 180) % 360, i;
527
+ function Gs(a, e) {
528
+ var t = fs(e, a);
529
+ return t = (t + 180) % 360, t;
530
530
  }
531
- function Gs(a, o) {
532
- var i = ss(a, o), r = hs(a, o), s = ls(a, i / 2, r);
531
+ function zs(a, e) {
532
+ var t = ss(a, e), r = fs(a, e), s = us(a, t / 2, r);
533
533
  return s;
534
534
  }
535
- function zs(a, o) {
535
+ function Vs(a, e) {
536
536
  if (!a)
537
537
  throw new Error("targetPoint is required");
538
- if (!o)
538
+ if (!e)
539
539
  throw new Error("points is required");
540
- var i, r = 1 / 0, s = 0;
541
- return Xs(o, function(C, W) {
542
- var L = ss(a, C);
540
+ var t, r = 1 / 0, s = 0;
541
+ return Fs(e, function(T, W) {
542
+ var L = ss(a, T);
543
543
  L < r && (s = W, r = L);
544
- }), i = Hs(o.features[s]), i.properties.featureIndex = s, i.properties.distanceToPoint = r, i;
544
+ }), t = $s(e.features[s]), t.properties.featureIndex = s, t.properties.distanceToPoint = r, t;
545
545
  }
546
- function $s(a, o, i) {
547
- i === void 0 && (i = {});
548
- var r = x(a), s = x(o);
546
+ function qs(a, e, t) {
547
+ t === void 0 && (t = {});
548
+ var r = x(a), s = x(e);
549
549
  s[0] += s[0] - r[0] > 180 ? -360 : r[0] - s[0] > 180 ? 360 : 0;
550
- var C = qs(r, s), W = Bs(C, "meters", i.units);
550
+ var T = Ks(r, s), W = gs(T, "meters", t.units);
551
551
  return W;
552
552
  }
553
- function qs(a, o, i) {
554
- i = i === void 0 ? G : Number(i);
555
- var r = i, s = a[1] * Math.PI / 180, C = o[1] * Math.PI / 180, W = C - s, L = Math.abs(o[0] - a[0]) * Math.PI / 180;
553
+ function Ks(a, e, t) {
554
+ t = t === void 0 ? N : Number(t);
555
+ var r = t, s = a[1] * Math.PI / 180, T = e[1] * Math.PI / 180, W = T - s, L = Math.abs(e[0] - a[0]) * Math.PI / 180;
556
556
  L > Math.PI && (L -= 2 * Math.PI);
557
- var p = Math.log(Math.tan(C / 2 + Math.PI / 4) / Math.tan(s / 2 + Math.PI / 4)), d = Math.abs(p) > 1e-11 ? W / p : Math.cos(s), t = Math.sqrt(W * W + d * d * L * L), l = t * r;
557
+ var A = Math.log(Math.tan(T / 2 + Math.PI / 4) / Math.tan(s / 2 + Math.PI / 4)), d = Math.abs(A) > 1e-11 ? W / A : Math.cos(s), i = Math.sqrt(W * W + d * d * L * L), l = i * r;
558
558
  return l;
559
559
  }
560
- function fs(a, o, i) {
561
- if (i === void 0 && (i = {}), i.method || (i.method = "geodesic"), i.units || (i.units = "kilometers"), !a)
560
+ function ns(a, e, t) {
561
+ if (t === void 0 && (t = {}), t.method || (t.method = "geodesic"), t.units || (t.units = "kilometers"), !a)
562
562
  throw new Error("pt is required");
563
- if (Array.isArray(a) ? a = U(a) : a.type === "Point" ? a = is(a) : Cs(a, "Point", "point"), !o)
563
+ if (Array.isArray(a) ? a = U(a) : a.type === "Point" ? a = ts(a) : ps(a, "Point", "point"), !e)
564
564
  throw new Error("line is required");
565
- Array.isArray(o) ? o = J(o) : o.type === "LineString" ? o = is(o) : Cs(o, "LineString", "line");
565
+ Array.isArray(e) ? e = K(e) : e.type === "LineString" ? e = ts(e) : ps(e, "LineString", "line");
566
566
  var r = 1 / 0, s = a.geometry.coordinates;
567
- return Ds(o, function(C) {
568
- var W = C.geometry.coordinates[0], L = C.geometry.coordinates[1], p = Ks(s, W, L, i);
569
- p < r && (r = p);
570
- }), Bs(r, "degrees", i.units);
567
+ return Os(e, function(T) {
568
+ var W = T.geometry.coordinates[0], L = T.geometry.coordinates[1], A = Js(s, W, L, t);
569
+ A < r && (r = A);
570
+ }), gs(r, "degrees", t.units);
571
571
  }
572
- function Ks(a, o, i, r) {
573
- var s = [i[0] - o[0], i[1] - o[1]], C = [a[0] - o[0], a[1] - o[1]], W = As(C, s);
572
+ function Js(a, e, t, r) {
573
+ var s = [t[0] - e[0], t[1] - e[1]], T = [a[0] - e[0], a[1] - e[1]], W = Ls(T, s);
574
574
  if (W <= 0)
575
- return ns(a, o, { method: r.method, units: "degrees" });
576
- var L = As(s, s);
575
+ return as(a, e, { method: r.method, units: "degrees" });
576
+ var L = Ls(s, s);
577
577
  if (L <= W)
578
- return ns(a, i, { method: r.method, units: "degrees" });
579
- var p = W / L, d = [o[0] + p * s[0], o[1] + p * s[1]];
580
- return ns(a, d, { method: r.method, units: "degrees" });
578
+ return as(a, t, { method: r.method, units: "degrees" });
579
+ var A = W / L, d = [e[0] + A * s[0], e[1] + A * s[1]];
580
+ return as(a, d, { method: r.method, units: "degrees" });
581
581
  }
582
- function As(a, o) {
583
- return a[0] * o[0] + a[1] * o[1];
582
+ function Ls(a, e) {
583
+ return a[0] * e[0] + a[1] * e[1];
584
584
  }
585
- function ns(a, o, i) {
586
- return i.method === "planar" ? $s(a, o, i) : ss(a, o, i);
585
+ function as(a, e, t) {
586
+ return t.method === "planar" ? qs(a, e, t) : ss(a, e, t);
587
587
  }
588
- function Js(a, o, i, r) {
589
- if (r = r || {}, !Es(r)) throw new Error("options is invalid");
590
- var s, C = [];
588
+ function Us(a, e, t, r) {
589
+ if (r = r || {}, !Ys(r)) throw new Error("options is invalid");
590
+ var s, T = [];
591
591
  if (a.type === "Feature") s = a.geometry.coordinates;
592
592
  else if (a.type === "LineString") s = a.coordinates;
593
593
  else throw new Error("input must be a LineString Feature or Geometry");
594
- for (var W = s.length, L = 0, p, d, t, l = 0; l < s.length && !(o >= L && l === s.length - 1); l++) {
595
- if (L > o && C.length === 0) {
596
- if (p = o - L, !p)
597
- return C.push(s[l]), J(C);
598
- d = hs(s[l], s[l - 1]) - 180, t = ls(s[l], p, d, r), C.push(t.geometry.coordinates);
594
+ for (var W = s.length, L = 0, A, d, i, l = 0; l < s.length && !(e >= L && l === s.length - 1); l++) {
595
+ if (L > e && T.length === 0) {
596
+ if (A = e - L, !A)
597
+ return T.push(s[l]), K(T);
598
+ d = fs(s[l], s[l - 1]) - 180, i = us(s[l], A, d, r), T.push(i.geometry.coordinates);
599
599
  }
600
- if (L >= i)
601
- return p = i - L, p ? (d = hs(s[l], s[l - 1]) - 180, t = ls(s[l], p, d, r), C.push(t.geometry.coordinates), J(C)) : (C.push(s[l]), J(C));
602
- if (L >= o && C.push(s[l]), l === s.length - 1)
603
- return J(C);
600
+ if (L >= t)
601
+ return A = t - L, A ? (d = fs(s[l], s[l - 1]) - 180, i = us(s[l], A, d, r), T.push(i.geometry.coordinates), K(T)) : (T.push(s[l]), K(T));
602
+ if (L >= e && T.push(s[l]), l === s.length - 1)
603
+ return K(T);
604
604
  L += ss(s[l], s[l + 1], r);
605
605
  }
606
- if (L < o && s.length === W)
606
+ if (L < e && s.length === W)
607
607
  throw new Error("Start position is beyond line");
608
608
  var u = s[s.length - 1];
609
- return J([u, u]);
609
+ return K([u, u]);
610
610
  }
611
611
  const j = { units: "kilometers" };
612
- function Vs(a, o, i, r) {
613
- var { nearestDistance: s } = os(a, o), { nearestDistance: C } = os(a, r), { nearestDistance: W } = os(a, i);
614
- const L = Math.min(s, W, C);
615
- return L === s ? o : L === W ? i : r;
612
+ function Qs(a, e, t, r) {
613
+ var { nearestDistance: s } = rs(a, e), { nearestDistance: T } = rs(a, r), { nearestDistance: W } = rs(a, t);
614
+ const L = Math.min(s, W, T);
615
+ return L === s ? e : L === W ? t : r;
616
616
  }
617
- const Us = (a, o, i) => {
617
+ const js = (a, e, t) => {
618
618
  debugger;
619
- const r = U(a.slice(0, 2)), { nearestCoord: s } = os(a, o), C = o.findIndex(
620
- (S) => S[0] == s[0] && S[1] == s[1]
619
+ const r = U(a.slice(0, 2)), { nearestCoord: s } = rs(a, e), T = e.findIndex(
620
+ (k) => k[0] == s[0] && k[1] == s[1]
621
621
  );
622
622
  let W = [];
623
- if (C == 0)
624
- W.push(o[0], o[1]);
625
- else if (C == o.length - 1)
626
- W.push(o[o.length - 2], o[o.length - 1]);
623
+ if (T == 0)
624
+ W.push(e[0], e[1]);
625
+ else if (T == e.length - 1)
626
+ W.push(e[e.length - 2], e[e.length - 1]);
627
627
  else {
628
- const S = [o[C], o[C + 1]], X = [o[C - 1], o[C]];
629
- var L = fs(r, J(S), j), p = fs(r, J(X), j);
630
- W = L > p ? X : S;
628
+ const k = [e[T], e[T + 1]], X = [e[T - 1], e[T]];
629
+ var L = ns(r, K(k), j), A = ns(r, K(X), j);
630
+ W = L > A ? X : k;
631
631
  }
632
- console.log("附近的点", C, W);
633
- const d = J([W[0].slice(0, 2), W[1].slice(0, 2)]), t = U(W[0].slice(0, 2)), l = U(W[1].slice(0, 2));
634
- var u = fs(r, d, j), T = ss(r, t, j) || 0, e = Math.sqrt(T * T - u * u) || 0;
632
+ console.log("附近的点", T, W);
633
+ const d = K([W[0].slice(0, 2), W[1].slice(0, 2)]), i = U(W[0].slice(0, 2)), l = U(W[1].slice(0, 2));
634
+ var u = ns(r, d, j), C = ss(r, i, j) || 0, o = Math.sqrt(C * C - u * u) || 0;
635
635
  let c = W[0].slice(0, 2);
636
- e > 0 && (c = Js(d, 0, e, j).geometry.coordinates[1]);
637
- const m = ss(t, l, j), b = Math.abs(W[0][2] - W[1][2]), I = Math.min(W[0][2], W[1][2]), P = Math.max(W[0][2], W[1][2]), g = W[0][2] > W[1][2] ? P - e / m * b : e / m * b + I;
636
+ o > 0 && (c = Us(d, 0, o, j).geometry.coordinates[1]);
637
+ const m = ss(i, l, j), b = Math.abs(W[0][2] - W[1][2]), I = Math.min(W[0][2], W[1][2]), P = Math.max(W[0][2], W[1][2]), g = W[0][2] > W[1][2] ? P - o / m * b : o / m * b + I;
638
638
  console.log("高度差>>>>", b), console.log("最小高度>>>>", I);
639
639
  const y = g - a[2], _ = u * 1e3, v = Math.sqrt(_ * _ + y * y);
640
640
  console.log("水平距离>>>>", _), console.log("竖直距离>>>>", y), console.log("直线距离>>>>", v);
641
- const k = n.Cartesian3.fromDegrees(
641
+ const S = n.Cartesian3.fromDegrees(
642
642
  a[0],
643
643
  a[1],
644
644
  a[2]
645
645
  ), M = n.Cartesian3.fromDegrees(c[0], c[1], g);
646
- var Z = Gs(
646
+ var R = zs(
647
647
  U([a[0], a[1]]),
648
648
  U([c[0], c[1]])
649
649
  ).geometry.coordinates;
650
650
  const Y = {
651
651
  position: n.Cartesian3.fromDegrees(
652
- Z[0],
653
- Z[1],
652
+ R[0],
653
+ R[1],
654
654
  g - y / 2
655
655
  ),
656
656
  name: "直线距离",
@@ -662,13 +662,13 @@ const Us = (a, o, i) => {
662
662
  scaleByDistance: new n.NearFarScalar(1e3, 1.5, 2e3, 1),
663
663
  disableDepthTestDistance: Number.POSITIVE_INFINITY
664
664
  }
665
- }, R = [];
666
- R.push(k), R.push(M);
665
+ }, Z = [];
666
+ Z.push(S), Z.push(M);
667
667
  var F = {
668
668
  polyline: {
669
669
  show: !0,
670
670
  // 定义线条的 Cartesian3 位置的数组
671
- positions: R,
671
+ positions: Z,
672
672
  clampToGround: !1,
673
673
  // 是否贴地
674
674
  width: 2,
@@ -692,163 +692,163 @@ const Us = (a, o, i) => {
692
692
  // zIndex: 0,
693
693
  }
694
694
  };
695
- i.add(Y), i.add(F);
695
+ t.add(Y), t.add(F);
696
696
  };
697
- function os(a, o) {
698
- const i = U(a.slice(0, 2)), r = [];
699
- o.forEach((L) => {
697
+ function rs(a, e) {
698
+ const t = U(a.slice(0, 2)), r = [];
699
+ e.forEach((L) => {
700
700
  r.push(U([L[0], L[1]]));
701
701
  });
702
- const s = Rs(
702
+ const s = Xs(
703
703
  r
704
- ), C = zs(i, s), W = ss(i, C, j);
704
+ ), T = Vs(t, s), W = ss(t, T, j);
705
705
  return {
706
- nearestCoord: C.geometry.coordinates,
706
+ nearestCoord: T.geometry.coordinates,
707
707
  nearestDistance: W
708
708
  };
709
709
  }
710
- function B(a, o, i, r, s) {
711
- i || (i = new n.HeadingPitchRoll());
712
- const C = n.Transforms.headingPitchRollQuaternion(
710
+ function B(a, e, t, r, s) {
711
+ t || (t = new n.HeadingPitchRoll());
712
+ const T = n.Transforms.headingPitchRollQuaternion(
713
713
  a,
714
- i,
714
+ t,
715
715
  r,
716
716
  s
717
717
  ), W = n.Matrix4.fromRotationTranslation(
718
- n.Matrix3.fromQuaternion(C, new n.Matrix3()),
718
+ n.Matrix3.fromQuaternion(T, new n.Matrix3()),
719
719
  a,
720
720
  new n.Matrix4()
721
721
  );
722
722
  return n.Matrix4.multiplyByPoint(
723
723
  W,
724
- o,
724
+ e,
725
725
  new n.Cartesian3()
726
726
  );
727
727
  }
728
- function $(a, o) {
729
- var i = a.cartesianToCartographic(o), r = n.Math.toDegrees(i.latitude), s = n.Math.toDegrees(i.longitude), C = i.height;
730
- return [s, r, C];
728
+ function z(a, e) {
729
+ var t = a.cartesianToCartographic(e), r = n.Math.toDegrees(t.latitude), s = n.Math.toDegrees(t.longitude), T = t.height;
730
+ return [s, r, T];
731
731
  }
732
- function Q(a, o, i, r) {
733
- const s = o * Math.PI / 180, C = a * Math.PI / 180, W = r * Math.PI / 180, L = i * Math.PI / 180, p = Math.sin(L - C) * Math.cos(W), d = Math.cos(s) * Math.sin(W) - Math.sin(s) * Math.cos(W) * Math.cos(L - C);
734
- let t = Math.atan2(p, d) * 180 / Math.PI;
735
- return t = (t + 360) % 360, t;
732
+ function Q(a, e, t, r) {
733
+ const s = e * Math.PI / 180, T = a * Math.PI / 180, W = r * Math.PI / 180, L = t * Math.PI / 180, A = Math.sin(L - T) * Math.cos(W), d = Math.cos(s) * Math.sin(W) - Math.sin(s) * Math.cos(W) * Math.cos(L - T);
734
+ let i = Math.atan2(A, d) * 180 / Math.PI;
735
+ return i = (i + 360) % 360, i;
736
736
  }
737
- function f(a, o = 6) {
738
- const i = [];
737
+ function f(a, e = 6) {
738
+ const t = [];
739
739
  for (var r = 0; r < a.length - 1; r++)
740
- i.push(
741
- ...Qs(a[r], a[r + 1], o * -1e3, 100)
740
+ t.push(
741
+ ...xs(a[r], a[r + 1], e * -1e3, 100)
742
742
  );
743
- return i;
743
+ return t;
744
744
  }
745
- function Qs(a, o, i, r) {
746
- var s = [], C = n.Cartographic.fromCartesian(a), W = n.Cartographic.fromCartesian(o), L = C.longitude * 180 / Math.PI, p = C.latitude * 180 / Math.PI, d = W.longitude * 180 / Math.PI, t = W.latitude * 180 / Math.PI, l = Math.sqrt(
747
- (L - d) * (L - d) + (p - t) * (p - t)
748
- ), u = l * i, T = n.Cartesian3.clone(a), e = n.Cartesian3.clone(o), c = n.Cartesian3.distance(
749
- T,
745
+ function xs(a, e, t, r) {
746
+ var s = [], T = n.Cartographic.fromCartesian(a), W = n.Cartographic.fromCartesian(e), L = T.longitude * 180 / Math.PI, A = T.latitude * 180 / Math.PI, d = W.longitude * 180 / Math.PI, i = W.latitude * 180 / Math.PI, l = Math.sqrt(
747
+ (L - d) * (L - d) + (A - i) * (A - i)
748
+ ), u = l * t, C = n.Cartesian3.clone(a), o = n.Cartesian3.clone(e), c = n.Cartesian3.distance(
749
+ C,
750
750
  n.Cartesian3.ZERO
751
- ), m = n.Cartesian3.distance(e, n.Cartesian3.ZERO);
752
- if (n.Cartesian3.normalize(T, T), n.Cartesian3.normalize(e, e), n.Cartesian3.distance(T, e) == 0)
751
+ ), m = n.Cartesian3.distance(o, n.Cartesian3.ZERO);
752
+ if (n.Cartesian3.normalize(C, C), n.Cartesian3.normalize(o, o), n.Cartesian3.distance(C, o) == 0)
753
753
  return s;
754
- var b = n.Cartesian3.angleBetween(T, e);
754
+ var b = n.Cartesian3.angleBetween(C, o);
755
755
  s.push(a);
756
756
  for (var I = 1; I < r - 1; I++) {
757
757
  var P = I * 1 / (r - 1), g = 1 - P, y = Math.sin(g * b) / Math.sin(b), _ = Math.sin(P * b) / Math.sin(b), v = n.Cartesian3.multiplyByScalar(
758
- T,
758
+ C,
759
759
  y,
760
760
  new n.Cartesian3()
761
- ), k = n.Cartesian3.multiplyByScalar(
762
- e,
761
+ ), S = n.Cartesian3.multiplyByScalar(
762
+ o,
763
763
  _,
764
764
  new n.Cartesian3()
765
765
  ), M = n.Cartesian3.add(
766
766
  v,
767
- k,
767
+ S,
768
768
  new n.Cartesian3()
769
- ), Z = P * Math.PI, E = c * g + m * P + Math.sin(Z) * u;
769
+ ), R = P * Math.PI, E = c * g + m * P + Math.sin(R) * u;
770
770
  M = n.Cartesian3.multiplyByScalar(
771
771
  M,
772
772
  E,
773
773
  M
774
774
  ), s.push(M);
775
775
  }
776
- return s.push(o), s;
776
+ return s.push(e), s;
777
777
  }
778
- function js(a, o, i = 30) {
778
+ function st(a, e, t = 30) {
779
779
  const r = a.length;
780
- if (r <= 2 || o === 0 || o === r - 1)
780
+ if (r <= 2 || e === 0 || e === r - 1)
781
781
  return !1;
782
782
  const s = Q(
783
- a[o - 1].Longitude,
784
- a[o - 1].Latitude,
785
- a[o].Longitude,
786
- a[o].Latitude
783
+ a[e - 1].Longitude,
784
+ a[e - 1].Latitude,
785
+ a[e].Longitude,
786
+ a[e].Latitude
787
787
  );
788
788
  let W = Q(
789
- a[o].Longitude,
790
- a[o].Latitude,
791
- a[o + 1].Longitude,
792
- a[o + 1].Latitude
789
+ a[e].Longitude,
790
+ a[e].Latitude,
791
+ a[e + 1].Longitude,
792
+ a[e + 1].Latitude
793
793
  ) - s;
794
- return W > 180 && (W -= 360), W < -180 && (W += 360), Math.abs(W) >= i;
794
+ return W > 180 && (W -= 360), W < -180 && (W += 360), Math.abs(W) >= t;
795
795
  }
796
- function as(a, o, i = 2) {
796
+ function Ws(a, e, t = 2) {
797
797
  const r = a.length;
798
798
  if (r <= 1)
799
799
  return 0;
800
- if (js(a, o, 15))
801
- return o < r - 1 ? Q(
802
- a[o].Longitude,
803
- a[o].Latitude,
804
- a[o + 1].Longitude,
805
- a[o + 1].Latitude
800
+ if (st(a, e, 15))
801
+ return e < r - 1 ? Q(
802
+ a[e].Longitude,
803
+ a[e].Latitude,
804
+ a[e + 1].Longitude,
805
+ a[e + 1].Latitude
806
806
  ) : Q(
807
- a[o - 1].Longitude,
808
- a[o - 1].Latitude,
809
- a[o].Longitude,
810
- a[o].Latitude
807
+ a[e - 1].Longitude,
808
+ a[e - 1].Latitude,
809
+ a[e].Longitude,
810
+ a[e].Latitude
811
811
  );
812
- let s = Math.max(0, o - i), C = Math.min(r - 1, o + i);
813
- if (C - s < 1)
814
- return o === r - 1 ? Q(
815
- a[o - 1].Longitude,
816
- a[o - 1].Latitude,
817
- a[o].Longitude,
818
- a[o].Latitude
812
+ let s = Math.max(0, e - t), T = Math.min(r - 1, e + t);
813
+ if (T - s < 1)
814
+ return e === r - 1 ? Q(
815
+ a[e - 1].Longitude,
816
+ a[e - 1].Latitude,
817
+ a[e].Longitude,
818
+ a[e].Latitude
819
819
  ) : Q(
820
- a[o].Longitude,
821
- a[o].Latitude,
822
- a[o + 1].Longitude,
823
- a[o + 1].Latitude
820
+ a[e].Longitude,
821
+ a[e].Latitude,
822
+ a[e + 1].Longitude,
823
+ a[e + 1].Latitude
824
824
  );
825
825
  const W = [];
826
- for (let t = s; t < C; t++) {
826
+ for (let i = s; i < T; i++) {
827
827
  const l = Q(
828
- a[t].Longitude,
829
- a[t].Latitude,
830
- a[t + 1].Longitude,
831
- a[t + 1].Latitude
828
+ a[i].Longitude,
829
+ a[i].Latitude,
830
+ a[i + 1].Longitude,
831
+ a[i + 1].Latitude
832
832
  );
833
833
  W.push(l);
834
834
  }
835
835
  if (W.length === 1)
836
836
  return W[0];
837
- let L = 0, p = 0;
838
- for (const t of W) {
839
- const l = t * Math.PI / 180;
840
- L += Math.cos(l), p += Math.sin(l);
837
+ let L = 0, A = 0;
838
+ for (const i of W) {
839
+ const l = i * Math.PI / 180;
840
+ L += Math.cos(l), A += Math.sin(l);
841
841
  }
842
- return (Math.atan2(p, L) * 180 / Math.PI + 360) % 360;
842
+ return (Math.atan2(A, L) * 180 / Math.PI + 360) % 360;
843
843
  }
844
- function xs(a, o) {
845
- const i = a * Math.PI / 180, r = o * Math.PI / 180, s = Math.cos(i), C = Math.sin(i), W = Math.cos(r), L = Math.sin(r), p = s + W, d = C + L;
846
- if (Math.abs(p) < 1e-10 && Math.abs(d) < 1e-10)
844
+ function tt(a, e) {
845
+ const t = a * Math.PI / 180, r = e * Math.PI / 180, s = Math.cos(t), T = Math.sin(t), W = Math.cos(r), L = Math.sin(r), A = s + W, d = T + L;
846
+ if (Math.abs(A) < 1e-10 && Math.abs(d) < 1e-10)
847
847
  return (a + 90) % 360;
848
- let t = Math.atan2(d, p) * 180 / Math.PI;
849
- return t = (t + 360) % 360, t;
848
+ let i = Math.atan2(d, A) * 180 / Math.PI;
849
+ return i = (i + 360) % 360, i;
850
850
  }
851
- class ai {
851
+ class lt {
852
852
  constructor() {
853
853
  w(this, "LineID", "myEntity1");
854
854
  w(this, "Tag", "");
@@ -874,7 +874,7 @@ class ai {
874
874
  w(this, "LineDistanceDisplaymax", 5e3);
875
875
  }
876
876
  }
877
- class Wi {
877
+ class ut {
878
878
  constructor() {
879
879
  w(this, "id", "");
880
880
  w(this, "modelid", "");
@@ -886,7 +886,7 @@ class Wi {
886
886
  w(this, "treeScale", 1);
887
887
  }
888
888
  }
889
- class li {
889
+ class ct {
890
890
  constructor() {
891
891
  // 杆塔id
892
892
  w(this, "id", "");
@@ -918,7 +918,7 @@ class li {
918
918
  w(this, "DistanceDisplaymax", 1e3);
919
919
  }
920
920
  }
921
- class ui {
921
+ class Tt {
922
922
  constructor() {
923
923
  // 绝缘子串id
924
924
  w(this, "id", "");
@@ -950,7 +950,7 @@ class ui {
950
950
  w(this, "DistanceDisplaymax", 500);
951
951
  }
952
952
  }
953
- class ci {
953
+ class Ct {
954
954
  constructor() {
955
955
  w(this, "name", "");
956
956
  w(this, "X", -45);
@@ -958,11 +958,11 @@ class ci {
958
958
  w(this, "Z", 0);
959
959
  }
960
960
  }
961
- var z = /* @__PURE__ */ ((a) => (a[a.A相 = 0] = "A相", a[a.B相 = 1] = "B相", a[a.C相 = 2] = "C相", a[a.地线1 = 3] = "地线1", a[a.地线2 = 4] = "地线2", a))(z || {}), q = /* @__PURE__ */ ((a) => (a[a.直线塔 = 0] = "直线塔", a[a.耐张塔 = 1] = "耐张塔", a[a.门架塔 = 2] = "门架塔", a[a.换位塔 = 3] = "换位塔", a))(q || {}), si = /* @__PURE__ */ ((a) => (a[a.交流单回路 = 0] = "交流单回路", a[a.交流双回路 = 1] = "交流双回路", a[a.直流单回路 = 2] = "直流单回路", a[a.直流双回路 = 3] = "直流双回路", a[a.交流四回路 = 4] = "交流四回路", a))(si || {}), rs = /* @__PURE__ */ ((a) => (a[a.地线 = 0] = "地线", a[a.回路一 = 1] = "回路一", a[a.回路二 = 2] = "回路二", a[a.回路三 = 3] = "回路三", a[a.回路四 = 4] = "回路四", a))(rs || {}), D = /* @__PURE__ */ ((a) => (a[a.悬垂串 = 0] = "悬垂串", a[a.耐张串 = 1] = "耐张串", a[a.跳线串 = 2] = "跳线串", a[a.硬跳串 = 3] = "硬跳串", a[a.V串 = 4] = "V串", a[a.地线串 = 5] = "地线串", a[a.绕跳临时 = 6] = "绕跳临时", a))(D || {}), A = /* @__PURE__ */ ((a) => (a[a.单分裂 = 0] = "单分裂", a[a.双分裂 = 1] = "双分裂", a[a.四分裂 = 2] = "四分裂", a[a.六分裂 = 3] = "六分裂", a[a.八分裂 = 4] = "八分裂", a))(A || {});
962
- class Ti {
961
+ var G = /* @__PURE__ */ ((a) => (a[a.A相 = 0] = "A相", a[a.B相 = 1] = "B相", a[a.C相 = 2] = "C相", a[a.地线1 = 3] = "地线1", a[a.地线2 = 4] = "地线2", a))(G || {}), V = /* @__PURE__ */ ((a) => (a[a.直线塔 = 0] = "直线塔", a[a.耐张塔 = 1] = "耐张塔", a[a.门架塔 = 2] = "门架塔", a[a.换位塔 = 3] = "换位塔", a))(V || {}), it = /* @__PURE__ */ ((a) => (a[a.交流单回路 = 0] = "交流单回路", a[a.交流双回路 = 1] = "交流双回路", a[a.直流单回路 = 2] = "直流单回路", a[a.直流双回路 = 3] = "直流双回路", a[a.交流四回路 = 4] = "交流四回路", a))(it || {}), hs = /* @__PURE__ */ ((a) => (a[a.地线 = 0] = "地线", a[a.回路一 = 1] = "回路一", a[a.回路二 = 2] = "回路二", a[a.回路三 = 3] = "回路三", a[a.回路四 = 4] = "回路四", a))(hs || {}), D = /* @__PURE__ */ ((a) => (a[a.悬垂串 = 0] = "悬垂串", a[a.耐张串 = 1] = "耐张串", a[a.跳线串 = 2] = "跳线串", a[a.硬跳串 = 3] = "硬跳串", a[a.V串 = 4] = "V串", a[a.地线串 = 5] = "地线串", a[a.绕跳临时 = 6] = "绕跳临时", a))(D || {}), p = /* @__PURE__ */ ((a) => (a[a.单分裂 = 0] = "单分裂", a[a.双分裂 = 1] = "双分裂", a[a.四分裂 = 2] = "四分裂", a[a.六分裂 = 3] = "六分裂", a[a.八分裂 = 4] = "八分裂", a))(p || {});
962
+ const es = class es {
963
963
  // private arcLine1D2: Cesium.Cartesian3[]= [];
964
964
  // 类的构造函数,用于初始化属性
965
- constructor(o, i, r) {
965
+ constructor(e, t, r) {
966
966
  //三维场景
967
967
  w(this, "viewer");
968
968
  w(this, "LineInfo");
@@ -981,6 +981,8 @@ class Ti {
981
981
  w(this, "LineentityCollection2");
982
982
  // 塔集合
983
983
  w(this, "offsetTowers", []);
984
+ // 树木集合
985
+ w(this, "offsetTrees", []);
984
986
  // 控制是否自动计算 RollX 角度(默认为 true,启用自动计算)
985
987
  w(this, "autoCalculateRollX", !0);
986
988
  // 动态加载相关数据结构
@@ -988,6 +990,8 @@ class Ti {
988
990
  // 存储每个塔的导线挂点信息
989
991
  w(this, "loadedWireSegments", /* @__PURE__ */ new Set());
990
992
  // 已加载的导线段 (格式: "index1-index2")
993
+ w(this, "loadedTreeIndices", /* @__PURE__ */ new Set());
994
+ // 已加载的树索引
991
995
  // 动态加载相关
992
996
  w(this, "isDynamicLoadingEnabled", !0);
993
997
  // 是否启用动态加载(默认启用以解决800km卡顿问题)
@@ -1071,49 +1075,49 @@ class Ti {
1071
1075
  w(this, "modelCache", /* @__PURE__ */ new Map());
1072
1076
  // 在类中添加私有属性来存储事件处理器和标记数据源
1073
1077
  w(this, "treeHandler", null);
1074
- this.Keym = r, this.viewer = o, this.LineInfo = i, this.dataSource2 = new n.CustomDataSource(this.LineInfo.LineID), this.entityCollection2 = this.dataSource2.entities, this.dataSourcetree = new n.CustomDataSource("tree"), this.entityCollectiontree = this.dataSourcetree.entities, this.dataSourceplotting = new n.CustomDataSource("plotting"), this.entityCollectionplotting = this.dataSourceplotting.entities, this.LinedataSource2 = new n.CustomDataSource(this.LineInfo.LineID + "daoxian"), this.LineentityCollection2 = this.LinedataSource2.entities;
1078
+ this.Keym = r, this.viewer = e, this.LineInfo = t, this.dataSource2 = new n.CustomDataSource(this.LineInfo.LineID), this.entityCollection2 = this.dataSource2.entities, this.dataSourcetree = new n.CustomDataSource(this.LineInfo.LineID + "tree"), this.entityCollectiontree = this.dataSourcetree.entities, this.dataSourceplotting = new n.CustomDataSource("plotting"), this.entityCollectionplotting = this.dataSourceplotting.entities, this.LinedataSource2 = new n.CustomDataSource(this.LineInfo.LineID + "daoxian"), this.LineentityCollection2 = this.LinedataSource2.entities;
1075
1079
  }
1076
1080
  /**
1077
1081
  * 创建模型缓存键
1078
1082
  */
1079
- createModelCacheKey(o, i, r, s) {
1080
- return `${o}_${i}_${r}_${s}`;
1083
+ createModelCacheKey(e, t, r, s) {
1084
+ return `${e}_${t}_${r}_${s}`;
1081
1085
  }
1082
1086
  /**
1083
1087
  * 从缓存中获取或创建模型配置
1084
1088
  * 注意:距离参数会自动限制最大值以避免性能问题
1085
1089
  */
1086
- getCachedModelConfig(o, i, r, s) {
1087
- const C = Math.max(0, r), W = Math.min(s, 5e4), L = this.createModelCacheKey(o, i, C, W);
1090
+ getCachedModelConfig(e, t, r, s) {
1091
+ const T = Math.max(0, r), W = Math.min(s, 5e4), L = this.createModelCacheKey(e, t, T, W);
1088
1092
  if (!this.modelCache.has(L)) {
1089
- const p = {
1090
- uri: o,
1091
- scale: i,
1092
- distanceDisplayCondition: [C, W]
1093
+ const A = {
1094
+ uri: e,
1095
+ scale: t,
1096
+ distanceDisplayCondition: [T, W]
1093
1097
  };
1094
- this.modelCache.set(L, p);
1098
+ this.modelCache.set(L, A);
1095
1099
  }
1096
1100
  return this.modelCache.get(L);
1097
1101
  }
1098
1102
  /**
1099
1103
  * 统一的模型添加方法,减少重复代码
1100
1104
  */
1101
- addModelToCollection(o, i, r, s, C, W, L) {
1102
- const p = this.getCachedModelConfig(
1105
+ addModelToCollection(e, t, r, s, T, W, L) {
1106
+ const A = this.getCachedModelConfig(
1103
1107
  s,
1104
1108
  W,
1105
1109
  L[0],
1106
1110
  L[1]
1107
1111
  );
1108
1112
  this.entityCollection2.add(
1109
- Zs(
1110
- o,
1111
- i,
1113
+ Cs(
1114
+ e,
1115
+ t,
1112
1116
  r,
1113
- p.uri,
1114
- C,
1115
- p.scale,
1116
- p.distanceDisplayCondition
1117
+ A.uri,
1118
+ T,
1119
+ A.scale,
1120
+ A.distanceDisplayCondition
1117
1121
  )
1118
1122
  );
1119
1123
  }
@@ -1121,8 +1125,8 @@ class Ti {
1121
1125
  * 设置是否自动计算 RollX 角度
1122
1126
  * @param enable 是否启用自动计算(true: 启用, false: 禁用)
1123
1127
  */
1124
- setAutoCalculateRollX(o) {
1125
- this.autoCalculateRollX = o;
1128
+ setAutoCalculateRollX(e) {
1129
+ this.autoCalculateRollX = e;
1126
1130
  }
1127
1131
  /**
1128
1132
  * 获取当前是否启用自动计算 RollX 角度
@@ -1132,27 +1136,47 @@ class Ti {
1132
1136
  return this.autoCalculateRollX;
1133
1137
  }
1134
1138
  /**
1135
- * 设置相机移动监听器,用于动态加载/卸载实体
1139
+ * 设置是否启用动态加载模式
1140
+ * @param enable 是否启用动态加载(true: 启用, false: 禁用)
1141
+ */
1142
+ setDynamicLoadingEnabled(e) {
1143
+ this.isDynamicLoadingEnabled = e;
1144
+ }
1145
+ /**
1146
+ * 获取当前是否启用动态加载模式
1147
+ * @returns 当前的动态加载状态
1148
+ */
1149
+ getDynamicLoadingEnabled() {
1150
+ return this.isDynamicLoadingEnabled;
1151
+ }
1152
+ /**
1153
+ * 设置相机移动监听器,用于动态加载/卸载杆塔和绝缘子
1136
1154
  */
1137
1155
  setupCameraMoveListener() {
1138
1156
  this.cameraMoveHandler && this.cameraMoveHandler(), this.cameraMoveHandler = this.viewer.camera.moveEnd.addEventListener(() => {
1139
1157
  this.updateVisibleTowers();
1140
1158
  });
1141
1159
  }
1160
+ /**
1161
+ * 设置树木相机移动监听器,用于动态加载/卸载树木
1162
+ */
1163
+ setupTreeCameraMoveListener() {
1164
+ this.cameraMoveHandler || this.setupCameraMoveListener();
1165
+ }
1142
1166
  /**
1143
1167
  * 计算相机视野范围内的塔索引
1144
1168
  */
1145
1169
  getVisibleTowerIndices() {
1146
- var p;
1170
+ var A;
1147
1171
  if (!this.viewer.camera || this.offsetTowers.length === 0)
1148
1172
  return { start: 0, end: 0 };
1149
- const o = this.viewer.camera.position, i = ((p = this.viewer.camera.positionCartographic) == null ? void 0 : p.height) || 1e3;
1173
+ const e = this.viewer.camera.position, t = ((A = this.viewer.camera.positionCartographic) == null ? void 0 : A.height) || 1e3;
1150
1174
  let r = 5;
1151
- i > 5e4 ? r = 2 : i > 1e4 ? r = 3 : i > 5e3 ? r = 5 : r = 10;
1152
- let s = 0, C = Number.MAX_VALUE;
1175
+ t > 5e4 ? r = 2 : t > 1e4 ? r = 3 : t > 5e3 ? r = 5 : r = 10;
1176
+ let s = 0, T = Number.MAX_VALUE;
1153
1177
  for (let d = 0; d < this.offsetTowers.length; d++) {
1154
- const t = n.Cartesian3.distance(o, this.offsetTowers[d]);
1155
- t < C && (C = t, s = d);
1178
+ const i = n.Cartesian3.distance(e, this.offsetTowers[d]);
1179
+ i < T && (T = i, s = d);
1156
1180
  }
1157
1181
  const W = Math.max(0, s - r), L = Math.min(this.offsetTowers.length - 1, s + r);
1158
1182
  return { start: W, end: L };
@@ -1161,15 +1185,56 @@ class Ti {
1161
1185
  * 更新可见范围内的塔(加载新塔,可选择性卸载远处的塔)
1162
1186
  */
1163
1187
  updateVisibleTowers() {
1164
- const { start: o, end: i } = this.getVisibleTowerIndices();
1165
- this.loadTowersInRange(o, i);
1188
+ const { start: e, end: t } = this.getVisibleTowerIndices();
1189
+ this.loadTowersInRange(e, t), this.updateVisibleTrees();
1190
+ }
1191
+ /**
1192
+ * 计算相机视野范围内的树木索引
1193
+ */
1194
+ getVisibleTreeIndices() {
1195
+ var T;
1196
+ if (!this.viewer.camera || this.offsetTrees.length === 0)
1197
+ return [];
1198
+ const e = this.viewer.camera.position, t = ((T = this.viewer.camera.positionCartographic) == null ? void 0 : T.height) || 1e3;
1199
+ let r = Math.max(5e3, t * 2);
1200
+ t > 5e4 && (r = 1e5);
1201
+ const s = [];
1202
+ for (let W = 0; W < this.offsetTrees.length; W++) {
1203
+ const L = this.offsetTrees[W];
1204
+ n.Cartesian3.distance(e, L) <= r && s.push(W);
1205
+ }
1206
+ if (s.length === 0 && this.offsetTrees.length > 0) {
1207
+ const W = Math.min(20, this.offsetTrees.length);
1208
+ for (let L = 0; L < W; L++)
1209
+ s.push(L);
1210
+ }
1211
+ return s;
1212
+ }
1213
+ /**
1214
+ * 更新可见的树木
1215
+ */
1216
+ updateVisibleTrees() {
1217
+ const e = this.getVisibleTreeIndices(), t = [];
1218
+ this.loadedTreeIndices.forEach((r) => {
1219
+ e.includes(r) || t.push(r);
1220
+ }), t.forEach((r) => {
1221
+ const s = "tree-" + this.LineInfo.Trees[r].id;
1222
+ this.entityCollectiontree.removeById(s), this.loadedTreeIndices.delete(r);
1223
+ }), e.forEach((r) => {
1224
+ if (!this.loadedTreeIndices.has(r))
1225
+ if (r >= 0 && r < this.offsetTrees.length && r < this.LineInfo.Trees.length) {
1226
+ const s = this.offsetTrees[r], T = this.LineInfo.Trees[r];
1227
+ s && T ? (this.loadTreeAtIndex(r, s), this.loadedTreeIndices.add(r)) : console.warn(`跳过无效的动态加载树木数据,索引: ${r}`);
1228
+ } else
1229
+ console.warn(`动态加载树木索引超出范围: ${r}`);
1230
+ });
1166
1231
  }
1167
1232
  /**
1168
1233
  * 初始化线路数据(不立即加载所有实体,避免性能问题)
1169
1234
  */
1170
1235
  initializeLineData() {
1171
- this.Keym == "OW_JPS_EEngin_001" && (this.LineInfo.towers.forEach((o) => {
1172
- this.offsetTowers.push(n.Cartesian3.fromDegrees(o.Longitude, o.Latitude, o.Altitude));
1236
+ this.Keym == "OW_JPS_EEngin_001" && (this.LineInfo.towers.forEach((e) => {
1237
+ this.offsetTowers.push(n.Cartesian3.fromDegrees(e.Longitude, e.Latitude, e.Altitude));
1173
1238
  }), this.autoCalculateRollX && this.calculateTowerOrientations());
1174
1239
  }
1175
1240
  /**
@@ -1178,143 +1243,143 @@ class Ti {
1178
1243
  * 耐张塔:垂直于转角的角平分线方向
1179
1244
  */
1180
1245
  calculateTowerOrientations() {
1181
- const o = this.LineInfo.towers.length;
1182
- if (o !== 0) {
1183
- if (o === 1) {
1246
+ const e = this.LineInfo.towers.length;
1247
+ if (e !== 0) {
1248
+ if (e === 1) {
1184
1249
  this.LineInfo.towers[0].RollX === void 0 && (this.LineInfo.towers[0].RollX = 90);
1185
1250
  return;
1186
1251
  }
1187
- for (let i = 0; i < o; i++) {
1252
+ for (let t = 0; t < e; t++) {
1188
1253
  let r = 0;
1189
- if (this.LineInfo.towers[i].type === q.耐张塔)
1190
- if (i === 0)
1191
- r = (as(this.LineInfo.towers, i, 3) - 90 + 360) % 360;
1192
- else if (i === o - 1)
1193
- r = (as(this.LineInfo.towers, i, 3) - 90 + 360) % 360;
1254
+ if (this.LineInfo.towers[t].type === V.耐张塔)
1255
+ if (t === 0)
1256
+ r = (Ws(this.LineInfo.towers, t, 3) - 90 + 360) % 360;
1257
+ else if (t === e - 1)
1258
+ r = (Ws(this.LineInfo.towers, t, 3) - 90 + 360) % 360;
1194
1259
  else {
1195
- const s = this.LineInfo.towers[i - 1], C = this.LineInfo.towers[i], W = this.LineInfo.towers[i + 1], L = Q(
1260
+ const s = this.LineInfo.towers[t - 1], T = this.LineInfo.towers[t], W = this.LineInfo.towers[t + 1], L = Q(
1196
1261
  s.Longitude,
1197
1262
  s.Latitude,
1198
- C.Longitude,
1199
- C.Latitude
1200
- ), p = Q(
1201
- C.Longitude,
1202
- C.Latitude,
1263
+ T.Longitude,
1264
+ T.Latitude
1265
+ ), A = Q(
1266
+ T.Longitude,
1267
+ T.Latitude,
1203
1268
  W.Longitude,
1204
1269
  W.Latitude
1205
1270
  );
1206
- r = (xs(L, p) - 90 + 360) % 360;
1271
+ r = (tt(L, A) - 90 + 360) % 360;
1207
1272
  }
1208
1273
  else
1209
- r = (as(this.LineInfo.towers, i, 2) - 90 + 360) % 360;
1210
- this.LineInfo.towers[i].RollX = r;
1274
+ r = (Ws(this.LineInfo.towers, t, 2) - 90 + 360) % 360;
1275
+ this.LineInfo.towers[t].RollX = r;
1211
1276
  }
1212
1277
  }
1213
1278
  }
1214
1279
  /**
1215
1280
  * 加载指定范围内的塔、绝缘子和相关导线(完整的动态加载实现)
1216
1281
  */
1217
- loadTowersInRange(o, i) {
1218
- if (o < 0 || i >= this.LineInfo.towers.length)
1282
+ loadTowersInRange(e, t) {
1283
+ if (e < 0 || t >= this.LineInfo.towers.length)
1219
1284
  return;
1220
- const r = Math.max(0, o - 1), s = Math.min(this.LineInfo.towers.length - 1, i + 1);
1221
- for (let C = r; C <= s; C++)
1222
- this.loadedTowerIndices.has(C) || (this.loadTowerAndCollectWirePoints(C), this.loadedTowerIndices.add(C));
1223
- for (let C = r; C < s; C++) {
1224
- const W = `${C}-${C + 1}`;
1225
- this.loadedWireSegments.has(W) || (this.loadWireSegmentBetweenTowers(C, C + 1), this.loadedWireSegments.add(W));
1285
+ const r = Math.max(0, e - 1), s = Math.min(this.LineInfo.towers.length - 1, t + 1);
1286
+ for (let T = r; T <= s; T++)
1287
+ this.loadedTowerIndices.has(T) || (this.loadTowerAndCollectWirePoints(T), this.loadedTowerIndices.add(T));
1288
+ for (let T = r; T < s; T++) {
1289
+ const W = `${T}-${T + 1}`;
1290
+ this.loadedWireSegments.has(W) || (this.loadWireSegmentBetweenTowers(T, T + 1), this.loadedWireSegments.add(W));
1226
1291
  }
1227
1292
  }
1228
1293
  /**
1229
1294
  * 加载单个塔和绝缘子,并收集导线挂点信息用于后续导线计算
1230
1295
  */
1231
- loadTowerAndCollectWirePoints(o) {
1232
- const i = this.offsetTowers[o], r = new n.HeadingPitchRoll(
1233
- n.Math.toRadians(this.LineInfo.towers[o].RollX),
1234
- n.Math.toRadians(this.LineInfo.towers[o].RollY),
1235
- n.Math.toRadians(this.LineInfo.towers[o].RollZ)
1296
+ loadTowerAndCollectWirePoints(e) {
1297
+ const t = this.offsetTowers[e], r = new n.HeadingPitchRoll(
1298
+ n.Math.toRadians(this.LineInfo.towers[e].RollX),
1299
+ n.Math.toRadians(this.LineInfo.towers[e].RollY),
1300
+ n.Math.toRadians(this.LineInfo.towers[e].RollZ)
1236
1301
  );
1237
1302
  this.addModelToCollection(
1238
- this.LineInfo.towers[o].id,
1239
- i,
1240
- this.LineInfo.towers[o].name,
1241
- this.LineInfo.towers[o].towerModelUri,
1303
+ this.LineInfo.towers[e].id,
1304
+ t,
1305
+ this.LineInfo.towers[e].name,
1306
+ this.LineInfo.towers[e].towerModelUri,
1242
1307
  r,
1243
- this.LineInfo.towers[o].towerScale,
1244
- [this.LineInfo.towers[o].DistanceDisplaymin, this.LineInfo.towers[o].DistanceDisplaymax]
1308
+ this.LineInfo.towers[e].towerScale,
1309
+ [this.LineInfo.towers[e].DistanceDisplaymin, this.LineInfo.towers[e].DistanceDisplaymax]
1245
1310
  );
1246
- const s = new n.HeadingPitchRoll(n.Math.toRadians(this.LineInfo.towers[o].RollX), 0, 0), C = new n.HeadingPitchRoll(n.Math.toRadians(this.LineInfo.towers[o].RollX), 0, 0);
1311
+ const s = new n.HeadingPitchRoll(n.Math.toRadians(this.LineInfo.towers[e].RollX), 0, 0), T = new n.HeadingPitchRoll(n.Math.toRadians(this.LineInfo.towers[e].RollX), 0, 0);
1247
1312
  let W = 0;
1248
1313
  const L = [];
1249
- this.LineInfo.towers[o].Insulators.forEach((p) => {
1314
+ this.LineInfo.towers[e].Insulators.forEach((A) => {
1250
1315
  const d = B(
1251
- i,
1316
+ t,
1252
1317
  new n.Cartesian3(
1253
- this.LineInfo.towers[o].towerPoint[W].X,
1254
- this.LineInfo.towers[o].towerPoint[W].Y,
1255
- this.LineInfo.towers[o].towerPoint[W].Z
1318
+ this.LineInfo.towers[e].towerPoint[W].X,
1319
+ this.LineInfo.towers[e].towerPoint[W].Y,
1320
+ this.LineInfo.towers[e].towerPoint[W].Z
1256
1321
  ),
1257
- this.LineInfo.towers[o].type === q.耐张塔 ? C : s
1322
+ this.LineInfo.towers[e].type === V.耐张塔 ? T : s
1258
1323
  );
1259
- let t, l;
1260
- if (this.autoCalculateRollX ? l = this.LineInfo.towers[o].RollX : l = p.RollX, this.LineInfo.towers[o].type === q.耐张塔)
1261
- switch (p.type) {
1324
+ let i, l;
1325
+ if (this.autoCalculateRollX ? l = this.LineInfo.towers[e].RollX : l = A.RollX, this.LineInfo.towers[e].type === V.耐张塔)
1326
+ switch (A.type) {
1262
1327
  case D.耐张串:
1263
- t = p.WairFX === "进" ? new n.HeadingPitchRoll(n.Math.toRadians(l), n.Math.toRadians(-180), n.Math.toRadians(180)) : new n.HeadingPitchRoll(n.Math.toRadians(l), n.Math.toRadians(0), n.Math.toRadians(0));
1328
+ i = A.WairFX === "进" ? new n.HeadingPitchRoll(n.Math.toRadians(l), n.Math.toRadians(-180), n.Math.toRadians(180)) : new n.HeadingPitchRoll(n.Math.toRadians(l), n.Math.toRadians(0), n.Math.toRadians(0));
1264
1329
  break;
1265
1330
  case D.跳线串:
1266
- t = new n.HeadingPitchRoll(
1331
+ i = new n.HeadingPitchRoll(
1267
1332
  n.Math.toRadians(l),
1268
- n.Math.toRadians(p.RollY),
1269
- n.Math.toRadians(p.RollZ)
1333
+ n.Math.toRadians(A.RollY),
1334
+ n.Math.toRadians(A.RollZ)
1270
1335
  );
1271
1336
  break;
1272
1337
  case D.地线串:
1273
- t = new n.HeadingPitchRoll(
1338
+ i = new n.HeadingPitchRoll(
1274
1339
  n.Math.toRadians(l),
1275
- n.Math.toRadians(p.RollY),
1276
- n.Math.toRadians(p.RollZ)
1340
+ n.Math.toRadians(A.RollY),
1341
+ n.Math.toRadians(A.RollZ)
1277
1342
  );
1278
1343
  break;
1279
1344
  default:
1280
- t = new n.HeadingPitchRoll(
1345
+ i = new n.HeadingPitchRoll(
1281
1346
  n.Math.toRadians(l),
1282
- n.Math.toRadians(p.RollY),
1283
- n.Math.toRadians(p.RollZ)
1347
+ n.Math.toRadians(A.RollY),
1348
+ n.Math.toRadians(A.RollZ)
1284
1349
  );
1285
1350
  }
1286
1351
  else
1287
- t = new n.HeadingPitchRoll(
1352
+ i = new n.HeadingPitchRoll(
1288
1353
  n.Math.toRadians(l),
1289
- n.Math.toRadians(p.RollY),
1290
- n.Math.toRadians(p.RollZ)
1354
+ n.Math.toRadians(A.RollY),
1355
+ n.Math.toRadians(A.RollZ)
1291
1356
  );
1292
1357
  this.addModelToCollection(
1293
- p.id,
1358
+ A.id,
1294
1359
  d,
1295
- p.name,
1296
- p.InsulatorModelUri,
1297
- t,
1298
- p.InsulatorScale,
1299
- [p.DistanceDisplaymin, p.DistanceDisplaymax]
1360
+ A.name,
1361
+ A.InsulatorModelUri,
1362
+ i,
1363
+ A.InsulatorScale,
1364
+ [A.DistanceDisplaymin, A.DistanceDisplaymax]
1300
1365
  );
1301
1366
  const u = {
1302
- insulator: p,
1367
+ insulator: A,
1303
1368
  insulatorIndex: W,
1304
- position: i,
1369
+ position: t,
1305
1370
  lineroll: s,
1306
1371
  WairPoint: []
1307
1372
  };
1308
- p.InsulatorPoint.forEach((T) => {
1309
- T.Y = T.Y + this.LineInfo.towers[o].towerPoint[W].Y, T.Z = T.Z + this.LineInfo.towers[o].towerPoint[W].Z, u.WairPoint.push(B(i, new n.Cartesian3(T.X, T.Y, T.Z), s));
1373
+ A.InsulatorPoint.forEach((C) => {
1374
+ C.Y = C.Y + this.LineInfo.towers[e].towerPoint[W].Y, C.Z = C.Z + this.LineInfo.towers[e].towerPoint[W].Z, u.WairPoint.push(B(t, new n.Cartesian3(C.X, C.Y, C.Z), s));
1310
1375
  }), L.push(u), W++;
1311
- }), this.towerWirePoints.set(o, L);
1376
+ }), this.towerWirePoints.set(e, L);
1312
1377
  }
1313
1378
  /**
1314
1379
  * 加载两个相邻塔之间的导线段
1315
1380
  */
1316
- loadWireSegmentBetweenTowers(o, i) {
1317
- const r = this.towerWirePoints.get(o), s = this.towerWirePoints.get(i);
1381
+ loadWireSegmentBetweenTowers(e, t) {
1382
+ const r = this.towerWirePoints.get(e), s = this.towerWirePoints.get(t);
1318
1383
  !r || !s || this.resetWireArraysForTwoTowers();
1319
1384
  }
1320
1385
  /**
@@ -1333,23 +1398,23 @@ class Ti {
1333
1398
  * 只加载导线,不加载杆塔和绝缘子(用于动态加载模式)
1334
1399
  */
1335
1400
  loadAllWiresOnly() {
1336
- const o = new n.EntityCollection(), i = this.entityCollection2;
1337
- this.entityCollection2 = o, this.loadAllTowersAtOnce();
1401
+ const e = new n.EntityCollection(), t = this.entityCollection2;
1402
+ this.entityCollection2 = e, this.loadAllTowersAtOnce();
1338
1403
  const r = [];
1339
- o.values.forEach((s) => {
1340
- var C;
1341
- s.name && (s.name.includes("导线") || s.name.includes("daoxian") || (C = s.id) != null && C.toString().includes("daoxian")) && r.push(s);
1342
- }), this.entityCollection2 = i, r.forEach((s) => {
1404
+ e.values.forEach((s) => {
1405
+ var T;
1406
+ s.name && (s.name.includes("导线") || s.name.includes("daoxian") || (T = s.id) != null && T.toString().includes("daoxian")) && r.push(s);
1407
+ }), this.entityCollection2 = t, r.forEach((s) => {
1343
1408
  this.entityCollection2.add(s);
1344
- }), o.removeAll();
1409
+ }), e.removeAll();
1345
1410
  }
1346
1411
  /**
1347
1412
  * 一次性加载所有塔(兼容模式,大数据量时会卡顿)
1348
1413
  */
1349
1414
  loadAllTowersAtOnce() {
1350
- let o = 0, i = 0;
1415
+ let e = 0, t = 0;
1351
1416
  this.offsetTowers.forEach((r, s) => {
1352
- const C = new n.HeadingPitchRoll(
1417
+ const T = new n.HeadingPitchRoll(
1353
1418
  n.Math.toRadians(this.LineInfo.towers[s].RollX),
1354
1419
  n.Math.toRadians(this.LineInfo.towers[s].RollY),
1355
1420
  n.Math.toRadians(this.LineInfo.towers[s].RollZ)
@@ -1359,1067 +1424,1104 @@ class Ti {
1359
1424
  r,
1360
1425
  this.LineInfo.towers[s].name,
1361
1426
  this.LineInfo.towers[s].towerModelUri,
1362
- C,
1427
+ T,
1363
1428
  this.LineInfo.towers[s].towerScale,
1364
1429
  [this.LineInfo.towers[s].DistanceDisplaymin, this.LineInfo.towers[s].DistanceDisplaymax]
1365
1430
  );
1366
1431
  const W = new n.HeadingPitchRoll(n.Math.toRadians(this.LineInfo.towers[s].RollX), 0, 0), L = new n.HeadingPitchRoll(n.Math.toRadians(this.LineInfo.towers[s].RollX), 0, 0);
1367
- let p = 0;
1368
- if (this.LineInfo.towers[s].Insulators.forEach((t) => {
1432
+ let A = 0;
1433
+ if (this.LineInfo.towers[s].Insulators.forEach((i) => {
1369
1434
  const l = B(
1370
1435
  r,
1371
1436
  new n.Cartesian3(
1372
- this.LineInfo.towers[s].towerPoint[p].X,
1373
- this.LineInfo.towers[s].towerPoint[p].Y,
1374
- this.LineInfo.towers[s].towerPoint[p].Z
1437
+ this.LineInfo.towers[s].towerPoint[A].X,
1438
+ this.LineInfo.towers[s].towerPoint[A].Y,
1439
+ this.LineInfo.towers[s].towerPoint[A].Z
1375
1440
  ),
1376
- this.LineInfo.towers[s].type === q.耐张塔 ? L : W
1441
+ this.LineInfo.towers[s].type === V.耐张塔 ? L : W
1377
1442
  );
1378
- let u, T;
1379
- if (this.autoCalculateRollX ? T = this.LineInfo.towers[s].RollX : T = t.RollX, this.LineInfo.towers[s].type === q.耐张塔)
1380
- switch (t.type) {
1443
+ let u, C;
1444
+ if (this.autoCalculateRollX ? C = this.LineInfo.towers[s].RollX : C = i.RollX, this.LineInfo.towers[s].type === V.耐张塔)
1445
+ switch (i.type) {
1381
1446
  case D.耐张串:
1382
- u = t.WairFX === "进" ? new n.HeadingPitchRoll(n.Math.toRadians(T), n.Math.toRadians(-180), n.Math.toRadians(180)) : new n.HeadingPitchRoll(n.Math.toRadians(T), n.Math.toRadians(0), n.Math.toRadians(0));
1447
+ u = i.WairFX === "进" ? new n.HeadingPitchRoll(n.Math.toRadians(C), n.Math.toRadians(-180), n.Math.toRadians(180)) : new n.HeadingPitchRoll(n.Math.toRadians(C), n.Math.toRadians(0), n.Math.toRadians(0));
1383
1448
  break;
1384
1449
  case D.跳线串:
1385
1450
  u = new n.HeadingPitchRoll(
1386
- n.Math.toRadians(T),
1387
- n.Math.toRadians(t.RollY),
1388
- n.Math.toRadians(t.RollZ)
1451
+ n.Math.toRadians(C),
1452
+ n.Math.toRadians(i.RollY),
1453
+ n.Math.toRadians(i.RollZ)
1389
1454
  );
1390
1455
  break;
1391
1456
  case D.地线串:
1392
1457
  u = new n.HeadingPitchRoll(
1393
- n.Math.toRadians(T),
1394
- n.Math.toRadians(t.RollY),
1395
- n.Math.toRadians(t.RollZ)
1458
+ n.Math.toRadians(C),
1459
+ n.Math.toRadians(i.RollY),
1460
+ n.Math.toRadians(i.RollZ)
1396
1461
  );
1397
1462
  break;
1398
1463
  default:
1399
1464
  u = new n.HeadingPitchRoll(
1400
- n.Math.toRadians(T),
1401
- n.Math.toRadians(t.RollY),
1402
- n.Math.toRadians(t.RollZ)
1465
+ n.Math.toRadians(C),
1466
+ n.Math.toRadians(i.RollY),
1467
+ n.Math.toRadians(i.RollZ)
1403
1468
  );
1404
1469
  }
1405
1470
  else
1406
1471
  u = new n.HeadingPitchRoll(
1407
- n.Math.toRadians(T),
1408
- n.Math.toRadians(t.RollY),
1409
- n.Math.toRadians(t.RollZ)
1472
+ n.Math.toRadians(C),
1473
+ n.Math.toRadians(i.RollY),
1474
+ n.Math.toRadians(i.RollZ)
1410
1475
  );
1411
1476
  this.addModelToCollection(
1412
- t.id,
1477
+ i.id,
1413
1478
  l,
1414
- t.name,
1415
- t.InsulatorModelUri,
1479
+ i.name,
1480
+ i.InsulatorModelUri,
1416
1481
  u,
1417
- t.InsulatorScale,
1418
- [t.DistanceDisplaymin, t.DistanceDisplaymax]
1482
+ i.InsulatorScale,
1483
+ [i.DistanceDisplaymin, i.DistanceDisplaymax]
1419
1484
  );
1420
- const e = [];
1421
- switch (t.InsulatorPoint.forEach((c) => {
1422
- c.Y = c.Y + this.LineInfo.towers[s].towerPoint[p].Y, c.Z = c.Z + this.LineInfo.towers[s].towerPoint[p].Z, e.push(B(r, new n.Cartesian3(c.X, c.Y, c.Z), W));
1423
- }), t.linenum) {
1424
- case rs.回路一:
1485
+ const o = [];
1486
+ switch (i.InsulatorPoint.forEach((c) => {
1487
+ c.Y = c.Y + this.LineInfo.towers[s].towerPoint[A].Y, c.Z = c.Z + this.LineInfo.towers[s].towerPoint[A].Z, o.push(B(r, new n.Cartesian3(c.X, c.Y, c.Z), W));
1488
+ }), i.linenum) {
1489
+ case hs.回路一:
1425
1490
  if (this.LineInfo.ISPhaseSequence)
1426
- if (this.LineInfo.towers[s].type == q.耐张塔)
1427
- switch (t.PhaseSequence) {
1428
- case z.A相:
1429
- if (t.type == D.耐张串)
1430
- if (t.WairFX == "进")
1491
+ if (this.LineInfo.towers[s].type == V.耐张塔)
1492
+ switch (i.PhaseSequence) {
1493
+ case G.A相:
1494
+ if (i.type == D.耐张串)
1495
+ if (i.WairFX == "进")
1431
1496
  switch (this.LineInfo.Wairnum) {
1432
- case A.单分裂:
1433
- this.offsetWires11.push(e[0]), this.ToffsetWires1A1.push(e[0]);
1497
+ case p.单分裂:
1498
+ this.offsetWires11.push(o[0]), this.ToffsetWires1A1.push(o[0]);
1434
1499
  break;
1435
- case A.双分裂:
1436
- this.offsetWires11.push(e[0]), this.offsetWires11.push(e[1]), this.ToffsetWires1A1.push(e[2]), this.ToffsetWires1A1.push(e[3]);
1500
+ case p.双分裂:
1501
+ this.offsetWires11.push(o[0]), this.offsetWires11.push(o[1]), this.ToffsetWires1A1.push(o[2]), this.ToffsetWires1A1.push(o[3]);
1437
1502
  break;
1438
- case A.四分裂:
1439
- this.offsetWires11.push(e[0]), this.offsetWires11.push(e[1]), this.offsetWires11.push(e[2]), this.offsetWires11.push(e[3]), this.ToffsetWires1A1.push(e[4]), this.ToffsetWires1A1.push(e[5]), this.ToffsetWires1A1.push(e[6]), this.ToffsetWires1A1.push(e[7]);
1503
+ case p.四分裂:
1504
+ 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]);
1440
1505
  break;
1441
- case A.六分裂:
1442
- this.offsetWires11.push(e[0]), this.offsetWires11.push(e[1]), this.offsetWires11.push(e[2]), this.offsetWires11.push(e[3]), this.offsetWires11.push(e[4]), this.offsetWires11.push(e[5]), this.ToffsetWires1A1.push(e[6]), this.ToffsetWires1A1.push(e[7]), this.ToffsetWires1A1.push(e[8]), this.ToffsetWires1A1.push(e[9]), this.ToffsetWires1A1.push(e[10]), this.ToffsetWires1A1.push(e[11]);
1506
+ case p.六分裂:
1507
+ 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]);
1443
1508
  break;
1444
- case A.八分裂:
1445
- this.offsetWires11.push(e[0]), this.offsetWires11.push(e[1]), this.offsetWires11.push(e[2]), this.offsetWires11.push(e[3]), this.offsetWires11.push(e[4]), this.offsetWires11.push(e[5]), this.offsetWires11.push(e[6]), this.offsetWires11.push(e[7]), this.ToffsetWires1A1.push(e[8]), this.ToffsetWires1A1.push(e[9]), this.ToffsetWires1A1.push(e[10]), this.ToffsetWires1A1.push(e[11]), this.ToffsetWires1A1.push(e[12]), this.ToffsetWires1A1.push(e[13]), this.ToffsetWires1A1.push(e[14]), this.ToffsetWires1A1.push(e[15]);
1509
+ case p.八分裂:
1510
+ 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]);
1446
1511
  break;
1447
1512
  }
1448
1513
  else
1449
1514
  switch (this.LineInfo.Wairnum) {
1450
- case A.单分裂:
1451
- const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1515
+ case p.单分裂:
1516
+ const c = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W);
1452
1517
  this.offsetWires11.push(c), this.ToffsetWires1A2.push(c);
1453
1518
  break;
1454
- case A.双分裂:
1455
- const m = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W);
1519
+ case p.双分裂:
1520
+ const m = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W);
1456
1521
  this.offsetWires11.push(m), this.offsetWires11.push(b), this.ToffsetWires1A2.push(m), this.ToffsetWires1A2.push(b);
1457
1522
  break;
1458
- case A.四分裂:
1459
- const I = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), P = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), g = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), y = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W);
1523
+ case p.四分裂:
1524
+ const I = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), P = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), g = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), y = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W);
1460
1525
  this.offsetWires11.push(I), this.offsetWires11.push(P), this.offsetWires11.push(g), this.offsetWires11.push(y), this.ToffsetWires1A2.push(I), this.ToffsetWires1A2.push(P), this.ToffsetWires1A2.push(g), this.ToffsetWires1A2.push(y);
1461
1526
  break;
1462
- case A.六分裂:
1463
- const _ = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), v = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), k = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), M = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), Z = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), E = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W);
1464
- this.offsetWires11.push(_), this.offsetWires11.push(v), this.offsetWires11.push(k), this.offsetWires11.push(M), this.offsetWires11.push(Z), this.offsetWires11.push(E), this.ToffsetWires1A2.push(_), this.ToffsetWires1A2.push(v), this.ToffsetWires1A2.push(k), this.ToffsetWires1A2.push(M), this.ToffsetWires1A2.push(Z), this.ToffsetWires1A2.push(E);
1527
+ case p.六分裂:
1528
+ const _ = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), v = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), S = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), M = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W), R = B(r, new n.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), W), E = B(r, new n.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), W);
1529
+ this.offsetWires11.push(_), this.offsetWires11.push(v), this.offsetWires11.push(S), this.offsetWires11.push(M), this.offsetWires11.push(R), this.offsetWires11.push(E), this.ToffsetWires1A2.push(_), this.ToffsetWires1A2.push(v), this.ToffsetWires1A2.push(S), this.ToffsetWires1A2.push(M), this.ToffsetWires1A2.push(R), this.ToffsetWires1A2.push(E);
1465
1530
  break;
1466
- case A.八分裂:
1467
- const Y = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), R = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), F = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), S = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), X = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), H = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W), O = B(r, new n.Cartesian3(t.InsulatorPoint[6].X * -1, t.InsulatorPoint[6].Y, t.InsulatorPoint[6].Z), W), N = B(r, new n.Cartesian3(t.InsulatorPoint[7].X * -1, t.InsulatorPoint[7].Y, t.InsulatorPoint[7].Z), W);
1468
- this.offsetWires11.push(Y), this.offsetWires11.push(R), this.offsetWires11.push(F), this.offsetWires11.push(S), this.offsetWires11.push(X), this.offsetWires11.push(H), this.offsetWires11.push(O), this.offsetWires11.push(N), this.ToffsetWires1A2.push(Y), this.ToffsetWires1A2.push(R), this.ToffsetWires1A2.push(F), this.ToffsetWires1A2.push(S), this.ToffsetWires1A2.push(X), this.ToffsetWires1A2.push(H), this.ToffsetWires1A2.push(O), this.ToffsetWires1A2.push(N);
1531
+ case p.八分裂:
1532
+ const Y = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), Z = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), F = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), k = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W), X = B(r, new n.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), W), H = B(r, new n.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), W), O = B(r, new n.Cartesian3(i.InsulatorPoint[6].X * -1, i.InsulatorPoint[6].Y, i.InsulatorPoint[6].Z), W), $ = B(r, new n.Cartesian3(i.InsulatorPoint[7].X * -1, i.InsulatorPoint[7].Y, i.InsulatorPoint[7].Z), W);
1533
+ this.offsetWires11.push(Y), this.offsetWires11.push(Z), this.offsetWires11.push(F), this.offsetWires11.push(k), this.offsetWires11.push(X), this.offsetWires11.push(H), this.offsetWires11.push(O), this.offsetWires11.push($), this.ToffsetWires1A2.push(Y), this.ToffsetWires1A2.push(Z), this.ToffsetWires1A2.push(F), this.ToffsetWires1A2.push(k), this.ToffsetWires1A2.push(X), this.ToffsetWires1A2.push(H), this.ToffsetWires1A2.push(O), this.ToffsetWires1A2.push($);
1469
1534
  break;
1470
1535
  }
1471
- else if (t.type == D.跳线串)
1536
+ else if (i.type == D.跳线串)
1472
1537
  switch (this.LineInfo.Wairnum) {
1473
- case A.单分裂:
1474
- this.ToffsetWires1A1.push(e[0]), this.ToffsetWires1A2.push(e[1]);
1538
+ case p.单分裂:
1539
+ this.ToffsetWires1A1.push(o[0]), this.ToffsetWires1A2.push(o[1]);
1475
1540
  break;
1476
- case A.双分裂:
1477
- this.ToffsetWires1A1.push(e[0]), this.ToffsetWires1A1.push(e[1]), this.ToffsetWires1A2.push(e[2]), this.ToffsetWires1A2.push(e[3]);
1541
+ case p.双分裂:
1542
+ this.ToffsetWires1A1.push(o[0]), this.ToffsetWires1A1.push(o[1]), this.ToffsetWires1A2.push(o[2]), this.ToffsetWires1A2.push(o[3]);
1478
1543
  break;
1479
- case A.四分裂:
1480
- this.ToffsetWires1A1.push(e[0]), this.ToffsetWires1A1.push(e[1]), this.ToffsetWires1A1.push(e[2]), this.ToffsetWires1A1.push(e[3]), this.ToffsetWires1A2.push(e[4]), this.ToffsetWires1A2.push(e[5]), this.ToffsetWires1A2.push(e[6]), this.ToffsetWires1A2.push(e[7]);
1544
+ case p.四分裂:
1545
+ 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]);
1481
1546
  break;
1482
- case A.六分裂:
1483
- this.ToffsetWires1A1.push(e[0]), this.ToffsetWires1A1.push(e[1]), this.ToffsetWires1A1.push(e[2]), this.ToffsetWires1A1.push(e[3]), this.ToffsetWires1A1.push(e[4]), this.ToffsetWires1A1.push(e[5]), this.ToffsetWires1A2.push(e[6]), this.ToffsetWires1A2.push(e[7]), this.ToffsetWires1A2.push(e[8]), this.ToffsetWires1A2.push(e[9]), this.ToffsetWires1A2.push(e[10]), this.ToffsetWires1A2.push(e[11]);
1547
+ case p.六分裂:
1548
+ 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]);
1484
1549
  break;
1485
- case A.八分裂:
1486
- this.ToffsetWires1A1.push(e[0]), this.ToffsetWires1A1.push(e[1]), this.ToffsetWires1A1.push(e[2]), this.ToffsetWires1A1.push(e[3]), this.ToffsetWires1A1.push(e[4]), this.ToffsetWires1A1.push(e[5]), this.ToffsetWires1A1.push(e[6]), this.ToffsetWires1A1.push(e[7]), this.ToffsetWires1A2.push(e[8]), this.ToffsetWires1A2.push(e[9]), this.ToffsetWires1A2.push(e[10]), this.ToffsetWires1A2.push(e[11]), this.ToffsetWires1A2.push(e[12]), this.ToffsetWires1A2.push(e[13]), this.ToffsetWires1A2.push(e[14]), this.ToffsetWires1A2.push(e[15]);
1550
+ case p.八分裂:
1551
+ 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]);
1487
1552
  break;
1488
1553
  }
1489
1554
  break;
1490
- case z.B相:
1491
- if (t.type == D.耐张串)
1492
- if (t.WairFX == "进")
1555
+ case G.B相:
1556
+ if (i.type == D.耐张串)
1557
+ if (i.WairFX == "进")
1493
1558
  switch (this.LineInfo.Wairnum) {
1494
- case A.单分裂:
1495
- this.offsetWires12.push(e[0]), this.ToffsetWires1B1.push(e[1]);
1559
+ case p.单分裂:
1560
+ this.offsetWires12.push(o[0]), this.ToffsetWires1B1.push(o[1]);
1496
1561
  break;
1497
- case A.双分裂:
1498
- this.offsetWires12.push(e[0]), this.offsetWires12.push(e[1]), this.ToffsetWires1B1.push(e[2]), this.ToffsetWires1B1.push(e[3]);
1562
+ case p.双分裂:
1563
+ this.offsetWires12.push(o[0]), this.offsetWires12.push(o[1]), this.ToffsetWires1B1.push(o[2]), this.ToffsetWires1B1.push(o[3]);
1499
1564
  break;
1500
- case A.四分裂:
1501
- this.offsetWires12.push(e[0]), this.offsetWires12.push(e[1]), this.offsetWires12.push(e[2]), this.offsetWires12.push(e[3]), this.ToffsetWires1B1.push(e[4]), this.ToffsetWires1B1.push(e[5]), this.ToffsetWires1B1.push(e[6]), this.ToffsetWires1B1.push(e[7]);
1565
+ case p.四分裂:
1566
+ 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]);
1502
1567
  break;
1503
- case A.六分裂:
1504
- this.offsetWires12.push(e[0]), this.offsetWires12.push(e[1]), this.offsetWires12.push(e[2]), this.offsetWires12.push(e[3]), this.offsetWires12.push(e[4]), this.offsetWires12.push(e[5]), this.ToffsetWires1B1.push(e[6]), this.ToffsetWires1B1.push(e[7]), this.ToffsetWires1B1.push(e[8]), this.ToffsetWires1B1.push(e[9]), this.ToffsetWires1B1.push(e[10]), this.ToffsetWires1B1.push(e[11]);
1568
+ case p.六分裂:
1569
+ 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]);
1505
1570
  break;
1506
- case A.八分裂:
1507
- this.offsetWires12.push(e[0]), this.offsetWires12.push(e[1]), this.offsetWires12.push(e[2]), this.offsetWires12.push(e[3]), this.offsetWires12.push(e[4]), this.offsetWires12.push(e[5]), this.offsetWires12.push(e[6]), this.offsetWires12.push(e[7]), this.ToffsetWires1B1.push(e[8]), this.ToffsetWires1B1.push(e[9]), this.ToffsetWires1B1.push(e[10]), this.ToffsetWires1B1.push(e[11]), this.ToffsetWires1B1.push(e[12]), this.ToffsetWires1B1.push(e[13]), this.ToffsetWires1B1.push(e[14]), this.ToffsetWires1B1.push(e[15]);
1571
+ case p.八分裂:
1572
+ 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]);
1508
1573
  break;
1509
1574
  }
1510
1575
  else
1511
1576
  switch (this.LineInfo.Wairnum) {
1512
- case A.单分裂:
1513
- const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1577
+ case p.单分裂:
1578
+ const c = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W);
1514
1579
  this.offsetWires12.push(c), this.ToffsetWires1B2.push(c);
1515
1580
  break;
1516
- case A.双分裂:
1517
- const m = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W);
1581
+ case p.双分裂:
1582
+ const m = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W);
1518
1583
  this.offsetWires12.push(m), this.offsetWires12.push(b), this.ToffsetWires1B2.push(m), this.ToffsetWires1B2.push(b);
1519
1584
  break;
1520
- case A.四分裂:
1521
- const I = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), P = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), g = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), y = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W);
1585
+ case p.四分裂:
1586
+ const I = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), P = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), g = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), y = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W);
1522
1587
  this.offsetWires12.push(I), this.offsetWires12.push(P), this.offsetWires12.push(g), this.offsetWires12.push(y), this.ToffsetWires1B2.push(I), this.ToffsetWires1B2.push(P), this.ToffsetWires1B2.push(g), this.ToffsetWires1B2.push(y);
1523
1588
  break;
1524
- case A.六分裂:
1525
- const _ = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), v = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), k = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), M = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), Z = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), E = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W);
1526
- this.offsetWires12.push(_), this.offsetWires12.push(v), this.offsetWires12.push(k), this.offsetWires12.push(M), this.offsetWires12.push(Z), this.offsetWires12.push(E), this.ToffsetWires1B2.push(_), this.ToffsetWires1B2.push(v), this.ToffsetWires1B2.push(k), this.ToffsetWires1B2.push(M), this.ToffsetWires1B2.push(Z), this.ToffsetWires1B2.push(E);
1589
+ case p.六分裂:
1590
+ const _ = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), v = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), S = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), M = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W), R = B(r, new n.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), W), E = B(r, new n.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), W);
1591
+ this.offsetWires12.push(_), this.offsetWires12.push(v), this.offsetWires12.push(S), this.offsetWires12.push(M), this.offsetWires12.push(R), this.offsetWires12.push(E), this.ToffsetWires1B2.push(_), this.ToffsetWires1B2.push(v), this.ToffsetWires1B2.push(S), this.ToffsetWires1B2.push(M), this.ToffsetWires1B2.push(R), this.ToffsetWires1B2.push(E);
1527
1592
  break;
1528
- case A.八分裂:
1529
- const Y = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), R = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), F = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), S = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), X = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), H = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W), O = B(r, new n.Cartesian3(t.InsulatorPoint[6].X * -1, t.InsulatorPoint[6].Y, t.InsulatorPoint[6].Z), W), N = B(r, new n.Cartesian3(t.InsulatorPoint[7].X * -1, t.InsulatorPoint[7].Y, t.InsulatorPoint[7].Z), W);
1530
- this.offsetWires12.push(Y), this.offsetWires12.push(R), this.offsetWires12.push(F), this.offsetWires12.push(S), this.offsetWires12.push(X), this.offsetWires12.push(H), this.offsetWires12.push(O), this.offsetWires12.push(N), this.ToffsetWires1B2.push(Y), this.ToffsetWires1B2.push(R), this.ToffsetWires1B2.push(F), this.ToffsetWires1B2.push(S), this.ToffsetWires1B2.push(X), this.ToffsetWires1B2.push(H), this.ToffsetWires1B2.push(O), this.ToffsetWires1B2.push(N);
1593
+ case p.八分裂:
1594
+ const Y = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), Z = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), F = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), k = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W), X = B(r, new n.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), W), H = B(r, new n.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), W), O = B(r, new n.Cartesian3(i.InsulatorPoint[6].X * -1, i.InsulatorPoint[6].Y, i.InsulatorPoint[6].Z), W), $ = B(r, new n.Cartesian3(i.InsulatorPoint[7].X * -1, i.InsulatorPoint[7].Y, i.InsulatorPoint[7].Z), W);
1595
+ this.offsetWires12.push(Y), this.offsetWires12.push(Z), this.offsetWires12.push(F), this.offsetWires12.push(k), this.offsetWires12.push(X), this.offsetWires12.push(H), this.offsetWires12.push(O), this.offsetWires12.push($), this.ToffsetWires1B2.push(Y), this.ToffsetWires1B2.push(Z), this.ToffsetWires1B2.push(F), this.ToffsetWires1B2.push(k), this.ToffsetWires1B2.push(X), this.ToffsetWires1B2.push(H), this.ToffsetWires1B2.push(O), this.ToffsetWires1B2.push($);
1531
1596
  break;
1532
1597
  }
1533
- else if (t.type == D.跳线串)
1598
+ else if (i.type == D.跳线串)
1534
1599
  switch (this.LineInfo.Wairnum) {
1535
- case A.单分裂:
1536
- this.ToffsetWires1B1.push(e[0]), this.ToffsetWires1B2.push(e[0]);
1600
+ case p.单分裂:
1601
+ this.ToffsetWires1B1.push(o[0]), this.ToffsetWires1B2.push(o[0]);
1537
1602
  break;
1538
- case A.双分裂:
1539
- this.ToffsetWires1B1.push(e[0]), this.ToffsetWires1B1.push(e[1]), this.ToffsetWires1B2.push(e[2]), this.ToffsetWires1B2.push(e[3]);
1603
+ case p.双分裂:
1604
+ this.ToffsetWires1B1.push(o[0]), this.ToffsetWires1B1.push(o[1]), this.ToffsetWires1B2.push(o[2]), this.ToffsetWires1B2.push(o[3]);
1540
1605
  break;
1541
- case A.四分裂:
1542
- this.ToffsetWires1B1.push(e[0]), this.ToffsetWires1B1.push(e[1]), this.ToffsetWires1B1.push(e[2]), this.ToffsetWires1B1.push(e[3]), this.ToffsetWires1B2.push(e[4]), this.ToffsetWires1B2.push(e[5]), this.ToffsetWires1B2.push(e[6]), this.ToffsetWires1B2.push(e[7]);
1606
+ case p.四分裂:
1607
+ 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]);
1543
1608
  break;
1544
- case A.六分裂:
1545
- this.ToffsetWires1B1.push(e[0]), this.ToffsetWires1B1.push(e[1]), this.ToffsetWires1B1.push(e[2]), this.ToffsetWires1B1.push(e[3]), this.ToffsetWires1B1.push(e[4]), this.ToffsetWires1B1.push(e[5]), this.ToffsetWires1B2.push(e[6]), this.ToffsetWires1B2.push(e[7]), this.ToffsetWires1B2.push(e[8]), this.ToffsetWires1B2.push(e[9]), this.ToffsetWires1B2.push(e[10]), this.ToffsetWires1B2.push(e[11]);
1609
+ case p.六分裂:
1610
+ 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]);
1546
1611
  break;
1547
- case A.八分裂:
1548
- this.ToffsetWires1B1.push(e[0]), this.ToffsetWires1B1.push(e[1]), this.ToffsetWires1B1.push(e[2]), this.ToffsetWires1B1.push(e[3]), this.ToffsetWires1B1.push(e[4]), this.ToffsetWires1B1.push(e[5]), this.ToffsetWires1B1.push(e[6]), this.ToffsetWires1B1.push(e[7]), this.ToffsetWires1B2.push(e[8]), this.ToffsetWires1B2.push(e[9]), this.ToffsetWires1B2.push(e[10]), this.ToffsetWires1B2.push(e[11]), this.ToffsetWires1B2.push(e[12]), this.ToffsetWires1B2.push(e[13]), this.ToffsetWires1B2.push(e[14]), this.ToffsetWires1B2.push(e[15]);
1612
+ case p.八分裂:
1613
+ 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]);
1549
1614
  break;
1550
1615
  }
1551
1616
  break;
1552
- case z.C相:
1553
- if (t.type == D.耐张串)
1554
- if (t.WairFX == "进")
1617
+ case G.C相:
1618
+ if (i.type == D.耐张串)
1619
+ if (i.WairFX == "进")
1555
1620
  switch (this.LineInfo.Wairnum) {
1556
- case A.单分裂:
1557
- this.offsetWires13.push(e[0]), this.ToffsetWires1C1.push(e[1]);
1621
+ case p.单分裂:
1622
+ this.offsetWires13.push(o[0]), this.ToffsetWires1C1.push(o[1]);
1558
1623
  break;
1559
- case A.双分裂:
1560
- this.offsetWires13.push(e[0]), this.offsetWires13.push(e[1]), this.ToffsetWires1C1.push(e[2]), this.ToffsetWires1C1.push(e[3]);
1624
+ case p.双分裂:
1625
+ this.offsetWires13.push(o[0]), this.offsetWires13.push(o[1]), this.ToffsetWires1C1.push(o[2]), this.ToffsetWires1C1.push(o[3]);
1561
1626
  break;
1562
- case A.四分裂:
1563
- this.offsetWires13.push(e[0]), this.offsetWires13.push(e[1]), this.offsetWires13.push(e[2]), this.offsetWires13.push(e[3]), this.ToffsetWires1C1.push(e[4]), this.ToffsetWires1C1.push(e[5]), this.ToffsetWires1C1.push(e[6]), this.ToffsetWires1C1.push(e[7]);
1627
+ case p.四分裂:
1628
+ 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]);
1564
1629
  break;
1565
- case A.六分裂:
1566
- this.offsetWires13.push(e[0]), this.offsetWires13.push(e[1]), this.offsetWires13.push(e[2]), this.offsetWires13.push(e[3]), this.offsetWires13.push(e[4]), this.offsetWires13.push(e[5]), this.ToffsetWires1C1.push(e[6]), this.ToffsetWires1C1.push(e[7]), this.ToffsetWires1C1.push(e[8]), this.ToffsetWires1C1.push(e[9]), this.ToffsetWires1C1.push(e[10]), this.ToffsetWires1C1.push(e[11]);
1630
+ case p.六分裂:
1631
+ 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]);
1567
1632
  break;
1568
- case A.八分裂:
1569
- this.offsetWires13.push(e[0]), this.offsetWires13.push(e[1]), this.offsetWires13.push(e[2]), this.offsetWires13.push(e[3]), this.offsetWires13.push(e[4]), this.offsetWires13.push(e[5]), this.offsetWires13.push(e[6]), this.offsetWires13.push(e[7]), this.ToffsetWires1C1.push(e[8]), this.ToffsetWires1C1.push(e[9]), this.ToffsetWires1C1.push(e[10]), this.ToffsetWires1C1.push(e[11]), this.ToffsetWires1C1.push(e[12]), this.ToffsetWires1C1.push(e[13]), this.ToffsetWires1C1.push(e[14]), this.ToffsetWires1C1.push(e[15]);
1633
+ case p.八分裂:
1634
+ 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]);
1570
1635
  break;
1571
1636
  }
1572
1637
  else
1573
1638
  switch (this.LineInfo.Wairnum) {
1574
- case A.单分裂:
1575
- const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1639
+ case p.单分裂:
1640
+ const c = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W);
1576
1641
  this.offsetWires13.push(c), this.ToffsetWires1C2.push(c);
1577
1642
  break;
1578
- case A.双分裂:
1579
- const m = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W);
1643
+ case p.双分裂:
1644
+ const m = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W);
1580
1645
  this.offsetWires13.push(m), this.offsetWires13.push(b), this.ToffsetWires1C2.push(m), this.ToffsetWires1C2.push(b);
1581
1646
  break;
1582
- case A.四分裂:
1583
- const I = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), P = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), g = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), y = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W);
1647
+ case p.四分裂:
1648
+ const I = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), P = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), g = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), y = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W);
1584
1649
  this.offsetWires13.push(I), this.offsetWires13.push(P), this.offsetWires13.push(g), this.offsetWires13.push(y), this.ToffsetWires1C2.push(I), this.ToffsetWires1C2.push(P), this.ToffsetWires1C2.push(g), this.ToffsetWires1C2.push(y);
1585
1650
  break;
1586
- case A.六分裂:
1587
- const _ = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), v = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), k = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), M = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), Z = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), E = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W);
1588
- this.offsetWires13.push(_), this.offsetWires13.push(v), this.offsetWires13.push(k), this.offsetWires13.push(M), this.offsetWires13.push(Z), this.offsetWires13.push(E), this.ToffsetWires1C2.push(_), this.ToffsetWires1C2.push(v), this.ToffsetWires1C2.push(k), this.ToffsetWires1C2.push(M), this.ToffsetWires1C2.push(Z), this.ToffsetWires1C2.push(E);
1651
+ case p.六分裂:
1652
+ const _ = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), v = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), S = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), M = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W), R = B(r, new n.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), W), E = B(r, new n.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), W);
1653
+ this.offsetWires13.push(_), this.offsetWires13.push(v), this.offsetWires13.push(S), this.offsetWires13.push(M), this.offsetWires13.push(R), this.offsetWires13.push(E), this.ToffsetWires1C2.push(_), this.ToffsetWires1C2.push(v), this.ToffsetWires1C2.push(S), this.ToffsetWires1C2.push(M), this.ToffsetWires1C2.push(R), this.ToffsetWires1C2.push(E);
1589
1654
  break;
1590
- case A.八分裂:
1591
- const Y = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), R = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), F = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), S = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), X = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), H = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W), O = B(r, new n.Cartesian3(t.InsulatorPoint[6].X * -1, t.InsulatorPoint[6].Y, t.InsulatorPoint[6].Z), W), N = B(r, new n.Cartesian3(t.InsulatorPoint[7].X * -1, t.InsulatorPoint[7].Y, t.InsulatorPoint[7].Z), W);
1592
- this.offsetWires13.push(Y), this.offsetWires13.push(R), this.offsetWires13.push(F), this.offsetWires13.push(S), this.offsetWires13.push(X), this.offsetWires13.push(H), this.offsetWires13.push(O), this.offsetWires13.push(N), this.ToffsetWires1C2.push(Y), this.ToffsetWires1C2.push(R), this.ToffsetWires1C2.push(F), this.ToffsetWires1C2.push(S), this.ToffsetWires1C2.push(X), this.ToffsetWires1C2.push(H), this.ToffsetWires1C2.push(O), this.ToffsetWires1C2.push(N);
1655
+ case p.八分裂:
1656
+ const Y = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), Z = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), F = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), k = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W), X = B(r, new n.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), W), H = B(r, new n.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), W), O = B(r, new n.Cartesian3(i.InsulatorPoint[6].X * -1, i.InsulatorPoint[6].Y, i.InsulatorPoint[6].Z), W), $ = B(r, new n.Cartesian3(i.InsulatorPoint[7].X * -1, i.InsulatorPoint[7].Y, i.InsulatorPoint[7].Z), W);
1657
+ this.offsetWires13.push(Y), this.offsetWires13.push(Z), this.offsetWires13.push(F), this.offsetWires13.push(k), this.offsetWires13.push(X), this.offsetWires13.push(H), this.offsetWires13.push(O), this.offsetWires13.push($), this.ToffsetWires1C2.push(Y), this.ToffsetWires1C2.push(Z), this.ToffsetWires1C2.push(F), this.ToffsetWires1C2.push(k), this.ToffsetWires1C2.push(X), this.ToffsetWires1C2.push(H), this.ToffsetWires1C2.push(O), this.ToffsetWires1C2.push($);
1593
1658
  break;
1594
1659
  }
1595
- else if (t.type == D.跳线串)
1660
+ else if (i.type == D.跳线串)
1596
1661
  switch (this.LineInfo.Wairnum) {
1597
- case A.单分裂:
1598
- this.ToffsetWires1C1.push(e[0]), this.ToffsetWires1C2.push(e[0]);
1662
+ case p.单分裂:
1663
+ this.ToffsetWires1C1.push(o[0]), this.ToffsetWires1C2.push(o[0]);
1599
1664
  break;
1600
- case A.双分裂:
1601
- this.ToffsetWires1C1.push(e[0]), this.ToffsetWires1C1.push(e[1]), this.ToffsetWires1C2.push(e[2]), this.ToffsetWires1C2.push(e[3]);
1665
+ case p.双分裂:
1666
+ this.ToffsetWires1C1.push(o[0]), this.ToffsetWires1C1.push(o[1]), this.ToffsetWires1C2.push(o[2]), this.ToffsetWires1C2.push(o[3]);
1602
1667
  break;
1603
- case A.四分裂:
1604
- this.ToffsetWires1C1.push(e[0]), this.ToffsetWires1C1.push(e[1]), this.ToffsetWires1C1.push(e[2]), this.ToffsetWires1C1.push(e[3]), this.ToffsetWires1C2.push(e[4]), this.ToffsetWires1C2.push(e[5]), this.ToffsetWires1C2.push(e[6]), this.ToffsetWires1C2.push(e[7]);
1668
+ case p.四分裂:
1669
+ 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]);
1605
1670
  break;
1606
- case A.六分裂:
1607
- this.ToffsetWires1C1.push(e[0]), this.ToffsetWires1C1.push(e[1]), this.ToffsetWires1C1.push(e[2]), this.ToffsetWires1C1.push(e[3]), this.ToffsetWires1C1.push(e[4]), this.ToffsetWires1C1.push(e[5]), this.ToffsetWires1C2.push(e[6]), this.ToffsetWires1C2.push(e[7]), this.ToffsetWires1C2.push(e[8]), this.ToffsetWires1C2.push(e[9]), this.ToffsetWires1C2.push(e[10]), this.ToffsetWires1C2.push(e[11]);
1671
+ case p.六分裂:
1672
+ 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]);
1608
1673
  break;
1609
- case A.八分裂:
1610
- this.ToffsetWires1C1.push(e[0]), this.ToffsetWires1C1.push(e[1]), this.ToffsetWires1C1.push(e[2]), this.ToffsetWires1C1.push(e[3]), this.ToffsetWires1C1.push(e[4]), this.ToffsetWires1C1.push(e[5]), this.ToffsetWires1C1.push(e[6]), this.ToffsetWires1C1.push(e[7]), this.ToffsetWires1C2.push(e[8]), this.ToffsetWires1C2.push(e[9]), this.ToffsetWires1C2.push(e[10]), this.ToffsetWires1C2.push(e[11]), this.ToffsetWires1C2.push(e[12]), this.ToffsetWires1C2.push(e[13]), this.ToffsetWires1C2.push(e[14]), this.ToffsetWires1C2.push(e[15]);
1674
+ case p.八分裂:
1675
+ 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]);
1611
1676
  break;
1612
1677
  }
1613
1678
  break;
1614
1679
  }
1615
1680
  else
1616
- switch (t.PhaseSequence) {
1617
- case z.A相:
1618
- e.forEach((c) => {
1681
+ switch (i.PhaseSequence) {
1682
+ case G.A相:
1683
+ o.forEach((c) => {
1619
1684
  this.offsetWires11.push(c);
1620
1685
  });
1621
1686
  break;
1622
- case z.B相:
1623
- e.forEach((c) => {
1687
+ case G.B相:
1688
+ o.forEach((c) => {
1624
1689
  this.offsetWires12.push(c);
1625
1690
  });
1626
1691
  break;
1627
- case z.C相:
1628
- e.forEach((c) => {
1692
+ case G.C相:
1693
+ o.forEach((c) => {
1629
1694
  this.offsetWires13.push(c);
1630
1695
  });
1631
1696
  break;
1632
1697
  }
1633
- else if (this.LineInfo.towers[s].type == q.耐张塔)
1634
- switch (p) {
1698
+ else if (this.LineInfo.towers[s].type == V.耐张塔)
1699
+ switch (A) {
1635
1700
  case 2:
1636
1701
  switch (this.LineInfo.Wairnum) {
1637
- case A.单分裂:
1638
- this.offsetWires11.push(e[0]), this.ToffsetWires1A1.push(e[0]);
1702
+ case p.单分裂:
1703
+ this.offsetWires11.push(o[0]), this.ToffsetWires1A1.push(o[0]);
1639
1704
  break;
1640
- case A.双分裂:
1641
- this.offsetWires11.push(e[0]), this.offsetWires11.push(e[1]), this.ToffsetWires1A1.push(e[2]), this.ToffsetWires1A1.push(e[3]);
1705
+ case p.双分裂:
1706
+ this.offsetWires11.push(o[0]), this.offsetWires11.push(o[1]), this.ToffsetWires1A1.push(o[2]), this.ToffsetWires1A1.push(o[3]);
1642
1707
  break;
1643
1708
  }
1644
1709
  break;
1645
1710
  case 3:
1646
1711
  switch (this.LineInfo.Wairnum) {
1647
- case A.单分裂:
1648
- this.ToffsetWires1A1.push(e[0]), this.ToffsetWires1A2.push(e[0]);
1712
+ case p.单分裂:
1713
+ this.ToffsetWires1A1.push(o[0]), this.ToffsetWires1A2.push(o[0]);
1649
1714
  break;
1650
- case A.双分裂:
1651
- this.ToffsetWires1A1.push(e[0]), this.ToffsetWires1A1.push(e[1]), this.ToffsetWires1A2.push(e[2]), this.ToffsetWires1A2.push(e[3]);
1715
+ case p.双分裂:
1716
+ this.ToffsetWires1A1.push(o[0]), this.ToffsetWires1A1.push(o[1]), this.ToffsetWires1A2.push(o[2]), this.ToffsetWires1A2.push(o[3]);
1652
1717
  break;
1653
1718
  }
1654
1719
  break;
1655
1720
  case 4:
1656
1721
  switch (this.LineInfo.Wairnum) {
1657
- case A.单分裂:
1658
- const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1722
+ case p.单分裂:
1723
+ const c = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W);
1659
1724
  this.offsetWires11.push(c), this.ToffsetWires1A2.push(c);
1660
1725
  break;
1661
- case A.双分裂:
1662
- const m = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W);
1726
+ case p.双分裂:
1727
+ const m = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W);
1663
1728
  this.offsetWires11.push(m), this.offsetWires11.push(b), this.ToffsetWires1A2.push(m), this.ToffsetWires1A2.push(b);
1664
1729
  break;
1665
1730
  }
1666
1731
  break;
1667
1732
  case 5:
1668
- e.forEach((c) => {
1733
+ o.forEach((c) => {
1669
1734
  this.offsetWires12.push(c), this.ToffsetWires1B1.push(c);
1670
1735
  });
1671
1736
  break;
1672
1737
  case 6:
1673
- e.forEach((c) => {
1738
+ o.forEach((c) => {
1674
1739
  this.ToffsetWires1B1.push(c), this.ToffsetWires1B2.push(c);
1675
1740
  });
1676
1741
  break;
1677
1742
  case 7:
1678
- t.InsulatorPoint.forEach((c) => {
1743
+ i.InsulatorPoint.forEach((c) => {
1679
1744
  const m = B(r, new n.Cartesian3(c.X * -1, c.Y, c.Z), W);
1680
1745
  this.offsetWires12.push(m), this.ToffsetWires1B2.push(m);
1681
1746
  });
1682
1747
  break;
1683
1748
  case 8:
1684
- e.forEach((c) => {
1749
+ o.forEach((c) => {
1685
1750
  this.offsetWires13.push(c), this.ToffsetWires1C1.push(c);
1686
1751
  });
1687
1752
  break;
1688
1753
  case 9:
1689
- e.forEach((c) => {
1754
+ o.forEach((c) => {
1690
1755
  this.ToffsetWires1C1.push(c), this.ToffsetWires1C2.push(c);
1691
1756
  });
1692
1757
  break;
1693
1758
  case 10:
1694
- t.InsulatorPoint.forEach((c) => {
1759
+ i.InsulatorPoint.forEach((c) => {
1695
1760
  const m = B(r, new n.Cartesian3(c.X * -1, c.Y, c.Z), W);
1696
1761
  this.offsetWires13.push(m), this.ToffsetWires1C2.push(m);
1697
1762
  });
1698
1763
  break;
1699
1764
  }
1700
1765
  else
1701
- switch (p) {
1766
+ switch (A) {
1702
1767
  case 2:
1703
- e.forEach((c) => {
1768
+ o.forEach((c) => {
1704
1769
  this.offsetWires11.push(c);
1705
1770
  });
1706
1771
  break;
1707
1772
  case 3:
1708
- e.forEach((c) => {
1773
+ o.forEach((c) => {
1709
1774
  this.offsetWires12.push(c);
1710
1775
  });
1711
1776
  break;
1712
1777
  case 4:
1713
- e.forEach((c) => {
1778
+ o.forEach((c) => {
1714
1779
  this.offsetWires13.push(c);
1715
1780
  });
1716
1781
  break;
1717
1782
  }
1718
1783
  break;
1719
- case rs.回路二:
1784
+ case hs.回路二:
1720
1785
  if (this.LineInfo.ISPhaseSequence)
1721
- if (this.LineInfo.towers[s].type == q.耐张塔)
1722
- switch (t.PhaseSequence) {
1723
- case z.A相:
1724
- if (t.type == D.耐张串)
1725
- if (t.WairFX == "进")
1786
+ if (this.LineInfo.towers[s].type == V.耐张塔)
1787
+ switch (i.PhaseSequence) {
1788
+ case G.A相:
1789
+ if (i.type == D.耐张串)
1790
+ if (i.WairFX == "进")
1726
1791
  switch (this.LineInfo.Wairnum) {
1727
- case A.单分裂:
1728
- this.offsetWires21.push(e[0]), this.ToffsetWires2A1.push(e[0]);
1792
+ case p.单分裂:
1793
+ this.offsetWires21.push(o[0]), this.ToffsetWires2A1.push(o[0]);
1729
1794
  break;
1730
- case A.双分裂:
1731
- this.offsetWires21.push(e[0]), this.offsetWires21.push(e[1]), this.ToffsetWires2A1.push(e[2]), this.ToffsetWires2A1.push(e[3]);
1795
+ case p.双分裂:
1796
+ this.offsetWires21.push(o[0]), this.offsetWires21.push(o[1]), this.ToffsetWires2A1.push(o[2]), this.ToffsetWires2A1.push(o[3]);
1732
1797
  break;
1733
- case A.四分裂:
1734
- this.offsetWires21.push(e[0]), this.offsetWires21.push(e[1]), this.offsetWires21.push(e[2]), this.offsetWires21.push(e[3]), this.ToffsetWires2A1.push(e[4]), this.ToffsetWires2A1.push(e[5]), this.ToffsetWires2A1.push(e[6]), this.ToffsetWires2A1.push(e[7]);
1798
+ case p.四分裂:
1799
+ 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]);
1735
1800
  break;
1736
- case A.六分裂:
1737
- this.offsetWires21.push(e[0]), this.offsetWires21.push(e[1]), this.offsetWires21.push(e[2]), this.offsetWires21.push(e[3]), this.offsetWires21.push(e[4]), this.offsetWires21.push(e[5]), this.ToffsetWires2A1.push(e[6]), this.ToffsetWires2A1.push(e[7]), this.ToffsetWires2A1.push(e[8]), this.ToffsetWires2A1.push(e[9]), this.ToffsetWires2A1.push(e[10]), this.ToffsetWires2A1.push(e[11]);
1801
+ case p.六分裂:
1802
+ 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]);
1738
1803
  break;
1739
- case A.八分裂:
1740
- this.offsetWires21.push(e[0]), this.offsetWires21.push(e[1]), this.offsetWires21.push(e[2]), this.offsetWires21.push(e[3]), this.offsetWires21.push(e[4]), this.offsetWires21.push(e[5]), this.offsetWires21.push(e[6]), this.offsetWires21.push(e[7]), this.ToffsetWires2A1.push(e[8]), this.ToffsetWires2A1.push(e[9]), this.ToffsetWires2A1.push(e[10]), this.ToffsetWires2A1.push(e[11]), this.ToffsetWires2A1.push(e[12]), this.ToffsetWires2A1.push(e[13]), this.ToffsetWires2A1.push(e[14]), this.ToffsetWires2A1.push(e[15]);
1804
+ case p.八分裂:
1805
+ 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]);
1741
1806
  break;
1742
1807
  }
1743
1808
  else
1744
1809
  switch (this.LineInfo.Wairnum) {
1745
- case A.单分裂:
1746
- const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1810
+ case p.单分裂:
1811
+ const c = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W);
1747
1812
  this.offsetWires21.push(c), this.ToffsetWires2A2.push(c);
1748
1813
  break;
1749
- case A.双分裂:
1750
- const m = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W);
1814
+ case p.双分裂:
1815
+ const m = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W);
1751
1816
  this.offsetWires21.push(m), this.offsetWires21.push(b), this.ToffsetWires2A2.push(m), this.ToffsetWires2A2.push(b);
1752
1817
  break;
1753
- case A.四分裂:
1754
- const I = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), P = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), g = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), y = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W);
1818
+ case p.四分裂:
1819
+ const I = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), P = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), g = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), y = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W);
1755
1820
  this.offsetWires21.push(I), this.offsetWires21.push(P), this.offsetWires21.push(g), this.offsetWires21.push(y), this.ToffsetWires2A2.push(I), this.ToffsetWires2A2.push(P), this.ToffsetWires2A2.push(g), this.ToffsetWires2A2.push(y);
1756
1821
  break;
1757
- case A.六分裂:
1758
- const _ = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), v = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), k = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), M = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), Z = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), E = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W);
1759
- this.offsetWires21.push(_), this.offsetWires21.push(v), this.offsetWires21.push(k), this.offsetWires21.push(M), this.offsetWires21.push(Z), this.offsetWires21.push(E), this.ToffsetWires2A2.push(_), this.ToffsetWires2A2.push(v), this.ToffsetWires2A2.push(k), this.ToffsetWires2A2.push(M), this.ToffsetWires2A2.push(Z), this.ToffsetWires2A2.push(E);
1822
+ case p.六分裂:
1823
+ const _ = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), v = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), S = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), M = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W), R = B(r, new n.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), W), E = B(r, new n.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), W);
1824
+ this.offsetWires21.push(_), this.offsetWires21.push(v), this.offsetWires21.push(S), this.offsetWires21.push(M), this.offsetWires21.push(R), this.offsetWires21.push(E), this.ToffsetWires2A2.push(_), this.ToffsetWires2A2.push(v), this.ToffsetWires2A2.push(S), this.ToffsetWires2A2.push(M), this.ToffsetWires2A2.push(R), this.ToffsetWires2A2.push(E);
1760
1825
  break;
1761
- case A.八分裂:
1762
- const Y = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), R = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), F = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), S = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), X = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), H = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W), O = B(r, new n.Cartesian3(t.InsulatorPoint[6].X * -1, t.InsulatorPoint[6].Y, t.InsulatorPoint[6].Z), W), N = B(r, new n.Cartesian3(t.InsulatorPoint[7].X * -1, t.InsulatorPoint[7].Y, t.InsulatorPoint[7].Z), W);
1763
- this.offsetWires21.push(Y), this.offsetWires21.push(R), this.offsetWires21.push(F), this.offsetWires21.push(S), this.offsetWires21.push(X), this.offsetWires21.push(H), this.offsetWires21.push(O), this.offsetWires21.push(N), this.ToffsetWires2A2.push(Y), this.ToffsetWires2A2.push(R), this.ToffsetWires2A2.push(F), this.ToffsetWires2A2.push(S), this.ToffsetWires2A2.push(X), this.ToffsetWires2A2.push(H), this.ToffsetWires2A2.push(O), this.ToffsetWires2A2.push(N);
1826
+ case p.八分裂:
1827
+ const Y = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), Z = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), F = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), k = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W), X = B(r, new n.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), W), H = B(r, new n.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), W), O = B(r, new n.Cartesian3(i.InsulatorPoint[6].X * -1, i.InsulatorPoint[6].Y, i.InsulatorPoint[6].Z), W), $ = B(r, new n.Cartesian3(i.InsulatorPoint[7].X * -1, i.InsulatorPoint[7].Y, i.InsulatorPoint[7].Z), W);
1828
+ this.offsetWires21.push(Y), this.offsetWires21.push(Z), this.offsetWires21.push(F), this.offsetWires21.push(k), this.offsetWires21.push(X), this.offsetWires21.push(H), this.offsetWires21.push(O), this.offsetWires21.push($), this.ToffsetWires2A2.push(Y), this.ToffsetWires2A2.push(Z), this.ToffsetWires2A2.push(F), this.ToffsetWires2A2.push(k), this.ToffsetWires2A2.push(X), this.ToffsetWires2A2.push(H), this.ToffsetWires2A2.push(O), this.ToffsetWires2A2.push($);
1764
1829
  break;
1765
1830
  }
1766
- else if (t.type == D.跳线串)
1831
+ else if (i.type == D.跳线串)
1767
1832
  switch (this.LineInfo.Wairnum) {
1768
- case A.单分裂:
1769
- this.ToffsetWires2A1.push(e[0]), this.ToffsetWires2A2.push(e[0]);
1833
+ case p.单分裂:
1834
+ this.ToffsetWires2A1.push(o[0]), this.ToffsetWires2A2.push(o[0]);
1770
1835
  break;
1771
- case A.双分裂:
1772
- this.ToffsetWires2A1.push(e[0]), this.ToffsetWires2A1.push(e[1]), this.ToffsetWires2A2.push(e[2]), this.ToffsetWires2A2.push(e[3]);
1836
+ case p.双分裂:
1837
+ this.ToffsetWires2A1.push(o[0]), this.ToffsetWires2A1.push(o[1]), this.ToffsetWires2A2.push(o[2]), this.ToffsetWires2A2.push(o[3]);
1773
1838
  break;
1774
- case A.四分裂:
1775
- this.ToffsetWires2A1.push(e[0]), this.ToffsetWires2A1.push(e[1]), this.ToffsetWires2A1.push(e[2]), this.ToffsetWires2A1.push(e[3]), this.ToffsetWires2A2.push(e[4]), this.ToffsetWires2A2.push(e[5]), this.ToffsetWires2A2.push(e[6]), this.ToffsetWires2A2.push(e[7]);
1839
+ case p.四分裂:
1840
+ 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]);
1776
1841
  break;
1777
- case A.六分裂:
1778
- this.ToffsetWires2A1.push(e[0]), this.ToffsetWires2A1.push(e[1]), this.ToffsetWires2A1.push(e[2]), this.ToffsetWires2A1.push(e[3]), this.ToffsetWires2A1.push(e[4]), this.ToffsetWires2A1.push(e[5]), this.ToffsetWires2A2.push(e[6]), this.ToffsetWires2A2.push(e[7]), this.ToffsetWires2A2.push(e[8]), this.ToffsetWires2A2.push(e[9]), this.ToffsetWires2A2.push(e[10]), this.ToffsetWires2A2.push(e[11]);
1842
+ case p.六分裂:
1843
+ 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]);
1779
1844
  break;
1780
- case A.八分裂:
1781
- this.ToffsetWires2A1.push(e[0]), this.ToffsetWires2A1.push(e[1]), this.ToffsetWires2A1.push(e[2]), this.ToffsetWires2A1.push(e[3]), this.ToffsetWires2A1.push(e[4]), this.ToffsetWires2A1.push(e[5]), this.ToffsetWires2A1.push(e[6]), this.ToffsetWires2A1.push(e[7]), this.ToffsetWires2A2.push(e[8]), this.ToffsetWires2A2.push(e[9]), this.ToffsetWires2A2.push(e[10]), this.ToffsetWires2A2.push(e[11]), this.ToffsetWires2A2.push(e[12]), this.ToffsetWires2A2.push(e[13]), this.ToffsetWires2A2.push(e[14]), this.ToffsetWires2A2.push(e[15]);
1845
+ case p.八分裂:
1846
+ 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]);
1782
1847
  break;
1783
1848
  }
1784
1849
  break;
1785
- case z.B相:
1786
- if (t.type == D.耐张串)
1787
- if (t.WairFX == "进")
1850
+ case G.B相:
1851
+ if (i.type == D.耐张串)
1852
+ if (i.WairFX == "进")
1788
1853
  switch (this.LineInfo.Wairnum) {
1789
- case A.单分裂:
1790
- this.offsetWires22.push(e[0]), this.ToffsetWires2B1.push(e[0]);
1854
+ case p.单分裂:
1855
+ this.offsetWires22.push(o[0]), this.ToffsetWires2B1.push(o[0]);
1791
1856
  break;
1792
- case A.双分裂:
1793
- this.offsetWires22.push(e[0]), this.offsetWires22.push(e[1]), this.ToffsetWires2B1.push(e[2]), this.ToffsetWires2B1.push(e[3]);
1857
+ case p.双分裂:
1858
+ this.offsetWires22.push(o[0]), this.offsetWires22.push(o[1]), this.ToffsetWires2B1.push(o[2]), this.ToffsetWires2B1.push(o[3]);
1794
1859
  break;
1795
- case A.四分裂:
1796
- this.offsetWires22.push(e[0]), this.offsetWires22.push(e[1]), this.offsetWires22.push(e[2]), this.offsetWires22.push(e[3]), this.ToffsetWires2B1.push(e[4]), this.ToffsetWires2B1.push(e[5]), this.ToffsetWires2B1.push(e[6]), this.ToffsetWires2B1.push(e[7]);
1860
+ case p.四分裂:
1861
+ 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]);
1797
1862
  break;
1798
- case A.六分裂:
1799
- this.offsetWires22.push(e[0]), this.offsetWires22.push(e[1]), this.offsetWires22.push(e[2]), this.offsetWires22.push(e[3]), this.offsetWires22.push(e[4]), this.offsetWires22.push(e[5]), this.ToffsetWires2B1.push(e[6]), this.ToffsetWires2B1.push(e[7]), this.ToffsetWires2B1.push(e[8]), this.ToffsetWires2B1.push(e[9]), this.ToffsetWires2B1.push(e[10]), this.ToffsetWires2B1.push(e[11]);
1863
+ case p.六分裂:
1864
+ 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]);
1800
1865
  break;
1801
- case A.八分裂:
1802
- this.offsetWires22.push(e[0]), this.offsetWires22.push(e[1]), this.offsetWires22.push(e[2]), this.offsetWires22.push(e[3]), this.offsetWires22.push(e[4]), this.offsetWires22.push(e[5]), this.offsetWires22.push(e[6]), this.offsetWires22.push(e[7]), this.ToffsetWires2B1.push(e[8]), this.ToffsetWires2B1.push(e[9]), this.ToffsetWires2B1.push(e[10]), this.ToffsetWires2B1.push(e[11]), this.ToffsetWires2B1.push(e[12]), this.ToffsetWires2B1.push(e[13]), this.ToffsetWires2B1.push(e[14]), this.ToffsetWires2B1.push(e[15]);
1866
+ case p.八分裂:
1867
+ 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]);
1803
1868
  break;
1804
1869
  }
1805
1870
  else
1806
1871
  switch (this.LineInfo.Wairnum) {
1807
- case A.单分裂:
1808
- const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1872
+ case p.单分裂:
1873
+ const c = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W);
1809
1874
  this.offsetWires22.push(c), this.ToffsetWires2B2.push(c);
1810
1875
  break;
1811
- case A.双分裂:
1812
- const m = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W);
1876
+ case p.双分裂:
1877
+ const m = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W);
1813
1878
  this.offsetWires22.push(m), this.offsetWires22.push(b), this.ToffsetWires2B2.push(m), this.ToffsetWires2B2.push(b);
1814
1879
  break;
1815
- case A.四分裂:
1816
- const I = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), P = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), g = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), y = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W);
1880
+ case p.四分裂:
1881
+ const I = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), P = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), g = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), y = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W);
1817
1882
  this.offsetWires22.push(I), this.offsetWires22.push(P), this.offsetWires22.push(g), this.offsetWires22.push(y), this.ToffsetWires2B2.push(I), this.ToffsetWires2B2.push(P), this.ToffsetWires2B2.push(g), this.ToffsetWires2B2.push(y);
1818
1883
  break;
1819
- case A.六分裂:
1820
- const _ = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), v = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), k = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), M = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), Z = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), E = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W);
1821
- this.offsetWires22.push(_), this.offsetWires22.push(v), this.offsetWires22.push(k), this.offsetWires22.push(M), this.offsetWires22.push(Z), this.offsetWires22.push(E), this.ToffsetWires2B2.push(_), this.ToffsetWires2B2.push(v), this.ToffsetWires2B2.push(k), this.ToffsetWires2B2.push(M), this.ToffsetWires2B2.push(Z), this.ToffsetWires2B2.push(E);
1884
+ case p.六分裂:
1885
+ const _ = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), v = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), S = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), M = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W), R = B(r, new n.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), W), E = B(r, new n.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), W);
1886
+ this.offsetWires22.push(_), this.offsetWires22.push(v), this.offsetWires22.push(S), this.offsetWires22.push(M), this.offsetWires22.push(R), this.offsetWires22.push(E), this.ToffsetWires2B2.push(_), this.ToffsetWires2B2.push(v), this.ToffsetWires2B2.push(S), this.ToffsetWires2B2.push(M), this.ToffsetWires2B2.push(R), this.ToffsetWires2B2.push(E);
1822
1887
  break;
1823
- case A.八分裂:
1824
- const Y = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), R = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), F = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), S = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), X = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), H = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W), O = B(r, new n.Cartesian3(t.InsulatorPoint[6].X * -1, t.InsulatorPoint[6].Y, t.InsulatorPoint[6].Z), W), N = B(r, new n.Cartesian3(t.InsulatorPoint[7].X * -1, t.InsulatorPoint[7].Y, t.InsulatorPoint[7].Z), W);
1825
- this.offsetWires22.push(Y), this.offsetWires22.push(R), this.offsetWires22.push(F), this.offsetWires22.push(S), this.offsetWires22.push(X), this.offsetWires22.push(H), this.offsetWires22.push(O), this.offsetWires22.push(N), this.ToffsetWires2B2.push(Y), this.ToffsetWires2B2.push(R), this.ToffsetWires2B2.push(F), this.ToffsetWires2B2.push(S), this.ToffsetWires2B2.push(X), this.ToffsetWires2B2.push(H), this.ToffsetWires2B2.push(O), this.ToffsetWires2B2.push(N);
1888
+ case p.八分裂:
1889
+ const Y = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), Z = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), F = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), k = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W), X = B(r, new n.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), W), H = B(r, new n.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), W), O = B(r, new n.Cartesian3(i.InsulatorPoint[6].X * -1, i.InsulatorPoint[6].Y, i.InsulatorPoint[6].Z), W), $ = B(r, new n.Cartesian3(i.InsulatorPoint[7].X * -1, i.InsulatorPoint[7].Y, i.InsulatorPoint[7].Z), W);
1890
+ this.offsetWires22.push(Y), this.offsetWires22.push(Z), this.offsetWires22.push(F), this.offsetWires22.push(k), this.offsetWires22.push(X), this.offsetWires22.push(H), this.offsetWires22.push(O), this.offsetWires22.push($), this.ToffsetWires2B2.push(Y), this.ToffsetWires2B2.push(Z), this.ToffsetWires2B2.push(F), this.ToffsetWires2B2.push(k), this.ToffsetWires2B2.push(X), this.ToffsetWires2B2.push(H), this.ToffsetWires2B2.push(O), this.ToffsetWires2B2.push($);
1826
1891
  break;
1827
1892
  }
1828
- else if (t.type == D.跳线串)
1893
+ else if (i.type == D.跳线串)
1829
1894
  switch (this.LineInfo.Wairnum) {
1830
- case A.单分裂:
1831
- this.ToffsetWires2B1.push(e[0]), this.ToffsetWires2B2.push(e[0]);
1895
+ case p.单分裂:
1896
+ this.ToffsetWires2B1.push(o[0]), this.ToffsetWires2B2.push(o[0]);
1832
1897
  break;
1833
- case A.双分裂:
1834
- this.ToffsetWires2B1.push(e[0]), this.ToffsetWires2B1.push(e[1]), this.ToffsetWires2B2.push(e[2]), this.ToffsetWires2B2.push(e[3]);
1898
+ case p.双分裂:
1899
+ this.ToffsetWires2B1.push(o[0]), this.ToffsetWires2B1.push(o[1]), this.ToffsetWires2B2.push(o[2]), this.ToffsetWires2B2.push(o[3]);
1835
1900
  break;
1836
- case A.四分裂:
1837
- this.ToffsetWires2B1.push(e[0]), this.ToffsetWires2B1.push(e[1]), this.ToffsetWires2B1.push(e[2]), this.ToffsetWires2B1.push(e[3]), this.ToffsetWires2B2.push(e[4]), this.ToffsetWires2B2.push(e[5]), this.ToffsetWires2B2.push(e[6]), this.ToffsetWires2B2.push(e[7]);
1901
+ case p.四分裂:
1902
+ 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]);
1838
1903
  break;
1839
- case A.六分裂:
1840
- this.ToffsetWires2B1.push(e[0]), this.ToffsetWires2B1.push(e[1]), this.ToffsetWires2B1.push(e[2]), this.ToffsetWires2B1.push(e[3]), this.ToffsetWires2B1.push(e[4]), this.ToffsetWires2B1.push(e[5]), this.ToffsetWires2B2.push(e[6]), this.ToffsetWires2B2.push(e[7]), this.ToffsetWires2B2.push(e[8]), this.ToffsetWires2B2.push(e[9]), this.ToffsetWires2B2.push(e[10]), this.ToffsetWires2B2.push(e[11]);
1904
+ case p.六分裂:
1905
+ 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]);
1841
1906
  break;
1842
- case A.八分裂:
1843
- this.ToffsetWires2B1.push(e[0]), this.ToffsetWires2B1.push(e[1]), this.ToffsetWires2B1.push(e[2]), this.ToffsetWires2B1.push(e[3]), this.ToffsetWires2B1.push(e[4]), this.ToffsetWires2B1.push(e[5]), this.ToffsetWires2B1.push(e[6]), this.ToffsetWires2B1.push(e[7]), this.ToffsetWires2B2.push(e[8]), this.ToffsetWires2B2.push(e[9]), this.ToffsetWires2B2.push(e[10]), this.ToffsetWires2B2.push(e[11]), this.ToffsetWires2B2.push(e[12]), this.ToffsetWires2B2.push(e[13]), this.ToffsetWires2B2.push(e[14]), this.ToffsetWires2B2.push(e[15]);
1907
+ case p.八分裂:
1908
+ 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]);
1844
1909
  break;
1845
1910
  }
1846
1911
  break;
1847
- case z.C相:
1848
- if (t.type == D.耐张串)
1849
- if (t.WairFX == "进")
1912
+ case G.C相:
1913
+ if (i.type == D.耐张串)
1914
+ if (i.WairFX == "进")
1850
1915
  switch (this.LineInfo.Wairnum) {
1851
- case A.单分裂:
1852
- this.offsetWires23.push(e[0]), this.ToffsetWires2C1.push(e[0]);
1916
+ case p.单分裂:
1917
+ this.offsetWires23.push(o[0]), this.ToffsetWires2C1.push(o[0]);
1853
1918
  break;
1854
- case A.双分裂:
1855
- this.offsetWires23.push(e[0]), this.offsetWires23.push(e[1]), this.ToffsetWires2C1.push(e[2]), this.ToffsetWires2C1.push(e[3]);
1919
+ case p.双分裂:
1920
+ this.offsetWires23.push(o[0]), this.offsetWires23.push(o[1]), this.ToffsetWires2C1.push(o[2]), this.ToffsetWires2C1.push(o[3]);
1856
1921
  break;
1857
- case A.四分裂:
1858
- this.offsetWires23.push(e[0]), this.offsetWires23.push(e[1]), this.offsetWires23.push(e[2]), this.offsetWires23.push(e[3]), this.ToffsetWires2C1.push(e[4]), this.ToffsetWires2C1.push(e[5]), this.ToffsetWires2C1.push(e[6]), this.ToffsetWires2C1.push(e[7]);
1922
+ case p.四分裂:
1923
+ 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]);
1859
1924
  break;
1860
- case A.六分裂:
1861
- this.offsetWires23.push(e[0]), this.offsetWires23.push(e[1]), this.offsetWires23.push(e[2]), this.offsetWires23.push(e[3]), this.offsetWires23.push(e[4]), this.offsetWires23.push(e[5]), this.ToffsetWires2C1.push(e[6]), this.ToffsetWires2C1.push(e[7]), this.ToffsetWires2C1.push(e[8]), this.ToffsetWires2C1.push(e[9]), this.ToffsetWires2C1.push(e[10]), this.ToffsetWires2C1.push(e[11]);
1925
+ case p.六分裂:
1926
+ 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]);
1862
1927
  break;
1863
- case A.八分裂:
1864
- this.offsetWires23.push(e[0]), this.offsetWires23.push(e[1]), this.offsetWires23.push(e[2]), this.offsetWires23.push(e[3]), this.offsetWires23.push(e[4]), this.offsetWires23.push(e[5]), this.offsetWires23.push(e[6]), this.offsetWires23.push(e[7]), this.ToffsetWires2C1.push(e[8]), this.ToffsetWires2C1.push(e[9]), this.ToffsetWires2C1.push(e[10]), this.ToffsetWires2C1.push(e[11]), this.ToffsetWires2C1.push(e[12]), this.ToffsetWires2C1.push(e[13]), this.ToffsetWires2C1.push(e[14]), this.ToffsetWires2C1.push(e[15]);
1928
+ case p.八分裂:
1929
+ 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]);
1865
1930
  break;
1866
1931
  }
1867
1932
  else
1868
1933
  switch (this.LineInfo.Wairnum) {
1869
- case A.单分裂:
1870
- const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1934
+ case p.单分裂:
1935
+ const c = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W);
1871
1936
  this.offsetWires23.push(c), this.ToffsetWires2C2.push(c);
1872
1937
  break;
1873
- case A.双分裂:
1874
- const m = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W);
1938
+ case p.双分裂:
1939
+ const m = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W);
1875
1940
  this.offsetWires23.push(m), this.offsetWires23.push(b), this.ToffsetWires2C2.push(m), this.ToffsetWires2C2.push(b);
1876
1941
  break;
1877
- case A.四分裂:
1878
- const I = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), P = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), g = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), y = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W);
1942
+ case p.四分裂:
1943
+ const I = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), P = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), g = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), y = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W);
1879
1944
  this.offsetWires23.push(I), this.offsetWires23.push(P), this.offsetWires23.push(g), this.offsetWires23.push(y), this.ToffsetWires2C2.push(I), this.ToffsetWires2C2.push(P), this.ToffsetWires2C2.push(g), this.ToffsetWires2C2.push(y);
1880
1945
  break;
1881
- case A.六分裂:
1882
- const _ = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), v = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), k = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), M = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), Z = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), E = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W);
1883
- this.offsetWires23.push(_), this.offsetWires23.push(v), this.offsetWires23.push(k), this.offsetWires23.push(M), this.offsetWires23.push(Z), this.offsetWires23.push(E), this.ToffsetWires2C2.push(_), this.ToffsetWires2C2.push(v), this.ToffsetWires2C2.push(k), this.ToffsetWires2C2.push(M), this.ToffsetWires2C2.push(Z), this.ToffsetWires2C2.push(E);
1946
+ case p.六分裂:
1947
+ const _ = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), v = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), S = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), M = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W), R = B(r, new n.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), W), E = B(r, new n.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), W);
1948
+ this.offsetWires23.push(_), this.offsetWires23.push(v), this.offsetWires23.push(S), this.offsetWires23.push(M), this.offsetWires23.push(R), this.offsetWires23.push(E), this.ToffsetWires2C2.push(_), this.ToffsetWires2C2.push(v), this.ToffsetWires2C2.push(S), this.ToffsetWires2C2.push(M), this.ToffsetWires2C2.push(R), this.ToffsetWires2C2.push(E);
1884
1949
  break;
1885
- case A.八分裂:
1886
- const Y = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), R = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), F = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), S = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), X = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), H = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W), O = B(r, new n.Cartesian3(t.InsulatorPoint[6].X * -1, t.InsulatorPoint[6].Y, t.InsulatorPoint[6].Z), W), N = B(r, new n.Cartesian3(t.InsulatorPoint[7].X * -1, t.InsulatorPoint[7].Y, t.InsulatorPoint[7].Z), W);
1887
- this.offsetWires23.push(Y), this.offsetWires23.push(R), this.offsetWires23.push(F), this.offsetWires23.push(S), this.offsetWires23.push(X), this.offsetWires23.push(H), this.offsetWires23.push(O), this.offsetWires23.push(N), this.ToffsetWires2C2.push(Y), this.ToffsetWires2C2.push(R), this.ToffsetWires2C2.push(F), this.ToffsetWires2C2.push(S), this.ToffsetWires2C2.push(X), this.ToffsetWires2C2.push(H), this.ToffsetWires2C2.push(O), this.ToffsetWires2C2.push(N);
1950
+ case p.八分裂:
1951
+ const Y = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W), Z = B(r, new n.Cartesian3(i.InsulatorPoint[1].X * -1, i.InsulatorPoint[1].Y, i.InsulatorPoint[1].Z), W), F = B(r, new n.Cartesian3(i.InsulatorPoint[2].X * -1, i.InsulatorPoint[2].Y, i.InsulatorPoint[2].Z), W), k = B(r, new n.Cartesian3(i.InsulatorPoint[3].X * -1, i.InsulatorPoint[3].Y, i.InsulatorPoint[3].Z), W), X = B(r, new n.Cartesian3(i.InsulatorPoint[4].X * -1, i.InsulatorPoint[4].Y, i.InsulatorPoint[4].Z), W), H = B(r, new n.Cartesian3(i.InsulatorPoint[5].X * -1, i.InsulatorPoint[5].Y, i.InsulatorPoint[5].Z), W), O = B(r, new n.Cartesian3(i.InsulatorPoint[6].X * -1, i.InsulatorPoint[6].Y, i.InsulatorPoint[6].Z), W), $ = B(r, new n.Cartesian3(i.InsulatorPoint[7].X * -1, i.InsulatorPoint[7].Y, i.InsulatorPoint[7].Z), W);
1952
+ this.offsetWires23.push(Y), this.offsetWires23.push(Z), this.offsetWires23.push(F), this.offsetWires23.push(k), this.offsetWires23.push(X), this.offsetWires23.push(H), this.offsetWires23.push(O), this.offsetWires23.push($), this.ToffsetWires2C2.push(Y), this.ToffsetWires2C2.push(Z), this.ToffsetWires2C2.push(F), this.ToffsetWires2C2.push(k), this.ToffsetWires2C2.push(X), this.ToffsetWires2C2.push(H), this.ToffsetWires2C2.push(O), this.ToffsetWires2C2.push($);
1888
1953
  break;
1889
1954
  }
1890
- else if (t.type == D.跳线串)
1955
+ else if (i.type == D.跳线串)
1891
1956
  switch (this.LineInfo.Wairnum) {
1892
- case A.单分裂:
1893
- this.ToffsetWires2C1.push(e[0]), this.ToffsetWires2C2.push(e[0]);
1957
+ case p.单分裂:
1958
+ this.ToffsetWires2C1.push(o[0]), this.ToffsetWires2C2.push(o[0]);
1894
1959
  break;
1895
- case A.双分裂:
1896
- this.ToffsetWires2C1.push(e[0]), this.ToffsetWires2C1.push(e[1]), this.ToffsetWires2C2.push(e[2]), this.ToffsetWires2C2.push(e[3]);
1960
+ case p.双分裂:
1961
+ this.ToffsetWires2C1.push(o[0]), this.ToffsetWires2C1.push(o[1]), this.ToffsetWires2C2.push(o[2]), this.ToffsetWires2C2.push(o[3]);
1897
1962
  break;
1898
- case A.四分裂:
1899
- this.ToffsetWires2C1.push(e[0]), this.ToffsetWires2C1.push(e[1]), this.ToffsetWires2C1.push(e[2]), this.ToffsetWires2C1.push(e[3]), this.ToffsetWires2C2.push(e[4]), this.ToffsetWires2C2.push(e[5]), this.ToffsetWires2C2.push(e[6]), this.ToffsetWires2C2.push(e[7]);
1963
+ case p.四分裂:
1964
+ 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]);
1900
1965
  break;
1901
- case A.六分裂:
1902
- this.ToffsetWires2C1.push(e[0]), this.ToffsetWires2C1.push(e[1]), this.ToffsetWires2C1.push(e[2]), this.ToffsetWires2C1.push(e[3]), this.ToffsetWires2C1.push(e[4]), this.ToffsetWires2C1.push(e[5]), this.ToffsetWires2C2.push(e[6]), this.ToffsetWires2C2.push(e[7]), this.ToffsetWires2C2.push(e[8]), this.ToffsetWires2C2.push(e[9]), this.ToffsetWires2C2.push(e[10]), this.ToffsetWires2C2.push(e[11]);
1966
+ case p.六分裂:
1967
+ 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]);
1903
1968
  break;
1904
- case A.八分裂:
1905
- this.ToffsetWires2C1.push(e[0]), this.ToffsetWires2C1.push(e[1]), this.ToffsetWires2C1.push(e[2]), this.ToffsetWires2C1.push(e[3]), this.ToffsetWires2C1.push(e[4]), this.ToffsetWires2C1.push(e[5]), this.ToffsetWires2C1.push(e[6]), this.ToffsetWires2C1.push(e[7]), this.ToffsetWires2C2.push(e[8]), this.ToffsetWires2C2.push(e[9]), this.ToffsetWires2C2.push(e[10]), this.ToffsetWires2C2.push(e[11]), this.ToffsetWires2C2.push(e[12]), this.ToffsetWires2C2.push(e[13]), this.ToffsetWires2C2.push(e[14]), this.ToffsetWires2C2.push(e[15]);
1969
+ case p.八分裂:
1970
+ 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]);
1906
1971
  break;
1907
1972
  }
1908
1973
  break;
1909
1974
  }
1910
1975
  else
1911
- switch (t.PhaseSequence) {
1912
- case z.A相:
1913
- e.forEach((c) => {
1976
+ switch (i.PhaseSequence) {
1977
+ case G.A相:
1978
+ o.forEach((c) => {
1914
1979
  this.offsetWires21.push(c);
1915
1980
  });
1916
1981
  break;
1917
- case z.B相:
1918
- e.forEach((c) => {
1982
+ case G.B相:
1983
+ o.forEach((c) => {
1919
1984
  this.offsetWires22.push(c);
1920
1985
  });
1921
1986
  break;
1922
- case z.C相:
1923
- e.forEach((c) => {
1987
+ case G.C相:
1988
+ o.forEach((c) => {
1924
1989
  this.offsetWires23.push(c);
1925
1990
  });
1926
1991
  break;
1927
1992
  }
1928
- else if (this.LineInfo.towers[s].type == q.耐张塔)
1929
- switch (p) {
1993
+ else if (this.LineInfo.towers[s].type == V.耐张塔)
1994
+ switch (A) {
1930
1995
  case 11:
1931
- this.offsetWires21.push(e[0]), this.ToffsetWires2A1.push(e[0]);
1996
+ this.offsetWires21.push(o[0]), this.ToffsetWires2A1.push(o[0]);
1932
1997
  break;
1933
1998
  case 12:
1934
- this.ToffsetWires2A1.push(e[0]), this.ToffsetWires2A2.push(e[0]);
1999
+ this.ToffsetWires2A1.push(o[0]), this.ToffsetWires2A2.push(o[0]);
1935
2000
  break;
1936
2001
  case 13:
1937
- const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
2002
+ const c = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W);
1938
2003
  this.offsetWires21.push(c), this.ToffsetWires2A2.push(c);
1939
2004
  break;
1940
2005
  case 14:
1941
- this.offsetWires22.push(e[0]), this.ToffsetWires2B1.push(e[0]);
2006
+ this.offsetWires22.push(o[0]), this.ToffsetWires2B1.push(o[0]);
1942
2007
  break;
1943
2008
  case 15:
1944
- this.ToffsetWires2B1.push(e[0]), this.ToffsetWires2B2.push(e[0]);
2009
+ this.ToffsetWires2B1.push(o[0]), this.ToffsetWires2B2.push(o[0]);
1945
2010
  break;
1946
2011
  case 16:
1947
- const m = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
2012
+ const m = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W);
1948
2013
  this.offsetWires22.push(m), this.ToffsetWires2B2.push(m);
1949
2014
  break;
1950
2015
  case 17:
1951
- this.offsetWires23.push(e[0]), this.ToffsetWires2C1.push(e[0]);
2016
+ this.offsetWires23.push(o[0]), this.ToffsetWires2C1.push(o[0]);
1952
2017
  break;
1953
2018
  case 18:
1954
- this.ToffsetWires2C1.push(e[0]), this.ToffsetWires2C2.push(e[0]);
2019
+ this.ToffsetWires2C1.push(o[0]), this.ToffsetWires2C2.push(o[0]);
1955
2020
  break;
1956
2021
  case 19:
1957
- const b = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
2022
+ const b = B(r, new n.Cartesian3(i.InsulatorPoint[0].X * -1, i.InsulatorPoint[0].Y, i.InsulatorPoint[0].Z), W);
1958
2023
  this.offsetWires23.push(b), this.ToffsetWires2C2.push(b);
1959
2024
  break;
1960
2025
  }
1961
2026
  else
1962
- switch (p) {
2027
+ switch (A) {
1963
2028
  case 5:
1964
- e.forEach((c) => {
2029
+ o.forEach((c) => {
1965
2030
  this.offsetWires21.push(c);
1966
2031
  });
1967
2032
  break;
1968
2033
  case 6:
1969
- e.forEach((c) => {
2034
+ o.forEach((c) => {
1970
2035
  this.offsetWires22.push(c);
1971
2036
  });
1972
2037
  break;
1973
2038
  case 7:
1974
- e.forEach((c) => {
2039
+ o.forEach((c) => {
1975
2040
  this.offsetWires23.push(c);
1976
2041
  });
1977
2042
  break;
1978
2043
  }
1979
2044
  break;
1980
- case rs.地线:
2045
+ case hs.地线:
1981
2046
  if (this.LineInfo.ISPhaseSequence)
1982
- switch (t.PhaseSequence) {
1983
- case z.地线1:
1984
- this.offsetGrouundWires11.push(e[0]);
2047
+ switch (i.PhaseSequence) {
2048
+ case G.地线1:
2049
+ this.offsetGrouundWires11.push(o[0]);
1985
2050
  break;
1986
- case z.地线2:
1987
- this.offsetGrouundWires12.push(e[0]);
2051
+ case G.地线2:
2052
+ this.offsetGrouundWires12.push(o[0]);
1988
2053
  break;
1989
2054
  }
1990
2055
  else
1991
- switch (p) {
2056
+ switch (A) {
1992
2057
  case 0:
1993
- this.offsetGrouundWires11.push(e[0]);
2058
+ this.offsetGrouundWires11.push(o[0]);
1994
2059
  break;
1995
2060
  case 1:
1996
- this.offsetGrouundWires12.push(e[0]);
2061
+ this.offsetGrouundWires12.push(o[0]);
1997
2062
  break;
1998
2063
  }
1999
2064
  break;
2000
2065
  }
2001
- p = p + 1;
2066
+ A = A + 1;
2002
2067
  }), this.offsetWires11.length > 0 && s > 0) {
2003
- const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [];
2068
+ const i = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [];
2004
2069
  switch (this.LineInfo.Wairnum) {
2005
- case A.单分裂:
2006
- this.offsetWires11.length >= 2 && (t.push(this.offsetWires11[o]), t.push(this.offsetWires11[o - 1]), this.offsetArcWires1A = f(t), this.offsetArcWires1A.forEach((I) => {
2007
- this.arcLine1A1.push($(this.viewer.scene.globe.ellipsoid, I));
2070
+ case p.单分裂:
2071
+ this.offsetWires11.length >= 2 && (i.push(this.offsetWires11[e]), i.push(this.offsetWires11[e - 1]), this.offsetArcWires1A = f(i), this.offsetArcWires1A.forEach((I) => {
2072
+ this.arcLine1A1.push(z(this.viewer.scene.globe.ellipsoid, I));
2008
2073
  }), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)));
2009
2074
  break;
2010
- case A.双分裂:
2011
- this.offsetWires11.length >= 4 && (t.push(this.offsetWires11[o]), t.push(this.offsetWires11[o - 2]), this.offsetArcWires1A = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1A.forEach((I) => {
2012
- this.arcLine1A1.push($(this.viewer.scene.globe.ellipsoid, I));
2013
- }), l.push(this.offsetWires11[o + 1]), l.push(this.offsetWires11[o - 1]), this.offsetArcWires1A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)));
2075
+ case p.双分裂:
2076
+ this.offsetWires11.length >= 4 && (i.push(this.offsetWires11[e]), i.push(this.offsetWires11[e - 2]), this.offsetArcWires1A = f(i), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1A.forEach((I) => {
2077
+ this.arcLine1A1.push(z(this.viewer.scene.globe.ellipsoid, I));
2078
+ }), l.push(this.offsetWires11[e + 1]), l.push(this.offsetWires11[e - 1]), this.offsetArcWires1A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)));
2014
2079
  break;
2015
- case A.四分裂:
2016
- this.offsetWires11.length >= 8 && (t.push(this.offsetWires11[o]), t.push(this.offsetWires11[o - 4]), this.offsetArcWires1A = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1A.forEach((I) => {
2017
- this.arcLine1A1.push($(this.viewer.scene.globe.ellipsoid, I));
2018
- }), l.push(this.offsetWires11[o + 1]), l.push(this.offsetWires11[o - 3]), this.offsetArcWires1A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires11[o + 2]), u.push(this.offsetWires11[o - 2]), this.offsetArcWires1A = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires11[o + 3]), T.push(this.offsetWires11[o - 1]), this.offsetArcWires1A = f(T), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)));
2080
+ case p.四分裂:
2081
+ this.offsetWires11.length >= 8 && (i.push(this.offsetWires11[e]), i.push(this.offsetWires11[e - 4]), this.offsetArcWires1A = f(i), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1A.forEach((I) => {
2082
+ this.arcLine1A1.push(z(this.viewer.scene.globe.ellipsoid, I));
2083
+ }), l.push(this.offsetWires11[e + 1]), l.push(this.offsetWires11[e - 3]), this.offsetArcWires1A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires11[e + 2]), u.push(this.offsetWires11[e - 2]), this.offsetArcWires1A = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires11[e + 3]), C.push(this.offsetWires11[e - 1]), this.offsetArcWires1A = f(C), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)));
2019
2084
  break;
2020
- case A.六分裂:
2021
- this.offsetWires11.length >= 12 && (t.push(this.offsetWires11[o]), t.push(this.offsetWires11[o - 6]), this.offsetArcWires1A = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1A.forEach((I) => {
2022
- this.arcLine1A1.push($(this.viewer.scene.globe.ellipsoid, I));
2023
- }), l.push(this.offsetWires11[o + 1]), l.push(this.offsetWires11[o - 5]), this.offsetArcWires1A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires11[o + 2]), u.push(this.offsetWires11[o - 4]), this.offsetArcWires1A = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires11[o + 3]), T.push(this.offsetWires11[o - 3]), this.offsetArcWires1A = f(T), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires11[o + 4]), e.push(this.offsetWires11[o - 2]), this.offsetArcWires1A = f(e), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires11[o + 5]), c.push(this.offsetWires11[o - 1]), this.offsetArcWires1A = f(c), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)));
2085
+ case p.六分裂:
2086
+ this.offsetWires11.length >= 12 && (i.push(this.offsetWires11[e]), i.push(this.offsetWires11[e - 6]), this.offsetArcWires1A = f(i), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1A.forEach((I) => {
2087
+ this.arcLine1A1.push(z(this.viewer.scene.globe.ellipsoid, I));
2088
+ }), l.push(this.offsetWires11[e + 1]), l.push(this.offsetWires11[e - 5]), this.offsetArcWires1A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires11[e + 2]), u.push(this.offsetWires11[e - 4]), this.offsetArcWires1A = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires11[e + 3]), C.push(this.offsetWires11[e - 3]), this.offsetArcWires1A = f(C), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires11[e + 4]), o.push(this.offsetWires11[e - 2]), this.offsetArcWires1A = f(o), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires11[e + 5]), c.push(this.offsetWires11[e - 1]), this.offsetArcWires1A = f(c), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)));
2024
2089
  break;
2025
- case A.八分裂:
2026
- this.offsetWires11.length >= 16 && (t.push(this.offsetWires11[o]), t.push(this.offsetWires11[o - 8]), this.offsetArcWires1A = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1A.forEach((I) => {
2027
- this.arcLine1A1.push($(this.viewer.scene.globe.ellipsoid, I));
2028
- }), l.push(this.offsetWires11[o + 1]), l.push(this.offsetWires11[o - 7]), this.offsetArcWires1A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires11[o + 2]), u.push(this.offsetWires11[o - 6]), this.offsetArcWires1A = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires11[o + 3]), T.push(this.offsetWires11[o - 5]), this.offsetArcWires1A = f(T), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires11[o + 4]), e.push(this.offsetWires11[o - 4]), this.offsetArcWires1A = f(e), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires11[o + 5]), c.push(this.offsetWires11[o - 3]), this.offsetArcWires1A = f(c), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), m.push(this.offsetWires11[o + 6]), m.push(this.offsetWires11[o - 2]), this.offsetArcWires1A = f(m), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A7" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), b.push(this.offsetWires11[o + 7]), b.push(this.offsetWires11[o - 1]), this.offsetArcWires1A = f(b), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)));
2090
+ case p.八分裂:
2091
+ this.offsetWires11.length >= 16 && (i.push(this.offsetWires11[e]), i.push(this.offsetWires11[e - 8]), this.offsetArcWires1A = f(i), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1A.forEach((I) => {
2092
+ this.arcLine1A1.push(z(this.viewer.scene.globe.ellipsoid, I));
2093
+ }), l.push(this.offsetWires11[e + 1]), l.push(this.offsetWires11[e - 7]), this.offsetArcWires1A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires11[e + 2]), u.push(this.offsetWires11[e - 6]), this.offsetArcWires1A = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires11[e + 3]), C.push(this.offsetWires11[e - 5]), this.offsetArcWires1A = f(C), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires11[e + 4]), o.push(this.offsetWires11[e - 4]), this.offsetArcWires1A = f(o), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires11[e + 5]), c.push(this.offsetWires11[e - 3]), this.offsetArcWires1A = f(c), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), m.push(this.offsetWires11[e + 6]), m.push(this.offsetWires11[e - 2]), this.offsetArcWires1A = f(m), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A7" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), b.push(this.offsetWires11[e + 7]), b.push(this.offsetWires11[e - 1]), this.offsetArcWires1A = f(b), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)));
2029
2094
  break;
2030
2095
  }
2031
2096
  }
2032
2097
  if (this.offsetWires12.length > 0 && s > 0) {
2033
- const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [];
2098
+ const i = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [];
2034
2099
  switch (this.LineInfo.Wairnum) {
2035
- case A.单分裂:
2036
- t.push(this.offsetWires12[o]), t.push(this.offsetWires12[o - 1]), this.offsetArcWires1B = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((I) => {
2037
- this.arcLine1B1.push($(this.viewer.scene.globe.ellipsoid, I));
2100
+ case p.单分裂:
2101
+ i.push(this.offsetWires12[e]), i.push(this.offsetWires12[e - 1]), this.offsetArcWires1B = f(i), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((I) => {
2102
+ this.arcLine1B1.push(z(this.viewer.scene.globe.ellipsoid, I));
2038
2103
  });
2039
2104
  break;
2040
- case A.双分裂:
2041
- t.push(this.offsetWires12[o]), t.push(this.offsetWires12[o - 2]), this.offsetArcWires1B = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((I) => {
2042
- this.arcLine1B1.push($(this.viewer.scene.globe.ellipsoid, I));
2043
- }), l.push(this.offsetWires12[o + 1]), l.push(this.offsetWires12[o - 1]), this.offsetArcWires1B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2105
+ case p.双分裂:
2106
+ i.push(this.offsetWires12[e]), i.push(this.offsetWires12[e - 2]), this.offsetArcWires1B = f(i), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((I) => {
2107
+ this.arcLine1B1.push(z(this.viewer.scene.globe.ellipsoid, I));
2108
+ }), l.push(this.offsetWires12[e + 1]), l.push(this.offsetWires12[e - 1]), this.offsetArcWires1B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2044
2109
  break;
2045
- case A.四分裂:
2046
- t.push(this.offsetWires12[o]), t.push(this.offsetWires12[o - 4]), this.offsetArcWires1B = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((I) => {
2047
- this.arcLine1B1.push($(this.viewer.scene.globe.ellipsoid, I));
2048
- }), l.push(this.offsetWires12[o + 1]), l.push(this.offsetWires12[o - 3]), this.offsetArcWires1B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires12[o + 2]), u.push(this.offsetWires12[o - 2]), this.offsetArcWires1B = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires12[o + 3]), T.push(this.offsetWires12[o - 1]), this.offsetArcWires1B = f(T), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2110
+ case p.四分裂:
2111
+ i.push(this.offsetWires12[e]), i.push(this.offsetWires12[e - 4]), this.offsetArcWires1B = f(i), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((I) => {
2112
+ this.arcLine1B1.push(z(this.viewer.scene.globe.ellipsoid, I));
2113
+ }), l.push(this.offsetWires12[e + 1]), l.push(this.offsetWires12[e - 3]), this.offsetArcWires1B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires12[e + 2]), u.push(this.offsetWires12[e - 2]), this.offsetArcWires1B = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires12[e + 3]), C.push(this.offsetWires12[e - 1]), this.offsetArcWires1B = f(C), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2049
2114
  break;
2050
- case A.六分裂:
2051
- t.push(this.offsetWires12[o]), t.push(this.offsetWires12[o - 6]), this.offsetArcWires1B = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((I) => {
2052
- this.arcLine1B1.push($(this.viewer.scene.globe.ellipsoid, I));
2053
- }), l.push(this.offsetWires12[o + 1]), l.push(this.offsetWires12[o - 5]), this.offsetArcWires1B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires12[o + 2]), u.push(this.offsetWires12[o - 4]), this.offsetArcWires1B = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires12[o + 3]), T.push(this.offsetWires12[o - 3]), this.offsetArcWires1B = f(T), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires12[o + 4]), e.push(this.offsetWires12[o - 2]), this.offsetArcWires1B = f(e), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires12[o + 5]), c.push(this.offsetWires12[o - 1]), this.offsetArcWires1B = f(c), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2115
+ case p.六分裂:
2116
+ i.push(this.offsetWires12[e]), i.push(this.offsetWires12[e - 6]), this.offsetArcWires1B = f(i), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((I) => {
2117
+ this.arcLine1B1.push(z(this.viewer.scene.globe.ellipsoid, I));
2118
+ }), l.push(this.offsetWires12[e + 1]), l.push(this.offsetWires12[e - 5]), this.offsetArcWires1B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires12[e + 2]), u.push(this.offsetWires12[e - 4]), this.offsetArcWires1B = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires12[e + 3]), C.push(this.offsetWires12[e - 3]), this.offsetArcWires1B = f(C), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires12[e + 4]), o.push(this.offsetWires12[e - 2]), this.offsetArcWires1B = f(o), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires12[e + 5]), c.push(this.offsetWires12[e - 1]), this.offsetArcWires1B = f(c), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2054
2119
  break;
2055
- case A.八分裂:
2056
- t.push(this.offsetWires12[o]), t.push(this.offsetWires12[o - 8]), this.offsetArcWires1B = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((I) => {
2057
- this.arcLine1B1.push($(this.viewer.scene.globe.ellipsoid, I));
2058
- }), l.push(this.offsetWires12[o + 1]), l.push(this.offsetWires12[o - 7]), this.offsetArcWires1B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires12[o + 2]), u.push(this.offsetWires12[o - 6]), this.offsetArcWires1B = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires12[o + 3]), T.push(this.offsetWires12[o - 5]), this.offsetArcWires1B = f(T), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires12[o + 4]), e.push(this.offsetWires12[o - 4]), this.offsetArcWires1B = f(e), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires12[o + 5]), c.push(this.offsetWires12[o - 3]), this.offsetArcWires1B = f(c), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), m.push(this.offsetWires12[o + 6]), m.push(this.offsetWires12[o - 2]), this.offsetArcWires1B = f(m), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B7" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), b.push(this.offsetWires12[o + 7]), b.push(this.offsetWires12[o - 1]), this.offsetArcWires1B = f(b), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2120
+ case p.八分裂:
2121
+ i.push(this.offsetWires12[e]), i.push(this.offsetWires12[e - 8]), this.offsetArcWires1B = f(i), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((I) => {
2122
+ this.arcLine1B1.push(z(this.viewer.scene.globe.ellipsoid, I));
2123
+ }), l.push(this.offsetWires12[e + 1]), l.push(this.offsetWires12[e - 7]), this.offsetArcWires1B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires12[e + 2]), u.push(this.offsetWires12[e - 6]), this.offsetArcWires1B = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires12[e + 3]), C.push(this.offsetWires12[e - 5]), this.offsetArcWires1B = f(C), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires12[e + 4]), o.push(this.offsetWires12[e - 4]), this.offsetArcWires1B = f(o), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires12[e + 5]), c.push(this.offsetWires12[e - 3]), this.offsetArcWires1B = f(c), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), m.push(this.offsetWires12[e + 6]), m.push(this.offsetWires12[e - 2]), this.offsetArcWires1B = f(m), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B7" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), b.push(this.offsetWires12[e + 7]), b.push(this.offsetWires12[e - 1]), this.offsetArcWires1B = f(b), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2059
2124
  break;
2060
2125
  }
2061
2126
  }
2062
2127
  if (this.offsetWires13.length > 0 && s > 0) {
2063
- const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [];
2128
+ const i = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [];
2064
2129
  switch (this.LineInfo.Wairnum) {
2065
- case A.单分裂:
2066
- t.push(this.offsetWires13[o]), t.push(this.offsetWires13[o - 1]), this.offsetArcWires1C = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2130
+ case p.单分裂:
2131
+ i.push(this.offsetWires13[e]), i.push(this.offsetWires13[e - 1]), this.offsetArcWires1C = f(i), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2067
2132
  break;
2068
- case A.双分裂:
2069
- t.push(this.offsetWires13[o]), t.push(this.offsetWires13[o - 2]), this.offsetArcWires1C = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires13[o + 1]), l.push(this.offsetWires13[o - 1]), this.offsetArcWires1C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2133
+ case p.双分裂:
2134
+ i.push(this.offsetWires13[e]), i.push(this.offsetWires13[e - 2]), this.offsetArcWires1C = f(i), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires13[e + 1]), l.push(this.offsetWires13[e - 1]), this.offsetArcWires1C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2070
2135
  break;
2071
- case A.四分裂:
2072
- t.push(this.offsetWires13[o]), t.push(this.offsetWires13[o - 4]), this.offsetArcWires1C = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires13[o + 1]), l.push(this.offsetWires13[o - 3]), this.offsetArcWires1C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires13[o + 2]), u.push(this.offsetWires13[o - 2]), this.offsetArcWires1C = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires13[o + 3]), T.push(this.offsetWires13[o - 1]), this.offsetArcWires1C = f(T), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2136
+ case p.四分裂:
2137
+ i.push(this.offsetWires13[e]), i.push(this.offsetWires13[e - 4]), this.offsetArcWires1C = f(i), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires13[e + 1]), l.push(this.offsetWires13[e - 3]), this.offsetArcWires1C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires13[e + 2]), u.push(this.offsetWires13[e - 2]), this.offsetArcWires1C = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires13[e + 3]), C.push(this.offsetWires13[e - 1]), this.offsetArcWires1C = f(C), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2073
2138
  break;
2074
- case A.六分裂:
2075
- t.push(this.offsetWires13[o]), t.push(this.offsetWires13[o - 6]), this.offsetArcWires1C = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires13[o + 1]), l.push(this.offsetWires13[o - 5]), this.offsetArcWires1C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires13[o + 2]), u.push(this.offsetWires13[o - 4]), this.offsetArcWires1C = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires13[o + 3]), T.push(this.offsetWires13[o - 3]), this.offsetArcWires1C = f(T), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires13[o + 4]), e.push(this.offsetWires13[o - 2]), this.offsetArcWires1C = f(e), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires13[o + 5]), c.push(this.offsetWires13[o - 1]), this.offsetArcWires1C = f(c), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2139
+ case p.六分裂:
2140
+ i.push(this.offsetWires13[e]), i.push(this.offsetWires13[e - 6]), this.offsetArcWires1C = f(i), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires13[e + 1]), l.push(this.offsetWires13[e - 5]), this.offsetArcWires1C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires13[e + 2]), u.push(this.offsetWires13[e - 4]), this.offsetArcWires1C = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires13[e + 3]), C.push(this.offsetWires13[e - 3]), this.offsetArcWires1C = f(C), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires13[e + 4]), o.push(this.offsetWires13[e - 2]), this.offsetArcWires1C = f(o), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires13[e + 5]), c.push(this.offsetWires13[e - 1]), this.offsetArcWires1C = f(c), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2076
2141
  break;
2077
- case A.八分裂:
2078
- t.push(this.offsetWires13[o]), t.push(this.offsetWires13[o - 8]), this.offsetArcWires1C = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires13[o + 1]), l.push(this.offsetWires13[o - 7]), this.offsetArcWires1C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires13[o + 2]), u.push(this.offsetWires13[o - 6]), this.offsetArcWires1C = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires13[o + 3]), T.push(this.offsetWires13[o - 5]), this.offsetArcWires1C = f(T), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires13[o + 4]), e.push(this.offsetWires13[o - 4]), this.offsetArcWires1C = f(e), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires13[o + 5]), c.push(this.offsetWires13[o - 3]), this.offsetArcWires1C = f(c), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), m.push(this.offsetWires13[o + 6]), m.push(this.offsetWires13[o - 2]), this.offsetArcWires1C = f(m), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C7" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), b.push(this.offsetWires13[o + 7]), b.push(this.offsetWires13[o - 1]), this.offsetArcWires1C = f(b), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2142
+ case p.八分裂:
2143
+ i.push(this.offsetWires13[e]), i.push(this.offsetWires13[e - 8]), this.offsetArcWires1C = f(i), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires13[e + 1]), l.push(this.offsetWires13[e - 7]), this.offsetArcWires1C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires13[e + 2]), u.push(this.offsetWires13[e - 6]), this.offsetArcWires1C = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires13[e + 3]), C.push(this.offsetWires13[e - 5]), this.offsetArcWires1C = f(C), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires13[e + 4]), o.push(this.offsetWires13[e - 4]), this.offsetArcWires1C = f(o), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires13[e + 5]), c.push(this.offsetWires13[e - 3]), this.offsetArcWires1C = f(c), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), m.push(this.offsetWires13[e + 6]), m.push(this.offsetWires13[e - 2]), this.offsetArcWires1C = f(m), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C7" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), b.push(this.offsetWires13[e + 7]), b.push(this.offsetWires13[e - 1]), this.offsetArcWires1C = f(b), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2079
2144
  break;
2080
2145
  }
2081
2146
  }
2082
2147
  if (this.offsetWires21.length > 0 && s > 0) {
2083
- const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [];
2148
+ const i = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [];
2084
2149
  switch (this.LineInfo.Wairnum) {
2085
- case A.单分裂:
2086
- t.push(this.offsetWires21[o]), t.push(this.offsetWires21[o - 1]), this.offsetArcWires2A = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2150
+ case p.单分裂:
2151
+ i.push(this.offsetWires21[e]), i.push(this.offsetWires21[e - 1]), this.offsetArcWires2A = f(i), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2087
2152
  break;
2088
- case A.双分裂:
2089
- t.push(this.offsetWires21[o]), t.push(this.offsetWires21[o - 2]), this.offsetArcWires2A = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires21[o + 1]), l.push(this.offsetWires21[o - 1]), this.offsetArcWires2A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2153
+ case p.双分裂:
2154
+ i.push(this.offsetWires21[e]), i.push(this.offsetWires21[e - 2]), this.offsetArcWires2A = f(i), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires21[e + 1]), l.push(this.offsetWires21[e - 1]), this.offsetArcWires2A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2090
2155
  break;
2091
- case A.四分裂:
2092
- t.push(this.offsetWires21[o]), t.push(this.offsetWires21[o - 4]), this.offsetArcWires2A = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires21[o + 1]), l.push(this.offsetWires21[o - 3]), this.offsetArcWires2A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires21[o + 2]), u.push(this.offsetWires21[o - 2]), this.offsetArcWires2A = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires21[o + 3]), T.push(this.offsetWires21[o - 1]), this.offsetArcWires2A = f(T), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2156
+ case p.四分裂:
2157
+ i.push(this.offsetWires21[e]), i.push(this.offsetWires21[e - 4]), this.offsetArcWires2A = f(i), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires21[e + 1]), l.push(this.offsetWires21[e - 3]), this.offsetArcWires2A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires21[e + 2]), u.push(this.offsetWires21[e - 2]), this.offsetArcWires2A = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires21[e + 3]), C.push(this.offsetWires21[e - 1]), this.offsetArcWires2A = f(C), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2093
2158
  break;
2094
- case A.六分裂:
2095
- t.push(this.offsetWires21[o]), t.push(this.offsetWires21[o - 6]), this.offsetArcWires2A = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires21[o + 1]), l.push(this.offsetWires21[o - 5]), this.offsetArcWires2A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires21[o + 2]), u.push(this.offsetWires21[o - 4]), this.offsetArcWires2A = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires21[o + 3]), T.push(this.offsetWires21[o - 3]), this.offsetArcWires2A = f(T), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires21[o + 4]), e.push(this.offsetWires21[o - 2]), this.offsetArcWires2A = f(e), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires21[o + 5]), c.push(this.offsetWires21[o - 1]), this.offsetArcWires2A = f(c), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2159
+ case p.六分裂:
2160
+ i.push(this.offsetWires21[e]), i.push(this.offsetWires21[e - 6]), this.offsetArcWires2A = f(i), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires21[e + 1]), l.push(this.offsetWires21[e - 5]), this.offsetArcWires2A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires21[e + 2]), u.push(this.offsetWires21[e - 4]), this.offsetArcWires2A = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires21[e + 3]), C.push(this.offsetWires21[e - 3]), this.offsetArcWires2A = f(C), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires21[e + 4]), o.push(this.offsetWires21[e - 2]), this.offsetArcWires2A = f(o), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires21[e + 5]), c.push(this.offsetWires21[e - 1]), this.offsetArcWires2A = f(c), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2096
2161
  break;
2097
- case A.八分裂:
2098
- t.push(this.offsetWires21[o]), t.push(this.offsetWires21[o - 8]), this.offsetArcWires2A = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires21[o + 1]), l.push(this.offsetWires21[o - 7]), this.offsetArcWires2A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires21[o + 2]), u.push(this.offsetWires21[o - 6]), this.offsetArcWires2A = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires21[o + 3]), T.push(this.offsetWires21[o - 5]), this.offsetArcWires2A = f(T), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires21[o + 4]), e.push(this.offsetWires21[o - 4]), this.offsetArcWires2A = f(e), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires21[o + 5]), c.push(this.offsetWires21[o - 3]), this.offsetArcWires2A = f(c), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), m.push(this.offsetWires21[o + 6]), m.push(this.offsetWires21[o - 2]), this.offsetArcWires2A = f(m), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A7" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), b.push(this.offsetWires21[o + 7]), b.push(this.offsetWires21[o - 1]), this.offsetArcWires2A = f(b), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2162
+ case p.八分裂:
2163
+ i.push(this.offsetWires21[e]), i.push(this.offsetWires21[e - 8]), this.offsetArcWires2A = f(i), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires21[e + 1]), l.push(this.offsetWires21[e - 7]), this.offsetArcWires2A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires21[e + 2]), u.push(this.offsetWires21[e - 6]), this.offsetArcWires2A = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires21[e + 3]), C.push(this.offsetWires21[e - 5]), this.offsetArcWires2A = f(C), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires21[e + 4]), o.push(this.offsetWires21[e - 4]), this.offsetArcWires2A = f(o), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires21[e + 5]), c.push(this.offsetWires21[e - 3]), this.offsetArcWires2A = f(c), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), m.push(this.offsetWires21[e + 6]), m.push(this.offsetWires21[e - 2]), this.offsetArcWires2A = f(m), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A7" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), b.push(this.offsetWires21[e + 7]), b.push(this.offsetWires21[e - 1]), this.offsetArcWires2A = f(b), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2099
2164
  break;
2100
2165
  }
2101
2166
  }
2102
2167
  if (this.offsetWires22.length > 0 && s > 0) {
2103
- const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [];
2168
+ const i = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [];
2104
2169
  switch (this.LineInfo.Wairnum) {
2105
- case A.单分裂:
2106
- t.push(this.offsetWires22[o]), t.push(this.offsetWires22[o - 1]), this.offsetArcWires2B = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2170
+ case p.单分裂:
2171
+ i.push(this.offsetWires22[e]), i.push(this.offsetWires22[e - 1]), this.offsetArcWires2B = f(i), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2107
2172
  break;
2108
- case A.双分裂:
2109
- t.push(this.offsetWires22[o]), t.push(this.offsetWires22[o - 2]), this.offsetArcWires2B = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires22[o + 1]), l.push(this.offsetWires22[o - 1]), this.offsetArcWires2B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2173
+ case p.双分裂:
2174
+ i.push(this.offsetWires22[e]), i.push(this.offsetWires22[e - 2]), this.offsetArcWires2B = f(i), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires22[e + 1]), l.push(this.offsetWires22[e - 1]), this.offsetArcWires2B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2110
2175
  break;
2111
- case A.四分裂:
2112
- t.push(this.offsetWires22[o]), t.push(this.offsetWires22[o - 4]), this.offsetArcWires2B = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires22[o + 1]), l.push(this.offsetWires22[o - 3]), this.offsetArcWires2B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires22[o + 2]), u.push(this.offsetWires22[o - 2]), this.offsetArcWires2B = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires22[o + 3]), T.push(this.offsetWires22[o - 1]), this.offsetArcWires2B = f(T), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2176
+ case p.四分裂:
2177
+ i.push(this.offsetWires22[e]), i.push(this.offsetWires22[e - 4]), this.offsetArcWires2B = f(i), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires22[e + 1]), l.push(this.offsetWires22[e - 3]), this.offsetArcWires2B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires22[e + 2]), u.push(this.offsetWires22[e - 2]), this.offsetArcWires2B = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires22[e + 3]), C.push(this.offsetWires22[e - 1]), this.offsetArcWires2B = f(C), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2113
2178
  break;
2114
- case A.六分裂:
2115
- t.push(this.offsetWires22[o]), t.push(this.offsetWires22[o - 6]), this.offsetArcWires2B = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires22[o + 1]), l.push(this.offsetWires22[o - 5]), this.offsetArcWires2B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires22[o + 2]), u.push(this.offsetWires22[o - 4]), this.offsetArcWires2B = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires22[o + 3]), T.push(this.offsetWires22[o - 3]), this.offsetArcWires2B = f(T), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires22[o + 4]), e.push(this.offsetWires22[o - 2]), this.offsetArcWires2B = f(e), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires22[o + 5]), c.push(this.offsetWires22[o - 1]), this.offsetArcWires2B = f(c), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2179
+ case p.六分裂:
2180
+ i.push(this.offsetWires22[e]), i.push(this.offsetWires22[e - 6]), this.offsetArcWires2B = f(i), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires22[e + 1]), l.push(this.offsetWires22[e - 5]), this.offsetArcWires2B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires22[e + 2]), u.push(this.offsetWires22[e - 4]), this.offsetArcWires2B = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires22[e + 3]), C.push(this.offsetWires22[e - 3]), this.offsetArcWires2B = f(C), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires22[e + 4]), o.push(this.offsetWires22[e - 2]), this.offsetArcWires2B = f(o), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires22[e + 5]), c.push(this.offsetWires22[e - 1]), this.offsetArcWires2B = f(c), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2116
2181
  break;
2117
- case A.八分裂:
2118
- t.push(this.offsetWires22[o]), t.push(this.offsetWires22[o - 8]), this.offsetArcWires2B = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires22[o + 1]), l.push(this.offsetWires22[o - 7]), this.offsetArcWires2B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires22[o + 2]), u.push(this.offsetWires22[o - 6]), this.offsetArcWires2B = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires22[o + 3]), T.push(this.offsetWires22[o - 5]), this.offsetArcWires2B = f(T), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires22[o + 4]), e.push(this.offsetWires22[o - 4]), this.offsetArcWires2B = f(e), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires22[o + 5]), c.push(this.offsetWires22[o - 3]), this.offsetArcWires2B = f(c), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), m.push(this.offsetWires22[o + 6]), m.push(this.offsetWires22[o - 2]), this.offsetArcWires2B = f(m), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B7" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), b.push(this.offsetWires22[o + 7]), b.push(this.offsetWires22[o - 1]), this.offsetArcWires2B = f(b), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2182
+ case p.八分裂:
2183
+ i.push(this.offsetWires22[e]), i.push(this.offsetWires22[e - 8]), this.offsetArcWires2B = f(i), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires22[e + 1]), l.push(this.offsetWires22[e - 7]), this.offsetArcWires2B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires22[e + 2]), u.push(this.offsetWires22[e - 6]), this.offsetArcWires2B = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires22[e + 3]), C.push(this.offsetWires22[e - 5]), this.offsetArcWires2B = f(C), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires22[e + 4]), o.push(this.offsetWires22[e - 4]), this.offsetArcWires2B = f(o), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires22[e + 5]), c.push(this.offsetWires22[e - 3]), this.offsetArcWires2B = f(c), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), m.push(this.offsetWires22[e + 6]), m.push(this.offsetWires22[e - 2]), this.offsetArcWires2B = f(m), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B7" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), b.push(this.offsetWires22[e + 7]), b.push(this.offsetWires22[e - 1]), this.offsetArcWires2B = f(b), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2119
2184
  break;
2120
2185
  }
2121
2186
  }
2122
2187
  if (this.offsetWires23.length > 0 && s > 0) {
2123
- const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [];
2188
+ const i = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [];
2124
2189
  switch (this.LineInfo.Wairnum) {
2125
- case A.单分裂:
2126
- t.push(this.offsetWires23[o]), t.push(this.offsetWires23[o - 1]), this.offsetArcWires2C = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2190
+ case p.单分裂:
2191
+ i.push(this.offsetWires23[e]), i.push(this.offsetWires23[e - 1]), this.offsetArcWires2C = f(i), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2127
2192
  break;
2128
- case A.双分裂:
2129
- t.push(this.offsetWires23[o]), t.push(this.offsetWires23[o - 2]), this.offsetArcWires2C = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires23[o + 1]), l.push(this.offsetWires23[o - 1]), this.offsetArcWires2C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2193
+ case p.双分裂:
2194
+ i.push(this.offsetWires23[e]), i.push(this.offsetWires23[e - 2]), this.offsetArcWires2C = f(i), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires23[e + 1]), l.push(this.offsetWires23[e - 1]), this.offsetArcWires2C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2130
2195
  break;
2131
- case A.四分裂:
2132
- t.push(this.offsetWires23[o]), t.push(this.offsetWires23[o - 4]), this.offsetArcWires2C = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires23[o + 1]), l.push(this.offsetWires23[o - 3]), this.offsetArcWires2C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires23[o + 2]), u.push(this.offsetWires23[o - 2]), this.offsetArcWires2C = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires23[o + 3]), T.push(this.offsetWires23[o - 1]), this.offsetArcWires2C = f(T), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2196
+ case p.四分裂:
2197
+ i.push(this.offsetWires23[e]), i.push(this.offsetWires23[e - 4]), this.offsetArcWires2C = f(i), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires23[e + 1]), l.push(this.offsetWires23[e - 3]), this.offsetArcWires2C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires23[e + 2]), u.push(this.offsetWires23[e - 2]), this.offsetArcWires2C = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires23[e + 3]), C.push(this.offsetWires23[e - 1]), this.offsetArcWires2C = f(C), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2133
2198
  break;
2134
- case A.六分裂:
2135
- t.push(this.offsetWires23[o]), t.push(this.offsetWires23[o - 6]), this.offsetArcWires2C = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires23[o + 1]), l.push(this.offsetWires23[o - 5]), this.offsetArcWires2C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires23[o + 2]), u.push(this.offsetWires23[o - 4]), this.offsetArcWires2C = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires23[o + 3]), T.push(this.offsetWires23[o - 3]), this.offsetArcWires2C = f(T), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires23[o + 4]), e.push(this.offsetWires23[o - 2]), this.offsetArcWires2C = f(e), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires23[o + 5]), c.push(this.offsetWires23[o - 1]), this.offsetArcWires2C = f(c), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2199
+ case p.六分裂:
2200
+ i.push(this.offsetWires23[e]), i.push(this.offsetWires23[e - 6]), this.offsetArcWires2C = f(i), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires23[e + 1]), l.push(this.offsetWires23[e - 5]), this.offsetArcWires2C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires23[e + 2]), u.push(this.offsetWires23[e - 4]), this.offsetArcWires2C = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires23[e + 3]), C.push(this.offsetWires23[e - 3]), this.offsetArcWires2C = f(C), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires23[e + 4]), o.push(this.offsetWires23[e - 2]), this.offsetArcWires2C = f(o), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires23[e + 5]), c.push(this.offsetWires23[e - 1]), this.offsetArcWires2C = f(c), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2136
2201
  break;
2137
- case A.八分裂:
2138
- t.push(this.offsetWires23[o]), t.push(this.offsetWires23[o - 8]), this.offsetArcWires2C = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires23[o + 1]), l.push(this.offsetWires23[o - 7]), this.offsetArcWires2C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires23[o + 2]), u.push(this.offsetWires23[o - 6]), this.offsetArcWires2C = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires23[o + 3]), T.push(this.offsetWires23[o - 5]), this.offsetArcWires2C = f(T), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires23[o + 4]), e.push(this.offsetWires23[o - 4]), this.offsetArcWires2C = f(e), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires23[o + 5]), c.push(this.offsetWires23[o - 3]), this.offsetArcWires2C = f(c), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), m.push(this.offsetWires23[o + 6]), m.push(this.offsetWires23[o - 2]), this.offsetArcWires2C = f(m), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C7" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), b.push(this.offsetWires23[o + 7]), b.push(this.offsetWires23[o - 1]), this.offsetArcWires2C = f(b), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2202
+ case p.八分裂:
2203
+ i.push(this.offsetWires23[e]), i.push(this.offsetWires23[e - 8]), this.offsetArcWires2C = f(i), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires23[e + 1]), l.push(this.offsetWires23[e - 7]), this.offsetArcWires2C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires23[e + 2]), u.push(this.offsetWires23[e - 6]), this.offsetArcWires2C = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), C.push(this.offsetWires23[e + 3]), C.push(this.offsetWires23[e - 5]), this.offsetArcWires2C = f(C), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), o.push(this.offsetWires23[e + 4]), o.push(this.offsetWires23[e - 4]), this.offsetArcWires2C = f(o), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires23[e + 5]), c.push(this.offsetWires23[e - 3]), this.offsetArcWires2C = f(c), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), m.push(this.offsetWires23[e + 6]), m.push(this.offsetWires23[e - 2]), this.offsetArcWires2C = f(m), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C7" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), b.push(this.offsetWires23[e + 7]), b.push(this.offsetWires23[e - 1]), this.offsetArcWires2C = f(b), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2139
2204
  break;
2140
2205
  }
2141
2206
  }
2142
2207
  if (this.offsetGrouundWires11.length > 1) {
2143
- const t = [];
2144
- t.push(this.offsetGrouundWires11[s]), t.push(this.offsetGrouundWires11[s - 1]);
2208
+ const i = [];
2209
+ i.push(this.offsetGrouundWires11[s]), i.push(this.offsetGrouundWires11[s - 1]);
2145
2210
  const l = [];
2146
- l.push(this.offsetGrouundWires12[s]), l.push(this.offsetGrouundWires12[s - 1]), this.offsetGrouundWires1 = f(t, 2), this.offsetGrouundWires2 = f(l, 2), this.offsetGrouundWires1.forEach((u) => {
2147
- this.arcLine1D1.push($(this.viewer.scene.globe.ellipsoid, u));
2211
+ l.push(this.offsetGrouundWires12[s]), l.push(this.offsetGrouundWires12[s - 1]), this.offsetGrouundWires1 = f(i, 2), this.offsetGrouundWires2 = f(l, 2), this.offsetGrouundWires1.forEach((u) => {
2212
+ this.arcLine1D1.push(z(this.viewer.scene.globe.ellipsoid, u));
2148
2213
  }), this.LineentityCollection2.add(h(this.offsetGrouundWires1, "地线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireD1Color)), this.LineentityCollection2.add(h(this.offsetGrouundWires2, "地线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireD2Color));
2149
2214
  }
2150
2215
  let d = 2;
2151
- if (this.LineInfo.towers[s].type == q.耐张塔) {
2216
+ if (this.LineInfo.towers[s].type == V.耐张塔) {
2152
2217
  switch (this.LineInfo.Wairnum) {
2153
- case A.单分裂:
2154
- o = o + d, i = i + d;
2218
+ case p.单分裂:
2219
+ e = e + d, t = t + d;
2155
2220
  break;
2156
- case A.双分裂:
2157
- o = o + d * 2, i = i + d * 2;
2221
+ case p.双分裂:
2222
+ e = e + d * 2, t = t + d * 2;
2158
2223
  break;
2159
- case A.四分裂:
2160
- o = o + d * 4, i = i + d * 4;
2224
+ case p.四分裂:
2225
+ e = e + d * 4, t = t + d * 4;
2161
2226
  break;
2162
- case A.六分裂:
2163
- o = o + d * 6, i = i + d * 6;
2227
+ case p.六分裂:
2228
+ e = e + d * 6, t = t + d * 6;
2164
2229
  break;
2165
- case A.八分裂:
2166
- o = o + d * 8, i = i + d * 8;
2230
+ case p.八分裂:
2231
+ e = e + d * 8, t = t + d * 8;
2167
2232
  break;
2168
2233
  }
2169
2234
  if (this.ToffsetWires1A1.length > 1 && this.ToffsetWires1A2.length > 1) {
2170
- const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], _ = [], v = [], k = [], M = [];
2235
+ const i = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], _ = [], v = [], S = [], M = [];
2171
2236
  switch (this.LineInfo.Wairnum) {
2172
- case A.单分裂:
2173
- this.ToffsetWires1A1.length >= 2 && (t.push(this.ToffsetWires1A1[i - 2]), t.push(this.ToffsetWires1A1[i - 1]), this.ToffsetArcWires1A = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 2 && (I.push(this.ToffsetWires1A2[i - 2]), I.push(this.ToffsetWires1A2[i - 1]), this.ToffsetArcWires2A = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2237
+ case p.单分裂:
2238
+ this.ToffsetWires1A1.length >= 2 && (i.push(this.ToffsetWires1A1[t - 2]), i.push(this.ToffsetWires1A1[t - 1]), this.ToffsetArcWires1A = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 2 && (I.push(this.ToffsetWires1A2[t - 2]), I.push(this.ToffsetWires1A2[t - 1]), this.ToffsetArcWires2A = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2174
2239
  break;
2175
- case A.双分裂:
2176
- this.ToffsetWires1A1.length >= 4 && (t.push(this.ToffsetWires1A1[i - 4]), t.push(this.ToffsetWires1A1[i - 2]), this.ToffsetArcWires1A = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1A1[i - 3]), l.push(this.ToffsetWires1A1[i - 1]), this.ToffsetArcWires1A = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 4 && (I.push(this.ToffsetWires1A2[i - 4]), I.push(this.ToffsetWires1A2[i - 2]), this.ToffsetArcWires2A = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1A2[i - 3]), P.push(this.ToffsetWires1A2[i - 1]), this.ToffsetArcWires2A = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2240
+ case p.双分裂:
2241
+ this.ToffsetWires1A1.length >= 4 && (i.push(this.ToffsetWires1A1[t - 4]), i.push(this.ToffsetWires1A1[t - 2]), this.ToffsetArcWires1A = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1A1[t - 3]), l.push(this.ToffsetWires1A1[t - 1]), this.ToffsetArcWires1A = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 4 && (I.push(this.ToffsetWires1A2[t - 4]), I.push(this.ToffsetWires1A2[t - 2]), this.ToffsetArcWires2A = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1A2[t - 3]), P.push(this.ToffsetWires1A2[t - 1]), this.ToffsetArcWires2A = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2177
2242
  break;
2178
- case A.四分裂:
2179
- this.ToffsetWires1A1.length >= 8 && (t.push(this.ToffsetWires1A1[i - 8]), t.push(this.ToffsetWires1A1[i - 4]), this.ToffsetArcWires1A = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1A1[i - 7]), l.push(this.ToffsetWires1A1[i - 3]), this.ToffsetArcWires1A = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1A1[i - 6]), u.push(this.ToffsetWires1A1[i - 2]), this.ToffsetArcWires1A = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1A1[i - 5]), T.push(this.ToffsetWires1A1[i - 1]), this.ToffsetArcWires1A = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 8 && (I.push(this.ToffsetWires1A2[i - 8]), I.push(this.ToffsetWires1A2[i - 4]), this.ToffsetArcWires2A = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1A2[i - 7]), P.push(this.ToffsetWires1A2[i - 3]), this.ToffsetArcWires2A = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1A2[i - 6]), g.push(this.ToffsetWires1A2[i - 2]), this.ToffsetArcWires2A = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1A2[i - 5]), y.push(this.ToffsetWires1A2[i - 1]), this.ToffsetArcWires2A = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2243
+ case p.四分裂:
2244
+ this.ToffsetWires1A1.length >= 8 && (i.push(this.ToffsetWires1A1[t - 8]), i.push(this.ToffsetWires1A1[t - 4]), this.ToffsetArcWires1A = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1A1[t - 7]), l.push(this.ToffsetWires1A1[t - 3]), this.ToffsetArcWires1A = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1A1[t - 6]), u.push(this.ToffsetWires1A1[t - 2]), this.ToffsetArcWires1A = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires1A1[t - 5]), C.push(this.ToffsetWires1A1[t - 1]), this.ToffsetArcWires1A = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 8 && (I.push(this.ToffsetWires1A2[t - 8]), I.push(this.ToffsetWires1A2[t - 4]), this.ToffsetArcWires2A = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1A2[t - 7]), P.push(this.ToffsetWires1A2[t - 3]), this.ToffsetArcWires2A = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1A2[t - 6]), g.push(this.ToffsetWires1A2[t - 2]), this.ToffsetArcWires2A = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1A2[t - 5]), y.push(this.ToffsetWires1A2[t - 1]), this.ToffsetArcWires2A = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2180
2245
  break;
2181
- case A.六分裂:
2182
- this.ToffsetWires1A1.length >= 12 && (t.push(this.ToffsetWires1A1[i - 12]), t.push(this.ToffsetWires1A1[i - 6]), this.ToffsetArcWires1A = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1A1[i - 11]), l.push(this.ToffsetWires1A1[i - 5]), this.ToffsetArcWires1A = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1A1[i - 10]), u.push(this.ToffsetWires1A1[i - 4]), this.ToffsetArcWires1A = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1A1[i - 9]), T.push(this.ToffsetWires1A1[i - 3]), this.ToffsetArcWires1A = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires1A1[i - 8]), e.push(this.ToffsetWires1A1[i - 2]), this.ToffsetArcWires1A = f(e, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1A1[i - 7]), c.push(this.ToffsetWires1A1[i - 1]), this.ToffsetArcWires1A = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 12 && (I.push(this.ToffsetWires1A2[i - 12]), I.push(this.ToffsetWires1A2[i - 6]), this.ToffsetArcWires2A = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1A2[i - 11]), P.push(this.ToffsetWires1A2[i - 5]), this.ToffsetArcWires2A = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1A2[i - 10]), g.push(this.ToffsetWires1A2[i - 4]), this.ToffsetArcWires2A = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1A2[i - 9]), y.push(this.ToffsetWires1A2[i - 3]), this.ToffsetArcWires2A = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1A2[i - 8]), _.push(this.ToffsetWires1A2[i - 2]), this.ToffsetArcWires2A = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1A2[i - 7]), v.push(this.ToffsetWires1A2[i - 1]), this.ToffsetArcWires2A = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2246
+ case p.六分裂:
2247
+ this.ToffsetWires1A1.length >= 12 && (i.push(this.ToffsetWires1A1[t - 12]), i.push(this.ToffsetWires1A1[t - 6]), this.ToffsetArcWires1A = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1A1[t - 11]), l.push(this.ToffsetWires1A1[t - 5]), this.ToffsetArcWires1A = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1A1[t - 10]), u.push(this.ToffsetWires1A1[t - 4]), this.ToffsetArcWires1A = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires1A1[t - 9]), C.push(this.ToffsetWires1A1[t - 3]), this.ToffsetArcWires1A = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires1A1[t - 8]), o.push(this.ToffsetWires1A1[t - 2]), this.ToffsetArcWires1A = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1A1[t - 7]), c.push(this.ToffsetWires1A1[t - 1]), this.ToffsetArcWires1A = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 12 && (I.push(this.ToffsetWires1A2[t - 12]), I.push(this.ToffsetWires1A2[t - 6]), this.ToffsetArcWires2A = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1A2[t - 11]), P.push(this.ToffsetWires1A2[t - 5]), this.ToffsetArcWires2A = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1A2[t - 10]), g.push(this.ToffsetWires1A2[t - 4]), this.ToffsetArcWires2A = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1A2[t - 9]), y.push(this.ToffsetWires1A2[t - 3]), this.ToffsetArcWires2A = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1A2[t - 8]), _.push(this.ToffsetWires1A2[t - 2]), this.ToffsetArcWires2A = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1A2[t - 7]), v.push(this.ToffsetWires1A2[t - 1]), this.ToffsetArcWires2A = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2183
2248
  break;
2184
- case A.八分裂:
2185
- this.ToffsetWires1A1.length >= 16 && (t.push(this.ToffsetWires1A1[i - 16]), t.push(this.ToffsetWires1A1[i - 8]), this.ToffsetArcWires1A = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1A1[i - 15]), l.push(this.ToffsetWires1A1[i - 7]), this.ToffsetArcWires1A = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1A1[i - 14]), u.push(this.ToffsetWires1A1[i - 6]), this.ToffsetArcWires1A = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1A1[i - 13]), T.push(this.ToffsetWires1A1[i - 5]), this.ToffsetArcWires1A = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires1A1[i - 12]), e.push(this.ToffsetWires1A1[i - 4]), this.ToffsetArcWires1A = f(e, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1A1[i - 11]), c.push(this.ToffsetWires1A1[i - 3]), this.ToffsetArcWires1A = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires1A1[i - 10]), m.push(this.ToffsetWires1A1[i - 2]), this.ToffsetArcWires1A = f(m, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires1A1[i - 9]), b.push(this.ToffsetWires1A1[i - 1]), this.ToffsetArcWires1A = f(b, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 16 && (I.push(this.ToffsetWires1A2[i - 16]), I.push(this.ToffsetWires1A2[i - 8]), this.ToffsetArcWires2A = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1A2[i - 15]), P.push(this.ToffsetWires1A2[i - 7]), this.ToffsetArcWires2A = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1A2[i - 14]), g.push(this.ToffsetWires1A2[i - 6]), this.ToffsetArcWires2A = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1A2[i - 13]), y.push(this.ToffsetWires1A2[i - 5]), this.ToffsetArcWires2A = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1A2[i - 12]), _.push(this.ToffsetWires1A2[i - 4]), this.ToffsetArcWires2A = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1A2[i - 11]), v.push(this.ToffsetWires1A2[i - 3]), this.ToffsetArcWires2A = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), k.push(this.ToffsetWires1A2[i - 10]), k.push(this.ToffsetWires1A2[i - 2]), this.ToffsetArcWires2A = f(k, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires1A2[i - 9]), M.push(this.ToffsetWires1A2[i - 1]), this.ToffsetArcWires2A = f(M, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2249
+ case p.八分裂:
2250
+ this.ToffsetWires1A1.length >= 16 && (i.push(this.ToffsetWires1A1[t - 16]), i.push(this.ToffsetWires1A1[t - 8]), this.ToffsetArcWires1A = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1A1[t - 15]), l.push(this.ToffsetWires1A1[t - 7]), this.ToffsetArcWires1A = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1A1[t - 14]), u.push(this.ToffsetWires1A1[t - 6]), this.ToffsetArcWires1A = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires1A1[t - 13]), C.push(this.ToffsetWires1A1[t - 5]), this.ToffsetArcWires1A = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires1A1[t - 12]), o.push(this.ToffsetWires1A1[t - 4]), this.ToffsetArcWires1A = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1A1[t - 11]), c.push(this.ToffsetWires1A1[t - 3]), this.ToffsetArcWires1A = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires1A1[t - 10]), m.push(this.ToffsetWires1A1[t - 2]), this.ToffsetArcWires1A = f(m, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires1A1[t - 9]), b.push(this.ToffsetWires1A1[t - 1]), this.ToffsetArcWires1A = f(b, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 16 && (I.push(this.ToffsetWires1A2[t - 16]), I.push(this.ToffsetWires1A2[t - 8]), this.ToffsetArcWires2A = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1A2[t - 15]), P.push(this.ToffsetWires1A2[t - 7]), this.ToffsetArcWires2A = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1A2[t - 14]), g.push(this.ToffsetWires1A2[t - 6]), this.ToffsetArcWires2A = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1A2[t - 13]), y.push(this.ToffsetWires1A2[t - 5]), this.ToffsetArcWires2A = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1A2[t - 12]), _.push(this.ToffsetWires1A2[t - 4]), this.ToffsetArcWires2A = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1A2[t - 11]), v.push(this.ToffsetWires1A2[t - 3]), this.ToffsetArcWires2A = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), S.push(this.ToffsetWires1A2[t - 10]), S.push(this.ToffsetWires1A2[t - 2]), this.ToffsetArcWires2A = f(S, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires1A2[t - 9]), M.push(this.ToffsetWires1A2[t - 1]), this.ToffsetArcWires2A = f(M, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2186
2251
  break;
2187
2252
  }
2188
2253
  }
2189
2254
  if (this.ToffsetWires1B1.length > 1 && this.ToffsetWires1B2.length > 1) {
2190
- const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], _ = [], v = [], k = [], M = [];
2255
+ const i = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], _ = [], v = [], S = [], M = [];
2191
2256
  switch (this.LineInfo.Wairnum) {
2192
- case A.单分裂:
2193
- this.ToffsetWires1B1.length >= 2 && (t.push(this.ToffsetWires1B1[i - 2]), t.push(this.ToffsetWires1B1[i - 1]), this.ToffsetArcWires1B = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 2 && (I.push(this.ToffsetWires1B2[i - 2]), I.push(this.ToffsetWires1B2[i - 1]), this.ToffsetArcWires2B = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2257
+ case p.单分裂:
2258
+ this.ToffsetWires1B1.length >= 2 && (i.push(this.ToffsetWires1B1[t - 2]), i.push(this.ToffsetWires1B1[t - 1]), this.ToffsetArcWires1B = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 2 && (I.push(this.ToffsetWires1B2[t - 2]), I.push(this.ToffsetWires1B2[t - 1]), this.ToffsetArcWires2B = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2194
2259
  break;
2195
- case A.双分裂:
2196
- this.ToffsetWires1B1.length >= 4 && (t.push(this.ToffsetWires1B1[i - 4]), t.push(this.ToffsetWires1B1[i - 2]), this.ToffsetArcWires1B = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1B1[i - 3]), l.push(this.ToffsetWires1B1[i - 1]), this.ToffsetArcWires1B = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 4 && (I.push(this.ToffsetWires1B2[i - 4]), I.push(this.ToffsetWires1B2[i - 2]), this.ToffsetArcWires2B = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1B2[i - 3]), P.push(this.ToffsetWires1B2[i - 1]), this.ToffsetArcWires2B = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2260
+ case p.双分裂:
2261
+ this.ToffsetWires1B1.length >= 4 && (i.push(this.ToffsetWires1B1[t - 4]), i.push(this.ToffsetWires1B1[t - 2]), this.ToffsetArcWires1B = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1B1[t - 3]), l.push(this.ToffsetWires1B1[t - 1]), this.ToffsetArcWires1B = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 4 && (I.push(this.ToffsetWires1B2[t - 4]), I.push(this.ToffsetWires1B2[t - 2]), this.ToffsetArcWires2B = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1B2[t - 3]), P.push(this.ToffsetWires1B2[t - 1]), this.ToffsetArcWires2B = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2197
2262
  break;
2198
- case A.四分裂:
2199
- this.ToffsetWires1B1.length >= 8 && (t.push(this.ToffsetWires1B1[i - 8]), t.push(this.ToffsetWires1B1[i - 4]), this.ToffsetArcWires1B = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1B1[i - 7]), l.push(this.ToffsetWires1B1[i - 3]), this.ToffsetArcWires1B = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1B1[i - 6]), u.push(this.ToffsetWires1B1[i - 2]), this.ToffsetArcWires1B = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1B1[i - 5]), T.push(this.ToffsetWires1B1[i - 1]), this.ToffsetArcWires1B = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 8 && (I.push(this.ToffsetWires1B2[i - 8]), I.push(this.ToffsetWires1B2[i - 4]), this.ToffsetArcWires2B = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1B2[i - 7]), P.push(this.ToffsetWires1B2[i - 3]), this.ToffsetArcWires2B = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1B2[i - 6]), g.push(this.ToffsetWires1B2[i - 2]), this.ToffsetArcWires2B = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1B2[i - 5]), y.push(this.ToffsetWires1B2[i - 1]), this.ToffsetArcWires2B = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2263
+ case p.四分裂:
2264
+ this.ToffsetWires1B1.length >= 8 && (i.push(this.ToffsetWires1B1[t - 8]), i.push(this.ToffsetWires1B1[t - 4]), this.ToffsetArcWires1B = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1B1[t - 7]), l.push(this.ToffsetWires1B1[t - 3]), this.ToffsetArcWires1B = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1B1[t - 6]), u.push(this.ToffsetWires1B1[t - 2]), this.ToffsetArcWires1B = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires1B1[t - 5]), C.push(this.ToffsetWires1B1[t - 1]), this.ToffsetArcWires1B = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 8 && (I.push(this.ToffsetWires1B2[t - 8]), I.push(this.ToffsetWires1B2[t - 4]), this.ToffsetArcWires2B = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1B2[t - 7]), P.push(this.ToffsetWires1B2[t - 3]), this.ToffsetArcWires2B = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1B2[t - 6]), g.push(this.ToffsetWires1B2[t - 2]), this.ToffsetArcWires2B = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1B2[t - 5]), y.push(this.ToffsetWires1B2[t - 1]), this.ToffsetArcWires2B = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2200
2265
  break;
2201
- case A.六分裂:
2202
- this.ToffsetWires1B1.length >= 12 && (t.push(this.ToffsetWires1B1[i - 12]), t.push(this.ToffsetWires1B1[i - 6]), this.ToffsetArcWires1B = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1B1[i - 11]), l.push(this.ToffsetWires1B1[i - 5]), this.ToffsetArcWires1B = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1B1[i - 10]), u.push(this.ToffsetWires1B1[i - 4]), this.ToffsetArcWires1B = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1B1[i - 9]), T.push(this.ToffsetWires1B1[i - 3]), this.ToffsetArcWires1B = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires1B1[i - 8]), e.push(this.ToffsetWires1B1[i - 2]), this.ToffsetArcWires1B = f(e, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1B1[i - 7]), c.push(this.ToffsetWires1B1[i - 1]), this.ToffsetArcWires1B = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 12 && (I.push(this.ToffsetWires1B2[i - 12]), I.push(this.ToffsetWires1B2[i - 6]), this.ToffsetArcWires2B = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1B2[i - 11]), P.push(this.ToffsetWires1B2[i - 5]), this.ToffsetArcWires2B = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1B2[i - 10]), g.push(this.ToffsetWires1B2[i - 4]), this.ToffsetArcWires2B = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1B2[i - 9]), y.push(this.ToffsetWires1B2[i - 3]), this.ToffsetArcWires2B = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1B2[i - 8]), _.push(this.ToffsetWires1B2[i - 2]), this.ToffsetArcWires2B = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1B2[i - 7]), v.push(this.ToffsetWires1B2[i - 1]), this.ToffsetArcWires2B = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2266
+ case p.六分裂:
2267
+ this.ToffsetWires1B1.length >= 12 && (i.push(this.ToffsetWires1B1[t - 12]), i.push(this.ToffsetWires1B1[t - 6]), this.ToffsetArcWires1B = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1B1[t - 11]), l.push(this.ToffsetWires1B1[t - 5]), this.ToffsetArcWires1B = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1B1[t - 10]), u.push(this.ToffsetWires1B1[t - 4]), this.ToffsetArcWires1B = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires1B1[t - 9]), C.push(this.ToffsetWires1B1[t - 3]), this.ToffsetArcWires1B = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires1B1[t - 8]), o.push(this.ToffsetWires1B1[t - 2]), this.ToffsetArcWires1B = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1B1[t - 7]), c.push(this.ToffsetWires1B1[t - 1]), this.ToffsetArcWires1B = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 12 && (I.push(this.ToffsetWires1B2[t - 12]), I.push(this.ToffsetWires1B2[t - 6]), this.ToffsetArcWires2B = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1B2[t - 11]), P.push(this.ToffsetWires1B2[t - 5]), this.ToffsetArcWires2B = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1B2[t - 10]), g.push(this.ToffsetWires1B2[t - 4]), this.ToffsetArcWires2B = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1B2[t - 9]), y.push(this.ToffsetWires1B2[t - 3]), this.ToffsetArcWires2B = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1B2[t - 8]), _.push(this.ToffsetWires1B2[t - 2]), this.ToffsetArcWires2B = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1B2[t - 7]), v.push(this.ToffsetWires1B2[t - 1]), this.ToffsetArcWires2B = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2203
2268
  break;
2204
- case A.八分裂:
2205
- this.ToffsetWires1B1.length >= 16 && (t.push(this.ToffsetWires1B1[i - 16]), t.push(this.ToffsetWires1B1[i - 8]), this.ToffsetArcWires1B = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1B1[i - 15]), l.push(this.ToffsetWires1B1[i - 7]), this.ToffsetArcWires1B = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1B1[i - 14]), u.push(this.ToffsetWires1B1[i - 6]), this.ToffsetArcWires1B = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1B1[i - 13]), T.push(this.ToffsetWires1B1[i - 5]), this.ToffsetArcWires1B = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires1B1[i - 12]), e.push(this.ToffsetWires1B1[i - 4]), this.ToffsetArcWires1B = f(e, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1B1[i - 11]), c.push(this.ToffsetWires1B1[i - 3]), this.ToffsetArcWires1B = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires1B1[i - 10]), m.push(this.ToffsetWires1B1[i - 2]), this.ToffsetArcWires1B = f(m, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires1B1[i - 9]), b.push(this.ToffsetWires1B1[i - 1]), this.ToffsetArcWires1B = f(b, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 16 && (I.push(this.ToffsetWires1B2[i - 16]), I.push(this.ToffsetWires1B2[i - 8]), this.ToffsetArcWires2B = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1B2[i - 15]), P.push(this.ToffsetWires1B2[i - 7]), this.ToffsetArcWires2B = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1B2[i - 14]), g.push(this.ToffsetWires1B2[i - 6]), this.ToffsetArcWires2B = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1B2[i - 13]), y.push(this.ToffsetWires1B2[i - 5]), this.ToffsetArcWires2B = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1B2[i - 12]), _.push(this.ToffsetWires1B2[i - 4]), this.ToffsetArcWires2B = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1B2[i - 11]), v.push(this.ToffsetWires1B2[i - 3]), this.ToffsetArcWires2B = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), k.push(this.ToffsetWires1B2[i - 10]), k.push(this.ToffsetWires1B2[i - 2]), this.ToffsetArcWires2B = f(k, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires1B2[i - 9]), M.push(this.ToffsetWires1B2[i - 1]), this.ToffsetArcWires2B = f(M, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2269
+ case p.八分裂:
2270
+ this.ToffsetWires1B1.length >= 16 && (i.push(this.ToffsetWires1B1[t - 16]), i.push(this.ToffsetWires1B1[t - 8]), this.ToffsetArcWires1B = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1B1[t - 15]), l.push(this.ToffsetWires1B1[t - 7]), this.ToffsetArcWires1B = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1B1[t - 14]), u.push(this.ToffsetWires1B1[t - 6]), this.ToffsetArcWires1B = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires1B1[t - 13]), C.push(this.ToffsetWires1B1[t - 5]), this.ToffsetArcWires1B = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires1B1[t - 12]), o.push(this.ToffsetWires1B1[t - 4]), this.ToffsetArcWires1B = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1B1[t - 11]), c.push(this.ToffsetWires1B1[t - 3]), this.ToffsetArcWires1B = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires1B1[t - 10]), m.push(this.ToffsetWires1B1[t - 2]), this.ToffsetArcWires1B = f(m, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires1B1[t - 9]), b.push(this.ToffsetWires1B1[t - 1]), this.ToffsetArcWires1B = f(b, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 16 && (I.push(this.ToffsetWires1B2[t - 16]), I.push(this.ToffsetWires1B2[t - 8]), this.ToffsetArcWires2B = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1B2[t - 15]), P.push(this.ToffsetWires1B2[t - 7]), this.ToffsetArcWires2B = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1B2[t - 14]), g.push(this.ToffsetWires1B2[t - 6]), this.ToffsetArcWires2B = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1B2[t - 13]), y.push(this.ToffsetWires1B2[t - 5]), this.ToffsetArcWires2B = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1B2[t - 12]), _.push(this.ToffsetWires1B2[t - 4]), this.ToffsetArcWires2B = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1B2[t - 11]), v.push(this.ToffsetWires1B2[t - 3]), this.ToffsetArcWires2B = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), S.push(this.ToffsetWires1B2[t - 10]), S.push(this.ToffsetWires1B2[t - 2]), this.ToffsetArcWires2B = f(S, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires1B2[t - 9]), M.push(this.ToffsetWires1B2[t - 1]), this.ToffsetArcWires2B = f(M, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2206
2271
  break;
2207
2272
  }
2208
2273
  }
2209
2274
  if (this.ToffsetWires1C1.length > 1 && this.ToffsetWires1C2.length > 1) {
2210
- const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], _ = [], v = [], k = [], M = [];
2275
+ const i = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], _ = [], v = [], S = [], M = [];
2211
2276
  switch (this.LineInfo.Wairnum) {
2212
- case A.单分裂:
2213
- this.ToffsetWires1C1.length >= 2 && (t.push(this.ToffsetWires1C1[i - 2]), t.push(this.ToffsetWires1C1[i - 1]), this.ToffsetArcWires1C = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 2 && (I.push(this.ToffsetWires1C2[i - 2]), I.push(this.ToffsetWires1C2[i - 1]), this.ToffsetArcWires2C = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2277
+ case p.单分裂:
2278
+ this.ToffsetWires1C1.length >= 2 && (i.push(this.ToffsetWires1C1[t - 2]), i.push(this.ToffsetWires1C1[t - 1]), this.ToffsetArcWires1C = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 2 && (I.push(this.ToffsetWires1C2[t - 2]), I.push(this.ToffsetWires1C2[t - 1]), this.ToffsetArcWires2C = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2214
2279
  break;
2215
- case A.双分裂:
2216
- this.ToffsetWires1C1.length >= 4 && (t.push(this.ToffsetWires1C1[i - 4]), t.push(this.ToffsetWires1C1[i - 2]), this.ToffsetArcWires1C = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1C1[i - 3]), l.push(this.ToffsetWires1C1[i - 1]), this.ToffsetArcWires1C = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 4 && (I.push(this.ToffsetWires1C2[i - 4]), I.push(this.ToffsetWires1C2[i - 2]), this.ToffsetArcWires2C = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1C2[i - 3]), P.push(this.ToffsetWires1C2[i - 1]), this.ToffsetArcWires2C = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2280
+ case p.双分裂:
2281
+ this.ToffsetWires1C1.length >= 4 && (i.push(this.ToffsetWires1C1[t - 4]), i.push(this.ToffsetWires1C1[t - 2]), this.ToffsetArcWires1C = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1C1[t - 3]), l.push(this.ToffsetWires1C1[t - 1]), this.ToffsetArcWires1C = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 4 && (I.push(this.ToffsetWires1C2[t - 4]), I.push(this.ToffsetWires1C2[t - 2]), this.ToffsetArcWires2C = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1C2[t - 3]), P.push(this.ToffsetWires1C2[t - 1]), this.ToffsetArcWires2C = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2217
2282
  break;
2218
- case A.四分裂:
2219
- this.ToffsetWires1C1.length >= 8 && (t.push(this.ToffsetWires1C1[i - 8]), t.push(this.ToffsetWires1C1[i - 4]), this.ToffsetArcWires1C = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1C1[i - 7]), l.push(this.ToffsetWires1C1[i - 3]), this.ToffsetArcWires1C = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1C1[i - 6]), u.push(this.ToffsetWires1C1[i - 2]), this.ToffsetArcWires1C = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1C1[i - 5]), T.push(this.ToffsetWires1C1[i - 1]), this.ToffsetArcWires1C = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 8 && (I.push(this.ToffsetWires1C2[i - 8]), I.push(this.ToffsetWires1C2[i - 4]), this.ToffsetArcWires2C = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1C2[i - 7]), P.push(this.ToffsetWires1C2[i - 3]), this.ToffsetArcWires2C = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1C2[i - 6]), g.push(this.ToffsetWires1C2[i - 2]), this.ToffsetArcWires2C = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1C2[i - 5]), y.push(this.ToffsetWires1C2[i - 1]), this.ToffsetArcWires2C = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2283
+ case p.四分裂:
2284
+ this.ToffsetWires1C1.length >= 8 && (i.push(this.ToffsetWires1C1[t - 8]), i.push(this.ToffsetWires1C1[t - 4]), this.ToffsetArcWires1C = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1C1[t - 7]), l.push(this.ToffsetWires1C1[t - 3]), this.ToffsetArcWires1C = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1C1[t - 6]), u.push(this.ToffsetWires1C1[t - 2]), this.ToffsetArcWires1C = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires1C1[t - 5]), C.push(this.ToffsetWires1C1[t - 1]), this.ToffsetArcWires1C = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 8 && (I.push(this.ToffsetWires1C2[t - 8]), I.push(this.ToffsetWires1C2[t - 4]), this.ToffsetArcWires2C = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1C2[t - 7]), P.push(this.ToffsetWires1C2[t - 3]), this.ToffsetArcWires2C = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1C2[t - 6]), g.push(this.ToffsetWires1C2[t - 2]), this.ToffsetArcWires2C = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1C2[t - 5]), y.push(this.ToffsetWires1C2[t - 1]), this.ToffsetArcWires2C = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2220
2285
  break;
2221
- case A.六分裂:
2222
- this.ToffsetWires1C1.length >= 12 && (t.push(this.ToffsetWires1C1[i - 12]), t.push(this.ToffsetWires1C1[i - 6]), this.ToffsetArcWires1C = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1C1[i - 11]), l.push(this.ToffsetWires1C1[i - 5]), this.ToffsetArcWires1C = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1C1[i - 10]), u.push(this.ToffsetWires1C1[i - 4]), this.ToffsetArcWires1C = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1C1[i - 9]), T.push(this.ToffsetWires1C1[i - 3]), this.ToffsetArcWires1C = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires1C1[i - 8]), e.push(this.ToffsetWires1C1[i - 2]), this.ToffsetArcWires1C = f(e, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1C1[i - 7]), c.push(this.ToffsetWires1C1[i - 1]), this.ToffsetArcWires1C = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 12 && (I.push(this.ToffsetWires1C2[i - 12]), I.push(this.ToffsetWires1C2[i - 6]), this.ToffsetArcWires2C = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1C2[i - 11]), P.push(this.ToffsetWires1C2[i - 5]), this.ToffsetArcWires2C = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1C2[i - 10]), g.push(this.ToffsetWires1C2[i - 4]), this.ToffsetArcWires2C = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1C2[i - 9]), y.push(this.ToffsetWires1C2[i - 3]), this.ToffsetArcWires2C = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1C2[i - 8]), _.push(this.ToffsetWires1C2[i - 2]), this.ToffsetArcWires2C = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1C2[i - 7]), v.push(this.ToffsetWires1C2[i - 1]), this.ToffsetArcWires2C = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2286
+ case p.六分裂:
2287
+ this.ToffsetWires1C1.length >= 12 && (i.push(this.ToffsetWires1C1[t - 12]), i.push(this.ToffsetWires1C1[t - 6]), this.ToffsetArcWires1C = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1C1[t - 11]), l.push(this.ToffsetWires1C1[t - 5]), this.ToffsetArcWires1C = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1C1[t - 10]), u.push(this.ToffsetWires1C1[t - 4]), this.ToffsetArcWires1C = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires1C1[t - 9]), C.push(this.ToffsetWires1C1[t - 3]), this.ToffsetArcWires1C = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires1C1[t - 8]), o.push(this.ToffsetWires1C1[t - 2]), this.ToffsetArcWires1C = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1C1[t - 7]), c.push(this.ToffsetWires1C1[t - 1]), this.ToffsetArcWires1C = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 12 && (I.push(this.ToffsetWires1C2[t - 12]), I.push(this.ToffsetWires1C2[t - 6]), this.ToffsetArcWires2C = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1C2[t - 11]), P.push(this.ToffsetWires1C2[t - 5]), this.ToffsetArcWires2C = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1C2[t - 10]), g.push(this.ToffsetWires1C2[t - 4]), this.ToffsetArcWires2C = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1C2[t - 9]), y.push(this.ToffsetWires1C2[t - 3]), this.ToffsetArcWires2C = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1C2[t - 8]), _.push(this.ToffsetWires1C2[t - 2]), this.ToffsetArcWires2C = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1C2[t - 7]), v.push(this.ToffsetWires1C2[t - 1]), this.ToffsetArcWires2C = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2223
2288
  break;
2224
- case A.八分裂:
2225
- this.ToffsetWires1C1.length >= 16 && (t.push(this.ToffsetWires1C1[i - 16]), t.push(this.ToffsetWires1C1[i - 8]), this.ToffsetArcWires1C = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1C1[i - 15]), l.push(this.ToffsetWires1C1[i - 7]), this.ToffsetArcWires1C = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1C1[i - 14]), u.push(this.ToffsetWires1C1[i - 6]), this.ToffsetArcWires1C = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1C1[i - 13]), T.push(this.ToffsetWires1C1[i - 5]), this.ToffsetArcWires1C = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires1C1[i - 12]), e.push(this.ToffsetWires1C1[i - 4]), this.ToffsetArcWires1C = f(e, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1C1[i - 11]), c.push(this.ToffsetWires1C1[i - 3]), this.ToffsetArcWires1C = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires1C1[i - 10]), m.push(this.ToffsetWires1C1[i - 2]), this.ToffsetArcWires1C = f(m, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires1C1[i - 9]), b.push(this.ToffsetWires1C1[i - 1]), this.ToffsetArcWires1C = f(b, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 16 && (I.push(this.ToffsetWires1C2[i - 16]), I.push(this.ToffsetWires1C2[i - 8]), this.ToffsetArcWires2C = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1C2[i - 15]), P.push(this.ToffsetWires1C2[i - 7]), this.ToffsetArcWires2C = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1C2[i - 14]), g.push(this.ToffsetWires1C2[i - 6]), this.ToffsetArcWires2C = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1C2[i - 13]), y.push(this.ToffsetWires1C2[i - 5]), this.ToffsetArcWires2C = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1C2[i - 12]), _.push(this.ToffsetWires1C2[i - 4]), this.ToffsetArcWires2C = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1C2[i - 11]), v.push(this.ToffsetWires1C2[i - 3]), this.ToffsetArcWires2C = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), k.push(this.ToffsetWires1C2[i - 10]), k.push(this.ToffsetWires1C2[i - 2]), this.ToffsetArcWires2C = f(k, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires1C2[i - 9]), M.push(this.ToffsetWires1C2[i - 1]), this.ToffsetArcWires2C = f(M, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2289
+ case p.八分裂:
2290
+ this.ToffsetWires1C1.length >= 16 && (i.push(this.ToffsetWires1C1[t - 16]), i.push(this.ToffsetWires1C1[t - 8]), this.ToffsetArcWires1C = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1C1[t - 15]), l.push(this.ToffsetWires1C1[t - 7]), this.ToffsetArcWires1C = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1C1[t - 14]), u.push(this.ToffsetWires1C1[t - 6]), this.ToffsetArcWires1C = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires1C1[t - 13]), C.push(this.ToffsetWires1C1[t - 5]), this.ToffsetArcWires1C = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires1C1[t - 12]), o.push(this.ToffsetWires1C1[t - 4]), this.ToffsetArcWires1C = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1C1[t - 11]), c.push(this.ToffsetWires1C1[t - 3]), this.ToffsetArcWires1C = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires1C1[t - 10]), m.push(this.ToffsetWires1C1[t - 2]), this.ToffsetArcWires1C = f(m, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires1C1[t - 9]), b.push(this.ToffsetWires1C1[t - 1]), this.ToffsetArcWires1C = f(b, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 16 && (I.push(this.ToffsetWires1C2[t - 16]), I.push(this.ToffsetWires1C2[t - 8]), this.ToffsetArcWires2C = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1C2[t - 15]), P.push(this.ToffsetWires1C2[t - 7]), this.ToffsetArcWires2C = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1C2[t - 14]), g.push(this.ToffsetWires1C2[t - 6]), this.ToffsetArcWires2C = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1C2[t - 13]), y.push(this.ToffsetWires1C2[t - 5]), this.ToffsetArcWires2C = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1C2[t - 12]), _.push(this.ToffsetWires1C2[t - 4]), this.ToffsetArcWires2C = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1C2[t - 11]), v.push(this.ToffsetWires1C2[t - 3]), this.ToffsetArcWires2C = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), S.push(this.ToffsetWires1C2[t - 10]), S.push(this.ToffsetWires1C2[t - 2]), this.ToffsetArcWires2C = f(S, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires1C2[t - 9]), M.push(this.ToffsetWires1C2[t - 1]), this.ToffsetArcWires2C = f(M, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2226
2291
  break;
2227
2292
  }
2228
2293
  }
2229
2294
  if (this.ToffsetWires2A1.length > 1 && this.ToffsetWires2A2.length > 1) {
2230
- const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], _ = [], v = [], k = [], M = [];
2295
+ const i = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], _ = [], v = [], S = [], M = [];
2231
2296
  switch (this.LineInfo.Wairnum) {
2232
- case A.单分裂:
2233
- this.ToffsetWires2A1.length >= 2 && (t.push(this.ToffsetWires2A1[i - 2]), t.push(this.ToffsetWires2A1[i - 1]), this.ToffsetArcWires1A2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 2 && (I.push(this.ToffsetWires2A2[i - 2]), I.push(this.ToffsetWires2A2[i - 1]), this.ToffsetArcWires2A2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2297
+ case p.单分裂:
2298
+ this.ToffsetWires2A1.length >= 2 && (i.push(this.ToffsetWires2A1[t - 2]), i.push(this.ToffsetWires2A1[t - 1]), this.ToffsetArcWires1A2 = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 2 && (I.push(this.ToffsetWires2A2[t - 2]), I.push(this.ToffsetWires2A2[t - 1]), this.ToffsetArcWires2A2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2234
2299
  break;
2235
- case A.双分裂:
2236
- this.ToffsetWires2A1.length >= 4 && (t.push(this.ToffsetWires2A1[i - 4]), t.push(this.ToffsetWires2A1[i - 2]), this.ToffsetArcWires1A2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2A1[i - 3]), l.push(this.ToffsetWires2A1[i - 1]), this.ToffsetArcWires1A2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 4 && (I.push(this.ToffsetWires2A2[i - 4]), I.push(this.ToffsetWires2A2[i - 2]), this.ToffsetArcWires2A2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2A2[i - 3]), P.push(this.ToffsetWires2A2[i - 1]), this.ToffsetArcWires2A2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2300
+ case p.双分裂:
2301
+ this.ToffsetWires2A1.length >= 4 && (i.push(this.ToffsetWires2A1[t - 4]), i.push(this.ToffsetWires2A1[t - 2]), this.ToffsetArcWires1A2 = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2A1[t - 3]), l.push(this.ToffsetWires2A1[t - 1]), this.ToffsetArcWires1A2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 4 && (I.push(this.ToffsetWires2A2[t - 4]), I.push(this.ToffsetWires2A2[t - 2]), this.ToffsetArcWires2A2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2A2[t - 3]), P.push(this.ToffsetWires2A2[t - 1]), this.ToffsetArcWires2A2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2237
2302
  break;
2238
- case A.四分裂:
2239
- this.ToffsetWires2A1.length >= 8 && (t.push(this.ToffsetWires2A1[i - 8]), t.push(this.ToffsetWires2A1[i - 4]), this.ToffsetArcWires1A2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2A1[i - 7]), l.push(this.ToffsetWires2A1[i - 3]), this.ToffsetArcWires1A2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2A1[i - 6]), u.push(this.ToffsetWires2A1[i - 2]), this.ToffsetArcWires1A2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2A1[i - 5]), T.push(this.ToffsetWires2A1[i - 1]), this.ToffsetArcWires1A2 = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 8 && (I.push(this.ToffsetWires2A2[i - 8]), I.push(this.ToffsetWires2A2[i - 4]), this.ToffsetArcWires2A2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2A2[i - 7]), P.push(this.ToffsetWires2A2[i - 3]), this.ToffsetArcWires2A2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2A2[i - 6]), g.push(this.ToffsetWires2A2[i - 2]), this.ToffsetArcWires2A2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2A2[i - 5]), y.push(this.ToffsetWires2A2[i - 1]), this.ToffsetArcWires2A2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2303
+ case p.四分裂:
2304
+ this.ToffsetWires2A1.length >= 8 && (i.push(this.ToffsetWires2A1[t - 8]), i.push(this.ToffsetWires2A1[t - 4]), this.ToffsetArcWires1A2 = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2A1[t - 7]), l.push(this.ToffsetWires2A1[t - 3]), this.ToffsetArcWires1A2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2A1[t - 6]), u.push(this.ToffsetWires2A1[t - 2]), this.ToffsetArcWires1A2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires2A1[t - 5]), C.push(this.ToffsetWires2A1[t - 1]), this.ToffsetArcWires1A2 = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 8 && (I.push(this.ToffsetWires2A2[t - 8]), I.push(this.ToffsetWires2A2[t - 4]), this.ToffsetArcWires2A2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2A2[t - 7]), P.push(this.ToffsetWires2A2[t - 3]), this.ToffsetArcWires2A2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2A2[t - 6]), g.push(this.ToffsetWires2A2[t - 2]), this.ToffsetArcWires2A2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2A2[t - 5]), y.push(this.ToffsetWires2A2[t - 1]), this.ToffsetArcWires2A2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2240
2305
  break;
2241
- case A.六分裂:
2242
- this.ToffsetWires2A1.length >= 12 && (t.push(this.ToffsetWires2A1[i - 12]), t.push(this.ToffsetWires2A1[i - 6]), this.ToffsetArcWires1A2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2A1[i - 11]), l.push(this.ToffsetWires2A1[i - 5]), this.ToffsetArcWires1A2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2A1[i - 10]), u.push(this.ToffsetWires2A1[i - 4]), this.ToffsetArcWires1A2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2A1[i - 9]), T.push(this.ToffsetWires2A1[i - 3]), this.ToffsetArcWires1A2 = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires2A1[i - 8]), e.push(this.ToffsetWires2A1[i - 2]), this.ToffsetArcWires1A2 = f(e, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2A1[i - 7]), c.push(this.ToffsetWires2A1[i - 1]), this.ToffsetArcWires1A2 = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 12 && (I.push(this.ToffsetWires2A2[i - 12]), I.push(this.ToffsetWires2A2[i - 6]), this.ToffsetArcWires2A2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2A2[i - 11]), P.push(this.ToffsetWires2A2[i - 5]), this.ToffsetArcWires2A2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2A2[i - 10]), g.push(this.ToffsetWires2A2[i - 4]), this.ToffsetArcWires2A2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2A2[i - 9]), y.push(this.ToffsetWires2A2[i - 3]), this.ToffsetArcWires2A2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2A2[i - 8]), _.push(this.ToffsetWires2A2[i - 2]), this.ToffsetArcWires2A2 = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2A2[i - 7]), v.push(this.ToffsetWires2A2[i - 1]), this.ToffsetArcWires2A2 = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2306
+ case p.六分裂:
2307
+ this.ToffsetWires2A1.length >= 12 && (i.push(this.ToffsetWires2A1[t - 12]), i.push(this.ToffsetWires2A1[t - 6]), this.ToffsetArcWires1A2 = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2A1[t - 11]), l.push(this.ToffsetWires2A1[t - 5]), this.ToffsetArcWires1A2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2A1[t - 10]), u.push(this.ToffsetWires2A1[t - 4]), this.ToffsetArcWires1A2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires2A1[t - 9]), C.push(this.ToffsetWires2A1[t - 3]), this.ToffsetArcWires1A2 = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires2A1[t - 8]), o.push(this.ToffsetWires2A1[t - 2]), this.ToffsetArcWires1A2 = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2A1[t - 7]), c.push(this.ToffsetWires2A1[t - 1]), this.ToffsetArcWires1A2 = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 12 && (I.push(this.ToffsetWires2A2[t - 12]), I.push(this.ToffsetWires2A2[t - 6]), this.ToffsetArcWires2A2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2A2[t - 11]), P.push(this.ToffsetWires2A2[t - 5]), this.ToffsetArcWires2A2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2A2[t - 10]), g.push(this.ToffsetWires2A2[t - 4]), this.ToffsetArcWires2A2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2A2[t - 9]), y.push(this.ToffsetWires2A2[t - 3]), this.ToffsetArcWires2A2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2A2[t - 8]), _.push(this.ToffsetWires2A2[t - 2]), this.ToffsetArcWires2A2 = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2A2[t - 7]), v.push(this.ToffsetWires2A2[t - 1]), this.ToffsetArcWires2A2 = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2243
2308
  break;
2244
- case A.八分裂:
2245
- this.ToffsetWires2A1.length >= 16 && (t.push(this.ToffsetWires2A1[i - 16]), t.push(this.ToffsetWires2A1[i - 8]), this.ToffsetArcWires1A2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2A1[i - 15]), l.push(this.ToffsetWires2A1[i - 7]), this.ToffsetArcWires1A2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2A1[i - 14]), u.push(this.ToffsetWires2A1[i - 6]), this.ToffsetArcWires1A2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2A1[i - 13]), T.push(this.ToffsetWires2A1[i - 5]), this.ToffsetArcWires1A2 = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires2A1[i - 12]), e.push(this.ToffsetWires2A1[i - 4]), this.ToffsetArcWires1A2 = f(e, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2A1[i - 11]), c.push(this.ToffsetWires2A1[i - 3]), this.ToffsetArcWires1A2 = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires2A1[i - 10]), m.push(this.ToffsetWires2A1[i - 2]), this.ToffsetArcWires1A2 = f(m, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires2A1[i - 9]), b.push(this.ToffsetWires2A1[i - 1]), this.ToffsetArcWires1A2 = f(b, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 16 && (I.push(this.ToffsetWires2A2[i - 16]), I.push(this.ToffsetWires2A2[i - 8]), this.ToffsetArcWires2A2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2A2[i - 15]), P.push(this.ToffsetWires2A2[i - 7]), this.ToffsetArcWires2A2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2A2[i - 14]), g.push(this.ToffsetWires2A2[i - 6]), this.ToffsetArcWires2A2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2A2[i - 13]), y.push(this.ToffsetWires2A2[i - 5]), this.ToffsetArcWires2A2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2A2[i - 12]), _.push(this.ToffsetWires2A2[i - 4]), this.ToffsetArcWires2A2 = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2A2[i - 11]), v.push(this.ToffsetWires2A2[i - 3]), this.ToffsetArcWires2A2 = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), k.push(this.ToffsetWires2A2[i - 10]), k.push(this.ToffsetWires2A2[i - 2]), this.ToffsetArcWires2A2 = f(k, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires2A2[i - 9]), M.push(this.ToffsetWires2A2[i - 1]), this.ToffsetArcWires2A2 = f(M, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2309
+ case p.八分裂:
2310
+ this.ToffsetWires2A1.length >= 16 && (i.push(this.ToffsetWires2A1[t - 16]), i.push(this.ToffsetWires2A1[t - 8]), this.ToffsetArcWires1A2 = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2A1[t - 15]), l.push(this.ToffsetWires2A1[t - 7]), this.ToffsetArcWires1A2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2A1[t - 14]), u.push(this.ToffsetWires2A1[t - 6]), this.ToffsetArcWires1A2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires2A1[t - 13]), C.push(this.ToffsetWires2A1[t - 5]), this.ToffsetArcWires1A2 = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires2A1[t - 12]), o.push(this.ToffsetWires2A1[t - 4]), this.ToffsetArcWires1A2 = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2A1[t - 11]), c.push(this.ToffsetWires2A1[t - 3]), this.ToffsetArcWires1A2 = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires2A1[t - 10]), m.push(this.ToffsetWires2A1[t - 2]), this.ToffsetArcWires1A2 = f(m, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires2A1[t - 9]), b.push(this.ToffsetWires2A1[t - 1]), this.ToffsetArcWires1A2 = f(b, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 16 && (I.push(this.ToffsetWires2A2[t - 16]), I.push(this.ToffsetWires2A2[t - 8]), this.ToffsetArcWires2A2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2A2[t - 15]), P.push(this.ToffsetWires2A2[t - 7]), this.ToffsetArcWires2A2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2A2[t - 14]), g.push(this.ToffsetWires2A2[t - 6]), this.ToffsetArcWires2A2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2A2[t - 13]), y.push(this.ToffsetWires2A2[t - 5]), this.ToffsetArcWires2A2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2A2[t - 12]), _.push(this.ToffsetWires2A2[t - 4]), this.ToffsetArcWires2A2 = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2A2[t - 11]), v.push(this.ToffsetWires2A2[t - 3]), this.ToffsetArcWires2A2 = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), S.push(this.ToffsetWires2A2[t - 10]), S.push(this.ToffsetWires2A2[t - 2]), this.ToffsetArcWires2A2 = f(S, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires2A2[t - 9]), M.push(this.ToffsetWires2A2[t - 1]), this.ToffsetArcWires2A2 = f(M, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2246
2311
  break;
2247
2312
  }
2248
2313
  }
2249
2314
  if (this.ToffsetWires2B1.length > 1 && this.ToffsetWires2B2.length > 1) {
2250
- const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], _ = [], v = [], k = [], M = [];
2315
+ const i = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], _ = [], v = [], S = [], M = [];
2251
2316
  switch (this.LineInfo.Wairnum) {
2252
- case A.单分裂:
2253
- this.ToffsetWires2B1.length >= 2 && (t.push(this.ToffsetWires2B1[i - 2]), t.push(this.ToffsetWires2B1[i - 1]), this.ToffsetArcWires1B2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 2 && (I.push(this.ToffsetWires2B2[i - 2]), I.push(this.ToffsetWires2B2[i - 1]), this.ToffsetArcWires2B2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2317
+ case p.单分裂:
2318
+ this.ToffsetWires2B1.length >= 2 && (i.push(this.ToffsetWires2B1[t - 2]), i.push(this.ToffsetWires2B1[t - 1]), this.ToffsetArcWires1B2 = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 2 && (I.push(this.ToffsetWires2B2[t - 2]), I.push(this.ToffsetWires2B2[t - 1]), this.ToffsetArcWires2B2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2254
2319
  break;
2255
- case A.双分裂:
2256
- this.ToffsetWires2B1.length >= 4 && (t.push(this.ToffsetWires2B1[i - 4]), t.push(this.ToffsetWires2B1[i - 2]), this.ToffsetArcWires1B2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2B1[i - 3]), l.push(this.ToffsetWires2B1[i - 1]), this.ToffsetArcWires1B2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 4 && (I.push(this.ToffsetWires2B2[i - 4]), I.push(this.ToffsetWires2B2[i - 2]), this.ToffsetArcWires2B2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2B2[i - 3]), P.push(this.ToffsetWires2B2[i - 1]), this.ToffsetArcWires2B2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2320
+ case p.双分裂:
2321
+ this.ToffsetWires2B1.length >= 4 && (i.push(this.ToffsetWires2B1[t - 4]), i.push(this.ToffsetWires2B1[t - 2]), this.ToffsetArcWires1B2 = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2B1[t - 3]), l.push(this.ToffsetWires2B1[t - 1]), this.ToffsetArcWires1B2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 4 && (I.push(this.ToffsetWires2B2[t - 4]), I.push(this.ToffsetWires2B2[t - 2]), this.ToffsetArcWires2B2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2B2[t - 3]), P.push(this.ToffsetWires2B2[t - 1]), this.ToffsetArcWires2B2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2257
2322
  break;
2258
- case A.四分裂:
2259
- this.ToffsetWires2B1.length >= 8 && (t.push(this.ToffsetWires2B1[i - 8]), t.push(this.ToffsetWires2B1[i - 4]), this.ToffsetArcWires1B2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2B1[i - 7]), l.push(this.ToffsetWires2B1[i - 3]), this.ToffsetArcWires1B2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2B1[i - 6]), u.push(this.ToffsetWires2B1[i - 2]), this.ToffsetArcWires1B2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2B1[i - 5]), T.push(this.ToffsetWires2B1[i - 1]), this.ToffsetArcWires1B2 = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 8 && (I.push(this.ToffsetWires2B2[i - 8]), I.push(this.ToffsetWires2B2[i - 4]), this.ToffsetArcWires2B2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2B2[i - 7]), P.push(this.ToffsetWires2B2[i - 3]), this.ToffsetArcWires2B2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2B2[i - 6]), g.push(this.ToffsetWires2B2[i - 2]), this.ToffsetArcWires2B2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2B2[i - 5]), y.push(this.ToffsetWires2B2[i - 1]), this.ToffsetArcWires2B2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2323
+ case p.四分裂:
2324
+ this.ToffsetWires2B1.length >= 8 && (i.push(this.ToffsetWires2B1[t - 8]), i.push(this.ToffsetWires2B1[t - 4]), this.ToffsetArcWires1B2 = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2B1[t - 7]), l.push(this.ToffsetWires2B1[t - 3]), this.ToffsetArcWires1B2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2B1[t - 6]), u.push(this.ToffsetWires2B1[t - 2]), this.ToffsetArcWires1B2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires2B1[t - 5]), C.push(this.ToffsetWires2B1[t - 1]), this.ToffsetArcWires1B2 = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 8 && (I.push(this.ToffsetWires2B2[t - 8]), I.push(this.ToffsetWires2B2[t - 4]), this.ToffsetArcWires2B2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2B2[t - 7]), P.push(this.ToffsetWires2B2[t - 3]), this.ToffsetArcWires2B2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2B2[t - 6]), g.push(this.ToffsetWires2B2[t - 2]), this.ToffsetArcWires2B2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2B2[t - 5]), y.push(this.ToffsetWires2B2[t - 1]), this.ToffsetArcWires2B2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2260
2325
  break;
2261
- case A.六分裂:
2262
- this.ToffsetWires2B1.length >= 12 && (t.push(this.ToffsetWires2B1[i - 12]), t.push(this.ToffsetWires2B1[i - 6]), this.ToffsetArcWires1B2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2B1[i - 11]), l.push(this.ToffsetWires2B1[i - 5]), this.ToffsetArcWires1B2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2B1[i - 10]), u.push(this.ToffsetWires2B1[i - 4]), this.ToffsetArcWires1B2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2B1[i - 9]), T.push(this.ToffsetWires2B1[i - 3]), this.ToffsetArcWires1B2 = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires2B1[i - 8]), e.push(this.ToffsetWires2B1[i - 2]), this.ToffsetArcWires1B2 = f(e, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2B1[i - 7]), c.push(this.ToffsetWires2B1[i - 1]), this.ToffsetArcWires1B2 = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 12 && (I.push(this.ToffsetWires2B2[i - 12]), I.push(this.ToffsetWires2B2[i - 6]), this.ToffsetArcWires2B2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2B2[i - 11]), P.push(this.ToffsetWires2B2[i - 5]), this.ToffsetArcWires2B2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2B2[i - 10]), g.push(this.ToffsetWires2B2[i - 4]), this.ToffsetArcWires2B2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2B2[i - 9]), y.push(this.ToffsetWires2B2[i - 3]), this.ToffsetArcWires2B2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2B2[i - 8]), _.push(this.ToffsetWires2B2[i - 2]), this.ToffsetArcWires2B2 = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2B2[i - 7]), v.push(this.ToffsetWires2B2[i - 1]), this.ToffsetArcWires2B2 = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2326
+ case p.六分裂:
2327
+ this.ToffsetWires2B1.length >= 12 && (i.push(this.ToffsetWires2B1[t - 12]), i.push(this.ToffsetWires2B1[t - 6]), this.ToffsetArcWires1B2 = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2B1[t - 11]), l.push(this.ToffsetWires2B1[t - 5]), this.ToffsetArcWires1B2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2B1[t - 10]), u.push(this.ToffsetWires2B1[t - 4]), this.ToffsetArcWires1B2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires2B1[t - 9]), C.push(this.ToffsetWires2B1[t - 3]), this.ToffsetArcWires1B2 = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires2B1[t - 8]), o.push(this.ToffsetWires2B1[t - 2]), this.ToffsetArcWires1B2 = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2B1[t - 7]), c.push(this.ToffsetWires2B1[t - 1]), this.ToffsetArcWires1B2 = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 12 && (I.push(this.ToffsetWires2B2[t - 12]), I.push(this.ToffsetWires2B2[t - 6]), this.ToffsetArcWires2B2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2B2[t - 11]), P.push(this.ToffsetWires2B2[t - 5]), this.ToffsetArcWires2B2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2B2[t - 10]), g.push(this.ToffsetWires2B2[t - 4]), this.ToffsetArcWires2B2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2B2[t - 9]), y.push(this.ToffsetWires2B2[t - 3]), this.ToffsetArcWires2B2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2B2[t - 8]), _.push(this.ToffsetWires2B2[t - 2]), this.ToffsetArcWires2B2 = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2B2[t - 7]), v.push(this.ToffsetWires2B2[t - 1]), this.ToffsetArcWires2B2 = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2263
2328
  break;
2264
- case A.八分裂:
2265
- this.ToffsetWires2B1.length >= 16 && (t.push(this.ToffsetWires2B1[i - 16]), t.push(this.ToffsetWires2B1[i - 8]), this.ToffsetArcWires1B2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2B1[i - 15]), l.push(this.ToffsetWires2B1[i - 7]), this.ToffsetArcWires1B2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2B1[i - 14]), u.push(this.ToffsetWires2B1[i - 6]), this.ToffsetArcWires1B2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2B1[i - 13]), T.push(this.ToffsetWires2B1[i - 5]), this.ToffsetArcWires1B2 = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires2B1[i - 12]), e.push(this.ToffsetWires2B1[i - 4]), this.ToffsetArcWires1B2 = f(e, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2B1[i - 11]), c.push(this.ToffsetWires2B1[i - 3]), this.ToffsetArcWires1B2 = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires2B1[i - 10]), m.push(this.ToffsetWires2B1[i - 2]), this.ToffsetArcWires1B2 = f(m, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires2B1[i - 9]), b.push(this.ToffsetWires2B1[i - 1]), this.ToffsetArcWires1B2 = f(b, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 16 && (I.push(this.ToffsetWires2B2[i - 16]), I.push(this.ToffsetWires2B2[i - 8]), this.ToffsetArcWires2B2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2B2[i - 15]), P.push(this.ToffsetWires2B2[i - 7]), this.ToffsetArcWires2B2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2B2[i - 14]), g.push(this.ToffsetWires2B2[i - 6]), this.ToffsetArcWires2B2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2B2[i - 13]), y.push(this.ToffsetWires2B2[i - 5]), this.ToffsetArcWires2B2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2B2[i - 12]), _.push(this.ToffsetWires2B2[i - 4]), this.ToffsetArcWires2B2 = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2B2[i - 11]), v.push(this.ToffsetWires2B2[i - 3]), this.ToffsetArcWires2B2 = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), k.push(this.ToffsetWires2B2[i - 10]), k.push(this.ToffsetWires2B2[i - 2]), this.ToffsetArcWires2B2 = f(k, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires2B2[i - 9]), M.push(this.ToffsetWires2B2[i - 1]), this.ToffsetArcWires2B2 = f(M, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2329
+ case p.八分裂:
2330
+ this.ToffsetWires2B1.length >= 16 && (i.push(this.ToffsetWires2B1[t - 16]), i.push(this.ToffsetWires2B1[t - 8]), this.ToffsetArcWires1B2 = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2B1[t - 15]), l.push(this.ToffsetWires2B1[t - 7]), this.ToffsetArcWires1B2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2B1[t - 14]), u.push(this.ToffsetWires2B1[t - 6]), this.ToffsetArcWires1B2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires2B1[t - 13]), C.push(this.ToffsetWires2B1[t - 5]), this.ToffsetArcWires1B2 = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires2B1[t - 12]), o.push(this.ToffsetWires2B1[t - 4]), this.ToffsetArcWires1B2 = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2B1[t - 11]), c.push(this.ToffsetWires2B1[t - 3]), this.ToffsetArcWires1B2 = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires2B1[t - 10]), m.push(this.ToffsetWires2B1[t - 2]), this.ToffsetArcWires1B2 = f(m, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires2B1[t - 9]), b.push(this.ToffsetWires2B1[t - 1]), this.ToffsetArcWires1B2 = f(b, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 16 && (I.push(this.ToffsetWires2B2[t - 16]), I.push(this.ToffsetWires2B2[t - 8]), this.ToffsetArcWires2B2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2B2[t - 15]), P.push(this.ToffsetWires2B2[t - 7]), this.ToffsetArcWires2B2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2B2[t - 14]), g.push(this.ToffsetWires2B2[t - 6]), this.ToffsetArcWires2B2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2B2[t - 13]), y.push(this.ToffsetWires2B2[t - 5]), this.ToffsetArcWires2B2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2B2[t - 12]), _.push(this.ToffsetWires2B2[t - 4]), this.ToffsetArcWires2B2 = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2B2[t - 11]), v.push(this.ToffsetWires2B2[t - 3]), this.ToffsetArcWires2B2 = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), S.push(this.ToffsetWires2B2[t - 10]), S.push(this.ToffsetWires2B2[t - 2]), this.ToffsetArcWires2B2 = f(S, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires2B2[t - 9]), M.push(this.ToffsetWires2B2[t - 1]), this.ToffsetArcWires2B2 = f(M, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2266
2331
  break;
2267
2332
  }
2268
2333
  }
2269
2334
  if (this.ToffsetWires2C1.length > 1 && this.ToffsetWires2C2.length > 1) {
2270
- const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], _ = [], v = [], k = [], M = [];
2335
+ const i = [], l = [], u = [], C = [], o = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], _ = [], v = [], S = [], M = [];
2271
2336
  switch (this.LineInfo.Wairnum) {
2272
- case A.单分裂:
2273
- this.ToffsetWires2C1.length >= 2 && (t.push(this.ToffsetWires2C1[i - 2]), t.push(this.ToffsetWires2C1[i - 1]), this.ToffsetArcWires1C2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 2 && (I.push(this.ToffsetWires2C2[i - 2]), I.push(this.ToffsetWires2C2[i - 1]), this.ToffsetArcWires2C2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2337
+ case p.单分裂:
2338
+ this.ToffsetWires2C1.length >= 2 && (i.push(this.ToffsetWires2C1[t - 2]), i.push(this.ToffsetWires2C1[t - 1]), this.ToffsetArcWires1C2 = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 2 && (I.push(this.ToffsetWires2C2[t - 2]), I.push(this.ToffsetWires2C2[t - 1]), this.ToffsetArcWires2C2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2274
2339
  break;
2275
- case A.双分裂:
2276
- this.ToffsetWires2C1.length >= 4 && (t.push(this.ToffsetWires2C1[i - 4]), t.push(this.ToffsetWires2C1[i - 2]), this.ToffsetArcWires1C2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2C1[i - 3]), l.push(this.ToffsetWires2C1[i - 1]), this.ToffsetArcWires1C2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 4 && (I.push(this.ToffsetWires2C2[i - 4]), I.push(this.ToffsetWires2C2[i - 2]), this.ToffsetArcWires2C2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2C2[i - 3]), P.push(this.ToffsetWires2C2[i - 1]), this.ToffsetArcWires2C2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2340
+ case p.双分裂:
2341
+ this.ToffsetWires2C1.length >= 4 && (i.push(this.ToffsetWires2C1[t - 4]), i.push(this.ToffsetWires2C1[t - 2]), this.ToffsetArcWires1C2 = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2C1[t - 3]), l.push(this.ToffsetWires2C1[t - 1]), this.ToffsetArcWires1C2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 4 && (I.push(this.ToffsetWires2C2[t - 4]), I.push(this.ToffsetWires2C2[t - 2]), this.ToffsetArcWires2C2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2C2[t - 3]), P.push(this.ToffsetWires2C2[t - 1]), this.ToffsetArcWires2C2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2277
2342
  break;
2278
- case A.四分裂:
2279
- this.ToffsetWires2C1.length >= 8 && (t.push(this.ToffsetWires2C1[i - 8]), t.push(this.ToffsetWires2C1[i - 4]), this.ToffsetArcWires1C2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2C1[i - 7]), l.push(this.ToffsetWires2C1[i - 3]), this.ToffsetArcWires1C2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2C1[i - 6]), u.push(this.ToffsetWires2C1[i - 2]), this.ToffsetArcWires1C2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2C1[i - 5]), T.push(this.ToffsetWires2C1[i - 1]), this.ToffsetArcWires1C2 = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 8 && (I.push(this.ToffsetWires2C2[i - 8]), I.push(this.ToffsetWires2C2[i - 4]), this.ToffsetArcWires2C2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2C2[i - 7]), P.push(this.ToffsetWires2C2[i - 3]), this.ToffsetArcWires2C2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2C2[i - 6]), g.push(this.ToffsetWires2C2[i - 2]), this.ToffsetArcWires2C2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2C2[i - 5]), y.push(this.ToffsetWires2C2[i - 1]), this.ToffsetArcWires2C2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2343
+ case p.四分裂:
2344
+ this.ToffsetWires2C1.length >= 8 && (i.push(this.ToffsetWires2C1[t - 8]), i.push(this.ToffsetWires2C1[t - 4]), this.ToffsetArcWires1C2 = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2C1[t - 7]), l.push(this.ToffsetWires2C1[t - 3]), this.ToffsetArcWires1C2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2C1[t - 6]), u.push(this.ToffsetWires2C1[t - 2]), this.ToffsetArcWires1C2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires2C1[t - 5]), C.push(this.ToffsetWires2C1[t - 1]), this.ToffsetArcWires1C2 = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 8 && (I.push(this.ToffsetWires2C2[t - 8]), I.push(this.ToffsetWires2C2[t - 4]), this.ToffsetArcWires2C2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2C2[t - 7]), P.push(this.ToffsetWires2C2[t - 3]), this.ToffsetArcWires2C2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2C2[t - 6]), g.push(this.ToffsetWires2C2[t - 2]), this.ToffsetArcWires2C2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2C2[t - 5]), y.push(this.ToffsetWires2C2[t - 1]), this.ToffsetArcWires2C2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2280
2345
  break;
2281
- case A.六分裂:
2282
- this.ToffsetWires2C1.length >= 12 && (t.push(this.ToffsetWires2C1[i - 12]), t.push(this.ToffsetWires2C1[i - 6]), this.ToffsetArcWires1C2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2C1[i - 11]), l.push(this.ToffsetWires2C1[i - 5]), this.ToffsetArcWires1C2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2C1[i - 10]), u.push(this.ToffsetWires2C1[i - 4]), this.ToffsetArcWires1C2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2C1[i - 9]), T.push(this.ToffsetWires2C1[i - 3]), this.ToffsetArcWires1C2 = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires2C1[i - 8]), e.push(this.ToffsetWires2C1[i - 2]), this.ToffsetArcWires1C2 = f(e, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2C1[i - 7]), c.push(this.ToffsetWires2C1[i - 1]), this.ToffsetArcWires1C2 = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 12 && (I.push(this.ToffsetWires2C2[i - 12]), I.push(this.ToffsetWires2C2[i - 6]), this.ToffsetArcWires2C2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2C2[i - 11]), P.push(this.ToffsetWires2C2[i - 5]), this.ToffsetArcWires2C2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2C2[i - 10]), g.push(this.ToffsetWires2C2[i - 4]), this.ToffsetArcWires2C2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2C2[i - 9]), y.push(this.ToffsetWires2C2[i - 3]), this.ToffsetArcWires2C2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2C2[i - 8]), _.push(this.ToffsetWires2C2[i - 2]), this.ToffsetArcWires2C2 = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2C2[i - 7]), v.push(this.ToffsetWires2C2[i - 1]), this.ToffsetArcWires2C2 = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2346
+ case p.六分裂:
2347
+ this.ToffsetWires2C1.length >= 12 && (i.push(this.ToffsetWires2C1[t - 12]), i.push(this.ToffsetWires2C1[t - 6]), this.ToffsetArcWires1C2 = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2C1[t - 11]), l.push(this.ToffsetWires2C1[t - 5]), this.ToffsetArcWires1C2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2C1[t - 10]), u.push(this.ToffsetWires2C1[t - 4]), this.ToffsetArcWires1C2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires2C1[t - 9]), C.push(this.ToffsetWires2C1[t - 3]), this.ToffsetArcWires1C2 = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires2C1[t - 8]), o.push(this.ToffsetWires2C1[t - 2]), this.ToffsetArcWires1C2 = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2C1[t - 7]), c.push(this.ToffsetWires2C1[t - 1]), this.ToffsetArcWires1C2 = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 12 && (I.push(this.ToffsetWires2C2[t - 12]), I.push(this.ToffsetWires2C2[t - 6]), this.ToffsetArcWires2C2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2C2[t - 11]), P.push(this.ToffsetWires2C2[t - 5]), this.ToffsetArcWires2C2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2C2[t - 10]), g.push(this.ToffsetWires2C2[t - 4]), this.ToffsetArcWires2C2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2C2[t - 9]), y.push(this.ToffsetWires2C2[t - 3]), this.ToffsetArcWires2C2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2C2[t - 8]), _.push(this.ToffsetWires2C2[t - 2]), this.ToffsetArcWires2C2 = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2C2[t - 7]), v.push(this.ToffsetWires2C2[t - 1]), this.ToffsetArcWires2C2 = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2283
2348
  break;
2284
- case A.八分裂:
2285
- this.ToffsetWires2C1.length >= 16 && (t.push(this.ToffsetWires2C1[i - 16]), t.push(this.ToffsetWires2C1[i - 8]), this.ToffsetArcWires1C2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2C1[i - 15]), l.push(this.ToffsetWires2C1[i - 7]), this.ToffsetArcWires1C2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2C1[i - 14]), u.push(this.ToffsetWires2C1[i - 6]), this.ToffsetArcWires1C2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2C1[i - 13]), T.push(this.ToffsetWires2C1[i - 5]), this.ToffsetArcWires1C2 = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires2C1[i - 12]), e.push(this.ToffsetWires2C1[i - 4]), this.ToffsetArcWires1C2 = f(e, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2C1[i - 11]), c.push(this.ToffsetWires2C1[i - 3]), this.ToffsetArcWires1C2 = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires2C1[i - 10]), m.push(this.ToffsetWires2C1[i - 2]), this.ToffsetArcWires1C2 = f(m, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires2C1[i - 9]), b.push(this.ToffsetWires2C1[i - 1]), this.ToffsetArcWires1C2 = f(b, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 16 && (I.push(this.ToffsetWires2C2[i - 16]), I.push(this.ToffsetWires2C2[i - 8]), this.ToffsetArcWires2C2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2C2[i - 15]), P.push(this.ToffsetWires2C2[i - 7]), this.ToffsetArcWires2C2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2C2[i - 14]), g.push(this.ToffsetWires2C2[i - 6]), this.ToffsetArcWires2C2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2C2[i - 13]), y.push(this.ToffsetWires2C2[i - 5]), this.ToffsetArcWires2C2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2C2[i - 12]), _.push(this.ToffsetWires2C2[i - 4]), this.ToffsetArcWires2C2 = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2C2[i - 11]), v.push(this.ToffsetWires2C2[i - 3]), this.ToffsetArcWires2C2 = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), k.push(this.ToffsetWires2C2[i - 10]), k.push(this.ToffsetWires2C2[i - 2]), this.ToffsetArcWires2C2 = f(k, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires2C2[i - 9]), M.push(this.ToffsetWires2C2[i - 1]), this.ToffsetArcWires2C2 = f(M, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2349
+ case p.八分裂:
2350
+ this.ToffsetWires2C1.length >= 16 && (i.push(this.ToffsetWires2C1[t - 16]), i.push(this.ToffsetWires2C1[t - 8]), this.ToffsetArcWires1C2 = f(i, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2C1[t - 15]), l.push(this.ToffsetWires2C1[t - 7]), this.ToffsetArcWires1C2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2C1[t - 14]), u.push(this.ToffsetWires2C1[t - 6]), this.ToffsetArcWires1C2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), C.push(this.ToffsetWires2C1[t - 13]), C.push(this.ToffsetWires2C1[t - 5]), this.ToffsetArcWires1C2 = f(C, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), o.push(this.ToffsetWires2C1[t - 12]), o.push(this.ToffsetWires2C1[t - 4]), this.ToffsetArcWires1C2 = f(o, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2C1[t - 11]), c.push(this.ToffsetWires2C1[t - 3]), this.ToffsetArcWires1C2 = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires2C1[t - 10]), m.push(this.ToffsetWires2C1[t - 2]), this.ToffsetArcWires1C2 = f(m, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires2C1[t - 9]), b.push(this.ToffsetWires2C1[t - 1]), this.ToffsetArcWires1C2 = f(b, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 16 && (I.push(this.ToffsetWires2C2[t - 16]), I.push(this.ToffsetWires2C2[t - 8]), this.ToffsetArcWires2C2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2C2[t - 15]), P.push(this.ToffsetWires2C2[t - 7]), this.ToffsetArcWires2C2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2C2[t - 14]), g.push(this.ToffsetWires2C2[t - 6]), this.ToffsetArcWires2C2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2C2[t - 13]), y.push(this.ToffsetWires2C2[t - 5]), this.ToffsetArcWires2C2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2C2[t - 12]), _.push(this.ToffsetWires2C2[t - 4]), this.ToffsetArcWires2C2 = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2C2[t - 11]), v.push(this.ToffsetWires2C2[t - 3]), this.ToffsetArcWires2C2 = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), S.push(this.ToffsetWires2C2[t - 10]), S.push(this.ToffsetWires2C2[t - 2]), this.ToffsetArcWires2C2 = f(S, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires2C2[t - 9]), M.push(this.ToffsetWires2C2[t - 1]), this.ToffsetArcWires2C2 = f(M, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2286
2351
  break;
2287
2352
  }
2288
2353
  }
2289
2354
  } else
2290
2355
  switch (this.LineInfo.Wairnum) {
2291
- case A.单分裂:
2292
- o = o + 1;
2356
+ case p.单分裂:
2357
+ e = e + 1;
2293
2358
  break;
2294
- case A.双分裂:
2295
- o = o + 2;
2359
+ case p.双分裂:
2360
+ e = e + 2;
2296
2361
  break;
2297
- case A.四分裂:
2298
- o = o + 4;
2362
+ case p.四分裂:
2363
+ e = e + 4;
2299
2364
  break;
2300
- case A.六分裂:
2301
- o = o + 6;
2365
+ case p.六分裂:
2366
+ e = e + 6;
2302
2367
  break;
2303
- case A.八分裂:
2304
- o = o + 8;
2368
+ case p.八分裂:
2369
+ e = e + 8;
2305
2370
  break;
2306
2371
  }
2307
2372
  });
2308
2373
  }
2309
- addTreeData(o) {
2310
- this.LineInfo.Trees.push(o);
2374
+ addTreeData(e) {
2375
+ this.LineInfo.Trees.push(e);
2311
2376
  }
2312
2377
  //加载数模型
2378
+ /**
2379
+ * 初始化树木数据并设置动态加载(如果启用)
2380
+ */
2313
2381
  loadTree() {
2314
- this.LineInfo.Trees.forEach((o) => {
2315
- const i = n.Cartesian3.fromDegrees(
2316
- o.lon,
2317
- o.lat,
2318
- 0
2319
- );
2320
- this.entityCollectiontree.add({
2321
- id: "tree-" + o.id,
2322
- position: i,
2323
- model: {
2324
- show: !0,
2325
- uri: o.modelurl,
2326
- scale: o.treeH / o.treeScale,
2327
- // minimumPixelSize: 128, // 模型的最小最小像素大小,而不考虑缩放
2328
- // maximumScale: 20000, // 模型的最大比例尺大小。 minimumPixelSize的上限
2329
- incrementallyLoadTextures: !0,
2330
- // 确定在加载模型后纹理是否可以继续流入
2331
- runAnimations: !0,
2332
- // 是否应启动模型中指定的glTF动画
2333
- clampAnimations: !0,
2334
- // glTF动画是否应在没有关键帧的持续时间内保持最后一个姿势
2335
- shadows: n.ShadowMode.DISABLED,
2336
- heightReference: n.HeightReference.RELATIVE_TO_GROUND,
2337
- silhouetteColor: n.Color.RED,
2338
- // 轮廓的颜色
2339
- silhouetteSize: 0,
2340
- // 轮廓的宽度
2341
- color: n.Color.WHITE,
2342
- // 模型的颜色
2343
- // 目标颜色和图元的源颜色之间混合的不同模式
2344
- // HIGHLIGHT 将源颜色乘以目标颜色;REPLACE 将源颜色替换为目标颜色;MIX 将源颜色和目标颜色混合在一起
2345
- colorBlendMode: n.ColorBlendMode.HIGHLIGHT,
2346
- // 用于指定 colorBlendMode 为 MIX 时的颜色强度。值0.0会产生模型的着色,而值1.0会导致纯色,介于两者之间的任何值都会导致两者混合
2347
- colorBlendAmount: 0.5,
2348
- imageBasedLightingFactor: new n.Cartesian2(1, 1),
2349
- // 指定基于漫反射和镜面反射的图像照明的贡献
2350
- lightColor: void 0
2351
- // 为模型着色时指定浅色的属性。如果 undefined ,则使用场景的浅色。
2352
- // distanceDisplayCondition: new Cesium.DistanceDisplayCondition(
2353
- // 1.0e3,
2354
- // 2.0e3
2355
- // ),
2356
- }
2357
- });
2358
- });
2382
+ this.Keym == "OW_JPS_EEngin_001" && (this.LineInfo.Trees.forEach((e) => {
2383
+ this.offsetTrees.push(n.Cartesian3.fromDegrees(e.lon, e.lat, e.alt));
2384
+ }), this.viewer.dataSources.contains(this.dataSourcetree) || (this.viewer.dataSources.add(this.dataSourcetree), console.log("Added tree datasource to viewer in loadTree")), this.entityCollectiontree.show = !0, this.isDynamicLoadingEnabled ? (this.setupTreeCameraMoveListener(), this.updateVisibleTrees()) : this.loadAllTreesAtOnce());
2385
+ }
2386
+ /**
2387
+ * 一次性加载所有树木(静态加载模式)
2388
+ */
2389
+ loadAllTreesAtOnce() {
2390
+ this.LineInfo.Trees.length !== this.offsetTrees.length && console.warn(
2391
+ `树木数据长度 (${this.LineInfo.Trees.length}) 与位置数据长度 (${this.offsetTrees.length}) 不匹配`
2392
+ );
2393
+ const e = Math.min(this.LineInfo.Trees.length, this.offsetTrees.length);
2394
+ for (let t = 0; t < e; t++) {
2395
+ const r = this.LineInfo.Trees[t], s = this.offsetTrees[t];
2396
+ r && s ? this.loadTreeAtIndex(t, s) : console.warn(`跳过无效的树木数据,索引: ${t}`);
2397
+ }
2398
+ console.log(`完成加载 ${e} 棵树木`);
2399
+ }
2400
+ /**
2401
+ * 加载指定索引的树木
2402
+ */
2403
+ loadTreeAtIndex(e, t) {
2404
+ const r = this.LineInfo.Trees[e];
2405
+ if (!r.modelurl || r.modelurl.trim() === "") {
2406
+ console.warn(`Tree ${e} has invalid model URL: ${r.modelurl}. Skipping...`);
2407
+ return;
2408
+ }
2409
+ console.log(`Loading tree ${e}: id=${r.id}, url=${r.modelurl}, lon=${r.lon}, lat=${r.lat}, alt=${r.alt}, treeH=${r.treeH}, treeScale=${r.treeScale}`);
2410
+ let s = 1;
2411
+ r.treeScale > 0 && r.treeH > 0 ? (s = r.treeH / r.treeScale, s <= 0 && (s = 1)) : r.treeH > 0 && (s = r.treeH), console.log(`Tree ${e} scale: ${s} (treeH=${r.treeH}, treeScale=${r.treeScale})`);
2412
+ const T = this.getCachedModelConfig(
2413
+ r.modelurl,
2414
+ s,
2415
+ 0,
2416
+ // 最小显示距离
2417
+ 2e4
2418
+ // 最大显示距离(20km)
2419
+ );
2420
+ this.entityCollectiontree.add(
2421
+ Cs(
2422
+ "tree-" + r.id,
2423
+ t,
2424
+ "tree-" + r.id,
2425
+ T.uri,
2426
+ new n.HeadingPitchRoll(0, 0, 0),
2427
+ // 树木通常不需要旋转
2428
+ T.scale,
2429
+ T.distanceDisplayCondition
2430
+ )
2431
+ ), console.log(`Tree ${e} added. Total trees in collection: ${this.entityCollectiontree.values.length}`);
2432
+ }
2433
+ /**
2434
+ * 飞到指定索引的树木位置
2435
+ * @param treeIndex 树木索引(从0开始)
2436
+ */
2437
+ flyToTree(e) {
2438
+ if (e < 0 || e >= this.LineInfo.Trees.length) {
2439
+ console.warn(`Invalid tree index: ${e}. Valid range: 0-${this.LineInfo.Trees.length - 1}`);
2440
+ return;
2441
+ }
2442
+ const t = this.LineInfo.Trees[e], r = n.Cartesian3.fromDegrees(t.lon, t.lat, t.alt + (t.treeH || 0));
2443
+ this.viewer.camera.flyTo({
2444
+ destination: r,
2445
+ duration: 2,
2446
+ orientation: {
2447
+ heading: n.Math.toRadians(0),
2448
+ pitch: n.Math.toRadians(-60),
2449
+ roll: n.Math.toRadians(0)
2450
+ }
2451
+ }), console.log(`Flying to tree ${e}: lon=${t.lon}, lat=${t.lat}, alt=${t.alt}, treeH=${t.treeH}`);
2359
2452
  }
2360
2453
  /**
2361
2454
  * 显示计算结果
2362
2455
  * @param point 树木坐标点 [经度, 纬度, 高度]
2363
2456
  */
2364
- calcResult(o) {
2365
- const i = Vs(
2366
- o,
2457
+ calcResult(e) {
2458
+ const t = Qs(
2459
+ e,
2367
2460
  this.arcLine1A1,
2368
2461
  this.arcLine1B1,
2369
2462
  this.arcLine1D1
2370
2463
  );
2371
- Us(o, i, this.entityCollectionplotting);
2464
+ js(e, t, this.entityCollectionplotting);
2372
2465
  }
2373
2466
  /**
2374
2467
  * 加载树木点击监听功能
2375
2468
  */
2376
2469
  loadTreeListen() {
2377
2470
  this.treeHandler && this.removeTreeListen();
2378
- const o = (i, r) => {
2379
- var C;
2380
- const s = i.scene.pick(r);
2471
+ const e = (t, r) => {
2472
+ var T;
2473
+ const s = t.scene.pick(r);
2381
2474
  if (n.defined(s)) {
2382
- const W = n.defaultValue(s.id, (C = s.primitive) == null ? void 0 : C.id);
2475
+ const W = n.defaultValue(s.id, (T = s.primitive) == null ? void 0 : T.id);
2383
2476
  if (W instanceof n.Entity)
2384
2477
  return W;
2385
2478
  }
2386
2479
  };
2387
- this.treeHandler = new n.ScreenSpaceEventHandler(this.viewer.canvas), this.treeHandler.setInputAction((i) => {
2480
+ this.ensurePlottingDataSourceAdded(), this.treeHandler = new n.ScreenSpaceEventHandler(this.viewer.canvas), this.treeHandler.setInputAction((t) => {
2388
2481
  var s;
2389
- const r = o(this.viewer, i.position);
2390
- if (r && r.id && r.id.startsWith("tree-")) {
2391
- const C = r.id.replace("tree-", ""), W = (s = this.LineInfo.Trees) == null ? void 0 : s.find((L) => {
2392
- var p;
2393
- return ((p = L.id) == null ? void 0 : p.toString()) === C;
2394
- });
2395
- if (W) {
2396
- const L = [
2397
- W.lon,
2398
- W.lat,
2399
- Number(W.lat || 0) + Number(W.treeH || 0)
2400
- ];
2401
- console.log("拾取树木:", W, "坐标:", L), this.calcResult(L);
2482
+ const r = e(this.viewer, t.position);
2483
+ if (r && r.id) {
2484
+ const T = String(r.id);
2485
+ if (T.startsWith(es.TREE_ENTITY_PREFIX)) {
2486
+ const W = T.substring(es.TREE_ENTITY_PREFIX.length), L = (s = this.LineInfo.Trees) == null ? void 0 : s.find(
2487
+ (A) => A && A.id && String(A.id) === W
2488
+ );
2489
+ if (L) {
2490
+ const A = [
2491
+ L.lon,
2492
+ L.lat,
2493
+ Number(L.alt || 0) + Number(L.treeH || 0)
2494
+ ];
2495
+ console.log("拾取树木:", L, "坐标:", A), this.calcResult(A);
2496
+ } else
2497
+ console.warn(`未找到ID为 ${W} 的树木`);
2402
2498
  }
2403
2499
  }
2404
- }, n.ScreenSpaceEventType.LEFT_CLICK), this.viewer.dataSources.add(this.dataSourceplotting), this.entityCollectionplotting.show = !0;
2500
+ }, n.ScreenSpaceEventType.LEFT_CLICK);
2501
+ }
2502
+ /**
2503
+ * 确保计算结果数据源已添加到viewer并显示
2504
+ */
2505
+ ensurePlottingDataSourceAdded() {
2506
+ this.viewer.dataSources.contains(this.dataSourceplotting) || this.viewer.dataSources.add(this.dataSourceplotting), this.entityCollectionplotting.show = !0;
2405
2507
  }
2406
2508
  /**
2407
2509
  * 移除树木点击监听及清理相关资源
2408
2510
  */
2409
2511
  removeTreeListen() {
2410
- this.treeHandler && (this.treeHandler.destroy(), this.treeHandler = null), this.dataSourceplotting && (this.viewer.dataSources.remove(this.dataSourceplotting), this.entityCollectionplotting.show = !1);
2512
+ this.treeHandler && (this.treeHandler.destroy(), this.treeHandler = null), this.dataSourceplotting && (this.entityCollectionplotting.removeAll(), this.entityCollectionplotting.show = !1);
2411
2513
  }
2412
2514
  LineChannelTerrainVerification() {
2413
- this.LineInfo.Trees.forEach((o) => {
2414
- if (o) {
2415
- const i = [
2416
- o.lon,
2417
- o.lat,
2418
- Number(o.alt || 0) + Number(o.treeH || 0)
2515
+ this.ensurePlottingDataSourceAdded(), this.LineInfo.Trees.forEach((e) => {
2516
+ if (e) {
2517
+ const t = [
2518
+ e.lon,
2519
+ e.lat,
2520
+ Number(e.alt || 0) + Number(e.treeH || 0)
2419
2521
  ];
2420
- this.calcResult(i);
2522
+ this.calcResult(t);
2421
2523
  }
2422
- }), this.viewer.dataSources.add(this.dataSourceplotting);
2524
+ });
2423
2525
  }
2424
2526
  /**
2425
2527
  * 清除所有树距测算标记(可选方法)
@@ -2433,12 +2535,18 @@ class Ti {
2433
2535
  }
2434
2536
  //加载渲染树木
2435
2537
  loadtreeModel() {
2436
- this.Keym == "OW_JPS_EEngin_001" && (this.viewer.dataSources.add(this.dataSourcetree), this.entityCollectiontree.show = !0);
2538
+ this.Keym == "OW_JPS_EEngin_001" && (this.viewer.dataSources.contains(this.dataSourcetree) || (this.viewer.dataSources.add(this.dataSourcetree), console.log("Added tree datasource to viewer")), this.entityCollectiontree.show = !0, console.log(`Tree entity collection show: ${this.entityCollectiontree.show}, entities count: ${this.entityCollectiontree.values.length}`));
2437
2539
  }
2438
2540
  //移除树木
2439
2541
  RemoveTreeModel() {
2440
2542
  this.Keym == "OW_JPS_EEngin_001" && (this.viewer.dataSources.remove(this.dataSourcetree), this.entityCollectiontree.show = !1);
2441
2543
  }
2544
+ /**
2545
+ * 重新加载树木(用于切换动态/静态模式后)
2546
+ */
2547
+ reloadTrees() {
2548
+ this.RemoveTreeModel(), this.dataSourcetree = new n.CustomDataSource(this.LineInfo.LineID + "tree"), this.entityCollectiontree = this.dataSourcetree.entities, this.loadTree();
2549
+ }
2442
2550
  LineSpriteLineinit() {
2443
2551
  n.Material._materialCache.addMaterial(
2444
2552
  "SpriteLineMaterialType",
@@ -2471,15 +2579,18 @@ class Ti {
2471
2579
  );
2472
2580
  }
2473
2581
  //设置显隐
2474
- setLineVisible(o) {
2475
- this.Keym == "OW_JPS_EEngin_001" && (this.entityCollection2.show = o, this.LineentityCollection2.show = o);
2582
+ setLineVisible(e) {
2583
+ this.Keym == "OW_JPS_EEngin_001" && (this.entityCollection2.show = e, this.LineentityCollection2.show = e);
2476
2584
  }
2477
2585
  //移除渲染电力线路
2478
2586
  RemoveLineModel() {
2479
- this.Keym == "OW_JPS_EEngin_001" && (this.viewer.dataSources.remove(this.dataSource2), this.entityCollection2.show = !1, this.viewer.dataSources.remove(this.LinedataSource2), this.LineentityCollection2.show = !1, this.cameraMoveHandler && (this.cameraMoveHandler(), this.cameraMoveHandler = null), this.loadedTowerIndices.clear(), this.modelCache.clear());
2587
+ this.Keym == "OW_JPS_EEngin_001" && (this.viewer.dataSources.remove(this.dataSource2), this.entityCollection2.show = !1, this.viewer.dataSources.remove(this.LinedataSource2), this.LineentityCollection2.show = !1, this.cameraMoveHandler && (this.cameraMoveHandler(), this.cameraMoveHandler = null), this.loadedTowerIndices.clear(), this.loadedTreeIndices.clear(), this.modelCache.clear());
2480
2588
  }
2481
- }
2482
- class Ci {
2589
+ };
2590
+ // 树木实体ID前缀常量
2591
+ w(es, "TREE_ENTITY_PREFIX", "tree-");
2592
+ let ws = es;
2593
+ class At {
2483
2594
  constructor() {
2484
2595
  // 杆塔id
2485
2596
  w(this, "id", "");
@@ -2509,119 +2620,119 @@ class Ci {
2509
2620
  w(this, "RollZ", 0);
2510
2621
  }
2511
2622
  }
2512
- function ii(a) {
2623
+ function et(a) {
2513
2624
  debugger;
2514
- const o = a.split(`
2515
- `), i = [], r = [], s = /^\s*(\d+)\s+([\d.-]+)\s+([\d.-]+)\s+([\d.-]+)\s+(-?\d+)/, C = /^\s*(\d+)\s+(\d+)\s+(\d+)\s*(?:#|$)/;
2516
- for (const W of o) {
2625
+ const e = a.split(`
2626
+ `), t = [], r = [], s = /^\s*(\d+)\s+([\d.-]+)\s+([\d.-]+)\s+([\d.-]+)\s+(-?\d+)/, T = /^\s*(\d+)\s+(\d+)\s+(\d+)\s*(?:#|$)/;
2627
+ for (const W of e) {
2517
2628
  const L = W.trim();
2518
2629
  if (!L) continue;
2519
- const p = L.match(s);
2520
- if (p) {
2521
- i.push({
2522
- id: parseInt(p[1]),
2523
- x: parseFloat(p[2]),
2524
- y: parseFloat(p[3]),
2525
- z: parseFloat(p[4]),
2526
- flag: parseInt(p[5])
2630
+ const A = L.match(s);
2631
+ if (A) {
2632
+ t.push({
2633
+ id: parseInt(A[1]),
2634
+ x: parseFloat(A[2]),
2635
+ y: parseFloat(A[3]),
2636
+ z: parseFloat(A[4]),
2637
+ flag: parseInt(A[5])
2527
2638
  });
2528
2639
  continue;
2529
2640
  }
2530
- const d = L.match(C);
2641
+ const d = L.match(T);
2531
2642
  d && r.push({
2532
2643
  from: parseInt(d[1]),
2533
2644
  to: parseInt(d[2]),
2534
2645
  type: parseInt(d[3])
2535
2646
  });
2536
2647
  }
2537
- return { TowerNodes: i, connections: r };
2648
+ return { TowerNodes: t, connections: r };
2538
2649
  }
2539
- function ti(a) {
2540
- const o = a.split(`
2541
- `), i = [];
2542
- for (const r of o) {
2650
+ function ot(a) {
2651
+ const e = a.split(`
2652
+ `), t = [];
2653
+ for (const r of e) {
2543
2654
  if (!r.trim()) continue;
2544
- const s = r.trim().split(/\s+/).filter((L) => L !== ""), C = parseInt(s[0]);
2545
- if (isNaN(C)) continue;
2655
+ const s = r.trim().split(/\s+/).filter((L) => L !== ""), T = parseInt(s[0]);
2656
+ if (isNaN(T)) continue;
2546
2657
  const W = [];
2547
2658
  for (let L = 1; L < s.length; L += 3) {
2548
- const p = parseFloat(s[L]), d = parseFloat(s[L + 1]), t = parseFloat(s[L + 2]);
2549
- if (!isNaN(p) && !isNaN(d) && !isNaN(t)) {
2659
+ const A = parseFloat(s[L]), d = parseFloat(s[L + 1]), i = parseFloat(s[L + 2]);
2660
+ if (!isNaN(A) && !isNaN(d) && !isNaN(i)) {
2550
2661
  const l = Math.floor((L - 1) / 3) + 1;
2551
- W.push({ timeStep: l, x: p, y: d, z: t });
2662
+ W.push({ timeStep: l, x: A, y: d, z: i });
2552
2663
  }
2553
2664
  }
2554
- i.push({
2555
- nodeId: C,
2665
+ t.push({
2666
+ nodeId: T,
2556
2667
  displacements: W
2557
2668
  });
2558
2669
  }
2559
- return i;
2670
+ return t;
2560
2671
  }
2561
- function ps(a) {
2562
- const o = {};
2563
- return a.forEach((i) => {
2564
- i.displacements.forEach((r) => {
2565
- o[r.timeStep] || (o[r.timeStep] = []), o[r.timeStep].push({
2566
- nodeId: i.nodeId,
2672
+ function Is(a) {
2673
+ const e = {};
2674
+ return a.forEach((t) => {
2675
+ t.displacements.forEach((r) => {
2676
+ e[r.timeStep] || (e[r.timeStep] = []), e[r.timeStep].push({
2677
+ nodeId: t.nodeId,
2567
2678
  ...r
2568
2679
  });
2569
2680
  });
2570
- }), o;
2681
+ }), e;
2571
2682
  }
2572
- function ei(a) {
2573
- const o = a.split(`
2574
- `), i = [];
2575
- for (const s of o) {
2683
+ function rt(a) {
2684
+ const e = a.split(`
2685
+ `), t = [];
2686
+ for (const s of e) {
2576
2687
  if (!s.trim()) continue;
2577
- const C = s.match(/^\s*(\d+-\s*\d+)\s+((?:\d+\.\d+\s*)+)/);
2578
- if (C) {
2579
- const W = C[1].replace(/\s+/g, ""), L = C[2].trim().split(/\s+/).map(Number);
2580
- i.push({
2688
+ const T = s.match(/^\s*(\d+-\s*\d+)\s+((?:\d+\.\d+\s*)+)/);
2689
+ if (T) {
2690
+ const W = T[1].replace(/\s+/g, ""), L = T[2].trim().split(/\s+/).map(Number);
2691
+ t.push({
2581
2692
  elementId: W,
2582
2693
  stressRatios: L
2583
2694
  });
2584
2695
  }
2585
2696
  }
2586
2697
  const r = [];
2587
- if (i.length > 0) {
2588
- const s = i[0].stressRatios.length;
2589
- for (let C = 0; C < s; C++) {
2698
+ if (t.length > 0) {
2699
+ const s = t[0].stressRatios.length;
2700
+ for (let T = 0; T < s; T++) {
2590
2701
  const W = {
2591
- timeIndex: C,
2702
+ timeIndex: T,
2592
2703
  elements: []
2593
2704
  };
2594
- for (const L of i) {
2595
- let p;
2596
- const d = L.stressRatios[C];
2597
- d > 1 ? p = V.RED : d > 0.95 && d <= 1 ? p = V.PINK : d > 0.85 && d <= 0.95 ? p = V.YELLOW : d > 0.7 && d <= 0.85 ? p = V.GREEN : p = V.BLUE, W.elements.push({
2705
+ for (const L of t) {
2706
+ let A;
2707
+ const d = L.stressRatios[T];
2708
+ d > 1 ? A = J.RED : d > 0.95 && d <= 1 ? A = J.PINK : d > 0.85 && d <= 0.95 ? A = J.YELLOW : d > 0.7 && d <= 0.85 ? A = J.GREEN : A = J.BLUE, W.elements.push({
2598
2709
  elementId: L.elementId,
2599
2710
  stressRatio: d,
2600
- ylbColor: p
2711
+ ylbColor: A
2601
2712
  });
2602
2713
  }
2603
2714
  r.push(W);
2604
2715
  }
2605
2716
  }
2606
- return { byElement: i, byTime: r };
2717
+ return { byElement: t, byTime: r };
2607
2718
  }
2608
- class oi {
2609
- constructor(o) {
2719
+ class ht {
2720
+ constructor(e) {
2610
2721
  w(this, "viewer");
2611
2722
  w(this, "lines", []);
2612
- this.viewer = o;
2723
+ this.viewer = e;
2613
2724
  }
2614
2725
  /**
2615
2726
  * 添加一条线
2616
2727
  * @returns 生成的Entity对象
2617
2728
  */
2618
- addLine(o, i) {
2619
- const r = Ss(this.viewer, o, i);
2729
+ addLine(e, t) {
2730
+ const r = Es(this.viewer, e, t);
2620
2731
  return this.lines.push(r), r;
2621
2732
  }
2622
2733
  /** 移除所有线 */
2623
2734
  removeAll() {
2624
- this.lines.forEach((o) => this.viewer.entities.remove(o)), this.lines = [];
2735
+ this.lines.forEach((e) => this.viewer.entities.remove(e)), this.lines = [];
2625
2736
  }
2626
2737
  // /** 更新线坐标 */
2627
2738
  // updateLinePositions(entity: Cesium.Entity, newPositions: Cartesian3[]) {
@@ -2638,60 +2749,60 @@ class oi {
2638
2749
  // });
2639
2750
  // }
2640
2751
  }
2641
- var bs = { exports: {} };
2642
- (function(a, o) {
2643
- (function(i, r) {
2752
+ var Ms = { exports: {} };
2753
+ (function(a, e) {
2754
+ (function(t, r) {
2644
2755
  r();
2645
- })(ts, function() {
2646
- function i(d, t) {
2647
- return typeof t > "u" ? t = { autoBom: !1 } : typeof t != "object" && (console.warn("Deprecated: Expected third argument to be a object"), t = { autoBom: !t }), t.autoBom && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(d.type) ? new Blob(["\uFEFF", d], { type: d.type }) : d;
2756
+ })(is, function() {
2757
+ function t(d, i) {
2758
+ return typeof i > "u" ? i = { autoBom: !1 } : typeof i != "object" && (console.warn("Deprecated: Expected third argument to be a object"), i = { autoBom: !i }), i.autoBom && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(d.type) ? new Blob(["\uFEFF", d], { type: d.type }) : d;
2648
2759
  }
2649
- function r(d, t, l) {
2760
+ function r(d, i, l) {
2650
2761
  var u = new XMLHttpRequest();
2651
2762
  u.open("GET", d), u.responseType = "blob", u.onload = function() {
2652
- p(u.response, t, l);
2763
+ A(u.response, i, l);
2653
2764
  }, u.onerror = function() {
2654
2765
  console.error("could not download file");
2655
2766
  }, u.send();
2656
2767
  }
2657
2768
  function s(d) {
2658
- var t = new XMLHttpRequest();
2659
- t.open("HEAD", d, !1);
2769
+ var i = new XMLHttpRequest();
2770
+ i.open("HEAD", d, !1);
2660
2771
  try {
2661
- t.send();
2772
+ i.send();
2662
2773
  } catch {
2663
2774
  }
2664
- return 200 <= t.status && 299 >= t.status;
2775
+ return 200 <= i.status && 299 >= i.status;
2665
2776
  }
2666
- function C(d) {
2777
+ function T(d) {
2667
2778
  try {
2668
2779
  d.dispatchEvent(new MouseEvent("click"));
2669
2780
  } catch {
2670
- var t = document.createEvent("MouseEvents");
2671
- t.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), d.dispatchEvent(t);
2781
+ var i = document.createEvent("MouseEvents");
2782
+ i.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), d.dispatchEvent(i);
2672
2783
  }
2673
2784
  }
2674
- var W = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof ts == "object" && ts.global === ts ? ts : void 0, L = W.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent), p = W.saveAs || (typeof window != "object" || window !== W ? function() {
2675
- } : "download" in HTMLAnchorElement.prototype && !L ? function(d, t, l) {
2676
- var u = W.URL || W.webkitURL, T = document.createElement("a");
2677
- t = t || d.name || "download", T.download = t, T.rel = "noopener", typeof d == "string" ? (T.href = d, T.origin === location.origin ? C(T) : s(T.href) ? r(d, t, l) : C(T, T.target = "_blank")) : (T.href = u.createObjectURL(d), setTimeout(function() {
2678
- u.revokeObjectURL(T.href);
2785
+ var W = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof is == "object" && is.global === is ? is : void 0, L = W.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent), A = W.saveAs || (typeof window != "object" || window !== W ? function() {
2786
+ } : "download" in HTMLAnchorElement.prototype && !L ? function(d, i, l) {
2787
+ var u = W.URL || W.webkitURL, C = document.createElement("a");
2788
+ i = i || d.name || "download", C.download = i, C.rel = "noopener", typeof d == "string" ? (C.href = d, C.origin === location.origin ? T(C) : s(C.href) ? r(d, i, l) : T(C, C.target = "_blank")) : (C.href = u.createObjectURL(d), setTimeout(function() {
2789
+ u.revokeObjectURL(C.href);
2679
2790
  }, 4e4), setTimeout(function() {
2680
- C(T);
2791
+ T(C);
2681
2792
  }, 0));
2682
- } : "msSaveOrOpenBlob" in navigator ? function(d, t, l) {
2683
- if (t = t || d.name || "download", typeof d != "string") navigator.msSaveOrOpenBlob(i(d, l), t);
2684
- else if (s(d)) r(d, t, l);
2793
+ } : "msSaveOrOpenBlob" in navigator ? function(d, i, l) {
2794
+ if (i = i || d.name || "download", typeof d != "string") navigator.msSaveOrOpenBlob(t(d, l), i);
2795
+ else if (s(d)) r(d, i, l);
2685
2796
  else {
2686
2797
  var u = document.createElement("a");
2687
2798
  u.href = d, u.target = "_blank", setTimeout(function() {
2688
- C(u);
2799
+ T(u);
2689
2800
  });
2690
2801
  }
2691
- } : function(d, t, l, u) {
2692
- if (u = u || open("", "_blank"), u && (u.document.title = u.document.body.innerText = "downloading..."), typeof d == "string") return r(d, t, l);
2693
- var T = d.type === "application/octet-stream", e = /constructor/i.test(W.HTMLElement) || W.safari, c = /CriOS\/[\d]+/.test(navigator.userAgent);
2694
- if ((c || T && e || L) && typeof FileReader < "u") {
2802
+ } : function(d, i, l, u) {
2803
+ if (u = u || open("", "_blank"), u && (u.document.title = u.document.body.innerText = "downloading..."), typeof d == "string") return r(d, i, l);
2804
+ var C = d.type === "application/octet-stream", o = /constructor/i.test(W.HTMLElement) || W.safari, c = /CriOS\/[\d]+/.test(navigator.userAgent);
2805
+ if ((c || C && o || L) && typeof FileReader < "u") {
2695
2806
  var m = new FileReader();
2696
2807
  m.onloadend = function() {
2697
2808
  var P = m.result;
@@ -2704,32 +2815,32 @@ var bs = { exports: {} };
2704
2815
  }, 4e4);
2705
2816
  }
2706
2817
  });
2707
- W.saveAs = p.saveAs = p, a.exports = p;
2818
+ W.saveAs = A.saveAs = A, a.exports = A;
2708
2819
  });
2709
- })(bs);
2710
- var us = bs.exports;
2711
- const Ls = require("shp-write");
2712
- class ri {
2820
+ })(Ms);
2821
+ var cs = Ms.exports;
2822
+ const ds = require("shp-write");
2823
+ class ft {
2713
2824
  // constructor(viewer: Cesium.Viewer, towerNodes: TowerNode[], connections: Connection[], towerFZS: TowerFZInfo) {
2714
- constructor(o, i, r) {
2825
+ constructor(e, t, r) {
2715
2826
  // private viewer: Cesium.Viewer;
2716
2827
  w(this, "towerNodes", []);
2717
2828
  w(this, "connections", []);
2718
2829
  w(this, "towerFZS");
2719
- this.towerNodes = o, this.connections = i, this.towerFZS = r;
2830
+ this.towerNodes = e, this.connections = t, this.towerFZS = r;
2720
2831
  }
2721
2832
  // 导出杆塔数据为SHP文件
2722
2833
  async exportTowerToSHP() {
2723
2834
  try {
2724
- const o = await this.generatePointFeatures(), i = await this.generateLineFeatures();
2725
- await this.generateSHPFiles(o, i), console.log("SHP文件导出成功");
2726
- } catch (o) {
2727
- console.error("导出SHP文件失败:", o);
2835
+ const e = await this.generatePointFeatures(), t = await this.generateLineFeatures();
2836
+ await this.generateSHPFiles(e, t), console.log("SHP文件导出成功");
2837
+ } catch (e) {
2838
+ console.error("导出SHP文件失败:", e);
2728
2839
  }
2729
2840
  }
2730
2841
  // 生成点要素数据 - 修复坐标格式
2731
2842
  async generatePointFeatures() {
2732
- const o = [], i = new n.HeadingPitchRoll(
2843
+ const e = [], t = new n.HeadingPitchRoll(
2733
2844
  n.Math.toRadians(this.towerFZS.RollX),
2734
2845
  this.towerFZS.RollY,
2735
2846
  this.towerFZS.RollZ
@@ -2739,11 +2850,11 @@ class ri {
2739
2850
  this.towerFZS.Altitude
2740
2851
  );
2741
2852
  for (const s of this.towerNodes) {
2742
- const C = new n.Cartesian3(s.x, s.y, s.z), W = this.getPositionByHprAndOffset(r, C, i), L = n.Ellipsoid.WGS84.cartesianToCartographic(W), p = n.Math.toDegrees(L.longitude), d = n.Math.toDegrees(L.latitude), t = L.height, l = {
2853
+ const T = new n.Cartesian3(s.x, s.y, s.z), W = this.getPositionByHprAndOffset(r, T, t), L = n.Ellipsoid.WGS84.cartesianToCartographic(W), A = n.Math.toDegrees(L.longitude), d = n.Math.toDegrees(L.latitude), i = L.height, l = {
2743
2854
  type: "Feature",
2744
2855
  geometry: {
2745
2856
  type: "Point",
2746
- coordinates: [p, d]
2857
+ coordinates: [A, d]
2747
2858
  // 只使用经度和纬度,高度放在属性中
2748
2859
  },
2749
2860
  properties: {
@@ -2752,21 +2863,21 @@ class ri {
2752
2863
  x: s.x,
2753
2864
  y: s.y,
2754
2865
  z: s.z,
2755
- longitude: p,
2866
+ longitude: A,
2756
2867
  latitude: d,
2757
- height: t,
2868
+ height: i,
2758
2869
  // 高度作为属性存储
2759
- elevation: t,
2870
+ elevation: i,
2760
2871
  type: "tower_node"
2761
2872
  }
2762
2873
  };
2763
- o.push(l);
2874
+ e.push(l);
2764
2875
  }
2765
- return o;
2876
+ return e;
2766
2877
  }
2767
2878
  // 生成线要素数据 - 修复坐标格式
2768
2879
  async generateLineFeatures() {
2769
- const o = [], i = new n.HeadingPitchRoll(
2880
+ const e = [], t = new n.HeadingPitchRoll(
2770
2881
  n.Math.toRadians(this.towerFZS.RollX),
2771
2882
  this.towerFZS.RollY,
2772
2883
  this.towerFZS.RollZ
@@ -2776,14 +2887,14 @@ class ri {
2776
2887
  this.towerFZS.Altitude
2777
2888
  );
2778
2889
  for (const s of this.connections) {
2779
- const C = this.towerNodes.find((g) => g.id === s.from), W = this.towerNodes.find((g) => g.id === s.to);
2780
- if (!C || !W) continue;
2781
- const L = new n.Cartesian3(C.x, C.y, C.z), p = new n.Cartesian3(W.x, W.y, W.z), d = this.getPositionByHprAndOffset(r, L, i), t = this.getPositionByHprAndOffset(r, p, i), l = n.Ellipsoid.WGS84.cartesianToCartographic(d), u = n.Ellipsoid.WGS84.cartesianToCartographic(t), T = n.Math.toDegrees(l.longitude), e = n.Math.toDegrees(l.latitude), c = l.height, m = n.Math.toDegrees(u.longitude), b = n.Math.toDegrees(u.latitude), I = u.height, P = {
2890
+ const T = this.towerNodes.find((g) => g.id === s.from), W = this.towerNodes.find((g) => g.id === s.to);
2891
+ if (!T || !W) continue;
2892
+ const L = new n.Cartesian3(T.x, T.y, T.z), A = new n.Cartesian3(W.x, W.y, W.z), d = this.getPositionByHprAndOffset(r, L, t), i = this.getPositionByHprAndOffset(r, A, t), l = n.Ellipsoid.WGS84.cartesianToCartographic(d), u = n.Ellipsoid.WGS84.cartesianToCartographic(i), C = n.Math.toDegrees(l.longitude), o = n.Math.toDegrees(l.latitude), c = l.height, m = n.Math.toDegrees(u.longitude), b = n.Math.toDegrees(u.latitude), I = u.height, P = {
2782
2893
  type: "Feature",
2783
2894
  geometry: {
2784
2895
  type: "LineString",
2785
2896
  coordinates: [
2786
- [T, e],
2897
+ [C, o],
2787
2898
  // 起点,二维坐标
2788
2899
  [m, b]
2789
2900
  // 终点,二维坐标
@@ -2799,108 +2910,108 @@ class ri {
2799
2910
  // 终点高度
2800
2911
  avg_height: (c + I) / 2,
2801
2912
  // 平均高度
2802
- length: this.calculateDistance(d, t),
2913
+ length: this.calculateDistance(d, i),
2803
2914
  type: "tower_member",
2804
2915
  width: this.towerFZS.TowerMembersWidth,
2805
- from_longitude: T,
2806
- from_latitude: e,
2916
+ from_longitude: C,
2917
+ from_latitude: o,
2807
2918
  to_longitude: m,
2808
2919
  to_latitude: b
2809
2920
  }
2810
2921
  };
2811
- o.push(P);
2922
+ e.push(P);
2812
2923
  }
2813
- return o;
2924
+ return e;
2814
2925
  }
2815
2926
  // 修复SHP文件生成方法
2816
- async generateSHPFiles(o, i) {
2927
+ async generateSHPFiles(e, t) {
2817
2928
  try {
2818
- if (o.length > 0) {
2929
+ if (e.length > 0) {
2819
2930
  const r = {
2820
2931
  type: "FeatureCollection",
2821
- features: o
2822
- }, s = Ls.point(r);
2932
+ features: e
2933
+ }, s = ds.point(r);
2823
2934
  this.downloadSHPFiles(s, "tower_nodes");
2824
2935
  }
2825
- if (i.length > 0) {
2936
+ if (t.length > 0) {
2826
2937
  const r = {
2827
2938
  type: "FeatureCollection",
2828
- features: i
2829
- }, s = Ls.line(r);
2939
+ features: t
2940
+ }, s = ds.line(r);
2830
2941
  this.downloadSHPFiles(s, "tower_members");
2831
2942
  }
2832
2943
  } catch (r) {
2833
- console.error("生成SHP文件时出错:", r), await this.alternativeExport(o, i);
2944
+ console.error("生成SHP文件时出错:", r), await this.alternativeExport(e, t);
2834
2945
  }
2835
2946
  }
2836
2947
  // 下载SHP文件
2837
- downloadSHPFiles(o, i) {
2838
- const r = new Blob([o], { type: "application/zip" });
2839
- us.saveAs(r, `${i}.zip`);
2948
+ downloadSHPFiles(e, t) {
2949
+ const r = new Blob([e], { type: "application/zip" });
2950
+ cs.saveAs(r, `${t}.zip`);
2840
2951
  }
2841
2952
  // 备用导出方案 - 导出为GeoJSON
2842
- async alternativeExport(o, i) {
2843
- if (console.log("使用备用方案导出为GeoJSON格式"), o.length > 0) {
2953
+ async alternativeExport(e, t) {
2954
+ if (console.log("使用备用方案导出为GeoJSON格式"), e.length > 0) {
2844
2955
  const r = {
2845
2956
  type: "FeatureCollection",
2846
- features: o
2957
+ features: e
2847
2958
  };
2848
2959
  this.downloadJSON(r, "tower_nodes.geojson");
2849
2960
  }
2850
- if (i.length > 0) {
2961
+ if (t.length > 0) {
2851
2962
  const r = {
2852
2963
  type: "FeatureCollection",
2853
- features: i
2964
+ features: t
2854
2965
  };
2855
2966
  this.downloadJSON(r, "tower_members.geojson");
2856
2967
  }
2857
2968
  }
2858
2969
  // 下载JSON文件
2859
- downloadJSON(o, i) {
2860
- const r = new Blob([JSON.stringify(o, null, 2)], {
2970
+ downloadJSON(e, t) {
2971
+ const r = new Blob([JSON.stringify(e, null, 2)], {
2861
2972
  type: "application/json"
2862
2973
  });
2863
- us.saveAs(r, i);
2974
+ cs.saveAs(r, t);
2864
2975
  }
2865
2976
  // 计算两点之间的距离
2866
- calculateDistance(o, i) {
2867
- return n.Cartesian3.distance(o, i);
2977
+ calculateDistance(e, t) {
2978
+ return n.Cartesian3.distance(e, t);
2868
2979
  }
2869
2980
  // 根据朝向和偏移量计算位置
2870
- getPositionByHprAndOffset(o, i, r) {
2871
- const s = n.Transforms.headingPitchRollToFixedFrame(o, r);
2872
- return n.Matrix4.multiplyByPoint(s, i, new n.Cartesian3());
2981
+ getPositionByHprAndOffset(e, t, r) {
2982
+ const s = n.Transforms.headingPitchRollToFixedFrame(e, r);
2983
+ return n.Matrix4.multiplyByPoint(s, t, new n.Cartesian3());
2873
2984
  }
2874
2985
  }
2875
- class hi {
2876
- static async exportToCSV(o, i, r) {
2877
- const s = this.exportNodesToCSV(o, r);
2986
+ class nt {
2987
+ static async exportToCSV(e, t, r) {
2988
+ const s = this.exportNodesToCSV(e, r);
2878
2989
  this.downloadCSV(s, "tower_nodes.csv");
2879
- const C = this.exportConnectionsToCSV(i, o, r);
2880
- this.downloadCSV(C, "tower_connections.csv");
2990
+ const T = this.exportConnectionsToCSV(t, e, r);
2991
+ this.downloadCSV(T, "tower_connections.csv");
2881
2992
  }
2882
- static exportNodesToCSV(o, i) {
2993
+ static exportNodesToCSV(e, t) {
2883
2994
  let r = `ID,X,Y,Z,Longitude,Latitude,Height
2884
2995
  `;
2885
2996
  const s = new n.HeadingPitchRoll(
2886
- n.Math.toRadians(i.RollX),
2887
- i.RollY,
2888
- i.RollZ
2889
- ), C = n.Cartesian3.fromDegrees(
2890
- i.Longitude,
2891
- i.Latitude,
2892
- i.Altitude
2997
+ n.Math.toRadians(t.RollX),
2998
+ t.RollY,
2999
+ t.RollZ
3000
+ ), T = n.Cartesian3.fromDegrees(
3001
+ t.Longitude,
3002
+ t.Latitude,
3003
+ t.Altitude
2893
3004
  );
2894
- return o.forEach((W) => {
2895
- const L = new n.Cartesian3(W.x, W.y, W.z), p = this.getPositionByHprAndOffset(C, L, s), d = n.Ellipsoid.WGS84.cartesianToCartographic(p), t = n.Math.toDegrees(d.longitude), l = n.Math.toDegrees(d.latitude), u = d.height;
2896
- r += `${W.id},${W.x},${W.y},${W.z},${t},${l},${u}
3005
+ return e.forEach((W) => {
3006
+ const L = new n.Cartesian3(W.x, W.y, W.z), A = this.getPositionByHprAndOffset(T, L, s), d = n.Ellipsoid.WGS84.cartesianToCartographic(A), i = n.Math.toDegrees(d.longitude), l = n.Math.toDegrees(d.latitude), u = d.height;
3007
+ r += `${W.id},${W.x},${W.y},${W.z},${i},${l},${u}
2897
3008
  `;
2898
3009
  }), r;
2899
3010
  }
2900
- static exportConnectionsToCSV(o, i, r) {
3011
+ static exportConnectionsToCSV(e, t, r) {
2901
3012
  let s = `FromNode,ToNode,FromX,FromY,FromZ,ToX,ToY,ToZ,Length
2902
3013
  `;
2903
- const C = new n.HeadingPitchRoll(
3014
+ const T = new n.HeadingPitchRoll(
2904
3015
  n.Math.toRadians(r.RollX),
2905
3016
  r.RollY,
2906
3017
  r.RollZ
@@ -2909,25 +3020,25 @@ class hi {
2909
3020
  r.Latitude,
2910
3021
  r.Altitude
2911
3022
  );
2912
- return o.forEach((L) => {
2913
- const p = i.find((c) => c.id === L.from), d = i.find((c) => c.id === L.to);
2914
- if (!p || !d) return;
2915
- const t = new n.Cartesian3(p.x, p.y, p.z), l = new n.Cartesian3(d.x, d.y, d.z), u = this.getPositionByHprAndOffset(W, t, C), T = this.getPositionByHprAndOffset(W, l, C), e = n.Cartesian3.distance(u, T);
2916
- s += `${L.from},${L.to},${p.x},${p.y},${p.z},${d.x},${d.y},${d.z},${e}
3023
+ return e.forEach((L) => {
3024
+ const A = t.find((c) => c.id === L.from), d = t.find((c) => c.id === L.to);
3025
+ if (!A || !d) return;
3026
+ const i = new n.Cartesian3(A.x, A.y, A.z), l = new n.Cartesian3(d.x, d.y, d.z), u = this.getPositionByHprAndOffset(W, i, T), C = this.getPositionByHprAndOffset(W, l, T), o = n.Cartesian3.distance(u, C);
3027
+ s += `${L.from},${L.to},${A.x},${A.y},${A.z},${d.x},${d.y},${d.z},${o}
2917
3028
  `;
2918
3029
  }), s;
2919
3030
  }
2920
- static downloadCSV(o, i) {
2921
- const r = new Blob([o], { type: "text/csv;charset=utf-8;" });
2922
- us.saveAs(r, i);
3031
+ static downloadCSV(e, t) {
3032
+ const r = new Blob([e], { type: "text/csv;charset=utf-8;" });
3033
+ cs.saveAs(r, t);
2923
3034
  }
2924
- static getPositionByHprAndOffset(o, i, r) {
2925
- const s = n.Transforms.headingPitchRollToFixedFrame(o, r);
2926
- return n.Matrix4.multiplyByPoint(s, i, new n.Cartesian3());
3035
+ static getPositionByHprAndOffset(e, t, r) {
3036
+ const s = n.Transforms.headingPitchRollToFixedFrame(e, r);
3037
+ return n.Matrix4.multiplyByPoint(s, t, new n.Cartesian3());
2927
3038
  }
2928
3039
  }
2929
- class Ai {
2930
- constructor(o, i, r) {
3040
+ class pt {
3041
+ constructor(e, t, r) {
2931
3042
  //三维场景
2932
3043
  w(this, "viewer");
2933
3044
  w(this, "TowerFZS");
@@ -2949,7 +3060,7 @@ class Ai {
2949
3060
  w(this, "byTimes", []);
2950
3061
  // 或者如果是Node.js环境:
2951
3062
  w(this, "_animationInterval", null);
2952
- this.Keym = r, this.viewer = o, this.TowerFZS = i, this.dataSource2 = new n.CustomDataSource(this.TowerFZS.id), this.entityCollection2 = this.dataSource2.entities, this.TowerLineManager = new oi(this.viewer);
3063
+ this.Keym = r, this.viewer = e, this.TowerFZS = t, this.dataSource2 = new n.CustomDataSource(this.TowerFZS.id), this.entityCollection2 = this.dataSource2.entities, this.TowerLineManager = new ht(this.viewer);
2953
3064
  }
2954
3065
  // 类的构造函数,用于初始化属性
2955
3066
  // private shpExporter: TowerSHPExporter;
@@ -2959,9 +3070,9 @@ class Ai {
2959
3070
  loadfile() {
2960
3071
  if (this.Keym != "OW_JPS_EEngin_001")
2961
3072
  return;
2962
- const { TowerNodes: o, connections: i } = ii(this.TowerFZS.towerFZinfo);
2963
- this.TowerNodes = o, this.connections = i, this.displacementData = ti(this.TowerFZS.towerDisFile);
2964
- const { byTime: r } = ei(this.TowerFZS.stressFileContent);
3073
+ const { TowerNodes: e, connections: t } = et(this.TowerFZS.towerFZinfo);
3074
+ this.TowerNodes = e, this.connections = t, this.displacementData = ot(this.TowerFZS.towerDisFile);
3075
+ const { byTime: r } = rt(this.TowerFZS.stressFileContent);
2965
3076
  this.byTimes = r;
2966
3077
  debugger;
2967
3078
  }
@@ -2969,12 +3080,12 @@ class Ai {
2969
3080
  loadFZTower() {
2970
3081
  if (this.Keym != "OW_JPS_EEngin_001")
2971
3082
  return;
2972
- let o = new n.HeadingPitchRoll(n.Math.toRadians(this.TowerFZS.RollX), this.TowerFZS.RollY, this.TowerFZS.RollZ);
2973
- const i = n.Cartesian3.fromDegrees(this.TowerFZS.Longitude, this.TowerFZS.Latitude, this.TowerFZS.Altitude);
3083
+ let e = new n.HeadingPitchRoll(n.Math.toRadians(this.TowerFZS.RollX), this.TowerFZS.RollY, this.TowerFZS.RollZ);
3084
+ const t = n.Cartesian3.fromDegrees(this.TowerFZS.Longitude, this.TowerFZS.Latitude, this.TowerFZS.Altitude);
2974
3085
  this.connections.forEach((r) => {
2975
- const s = this.TowerNodes.find((l) => l.id === r.from), C = this.TowerNodes.find((l) => l.id === r.to), W = [], L = new n.Cartesian3(s == null ? void 0 : s.x, s == null ? void 0 : s.y, s == null ? void 0 : s.z);
2976
- W.push(B(i, L, o));
2977
- const p = es(
3086
+ const s = this.TowerNodes.find((l) => l.id === r.from), T = this.TowerNodes.find((l) => l.id === r.to), W = [], L = new n.Cartesian3(s == null ? void 0 : s.x, s == null ? void 0 : s.y, s == null ? void 0 : s.z);
3087
+ W.push(B(t, L, e));
3088
+ const A = os(
2978
3089
  this.viewer,
2979
3090
  W[0],
2980
3091
  (s == null ? void 0 : s.id) + "",
@@ -2985,10 +3096,10 @@ class Ai {
2985
3096
  pixelOffset: [0, -30]
2986
3097
  }
2987
3098
  );
2988
- this.pointEntities.push(p);
2989
- const d = new n.Cartesian3(C == null ? void 0 : C.x, C == null ? void 0 : C.y, C == null ? void 0 : C.z);
2990
- W.push(B(i, d, o));
2991
- const t = es(
3099
+ this.pointEntities.push(A);
3100
+ const d = new n.Cartesian3(T == null ? void 0 : T.x, T == null ? void 0 : T.y, T == null ? void 0 : T.z);
3101
+ W.push(B(t, d, e));
3102
+ const i = os(
2992
3103
  this.viewer,
2993
3104
  W[1],
2994
3105
  (s == null ? void 0 : s.id) + "",
@@ -2999,12 +3110,12 @@ class Ai {
2999
3110
  pixelOffset: [0, -30]
3000
3111
  }
3001
3112
  );
3002
- this.pointEntities.push(t), this.TowerLineManager.addLine(W);
3113
+ this.pointEntities.push(i), this.TowerLineManager.addLine(W);
3003
3114
  }), this.initSHPExporter();
3004
3115
  }
3005
3116
  // 使用修复后的SHP导出器
3006
3117
  async exportToSHP() {
3007
- await new ri(
3118
+ await new ft(
3008
3119
  this.TowerNodes,
3009
3120
  this.connections,
3010
3121
  this.TowerFZS
@@ -3012,7 +3123,7 @@ class Ai {
3012
3123
  }
3013
3124
  // 如果SHP导出仍有问题,使用CSV备用方案
3014
3125
  async exportToCSV() {
3015
- await hi.exportToCSV(
3126
+ await nt.exportToCSV(
3016
3127
  this.TowerNodes,
3017
3128
  this.connections,
3018
3129
  this.TowerFZS
@@ -3022,16 +3133,16 @@ class Ai {
3022
3133
  * 加载指定时间步的位移塔架模型
3023
3134
  * @param timedis 时间步索引
3024
3135
  */
3025
- loadFZDISTower(o) {
3136
+ loadFZDISTower(e) {
3026
3137
  if (this.Keym !== "OW_JPS_EEngin_001")
3027
3138
  return;
3028
- const r = ps(this.displacementData)[o], s = this.byTimes.find((L) => L.timeIndex === o);
3139
+ const r = Is(this.displacementData)[e], s = this.byTimes.find((L) => L.timeIndex === e);
3029
3140
  debugger;
3030
3141
  if (!r) {
3031
- console.warn(`未找到时间步 ${o} 的位移数据`);
3142
+ console.warn(`未找到时间步 ${e} 的位移数据`);
3032
3143
  return;
3033
3144
  }
3034
- const C = new n.HeadingPitchRoll(
3145
+ const T = new n.HeadingPitchRoll(
3035
3146
  n.Math.toRadians(this.TowerFZS.RollX),
3036
3147
  this.TowerFZS.RollY,
3037
3148
  this.TowerFZS.RollZ
@@ -3041,28 +3152,28 @@ class Ai {
3041
3152
  this.TowerFZS.Altitude
3042
3153
  );
3043
3154
  this.connections.forEach((L) => {
3044
- const p = this.TowerNodes.find((y) => y.id === L.from), d = this.TowerNodes.find((y) => y.id === L.to);
3045
- if (!p || !d) {
3155
+ const A = this.TowerNodes.find((y) => y.id === L.from), d = this.TowerNodes.find((y) => y.id === L.to);
3156
+ if (!A || !d) {
3046
3157
  console.warn(`找不到连接 ${L.from}->${L.to} 的节点`);
3047
3158
  return;
3048
3159
  }
3049
3160
  debugger;
3050
- const t = r.find((y) => y.nodeId === L.from), l = r.find((y) => y.nodeId === L.to);
3051
- if (!t || !l) {
3161
+ const i = r.find((y) => y.nodeId === L.from), l = r.find((y) => y.nodeId === L.to);
3162
+ if (!i || !l) {
3052
3163
  console.warn(`找不到连接 ${L.from}->${L.to} 的位移数据`);
3053
3164
  return;
3054
3165
  }
3055
3166
  const u = new n.Cartesian3(
3056
- p.x - t.x,
3057
- p.y - t.y,
3058
- p.z - t.z
3059
- ), T = new n.Cartesian3(
3167
+ A.x - i.x,
3168
+ A.y - i.y,
3169
+ A.z - i.z
3170
+ ), C = new n.Cartesian3(
3060
3171
  d.x - l.x,
3061
3172
  d.y - l.y,
3062
3173
  d.z - l.z
3063
- ), e = B(W, u, C), c = es(
3174
+ ), o = B(W, u, T), c = os(
3064
3175
  this.viewer,
3065
- e,
3176
+ o,
3066
3177
  L.from + "",
3067
3178
  {
3068
3179
  pointColor: n.Color.RED,
@@ -3072,7 +3183,7 @@ class Ai {
3072
3183
  }
3073
3184
  );
3074
3185
  this.pointEntities.push(c);
3075
- const m = B(W, T, C), b = es(
3186
+ const m = B(W, C, T), b = os(
3076
3187
  this.viewer,
3077
3188
  m,
3078
3189
  L.to + "",
@@ -3084,7 +3195,7 @@ class Ai {
3084
3195
  }
3085
3196
  );
3086
3197
  this.pointEntities.push(b);
3087
- const I = [e, m], P = L.from + "-" + L.to, g = s == null ? void 0 : s.elements.find((y) => y.elementId === P);
3198
+ const I = [o, m], P = L.from + "-" + L.to, g = s == null ? void 0 : s.elements.find((y) => y.elementId === P);
3088
3199
  debugger;
3089
3200
  this.TowerLineManager.addLine(I, {
3090
3201
  color: g == null ? void 0 : g.ylbColor,
@@ -3097,19 +3208,19 @@ class Ai {
3097
3208
  });
3098
3209
  }
3099
3210
  //加载指定位移
3100
- loadFZDISTower1(o) {
3211
+ loadFZDISTower1(e) {
3101
3212
  if (this.Keym != "OW_JPS_EEngin_001")
3102
3213
  return;
3103
- const i = ps(this.displacementData);
3214
+ const t = Is(this.displacementData);
3104
3215
  let r = new n.HeadingPitchRoll(n.Math.toRadians(this.TowerFZS.RollX), this.TowerFZS.RollY, this.TowerFZS.RollZ);
3105
3216
  const s = n.Cartesian3.fromDegrees(this.TowerFZS.Longitude, this.TowerFZS.Latitude, this.TowerFZS.Altitude);
3106
- this.connections.forEach((C) => {
3107
- const W = this.TowerNodes.find((T) => T.id === C.from), L = i[o].find((T) => T.nodeId === C.from), p = this.TowerNodes.find((T) => T.id === C.to), d = i[o].find((T) => T.nodeId === C.to), t = [], l = new n.Cartesian3(W.x - L.x, W.y - L.y, W.z - L.z);
3108
- t.push(B(s, l, r));
3109
- const u = new n.Cartesian3(p.x - d.x, p.y - d.y, p.z - d.z);
3110
- t.push(B(s, u, r));
3217
+ this.connections.forEach((T) => {
3218
+ const W = this.TowerNodes.find((C) => C.id === T.from), L = t[e].find((C) => C.nodeId === T.from), A = this.TowerNodes.find((C) => C.id === T.to), d = t[e].find((C) => C.nodeId === T.to), i = [], l = new n.Cartesian3(W.x - L.x, W.y - L.y, W.z - L.z);
3219
+ i.push(B(s, l, r));
3220
+ const u = new n.Cartesian3(A.x - d.x, A.y - d.y, A.z - d.z);
3221
+ i.push(B(s, u, r));
3111
3222
  debugger;
3112
- this.entityCollection2.add(h(t, C.from + "" + C.to, this.TowerFZS.TowerMembersWidth, this.TowerFZS.TowerMemberColor));
3223
+ this.entityCollection2.add(h(i, T.from + "" + T.to, this.TowerFZS.TowerMembersWidth, this.TowerFZS.TowerMemberColor));
3113
3224
  });
3114
3225
  }
3115
3226
  /**
@@ -3122,17 +3233,17 @@ class Ai {
3122
3233
  console.warn("没有可用的位移数据");
3123
3234
  return;
3124
3235
  }
3125
- let o = 1;
3126
- const i = this.displacementData.length;
3236
+ let e = 1;
3237
+ const t = this.displacementData.length;
3127
3238
  this._animationInterval && (clearInterval(this._animationInterval), this._animationInterval = null);
3128
3239
  const r = () => {
3129
- if (this.viewer.dataSources.contains(this.dataSource2) && this.viewer.dataSources.remove(this.dataSource2, !0), o > i) {
3130
- o = 1;
3240
+ if (this.viewer.dataSources.contains(this.dataSource2) && this.viewer.dataSources.remove(this.dataSource2, !0), e > t) {
3241
+ e = 1;
3131
3242
  return;
3132
3243
  }
3133
3244
  this.dataSource2 = new n.CustomDataSource("fztower"), this.entityCollection2 = this.dataSource2.entities;
3134
3245
  try {
3135
- this.loadFZDISTower(o), this.loadFZModel(), console.log(`正在显示位移帧: ${o}/${i}`), o++;
3246
+ this.loadFZDISTower(e), this.loadFZModel(), console.log(`正在显示位移帧: ${e}/${t}`), e++;
3136
3247
  } catch (s) {
3137
3248
  console.error("加载位移帧时出错:", s), this._animationInterval && (clearInterval(this._animationInterval), this._animationInterval = null);
3138
3249
  }
@@ -3144,37 +3255,37 @@ class Ai {
3144
3255
  this._animationInterval && (clearInterval(this._animationInterval), this._animationInterval = null);
3145
3256
  }
3146
3257
  // 暂停/继续动画
3147
- toggleAnimation(o) {
3148
- o ? this.stopDisplacementAnimation() : this.loadAllFZDisTower();
3258
+ toggleAnimation(e) {
3259
+ e ? this.stopDisplacementAnimation() : this.loadAllFZDisTower();
3149
3260
  }
3150
3261
  //加载仿真模型
3151
3262
  loadFZModel() {
3152
3263
  this.Keym == "OW_JPS_EEngin_001" && (this.viewer.dataSources.add(this.dataSource2), this.viewer.entities.show);
3153
3264
  }
3154
3265
  //设置显隐
3155
- setFZModelVisible(o) {
3156
- this.Keym == "OW_JPS_EEngin_001" && (this.entityCollection2.show = o);
3266
+ setFZModelVisible(e) {
3267
+ this.Keym == "OW_JPS_EEngin_001" && (this.entityCollection2.show = e);
3157
3268
  }
3158
3269
  //移除渲染电力线路
3159
3270
  RemoveFZModel() {
3160
- this.Keym == "OW_JPS_EEngin_001" && (this.TowerLineManager.removeAll(), this.pointEntities.forEach((o) => this.viewer.entities.remove(o)), this.pointEntities.length = 0);
3271
+ this.Keym == "OW_JPS_EEngin_001" && (this.TowerLineManager.removeAll(), this.pointEntities.forEach((e) => this.viewer.entities.remove(e)), this.pointEntities.length = 0);
3161
3272
  }
3162
3273
  }
3163
3274
  export {
3164
- ci as GUAPoint,
3165
- ui as InsulatorInfo,
3275
+ Ct as GUAPoint,
3276
+ Tt as InsulatorInfo,
3166
3277
  D as InsulatorType,
3167
- oi as LineManager,
3168
- rs as LineNum,
3169
- si as LineType,
3170
- Ai as OWEEgineFZManager,
3171
- Ti as OWEEgineManager,
3172
- z as PhaseSType,
3173
- Ci as TowerFZInfo,
3174
- li as TowerInfo,
3175
- ai as TowerLineInfo,
3176
- q as TowerType,
3177
- Wi as TreeType,
3178
- A as WairnumType,
3179
- Zs as drawModel
3278
+ ht as LineManager,
3279
+ hs as LineNum,
3280
+ it as LineType,
3281
+ pt as OWEEgineFZManager,
3282
+ ws as OWEEgineManager,
3283
+ G as PhaseSType,
3284
+ At as TowerFZInfo,
3285
+ ct as TowerInfo,
3286
+ lt as TowerLineInfo,
3287
+ V as TowerType,
3288
+ ut as TreeType,
3289
+ p as WairnumType,
3290
+ Cs as drawModel
3180
3291
  };