ow-eengine-power 2.4.2 → 2.4.3

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,37 +1,37 @@
1
- var gs = Object.defineProperty;
2
- var ms = (W, o, i) => o in W ? gs(W, o, { enumerable: !0, configurable: !0, writable: !0, value: i }) : W[o] = i;
3
- var p = (W, o, i) => ms(W, typeof o != "symbol" ? o + "" : o, i);
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);
4
4
  import * as n from "cesium";
5
- import { Color as J, HeightReference as bs, LabelStyle as _s } from "cesium";
6
- function vs(W, o, i = {}) {
5
+ import { Color as V, HeightReference as Ms, LabelStyle as ks } from "cesium";
6
+ function Ss(a, o, i = {}) {
7
7
  const {
8
- color: f = J.WHITE,
8
+ color: r = V.WHITE,
9
9
  width: s = 3,
10
10
  clampToGround: C = !1,
11
- zIndex: a = 0,
11
+ zIndex: W = 0,
12
12
  dashed: L = !1,
13
- dashLength: A = 10
13
+ dashLength: p = 10
14
14
  } = i, d = L ? new n.PolylineDashMaterialProperty({
15
- color: f,
16
- dashLength: A
17
- }) : new n.ColorMaterialProperty(f);
18
- return W.entities.add({
15
+ color: r,
16
+ dashLength: p
17
+ }) : new n.ColorMaterialProperty(r);
18
+ return a.entities.add({
19
19
  polyline: {
20
20
  positions: o,
21
21
  width: s,
22
22
  material: d,
23
23
  clampToGround: C,
24
- zIndex: a
24
+ zIndex: W
25
25
  }
26
26
  });
27
27
  }
28
- function r(W, o, i = 10, f = "#ba1919", s, C = !1) {
29
- const a = {
28
+ function h(a, o, i = 10, r = "#ba1919", s, C = !1) {
29
+ const W = {
30
30
  show: !0,
31
- positions: W,
31
+ positions: a,
32
32
  clampToGround: C,
33
33
  width: i,
34
- material: n.Color.fromCssColorString(f),
34
+ material: n.Color.fromCssColorString(r),
35
35
  arcType: n.ArcType.NONE,
36
36
  shadows: n.ShadowMode.DISABLED,
37
37
  // 关键优化:减少动态采样,提升静态线性能
@@ -39,7 +39,7 @@ function r(W, o, i = 10, f = "#ba1919", s, C = !1) {
39
39
  // 贴地线需要采样,空间线则无需
40
40
  };
41
41
  let L;
42
- return L = [0, 1e5], a.distanceDisplayCondition = new n.DistanceDisplayCondition(
42
+ return L = [0, 1e5], W.distanceDisplayCondition = new n.DistanceDisplayCondition(
43
43
  L[0],
44
44
  L[1]
45
45
  ), {
@@ -54,13 +54,13 @@ function r(W, o, i = 10, f = "#ba1919", s, C = !1) {
54
54
  // 标签可视距离通常比线本身更近
55
55
  )
56
56
  },
57
- polyline: a
57
+ polyline: W
58
58
  };
59
59
  }
60
- function ks(W, o, i, f, s = new n.HeadingPitchRoll(0, 0, 0), C = 1, a) {
60
+ function Zs(a, o, i, r, s = new n.HeadingPitchRoll(0, 0, 0), C = 1, W) {
61
61
  const L = {
62
62
  show: !0,
63
- uri: f,
63
+ uri: r,
64
64
  scale: C,
65
65
  // // 添加渐变过渡
66
66
  // minimumPixelSize: 64, // 最小像素尺寸
@@ -71,11 +71,11 @@ function ks(W, o, i, f, s = new n.HeadingPitchRoll(0, 0, 0), C = 1, a) {
71
71
  scale: !0
72
72
  }
73
73
  };
74
- return a && (Array.isArray(a) ? L.distanceDisplayCondition = new n.DistanceDisplayCondition(
75
- a[0],
76
- a[1]
77
- ) : L.distanceDisplayCondition = a), {
78
- id: W,
74
+ return W && (Array.isArray(W) ? L.distanceDisplayCondition = new n.DistanceDisplayCondition(
75
+ W[0],
76
+ W[1]
77
+ ) : L.distanceDisplayCondition = W), {
78
+ id: a,
79
79
  name: i,
80
80
  position: o,
81
81
  orientation: n.Transforms.headingPitchRollQuaternion(
@@ -85,16 +85,16 @@ function ks(W, o, i, f, s = new n.HeadingPitchRoll(0, 0, 0), C = 1, a) {
85
85
  model: L
86
86
  };
87
87
  }
88
- function is(W, o, i, f = {}) {
88
+ function es(a, o, i, r = {}) {
89
89
  const {
90
- pointColor: s = J.YELLOW,
90
+ pointColor: s = V.YELLOW,
91
91
  pointSize: C = 12,
92
- labelColor: a = J.WHITE,
92
+ labelColor: W = V.WHITE,
93
93
  fontSize: L = 16,
94
- pixelOffset: A = [0, -20],
95
- heightReference: d = bs.NONE
96
- } = f;
97
- return W.entities.add({
94
+ pixelOffset: p = [0, -20],
95
+ heightReference: d = Ms.NONE
96
+ } = r;
97
+ return a.entities.add({
98
98
  position: o,
99
99
  point: {
100
100
  color: s,
@@ -106,116 +106,116 @@ function is(W, o, i, f = {}) {
106
106
  label: {
107
107
  text: i,
108
108
  font: `${L}px sans-serif`,
109
- fillColor: a,
110
- pixelOffset: new n.Cartesian2(...A),
111
- style: _s.FILL_AND_OUTLINE,
109
+ fillColor: W,
110
+ pixelOffset: new n.Cartesian2(...p),
111
+ style: ks.FILL_AND_OUTLINE,
112
112
  outlineWidth: 2,
113
- outlineColor: J.BLACK,
113
+ outlineColor: V.BLACK,
114
114
  heightReference: d,
115
115
  distanceDisplayCondition: new n.DistanceDisplayCondition(0, 100)
116
116
  // 显示距离范围
117
117
  }
118
118
  });
119
119
  }
120
- var N = 63710088e-1, As = {
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,
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,
134
134
  radians: 1,
135
- yards: N * 1.0936
135
+ yards: G * 1.0936
136
136
  };
137
- function x(W, o, i) {
137
+ function is(a, o, i) {
138
138
  i === void 0 && (i = {});
139
- var f = { type: "Feature" };
140
- return (i.id === 0 || i.id) && (f.id = i.id), i.bbox && (f.bbox = i.bbox), f.properties = o || {}, f.geometry = W, f;
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;
141
141
  }
142
- function V(W, o, i) {
143
- if (i === void 0 && (i = {}), !W)
142
+ function U(a, o, i) {
143
+ if (i === void 0 && (i = {}), !a)
144
144
  throw new Error("coordinates is required");
145
- if (!Array.isArray(W))
145
+ if (!Array.isArray(a))
146
146
  throw new Error("coordinates must be an Array");
147
- if (W.length < 2)
147
+ if (a.length < 2)
148
148
  throw new Error("coordinates must be at least 2 numbers long");
149
- if (!ls(W[0]) || !ls(W[1]))
149
+ if (!Ts(a[0]) || !Ts(a[1]))
150
150
  throw new Error("coordinates must contain numbers");
151
- var f = {
151
+ var r = {
152
152
  type: "Point",
153
- coordinates: W
153
+ coordinates: a
154
154
  };
155
- return x(f, o, i);
155
+ return is(r, o, i);
156
156
  }
157
- function K(W, o, i) {
158
- if (i === void 0 && (i = {}), W.length < 2)
157
+ function J(a, o, i) {
158
+ if (i === void 0 && (i = {}), a.length < 2)
159
159
  throw new Error("coordinates must be an array of two or more positions");
160
- var f = {
160
+ var r = {
161
161
  type: "LineString",
162
- coordinates: W
162
+ coordinates: a
163
163
  };
164
- return x(f, o, i);
164
+ return is(r, o, i);
165
165
  }
166
- function Ms(W, o) {
166
+ function Rs(a, o) {
167
167
  o === void 0 && (o = {});
168
168
  var i = { type: "FeatureCollection" };
169
- return o.id && (i.id = o.id), o.bbox && (i.bbox = o.bbox), i.features = W, i;
169
+ return o.id && (i.id = o.id), o.bbox && (i.bbox = o.bbox), i.features = a, i;
170
170
  }
171
- function ps(W, o) {
171
+ function Is(a, o) {
172
172
  o === void 0 && (o = "kilometers");
173
- var i = As[o];
173
+ var i = ws[o];
174
174
  if (!i)
175
175
  throw new Error(o + " units is invalid");
176
- return W * i;
176
+ return a * i;
177
177
  }
178
- function ws(W, o) {
178
+ function ds(a, o) {
179
179
  o === void 0 && (o = "kilometers");
180
- var i = As[o];
180
+ var i = ws[o];
181
181
  if (!i)
182
182
  throw new Error(o + " units is invalid");
183
- return W / i;
183
+ return a / i;
184
184
  }
185
- function fs(W) {
186
- var o = W % (2 * Math.PI);
185
+ function Ws(a) {
186
+ var o = a % (2 * Math.PI);
187
187
  return o * 180 / Math.PI;
188
188
  }
189
- function $(W) {
190
- var o = W % 360;
189
+ function K(a) {
190
+ var o = a % 360;
191
191
  return o * Math.PI / 180;
192
192
  }
193
- function Ls(W, o, i) {
194
- if (o === void 0 && (o = "kilometers"), i === void 0 && (i = "kilometers"), !(W >= 0))
193
+ function Bs(a, o, i) {
194
+ if (o === void 0 && (o = "kilometers"), i === void 0 && (i = "kilometers"), !(a >= 0))
195
195
  throw new Error("length must be a positive number");
196
- return ps(ws(W, o), i);
196
+ return Is(ds(a, o), i);
197
197
  }
198
- function ls(W) {
199
- return !isNaN(W) && W !== null && !Array.isArray(W);
198
+ function Ts(a) {
199
+ return !isNaN(a) && a !== null && !Array.isArray(a);
200
200
  }
201
- function Ss(W) {
202
- return !!W && W.constructor === Object;
201
+ function Es(a) {
202
+ return !!a && a.constructor === Object;
203
203
  }
204
- function Is(W, o, i) {
205
- if (W !== null)
206
- for (var f, s, C, a, L, A, d, t = 0, l = 0, u, e = W.type, c = e === "FeatureCollection", B = e === "Feature", m = c ? W.features.length : 1, b = 0; b < m; b++) {
207
- d = c ? W.features[b].geometry : B ? W.geometry : W, u = d ? d.type === "GeometryCollection" : !1, L = u ? d.geometries.length : 1;
208
- for (var w = 0; w < L; w++) {
204
+ function Ps(a, o, i) {
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;
208
+ for (var I = 0; I < L; I++) {
209
209
  var P = 0, g = 0;
210
- if (a = u ? d.geometries[w] : d, a !== null) {
211
- A = a.coordinates;
212
- var y = a.type;
210
+ if (W = u ? d.geometries[I] : d, W !== null) {
211
+ p = W.coordinates;
212
+ var y = W.type;
213
213
  switch (t = 0, y) {
214
214
  case null:
215
215
  break;
216
216
  case "Point":
217
217
  if (o(
218
- A,
218
+ p,
219
219
  l,
220
220
  b,
221
221
  P,
@@ -226,9 +226,9 @@ function Is(W, o, i) {
226
226
  break;
227
227
  case "LineString":
228
228
  case "MultiPoint":
229
- for (f = 0; f < A.length; f++) {
229
+ for (r = 0; r < p.length; r++) {
230
230
  if (o(
231
- A[f],
231
+ p[r],
232
232
  l,
233
233
  b,
234
234
  P,
@@ -241,10 +241,10 @@ function Is(W, o, i) {
241
241
  break;
242
242
  case "Polygon":
243
243
  case "MultiLineString":
244
- for (f = 0; f < A.length; f++) {
245
- for (s = 0; s < A[f].length - t; s++) {
244
+ for (r = 0; r < p.length; r++) {
245
+ for (s = 0; s < p[r].length - t; s++) {
246
246
  if (o(
247
- A[f][s],
247
+ p[r][s],
248
248
  l,
249
249
  b,
250
250
  P,
@@ -258,11 +258,11 @@ function Is(W, o, i) {
258
258
  y === "Polygon" && P++;
259
259
  break;
260
260
  case "MultiPolygon":
261
- for (f = 0; f < A.length; f++) {
262
- for (g = 0, s = 0; s < A[f].length; s++) {
263
- for (C = 0; C < A[f][s].length - t; C++) {
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
264
  if (o(
265
- A[f][s][C],
265
+ p[r][s][C],
266
266
  l,
267
267
  b,
268
268
  P,
@@ -277,8 +277,8 @@ function Is(W, o, i) {
277
277
  }
278
278
  break;
279
279
  case "GeometryCollection":
280
- for (f = 0; f < a.geometries.length; f++)
281
- if (Is(a.geometries[f], o) === !1)
280
+ for (r = 0; r < W.geometries.length; r++)
281
+ if (Ps(W.geometries[r], o) === !1)
282
282
  return !1;
283
283
  break;
284
284
  default:
@@ -288,18 +288,18 @@ function Is(W, o, i) {
288
288
  }
289
289
  }
290
290
  }
291
- function Zs(W, o) {
292
- if (W.type === "Feature")
293
- o(W, 0);
294
- else if (W.type === "FeatureCollection")
295
- for (var i = 0; i < W.features.length && o(W.features[i], i) !== !1; i++)
291
+ function Xs(a, o) {
292
+ if (a.type === "Feature")
293
+ o(a, 0);
294
+ else if (a.type === "FeatureCollection")
295
+ for (var i = 0; i < a.features.length && o(a.features[i], i) !== !1; i++)
296
296
  ;
297
297
  }
298
- function Rs(W, o) {
299
- var i, f, s, C, a, L, A, d, t, l, u = 0, e = W.type === "FeatureCollection", c = W.type === "Feature", B = e ? W.features.length : 1;
300
- for (i = 0; i < B; i++) {
301
- for (L = e ? W.features[i].geometry : c ? W.geometry : W, d = e ? W.features[i].properties : c ? W.properties : {}, t = e ? W.features[i].bbox : c ? W.bbox : void 0, l = e ? W.features[i].id : c ? W.id : void 0, A = L ? L.type === "GeometryCollection" : !1, a = A ? L.geometries.length : 1, s = 0; s < a; s++) {
302
- if (C = A ? L.geometries[s] : L, C === null) {
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
303
  if (o(
304
304
  null,
305
305
  u,
@@ -328,9 +328,9 @@ function Rs(W, o) {
328
328
  break;
329
329
  }
330
330
  case "GeometryCollection": {
331
- for (f = 0; f < C.geometries.length; f++)
331
+ for (r = 0; r < C.geometries.length; r++)
332
332
  if (o(
333
- C.geometries[f],
333
+ C.geometries[r],
334
334
  u,
335
335
  d,
336
336
  t,
@@ -346,8 +346,8 @@ function Rs(W, o) {
346
346
  u++;
347
347
  }
348
348
  }
349
- function Es(W, o) {
350
- Rs(W, function(i, f, s, C, a) {
349
+ function Fs(a, o) {
350
+ Ys(a, function(i, r, s, C, W) {
351
351
  var L = i === null ? null : i.type;
352
352
  switch (L) {
353
353
  case null:
@@ -355,56 +355,56 @@ function Es(W, o) {
355
355
  case "LineString":
356
356
  case "Polygon":
357
357
  return o(
358
- x(i, s, { bbox: C, id: a }),
359
- f,
358
+ is(i, s, { bbox: C, id: W }),
359
+ r,
360
360
  0
361
361
  ) === !1 ? !1 : void 0;
362
362
  }
363
- var A;
363
+ var p;
364
364
  switch (L) {
365
365
  case "MultiPoint":
366
- A = "Point";
366
+ p = "Point";
367
367
  break;
368
368
  case "MultiLineString":
369
- A = "LineString";
369
+ p = "LineString";
370
370
  break;
371
371
  case "MultiPolygon":
372
- A = "Polygon";
372
+ p = "Polygon";
373
373
  break;
374
374
  }
375
375
  for (var d = 0; d < i.coordinates.length; d++) {
376
376
  var t = i.coordinates[d], l = {
377
- type: A,
377
+ type: p,
378
378
  coordinates: t
379
379
  };
380
- if (o(x(l, s), f, d) === !1)
380
+ if (o(is(l, s), r, d) === !1)
381
381
  return !1;
382
382
  }
383
383
  });
384
384
  }
385
- function Xs(W, o) {
386
- Es(W, function(i, f, s) {
385
+ function Ds(a, o) {
386
+ Fs(a, function(i, r, s) {
387
387
  var C = 0;
388
388
  if (i.geometry) {
389
- var a = i.geometry.type;
390
- if (!(a === "Point" || a === "MultiPoint")) {
391
- var L, A = 0, d = 0, t = 0;
392
- if (Is(
389
+ var W = i.geometry.type;
390
+ if (!(W === "Point" || W === "MultiPoint")) {
391
+ var L, p = 0, d = 0, t = 0;
392
+ if (Ps(
393
393
  i,
394
- function(l, u, e, c, B) {
395
- if (L === void 0 || f > A || c > d || B > t) {
396
- L = l, A = f, d = c, t = B, C = 0;
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;
397
397
  return;
398
398
  }
399
- var m = K(
399
+ var m = J(
400
400
  [L, l],
401
401
  i.properties
402
402
  );
403
403
  if (o(
404
404
  m,
405
- f,
405
+ r,
406
406
  s,
407
- B,
407
+ c,
408
408
  C
409
409
  ) === !1)
410
410
  return !1;
@@ -416,43 +416,43 @@ function Xs(W, o) {
416
416
  }
417
417
  });
418
418
  }
419
- function Q(W) {
420
- if (!W)
419
+ function x(a) {
420
+ if (!a)
421
421
  throw new Error("coord is required");
422
- if (!Array.isArray(W)) {
423
- if (W.type === "Feature" && W.geometry !== null && W.geometry.type === "Point")
424
- return W.geometry.coordinates;
425
- if (W.type === "Point")
426
- return W.coordinates;
427
- }
428
- if (Array.isArray(W) && W.length >= 2 && !Array.isArray(W[0]) && !Array.isArray(W[1]))
429
- return W;
422
+ if (!Array.isArray(a)) {
423
+ if (a.type === "Feature" && a.geometry !== null && a.geometry.type === "Point")
424
+ return a.geometry.coordinates;
425
+ if (a.type === "Point")
426
+ return a.coordinates;
427
+ }
428
+ if (Array.isArray(a) && a.length >= 2 && !Array.isArray(a[0]) && !Array.isArray(a[1]))
429
+ return a;
430
430
  throw new Error("coord must be GeoJSON Point or an Array of numbers");
431
431
  }
432
- function us(W, o, i) {
433
- if (!W)
432
+ function Cs(a, o, i) {
433
+ if (!a)
434
434
  throw new Error("No feature passed");
435
435
  if (!i)
436
436
  throw new Error(".featureOf() requires a name");
437
- if (!W || W.type !== "Feature" || !W.geometry)
437
+ if (!a || a.type !== "Feature" || !a.geometry)
438
438
  throw new Error("Invalid input to " + i + ", Feature with geometry required");
439
- if (!W.geometry || W.geometry.type !== o)
440
- throw new Error("Invalid input to " + i + ": must be a " + o + ", given " + W.geometry.type);
439
+ if (!a.geometry || a.geometry.type !== o)
440
+ throw new Error("Invalid input to " + i + ": must be a " + o + ", given " + a.geometry.type);
441
441
  }
442
- var ss = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
443
- function j(W, o, i) {
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
444
  i === void 0 && (i = {});
445
- var f = Q(W), s = Q(o), C = $(s[1] - f[1]), a = $(s[0] - f[0]), L = $(f[1]), A = $(s[1]), d = Math.pow(Math.sin(C / 2), 2) + Math.pow(Math.sin(a / 2), 2) * Math.cos(L) * Math.cos(A);
446
- return ps(2 * Math.atan2(Math.sqrt(d), Math.sqrt(1 - d)), i.units);
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);
447
447
  }
448
- function Ys(W) {
449
- if (!W)
448
+ function Hs(a) {
449
+ if (!a)
450
450
  throw new Error("geojson is required");
451
- switch (W.type) {
451
+ switch (a.type) {
452
452
  case "Feature":
453
- return ds(W);
453
+ return ys(a);
454
454
  case "FeatureCollection":
455
- return Fs(W);
455
+ return Os(a);
456
456
  case "Point":
457
457
  case "LineString":
458
458
  case "Polygon":
@@ -460,194 +460,194 @@ function Ys(W) {
460
460
  case "MultiLineString":
461
461
  case "MultiPolygon":
462
462
  case "GeometryCollection":
463
- return Ws(W);
463
+ return cs(a);
464
464
  default:
465
465
  throw new Error("unknown GeoJSON type");
466
466
  }
467
467
  }
468
- function ds(W) {
468
+ function ys(a) {
469
469
  var o = { type: "Feature" };
470
- return Object.keys(W).forEach(function(i) {
470
+ return Object.keys(a).forEach(function(i) {
471
471
  switch (i) {
472
472
  case "type":
473
473
  case "properties":
474
474
  case "geometry":
475
475
  return;
476
476
  default:
477
- o[i] = W[i];
477
+ o[i] = a[i];
478
478
  }
479
- }), o.properties = Bs(W.properties), o.geometry = Ws(W.geometry), o;
479
+ }), o.properties = gs(a.properties), o.geometry = cs(a.geometry), o;
480
480
  }
481
- function Bs(W) {
481
+ function gs(a) {
482
482
  var o = {};
483
- return W && Object.keys(W).forEach(function(i) {
484
- var f = W[i];
485
- typeof f == "object" ? f === null ? o[i] = null : Array.isArray(f) ? o[i] = f.map(function(s) {
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) {
486
486
  return s;
487
- }) : o[i] = Bs(f) : o[i] = f;
487
+ }) : o[i] = gs(r) : o[i] = r;
488
488
  }), o;
489
489
  }
490
- function Fs(W) {
490
+ function Os(a) {
491
491
  var o = { type: "FeatureCollection" };
492
- return Object.keys(W).forEach(function(i) {
492
+ return Object.keys(a).forEach(function(i) {
493
493
  switch (i) {
494
494
  case "type":
495
495
  case "features":
496
496
  return;
497
497
  default:
498
- o[i] = W[i];
498
+ o[i] = a[i];
499
499
  }
500
- }), o.features = W.features.map(function(i) {
501
- return ds(i);
500
+ }), o.features = a.features.map(function(i) {
501
+ return ys(i);
502
502
  }), o;
503
503
  }
504
- function Ws(W) {
505
- var o = { type: W.type };
506
- return W.bbox && (o.bbox = W.bbox), W.type === "GeometryCollection" ? (o.geometries = W.geometries.map(function(i) {
507
- return Ws(i);
508
- }), o) : (o.coordinates = Ps(W.coordinates), o);
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
509
  }
510
- function Ps(W) {
511
- var o = W;
510
+ function ms(a) {
511
+ var o = a;
512
512
  return typeof o[0] != "object" ? o.slice() : o.map(function(i) {
513
- return Ps(i);
513
+ return ms(i);
514
514
  });
515
515
  }
516
- function ns(W, o, i, f) {
517
- f === void 0 && (f = {});
518
- var s = Q(W), C = $(s[0]), a = $(s[1]), L = $(i), A = ws(o, f.units), d = Math.asin(Math.sin(a) * Math.cos(A) + Math.cos(a) * Math.sin(A) * Math.cos(L)), t = C + Math.atan2(Math.sin(L) * Math.sin(A) * Math.cos(a), Math.cos(A) - Math.sin(a) * Math.sin(d)), l = fs(t), u = fs(d);
519
- return V([l, u], f.properties);
516
+ function ls(a, o, i, r) {
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);
519
+ return U([l, u], r.properties);
520
520
  }
521
- function os(W, o, i) {
521
+ function hs(a, o, i) {
522
522
  if (i === void 0 && (i = {}), i.final === !0)
523
- return Ds(W, o);
524
- var f = Q(W), s = Q(o), C = $(f[0]), a = $(s[0]), L = $(f[1]), A = $(s[1]), d = Math.sin(a - C) * Math.cos(A), t = Math.cos(L) * Math.sin(A) - Math.sin(L) * Math.cos(A) * Math.cos(a - C);
525
- return fs(Math.atan2(d, t));
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));
526
526
  }
527
- function Ds(W, o) {
528
- var i = os(o, W);
527
+ function Ns(a, o) {
528
+ var i = hs(o, a);
529
529
  return i = (i + 180) % 360, i;
530
530
  }
531
- function Hs(W, o) {
532
- var i = j(W, o), f = os(W, o), s = ns(W, i / 2, f);
531
+ function Gs(a, o) {
532
+ var i = ss(a, o), r = hs(a, o), s = ls(a, i / 2, r);
533
533
  return s;
534
534
  }
535
- function Os(W, o) {
536
- if (!W)
535
+ function zs(a, o) {
536
+ if (!a)
537
537
  throw new Error("targetPoint is required");
538
538
  if (!o)
539
539
  throw new Error("points is required");
540
- var i, f = 1 / 0, s = 0;
541
- return Zs(o, function(C, a) {
542
- var L = j(W, C);
543
- L < f && (s = a, f = L);
544
- }), i = Ys(o.features[s]), i.properties.featureIndex = s, i.properties.distanceToPoint = f, i;
540
+ var i, r = 1 / 0, s = 0;
541
+ return Xs(o, function(C, W) {
542
+ var L = ss(a, C);
543
+ L < r && (s = W, r = L);
544
+ }), i = Hs(o.features[s]), i.properties.featureIndex = s, i.properties.distanceToPoint = r, i;
545
545
  }
546
- function Ns(W, o, i) {
546
+ function $s(a, o, i) {
547
547
  i === void 0 && (i = {});
548
- var f = Q(W), s = Q(o);
549
- s[0] += s[0] - f[0] > 180 ? -360 : f[0] - s[0] > 180 ? 360 : 0;
550
- var C = Gs(f, s), a = Ls(C, "meters", i.units);
551
- return a;
552
- }
553
- function Gs(W, o, i) {
554
- i = i === void 0 ? N : Number(i);
555
- var f = i, s = W[1] * Math.PI / 180, C = o[1] * Math.PI / 180, a = C - s, L = Math.abs(o[0] - W[0]) * Math.PI / 180;
548
+ var r = x(a), s = x(o);
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);
551
+ return W;
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;
556
556
  L > Math.PI && (L -= 2 * Math.PI);
557
- var A = Math.log(Math.tan(C / 2 + Math.PI / 4) / Math.tan(s / 2 + Math.PI / 4)), d = Math.abs(A) > 1e-11 ? a / A : Math.cos(s), t = Math.sqrt(a * a + d * d * L * L), l = t * f;
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;
558
558
  return l;
559
559
  }
560
- function rs(W, o, i) {
561
- if (i === void 0 && (i = {}), i.method || (i.method = "geodesic"), i.units || (i.units = "kilometers"), !W)
560
+ function fs(a, o, i) {
561
+ if (i === void 0 && (i = {}), i.method || (i.method = "geodesic"), i.units || (i.units = "kilometers"), !a)
562
562
  throw new Error("pt is required");
563
- if (Array.isArray(W) ? W = V(W) : W.type === "Point" ? W = x(W) : us(W, "Point", "point"), !o)
563
+ if (Array.isArray(a) ? a = U(a) : a.type === "Point" ? a = is(a) : Cs(a, "Point", "point"), !o)
564
564
  throw new Error("line is required");
565
- Array.isArray(o) ? o = K(o) : o.type === "LineString" ? o = x(o) : us(o, "LineString", "line");
566
- var f = 1 / 0, s = W.geometry.coordinates;
567
- return Xs(o, function(C) {
568
- var a = C.geometry.coordinates[0], L = C.geometry.coordinates[1], A = zs(s, a, L, i);
569
- A < f && (f = A);
570
- }), Ls(f, "degrees", i.units);
571
- }
572
- function zs(W, o, i, f) {
573
- var s = [i[0] - o[0], i[1] - o[1]], C = [W[0] - o[0], W[1] - o[1]], a = cs(C, s);
574
- if (a <= 0)
575
- return hs(W, o, { method: f.method, units: "degrees" });
576
- var L = cs(s, s);
577
- if (L <= a)
578
- return hs(W, i, { method: f.method, units: "degrees" });
579
- var A = a / L, d = [o[0] + A * s[0], o[1] + A * s[1]];
580
- return hs(W, d, { method: f.method, units: "degrees" });
581
- }
582
- function cs(W, o) {
583
- return W[0] * o[0] + W[1] * o[1];
584
- }
585
- function hs(W, o, i) {
586
- return i.method === "planar" ? Ns(W, o, i) : j(W, o, i);
587
- }
588
- function $s(W, o, i, f) {
589
- if (f = f || {}, !Ss(f)) throw new Error("options is invalid");
565
+ Array.isArray(o) ? o = J(o) : o.type === "LineString" ? o = is(o) : Cs(o, "LineString", "line");
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);
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);
574
+ if (W <= 0)
575
+ return ns(a, o, { method: r.method, units: "degrees" });
576
+ var L = As(s, s);
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" });
581
+ }
582
+ function As(a, o) {
583
+ return a[0] * o[0] + a[1] * o[1];
584
+ }
585
+ function ns(a, o, i) {
586
+ return i.method === "planar" ? $s(a, o, i) : ss(a, o, i);
587
+ }
588
+ function Js(a, o, i, r) {
589
+ if (r = r || {}, !Es(r)) throw new Error("options is invalid");
590
590
  var s, C = [];
591
- if (W.type === "Feature") s = W.geometry.coordinates;
592
- else if (W.type === "LineString") s = W.coordinates;
591
+ if (a.type === "Feature") s = a.geometry.coordinates;
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 a = s.length, L = 0, A, d, t, l = 0; l < s.length && !(o >= L && l === s.length - 1); l++) {
594
+ for (var W = s.length, L = 0, p, d, t, l = 0; l < s.length && !(o >= L && l === s.length - 1); l++) {
595
595
  if (L > o && C.length === 0) {
596
- if (A = o - L, !A)
597
- return C.push(s[l]), K(C);
598
- d = os(s[l], s[l - 1]) - 180, t = ns(s[l], A, d, f), C.push(t.geometry.coordinates);
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);
599
599
  }
600
600
  if (L >= i)
601
- return A = i - L, A ? (d = os(s[l], s[l - 1]) - 180, t = ns(s[l], A, d, f), C.push(t.geometry.coordinates), K(C)) : (C.push(s[l]), K(C));
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
602
  if (L >= o && C.push(s[l]), l === s.length - 1)
603
- return K(C);
604
- L += j(s[l], s[l + 1], f);
603
+ return J(C);
604
+ L += ss(s[l], s[l + 1], r);
605
605
  }
606
- if (L < o && s.length === a)
606
+ if (L < o && s.length === W)
607
607
  throw new Error("Start position is beyond line");
608
608
  var u = s[s.length - 1];
609
- return K([u, u]);
609
+ return J([u, u]);
610
610
  }
611
- const U = { units: "kilometers" };
612
- function qs(W, o, i, f) {
613
- var { nearestDistance: s } = ts(W, o), { nearestDistance: C } = ts(W, f), { nearestDistance: a } = ts(W, i);
614
- const L = Math.min(s, a, C);
615
- return L === s ? o : L === a ? i : f;
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;
616
616
  }
617
- const Ks = (W, o, i) => {
617
+ const Us = (a, o, i) => {
618
618
  debugger;
619
- const f = V(W.slice(0, 2)), { nearestCoord: s } = ts(W, o), C = o.findIndex(
619
+ const r = U(a.slice(0, 2)), { nearestCoord: s } = os(a, o), C = o.findIndex(
620
620
  (S) => S[0] == s[0] && S[1] == s[1]
621
621
  );
622
- let a = [];
622
+ let W = [];
623
623
  if (C == 0)
624
- a.push(o[0], o[1]);
624
+ W.push(o[0], o[1]);
625
625
  else if (C == o.length - 1)
626
- a.push(o[o.length - 2], o[o.length - 1]);
626
+ W.push(o[o.length - 2], o[o.length - 1]);
627
627
  else {
628
- const S = [o[C], o[C + 1]], X = [o[C - 1], o[C]];
629
- var L = rs(f, K(S), U), A = rs(f, K(X), U);
630
- a = L > A ? X : S;
631
- }
632
- console.log("附近的点", C, a);
633
- const d = K([a[0].slice(0, 2), a[1].slice(0, 2)]), t = V(a[0].slice(0, 2)), l = V(a[1].slice(0, 2));
634
- var u = rs(f, d, U), e = j(f, t, U) || 0, c = Math.sqrt(e * e - u * u) || 0;
635
- let B = a[0].slice(0, 2);
636
- c > 0 && (B = $s(d, 0, c, U).geometry.coordinates[1]);
637
- const m = j(t, l, U), b = Math.abs(a[0][2] - a[1][2]), w = Math.min(a[0][2], a[1][2]), P = Math.max(a[0][2], a[1][2]), g = a[0][2] > a[1][2] ? P - c / m * b : c / m * b + w;
638
- console.log("高度差>>>>", b), console.log("最小高度>>>>", w);
639
- const y = g - W[2], _ = u * 1e3, v = Math.sqrt(_ * _ + y * y);
628
+ const S = [o[C], o[C + 1]], Y = [o[C - 1], o[C]];
629
+ var L = fs(r, J(S), j), p = fs(r, J(Y), j);
630
+ W = L > p ? Y : S;
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;
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;
638
+ console.log("高度差>>>>", b), console.log("最小高度>>>>", I);
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 M = n.Cartesian3.fromDegrees(
642
- W[0],
643
- W[1],
644
- W[2]
645
- ), k = n.Cartesian3.fromDegrees(B[0], B[1], g);
646
- var Z = Hs(
647
- V([W[0], W[1]]),
648
- V([B[0], B[1]])
641
+ const k = n.Cartesian3.fromDegrees(
642
+ a[0],
643
+ a[1],
644
+ a[2]
645
+ ), M = n.Cartesian3.fromDegrees(c[0], c[1], g);
646
+ var Z = Gs(
647
+ U([a[0], a[1]]),
648
+ U([c[0], c[1]])
649
649
  ).geometry.coordinates;
650
- const Y = {
650
+ const F = {
651
651
  position: n.Cartesian3.fromDegrees(
652
652
  Z[0],
653
653
  Z[1],
@@ -663,8 +663,8 @@ const Ks = (W, o, i) => {
663
663
  disableDepthTestDistance: Number.POSITIVE_INFINITY
664
664
  }
665
665
  }, R = [];
666
- R.push(M), R.push(k);
667
- var F = {
666
+ R.push(k), R.push(M);
667
+ var D = {
668
668
  polyline: {
669
669
  show: !0,
670
670
  // 定义线条的 Cartesian3 位置的数组
@@ -692,351 +692,445 @@ const Ks = (W, o, i) => {
692
692
  // zIndex: 0,
693
693
  }
694
694
  };
695
- i.add(Y), i.add(F);
695
+ i.add(F), i.add(D);
696
696
  };
697
- function ts(W, o) {
698
- const i = V(W.slice(0, 2)), f = [];
697
+ function os(a, o) {
698
+ const i = U(a.slice(0, 2)), r = [];
699
699
  o.forEach((L) => {
700
- f.push(V([L[0], L[1]]));
700
+ r.push(U([L[0], L[1]]));
701
701
  });
702
- const s = Ms(
703
- f
704
- ), C = Os(i, s), a = j(i, C, U);
702
+ const s = Rs(
703
+ r
704
+ ), C = zs(i, s), W = ss(i, C, j);
705
705
  return {
706
706
  nearestCoord: C.geometry.coordinates,
707
- nearestDistance: a
707
+ nearestDistance: W
708
708
  };
709
709
  }
710
- function I(W, o, i, f, s) {
710
+ function B(a, o, i, r, s) {
711
711
  i || (i = new n.HeadingPitchRoll());
712
712
  const C = n.Transforms.headingPitchRollQuaternion(
713
- W,
713
+ a,
714
714
  i,
715
- f,
715
+ r,
716
716
  s
717
- ), a = n.Matrix4.fromRotationTranslation(
717
+ ), W = n.Matrix4.fromRotationTranslation(
718
718
  n.Matrix3.fromQuaternion(C, new n.Matrix3()),
719
- W,
719
+ a,
720
720
  new n.Matrix4()
721
721
  );
722
722
  return n.Matrix4.multiplyByPoint(
723
- a,
723
+ W,
724
724
  o,
725
725
  new n.Cartesian3()
726
726
  );
727
727
  }
728
- function z(W, o) {
729
- var i = W.cartesianToCartographic(o), f = n.Math.toDegrees(i.latitude), s = n.Math.toDegrees(i.longitude), C = i.height;
730
- return [s, f, C];
728
+ function q(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];
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;
731
736
  }
732
- function h(W, o = 6) {
737
+ function f(a, o = 6) {
733
738
  const i = [];
734
- for (var f = 0; f < W.length - 1; f++)
739
+ for (var r = 0; r < a.length - 1; r++)
735
740
  i.push(
736
- ...Js(W[f], W[f + 1], o * -1e3, 100)
741
+ ...Qs(a[r], a[r + 1], o * -1e3, 100)
737
742
  );
738
743
  return i;
739
744
  }
740
- function Js(W, o, i, f) {
741
- var s = [], C = n.Cartographic.fromCartesian(W), a = n.Cartographic.fromCartesian(o), L = C.longitude * 180 / Math.PI, A = C.latitude * 180 / Math.PI, d = a.longitude * 180 / Math.PI, t = a.latitude * 180 / Math.PI, l = Math.sqrt(
742
- (L - d) * (L - d) + (A - t) * (A - t)
743
- ), u = l * i, e = n.Cartesian3.clone(W), c = n.Cartesian3.clone(o), B = n.Cartesian3.distance(
744
- e,
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
750
  n.Cartesian3.ZERO
746
- ), m = n.Cartesian3.distance(c, n.Cartesian3.ZERO);
747
- if (n.Cartesian3.normalize(e, e), n.Cartesian3.normalize(c, c), n.Cartesian3.distance(e, c) == 0)
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)
748
753
  return s;
749
- var b = n.Cartesian3.angleBetween(e, c);
750
- s.push(W);
751
- for (var w = 1; w < f - 1; w++) {
752
- var P = w * 1 / (f - 1), g = 1 - P, y = Math.sin(g * b) / Math.sin(b), _ = Math.sin(P * b) / Math.sin(b), v = n.Cartesian3.multiplyByScalar(
753
- e,
754
+ var b = n.Cartesian3.angleBetween(T, e);
755
+ s.push(a);
756
+ for (var I = 1; I < r - 1; I++) {
757
+ var P = I * 1 / (r - 1), g = 1 - P, y = Math.sin(g * b) / Math.sin(b), _ = Math.sin(P * b) / Math.sin(b), v = n.Cartesian3.multiplyByScalar(
758
+ T,
754
759
  y,
755
760
  new n.Cartesian3()
756
- ), M = n.Cartesian3.multiplyByScalar(
757
- c,
761
+ ), k = n.Cartesian3.multiplyByScalar(
762
+ e,
758
763
  _,
759
764
  new n.Cartesian3()
760
- ), k = n.Cartesian3.add(
765
+ ), M = n.Cartesian3.add(
761
766
  v,
762
- M,
763
- new n.Cartesian3()
764
- ), Z = P * Math.PI, E = B * g + m * P + Math.sin(Z) * u;
765
- k = n.Cartesian3.multiplyByScalar(
766
767
  k,
767
- E,
768
- k
769
- ), s.push(k);
768
+ new n.Cartesian3()
769
+ ), Z = P * Math.PI, X = c * g + m * P + Math.sin(Z) * u;
770
+ M = n.Cartesian3.multiplyByScalar(
771
+ M,
772
+ X,
773
+ M
774
+ ), s.push(M);
770
775
  }
771
776
  return s.push(o), s;
772
777
  }
773
- class oi {
778
+ function js(a, o, i = 30) {
779
+ const r = a.length;
780
+ if (r <= 2 || o === 0 || o === r - 1)
781
+ return !1;
782
+ const s = Q(
783
+ a[o - 1].Longitude,
784
+ a[o - 1].Latitude,
785
+ a[o].Longitude,
786
+ a[o].Latitude
787
+ );
788
+ let W = Q(
789
+ a[o].Longitude,
790
+ a[o].Latitude,
791
+ a[o + 1].Longitude,
792
+ a[o + 1].Latitude
793
+ ) - s;
794
+ return W > 180 && (W -= 360), W < -180 && (W += 360), Math.abs(W) >= i;
795
+ }
796
+ function as(a, o, i = 2) {
797
+ const r = a.length;
798
+ if (r <= 1)
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
806
+ ) : Q(
807
+ a[o - 1].Longitude,
808
+ a[o - 1].Latitude,
809
+ a[o].Longitude,
810
+ a[o].Latitude
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
819
+ ) : Q(
820
+ a[o].Longitude,
821
+ a[o].Latitude,
822
+ a[o + 1].Longitude,
823
+ a[o + 1].Latitude
824
+ );
825
+ const W = [];
826
+ for (let t = s; t < C; t++) {
827
+ const l = Q(
828
+ a[t].Longitude,
829
+ a[t].Latitude,
830
+ a[t + 1].Longitude,
831
+ a[t + 1].Latitude
832
+ );
833
+ W.push(l);
834
+ }
835
+ if (W.length === 1)
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);
841
+ }
842
+ return (Math.atan2(p, L) * 180 / Math.PI + 360) % 360;
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)
847
+ return (a + 90) % 360;
848
+ let t = Math.atan2(d, p) * 180 / Math.PI;
849
+ return t = (t + 360) % 360, t;
850
+ }
851
+ class ai {
774
852
  constructor() {
775
- p(this, "LineID", "myEntity1");
776
- p(this, "Tag", "");
853
+ w(this, "LineID", "myEntity1");
854
+ w(this, "Tag", "");
777
855
  // 线路杆塔台账
778
- p(this, "towers", []);
856
+ w(this, "towers", []);
779
857
  //是否启用自定义相序 true 按照设置相序分类 false 按照集合顺序分类
780
- p(this, "ISPhaseSequence", !1);
781
- p(this, "Wairnum", 0);
782
- p(this, "Type", 0);
783
- p(this, "Trees", []);
858
+ w(this, "ISPhaseSequence", !1);
859
+ w(this, "Wairnum", 0);
860
+ w(this, "Type", 0);
861
+ w(this, "Trees", []);
784
862
  // 导线颜色
785
- p(this, "wireAColor", "#FFFFFF");
786
- p(this, "wireBColor", "#FFFFFF");
787
- p(this, "wireCColor", "#FFFFFF");
788
- p(this, "wireTColor", "#FFFFFF");
863
+ w(this, "wireAColor", "#FFFFFF");
864
+ w(this, "wireBColor", "#FFFFFF");
865
+ w(this, "wireCColor", "#FFFFFF");
866
+ w(this, "wireTColor", "#FFFFFF");
789
867
  //地线
790
- p(this, "wireD1Color", "#FFFFFF");
791
- p(this, "wireD2Color", "#FFFFFF");
868
+ w(this, "wireD1Color", "#FFFFFF");
869
+ w(this, "wireD2Color", "#FFFFFF");
792
870
  // 导线宽度
793
- p(this, "wireWidth", 1);
871
+ w(this, "wireWidth", 1);
794
872
  //线模型显隐距离
795
- p(this, "LineDistanceDisplaymin", 0);
796
- p(this, "LineDistanceDisplaymax", 5e3);
873
+ w(this, "LineDistanceDisplaymin", 0);
874
+ w(this, "LineDistanceDisplaymax", 5e3);
797
875
  }
798
876
  }
799
- class ri {
877
+ class Wi {
800
878
  constructor() {
801
- p(this, "id", "");
802
- p(this, "modelid", "");
803
- p(this, "lon", 0);
804
- p(this, "lat", 0);
805
- p(this, "alt", 0);
806
- p(this, "treeH", 0);
807
- p(this, "modelurl", "");
808
- p(this, "treeScale", 1);
879
+ w(this, "id", "");
880
+ w(this, "modelid", "");
881
+ w(this, "lon", 0);
882
+ w(this, "lat", 0);
883
+ w(this, "alt", 0);
884
+ w(this, "treeH", 0);
885
+ w(this, "modelurl", "");
886
+ w(this, "treeScale", 1);
809
887
  }
810
888
  }
811
- class hi {
889
+ class li {
812
890
  constructor() {
813
891
  // 杆塔id
814
- p(this, "id", "");
892
+ w(this, "id", "");
815
893
  // 杆塔名称
816
- p(this, "name", "");
894
+ w(this, "name", "");
817
895
  //杆塔类型
818
- p(this, "type", 0);
896
+ w(this, "type", 0);
819
897
  // 经度
820
- p(this, "Longitude", 0);
898
+ w(this, "Longitude", 0);
821
899
  // 纬度
822
- p(this, "Latitude", 0);
900
+ w(this, "Latitude", 0);
823
901
  // 高程
824
- p(this, "Altitude", 0);
902
+ w(this, "Altitude", 0);
825
903
  // 转角
826
- p(this, "RollX", 0);
827
- p(this, "RollY", 90);
828
- p(this, "RollZ", 0);
829
- p(this, "towerScale", 1);
904
+ w(this, "RollX", 0);
905
+ w(this, "RollY", 90);
906
+ w(this, "RollZ", 0);
907
+ w(this, "towerScale", 1);
830
908
  // 电线偏移高度,单位:米
831
- p(this, "towerHeight", 0);
909
+ w(this, "towerHeight", 0);
832
910
  //模型路径
833
- p(this, "towerModelUri", "");
911
+ w(this, "towerModelUri", "");
834
912
  //挂点信息
835
- p(this, "towerPoint", []);
913
+ w(this, "towerPoint", []);
836
914
  //绝缘子串
837
- p(this, "Insulators", []);
915
+ w(this, "Insulators", []);
838
916
  //模型显隐距离
839
- p(this, "DistanceDisplaymin", 0);
840
- p(this, "DistanceDisplaymax", 1e3);
917
+ w(this, "DistanceDisplaymin", 0);
918
+ w(this, "DistanceDisplaymax", 1e3);
841
919
  }
842
920
  }
843
- class fi {
921
+ class ui {
844
922
  constructor() {
845
923
  // 绝缘子串id
846
- p(this, "id", "");
924
+ w(this, "id", "");
847
925
  // 绝缘子串名称
848
- p(this, "name", "");
926
+ w(this, "name", "");
849
927
  // 类型 地线串 耐张串 悬垂串 跳线串
850
- p(this, "type", 0);
851
- p(this, "WairFX", "进");
928
+ w(this, "type", 0);
929
+ w(this, "WairFX", "进");
852
930
  //串所属回路
853
- p(this, "linenum", 1);
931
+ w(this, "linenum", 1);
854
932
  //分裂数
855
- p(this, "Wairnum", 0);
933
+ w(this, "Wairnum", 0);
856
934
  //相序
857
- p(this, "PhaseSequence", 0);
935
+ w(this, "PhaseSequence", 0);
858
936
  //串模型转角
859
- p(this, "RollX", 0);
860
- p(this, "RollY", 0);
861
- p(this, "RollZ", 0);
937
+ w(this, "RollX", 0);
938
+ w(this, "RollY", 0);
939
+ w(this, "RollZ", 0);
862
940
  //缩放
863
- p(this, "InsulatorScale", 1);
941
+ w(this, "InsulatorScale", 1);
864
942
  //串长
865
- p(this, "InsulatorLength", 0);
943
+ w(this, "InsulatorLength", 0);
866
944
  //模型路径
867
- p(this, "InsulatorModelUri", "");
945
+ w(this, "InsulatorModelUri", "");
868
946
  //挂点信息
869
- p(this, "InsulatorPoint", []);
947
+ w(this, "InsulatorPoint", []);
870
948
  //模型显隐距离
871
- p(this, "DistanceDisplaymin", 0);
872
- p(this, "DistanceDisplaymax", 500);
949
+ w(this, "DistanceDisplaymin", 0);
950
+ w(this, "DistanceDisplaymax", 500);
873
951
  }
874
952
  }
875
- class ni {
953
+ class ci {
876
954
  constructor() {
877
- p(this, "name", "");
878
- p(this, "X", -45);
879
- p(this, "Y", 90);
880
- p(this, "Z", 0);
955
+ w(this, "name", "");
956
+ w(this, "X", -45);
957
+ w(this, "Y", 90);
958
+ w(this, "Z", 0);
881
959
  }
882
960
  }
883
- var G = /* @__PURE__ */ ((W) => (W[W.A相 = 0] = "A相", W[W.B相 = 1] = "B相", W[W.C相 = 2] = "C相", W[W.地线1 = 3] = "地线1", W[W.地线2 = 4] = "地线2", W))(G || {}), q = /* @__PURE__ */ ((W) => (W[W.直线塔 = 0] = "直线塔", W[W.耐张塔 = 1] = "耐张塔", W[W.门架塔 = 2] = "门架塔", W[W.换位塔 = 3] = "换位塔", W))(q || {}), Vs = /* @__PURE__ */ ((W) => (W[W.交流单回路 = 0] = "交流单回路", W[W.交流双回路 = 1] = "交流双回路", W[W.直流单回路 = 2] = "直流单回路", W[W.直流双回路 = 3] = "直流双回路", W[W.交流四回路 = 4] = "交流四回路", W))(Vs || {}), es = /* @__PURE__ */ ((W) => (W[W.地线 = 0] = "地线", W[W.回路一 = 1] = "回路一", W[W.回路二 = 2] = "回路二", W[W.回路三 = 3] = "回路三", W[W.回路四 = 4] = "回路四", W))(es || {}), D = /* @__PURE__ */ ((W) => (W[W.悬垂串 = 0] = "悬垂串", W[W.耐张串 = 1] = "耐张串", W[W.跳线串 = 2] = "跳线串", W[W.硬跳串 = 3] = "硬跳串", W[W.V串 = 4] = "V串", W[W.地线串 = 5] = "地线串", W[W.绕跳临时 = 6] = "绕跳临时", W))(D || {}), T = /* @__PURE__ */ ((W) => (W[W.单分裂 = 0] = "单分裂", W[W.双分裂 = 1] = "双分裂", W[W.四分裂 = 2] = "四分裂", W[W.六分裂 = 3] = "六分裂", W[W.八分裂 = 4] = "八分裂", W))(T || {});
884
- class ai {
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 || {}), $ = /* @__PURE__ */ ((a) => (a[a.直线塔 = 0] = "直线塔", a[a.耐张塔 = 1] = "耐张塔", a[a.门架塔 = 2] = "门架塔", a[a.换位塔 = 3] = "换位塔", a))($ || {}), 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 || {}), E = /* @__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))(E || {}), A = /* @__PURE__ */ ((a) => (a[a.单分裂 = 0] = "单分裂", a[a.双分裂 = 1] = "双分裂", a[a.四分裂 = 2] = "四分裂", a[a.六分裂 = 3] = "六分裂", a[a.八分裂 = 4] = "八分裂", a))(A || {});
962
+ class Ti {
885
963
  // private arcLine1D2: Cesium.Cartesian3[]= [];
886
964
  // 类的构造函数,用于初始化属性
887
- constructor(o, i, f) {
965
+ constructor(o, i, r) {
888
966
  //三维场景
889
- p(this, "viewer");
890
- p(this, "LineInfo");
891
- p(this, "Keym", "");
967
+ w(this, "viewer");
968
+ w(this, "LineInfo");
969
+ w(this, "Keym", "");
892
970
  // 模型模型集合
893
- p(this, "dataSource2");
894
- p(this, "entityCollection2");
971
+ w(this, "dataSource2");
972
+ w(this, "entityCollection2");
895
973
  // 模型模型集合
896
- p(this, "dataSourcetree");
897
- p(this, "entityCollectiontree");
974
+ w(this, "dataSourcetree");
975
+ w(this, "entityCollectiontree");
898
976
  // 模型模型集合
899
- p(this, "dataSourceplotting");
900
- p(this, "entityCollectionplotting");
977
+ w(this, "dataSourceplotting");
978
+ w(this, "entityCollectionplotting");
901
979
  // // 模型模型集合
902
- p(this, "LinedataSource2");
903
- p(this, "LineentityCollection2");
980
+ w(this, "LinedataSource2");
981
+ w(this, "LineentityCollection2");
904
982
  // 塔集合
905
- p(this, "offsetTowers", []);
983
+ w(this, "offsetTowers", []);
984
+ // 控制是否自动计算 RollX 角度(默认为 true,启用自动计算)
985
+ w(this, "autoCalculateRollX", !0);
906
986
  // 动态加载相关数据结构
907
- p(this, "towerWirePoints", /* @__PURE__ */ new Map());
987
+ w(this, "towerWirePoints", /* @__PURE__ */ new Map());
908
988
  // 存储每个塔的导线挂点信息
909
- p(this, "loadedWireSegments", /* @__PURE__ */ new Set());
989
+ w(this, "loadedWireSegments", /* @__PURE__ */ new Set());
910
990
  // 已加载的导线段 (格式: "index1-index2")
911
991
  // 动态加载相关
912
- p(this, "isDynamicLoadingEnabled", !0);
992
+ w(this, "isDynamicLoadingEnabled", !0);
913
993
  // 是否启用动态加载(默认启用以解决800km卡顿问题)
914
- p(this, "loadedTowerIndices", /* @__PURE__ */ new Set());
994
+ w(this, "loadedTowerIndices", /* @__PURE__ */ new Set());
915
995
  // 已加载的塔索引
916
- p(this, "cameraMoveHandler", null);
996
+ w(this, "cameraMoveHandler", null);
917
997
  // 相机移动监听器
918
998
  // 回路1单根导线1
919
- p(this, "offsetWires11", []);
999
+ w(this, "offsetWires11", []);
920
1000
  // 回路1单根导线2
921
- p(this, "offsetWires12", []);
1001
+ w(this, "offsetWires12", []);
922
1002
  // 回路1单根导线3
923
- p(this, "offsetWires13", []);
1003
+ w(this, "offsetWires13", []);
924
1004
  // 回路2单根导线1
925
- p(this, "offsetWires21", []);
1005
+ w(this, "offsetWires21", []);
926
1006
  // 回路2单根导线2
927
- p(this, "offsetWires22", []);
1007
+ w(this, "offsetWires22", []);
928
1008
  // 回路2单根导线3
929
- p(this, "offsetWires23", []);
1009
+ w(this, "offsetWires23", []);
930
1010
  // 回路一A跳线
931
- p(this, "ToffsetArcWires1A", []);
932
- p(this, "ToffsetArcWires2A", []);
933
- p(this, "ToffsetWires1A1", []);
934
- p(this, "ToffsetWires1A2", []);
1011
+ w(this, "ToffsetArcWires1A", []);
1012
+ w(this, "ToffsetArcWires2A", []);
1013
+ w(this, "ToffsetWires1A1", []);
1014
+ w(this, "ToffsetWires1A2", []);
935
1015
  // 回路一B跳线
936
- p(this, "ToffsetArcWires1B", []);
937
- p(this, "ToffsetArcWires2B", []);
938
- p(this, "ToffsetWires1B1", []);
939
- p(this, "ToffsetWires1B2", []);
1016
+ w(this, "ToffsetArcWires1B", []);
1017
+ w(this, "ToffsetArcWires2B", []);
1018
+ w(this, "ToffsetWires1B1", []);
1019
+ w(this, "ToffsetWires1B2", []);
940
1020
  // 回路一C跳线
941
- p(this, "ToffsetArcWires1C", []);
942
- p(this, "ToffsetArcWires2C", []);
943
- p(this, "ToffsetWires1C1", []);
944
- p(this, "ToffsetWires1C2", []);
1021
+ w(this, "ToffsetArcWires1C", []);
1022
+ w(this, "ToffsetArcWires2C", []);
1023
+ w(this, "ToffsetWires1C1", []);
1024
+ w(this, "ToffsetWires1C2", []);
945
1025
  // 回路二A跳线
946
- p(this, "ToffsetArcWires1A2", []);
947
- p(this, "ToffsetArcWires2A2", []);
948
- p(this, "ToffsetWires2A1", []);
949
- p(this, "ToffsetWires2A2", []);
1026
+ w(this, "ToffsetArcWires1A2", []);
1027
+ w(this, "ToffsetArcWires2A2", []);
1028
+ w(this, "ToffsetWires2A1", []);
1029
+ w(this, "ToffsetWires2A2", []);
950
1030
  // 回路二B跳线
951
- p(this, "ToffsetArcWires1B2", []);
952
- p(this, "ToffsetArcWires2B2", []);
953
- p(this, "ToffsetWires2B1", []);
954
- p(this, "ToffsetWires2B2", []);
1031
+ w(this, "ToffsetArcWires1B2", []);
1032
+ w(this, "ToffsetArcWires2B2", []);
1033
+ w(this, "ToffsetWires2B1", []);
1034
+ w(this, "ToffsetWires2B2", []);
955
1035
  // 回路二C跳线
956
- p(this, "ToffsetArcWires1C2", []);
957
- p(this, "ToffsetArcWires2C2", []);
958
- p(this, "ToffsetWires2C1", []);
959
- p(this, "ToffsetWires2C2", []);
1036
+ w(this, "ToffsetArcWires1C2", []);
1037
+ w(this, "ToffsetArcWires2C2", []);
1038
+ w(this, "ToffsetWires2C1", []);
1039
+ w(this, "ToffsetWires2C2", []);
960
1040
  // 回路一导线相序A
961
- p(this, "offsetArcWires1A", []);
1041
+ w(this, "offsetArcWires1A", []);
962
1042
  // 回路一导线相序B
963
- p(this, "offsetArcWires1B", []);
1043
+ w(this, "offsetArcWires1B", []);
964
1044
  // 回路一导线相序C
965
- p(this, "offsetArcWires1C", []);
1045
+ w(this, "offsetArcWires1C", []);
966
1046
  // 回路二导线相序A
967
- p(this, "offsetArcWires2A", []);
1047
+ w(this, "offsetArcWires2A", []);
968
1048
  // 回路二导线相序B
969
- p(this, "offsetArcWires2B", []);
1049
+ w(this, "offsetArcWires2B", []);
970
1050
  // 回路二导线相序C
971
- p(this, "offsetArcWires2C", []);
1051
+ w(this, "offsetArcWires2C", []);
972
1052
  //地线1
973
- p(this, "offsetGrouundWires1", []);
1053
+ w(this, "offsetGrouundWires1", []);
974
1054
  //地线2
975
- p(this, "offsetGrouundWires2", []);
1055
+ w(this, "offsetGrouundWires2", []);
976
1056
  // 单根地线1
977
- p(this, "offsetGrouundWires11", []);
1057
+ w(this, "offsetGrouundWires11", []);
978
1058
  // 单根地线2
979
- p(this, "offsetGrouundWires12", []);
1059
+ w(this, "offsetGrouundWires12", []);
980
1060
  // 电线(垂线)集合 用于计算
981
1061
  //回路1
982
- p(this, "arcLine1A1", []);
983
- p(this, "arcLine1B1", []);
1062
+ w(this, "arcLine1A1", []);
1063
+ w(this, "arcLine1B1", []);
984
1064
  // private arcLine1C1: Cesium.Cartesian3[] = [];
985
1065
  //地线
986
- p(this, "arcLine1D1", []);
1066
+ w(this, "arcLine1D1", []);
987
1067
  /**
988
1068
  * 模型缓存映射,用于避免重复创建相同配置的模型实体
989
1069
  * 键格式: modelUri_scale_distanceMin_distanceMax
990
1070
  */
991
- p(this, "modelCache", /* @__PURE__ */ new Map());
1071
+ w(this, "modelCache", /* @__PURE__ */ new Map());
992
1072
  // 在类中添加私有属性来存储事件处理器和标记数据源
993
- p(this, "treeHandler", null);
994
- this.Keym = f, 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;
1073
+ 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;
995
1075
  }
996
1076
  /**
997
1077
  * 创建模型缓存键
998
1078
  */
999
- createModelCacheKey(o, i, f, s) {
1000
- return `${o}_${i}_${f}_${s}`;
1079
+ createModelCacheKey(o, i, r, s) {
1080
+ return `${o}_${i}_${r}_${s}`;
1001
1081
  }
1002
1082
  /**
1003
1083
  * 从缓存中获取或创建模型配置
1004
1084
  * 注意:距离参数会自动限制最大值以避免性能问题
1005
1085
  */
1006
- getCachedModelConfig(o, i, f, s) {
1007
- const C = Math.max(0, f), a = Math.min(s, 5e4), L = this.createModelCacheKey(o, i, C, a);
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);
1008
1088
  if (!this.modelCache.has(L)) {
1009
- const A = {
1089
+ const p = {
1010
1090
  uri: o,
1011
1091
  scale: i,
1012
- distanceDisplayCondition: [C, a]
1092
+ distanceDisplayCondition: [C, W]
1013
1093
  };
1014
- this.modelCache.set(L, A);
1094
+ this.modelCache.set(L, p);
1015
1095
  }
1016
1096
  return this.modelCache.get(L);
1017
1097
  }
1018
1098
  /**
1019
1099
  * 统一的模型添加方法,减少重复代码
1020
1100
  */
1021
- addModelToCollection(o, i, f, s, C, a, L) {
1022
- const A = this.getCachedModelConfig(
1101
+ addModelToCollection(o, i, r, s, C, W, L) {
1102
+ const p = this.getCachedModelConfig(
1023
1103
  s,
1024
- a,
1104
+ W,
1025
1105
  L[0],
1026
1106
  L[1]
1027
1107
  );
1028
1108
  this.entityCollection2.add(
1029
- ks(
1109
+ Zs(
1030
1110
  o,
1031
1111
  i,
1032
- f,
1033
- A.uri,
1112
+ r,
1113
+ p.uri,
1034
1114
  C,
1035
- A.scale,
1036
- A.distanceDisplayCondition
1115
+ p.scale,
1116
+ p.distanceDisplayCondition
1037
1117
  )
1038
1118
  );
1039
1119
  }
1120
+ /**
1121
+ * 设置是否自动计算 RollX 角度
1122
+ * @param enable 是否启用自动计算(true: 启用, false: 禁用)
1123
+ */
1124
+ setAutoCalculateRollX(o) {
1125
+ this.autoCalculateRollX = o;
1126
+ }
1127
+ /**
1128
+ * 获取当前是否启用自动计算 RollX 角度
1129
+ * @returns 当前的自动计算状态
1130
+ */
1131
+ getAutoCalculateRollX() {
1132
+ return this.autoCalculateRollX;
1133
+ }
1040
1134
  /**
1041
1135
  * 设置相机移动监听器,用于动态加载/卸载实体
1042
1136
  */
@@ -1049,19 +1143,19 @@ class ai {
1049
1143
  * 计算相机视野范围内的塔索引
1050
1144
  */
1051
1145
  getVisibleTowerIndices() {
1052
- var A;
1146
+ var p;
1053
1147
  if (!this.viewer.camera || this.offsetTowers.length === 0)
1054
1148
  return { start: 0, end: 0 };
1055
- const o = this.viewer.camera.position, i = ((A = this.viewer.camera.positionCartographic) == null ? void 0 : A.height) || 1e3;
1056
- let f = 5;
1057
- i > 5e4 ? f = 2 : i > 1e4 ? f = 3 : i > 5e3 ? f = 5 : f = 10;
1149
+ const o = this.viewer.camera.position, i = ((p = this.viewer.camera.positionCartographic) == null ? void 0 : p.height) || 1e3;
1150
+ let r = 5;
1151
+ i > 5e4 ? r = 2 : i > 1e4 ? r = 3 : i > 5e3 ? r = 5 : r = 10;
1058
1152
  let s = 0, C = Number.MAX_VALUE;
1059
1153
  for (let d = 0; d < this.offsetTowers.length; d++) {
1060
1154
  const t = n.Cartesian3.distance(o, this.offsetTowers[d]);
1061
1155
  t < C && (C = t, s = d);
1062
1156
  }
1063
- const a = Math.max(0, s - f), L = Math.min(this.offsetTowers.length - 1, s + f);
1064
- return { start: a, end: L };
1157
+ const W = Math.max(0, s - r), L = Math.min(this.offsetTowers.length - 1, s + r);
1158
+ return { start: W, end: L };
1065
1159
  }
1066
1160
  /**
1067
1161
  * 更新可见范围内的塔(加载新塔,可选择性卸载远处的塔)
@@ -1095,9 +1189,48 @@ class ai {
1095
1189
  * 初始化线路数据(不立即加载所有实体,避免性能问题)
1096
1190
  */
1097
1191
  initializeLineData() {
1098
- this.Keym == "OW_JPS_EEngin_001" && this.LineInfo.towers.forEach((o) => {
1192
+ this.Keym == "OW_JPS_EEngin_001" && (this.LineInfo.towers.forEach((o) => {
1099
1193
  this.offsetTowers.push(n.Cartesian3.fromDegrees(o.Longitude, o.Latitude, o.Altitude));
1100
- });
1194
+ }), this.autoCalculateRollX && this.calculateTowerOrientations());
1195
+ }
1196
+ /**
1197
+ * 根据线路走向计算杆塔在三维展示的角度 (RollX)
1198
+ * 直线塔:垂直于线路方向(即线路方向 + 90度)
1199
+ * 耐张塔:垂直于转角的角平分线方向
1200
+ */
1201
+ calculateTowerOrientations() {
1202
+ const o = this.LineInfo.towers.length;
1203
+ if (o !== 0) {
1204
+ if (o === 1) {
1205
+ this.LineInfo.towers[0].RollX === void 0 && (this.LineInfo.towers[0].RollX = 90);
1206
+ return;
1207
+ }
1208
+ for (let i = 0; i < o; i++) {
1209
+ let r = 0;
1210
+ if (this.LineInfo.towers[i].type === $.耐张塔)
1211
+ if (i === 0)
1212
+ r = (as(this.LineInfo.towers, i, 3) - 90 + 360) % 360;
1213
+ else if (i === o - 1)
1214
+ r = (as(this.LineInfo.towers, i, 3) - 90 + 360) % 360;
1215
+ else {
1216
+ const s = this.LineInfo.towers[i - 1], C = this.LineInfo.towers[i], W = this.LineInfo.towers[i + 1], L = Q(
1217
+ s.Longitude,
1218
+ s.Latitude,
1219
+ C.Longitude,
1220
+ C.Latitude
1221
+ ), p = Q(
1222
+ C.Longitude,
1223
+ C.Latitude,
1224
+ W.Longitude,
1225
+ W.Latitude
1226
+ );
1227
+ r = (xs(L, p) - 90 + 360) % 360;
1228
+ }
1229
+ else
1230
+ r = (as(this.LineInfo.towers, i, 2) - 90 + 360) % 360;
1231
+ this.LineInfo.towers[i].RollX = r;
1232
+ }
1233
+ }
1101
1234
  }
1102
1235
  /**
1103
1236
  * 加载指定范围内的塔、绝缘子和相关导线(完整的动态加载实现)
@@ -1105,19 +1238,19 @@ class ai {
1105
1238
  loadTowersInRange(o, i) {
1106
1239
  if (o < 0 || i >= this.LineInfo.towers.length)
1107
1240
  return;
1108
- const f = Math.max(0, o - 1), s = Math.min(this.LineInfo.towers.length - 1, i + 1);
1109
- for (let C = f; C <= s; C++)
1241
+ const r = Math.max(0, o - 1), s = Math.min(this.LineInfo.towers.length - 1, i + 1);
1242
+ for (let C = r; C <= s; C++)
1110
1243
  this.loadedTowerIndices.has(C) || (this.loadTowerAndCollectWirePoints(C), this.loadedTowerIndices.add(C));
1111
- for (let C = f; C < s; C++) {
1112
- const a = `${C}-${C + 1}`;
1113
- this.loadedWireSegments.has(a) || (this.loadWireSegmentBetweenTowers(C, C + 1), this.loadedWireSegments.add(a));
1244
+ for (let C = r; C < s; C++) {
1245
+ const W = `${C}-${C + 1}`;
1246
+ this.loadedWireSegments.has(W) || (this.loadWireSegmentBetweenTowers(C, C + 1), this.loadedWireSegments.add(W));
1114
1247
  }
1115
1248
  }
1116
1249
  /**
1117
1250
  * 加载单个塔和绝缘子,并收集导线挂点信息用于后续导线计算
1118
1251
  */
1119
1252
  loadTowerAndCollectWirePoints(o) {
1120
- const i = this.offsetTowers[o], f = new n.HeadingPitchRoll(
1253
+ const i = this.offsetTowers[o], r = new n.HeadingPitchRoll(
1121
1254
  n.Math.toRadians(this.LineInfo.towers[o].RollX),
1122
1255
  n.Math.toRadians(this.LineInfo.towers[o].RollY),
1123
1256
  n.Math.toRadians(this.LineInfo.towers[o].RollZ)
@@ -1127,83 +1260,83 @@ class ai {
1127
1260
  i,
1128
1261
  this.LineInfo.towers[o].name,
1129
1262
  this.LineInfo.towers[o].towerModelUri,
1130
- f,
1263
+ r,
1131
1264
  this.LineInfo.towers[o].towerScale,
1132
1265
  [this.LineInfo.towers[o].DistanceDisplaymin, this.LineInfo.towers[o].DistanceDisplaymax]
1133
1266
  );
1134
1267
  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);
1135
- let a = 0;
1268
+ let W = 0;
1136
1269
  const L = [];
1137
- this.LineInfo.towers[o].Insulators.forEach((A) => {
1138
- const d = I(
1270
+ this.LineInfo.towers[o].Insulators.forEach((p) => {
1271
+ const d = B(
1139
1272
  i,
1140
1273
  new n.Cartesian3(
1141
- this.LineInfo.towers[o].towerPoint[a].X,
1142
- this.LineInfo.towers[o].towerPoint[a].Y,
1143
- this.LineInfo.towers[o].towerPoint[a].Z
1274
+ this.LineInfo.towers[o].towerPoint[W].X,
1275
+ this.LineInfo.towers[o].towerPoint[W].Y,
1276
+ this.LineInfo.towers[o].towerPoint[W].Z
1144
1277
  ),
1145
- this.LineInfo.towers[o].type === q.耐张塔 ? C : s
1278
+ this.LineInfo.towers[o].type === $.耐张塔 ? C : s
1146
1279
  );
1147
- let t;
1148
- if (this.LineInfo.towers[o].type === q.耐张塔)
1149
- switch (A.type) {
1150
- case D.耐张串:
1151
- t = A.WairFX === "进" ? new n.HeadingPitchRoll(n.Math.toRadians(A.RollX), n.Math.toRadians(-180), n.Math.toRadians(180)) : new n.HeadingPitchRoll(n.Math.toRadians(A.RollX), n.Math.toRadians(0), n.Math.toRadians(0));
1280
+ let t, l;
1281
+ if (this.autoCalculateRollX ? this.LineInfo.towers[o].type === $.耐张塔 && p.type === E.耐张串 ? l = (this.LineInfo.towers[o].RollX + 180) % 360 : l = this.LineInfo.towers[o].RollX : l = p.RollX, this.LineInfo.towers[o].type === $.耐张塔)
1282
+ switch (p.type) {
1283
+ case E.耐张串:
1284
+ 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));
1152
1285
  break;
1153
- case D.跳线串:
1286
+ case E.跳线串:
1154
1287
  t = new n.HeadingPitchRoll(
1155
- n.Math.toRadians(A.RollX),
1156
- n.Math.toRadians(A.RollY),
1157
- n.Math.toRadians(A.RollZ)
1288
+ n.Math.toRadians(l),
1289
+ n.Math.toRadians(p.RollY),
1290
+ n.Math.toRadians(p.RollZ)
1158
1291
  );
1159
1292
  break;
1160
- case D.地线串:
1293
+ case E.地线串:
1161
1294
  t = new n.HeadingPitchRoll(
1162
- n.Math.toRadians(A.RollX),
1163
- n.Math.toRadians(A.RollY),
1164
- n.Math.toRadians(A.RollZ)
1295
+ n.Math.toRadians(l),
1296
+ n.Math.toRadians(p.RollY),
1297
+ n.Math.toRadians(p.RollZ)
1165
1298
  );
1166
1299
  break;
1167
1300
  default:
1168
1301
  t = new n.HeadingPitchRoll(
1169
- n.Math.toRadians(A.RollX),
1170
- n.Math.toRadians(A.RollY),
1171
- n.Math.toRadians(A.RollZ)
1302
+ n.Math.toRadians(l),
1303
+ n.Math.toRadians(p.RollY),
1304
+ n.Math.toRadians(p.RollZ)
1172
1305
  );
1173
1306
  }
1174
1307
  else
1175
1308
  t = new n.HeadingPitchRoll(
1176
- n.Math.toRadians(A.RollX),
1177
- n.Math.toRadians(A.RollY),
1178
- n.Math.toRadians(A.RollZ)
1309
+ n.Math.toRadians(l),
1310
+ n.Math.toRadians(p.RollY),
1311
+ n.Math.toRadians(p.RollZ)
1179
1312
  );
1180
1313
  this.addModelToCollection(
1181
- A.id,
1314
+ p.id,
1182
1315
  d,
1183
- A.name,
1184
- A.InsulatorModelUri,
1316
+ p.name,
1317
+ p.InsulatorModelUri,
1185
1318
  t,
1186
- A.InsulatorScale,
1187
- [A.DistanceDisplaymin, A.DistanceDisplaymax]
1319
+ p.InsulatorScale,
1320
+ [p.DistanceDisplaymin, p.DistanceDisplaymax]
1188
1321
  );
1189
- const l = {
1190
- insulator: A,
1191
- insulatorIndex: a,
1322
+ const u = {
1323
+ insulator: p,
1324
+ insulatorIndex: W,
1192
1325
  position: i,
1193
1326
  lineroll: s,
1194
1327
  WairPoint: []
1195
1328
  };
1196
- A.InsulatorPoint.forEach((u) => {
1197
- u.Y = u.Y + this.LineInfo.towers[o].towerPoint[a].Y, u.Z = u.Z + this.LineInfo.towers[o].towerPoint[a].Z, l.WairPoint.push(I(i, new n.Cartesian3(u.X, u.Y, u.Z), s));
1198
- }), L.push(l), a++;
1329
+ p.InsulatorPoint.forEach((T) => {
1330
+ 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));
1331
+ }), L.push(u), W++;
1199
1332
  }), this.towerWirePoints.set(o, L);
1200
1333
  }
1201
1334
  /**
1202
1335
  * 加载两个相邻塔之间的导线段
1203
1336
  */
1204
1337
  loadWireSegmentBetweenTowers(o, i) {
1205
- const f = this.towerWirePoints.get(o), s = this.towerWirePoints.get(i);
1206
- !f || !s || this.resetWireArraysForTwoTowers();
1338
+ const r = this.towerWirePoints.get(o), s = this.towerWirePoints.get(i);
1339
+ !r || !s || this.resetWireArraysForTwoTowers();
1207
1340
  }
1208
1341
  /**
1209
1342
  * 重置导线数组,只为两个塔准备
@@ -1239,9 +1372,9 @@ class ai {
1239
1372
  // return towerIndex;
1240
1373
  // }
1241
1374
  // }
1242
- /**
1243
- * 绘制两个塔之间的导线(需要完整实现原始逻辑)
1244
- */
1375
+ // /**
1376
+ // * 绘制两个塔之间的导线(需要完整实现原始逻辑)
1377
+ // */
1245
1378
  // private drawWiresForTowerPair(towerIndex1: number, towerIndex2: number, inedexx: number) {
1246
1379
  // // 这里需要完整实现原始的导线绘制逻辑
1247
1380
  // // 由于篇幅和复杂性限制,建议在实际项目中逐步实现
@@ -1258,11 +1391,11 @@ class ai {
1258
1391
  loadAllWiresOnly() {
1259
1392
  const o = new n.EntityCollection(), i = this.entityCollection2;
1260
1393
  this.entityCollection2 = o, this.loadAllTowersAtOnce();
1261
- const f = [];
1394
+ const r = [];
1262
1395
  o.values.forEach((s) => {
1263
1396
  var C;
1264
- s.name && (s.name.includes("导线") || s.name.includes("daoxian") || (C = s.id) != null && C.toString().includes("daoxian")) && f.push(s);
1265
- }), this.entityCollection2 = i, f.forEach((s) => {
1397
+ s.name && (s.name.includes("导线") || s.name.includes("daoxian") || (C = s.id) != null && C.toString().includes("daoxian")) && r.push(s);
1398
+ }), this.entityCollection2 = i, r.forEach((s) => {
1266
1399
  this.entityCollection2.add(s);
1267
1400
  }), o.removeAll();
1268
1401
  }
@@ -1271,7 +1404,7 @@ class ai {
1271
1404
  */
1272
1405
  loadAllTowersAtOnce() {
1273
1406
  let o = 0, i = 0;
1274
- this.offsetTowers.forEach((f, s) => {
1407
+ this.offsetTowers.forEach((r, s) => {
1275
1408
  const C = new n.HeadingPitchRoll(
1276
1409
  n.Math.toRadians(this.LineInfo.towers[s].RollX),
1277
1410
  n.Math.toRadians(this.LineInfo.towers[s].RollY),
@@ -1279,55 +1412,55 @@ class ai {
1279
1412
  );
1280
1413
  this.addModelToCollection(
1281
1414
  this.LineInfo.towers[s].id,
1282
- f,
1415
+ r,
1283
1416
  this.LineInfo.towers[s].name,
1284
1417
  this.LineInfo.towers[s].towerModelUri,
1285
1418
  C,
1286
1419
  this.LineInfo.towers[s].towerScale,
1287
1420
  [this.LineInfo.towers[s].DistanceDisplaymin, this.LineInfo.towers[s].DistanceDisplaymax]
1288
1421
  );
1289
- const a = 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);
1290
- let A = 0;
1422
+ 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);
1423
+ let p = 0;
1291
1424
  if (this.LineInfo.towers[s].Insulators.forEach((t) => {
1292
- const l = I(
1293
- f,
1425
+ const l = B(
1426
+ r,
1294
1427
  new n.Cartesian3(
1295
- this.LineInfo.towers[s].towerPoint[A].X,
1296
- this.LineInfo.towers[s].towerPoint[A].Y,
1297
- this.LineInfo.towers[s].towerPoint[A].Z
1428
+ this.LineInfo.towers[s].towerPoint[p].X,
1429
+ this.LineInfo.towers[s].towerPoint[p].Y,
1430
+ this.LineInfo.towers[s].towerPoint[p].Z
1298
1431
  ),
1299
- this.LineInfo.towers[s].type === q.耐张塔 ? L : a
1432
+ this.LineInfo.towers[s].type === $.耐张塔 ? L : W
1300
1433
  );
1301
- let u;
1302
- if (this.LineInfo.towers[s].type === q.耐张塔)
1434
+ let u, T;
1435
+ if (this.autoCalculateRollX ? this.LineInfo.towers[s].type === $.耐张塔 && t.type === E.耐张串 ? T = this.LineInfo.towers[s].RollX % 360 : T = this.LineInfo.towers[s].RollX : T = t.RollX, this.LineInfo.towers[s].type === $.耐张塔)
1303
1436
  switch (t.type) {
1304
- case D.耐张串:
1305
- u = t.WairFX === "进" ? new n.HeadingPitchRoll(n.Math.toRadians(t.RollX), n.Math.toRadians(-180), n.Math.toRadians(180)) : new n.HeadingPitchRoll(n.Math.toRadians(t.RollX), n.Math.toRadians(0), n.Math.toRadians(0));
1437
+ case E.耐张串:
1438
+ 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));
1306
1439
  break;
1307
- case D.跳线串:
1440
+ case E.跳线串:
1308
1441
  u = new n.HeadingPitchRoll(
1309
- n.Math.toRadians(t.RollX),
1442
+ n.Math.toRadians(T),
1310
1443
  n.Math.toRadians(t.RollY),
1311
1444
  n.Math.toRadians(t.RollZ)
1312
1445
  );
1313
1446
  break;
1314
- case D.地线串:
1447
+ case E.地线串:
1315
1448
  u = new n.HeadingPitchRoll(
1316
- n.Math.toRadians(t.RollX),
1449
+ n.Math.toRadians(T),
1317
1450
  n.Math.toRadians(t.RollY),
1318
1451
  n.Math.toRadians(t.RollZ)
1319
1452
  );
1320
1453
  break;
1321
1454
  default:
1322
1455
  u = new n.HeadingPitchRoll(
1323
- n.Math.toRadians(t.RollX),
1456
+ n.Math.toRadians(T),
1324
1457
  n.Math.toRadians(t.RollY),
1325
1458
  n.Math.toRadians(t.RollZ)
1326
1459
  );
1327
1460
  }
1328
1461
  else
1329
1462
  u = new n.HeadingPitchRoll(
1330
- n.Math.toRadians(t.RollX),
1463
+ n.Math.toRadians(T),
1331
1464
  n.Math.toRadians(t.RollY),
1332
1465
  n.Math.toRadians(t.RollZ)
1333
1466
  );
@@ -1342,194 +1475,194 @@ class ai {
1342
1475
  );
1343
1476
  const e = [];
1344
1477
  switch (t.InsulatorPoint.forEach((c) => {
1345
- c.Y = c.Y + this.LineInfo.towers[s].towerPoint[A].Y, c.Z = c.Z + this.LineInfo.towers[s].towerPoint[A].Z, e.push(I(f, new n.Cartesian3(c.X, c.Y, c.Z), a));
1478
+ 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));
1346
1479
  }), t.linenum) {
1347
- case es.回路一:
1480
+ case rs.回路一:
1348
1481
  if (this.LineInfo.ISPhaseSequence)
1349
- if (this.LineInfo.towers[s].type == q.耐张塔)
1482
+ if (this.LineInfo.towers[s].type == $.耐张塔)
1350
1483
  switch (t.PhaseSequence) {
1351
- case G.A相:
1352
- if (t.type == D.耐张串)
1484
+ case z.A相:
1485
+ if (t.type == E.耐张串)
1353
1486
  if (t.WairFX == "进")
1354
1487
  switch (this.LineInfo.Wairnum) {
1355
- case T.单分裂:
1488
+ case A.单分裂:
1356
1489
  this.offsetWires11.push(e[0]), this.ToffsetWires1A1.push(e[0]);
1357
1490
  break;
1358
- case T.双分裂:
1491
+ case A.双分裂:
1359
1492
  this.offsetWires11.push(e[0]), this.offsetWires11.push(e[1]), this.ToffsetWires1A1.push(e[2]), this.ToffsetWires1A1.push(e[3]);
1360
1493
  break;
1361
- case T.四分裂:
1494
+ case A.四分裂:
1362
1495
  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]);
1363
1496
  break;
1364
- case T.六分裂:
1497
+ case A.六分裂:
1365
1498
  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]);
1366
1499
  break;
1367
- case T.八分裂:
1500
+ case A.八分裂:
1368
1501
  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]);
1369
1502
  break;
1370
1503
  }
1371
1504
  else
1372
1505
  switch (this.LineInfo.Wairnum) {
1373
- case T.单分裂:
1374
- const c = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a);
1506
+ case A.单分裂:
1507
+ const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1375
1508
  this.offsetWires11.push(c), this.ToffsetWires1A2.push(c);
1376
1509
  break;
1377
- case T.双分裂:
1378
- const B = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a), m = I(f, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), a);
1379
- this.offsetWires11.push(B), this.offsetWires11.push(m), this.ToffsetWires1A2.push(B), this.ToffsetWires1A2.push(m);
1510
+ case A.双分裂:
1511
+ 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);
1512
+ this.offsetWires11.push(m), this.offsetWires11.push(b), this.ToffsetWires1A2.push(m), this.ToffsetWires1A2.push(b);
1380
1513
  break;
1381
- case T.四分裂:
1382
- const b = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a), w = I(f, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), a), P = I(f, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), a), g = I(f, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), a);
1383
- this.offsetWires11.push(b), this.offsetWires11.push(w), this.offsetWires11.push(P), this.offsetWires11.push(g), this.ToffsetWires1A2.push(b), this.ToffsetWires1A2.push(w), this.ToffsetWires1A2.push(P), this.ToffsetWires1A2.push(g);
1514
+ case A.四分裂:
1515
+ 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);
1516
+ 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);
1384
1517
  break;
1385
- case T.六分裂:
1386
- const y = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a), _ = I(f, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), a), v = I(f, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), a), M = I(f, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), a), k = I(f, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), a), Z = I(f, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), a);
1387
- this.offsetWires11.push(y), this.offsetWires11.push(_), this.offsetWires11.push(v), this.offsetWires11.push(M), this.offsetWires11.push(k), this.offsetWires11.push(Z), this.ToffsetWires1A2.push(y), this.ToffsetWires1A2.push(_), this.ToffsetWires1A2.push(v), this.ToffsetWires1A2.push(M), this.ToffsetWires1A2.push(k), this.ToffsetWires1A2.push(Z);
1518
+ case A.六分裂:
1519
+ 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), X = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W);
1520
+ this.offsetWires11.push(_), this.offsetWires11.push(v), this.offsetWires11.push(k), this.offsetWires11.push(M), this.offsetWires11.push(Z), this.offsetWires11.push(X), this.ToffsetWires1A2.push(_), this.ToffsetWires1A2.push(v), this.ToffsetWires1A2.push(k), this.ToffsetWires1A2.push(M), this.ToffsetWires1A2.push(Z), this.ToffsetWires1A2.push(X);
1388
1521
  break;
1389
- case T.八分裂:
1390
- const E = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a), Y = I(f, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), a), R = I(f, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), a), F = I(f, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), a), S = I(f, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), a), X = I(f, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), a), H = I(f, new n.Cartesian3(t.InsulatorPoint[6].X * -1, t.InsulatorPoint[6].Y, t.InsulatorPoint[6].Z), a), O = I(f, new n.Cartesian3(t.InsulatorPoint[7].X * -1, t.InsulatorPoint[7].Y, t.InsulatorPoint[7].Z), a);
1391
- this.offsetWires11.push(E), 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.ToffsetWires1A2.push(E), 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);
1522
+ case A.八分裂:
1523
+ const F = 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), D = 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), Y = 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);
1524
+ this.offsetWires11.push(F), this.offsetWires11.push(R), this.offsetWires11.push(D), this.offsetWires11.push(S), this.offsetWires11.push(Y), this.offsetWires11.push(H), this.offsetWires11.push(O), this.offsetWires11.push(N), this.ToffsetWires1A2.push(F), this.ToffsetWires1A2.push(R), this.ToffsetWires1A2.push(D), this.ToffsetWires1A2.push(S), this.ToffsetWires1A2.push(Y), this.ToffsetWires1A2.push(H), this.ToffsetWires1A2.push(O), this.ToffsetWires1A2.push(N);
1392
1525
  break;
1393
1526
  }
1394
- else if (t.type == D.跳线串)
1527
+ else if (t.type == E.跳线串)
1395
1528
  switch (this.LineInfo.Wairnum) {
1396
- case T.单分裂:
1529
+ case A.单分裂:
1397
1530
  this.ToffsetWires1A1.push(e[0]), this.ToffsetWires1A2.push(e[1]);
1398
1531
  break;
1399
- case T.双分裂:
1532
+ case A.双分裂:
1400
1533
  this.ToffsetWires1A1.push(e[0]), this.ToffsetWires1A1.push(e[1]), this.ToffsetWires1A2.push(e[2]), this.ToffsetWires1A2.push(e[3]);
1401
1534
  break;
1402
- case T.四分裂:
1535
+ case A.四分裂:
1403
1536
  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]);
1404
1537
  break;
1405
- case T.六分裂:
1538
+ case A.六分裂:
1406
1539
  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]);
1407
1540
  break;
1408
- case T.八分裂:
1541
+ case A.八分裂:
1409
1542
  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]);
1410
1543
  break;
1411
1544
  }
1412
1545
  break;
1413
- case G.B相:
1414
- if (t.type == D.耐张串)
1546
+ case z.B相:
1547
+ if (t.type == E.耐张串)
1415
1548
  if (t.WairFX == "进")
1416
1549
  switch (this.LineInfo.Wairnum) {
1417
- case T.单分裂:
1550
+ case A.单分裂:
1418
1551
  this.offsetWires12.push(e[0]), this.ToffsetWires1B1.push(e[1]);
1419
1552
  break;
1420
- case T.双分裂:
1553
+ case A.双分裂:
1421
1554
  this.offsetWires12.push(e[0]), this.offsetWires12.push(e[1]), this.ToffsetWires1B1.push(e[2]), this.ToffsetWires1B1.push(e[3]);
1422
1555
  break;
1423
- case T.四分裂:
1556
+ case A.四分裂:
1424
1557
  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]);
1425
1558
  break;
1426
- case T.六分裂:
1559
+ case A.六分裂:
1427
1560
  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]);
1428
1561
  break;
1429
- case T.八分裂:
1562
+ case A.八分裂:
1430
1563
  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]);
1431
1564
  break;
1432
1565
  }
1433
1566
  else
1434
1567
  switch (this.LineInfo.Wairnum) {
1435
- case T.单分裂:
1436
- const c = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a);
1568
+ case A.单分裂:
1569
+ const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1437
1570
  this.offsetWires12.push(c), this.ToffsetWires1B2.push(c);
1438
1571
  break;
1439
- case T.双分裂:
1440
- const B = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a), m = I(f, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), a);
1441
- this.offsetWires12.push(B), this.offsetWires12.push(m), this.ToffsetWires1B2.push(B), this.ToffsetWires1B2.push(m);
1572
+ case A.双分裂:
1573
+ 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);
1574
+ this.offsetWires12.push(m), this.offsetWires12.push(b), this.ToffsetWires1B2.push(m), this.ToffsetWires1B2.push(b);
1442
1575
  break;
1443
- case T.四分裂:
1444
- const b = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a), w = I(f, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), a), P = I(f, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), a), g = I(f, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), a);
1445
- this.offsetWires12.push(b), this.offsetWires12.push(w), this.offsetWires12.push(P), this.offsetWires12.push(g), this.ToffsetWires1B2.push(b), this.ToffsetWires1B2.push(w), this.ToffsetWires1B2.push(P), this.ToffsetWires1B2.push(g);
1576
+ case A.四分裂:
1577
+ 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);
1578
+ 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);
1446
1579
  break;
1447
- case T.六分裂:
1448
- const y = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a), _ = I(f, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), a), v = I(f, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), a), M = I(f, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), a), k = I(f, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), a), Z = I(f, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), a);
1449
- this.offsetWires12.push(y), this.offsetWires12.push(_), this.offsetWires12.push(v), this.offsetWires12.push(M), this.offsetWires12.push(k), this.offsetWires12.push(Z), this.ToffsetWires1B2.push(y), this.ToffsetWires1B2.push(_), this.ToffsetWires1B2.push(v), this.ToffsetWires1B2.push(M), this.ToffsetWires1B2.push(k), this.ToffsetWires1B2.push(Z);
1580
+ case A.六分裂:
1581
+ 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), X = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W);
1582
+ this.offsetWires12.push(_), this.offsetWires12.push(v), this.offsetWires12.push(k), this.offsetWires12.push(M), this.offsetWires12.push(Z), this.offsetWires12.push(X), this.ToffsetWires1B2.push(_), this.ToffsetWires1B2.push(v), this.ToffsetWires1B2.push(k), this.ToffsetWires1B2.push(M), this.ToffsetWires1B2.push(Z), this.ToffsetWires1B2.push(X);
1450
1583
  break;
1451
- case T.八分裂:
1452
- const E = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a), Y = I(f, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), a), R = I(f, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), a), F = I(f, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), a), S = I(f, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), a), X = I(f, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), a), H = I(f, new n.Cartesian3(t.InsulatorPoint[6].X * -1, t.InsulatorPoint[6].Y, t.InsulatorPoint[6].Z), a), O = I(f, new n.Cartesian3(t.InsulatorPoint[7].X * -1, t.InsulatorPoint[7].Y, t.InsulatorPoint[7].Z), a);
1453
- this.offsetWires12.push(E), 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.ToffsetWires1B2.push(E), 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);
1584
+ case A.八分裂:
1585
+ const F = 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), D = 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), Y = 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);
1586
+ this.offsetWires12.push(F), this.offsetWires12.push(R), this.offsetWires12.push(D), this.offsetWires12.push(S), this.offsetWires12.push(Y), this.offsetWires12.push(H), this.offsetWires12.push(O), this.offsetWires12.push(N), this.ToffsetWires1B2.push(F), this.ToffsetWires1B2.push(R), this.ToffsetWires1B2.push(D), this.ToffsetWires1B2.push(S), this.ToffsetWires1B2.push(Y), this.ToffsetWires1B2.push(H), this.ToffsetWires1B2.push(O), this.ToffsetWires1B2.push(N);
1454
1587
  break;
1455
1588
  }
1456
- else if (t.type == D.跳线串)
1589
+ else if (t.type == E.跳线串)
1457
1590
  switch (this.LineInfo.Wairnum) {
1458
- case T.单分裂:
1591
+ case A.单分裂:
1459
1592
  this.ToffsetWires1B1.push(e[0]), this.ToffsetWires1B2.push(e[0]);
1460
1593
  break;
1461
- case T.双分裂:
1594
+ case A.双分裂:
1462
1595
  this.ToffsetWires1B1.push(e[0]), this.ToffsetWires1B1.push(e[1]), this.ToffsetWires1B2.push(e[2]), this.ToffsetWires1B2.push(e[3]);
1463
1596
  break;
1464
- case T.四分裂:
1597
+ case A.四分裂:
1465
1598
  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]);
1466
1599
  break;
1467
- case T.六分裂:
1600
+ case A.六分裂:
1468
1601
  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]);
1469
1602
  break;
1470
- case T.八分裂:
1603
+ case A.八分裂:
1471
1604
  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]);
1472
1605
  break;
1473
1606
  }
1474
1607
  break;
1475
- case G.C相:
1476
- if (t.type == D.耐张串)
1608
+ case z.C相:
1609
+ if (t.type == E.耐张串)
1477
1610
  if (t.WairFX == "进")
1478
1611
  switch (this.LineInfo.Wairnum) {
1479
- case T.单分裂:
1612
+ case A.单分裂:
1480
1613
  this.offsetWires13.push(e[0]), this.ToffsetWires1C1.push(e[1]);
1481
1614
  break;
1482
- case T.双分裂:
1615
+ case A.双分裂:
1483
1616
  this.offsetWires13.push(e[0]), this.offsetWires13.push(e[1]), this.ToffsetWires1C1.push(e[2]), this.ToffsetWires1C1.push(e[3]);
1484
1617
  break;
1485
- case T.四分裂:
1618
+ case A.四分裂:
1486
1619
  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]);
1487
1620
  break;
1488
- case T.六分裂:
1621
+ case A.六分裂:
1489
1622
  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]);
1490
1623
  break;
1491
- case T.八分裂:
1624
+ case A.八分裂:
1492
1625
  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]);
1493
1626
  break;
1494
1627
  }
1495
1628
  else
1496
1629
  switch (this.LineInfo.Wairnum) {
1497
- case T.单分裂:
1498
- const c = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a);
1630
+ case A.单分裂:
1631
+ const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1499
1632
  this.offsetWires13.push(c), this.ToffsetWires1C2.push(c);
1500
1633
  break;
1501
- case T.双分裂:
1502
- const B = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a), m = I(f, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), a);
1503
- this.offsetWires13.push(B), this.offsetWires13.push(m), this.ToffsetWires1C2.push(B), this.ToffsetWires1C2.push(m);
1634
+ case A.双分裂:
1635
+ 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);
1636
+ this.offsetWires13.push(m), this.offsetWires13.push(b), this.ToffsetWires1C2.push(m), this.ToffsetWires1C2.push(b);
1504
1637
  break;
1505
- case T.四分裂:
1506
- const b = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a), w = I(f, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), a), P = I(f, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), a), g = I(f, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), a);
1507
- this.offsetWires13.push(b), this.offsetWires13.push(w), this.offsetWires13.push(P), this.offsetWires13.push(g), this.ToffsetWires1C2.push(b), this.ToffsetWires1C2.push(w), this.ToffsetWires1C2.push(P), this.ToffsetWires1C2.push(g);
1638
+ case A.四分裂:
1639
+ 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);
1640
+ 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);
1508
1641
  break;
1509
- case T.六分裂:
1510
- const y = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a), _ = I(f, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), a), v = I(f, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), a), M = I(f, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), a), k = I(f, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), a), Z = I(f, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), a);
1511
- this.offsetWires13.push(y), this.offsetWires13.push(_), this.offsetWires13.push(v), this.offsetWires13.push(M), this.offsetWires13.push(k), this.offsetWires13.push(Z), this.ToffsetWires1C2.push(y), this.ToffsetWires1C2.push(_), this.ToffsetWires1C2.push(v), this.ToffsetWires1C2.push(M), this.ToffsetWires1C2.push(k), this.ToffsetWires1C2.push(Z);
1642
+ case A.六分裂:
1643
+ 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), X = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W);
1644
+ this.offsetWires13.push(_), this.offsetWires13.push(v), this.offsetWires13.push(k), this.offsetWires13.push(M), this.offsetWires13.push(Z), this.offsetWires13.push(X), this.ToffsetWires1C2.push(_), this.ToffsetWires1C2.push(v), this.ToffsetWires1C2.push(k), this.ToffsetWires1C2.push(M), this.ToffsetWires1C2.push(Z), this.ToffsetWires1C2.push(X);
1512
1645
  break;
1513
- case T.八分裂:
1514
- const E = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a), Y = I(f, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), a), R = I(f, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), a), F = I(f, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), a), S = I(f, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), a), X = I(f, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), a), H = I(f, new n.Cartesian3(t.InsulatorPoint[6].X * -1, t.InsulatorPoint[6].Y, t.InsulatorPoint[6].Z), a), O = I(f, new n.Cartesian3(t.InsulatorPoint[7].X * -1, t.InsulatorPoint[7].Y, t.InsulatorPoint[7].Z), a);
1515
- this.offsetWires13.push(E), 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.ToffsetWires1C2.push(E), 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);
1646
+ case A.八分裂:
1647
+ const F = 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), D = 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), Y = 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);
1648
+ this.offsetWires13.push(F), this.offsetWires13.push(R), this.offsetWires13.push(D), this.offsetWires13.push(S), this.offsetWires13.push(Y), this.offsetWires13.push(H), this.offsetWires13.push(O), this.offsetWires13.push(N), this.ToffsetWires1C2.push(F), this.ToffsetWires1C2.push(R), this.ToffsetWires1C2.push(D), this.ToffsetWires1C2.push(S), this.ToffsetWires1C2.push(Y), this.ToffsetWires1C2.push(H), this.ToffsetWires1C2.push(O), this.ToffsetWires1C2.push(N);
1516
1649
  break;
1517
1650
  }
1518
- else if (t.type == D.跳线串)
1651
+ else if (t.type == E.跳线串)
1519
1652
  switch (this.LineInfo.Wairnum) {
1520
- case T.单分裂:
1653
+ case A.单分裂:
1521
1654
  this.ToffsetWires1C1.push(e[0]), this.ToffsetWires1C2.push(e[0]);
1522
1655
  break;
1523
- case T.双分裂:
1656
+ case A.双分裂:
1524
1657
  this.ToffsetWires1C1.push(e[0]), this.ToffsetWires1C1.push(e[1]), this.ToffsetWires1C2.push(e[2]), this.ToffsetWires1C2.push(e[3]);
1525
1658
  break;
1526
- case T.四分裂:
1659
+ case A.四分裂:
1527
1660
  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]);
1528
1661
  break;
1529
- case T.六分裂:
1662
+ case A.六分裂:
1530
1663
  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]);
1531
1664
  break;
1532
- case T.八分裂:
1665
+ case A.八分裂:
1533
1666
  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]);
1534
1667
  break;
1535
1668
  }
@@ -1537,53 +1670,53 @@ class ai {
1537
1670
  }
1538
1671
  else
1539
1672
  switch (t.PhaseSequence) {
1540
- case G.A相:
1673
+ case z.A相:
1541
1674
  e.forEach((c) => {
1542
1675
  this.offsetWires11.push(c);
1543
1676
  });
1544
1677
  break;
1545
- case G.B相:
1678
+ case z.B相:
1546
1679
  e.forEach((c) => {
1547
1680
  this.offsetWires12.push(c);
1548
1681
  });
1549
1682
  break;
1550
- case G.C相:
1683
+ case z.C相:
1551
1684
  e.forEach((c) => {
1552
1685
  this.offsetWires13.push(c);
1553
1686
  });
1554
1687
  break;
1555
1688
  }
1556
- else if (this.LineInfo.towers[s].type == q.耐张塔)
1557
- switch (A) {
1689
+ else if (this.LineInfo.towers[s].type == $.耐张塔)
1690
+ switch (p) {
1558
1691
  case 2:
1559
1692
  switch (this.LineInfo.Wairnum) {
1560
- case T.单分裂:
1693
+ case A.单分裂:
1561
1694
  this.offsetWires11.push(e[0]), this.ToffsetWires1A1.push(e[0]);
1562
1695
  break;
1563
- case T.双分裂:
1696
+ case A.双分裂:
1564
1697
  this.offsetWires11.push(e[0]), this.offsetWires11.push(e[1]), this.ToffsetWires1A1.push(e[2]), this.ToffsetWires1A1.push(e[3]);
1565
1698
  break;
1566
1699
  }
1567
1700
  break;
1568
1701
  case 3:
1569
1702
  switch (this.LineInfo.Wairnum) {
1570
- case T.单分裂:
1703
+ case A.单分裂:
1571
1704
  this.ToffsetWires1A1.push(e[0]), this.ToffsetWires1A2.push(e[0]);
1572
1705
  break;
1573
- case T.双分裂:
1706
+ case A.双分裂:
1574
1707
  this.ToffsetWires1A1.push(e[0]), this.ToffsetWires1A1.push(e[1]), this.ToffsetWires1A2.push(e[2]), this.ToffsetWires1A2.push(e[3]);
1575
1708
  break;
1576
1709
  }
1577
1710
  break;
1578
1711
  case 4:
1579
1712
  switch (this.LineInfo.Wairnum) {
1580
- case T.单分裂:
1581
- const c = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a);
1713
+ case A.单分裂:
1714
+ const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1582
1715
  this.offsetWires11.push(c), this.ToffsetWires1A2.push(c);
1583
1716
  break;
1584
- case T.双分裂:
1585
- const B = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a), m = I(f, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), a);
1586
- this.offsetWires11.push(B), this.offsetWires11.push(m), this.ToffsetWires1A2.push(B), this.ToffsetWires1A2.push(m);
1717
+ case A.双分裂:
1718
+ 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);
1719
+ this.offsetWires11.push(m), this.offsetWires11.push(b), this.ToffsetWires1A2.push(m), this.ToffsetWires1A2.push(b);
1587
1720
  break;
1588
1721
  }
1589
1722
  break;
@@ -1599,8 +1732,8 @@ class ai {
1599
1732
  break;
1600
1733
  case 7:
1601
1734
  t.InsulatorPoint.forEach((c) => {
1602
- const B = I(f, new n.Cartesian3(c.X * -1, c.Y, c.Z), a);
1603
- this.offsetWires12.push(B), this.ToffsetWires1B2.push(B);
1735
+ const m = B(r, new n.Cartesian3(c.X * -1, c.Y, c.Z), W);
1736
+ this.offsetWires12.push(m), this.ToffsetWires1B2.push(m);
1604
1737
  });
1605
1738
  break;
1606
1739
  case 8:
@@ -1615,13 +1748,13 @@ class ai {
1615
1748
  break;
1616
1749
  case 10:
1617
1750
  t.InsulatorPoint.forEach((c) => {
1618
- const B = I(f, new n.Cartesian3(c.X * -1, c.Y, c.Z), a);
1619
- this.offsetWires13.push(B), this.ToffsetWires1C2.push(B);
1751
+ const m = B(r, new n.Cartesian3(c.X * -1, c.Y, c.Z), W);
1752
+ this.offsetWires13.push(m), this.ToffsetWires1C2.push(m);
1620
1753
  });
1621
1754
  break;
1622
1755
  }
1623
1756
  else
1624
- switch (A) {
1757
+ switch (p) {
1625
1758
  case 2:
1626
1759
  e.forEach((c) => {
1627
1760
  this.offsetWires11.push(c);
@@ -1639,192 +1772,192 @@ class ai {
1639
1772
  break;
1640
1773
  }
1641
1774
  break;
1642
- case es.回路二:
1775
+ case rs.回路二:
1643
1776
  if (this.LineInfo.ISPhaseSequence)
1644
- if (this.LineInfo.towers[s].type == q.耐张塔)
1777
+ if (this.LineInfo.towers[s].type == $.耐张塔)
1645
1778
  switch (t.PhaseSequence) {
1646
- case G.A相:
1647
- if (t.type == D.耐张串)
1779
+ case z.A相:
1780
+ if (t.type == E.耐张串)
1648
1781
  if (t.WairFX == "进")
1649
1782
  switch (this.LineInfo.Wairnum) {
1650
- case T.单分裂:
1783
+ case A.单分裂:
1651
1784
  this.offsetWires21.push(e[0]), this.ToffsetWires2A1.push(e[0]);
1652
1785
  break;
1653
- case T.双分裂:
1786
+ case A.双分裂:
1654
1787
  this.offsetWires21.push(e[0]), this.offsetWires21.push(e[1]), this.ToffsetWires2A1.push(e[2]), this.ToffsetWires2A1.push(e[3]);
1655
1788
  break;
1656
- case T.四分裂:
1789
+ case A.四分裂:
1657
1790
  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]);
1658
1791
  break;
1659
- case T.六分裂:
1792
+ case A.六分裂:
1660
1793
  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]);
1661
1794
  break;
1662
- case T.八分裂:
1795
+ case A.八分裂:
1663
1796
  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]);
1664
1797
  break;
1665
1798
  }
1666
1799
  else
1667
1800
  switch (this.LineInfo.Wairnum) {
1668
- case T.单分裂:
1669
- const c = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a);
1801
+ case A.单分裂:
1802
+ const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1670
1803
  this.offsetWires21.push(c), this.ToffsetWires2A2.push(c);
1671
1804
  break;
1672
- case T.双分裂:
1673
- const B = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a), m = I(f, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), a);
1674
- this.offsetWires21.push(B), this.offsetWires21.push(m), this.ToffsetWires2A2.push(B), this.ToffsetWires2A2.push(m);
1805
+ case A.双分裂:
1806
+ 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);
1807
+ this.offsetWires21.push(m), this.offsetWires21.push(b), this.ToffsetWires2A2.push(m), this.ToffsetWires2A2.push(b);
1675
1808
  break;
1676
- case T.四分裂:
1677
- const b = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a), w = I(f, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), a), P = I(f, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), a), g = I(f, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), a);
1678
- this.offsetWires21.push(b), this.offsetWires21.push(w), this.offsetWires21.push(P), this.offsetWires21.push(g), this.ToffsetWires2A2.push(b), this.ToffsetWires2A2.push(w), this.ToffsetWires2A2.push(P), this.ToffsetWires2A2.push(g);
1809
+ case A.四分裂:
1810
+ 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);
1811
+ 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);
1679
1812
  break;
1680
- case T.六分裂:
1681
- const y = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a), _ = I(f, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), a), v = I(f, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), a), M = I(f, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), a), k = I(f, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), a), Z = I(f, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), a);
1682
- this.offsetWires21.push(y), this.offsetWires21.push(_), this.offsetWires21.push(v), this.offsetWires21.push(M), this.offsetWires21.push(k), this.offsetWires21.push(Z), this.ToffsetWires2A2.push(y), this.ToffsetWires2A2.push(_), this.ToffsetWires2A2.push(v), this.ToffsetWires2A2.push(M), this.ToffsetWires2A2.push(k), this.ToffsetWires2A2.push(Z);
1813
+ case A.六分裂:
1814
+ 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), X = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W);
1815
+ this.offsetWires21.push(_), this.offsetWires21.push(v), this.offsetWires21.push(k), this.offsetWires21.push(M), this.offsetWires21.push(Z), this.offsetWires21.push(X), this.ToffsetWires2A2.push(_), this.ToffsetWires2A2.push(v), this.ToffsetWires2A2.push(k), this.ToffsetWires2A2.push(M), this.ToffsetWires2A2.push(Z), this.ToffsetWires2A2.push(X);
1683
1816
  break;
1684
- case T.八分裂:
1685
- const E = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a), Y = I(f, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), a), R = I(f, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), a), F = I(f, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), a), S = I(f, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), a), X = I(f, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), a), H = I(f, new n.Cartesian3(t.InsulatorPoint[6].X * -1, t.InsulatorPoint[6].Y, t.InsulatorPoint[6].Z), a), O = I(f, new n.Cartesian3(t.InsulatorPoint[7].X * -1, t.InsulatorPoint[7].Y, t.InsulatorPoint[7].Z), a);
1686
- this.offsetWires21.push(E), 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.ToffsetWires2A2.push(E), 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);
1817
+ case A.八分裂:
1818
+ const F = 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), D = 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), Y = 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);
1819
+ this.offsetWires21.push(F), this.offsetWires21.push(R), this.offsetWires21.push(D), this.offsetWires21.push(S), this.offsetWires21.push(Y), this.offsetWires21.push(H), this.offsetWires21.push(O), this.offsetWires21.push(N), this.ToffsetWires2A2.push(F), this.ToffsetWires2A2.push(R), this.ToffsetWires2A2.push(D), this.ToffsetWires2A2.push(S), this.ToffsetWires2A2.push(Y), this.ToffsetWires2A2.push(H), this.ToffsetWires2A2.push(O), this.ToffsetWires2A2.push(N);
1687
1820
  break;
1688
1821
  }
1689
- else if (t.type == D.跳线串)
1822
+ else if (t.type == E.跳线串)
1690
1823
  switch (this.LineInfo.Wairnum) {
1691
- case T.单分裂:
1824
+ case A.单分裂:
1692
1825
  this.ToffsetWires2A1.push(e[0]), this.ToffsetWires2A2.push(e[0]);
1693
1826
  break;
1694
- case T.双分裂:
1827
+ case A.双分裂:
1695
1828
  this.ToffsetWires2A1.push(e[0]), this.ToffsetWires2A1.push(e[1]), this.ToffsetWires2A2.push(e[2]), this.ToffsetWires2A2.push(e[3]);
1696
1829
  break;
1697
- case T.四分裂:
1830
+ case A.四分裂:
1698
1831
  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]);
1699
1832
  break;
1700
- case T.六分裂:
1833
+ case A.六分裂:
1701
1834
  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]);
1702
1835
  break;
1703
- case T.八分裂:
1836
+ case A.八分裂:
1704
1837
  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]);
1705
1838
  break;
1706
1839
  }
1707
1840
  break;
1708
- case G.B相:
1709
- if (t.type == D.耐张串)
1841
+ case z.B相:
1842
+ if (t.type == E.耐张串)
1710
1843
  if (t.WairFX == "进")
1711
1844
  switch (this.LineInfo.Wairnum) {
1712
- case T.单分裂:
1845
+ case A.单分裂:
1713
1846
  this.offsetWires22.push(e[0]), this.ToffsetWires2B1.push(e[0]);
1714
1847
  break;
1715
- case T.双分裂:
1848
+ case A.双分裂:
1716
1849
  this.offsetWires22.push(e[0]), this.offsetWires22.push(e[1]), this.ToffsetWires2B1.push(e[2]), this.ToffsetWires2B1.push(e[3]);
1717
1850
  break;
1718
- case T.四分裂:
1851
+ case A.四分裂:
1719
1852
  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]);
1720
1853
  break;
1721
- case T.六分裂:
1854
+ case A.六分裂:
1722
1855
  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]);
1723
1856
  break;
1724
- case T.八分裂:
1857
+ case A.八分裂:
1725
1858
  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]);
1726
1859
  break;
1727
1860
  }
1728
1861
  else
1729
1862
  switch (this.LineInfo.Wairnum) {
1730
- case T.单分裂:
1731
- const c = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a);
1863
+ case A.单分裂:
1864
+ const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1732
1865
  this.offsetWires22.push(c), this.ToffsetWires2B2.push(c);
1733
1866
  break;
1734
- case T.双分裂:
1735
- const B = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a), m = I(f, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), a);
1736
- this.offsetWires22.push(B), this.offsetWires22.push(m), this.ToffsetWires2B2.push(B), this.ToffsetWires2B2.push(m);
1867
+ case A.双分裂:
1868
+ 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);
1869
+ this.offsetWires22.push(m), this.offsetWires22.push(b), this.ToffsetWires2B2.push(m), this.ToffsetWires2B2.push(b);
1737
1870
  break;
1738
- case T.四分裂:
1739
- const b = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a), w = I(f, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), a), P = I(f, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), a), g = I(f, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), a);
1740
- this.offsetWires22.push(b), this.offsetWires22.push(w), this.offsetWires22.push(P), this.offsetWires22.push(g), this.ToffsetWires2B2.push(b), this.ToffsetWires2B2.push(w), this.ToffsetWires2B2.push(P), this.ToffsetWires2B2.push(g);
1871
+ case A.四分裂:
1872
+ 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);
1873
+ 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);
1741
1874
  break;
1742
- case T.六分裂:
1743
- const y = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a), _ = I(f, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), a), v = I(f, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), a), M = I(f, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), a), k = I(f, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), a), Z = I(f, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), a);
1744
- this.offsetWires22.push(y), this.offsetWires22.push(_), this.offsetWires22.push(v), this.offsetWires22.push(M), this.offsetWires22.push(k), this.offsetWires22.push(Z), this.ToffsetWires2B2.push(y), this.ToffsetWires2B2.push(_), this.ToffsetWires2B2.push(v), this.ToffsetWires2B2.push(M), this.ToffsetWires2B2.push(k), this.ToffsetWires2B2.push(Z);
1875
+ case A.六分裂:
1876
+ 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), X = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W);
1877
+ this.offsetWires22.push(_), this.offsetWires22.push(v), this.offsetWires22.push(k), this.offsetWires22.push(M), this.offsetWires22.push(Z), this.offsetWires22.push(X), this.ToffsetWires2B2.push(_), this.ToffsetWires2B2.push(v), this.ToffsetWires2B2.push(k), this.ToffsetWires2B2.push(M), this.ToffsetWires2B2.push(Z), this.ToffsetWires2B2.push(X);
1745
1878
  break;
1746
- case T.八分裂:
1747
- const E = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a), Y = I(f, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), a), R = I(f, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), a), F = I(f, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), a), S = I(f, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), a), X = I(f, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), a), H = I(f, new n.Cartesian3(t.InsulatorPoint[6].X * -1, t.InsulatorPoint[6].Y, t.InsulatorPoint[6].Z), a), O = I(f, new n.Cartesian3(t.InsulatorPoint[7].X * -1, t.InsulatorPoint[7].Y, t.InsulatorPoint[7].Z), a);
1748
- this.offsetWires22.push(E), 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.ToffsetWires2B2.push(E), 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);
1879
+ case A.八分裂:
1880
+ const F = 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), D = 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), Y = 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);
1881
+ this.offsetWires22.push(F), this.offsetWires22.push(R), this.offsetWires22.push(D), this.offsetWires22.push(S), this.offsetWires22.push(Y), this.offsetWires22.push(H), this.offsetWires22.push(O), this.offsetWires22.push(N), this.ToffsetWires2B2.push(F), this.ToffsetWires2B2.push(R), this.ToffsetWires2B2.push(D), this.ToffsetWires2B2.push(S), this.ToffsetWires2B2.push(Y), this.ToffsetWires2B2.push(H), this.ToffsetWires2B2.push(O), this.ToffsetWires2B2.push(N);
1749
1882
  break;
1750
1883
  }
1751
- else if (t.type == D.跳线串)
1884
+ else if (t.type == E.跳线串)
1752
1885
  switch (this.LineInfo.Wairnum) {
1753
- case T.单分裂:
1886
+ case A.单分裂:
1754
1887
  this.ToffsetWires2B1.push(e[0]), this.ToffsetWires2B2.push(e[0]);
1755
1888
  break;
1756
- case T.双分裂:
1889
+ case A.双分裂:
1757
1890
  this.ToffsetWires2B1.push(e[0]), this.ToffsetWires2B1.push(e[1]), this.ToffsetWires2B2.push(e[2]), this.ToffsetWires2B2.push(e[3]);
1758
1891
  break;
1759
- case T.四分裂:
1892
+ case A.四分裂:
1760
1893
  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]);
1761
1894
  break;
1762
- case T.六分裂:
1895
+ case A.六分裂:
1763
1896
  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]);
1764
1897
  break;
1765
- case T.八分裂:
1898
+ case A.八分裂:
1766
1899
  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]);
1767
1900
  break;
1768
1901
  }
1769
1902
  break;
1770
- case G.C相:
1771
- if (t.type == D.耐张串)
1903
+ case z.C相:
1904
+ if (t.type == E.耐张串)
1772
1905
  if (t.WairFX == "进")
1773
1906
  switch (this.LineInfo.Wairnum) {
1774
- case T.单分裂:
1907
+ case A.单分裂:
1775
1908
  this.offsetWires23.push(e[0]), this.ToffsetWires2C1.push(e[0]);
1776
1909
  break;
1777
- case T.双分裂:
1910
+ case A.双分裂:
1778
1911
  this.offsetWires23.push(e[0]), this.offsetWires23.push(e[1]), this.ToffsetWires2C1.push(e[2]), this.ToffsetWires2C1.push(e[3]);
1779
1912
  break;
1780
- case T.四分裂:
1913
+ case A.四分裂:
1781
1914
  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]);
1782
1915
  break;
1783
- case T.六分裂:
1916
+ case A.六分裂:
1784
1917
  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]);
1785
1918
  break;
1786
- case T.八分裂:
1919
+ case A.八分裂:
1787
1920
  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]);
1788
1921
  break;
1789
1922
  }
1790
1923
  else
1791
1924
  switch (this.LineInfo.Wairnum) {
1792
- case T.单分裂:
1793
- const c = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a);
1925
+ case A.单分裂:
1926
+ const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1794
1927
  this.offsetWires23.push(c), this.ToffsetWires2C2.push(c);
1795
1928
  break;
1796
- case T.双分裂:
1797
- const B = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a), m = I(f, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), a);
1798
- this.offsetWires23.push(B), this.offsetWires23.push(m), this.ToffsetWires2C2.push(B), this.ToffsetWires2C2.push(m);
1929
+ case A.双分裂:
1930
+ 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);
1931
+ this.offsetWires23.push(m), this.offsetWires23.push(b), this.ToffsetWires2C2.push(m), this.ToffsetWires2C2.push(b);
1799
1932
  break;
1800
- case T.四分裂:
1801
- const b = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a), w = I(f, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), a), P = I(f, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), a), g = I(f, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), a);
1802
- this.offsetWires23.push(b), this.offsetWires23.push(w), this.offsetWires23.push(P), this.offsetWires23.push(g), this.ToffsetWires2C2.push(b), this.ToffsetWires2C2.push(w), this.ToffsetWires2C2.push(P), this.ToffsetWires2C2.push(g);
1933
+ case A.四分裂:
1934
+ 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);
1935
+ 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);
1803
1936
  break;
1804
- case T.六分裂:
1805
- const y = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a), _ = I(f, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), a), v = I(f, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), a), M = I(f, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), a), k = I(f, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), a), Z = I(f, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), a);
1806
- this.offsetWires23.push(y), this.offsetWires23.push(_), this.offsetWires23.push(v), this.offsetWires23.push(M), this.offsetWires23.push(k), this.offsetWires23.push(Z), this.ToffsetWires2C2.push(y), this.ToffsetWires2C2.push(_), this.ToffsetWires2C2.push(v), this.ToffsetWires2C2.push(M), this.ToffsetWires2C2.push(k), this.ToffsetWires2C2.push(Z);
1937
+ case A.六分裂:
1938
+ 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), X = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W);
1939
+ this.offsetWires23.push(_), this.offsetWires23.push(v), this.offsetWires23.push(k), this.offsetWires23.push(M), this.offsetWires23.push(Z), this.offsetWires23.push(X), this.ToffsetWires2C2.push(_), this.ToffsetWires2C2.push(v), this.ToffsetWires2C2.push(k), this.ToffsetWires2C2.push(M), this.ToffsetWires2C2.push(Z), this.ToffsetWires2C2.push(X);
1807
1940
  break;
1808
- case T.八分裂:
1809
- const E = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a), Y = I(f, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), a), R = I(f, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), a), F = I(f, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), a), S = I(f, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), a), X = I(f, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), a), H = I(f, new n.Cartesian3(t.InsulatorPoint[6].X * -1, t.InsulatorPoint[6].Y, t.InsulatorPoint[6].Z), a), O = I(f, new n.Cartesian3(t.InsulatorPoint[7].X * -1, t.InsulatorPoint[7].Y, t.InsulatorPoint[7].Z), a);
1810
- this.offsetWires23.push(E), 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.ToffsetWires2C2.push(E), 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);
1941
+ case A.八分裂:
1942
+ const F = 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), D = 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), Y = 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);
1943
+ this.offsetWires23.push(F), this.offsetWires23.push(R), this.offsetWires23.push(D), this.offsetWires23.push(S), this.offsetWires23.push(Y), this.offsetWires23.push(H), this.offsetWires23.push(O), this.offsetWires23.push(N), this.ToffsetWires2C2.push(F), this.ToffsetWires2C2.push(R), this.ToffsetWires2C2.push(D), this.ToffsetWires2C2.push(S), this.ToffsetWires2C2.push(Y), this.ToffsetWires2C2.push(H), this.ToffsetWires2C2.push(O), this.ToffsetWires2C2.push(N);
1811
1944
  break;
1812
1945
  }
1813
- else if (t.type == D.跳线串)
1946
+ else if (t.type == E.跳线串)
1814
1947
  switch (this.LineInfo.Wairnum) {
1815
- case T.单分裂:
1948
+ case A.单分裂:
1816
1949
  this.ToffsetWires2C1.push(e[0]), this.ToffsetWires2C2.push(e[0]);
1817
1950
  break;
1818
- case T.双分裂:
1951
+ case A.双分裂:
1819
1952
  this.ToffsetWires2C1.push(e[0]), this.ToffsetWires2C1.push(e[1]), this.ToffsetWires2C2.push(e[2]), this.ToffsetWires2C2.push(e[3]);
1820
1953
  break;
1821
- case T.四分裂:
1954
+ case A.四分裂:
1822
1955
  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]);
1823
1956
  break;
1824
- case T.六分裂:
1957
+ case A.六分裂:
1825
1958
  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]);
1826
1959
  break;
1827
- case T.八分裂:
1960
+ case A.八分裂:
1828
1961
  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]);
1829
1962
  break;
1830
1963
  }
@@ -1832,24 +1965,24 @@ class ai {
1832
1965
  }
1833
1966
  else
1834
1967
  switch (t.PhaseSequence) {
1835
- case G.A相:
1968
+ case z.A相:
1836
1969
  e.forEach((c) => {
1837
1970
  this.offsetWires21.push(c);
1838
1971
  });
1839
1972
  break;
1840
- case G.B相:
1973
+ case z.B相:
1841
1974
  e.forEach((c) => {
1842
1975
  this.offsetWires22.push(c);
1843
1976
  });
1844
1977
  break;
1845
- case G.C相:
1978
+ case z.C相:
1846
1979
  e.forEach((c) => {
1847
1980
  this.offsetWires23.push(c);
1848
1981
  });
1849
1982
  break;
1850
1983
  }
1851
- else if (this.LineInfo.towers[s].type == q.耐张塔)
1852
- switch (A) {
1984
+ else if (this.LineInfo.towers[s].type == $.耐张塔)
1985
+ switch (p) {
1853
1986
  case 11:
1854
1987
  this.offsetWires21.push(e[0]), this.ToffsetWires2A1.push(e[0]);
1855
1988
  break;
@@ -1857,7 +1990,7 @@ class ai {
1857
1990
  this.ToffsetWires2A1.push(e[0]), this.ToffsetWires2A2.push(e[0]);
1858
1991
  break;
1859
1992
  case 13:
1860
- const c = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a);
1993
+ const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1861
1994
  this.offsetWires21.push(c), this.ToffsetWires2A2.push(c);
1862
1995
  break;
1863
1996
  case 14:
@@ -1867,8 +2000,8 @@ class ai {
1867
2000
  this.ToffsetWires2B1.push(e[0]), this.ToffsetWires2B2.push(e[0]);
1868
2001
  break;
1869
2002
  case 16:
1870
- const B = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a);
1871
- this.offsetWires22.push(B), this.ToffsetWires2B2.push(B);
2003
+ const m = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
2004
+ this.offsetWires22.push(m), this.ToffsetWires2B2.push(m);
1872
2005
  break;
1873
2006
  case 17:
1874
2007
  this.offsetWires23.push(e[0]), this.ToffsetWires2C1.push(e[0]);
@@ -1877,12 +2010,12 @@ class ai {
1877
2010
  this.ToffsetWires2C1.push(e[0]), this.ToffsetWires2C2.push(e[0]);
1878
2011
  break;
1879
2012
  case 19:
1880
- const m = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a);
1881
- this.offsetWires23.push(m), this.ToffsetWires2C2.push(m);
2013
+ const b = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
2014
+ this.offsetWires23.push(b), this.ToffsetWires2C2.push(b);
1882
2015
  break;
1883
2016
  }
1884
2017
  else
1885
- switch (A) {
2018
+ switch (p) {
1886
2019
  case 5:
1887
2020
  e.forEach((c) => {
1888
2021
  this.offsetWires21.push(c);
@@ -1900,18 +2033,18 @@ class ai {
1900
2033
  break;
1901
2034
  }
1902
2035
  break;
1903
- case es.地线:
2036
+ case rs.地线:
1904
2037
  if (this.LineInfo.ISPhaseSequence)
1905
2038
  switch (t.PhaseSequence) {
1906
- case G.地线1:
2039
+ case z.地线1:
1907
2040
  this.offsetGrouundWires11.push(e[0]);
1908
2041
  break;
1909
- case G.地线2:
2042
+ case z.地线2:
1910
2043
  this.offsetGrouundWires12.push(e[0]);
1911
2044
  break;
1912
2045
  }
1913
2046
  else
1914
- switch (A) {
2047
+ switch (p) {
1915
2048
  case 0:
1916
2049
  this.offsetGrouundWires11.push(e[0]);
1917
2050
  break;
@@ -1921,144 +2054,144 @@ class ai {
1921
2054
  }
1922
2055
  break;
1923
2056
  }
1924
- A = A + 1;
2057
+ p = p + 1;
1925
2058
  }), this.offsetWires11.length > 0 && s > 0) {
1926
- const t = [], l = [], u = [], e = [], c = [], B = [], m = [], b = [];
2059
+ const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [];
1927
2060
  switch (this.LineInfo.Wairnum) {
1928
- case T.单分裂:
1929
- this.offsetWires11.length >= 2 && (t.push(this.offsetWires11[o]), t.push(this.offsetWires11[o - 1]), this.offsetArcWires1A = h(t), this.offsetArcWires1A.forEach((w) => {
1930
- this.arcLine1A1.push(z(this.viewer.scene.globe.ellipsoid, w));
1931
- }), this.LineentityCollection2.add(r(this.offsetArcWires1A, "导线1_A1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)));
2061
+ case A.单分裂:
2062
+ this.offsetWires11.length >= 2 && (t.push(this.offsetWires11[o]), t.push(this.offsetWires11[o - 1]), this.offsetArcWires1A = f(t), this.offsetArcWires1A.forEach((I) => {
2063
+ this.arcLine1A1.push(q(this.viewer.scene.globe.ellipsoid, I));
2064
+ }), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)));
1932
2065
  break;
1933
- case T.双分裂:
1934
- this.offsetWires11.length >= 4 && (t.push(this.offsetWires11[o]), t.push(this.offsetWires11[o - 2]), this.offsetArcWires1A = h(t), this.LineentityCollection2.add(r(this.offsetArcWires1A, "导线1_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1A.forEach((w) => {
1935
- this.arcLine1A1.push(z(this.viewer.scene.globe.ellipsoid, w));
1936
- }), l.push(this.offsetWires11[o + 1]), l.push(this.offsetWires11[o - 1]), this.offsetArcWires1A = h(l), this.LineentityCollection2.add(r(this.offsetArcWires1A, "导线1_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)));
2066
+ case A.双分裂:
2067
+ 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) => {
2068
+ this.arcLine1A1.push(q(this.viewer.scene.globe.ellipsoid, I));
2069
+ }), 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)));
1937
2070
  break;
1938
- case T.四分裂:
1939
- this.offsetWires11.length >= 8 && (t.push(this.offsetWires11[o]), t.push(this.offsetWires11[o - 4]), this.offsetArcWires1A = h(t), this.LineentityCollection2.add(r(this.offsetArcWires1A, "导线1_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1A.forEach((w) => {
1940
- this.arcLine1A1.push(z(this.viewer.scene.globe.ellipsoid, w));
1941
- }), l.push(this.offsetWires11[o + 1]), l.push(this.offsetWires11[o - 3]), this.offsetArcWires1A = h(l), this.LineentityCollection2.add(r(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 = h(u), this.LineentityCollection2.add(r(this.offsetArcWires1A, "导线1_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires11[o + 3]), e.push(this.offsetWires11[o - 1]), this.offsetArcWires1A = h(e), this.LineentityCollection2.add(r(this.offsetArcWires1A, "导线1_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)));
2071
+ case A.四分裂:
2072
+ 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) => {
2073
+ this.arcLine1A1.push(q(this.viewer.scene.globe.ellipsoid, I));
2074
+ }), 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)));
1942
2075
  break;
1943
- case T.六分裂:
1944
- this.offsetWires11.length >= 12 && (t.push(this.offsetWires11[o]), t.push(this.offsetWires11[o - 6]), this.offsetArcWires1A = h(t), this.LineentityCollection2.add(r(this.offsetArcWires1A, "导线1_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1A.forEach((w) => {
1945
- this.arcLine1A1.push(z(this.viewer.scene.globe.ellipsoid, w));
1946
- }), l.push(this.offsetWires11[o + 1]), l.push(this.offsetWires11[o - 5]), this.offsetArcWires1A = h(l), this.LineentityCollection2.add(r(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 = h(u), this.LineentityCollection2.add(r(this.offsetArcWires1A, "导线1_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires11[o + 3]), e.push(this.offsetWires11[o - 3]), this.offsetArcWires1A = h(e), this.LineentityCollection2.add(r(this.offsetArcWires1A, "导线1_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires11[o + 4]), c.push(this.offsetWires11[o - 2]), this.offsetArcWires1A = h(c), this.LineentityCollection2.add(r(this.offsetArcWires1A, "导线1_A5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), B.push(this.offsetWires11[o + 5]), B.push(this.offsetWires11[o - 1]), this.offsetArcWires1A = h(B), this.LineentityCollection2.add(r(this.offsetArcWires1A, "导线1_A6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)));
2076
+ case A.六分裂:
2077
+ 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) => {
2078
+ this.arcLine1A1.push(q(this.viewer.scene.globe.ellipsoid, I));
2079
+ }), 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)));
1947
2080
  break;
1948
- case T.八分裂:
1949
- this.offsetWires11.length >= 16 && (t.push(this.offsetWires11[o]), t.push(this.offsetWires11[o - 8]), this.offsetArcWires1A = h(t), this.LineentityCollection2.add(r(this.offsetArcWires1A, "导线1_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1A.forEach((w) => {
1950
- this.arcLine1A1.push(z(this.viewer.scene.globe.ellipsoid, w));
1951
- }), l.push(this.offsetWires11[o + 1]), l.push(this.offsetWires11[o - 7]), this.offsetArcWires1A = h(l), this.LineentityCollection2.add(r(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 = h(u), this.LineentityCollection2.add(r(this.offsetArcWires1A, "导线1_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires11[o + 3]), e.push(this.offsetWires11[o - 5]), this.offsetArcWires1A = h(e), this.LineentityCollection2.add(r(this.offsetArcWires1A, "导线1_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires11[o + 4]), c.push(this.offsetWires11[o - 4]), this.offsetArcWires1A = h(c), this.LineentityCollection2.add(r(this.offsetArcWires1A, "导线1_A5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), B.push(this.offsetWires11[o + 5]), B.push(this.offsetWires11[o - 3]), this.offsetArcWires1A = h(B), this.LineentityCollection2.add(r(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 = h(m), this.LineentityCollection2.add(r(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 = h(b), this.LineentityCollection2.add(r(this.offsetArcWires1A, "导线1_A8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)));
2081
+ case A.八分裂:
2082
+ 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) => {
2083
+ this.arcLine1A1.push(q(this.viewer.scene.globe.ellipsoid, I));
2084
+ }), 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)));
1952
2085
  break;
1953
2086
  }
1954
2087
  }
1955
2088
  if (this.offsetWires12.length > 0 && s > 0) {
1956
- const t = [], l = [], u = [], e = [], c = [], B = [], m = [], b = [];
2089
+ const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [];
1957
2090
  switch (this.LineInfo.Wairnum) {
1958
- case T.单分裂:
1959
- t.push(this.offsetWires12[o]), t.push(this.offsetWires12[o - 1]), this.offsetArcWires1B = h(t), this.LineentityCollection2.add(r(this.offsetArcWires1B, "导线1_B1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((w) => {
1960
- this.arcLine1B1.push(z(this.viewer.scene.globe.ellipsoid, w));
2091
+ case A.单分裂:
2092
+ 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) => {
2093
+ this.arcLine1B1.push(q(this.viewer.scene.globe.ellipsoid, I));
1961
2094
  });
1962
2095
  break;
1963
- case T.双分裂:
1964
- t.push(this.offsetWires12[o]), t.push(this.offsetWires12[o - 2]), this.offsetArcWires1B = h(t), this.LineentityCollection2.add(r(this.offsetArcWires1B, "导线1_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((w) => {
1965
- this.arcLine1B1.push(z(this.viewer.scene.globe.ellipsoid, w));
1966
- }), l.push(this.offsetWires12[o + 1]), l.push(this.offsetWires12[o - 1]), this.offsetArcWires1B = h(l), this.LineentityCollection2.add(r(this.offsetArcWires1B, "导线1_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2096
+ case A.双分裂:
2097
+ 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) => {
2098
+ this.arcLine1B1.push(q(this.viewer.scene.globe.ellipsoid, I));
2099
+ }), 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));
1967
2100
  break;
1968
- case T.四分裂:
1969
- t.push(this.offsetWires12[o]), t.push(this.offsetWires12[o - 4]), this.offsetArcWires1B = h(t), this.LineentityCollection2.add(r(this.offsetArcWires1B, "导线1_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((w) => {
1970
- this.arcLine1B1.push(z(this.viewer.scene.globe.ellipsoid, w));
1971
- }), l.push(this.offsetWires12[o + 1]), l.push(this.offsetWires12[o - 3]), this.offsetArcWires1B = h(l), this.LineentityCollection2.add(r(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 = h(u), this.LineentityCollection2.add(r(this.offsetArcWires1B, "导线1_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires12[o + 3]), e.push(this.offsetWires12[o - 1]), this.offsetArcWires1B = h(e), this.LineentityCollection2.add(r(this.offsetArcWires1B, "导线1_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2101
+ case A.四分裂:
2102
+ 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) => {
2103
+ this.arcLine1B1.push(q(this.viewer.scene.globe.ellipsoid, I));
2104
+ }), 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));
1972
2105
  break;
1973
- case T.六分裂:
1974
- t.push(this.offsetWires12[o]), t.push(this.offsetWires12[o - 6]), this.offsetArcWires1B = h(t), this.LineentityCollection2.add(r(this.offsetArcWires1B, "导线1_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((w) => {
1975
- this.arcLine1B1.push(z(this.viewer.scene.globe.ellipsoid, w));
1976
- }), l.push(this.offsetWires12[o + 1]), l.push(this.offsetWires12[o - 5]), this.offsetArcWires1B = h(l), this.LineentityCollection2.add(r(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 = h(u), this.LineentityCollection2.add(r(this.offsetArcWires1B, "导线1_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires12[o + 3]), e.push(this.offsetWires12[o - 3]), this.offsetArcWires1B = h(e), this.LineentityCollection2.add(r(this.offsetArcWires1B, "导线1_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires12[o + 4]), c.push(this.offsetWires12[o - 2]), this.offsetArcWires1B = h(c), this.LineentityCollection2.add(r(this.offsetArcWires1B, "导线1_B5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), B.push(this.offsetWires12[o + 5]), B.push(this.offsetWires12[o - 1]), this.offsetArcWires1B = h(B), this.LineentityCollection2.add(r(this.offsetArcWires1B, "导线1_B6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2106
+ case A.六分裂:
2107
+ 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) => {
2108
+ this.arcLine1B1.push(q(this.viewer.scene.globe.ellipsoid, I));
2109
+ }), 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));
1977
2110
  break;
1978
- case T.八分裂:
1979
- t.push(this.offsetWires12[o]), t.push(this.offsetWires12[o - 8]), this.offsetArcWires1B = h(t), this.LineentityCollection2.add(r(this.offsetArcWires1B, "导线1_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((w) => {
1980
- this.arcLine1B1.push(z(this.viewer.scene.globe.ellipsoid, w));
1981
- }), l.push(this.offsetWires12[o + 1]), l.push(this.offsetWires12[o - 7]), this.offsetArcWires1B = h(l), this.LineentityCollection2.add(r(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 = h(u), this.LineentityCollection2.add(r(this.offsetArcWires1B, "导线1_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires12[o + 3]), e.push(this.offsetWires12[o - 5]), this.offsetArcWires1B = h(e), this.LineentityCollection2.add(r(this.offsetArcWires1B, "导线1_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires12[o + 4]), c.push(this.offsetWires12[o - 4]), this.offsetArcWires1B = h(c), this.LineentityCollection2.add(r(this.offsetArcWires1B, "导线1_B5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), B.push(this.offsetWires12[o + 5]), B.push(this.offsetWires12[o - 3]), this.offsetArcWires1B = h(B), this.LineentityCollection2.add(r(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 = h(m), this.LineentityCollection2.add(r(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 = h(b), this.LineentityCollection2.add(r(this.offsetArcWires1B, "导线1_B8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2111
+ case A.八分裂:
2112
+ 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) => {
2113
+ this.arcLine1B1.push(q(this.viewer.scene.globe.ellipsoid, I));
2114
+ }), 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));
1982
2115
  break;
1983
2116
  }
1984
2117
  }
1985
2118
  if (this.offsetWires13.length > 0 && s > 0) {
1986
- const t = [], l = [], u = [], e = [], c = [], B = [], m = [], b = [];
2119
+ const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [];
1987
2120
  switch (this.LineInfo.Wairnum) {
1988
- case T.单分裂:
1989
- t.push(this.offsetWires13[o]), t.push(this.offsetWires13[o - 1]), this.offsetArcWires1C = h(t), this.LineentityCollection2.add(r(this.offsetArcWires1C, "导线1_C1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2121
+ case A.单分裂:
2122
+ 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));
1990
2123
  break;
1991
- case T.双分裂:
1992
- t.push(this.offsetWires13[o]), t.push(this.offsetWires13[o - 2]), this.offsetArcWires1C = h(t), this.LineentityCollection2.add(r(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 = h(l), this.LineentityCollection2.add(r(this.offsetArcWires1C, "导线1_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2124
+ case A.双分裂:
2125
+ 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));
1993
2126
  break;
1994
- case T.四分裂:
1995
- t.push(this.offsetWires13[o]), t.push(this.offsetWires13[o - 4]), this.offsetArcWires1C = h(t), this.LineentityCollection2.add(r(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 = h(l), this.LineentityCollection2.add(r(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 = h(u), this.LineentityCollection2.add(r(this.offsetArcWires1C, "导线1_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires13[o + 3]), e.push(this.offsetWires13[o - 1]), this.offsetArcWires1C = h(e), this.LineentityCollection2.add(r(this.offsetArcWires1C, "导线1_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2127
+ case A.四分裂:
2128
+ 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));
1996
2129
  break;
1997
- case T.六分裂:
1998
- t.push(this.offsetWires13[o]), t.push(this.offsetWires13[o - 6]), this.offsetArcWires1C = h(t), this.LineentityCollection2.add(r(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 = h(l), this.LineentityCollection2.add(r(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 = h(u), this.LineentityCollection2.add(r(this.offsetArcWires1C, "导线1_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires13[o + 3]), e.push(this.offsetWires13[o - 3]), this.offsetArcWires1C = h(e), this.LineentityCollection2.add(r(this.offsetArcWires1C, "导线1_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires13[o + 4]), c.push(this.offsetWires13[o - 2]), this.offsetArcWires1C = h(c), this.LineentityCollection2.add(r(this.offsetArcWires1C, "导线1_C5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), B.push(this.offsetWires13[o + 5]), B.push(this.offsetWires13[o - 1]), this.offsetArcWires1C = h(B), this.LineentityCollection2.add(r(this.offsetArcWires1C, "导线1_C6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2130
+ case A.六分裂:
2131
+ 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));
1999
2132
  break;
2000
- case T.八分裂:
2001
- t.push(this.offsetWires13[o]), t.push(this.offsetWires13[o - 8]), this.offsetArcWires1C = h(t), this.LineentityCollection2.add(r(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 = h(l), this.LineentityCollection2.add(r(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 = h(u), this.LineentityCollection2.add(r(this.offsetArcWires1C, "导线1_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires13[o + 3]), e.push(this.offsetWires13[o - 5]), this.offsetArcWires1C = h(e), this.LineentityCollection2.add(r(this.offsetArcWires1C, "导线1_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires13[o + 4]), c.push(this.offsetWires13[o - 4]), this.offsetArcWires1C = h(c), this.LineentityCollection2.add(r(this.offsetArcWires1C, "导线1_C5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), B.push(this.offsetWires13[o + 5]), B.push(this.offsetWires13[o - 3]), this.offsetArcWires1C = h(B), this.LineentityCollection2.add(r(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 = h(m), this.LineentityCollection2.add(r(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 = h(b), this.LineentityCollection2.add(r(this.offsetArcWires1C, "导线1_C8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2133
+ case A.八分裂:
2134
+ 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));
2002
2135
  break;
2003
2136
  }
2004
2137
  }
2005
2138
  if (this.offsetWires21.length > 0 && s > 0) {
2006
- const t = [], l = [], u = [], e = [], c = [], B = [], m = [], b = [];
2139
+ const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [];
2007
2140
  switch (this.LineInfo.Wairnum) {
2008
- case T.单分裂:
2009
- t.push(this.offsetWires21[o]), t.push(this.offsetWires21[o - 1]), this.offsetArcWires2A = h(t), this.LineentityCollection2.add(r(this.offsetArcWires2A, "导线2_A1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2141
+ case A.单分裂:
2142
+ 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));
2010
2143
  break;
2011
- case T.双分裂:
2012
- t.push(this.offsetWires21[o]), t.push(this.offsetWires21[o - 2]), this.offsetArcWires2A = h(t), this.LineentityCollection2.add(r(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 = h(l), this.LineentityCollection2.add(r(this.offsetArcWires2A, "导线2_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2144
+ case A.双分裂:
2145
+ 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));
2013
2146
  break;
2014
- case T.四分裂:
2015
- t.push(this.offsetWires21[o]), t.push(this.offsetWires21[o - 4]), this.offsetArcWires2A = h(t), this.LineentityCollection2.add(r(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 = h(l), this.LineentityCollection2.add(r(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 = h(u), this.LineentityCollection2.add(r(this.offsetArcWires2A, "导线2_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires21[o + 3]), e.push(this.offsetWires21[o - 1]), this.offsetArcWires2A = h(e), this.LineentityCollection2.add(r(this.offsetArcWires2A, "导线2_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2147
+ case A.四分裂:
2148
+ 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));
2016
2149
  break;
2017
- case T.六分裂:
2018
- t.push(this.offsetWires21[o]), t.push(this.offsetWires21[o - 6]), this.offsetArcWires2A = h(t), this.LineentityCollection2.add(r(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 = h(l), this.LineentityCollection2.add(r(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 = h(u), this.LineentityCollection2.add(r(this.offsetArcWires2A, "导线2_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires21[o + 3]), e.push(this.offsetWires21[o - 3]), this.offsetArcWires2A = h(e), this.LineentityCollection2.add(r(this.offsetArcWires2A, "导线2_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires21[o + 4]), c.push(this.offsetWires21[o - 2]), this.offsetArcWires2A = h(c), this.LineentityCollection2.add(r(this.offsetArcWires2A, "导线2_A5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), B.push(this.offsetWires21[o + 5]), B.push(this.offsetWires21[o - 1]), this.offsetArcWires2A = h(B), this.LineentityCollection2.add(r(this.offsetArcWires2A, "导线2_A6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2150
+ case A.六分裂:
2151
+ 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));
2019
2152
  break;
2020
- case T.八分裂:
2021
- t.push(this.offsetWires21[o]), t.push(this.offsetWires21[o - 8]), this.offsetArcWires2A = h(t), this.LineentityCollection2.add(r(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 = h(l), this.LineentityCollection2.add(r(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 = h(u), this.LineentityCollection2.add(r(this.offsetArcWires2A, "导线2_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires21[o + 3]), e.push(this.offsetWires21[o - 5]), this.offsetArcWires2A = h(e), this.LineentityCollection2.add(r(this.offsetArcWires2A, "导线2_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires21[o + 4]), c.push(this.offsetWires21[o - 4]), this.offsetArcWires2A = h(c), this.LineentityCollection2.add(r(this.offsetArcWires2A, "导线2_A5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), B.push(this.offsetWires21[o + 5]), B.push(this.offsetWires21[o - 3]), this.offsetArcWires2A = h(B), this.LineentityCollection2.add(r(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 = h(m), this.LineentityCollection2.add(r(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 = h(b), this.LineentityCollection2.add(r(this.offsetArcWires2A, "导线2_A8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2153
+ case A.八分裂:
2154
+ 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));
2022
2155
  break;
2023
2156
  }
2024
2157
  }
2025
2158
  if (this.offsetWires22.length > 0 && s > 0) {
2026
- const t = [], l = [], u = [], e = [], c = [], B = [], m = [], b = [];
2159
+ const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [];
2027
2160
  switch (this.LineInfo.Wairnum) {
2028
- case T.单分裂:
2029
- t.push(this.offsetWires22[o]), t.push(this.offsetWires22[o - 1]), this.offsetArcWires2B = h(t), this.LineentityCollection2.add(r(this.offsetArcWires2B, "导线2_B1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2161
+ case A.单分裂:
2162
+ 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));
2030
2163
  break;
2031
- case T.双分裂:
2032
- t.push(this.offsetWires22[o]), t.push(this.offsetWires22[o - 2]), this.offsetArcWires2B = h(t), this.LineentityCollection2.add(r(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 = h(l), this.LineentityCollection2.add(r(this.offsetArcWires2B, "导线2_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2164
+ case A.双分裂:
2165
+ 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));
2033
2166
  break;
2034
- case T.四分裂:
2035
- t.push(this.offsetWires22[o]), t.push(this.offsetWires22[o - 4]), this.offsetArcWires2B = h(t), this.LineentityCollection2.add(r(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 = h(l), this.LineentityCollection2.add(r(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 = h(u), this.LineentityCollection2.add(r(this.offsetArcWires2B, "导线2_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires22[o + 3]), e.push(this.offsetWires22[o - 1]), this.offsetArcWires2B = h(e), this.LineentityCollection2.add(r(this.offsetArcWires2B, "导线2_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2167
+ case A.四分裂:
2168
+ 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));
2036
2169
  break;
2037
- case T.六分裂:
2038
- t.push(this.offsetWires22[o]), t.push(this.offsetWires22[o - 6]), this.offsetArcWires2B = h(t), this.LineentityCollection2.add(r(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 = h(l), this.LineentityCollection2.add(r(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 = h(u), this.LineentityCollection2.add(r(this.offsetArcWires2B, "导线2_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires22[o + 3]), e.push(this.offsetWires22[o - 3]), this.offsetArcWires2B = h(e), this.LineentityCollection2.add(r(this.offsetArcWires2B, "导线2_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires22[o + 4]), c.push(this.offsetWires22[o - 2]), this.offsetArcWires2B = h(c), this.LineentityCollection2.add(r(this.offsetArcWires2B, "导线2_B5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), B.push(this.offsetWires22[o + 5]), B.push(this.offsetWires22[o - 1]), this.offsetArcWires2B = h(B), this.LineentityCollection2.add(r(this.offsetArcWires2B, "导线2_B6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2170
+ case A.六分裂:
2171
+ 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));
2039
2172
  break;
2040
- case T.八分裂:
2041
- t.push(this.offsetWires22[o]), t.push(this.offsetWires22[o - 8]), this.offsetArcWires2B = h(t), this.LineentityCollection2.add(r(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 = h(l), this.LineentityCollection2.add(r(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 = h(u), this.LineentityCollection2.add(r(this.offsetArcWires2B, "导线2_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires22[o + 3]), e.push(this.offsetWires22[o - 5]), this.offsetArcWires2B = h(e), this.LineentityCollection2.add(r(this.offsetArcWires2B, "导线2_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires22[o + 4]), c.push(this.offsetWires22[o - 4]), this.offsetArcWires2B = h(c), this.LineentityCollection2.add(r(this.offsetArcWires2B, "导线2_B5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), B.push(this.offsetWires22[o + 5]), B.push(this.offsetWires22[o - 3]), this.offsetArcWires2B = h(B), this.LineentityCollection2.add(r(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 = h(m), this.LineentityCollection2.add(r(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 = h(b), this.LineentityCollection2.add(r(this.offsetArcWires2B, "导线2_B8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2173
+ case A.八分裂:
2174
+ 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));
2042
2175
  break;
2043
2176
  }
2044
2177
  }
2045
2178
  if (this.offsetWires23.length > 0 && s > 0) {
2046
- const t = [], l = [], u = [], e = [], c = [], B = [], m = [], b = [];
2179
+ const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [];
2047
2180
  switch (this.LineInfo.Wairnum) {
2048
- case T.单分裂:
2049
- t.push(this.offsetWires23[o]), t.push(this.offsetWires23[o - 1]), this.offsetArcWires2C = h(t), this.LineentityCollection2.add(r(this.offsetArcWires2C, "导线2_C1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2181
+ case A.单分裂:
2182
+ 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));
2050
2183
  break;
2051
- case T.双分裂:
2052
- t.push(this.offsetWires23[o]), t.push(this.offsetWires23[o - 2]), this.offsetArcWires2C = h(t), this.LineentityCollection2.add(r(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 = h(l), this.LineentityCollection2.add(r(this.offsetArcWires2C, "导线2_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2184
+ case A.双分裂:
2185
+ 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));
2053
2186
  break;
2054
- case T.四分裂:
2055
- t.push(this.offsetWires23[o]), t.push(this.offsetWires23[o - 4]), this.offsetArcWires2C = h(t), this.LineentityCollection2.add(r(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 = h(l), this.LineentityCollection2.add(r(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 = h(u), this.LineentityCollection2.add(r(this.offsetArcWires2C, "导线2_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires23[o + 3]), e.push(this.offsetWires23[o - 1]), this.offsetArcWires2C = h(e), this.LineentityCollection2.add(r(this.offsetArcWires2C, "导线2_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2187
+ case A.四分裂:
2188
+ 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));
2056
2189
  break;
2057
- case T.六分裂:
2058
- t.push(this.offsetWires23[o]), t.push(this.offsetWires23[o - 6]), this.offsetArcWires2C = h(t), this.LineentityCollection2.add(r(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 = h(l), this.LineentityCollection2.add(r(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 = h(u), this.LineentityCollection2.add(r(this.offsetArcWires2C, "导线2_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires23[o + 3]), e.push(this.offsetWires23[o - 3]), this.offsetArcWires2C = h(e), this.LineentityCollection2.add(r(this.offsetArcWires2C, "导线2_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires23[o + 4]), c.push(this.offsetWires23[o - 2]), this.offsetArcWires2C = h(c), this.LineentityCollection2.add(r(this.offsetArcWires2C, "导线2_C5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), B.push(this.offsetWires23[o + 5]), B.push(this.offsetWires23[o - 1]), this.offsetArcWires2C = h(B), this.LineentityCollection2.add(r(this.offsetArcWires2C, "导线2_C6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2190
+ case A.六分裂:
2191
+ 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));
2059
2192
  break;
2060
- case T.八分裂:
2061
- t.push(this.offsetWires23[o]), t.push(this.offsetWires23[o - 8]), this.offsetArcWires2C = h(t), this.LineentityCollection2.add(r(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 = h(l), this.LineentityCollection2.add(r(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 = h(u), this.LineentityCollection2.add(r(this.offsetArcWires2C, "导线2_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires23[o + 3]), e.push(this.offsetWires23[o - 5]), this.offsetArcWires2C = h(e), this.LineentityCollection2.add(r(this.offsetArcWires2C, "导线2_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires23[o + 4]), c.push(this.offsetWires23[o - 4]), this.offsetArcWires2C = h(c), this.LineentityCollection2.add(r(this.offsetArcWires2C, "导线2_C5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), B.push(this.offsetWires23[o + 5]), B.push(this.offsetWires23[o - 3]), this.offsetArcWires2C = h(B), this.LineentityCollection2.add(r(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 = h(m), this.LineentityCollection2.add(r(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 = h(b), this.LineentityCollection2.add(r(this.offsetArcWires2C, "导线2_C8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2193
+ case A.八分裂:
2194
+ 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));
2062
2195
  break;
2063
2196
  }
2064
2197
  }
@@ -2066,164 +2199,164 @@ class ai {
2066
2199
  const t = [];
2067
2200
  t.push(this.offsetGrouundWires11[s]), t.push(this.offsetGrouundWires11[s - 1]);
2068
2201
  const l = [];
2069
- l.push(this.offsetGrouundWires12[s]), l.push(this.offsetGrouundWires12[s - 1]), this.offsetGrouundWires1 = h(t, 2), this.offsetGrouundWires2 = h(l, 2), this.offsetGrouundWires1.forEach((u) => {
2070
- this.arcLine1D1.push(z(this.viewer.scene.globe.ellipsoid, u));
2071
- }), this.LineentityCollection2.add(r(this.offsetGrouundWires1, "地线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireD1Color)), this.LineentityCollection2.add(r(this.offsetGrouundWires2, "地线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireD2Color));
2202
+ 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) => {
2203
+ this.arcLine1D1.push(q(this.viewer.scene.globe.ellipsoid, u));
2204
+ }), 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));
2072
2205
  }
2073
2206
  let d = 2;
2074
- if (this.LineInfo.towers[s].type == q.耐张塔) {
2207
+ if (this.LineInfo.towers[s].type == $.耐张塔) {
2075
2208
  switch (this.LineInfo.Wairnum) {
2076
- case T.单分裂:
2209
+ case A.单分裂:
2077
2210
  o = o + d, i = i + d;
2078
2211
  break;
2079
- case T.双分裂:
2212
+ case A.双分裂:
2080
2213
  o = o + d * 2, i = i + d * 2;
2081
2214
  break;
2082
- case T.四分裂:
2215
+ case A.四分裂:
2083
2216
  o = o + d * 4, i = i + d * 4;
2084
2217
  break;
2085
- case T.六分裂:
2218
+ case A.六分裂:
2086
2219
  o = o + d * 6, i = i + d * 6;
2087
2220
  break;
2088
- case T.八分裂:
2221
+ case A.八分裂:
2089
2222
  o = o + d * 8, i = i + d * 8;
2090
2223
  break;
2091
2224
  }
2092
2225
  if (this.ToffsetWires1A1.length > 1 && this.ToffsetWires1A2.length > 1) {
2093
- const t = [], l = [], u = [], e = [], c = [], B = [], m = [], b = [], w = [], P = [], g = [], y = [], _ = [], v = [], M = [], k = [];
2226
+ const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], _ = [], v = [], k = [], M = [];
2094
2227
  switch (this.LineInfo.Wairnum) {
2095
- case T.单分裂:
2096
- this.ToffsetWires1A1.length >= 2 && (t.push(this.ToffsetWires1A1[i - 2]), t.push(this.ToffsetWires1A1[i - 1]), this.ToffsetArcWires1A = h(t, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1A, "1A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 2 && (w.push(this.ToffsetWires1A2[i - 2]), w.push(this.ToffsetWires1A2[i - 1]), this.ToffsetArcWires2A = h(w, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2A, "1A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2228
+ case A.单分裂:
2229
+ 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)));
2097
2230
  break;
2098
- case T.双分裂:
2099
- this.ToffsetWires1A1.length >= 4 && (t.push(this.ToffsetWires1A1[i - 4]), t.push(this.ToffsetWires1A1[i - 2]), this.ToffsetArcWires1A = h(t, 15), this.LineentityCollection2.add(r(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 = h(l, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1A, "1A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 4 && (w.push(this.ToffsetWires1A2[i - 4]), w.push(this.ToffsetWires1A2[i - 2]), this.ToffsetArcWires2A = h(w, 15), this.LineentityCollection2.add(r(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 = h(P, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2A, "1A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2231
+ case A.双分裂:
2232
+ 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)));
2100
2233
  break;
2101
- case T.四分裂:
2102
- this.ToffsetWires1A1.length >= 8 && (t.push(this.ToffsetWires1A1[i - 8]), t.push(this.ToffsetWires1A1[i - 4]), this.ToffsetArcWires1A = h(t, 15), this.LineentityCollection2.add(r(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 = h(l, 15), this.LineentityCollection2.add(r(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 = h(u, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1A, "1A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires1A1[i - 5]), e.push(this.ToffsetWires1A1[i - 1]), this.ToffsetArcWires1A = h(e, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1A, "1A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 8 && (w.push(this.ToffsetWires1A2[i - 8]), w.push(this.ToffsetWires1A2[i - 4]), this.ToffsetArcWires2A = h(w, 15), this.LineentityCollection2.add(r(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 = h(P, 15), this.LineentityCollection2.add(r(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 = h(g, 15), this.LineentityCollection2.add(r(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 = h(y, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2A, "1A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2234
+ case A.四分裂:
2235
+ 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)));
2103
2236
  break;
2104
- case T.六分裂:
2105
- this.ToffsetWires1A1.length >= 12 && (t.push(this.ToffsetWires1A1[i - 12]), t.push(this.ToffsetWires1A1[i - 6]), this.ToffsetArcWires1A = h(t, 15), this.LineentityCollection2.add(r(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 = h(l, 15), this.LineentityCollection2.add(r(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 = h(u, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1A, "1A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires1A1[i - 9]), e.push(this.ToffsetWires1A1[i - 3]), this.ToffsetArcWires1A = h(e, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1A, "1A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1A1[i - 8]), c.push(this.ToffsetWires1A1[i - 2]), this.ToffsetArcWires1A = h(c, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1A, "1A1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires1A1[i - 7]), B.push(this.ToffsetWires1A1[i - 1]), this.ToffsetArcWires1A = h(B, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1A, "1A1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 12 && (w.push(this.ToffsetWires1A2[i - 12]), w.push(this.ToffsetWires1A2[i - 6]), this.ToffsetArcWires2A = h(w, 15), this.LineentityCollection2.add(r(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 = h(P, 15), this.LineentityCollection2.add(r(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 = h(g, 15), this.LineentityCollection2.add(r(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 = h(y, 15), this.LineentityCollection2.add(r(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 = h(_, 15), this.LineentityCollection2.add(r(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 = h(v, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2A, "1A2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2237
+ case A.六分裂:
2238
+ 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)));
2106
2239
  break;
2107
- case T.八分裂:
2108
- this.ToffsetWires1A1.length >= 16 && (t.push(this.ToffsetWires1A1[i - 16]), t.push(this.ToffsetWires1A1[i - 8]), this.ToffsetArcWires1A = h(t, 15), this.LineentityCollection2.add(r(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 = h(l, 15), this.LineentityCollection2.add(r(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 = h(u, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1A, "1A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires1A1[i - 13]), e.push(this.ToffsetWires1A1[i - 5]), this.ToffsetArcWires1A = h(e, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1A, "1A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1A1[i - 12]), c.push(this.ToffsetWires1A1[i - 4]), this.ToffsetArcWires1A = h(c, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1A, "1A1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires1A1[i - 11]), B.push(this.ToffsetWires1A1[i - 3]), this.ToffsetArcWires1A = h(B, 15), this.LineentityCollection2.add(r(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 = h(m, 15), this.LineentityCollection2.add(r(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 = h(b, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1A, "1A1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 16 && (w.push(this.ToffsetWires1A2[i - 16]), w.push(this.ToffsetWires1A2[i - 8]), this.ToffsetArcWires2A = h(w, 15), this.LineentityCollection2.add(r(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 = h(P, 15), this.LineentityCollection2.add(r(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 = h(g, 15), this.LineentityCollection2.add(r(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 = h(y, 15), this.LineentityCollection2.add(r(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 = h(_, 15), this.LineentityCollection2.add(r(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 = h(v, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2A, "1A2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires1A2[i - 10]), M.push(this.ToffsetWires1A2[i - 2]), this.ToffsetArcWires2A = h(M, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2A, "1A2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), k.push(this.ToffsetWires1A2[i - 9]), k.push(this.ToffsetWires1A2[i - 1]), this.ToffsetArcWires2A = h(k, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2A, "1A2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2240
+ case A.八分裂:
2241
+ 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)));
2109
2242
  break;
2110
2243
  }
2111
2244
  }
2112
2245
  if (this.ToffsetWires1B1.length > 1 && this.ToffsetWires1B2.length > 1) {
2113
- const t = [], l = [], u = [], e = [], c = [], B = [], m = [], b = [], w = [], P = [], g = [], y = [], _ = [], v = [], M = [], k = [];
2246
+ const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], _ = [], v = [], k = [], M = [];
2114
2247
  switch (this.LineInfo.Wairnum) {
2115
- case T.单分裂:
2116
- this.ToffsetWires1B1.length >= 2 && (t.push(this.ToffsetWires1B1[i - 2]), t.push(this.ToffsetWires1B1[i - 1]), this.ToffsetArcWires1B = h(t, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1B, "1B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 2 && (w.push(this.ToffsetWires1B2[i - 2]), w.push(this.ToffsetWires1B2[i - 1]), this.ToffsetArcWires2B = h(w, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2B, "1B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2248
+ case A.单分裂:
2249
+ 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)));
2117
2250
  break;
2118
- case T.双分裂:
2119
- this.ToffsetWires1B1.length >= 4 && (t.push(this.ToffsetWires1B1[i - 4]), t.push(this.ToffsetWires1B1[i - 2]), this.ToffsetArcWires1B = h(t, 15), this.LineentityCollection2.add(r(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 = h(l, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1B, "1B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 4 && (w.push(this.ToffsetWires1B2[i - 4]), w.push(this.ToffsetWires1B2[i - 2]), this.ToffsetArcWires2B = h(w, 15), this.LineentityCollection2.add(r(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 = h(P, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2B, "1B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2251
+ case A.双分裂:
2252
+ 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)));
2120
2253
  break;
2121
- case T.四分裂:
2122
- this.ToffsetWires1B1.length >= 8 && (t.push(this.ToffsetWires1B1[i - 8]), t.push(this.ToffsetWires1B1[i - 4]), this.ToffsetArcWires1B = h(t, 15), this.LineentityCollection2.add(r(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 = h(l, 15), this.LineentityCollection2.add(r(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 = h(u, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1B, "1B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires1B1[i - 5]), e.push(this.ToffsetWires1B1[i - 1]), this.ToffsetArcWires1B = h(e, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1B, "1B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 8 && (w.push(this.ToffsetWires1B2[i - 8]), w.push(this.ToffsetWires1B2[i - 4]), this.ToffsetArcWires2B = h(w, 15), this.LineentityCollection2.add(r(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 = h(P, 15), this.LineentityCollection2.add(r(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 = h(g, 15), this.LineentityCollection2.add(r(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 = h(y, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2B, "1B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2254
+ case A.四分裂:
2255
+ 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)));
2123
2256
  break;
2124
- case T.六分裂:
2125
- this.ToffsetWires1B1.length >= 12 && (t.push(this.ToffsetWires1B1[i - 12]), t.push(this.ToffsetWires1B1[i - 6]), this.ToffsetArcWires1B = h(t, 15), this.LineentityCollection2.add(r(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 = h(l, 15), this.LineentityCollection2.add(r(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 = h(u, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1B, "1B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires1B1[i - 9]), e.push(this.ToffsetWires1B1[i - 3]), this.ToffsetArcWires1B = h(e, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1B, "1B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1B1[i - 8]), c.push(this.ToffsetWires1B1[i - 2]), this.ToffsetArcWires1B = h(c, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1B, "1B1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires1B1[i - 7]), B.push(this.ToffsetWires1B1[i - 1]), this.ToffsetArcWires1B = h(B, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1B, "1B1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 12 && (w.push(this.ToffsetWires1B2[i - 12]), w.push(this.ToffsetWires1B2[i - 6]), this.ToffsetArcWires2B = h(w, 15), this.LineentityCollection2.add(r(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 = h(P, 15), this.LineentityCollection2.add(r(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 = h(g, 15), this.LineentityCollection2.add(r(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 = h(y, 15), this.LineentityCollection2.add(r(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 = h(_, 15), this.LineentityCollection2.add(r(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 = h(v, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2B, "1B2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2257
+ case A.六分裂:
2258
+ 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)));
2126
2259
  break;
2127
- case T.八分裂:
2128
- this.ToffsetWires1B1.length >= 16 && (t.push(this.ToffsetWires1B1[i - 16]), t.push(this.ToffsetWires1B1[i - 8]), this.ToffsetArcWires1B = h(t, 15), this.LineentityCollection2.add(r(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 = h(l, 15), this.LineentityCollection2.add(r(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 = h(u, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1B, "1B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires1B1[i - 13]), e.push(this.ToffsetWires1B1[i - 5]), this.ToffsetArcWires1B = h(e, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1B, "1B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1B1[i - 12]), c.push(this.ToffsetWires1B1[i - 4]), this.ToffsetArcWires1B = h(c, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1B, "1B1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires1B1[i - 11]), B.push(this.ToffsetWires1B1[i - 3]), this.ToffsetArcWires1B = h(B, 15), this.LineentityCollection2.add(r(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 = h(m, 15), this.LineentityCollection2.add(r(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 = h(b, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1B, "1B1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 16 && (w.push(this.ToffsetWires1B2[i - 16]), w.push(this.ToffsetWires1B2[i - 8]), this.ToffsetArcWires2B = h(w, 15), this.LineentityCollection2.add(r(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 = h(P, 15), this.LineentityCollection2.add(r(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 = h(g, 15), this.LineentityCollection2.add(r(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 = h(y, 15), this.LineentityCollection2.add(r(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 = h(_, 15), this.LineentityCollection2.add(r(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 = h(v, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2B, "1B2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires1B2[i - 10]), M.push(this.ToffsetWires1B2[i - 2]), this.ToffsetArcWires2B = h(M, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2B, "1B2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), k.push(this.ToffsetWires1B2[i - 9]), k.push(this.ToffsetWires1B2[i - 1]), this.ToffsetArcWires2B = h(k, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2B, "1B2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2260
+ case A.八分裂:
2261
+ 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)));
2129
2262
  break;
2130
2263
  }
2131
2264
  }
2132
2265
  if (this.ToffsetWires1C1.length > 1 && this.ToffsetWires1C2.length > 1) {
2133
- const t = [], l = [], u = [], e = [], c = [], B = [], m = [], b = [], w = [], P = [], g = [], y = [], _ = [], v = [], M = [], k = [];
2266
+ const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], _ = [], v = [], k = [], M = [];
2134
2267
  switch (this.LineInfo.Wairnum) {
2135
- case T.单分裂:
2136
- this.ToffsetWires1C1.length >= 2 && (t.push(this.ToffsetWires1C1[i - 2]), t.push(this.ToffsetWires1C1[i - 1]), this.ToffsetArcWires1C = h(t, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1C, "1C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 2 && (w.push(this.ToffsetWires1C2[i - 2]), w.push(this.ToffsetWires1C2[i - 1]), this.ToffsetArcWires2C = h(w, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2C, "1C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2268
+ case A.单分裂:
2269
+ 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)));
2137
2270
  break;
2138
- case T.双分裂:
2139
- this.ToffsetWires1C1.length >= 4 && (t.push(this.ToffsetWires1C1[i - 4]), t.push(this.ToffsetWires1C1[i - 2]), this.ToffsetArcWires1C = h(t, 15), this.LineentityCollection2.add(r(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 = h(l, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1C, "1C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 4 && (w.push(this.ToffsetWires1C2[i - 4]), w.push(this.ToffsetWires1C2[i - 2]), this.ToffsetArcWires2C = h(w, 15), this.LineentityCollection2.add(r(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 = h(P, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2C, "1C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2271
+ case A.双分裂:
2272
+ 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)));
2140
2273
  break;
2141
- case T.四分裂:
2142
- this.ToffsetWires1C1.length >= 8 && (t.push(this.ToffsetWires1C1[i - 8]), t.push(this.ToffsetWires1C1[i - 4]), this.ToffsetArcWires1C = h(t, 15), this.LineentityCollection2.add(r(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 = h(l, 15), this.LineentityCollection2.add(r(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 = h(u, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1C, "1C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires1C1[i - 5]), e.push(this.ToffsetWires1C1[i - 1]), this.ToffsetArcWires1C = h(e, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1C, "1C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 8 && (w.push(this.ToffsetWires1C2[i - 8]), w.push(this.ToffsetWires1C2[i - 4]), this.ToffsetArcWires2C = h(w, 15), this.LineentityCollection2.add(r(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 = h(P, 15), this.LineentityCollection2.add(r(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 = h(g, 15), this.LineentityCollection2.add(r(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 = h(y, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2C, "1C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2274
+ case A.四分裂:
2275
+ 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)));
2143
2276
  break;
2144
- case T.六分裂:
2145
- this.ToffsetWires1C1.length >= 12 && (t.push(this.ToffsetWires1C1[i - 12]), t.push(this.ToffsetWires1C1[i - 6]), this.ToffsetArcWires1C = h(t, 15), this.LineentityCollection2.add(r(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 = h(l, 15), this.LineentityCollection2.add(r(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 = h(u, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1C, "1C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires1C1[i - 9]), e.push(this.ToffsetWires1C1[i - 3]), this.ToffsetArcWires1C = h(e, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1C, "1C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1C1[i - 8]), c.push(this.ToffsetWires1C1[i - 2]), this.ToffsetArcWires1C = h(c, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1C, "1C1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires1C1[i - 7]), B.push(this.ToffsetWires1C1[i - 1]), this.ToffsetArcWires1C = h(B, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1C, "1C1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 12 && (w.push(this.ToffsetWires1C2[i - 12]), w.push(this.ToffsetWires1C2[i - 6]), this.ToffsetArcWires2C = h(w, 15), this.LineentityCollection2.add(r(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 = h(P, 15), this.LineentityCollection2.add(r(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 = h(g, 15), this.LineentityCollection2.add(r(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 = h(y, 15), this.LineentityCollection2.add(r(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 = h(_, 15), this.LineentityCollection2.add(r(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 = h(v, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2C, "1C2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2277
+ case A.六分裂:
2278
+ 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)));
2146
2279
  break;
2147
- case T.八分裂:
2148
- this.ToffsetWires1C1.length >= 16 && (t.push(this.ToffsetWires1C1[i - 16]), t.push(this.ToffsetWires1C1[i - 8]), this.ToffsetArcWires1C = h(t, 15), this.LineentityCollection2.add(r(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 = h(l, 15), this.LineentityCollection2.add(r(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 = h(u, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1C, "1C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires1C1[i - 13]), e.push(this.ToffsetWires1C1[i - 5]), this.ToffsetArcWires1C = h(e, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1C, "1C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1C1[i - 12]), c.push(this.ToffsetWires1C1[i - 4]), this.ToffsetArcWires1C = h(c, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1C, "1C1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires1C1[i - 11]), B.push(this.ToffsetWires1C1[i - 3]), this.ToffsetArcWires1C = h(B, 15), this.LineentityCollection2.add(r(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 = h(m, 15), this.LineentityCollection2.add(r(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 = h(b, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1C, "1C1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 16 && (w.push(this.ToffsetWires1C2[i - 16]), w.push(this.ToffsetWires1C2[i - 8]), this.ToffsetArcWires2C = h(w, 15), this.LineentityCollection2.add(r(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 = h(P, 15), this.LineentityCollection2.add(r(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 = h(g, 15), this.LineentityCollection2.add(r(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 = h(y, 15), this.LineentityCollection2.add(r(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 = h(_, 15), this.LineentityCollection2.add(r(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 = h(v, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2C, "1C2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires1C2[i - 10]), M.push(this.ToffsetWires1C2[i - 2]), this.ToffsetArcWires2C = h(M, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2C, "1C2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), k.push(this.ToffsetWires1C2[i - 9]), k.push(this.ToffsetWires1C2[i - 1]), this.ToffsetArcWires2C = h(k, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2C, "1C2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2280
+ case A.八分裂:
2281
+ 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)));
2149
2282
  break;
2150
2283
  }
2151
2284
  }
2152
2285
  if (this.ToffsetWires2A1.length > 1 && this.ToffsetWires2A2.length > 1) {
2153
- const t = [], l = [], u = [], e = [], c = [], B = [], m = [], b = [], w = [], P = [], g = [], y = [], _ = [], v = [], M = [], k = [];
2286
+ const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], _ = [], v = [], k = [], M = [];
2154
2287
  switch (this.LineInfo.Wairnum) {
2155
- case T.单分裂:
2156
- this.ToffsetWires2A1.length >= 2 && (t.push(this.ToffsetWires2A1[i - 2]), t.push(this.ToffsetWires2A1[i - 1]), this.ToffsetArcWires1A2 = h(t, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1A2, "2A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 2 && (w.push(this.ToffsetWires2A2[i - 2]), w.push(this.ToffsetWires2A2[i - 1]), this.ToffsetArcWires2A2 = h(w, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2A2, "2A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2288
+ case A.单分裂:
2289
+ 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)));
2157
2290
  break;
2158
- case T.双分裂:
2159
- this.ToffsetWires2A1.length >= 4 && (t.push(this.ToffsetWires2A1[i - 4]), t.push(this.ToffsetWires2A1[i - 2]), this.ToffsetArcWires1A2 = h(t, 15), this.LineentityCollection2.add(r(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 = h(l, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1A2, "2A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 4 && (w.push(this.ToffsetWires2A2[i - 4]), w.push(this.ToffsetWires2A2[i - 2]), this.ToffsetArcWires2A2 = h(w, 15), this.LineentityCollection2.add(r(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 = h(P, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2A2, "2A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2291
+ case A.双分裂:
2292
+ 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)));
2160
2293
  break;
2161
- case T.四分裂:
2162
- this.ToffsetWires2A1.length >= 8 && (t.push(this.ToffsetWires2A1[i - 8]), t.push(this.ToffsetWires2A1[i - 4]), this.ToffsetArcWires1A2 = h(t, 15), this.LineentityCollection2.add(r(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 = h(l, 15), this.LineentityCollection2.add(r(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 = h(u, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1A2, "2A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires2A1[i - 5]), e.push(this.ToffsetWires2A1[i - 1]), this.ToffsetArcWires1A2 = h(e, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1A2, "2A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 8 && (w.push(this.ToffsetWires2A2[i - 8]), w.push(this.ToffsetWires2A2[i - 4]), this.ToffsetArcWires2A2 = h(w, 15), this.LineentityCollection2.add(r(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 = h(P, 15), this.LineentityCollection2.add(r(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 = h(g, 15), this.LineentityCollection2.add(r(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 = h(y, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2A2, "2A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2294
+ case A.四分裂:
2295
+ 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)));
2163
2296
  break;
2164
- case T.六分裂:
2165
- this.ToffsetWires2A1.length >= 12 && (t.push(this.ToffsetWires2A1[i - 12]), t.push(this.ToffsetWires2A1[i - 6]), this.ToffsetArcWires1A2 = h(t, 15), this.LineentityCollection2.add(r(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 = h(l, 15), this.LineentityCollection2.add(r(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 = h(u, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1A2, "2A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires2A1[i - 9]), e.push(this.ToffsetWires2A1[i - 3]), this.ToffsetArcWires1A2 = h(e, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1A2, "2A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2A1[i - 8]), c.push(this.ToffsetWires2A1[i - 2]), this.ToffsetArcWires1A2 = h(c, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1A2, "2A1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires2A1[i - 7]), B.push(this.ToffsetWires2A1[i - 1]), this.ToffsetArcWires1A2 = h(B, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1A2, "2A1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 12 && (w.push(this.ToffsetWires2A2[i - 12]), w.push(this.ToffsetWires2A2[i - 6]), this.ToffsetArcWires2A2 = h(w, 15), this.LineentityCollection2.add(r(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 = h(P, 15), this.LineentityCollection2.add(r(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 = h(g, 15), this.LineentityCollection2.add(r(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 = h(y, 15), this.LineentityCollection2.add(r(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 = h(_, 15), this.LineentityCollection2.add(r(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 = h(v, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2A2, "2A2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2297
+ case A.六分裂:
2298
+ 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)));
2166
2299
  break;
2167
- case T.八分裂:
2168
- this.ToffsetWires2A1.length >= 16 && (t.push(this.ToffsetWires2A1[i - 16]), t.push(this.ToffsetWires2A1[i - 8]), this.ToffsetArcWires1A2 = h(t, 15), this.LineentityCollection2.add(r(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 = h(l, 15), this.LineentityCollection2.add(r(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 = h(u, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1A2, "2A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires2A1[i - 13]), e.push(this.ToffsetWires2A1[i - 5]), this.ToffsetArcWires1A2 = h(e, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1A2, "2A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2A1[i - 12]), c.push(this.ToffsetWires2A1[i - 4]), this.ToffsetArcWires1A2 = h(c, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1A2, "2A1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires2A1[i - 11]), B.push(this.ToffsetWires2A1[i - 3]), this.ToffsetArcWires1A2 = h(B, 15), this.LineentityCollection2.add(r(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 = h(m, 15), this.LineentityCollection2.add(r(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 = h(b, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1A2, "2A1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 16 && (w.push(this.ToffsetWires2A2[i - 16]), w.push(this.ToffsetWires2A2[i - 8]), this.ToffsetArcWires2A2 = h(w, 15), this.LineentityCollection2.add(r(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 = h(P, 15), this.LineentityCollection2.add(r(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 = h(g, 15), this.LineentityCollection2.add(r(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 = h(y, 15), this.LineentityCollection2.add(r(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 = h(_, 15), this.LineentityCollection2.add(r(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 = h(v, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2A2, "2A2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires2A2[i - 10]), M.push(this.ToffsetWires2A2[i - 2]), this.ToffsetArcWires2A2 = h(M, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2A2, "2A2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), k.push(this.ToffsetWires2A2[i - 9]), k.push(this.ToffsetWires2A2[i - 1]), this.ToffsetArcWires2A2 = h(k, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2A2, "2A2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2300
+ case A.八分裂:
2301
+ 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)));
2169
2302
  break;
2170
2303
  }
2171
2304
  }
2172
2305
  if (this.ToffsetWires2B1.length > 1 && this.ToffsetWires2B2.length > 1) {
2173
- const t = [], l = [], u = [], e = [], c = [], B = [], m = [], b = [], w = [], P = [], g = [], y = [], _ = [], v = [], M = [], k = [];
2306
+ const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], _ = [], v = [], k = [], M = [];
2174
2307
  switch (this.LineInfo.Wairnum) {
2175
- case T.单分裂:
2176
- this.ToffsetWires2B1.length >= 2 && (t.push(this.ToffsetWires2B1[i - 2]), t.push(this.ToffsetWires2B1[i - 1]), this.ToffsetArcWires1B2 = h(t, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1B2, "2B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 2 && (w.push(this.ToffsetWires2B2[i - 2]), w.push(this.ToffsetWires2B2[i - 1]), this.ToffsetArcWires2B2 = h(w, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2B2, "2B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2308
+ case A.单分裂:
2309
+ 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)));
2177
2310
  break;
2178
- case T.双分裂:
2179
- this.ToffsetWires2B1.length >= 4 && (t.push(this.ToffsetWires2B1[i - 4]), t.push(this.ToffsetWires2B1[i - 2]), this.ToffsetArcWires1B2 = h(t, 15), this.LineentityCollection2.add(r(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 = h(l, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1B2, "2B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 4 && (w.push(this.ToffsetWires2B2[i - 4]), w.push(this.ToffsetWires2B2[i - 2]), this.ToffsetArcWires2B2 = h(w, 15), this.LineentityCollection2.add(r(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 = h(P, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2B2, "2B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2311
+ case A.双分裂:
2312
+ 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)));
2180
2313
  break;
2181
- case T.四分裂:
2182
- this.ToffsetWires2B1.length >= 8 && (t.push(this.ToffsetWires2B1[i - 8]), t.push(this.ToffsetWires2B1[i - 4]), this.ToffsetArcWires1B2 = h(t, 15), this.LineentityCollection2.add(r(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 = h(l, 15), this.LineentityCollection2.add(r(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 = h(u, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1B2, "2B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires2B1[i - 5]), e.push(this.ToffsetWires2B1[i - 1]), this.ToffsetArcWires1B2 = h(e, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1B2, "2B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 8 && (w.push(this.ToffsetWires2B2[i - 8]), w.push(this.ToffsetWires2B2[i - 4]), this.ToffsetArcWires2B2 = h(w, 15), this.LineentityCollection2.add(r(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 = h(P, 15), this.LineentityCollection2.add(r(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 = h(g, 15), this.LineentityCollection2.add(r(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 = h(y, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2B2, "2B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2314
+ case A.四分裂:
2315
+ 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)));
2183
2316
  break;
2184
- case T.六分裂:
2185
- this.ToffsetWires2B1.length >= 12 && (t.push(this.ToffsetWires2B1[i - 12]), t.push(this.ToffsetWires2B1[i - 6]), this.ToffsetArcWires1B2 = h(t, 15), this.LineentityCollection2.add(r(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 = h(l, 15), this.LineentityCollection2.add(r(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 = h(u, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1B2, "2B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires2B1[i - 9]), e.push(this.ToffsetWires2B1[i - 3]), this.ToffsetArcWires1B2 = h(e, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1B2, "2B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2B1[i - 8]), c.push(this.ToffsetWires2B1[i - 2]), this.ToffsetArcWires1B2 = h(c, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1B2, "2B1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires2B1[i - 7]), B.push(this.ToffsetWires2B1[i - 1]), this.ToffsetArcWires1B2 = h(B, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1B2, "2B1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 12 && (w.push(this.ToffsetWires2B2[i - 12]), w.push(this.ToffsetWires2B2[i - 6]), this.ToffsetArcWires2B2 = h(w, 15), this.LineentityCollection2.add(r(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 = h(P, 15), this.LineentityCollection2.add(r(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 = h(g, 15), this.LineentityCollection2.add(r(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 = h(y, 15), this.LineentityCollection2.add(r(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 = h(_, 15), this.LineentityCollection2.add(r(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 = h(v, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2B2, "2B2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2317
+ case A.六分裂:
2318
+ 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)));
2186
2319
  break;
2187
- case T.八分裂:
2188
- this.ToffsetWires2B1.length >= 16 && (t.push(this.ToffsetWires2B1[i - 16]), t.push(this.ToffsetWires2B1[i - 8]), this.ToffsetArcWires1B2 = h(t, 15), this.LineentityCollection2.add(r(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 = h(l, 15), this.LineentityCollection2.add(r(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 = h(u, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1B2, "2B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires2B1[i - 13]), e.push(this.ToffsetWires2B1[i - 5]), this.ToffsetArcWires1B2 = h(e, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1B2, "2B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2B1[i - 12]), c.push(this.ToffsetWires2B1[i - 4]), this.ToffsetArcWires1B2 = h(c, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1B2, "2B1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires2B1[i - 11]), B.push(this.ToffsetWires2B1[i - 3]), this.ToffsetArcWires1B2 = h(B, 15), this.LineentityCollection2.add(r(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 = h(m, 15), this.LineentityCollection2.add(r(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 = h(b, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1B2, "2B1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 16 && (w.push(this.ToffsetWires2B2[i - 16]), w.push(this.ToffsetWires2B2[i - 8]), this.ToffsetArcWires2B2 = h(w, 15), this.LineentityCollection2.add(r(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 = h(P, 15), this.LineentityCollection2.add(r(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 = h(g, 15), this.LineentityCollection2.add(r(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 = h(y, 15), this.LineentityCollection2.add(r(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 = h(_, 15), this.LineentityCollection2.add(r(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 = h(v, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2B2, "2B2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires2B2[i - 10]), M.push(this.ToffsetWires2B2[i - 2]), this.ToffsetArcWires2B2 = h(M, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2B2, "2B2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), k.push(this.ToffsetWires2B2[i - 9]), k.push(this.ToffsetWires2B2[i - 1]), this.ToffsetArcWires2B2 = h(k, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2B2, "2B2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2320
+ case A.八分裂:
2321
+ 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)));
2189
2322
  break;
2190
2323
  }
2191
2324
  }
2192
2325
  if (this.ToffsetWires2C1.length > 1 && this.ToffsetWires2C2.length > 1) {
2193
- const t = [], l = [], u = [], e = [], c = [], B = [], m = [], b = [], w = [], P = [], g = [], y = [], _ = [], v = [], M = [], k = [];
2326
+ const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], _ = [], v = [], k = [], M = [];
2194
2327
  switch (this.LineInfo.Wairnum) {
2195
- case T.单分裂:
2196
- this.ToffsetWires2C1.length >= 2 && (t.push(this.ToffsetWires2C1[i - 2]), t.push(this.ToffsetWires2C1[i - 1]), this.ToffsetArcWires1C2 = h(t, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1C2, "2C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 2 && (w.push(this.ToffsetWires2C2[i - 2]), w.push(this.ToffsetWires2C2[i - 1]), this.ToffsetArcWires2C2 = h(w, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2C2, "2C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2328
+ case A.单分裂:
2329
+ 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)));
2197
2330
  break;
2198
- case T.双分裂:
2199
- this.ToffsetWires2C1.length >= 4 && (t.push(this.ToffsetWires2C1[i - 4]), t.push(this.ToffsetWires2C1[i - 2]), this.ToffsetArcWires1C2 = h(t, 15), this.LineentityCollection2.add(r(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 = h(l, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1C2, "2C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 4 && (w.push(this.ToffsetWires2C2[i - 4]), w.push(this.ToffsetWires2C2[i - 2]), this.ToffsetArcWires2C2 = h(w, 15), this.LineentityCollection2.add(r(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 = h(P, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2C2, "2C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2331
+ case A.双分裂:
2332
+ 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)));
2200
2333
  break;
2201
- case T.四分裂:
2202
- this.ToffsetWires2C1.length >= 8 && (t.push(this.ToffsetWires2C1[i - 8]), t.push(this.ToffsetWires2C1[i - 4]), this.ToffsetArcWires1C2 = h(t, 15), this.LineentityCollection2.add(r(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 = h(l, 15), this.LineentityCollection2.add(r(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 = h(u, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1C2, "2C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires2C1[i - 5]), e.push(this.ToffsetWires2C1[i - 1]), this.ToffsetArcWires1C2 = h(e, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1C2, "2C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 8 && (w.push(this.ToffsetWires2C2[i - 8]), w.push(this.ToffsetWires2C2[i - 4]), this.ToffsetArcWires2C2 = h(w, 15), this.LineentityCollection2.add(r(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 = h(P, 15), this.LineentityCollection2.add(r(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 = h(g, 15), this.LineentityCollection2.add(r(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 = h(y, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2C2, "2C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2334
+ case A.四分裂:
2335
+ 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)));
2203
2336
  break;
2204
- case T.六分裂:
2205
- this.ToffsetWires2C1.length >= 12 && (t.push(this.ToffsetWires2C1[i - 12]), t.push(this.ToffsetWires2C1[i - 6]), this.ToffsetArcWires1C2 = h(t, 15), this.LineentityCollection2.add(r(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 = h(l, 15), this.LineentityCollection2.add(r(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 = h(u, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1C2, "2C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires2C1[i - 9]), e.push(this.ToffsetWires2C1[i - 3]), this.ToffsetArcWires1C2 = h(e, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1C2, "2C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2C1[i - 8]), c.push(this.ToffsetWires2C1[i - 2]), this.ToffsetArcWires1C2 = h(c, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1C2, "2C1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires2C1[i - 7]), B.push(this.ToffsetWires2C1[i - 1]), this.ToffsetArcWires1C2 = h(B, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1C2, "2C1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 12 && (w.push(this.ToffsetWires2C2[i - 12]), w.push(this.ToffsetWires2C2[i - 6]), this.ToffsetArcWires2C2 = h(w, 15), this.LineentityCollection2.add(r(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 = h(P, 15), this.LineentityCollection2.add(r(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 = h(g, 15), this.LineentityCollection2.add(r(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 = h(y, 15), this.LineentityCollection2.add(r(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 = h(_, 15), this.LineentityCollection2.add(r(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 = h(v, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2C2, "2C2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2337
+ case A.六分裂:
2338
+ 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)));
2206
2339
  break;
2207
- case T.八分裂:
2208
- this.ToffsetWires2C1.length >= 16 && (t.push(this.ToffsetWires2C1[i - 16]), t.push(this.ToffsetWires2C1[i - 8]), this.ToffsetArcWires1C2 = h(t, 15), this.LineentityCollection2.add(r(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 = h(l, 15), this.LineentityCollection2.add(r(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 = h(u, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1C2, "2C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires2C1[i - 13]), e.push(this.ToffsetWires2C1[i - 5]), this.ToffsetArcWires1C2 = h(e, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1C2, "2C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2C1[i - 12]), c.push(this.ToffsetWires2C1[i - 4]), this.ToffsetArcWires1C2 = h(c, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1C2, "2C1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), B.push(this.ToffsetWires2C1[i - 11]), B.push(this.ToffsetWires2C1[i - 3]), this.ToffsetArcWires1C2 = h(B, 15), this.LineentityCollection2.add(r(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 = h(m, 15), this.LineentityCollection2.add(r(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 = h(b, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires1C2, "2C1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 16 && (w.push(this.ToffsetWires2C2[i - 16]), w.push(this.ToffsetWires2C2[i - 8]), this.ToffsetArcWires2C2 = h(w, 15), this.LineentityCollection2.add(r(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 = h(P, 15), this.LineentityCollection2.add(r(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 = h(g, 15), this.LineentityCollection2.add(r(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 = h(y, 15), this.LineentityCollection2.add(r(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 = h(_, 15), this.LineentityCollection2.add(r(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 = h(v, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2C2, "2C2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires2C2[i - 10]), M.push(this.ToffsetWires2C2[i - 2]), this.ToffsetArcWires2C2 = h(M, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2C2, "2C2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), k.push(this.ToffsetWires2C2[i - 9]), k.push(this.ToffsetWires2C2[i - 1]), this.ToffsetArcWires2C2 = h(k, 15), this.LineentityCollection2.add(r(this.ToffsetArcWires2C2, "2C2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2340
+ case A.八分裂:
2341
+ 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)));
2209
2342
  break;
2210
2343
  }
2211
2344
  }
2212
2345
  } else
2213
2346
  switch (this.LineInfo.Wairnum) {
2214
- case T.单分裂:
2347
+ case A.单分裂:
2215
2348
  o = o + 1;
2216
2349
  break;
2217
- case T.双分裂:
2350
+ case A.双分裂:
2218
2351
  o = o + 2;
2219
2352
  break;
2220
- case T.四分裂:
2353
+ case A.四分裂:
2221
2354
  o = o + 4;
2222
2355
  break;
2223
- case T.六分裂:
2356
+ case A.六分裂:
2224
2357
  o = o + 6;
2225
2358
  break;
2226
- case T.八分裂:
2359
+ case A.八分裂:
2227
2360
  o = o + 8;
2228
2361
  break;
2229
2362
  }
@@ -2285,43 +2418,43 @@ class ai {
2285
2418
  * @param point 树木坐标点 [经度, 纬度, 高度]
2286
2419
  */
2287
2420
  calcResult(o) {
2288
- const i = qs(
2421
+ const i = Vs(
2289
2422
  o,
2290
2423
  this.arcLine1A1,
2291
2424
  this.arcLine1B1,
2292
2425
  this.arcLine1D1
2293
2426
  );
2294
- Ks(o, i, this.entityCollectionplotting);
2427
+ Us(o, i, this.entityCollectionplotting);
2295
2428
  }
2296
2429
  /**
2297
2430
  * 加载树木点击监听功能
2298
2431
  */
2299
2432
  loadTreeListen() {
2300
2433
  this.treeHandler && this.removeTreeListen();
2301
- const o = (i, f) => {
2434
+ const o = (i, r) => {
2302
2435
  var C;
2303
- const s = i.scene.pick(f);
2436
+ const s = i.scene.pick(r);
2304
2437
  if (n.defined(s)) {
2305
- const a = n.defaultValue(s.id, (C = s.primitive) == null ? void 0 : C.id);
2306
- if (a instanceof n.Entity)
2307
- return a;
2438
+ const W = n.defaultValue(s.id, (C = s.primitive) == null ? void 0 : C.id);
2439
+ if (W instanceof n.Entity)
2440
+ return W;
2308
2441
  }
2309
2442
  };
2310
2443
  this.treeHandler = new n.ScreenSpaceEventHandler(this.viewer.canvas), this.treeHandler.setInputAction((i) => {
2311
2444
  var s;
2312
- const f = o(this.viewer, i.position);
2313
- if (f && f.id && f.id.startsWith("tree-")) {
2314
- const C = f.id.replace("tree-", ""), a = (s = this.LineInfo.Trees) == null ? void 0 : s.find((L) => {
2315
- var A;
2316
- return ((A = L.id) == null ? void 0 : A.toString()) === C;
2445
+ const r = o(this.viewer, i.position);
2446
+ if (r && r.id && r.id.startsWith("tree-")) {
2447
+ const C = r.id.replace("tree-", ""), W = (s = this.LineInfo.Trees) == null ? void 0 : s.find((L) => {
2448
+ var p;
2449
+ return ((p = L.id) == null ? void 0 : p.toString()) === C;
2317
2450
  });
2318
- if (a) {
2451
+ if (W) {
2319
2452
  const L = [
2320
- a.lon,
2321
- a.lat,
2322
- Number(a.lat || 0) + Number(a.treeH || 0)
2453
+ W.lon,
2454
+ W.lat,
2455
+ Number(W.lat || 0) + Number(W.treeH || 0)
2323
2456
  ];
2324
- console.log("拾取树木:", a, "坐标:", L), this.calcResult(L);
2457
+ console.log("拾取树木:", W, "坐标:", L), this.calcResult(L);
2325
2458
  }
2326
2459
  }
2327
2460
  }, n.ScreenSpaceEventType.LEFT_CLICK), this.viewer.dataSources.add(this.dataSourceplotting), this.entityCollectionplotting.show = !0;
@@ -2402,136 +2535,136 @@ class ai {
2402
2535
  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());
2403
2536
  }
2404
2537
  }
2405
- class Wi {
2538
+ class Ci {
2406
2539
  constructor() {
2407
2540
  // 杆塔id
2408
- p(this, "id", "");
2541
+ w(this, "id", "");
2409
2542
  // 杆塔名称
2410
- p(this, "name", "");
2543
+ w(this, "name", "");
2411
2544
  //角钢和圆钢都是用线模拟
2412
2545
  //单塔仿真文件
2413
- p(this, "towerFZinfo", "");
2546
+ w(this, "towerFZinfo", "");
2414
2547
  //位移文件
2415
- p(this, "towerDisFile", "");
2548
+ w(this, "towerDisFile", "");
2416
2549
  //解析应力比文件
2417
- p(this, "stressFileContent", "");
2418
- p(this, "streesistrue", 0);
2550
+ w(this, "stressFileContent", "");
2551
+ w(this, "streesistrue", 0);
2419
2552
  // 杆件颜色
2420
- p(this, "TowerMemberColor", "#FFFFFF");
2553
+ w(this, "TowerMemberColor", "#FFFFFF");
2421
2554
  // 杆件宽度
2422
- p(this, "TowerMembersWidth", 2);
2555
+ w(this, "TowerMembersWidth", 2);
2423
2556
  // 经度
2424
- p(this, "Longitude", 0);
2557
+ w(this, "Longitude", 0);
2425
2558
  // 纬度
2426
- p(this, "Latitude", 0);
2559
+ w(this, "Latitude", 0);
2427
2560
  // 高程
2428
- p(this, "Altitude", 0);
2561
+ w(this, "Altitude", 0);
2429
2562
  // 转角
2430
- p(this, "RollX", 0);
2431
- p(this, "RollY", 90);
2432
- p(this, "RollZ", 0);
2563
+ w(this, "RollX", 0);
2564
+ w(this, "RollY", 90);
2565
+ w(this, "RollZ", 0);
2433
2566
  }
2434
2567
  }
2435
- function Us(W) {
2568
+ function ii(a) {
2436
2569
  debugger;
2437
- const o = W.split(`
2438
- `), i = [], f = [], s = /^\s*(\d+)\s+([\d.-]+)\s+([\d.-]+)\s+([\d.-]+)\s+(-?\d+)/, C = /^\s*(\d+)\s+(\d+)\s+(\d+)\s*(?:#|$)/;
2439
- for (const a of o) {
2440
- const L = a.trim();
2570
+ const o = a.split(`
2571
+ `), i = [], r = [], s = /^\s*(\d+)\s+([\d.-]+)\s+([\d.-]+)\s+([\d.-]+)\s+(-?\d+)/, C = /^\s*(\d+)\s+(\d+)\s+(\d+)\s*(?:#|$)/;
2572
+ for (const W of o) {
2573
+ const L = W.trim();
2441
2574
  if (!L) continue;
2442
- const A = L.match(s);
2443
- if (A) {
2575
+ const p = L.match(s);
2576
+ if (p) {
2444
2577
  i.push({
2445
- id: parseInt(A[1]),
2446
- x: parseFloat(A[2]),
2447
- y: parseFloat(A[3]),
2448
- z: parseFloat(A[4]),
2449
- flag: parseInt(A[5])
2578
+ id: parseInt(p[1]),
2579
+ x: parseFloat(p[2]),
2580
+ y: parseFloat(p[3]),
2581
+ z: parseFloat(p[4]),
2582
+ flag: parseInt(p[5])
2450
2583
  });
2451
2584
  continue;
2452
2585
  }
2453
2586
  const d = L.match(C);
2454
- d && f.push({
2587
+ d && r.push({
2455
2588
  from: parseInt(d[1]),
2456
2589
  to: parseInt(d[2]),
2457
2590
  type: parseInt(d[3])
2458
2591
  });
2459
2592
  }
2460
- return { TowerNodes: i, connections: f };
2593
+ return { TowerNodes: i, connections: r };
2461
2594
  }
2462
- function Qs(W) {
2463
- const o = W.split(`
2595
+ function ti(a) {
2596
+ const o = a.split(`
2464
2597
  `), i = [];
2465
- for (const f of o) {
2466
- if (!f.trim()) continue;
2467
- const s = f.trim().split(/\s+/).filter((L) => L !== ""), C = parseInt(s[0]);
2598
+ for (const r of o) {
2599
+ if (!r.trim()) continue;
2600
+ const s = r.trim().split(/\s+/).filter((L) => L !== ""), C = parseInt(s[0]);
2468
2601
  if (isNaN(C)) continue;
2469
- const a = [];
2602
+ const W = [];
2470
2603
  for (let L = 1; L < s.length; L += 3) {
2471
- const A = parseFloat(s[L]), d = parseFloat(s[L + 1]), t = parseFloat(s[L + 2]);
2472
- if (!isNaN(A) && !isNaN(d) && !isNaN(t)) {
2604
+ const p = parseFloat(s[L]), d = parseFloat(s[L + 1]), t = parseFloat(s[L + 2]);
2605
+ if (!isNaN(p) && !isNaN(d) && !isNaN(t)) {
2473
2606
  const l = Math.floor((L - 1) / 3) + 1;
2474
- a.push({ timeStep: l, x: A, y: d, z: t });
2607
+ W.push({ timeStep: l, x: p, y: d, z: t });
2475
2608
  }
2476
2609
  }
2477
2610
  i.push({
2478
2611
  nodeId: C,
2479
- displacements: a
2612
+ displacements: W
2480
2613
  });
2481
2614
  }
2482
2615
  return i;
2483
2616
  }
2484
- function Ts(W) {
2617
+ function ps(a) {
2485
2618
  const o = {};
2486
- return W.forEach((i) => {
2487
- i.displacements.forEach((f) => {
2488
- o[f.timeStep] || (o[f.timeStep] = []), o[f.timeStep].push({
2619
+ return a.forEach((i) => {
2620
+ i.displacements.forEach((r) => {
2621
+ o[r.timeStep] || (o[r.timeStep] = []), o[r.timeStep].push({
2489
2622
  nodeId: i.nodeId,
2490
- ...f
2623
+ ...r
2491
2624
  });
2492
2625
  });
2493
2626
  }), o;
2494
2627
  }
2495
- function js(W) {
2496
- const o = W.split(`
2628
+ function ei(a) {
2629
+ const o = a.split(`
2497
2630
  `), i = [];
2498
2631
  for (const s of o) {
2499
2632
  if (!s.trim()) continue;
2500
2633
  const C = s.match(/^\s*(\d+-\s*\d+)\s+((?:\d+\.\d+\s*)+)/);
2501
2634
  if (C) {
2502
- const a = C[1].replace(/\s+/g, ""), L = C[2].trim().split(/\s+/).map(Number);
2635
+ const W = C[1].replace(/\s+/g, ""), L = C[2].trim().split(/\s+/).map(Number);
2503
2636
  i.push({
2504
- elementId: a,
2637
+ elementId: W,
2505
2638
  stressRatios: L
2506
2639
  });
2507
2640
  }
2508
2641
  }
2509
- const f = [];
2642
+ const r = [];
2510
2643
  if (i.length > 0) {
2511
2644
  const s = i[0].stressRatios.length;
2512
2645
  for (let C = 0; C < s; C++) {
2513
- const a = {
2646
+ const W = {
2514
2647
  timeIndex: C,
2515
2648
  elements: []
2516
2649
  };
2517
2650
  for (const L of i) {
2518
- let A;
2651
+ let p;
2519
2652
  const d = L.stressRatios[C];
2520
- 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, a.elements.push({
2653
+ 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({
2521
2654
  elementId: L.elementId,
2522
2655
  stressRatio: d,
2523
- ylbColor: A
2656
+ ylbColor: p
2524
2657
  });
2525
2658
  }
2526
- f.push(a);
2659
+ r.push(W);
2527
2660
  }
2528
2661
  }
2529
- return { byElement: i, byTime: f };
2662
+ return { byElement: i, byTime: r };
2530
2663
  }
2531
- class xs {
2664
+ class oi {
2532
2665
  constructor(o) {
2533
- p(this, "viewer");
2534
- p(this, "lines", []);
2666
+ w(this, "viewer");
2667
+ w(this, "lines", []);
2535
2668
  this.viewer = o;
2536
2669
  }
2537
2670
  /**
@@ -2539,8 +2672,8 @@ class xs {
2539
2672
  * @returns 生成的Entity对象
2540
2673
  */
2541
2674
  addLine(o, i) {
2542
- const f = vs(this.viewer, o, i);
2543
- return this.lines.push(f), f;
2675
+ const r = Ss(this.viewer, o, i);
2676
+ return this.lines.push(r), r;
2544
2677
  }
2545
2678
  /** 移除所有线 */
2546
2679
  removeAll() {
@@ -2561,18 +2694,18 @@ class xs {
2561
2694
  // });
2562
2695
  // }
2563
2696
  }
2564
- var ys = { exports: {} };
2565
- (function(W, o) {
2566
- (function(i, f) {
2567
- f();
2568
- })(ss, function() {
2697
+ var bs = { exports: {} };
2698
+ (function(a, o) {
2699
+ (function(i, r) {
2700
+ r();
2701
+ })(ts, function() {
2569
2702
  function i(d, t) {
2570
2703
  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;
2571
2704
  }
2572
- function f(d, t, l) {
2705
+ function r(d, t, l) {
2573
2706
  var u = new XMLHttpRequest();
2574
2707
  u.open("GET", d), u.responseType = "blob", u.onload = function() {
2575
- A(u.response, t, l);
2708
+ p(u.response, t, l);
2576
2709
  }, u.onerror = function() {
2577
2710
  console.error("could not download file");
2578
2711
  }, u.send();
@@ -2594,17 +2727,17 @@ var ys = { exports: {} };
2594
2727
  t.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), d.dispatchEvent(t);
2595
2728
  }
2596
2729
  }
2597
- var a = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof ss == "object" && ss.global === ss ? ss : void 0, L = a.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent), A = a.saveAs || (typeof window != "object" || window !== a ? function() {
2730
+ 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() {
2598
2731
  } : "download" in HTMLAnchorElement.prototype && !L ? function(d, t, l) {
2599
- var u = a.URL || a.webkitURL, e = document.createElement("a");
2600
- t = t || d.name || "download", e.download = t, e.rel = "noopener", typeof d == "string" ? (e.href = d, e.origin === location.origin ? C(e) : s(e.href) ? f(d, t, l) : C(e, e.target = "_blank")) : (e.href = u.createObjectURL(d), setTimeout(function() {
2601
- u.revokeObjectURL(e.href);
2732
+ var u = W.URL || W.webkitURL, T = document.createElement("a");
2733
+ 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() {
2734
+ u.revokeObjectURL(T.href);
2602
2735
  }, 4e4), setTimeout(function() {
2603
- C(e);
2736
+ C(T);
2604
2737
  }, 0));
2605
2738
  } : "msSaveOrOpenBlob" in navigator ? function(d, t, l) {
2606
2739
  if (t = t || d.name || "download", typeof d != "string") navigator.msSaveOrOpenBlob(i(d, l), t);
2607
- else if (s(d)) f(d, t, l);
2740
+ else if (s(d)) r(d, t, l);
2608
2741
  else {
2609
2742
  var u = document.createElement("a");
2610
2743
  u.href = d, u.target = "_blank", setTimeout(function() {
@@ -2612,34 +2745,34 @@ var ys = { exports: {} };
2612
2745
  });
2613
2746
  }
2614
2747
  } : function(d, t, l, u) {
2615
- if (u = u || open("", "_blank"), u && (u.document.title = u.document.body.innerText = "downloading..."), typeof d == "string") return f(d, t, l);
2616
- var e = d.type === "application/octet-stream", c = /constructor/i.test(a.HTMLElement) || a.safari, B = /CriOS\/[\d]+/.test(navigator.userAgent);
2617
- if ((B || e && c || L) && typeof FileReader < "u") {
2748
+ if (u = u || open("", "_blank"), u && (u.document.title = u.document.body.innerText = "downloading..."), typeof d == "string") return r(d, t, l);
2749
+ var T = d.type === "application/octet-stream", e = /constructor/i.test(W.HTMLElement) || W.safari, c = /CriOS\/[\d]+/.test(navigator.userAgent);
2750
+ if ((c || T && e || L) && typeof FileReader < "u") {
2618
2751
  var m = new FileReader();
2619
2752
  m.onloadend = function() {
2620
2753
  var P = m.result;
2621
- P = B ? P : P.replace(/^data:[^;]*;/, "data:attachment/file;"), u ? u.location.href = P : location = P, u = null;
2754
+ P = c ? P : P.replace(/^data:[^;]*;/, "data:attachment/file;"), u ? u.location.href = P : location = P, u = null;
2622
2755
  }, m.readAsDataURL(d);
2623
2756
  } else {
2624
- var b = a.URL || a.webkitURL, w = b.createObjectURL(d);
2625
- u ? u.location = w : location.href = w, u = null, setTimeout(function() {
2626
- b.revokeObjectURL(w);
2757
+ var b = W.URL || W.webkitURL, I = b.createObjectURL(d);
2758
+ u ? u.location = I : location.href = I, u = null, setTimeout(function() {
2759
+ b.revokeObjectURL(I);
2627
2760
  }, 4e4);
2628
2761
  }
2629
2762
  });
2630
- a.saveAs = A.saveAs = A, W.exports = A;
2763
+ W.saveAs = p.saveAs = p, a.exports = p;
2631
2764
  });
2632
- })(ys);
2633
- var as = ys.exports;
2634
- const Cs = require("shp-write");
2635
- class si {
2765
+ })(bs);
2766
+ var us = bs.exports;
2767
+ const Ls = require("shp-write");
2768
+ class ri {
2636
2769
  // constructor(viewer: Cesium.Viewer, towerNodes: TowerNode[], connections: Connection[], towerFZS: TowerFZInfo) {
2637
- constructor(o, i, f) {
2770
+ constructor(o, i, r) {
2638
2771
  // private viewer: Cesium.Viewer;
2639
- p(this, "towerNodes", []);
2640
- p(this, "connections", []);
2641
- p(this, "towerFZS");
2642
- this.towerNodes = o, this.connections = i, this.towerFZS = f;
2772
+ w(this, "towerNodes", []);
2773
+ w(this, "connections", []);
2774
+ w(this, "towerFZS");
2775
+ this.towerNodes = o, this.connections = i, this.towerFZS = r;
2643
2776
  }
2644
2777
  // 导出杆塔数据为SHP文件
2645
2778
  async exportTowerToSHP() {
@@ -2656,17 +2789,17 @@ class si {
2656
2789
  n.Math.toRadians(this.towerFZS.RollX),
2657
2790
  this.towerFZS.RollY,
2658
2791
  this.towerFZS.RollZ
2659
- ), f = n.Cartesian3.fromDegrees(
2792
+ ), r = n.Cartesian3.fromDegrees(
2660
2793
  this.towerFZS.Longitude,
2661
2794
  this.towerFZS.Latitude,
2662
2795
  this.towerFZS.Altitude
2663
2796
  );
2664
2797
  for (const s of this.towerNodes) {
2665
- const C = new n.Cartesian3(s.x, s.y, s.z), a = this.getPositionByHprAndOffset(f, C, i), L = n.Ellipsoid.WGS84.cartesianToCartographic(a), A = n.Math.toDegrees(L.longitude), d = n.Math.toDegrees(L.latitude), t = L.height, l = {
2798
+ 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 = {
2666
2799
  type: "Feature",
2667
2800
  geometry: {
2668
2801
  type: "Point",
2669
- coordinates: [A, d]
2802
+ coordinates: [p, d]
2670
2803
  // 只使用经度和纬度,高度放在属性中
2671
2804
  },
2672
2805
  properties: {
@@ -2675,7 +2808,7 @@ class si {
2675
2808
  x: s.x,
2676
2809
  y: s.y,
2677
2810
  z: s.z,
2678
- longitude: A,
2811
+ longitude: p,
2679
2812
  latitude: d,
2680
2813
  height: t,
2681
2814
  // 高度作为属性存储
@@ -2693,20 +2826,20 @@ class si {
2693
2826
  n.Math.toRadians(this.towerFZS.RollX),
2694
2827
  this.towerFZS.RollY,
2695
2828
  this.towerFZS.RollZ
2696
- ), f = n.Cartesian3.fromDegrees(
2829
+ ), r = n.Cartesian3.fromDegrees(
2697
2830
  this.towerFZS.Longitude,
2698
2831
  this.towerFZS.Latitude,
2699
2832
  this.towerFZS.Altitude
2700
2833
  );
2701
2834
  for (const s of this.connections) {
2702
- const C = this.towerNodes.find((g) => g.id === s.from), a = this.towerNodes.find((g) => g.id === s.to);
2703
- if (!C || !a) continue;
2704
- const L = new n.Cartesian3(C.x, C.y, C.z), A = new n.Cartesian3(a.x, a.y, a.z), d = this.getPositionByHprAndOffset(f, L, i), t = this.getPositionByHprAndOffset(f, A, i), l = n.Ellipsoid.WGS84.cartesianToCartographic(d), u = n.Ellipsoid.WGS84.cartesianToCartographic(t), e = n.Math.toDegrees(l.longitude), c = n.Math.toDegrees(l.latitude), B = l.height, m = n.Math.toDegrees(u.longitude), b = n.Math.toDegrees(u.latitude), w = u.height, P = {
2835
+ const C = this.towerNodes.find((g) => g.id === s.from), W = this.towerNodes.find((g) => g.id === s.to);
2836
+ if (!C || !W) continue;
2837
+ 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 = {
2705
2838
  type: "Feature",
2706
2839
  geometry: {
2707
2840
  type: "LineString",
2708
2841
  coordinates: [
2709
- [e, c],
2842
+ [T, e],
2710
2843
  // 起点,二维坐标
2711
2844
  [m, b]
2712
2845
  // 终点,二维坐标
@@ -2716,17 +2849,17 @@ class si {
2716
2849
  id: `${s.from}-${s.to}`,
2717
2850
  from_node: s.from,
2718
2851
  to_node: s.to,
2719
- from_height: B,
2852
+ from_height: c,
2720
2853
  // 起点高度
2721
- to_height: w,
2854
+ to_height: I,
2722
2855
  // 终点高度
2723
- avg_height: (B + w) / 2,
2856
+ avg_height: (c + I) / 2,
2724
2857
  // 平均高度
2725
2858
  length: this.calculateDistance(d, t),
2726
2859
  type: "tower_member",
2727
2860
  width: this.towerFZS.TowerMembersWidth,
2728
- from_longitude: e,
2729
- from_latitude: c,
2861
+ from_longitude: T,
2862
+ from_latitude: e,
2730
2863
  to_longitude: m,
2731
2864
  to_latitude: b
2732
2865
  }
@@ -2739,71 +2872,71 @@ class si {
2739
2872
  async generateSHPFiles(o, i) {
2740
2873
  try {
2741
2874
  if (o.length > 0) {
2742
- const f = {
2875
+ const r = {
2743
2876
  type: "FeatureCollection",
2744
2877
  features: o
2745
- }, s = Cs.point(f);
2878
+ }, s = Ls.point(r);
2746
2879
  this.downloadSHPFiles(s, "tower_nodes");
2747
2880
  }
2748
2881
  if (i.length > 0) {
2749
- const f = {
2882
+ const r = {
2750
2883
  type: "FeatureCollection",
2751
2884
  features: i
2752
- }, s = Cs.line(f);
2885
+ }, s = Ls.line(r);
2753
2886
  this.downloadSHPFiles(s, "tower_members");
2754
2887
  }
2755
- } catch (f) {
2756
- console.error("生成SHP文件时出错:", f), await this.alternativeExport(o, i);
2888
+ } catch (r) {
2889
+ console.error("生成SHP文件时出错:", r), await this.alternativeExport(o, i);
2757
2890
  }
2758
2891
  }
2759
2892
  // 下载SHP文件
2760
2893
  downloadSHPFiles(o, i) {
2761
- const f = new Blob([o], { type: "application/zip" });
2762
- as.saveAs(f, `${i}.zip`);
2894
+ const r = new Blob([o], { type: "application/zip" });
2895
+ us.saveAs(r, `${i}.zip`);
2763
2896
  }
2764
2897
  // 备用导出方案 - 导出为GeoJSON
2765
2898
  async alternativeExport(o, i) {
2766
2899
  if (console.log("使用备用方案导出为GeoJSON格式"), o.length > 0) {
2767
- const f = {
2900
+ const r = {
2768
2901
  type: "FeatureCollection",
2769
2902
  features: o
2770
2903
  };
2771
- this.downloadJSON(f, "tower_nodes.geojson");
2904
+ this.downloadJSON(r, "tower_nodes.geojson");
2772
2905
  }
2773
2906
  if (i.length > 0) {
2774
- const f = {
2907
+ const r = {
2775
2908
  type: "FeatureCollection",
2776
2909
  features: i
2777
2910
  };
2778
- this.downloadJSON(f, "tower_members.geojson");
2911
+ this.downloadJSON(r, "tower_members.geojson");
2779
2912
  }
2780
2913
  }
2781
2914
  // 下载JSON文件
2782
2915
  downloadJSON(o, i) {
2783
- const f = new Blob([JSON.stringify(o, null, 2)], {
2916
+ const r = new Blob([JSON.stringify(o, null, 2)], {
2784
2917
  type: "application/json"
2785
2918
  });
2786
- as.saveAs(f, i);
2919
+ us.saveAs(r, i);
2787
2920
  }
2788
2921
  // 计算两点之间的距离
2789
2922
  calculateDistance(o, i) {
2790
2923
  return n.Cartesian3.distance(o, i);
2791
2924
  }
2792
2925
  // 根据朝向和偏移量计算位置
2793
- getPositionByHprAndOffset(o, i, f) {
2794
- const s = n.Transforms.headingPitchRollToFixedFrame(o, f);
2926
+ getPositionByHprAndOffset(o, i, r) {
2927
+ const s = n.Transforms.headingPitchRollToFixedFrame(o, r);
2795
2928
  return n.Matrix4.multiplyByPoint(s, i, new n.Cartesian3());
2796
2929
  }
2797
2930
  }
2798
- class ii {
2799
- static async exportToCSV(o, i, f) {
2800
- const s = this.exportNodesToCSV(o, f);
2931
+ class hi {
2932
+ static async exportToCSV(o, i, r) {
2933
+ const s = this.exportNodesToCSV(o, r);
2801
2934
  this.downloadCSV(s, "tower_nodes.csv");
2802
- const C = this.exportConnectionsToCSV(i, o, f);
2935
+ const C = this.exportConnectionsToCSV(i, o, r);
2803
2936
  this.downloadCSV(C, "tower_connections.csv");
2804
2937
  }
2805
2938
  static exportNodesToCSV(o, i) {
2806
- let f = `ID,X,Y,Z,Longitude,Latitude,Height
2939
+ let r = `ID,X,Y,Z,Longitude,Latitude,Height
2807
2940
  `;
2808
2941
  const s = new n.HeadingPitchRoll(
2809
2942
  n.Math.toRadians(i.RollX),
@@ -2814,65 +2947,65 @@ class ii {
2814
2947
  i.Latitude,
2815
2948
  i.Altitude
2816
2949
  );
2817
- return o.forEach((a) => {
2818
- const L = new n.Cartesian3(a.x, a.y, a.z), A = this.getPositionByHprAndOffset(C, L, s), d = n.Ellipsoid.WGS84.cartesianToCartographic(A), t = n.Math.toDegrees(d.longitude), l = n.Math.toDegrees(d.latitude), u = d.height;
2819
- f += `${a.id},${a.x},${a.y},${a.z},${t},${l},${u}
2950
+ return o.forEach((W) => {
2951
+ 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;
2952
+ r += `${W.id},${W.x},${W.y},${W.z},${t},${l},${u}
2820
2953
  `;
2821
- }), f;
2954
+ }), r;
2822
2955
  }
2823
- static exportConnectionsToCSV(o, i, f) {
2956
+ static exportConnectionsToCSV(o, i, r) {
2824
2957
  let s = `FromNode,ToNode,FromX,FromY,FromZ,ToX,ToY,ToZ,Length
2825
2958
  `;
2826
2959
  const C = new n.HeadingPitchRoll(
2827
- n.Math.toRadians(f.RollX),
2828
- f.RollY,
2829
- f.RollZ
2830
- ), a = n.Cartesian3.fromDegrees(
2831
- f.Longitude,
2832
- f.Latitude,
2833
- f.Altitude
2960
+ n.Math.toRadians(r.RollX),
2961
+ r.RollY,
2962
+ r.RollZ
2963
+ ), W = n.Cartesian3.fromDegrees(
2964
+ r.Longitude,
2965
+ r.Latitude,
2966
+ r.Altitude
2834
2967
  );
2835
2968
  return o.forEach((L) => {
2836
- const A = i.find((B) => B.id === L.from), d = i.find((B) => B.id === L.to);
2837
- if (!A || !d) return;
2838
- const t = new n.Cartesian3(A.x, A.y, A.z), l = new n.Cartesian3(d.x, d.y, d.z), u = this.getPositionByHprAndOffset(a, t, C), e = this.getPositionByHprAndOffset(a, l, C), c = n.Cartesian3.distance(u, e);
2839
- s += `${L.from},${L.to},${A.x},${A.y},${A.z},${d.x},${d.y},${d.z},${c}
2969
+ const p = i.find((c) => c.id === L.from), d = i.find((c) => c.id === L.to);
2970
+ if (!p || !d) return;
2971
+ 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);
2972
+ s += `${L.from},${L.to},${p.x},${p.y},${p.z},${d.x},${d.y},${d.z},${e}
2840
2973
  `;
2841
2974
  }), s;
2842
2975
  }
2843
2976
  static downloadCSV(o, i) {
2844
- const f = new Blob([o], { type: "text/csv;charset=utf-8;" });
2845
- as.saveAs(f, i);
2977
+ const r = new Blob([o], { type: "text/csv;charset=utf-8;" });
2978
+ us.saveAs(r, i);
2846
2979
  }
2847
- static getPositionByHprAndOffset(o, i, f) {
2848
- const s = n.Transforms.headingPitchRollToFixedFrame(o, f);
2980
+ static getPositionByHprAndOffset(o, i, r) {
2981
+ const s = n.Transforms.headingPitchRollToFixedFrame(o, r);
2849
2982
  return n.Matrix4.multiplyByPoint(s, i, new n.Cartesian3());
2850
2983
  }
2851
2984
  }
2852
- class li {
2853
- constructor(o, i, f) {
2985
+ class Ai {
2986
+ constructor(o, i, r) {
2854
2987
  //三维场景
2855
- p(this, "viewer");
2856
- p(this, "TowerFZS");
2857
- p(this, "Keym", "");
2988
+ w(this, "viewer");
2989
+ w(this, "TowerFZS");
2990
+ w(this, "Keym", "");
2858
2991
  // 模型模型集合
2859
- p(this, "dataSource2");
2860
- p(this, "entityCollection2");
2992
+ w(this, "dataSource2");
2993
+ w(this, "entityCollection2");
2861
2994
  // 创建一个数组来存储所有点实体
2862
- p(this, "pointEntities", []);
2995
+ w(this, "pointEntities", []);
2863
2996
  //杆件管理对象
2864
- p(this, "TowerLineManager");
2865
- p(this, "TowerNodes", []);
2866
- p(this, "connections", []);
2867
- p(this, "displacementData", []);
2997
+ w(this, "TowerLineManager");
2998
+ w(this, "TowerNodes", []);
2999
+ w(this, "connections", []);
3000
+ w(this, "displacementData", []);
2868
3001
  // 在类属性中添加(浏览器环境)
2869
3002
  // private _animationInterval: number | null = null;
2870
3003
  // 该字段已废弃,后续如需按单元查询应力比可启用
2871
3004
  // private byElemens: ElementStressData[] = [];
2872
- p(this, "byTimes", []);
3005
+ w(this, "byTimes", []);
2873
3006
  // 或者如果是Node.js环境:
2874
- p(this, "_animationInterval", null);
2875
- this.Keym = f, this.viewer = o, this.TowerFZS = i, this.dataSource2 = new n.CustomDataSource(this.TowerFZS.id), this.entityCollection2 = this.dataSource2.entities, this.TowerLineManager = new xs(this.viewer);
3007
+ w(this, "_animationInterval", null);
3008
+ 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);
2876
3009
  }
2877
3010
  // 类的构造函数,用于初始化属性
2878
3011
  // private shpExporter: TowerSHPExporter;
@@ -2882,10 +3015,10 @@ class li {
2882
3015
  loadfile() {
2883
3016
  if (this.Keym != "OW_JPS_EEngin_001")
2884
3017
  return;
2885
- const { TowerNodes: o, connections: i } = Us(this.TowerFZS.towerFZinfo);
2886
- this.TowerNodes = o, this.connections = i, this.displacementData = Qs(this.TowerFZS.towerDisFile);
2887
- const { byTime: f } = js(this.TowerFZS.stressFileContent);
2888
- this.byTimes = f;
3018
+ const { TowerNodes: o, connections: i } = ii(this.TowerFZS.towerFZinfo);
3019
+ this.TowerNodes = o, this.connections = i, this.displacementData = ti(this.TowerFZS.towerDisFile);
3020
+ const { byTime: r } = ei(this.TowerFZS.stressFileContent);
3021
+ this.byTimes = r;
2889
3022
  debugger;
2890
3023
  }
2891
3024
  //单塔仿真加载
@@ -2894,12 +3027,12 @@ class li {
2894
3027
  return;
2895
3028
  let o = new n.HeadingPitchRoll(n.Math.toRadians(this.TowerFZS.RollX), this.TowerFZS.RollY, this.TowerFZS.RollZ);
2896
3029
  const i = n.Cartesian3.fromDegrees(this.TowerFZS.Longitude, this.TowerFZS.Latitude, this.TowerFZS.Altitude);
2897
- this.connections.forEach((f) => {
2898
- const s = this.TowerNodes.find((l) => l.id === f.from), C = this.TowerNodes.find((l) => l.id === f.to), a = [], L = new n.Cartesian3(s == null ? void 0 : s.x, s == null ? void 0 : s.y, s == null ? void 0 : s.z);
2899
- a.push(I(i, L, o));
2900
- const A = is(
3030
+ this.connections.forEach((r) => {
3031
+ 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);
3032
+ W.push(B(i, L, o));
3033
+ const p = es(
2901
3034
  this.viewer,
2902
- a[0],
3035
+ W[0],
2903
3036
  (s == null ? void 0 : s.id) + "",
2904
3037
  {
2905
3038
  pointColor: n.Color.RED,
@@ -2908,12 +3041,12 @@ class li {
2908
3041
  pixelOffset: [0, -30]
2909
3042
  }
2910
3043
  );
2911
- this.pointEntities.push(A);
3044
+ this.pointEntities.push(p);
2912
3045
  const d = new n.Cartesian3(C == null ? void 0 : C.x, C == null ? void 0 : C.y, C == null ? void 0 : C.z);
2913
- a.push(I(i, d, o));
2914
- const t = is(
3046
+ W.push(B(i, d, o));
3047
+ const t = es(
2915
3048
  this.viewer,
2916
- a[1],
3049
+ W[1],
2917
3050
  (s == null ? void 0 : s.id) + "",
2918
3051
  {
2919
3052
  pointColor: n.Color.RED,
@@ -2922,12 +3055,12 @@ class li {
2922
3055
  pixelOffset: [0, -30]
2923
3056
  }
2924
3057
  );
2925
- this.pointEntities.push(t), this.TowerLineManager.addLine(a);
3058
+ this.pointEntities.push(t), this.TowerLineManager.addLine(W);
2926
3059
  }), this.initSHPExporter();
2927
3060
  }
2928
3061
  // 使用修复后的SHP导出器
2929
3062
  async exportToSHP() {
2930
- await new si(
3063
+ await new ri(
2931
3064
  this.TowerNodes,
2932
3065
  this.connections,
2933
3066
  this.TowerFZS
@@ -2935,7 +3068,7 @@ class li {
2935
3068
  }
2936
3069
  // 如果SHP导出仍有问题,使用CSV备用方案
2937
3070
  async exportToCSV() {
2938
- await ii.exportToCSV(
3071
+ await hi.exportToCSV(
2939
3072
  this.TowerNodes,
2940
3073
  this.connections,
2941
3074
  this.TowerFZS
@@ -2948,9 +3081,9 @@ class li {
2948
3081
  loadFZDISTower(o) {
2949
3082
  if (this.Keym !== "OW_JPS_EEngin_001")
2950
3083
  return;
2951
- const f = Ts(this.displacementData)[o], s = this.byTimes.find((L) => L.timeIndex === o);
3084
+ const r = ps(this.displacementData)[o], s = this.byTimes.find((L) => L.timeIndex === o);
2952
3085
  debugger;
2953
- if (!f) {
3086
+ if (!r) {
2954
3087
  console.warn(`未找到时间步 ${o} 的位移数据`);
2955
3088
  return;
2956
3089
  }
@@ -2958,34 +3091,34 @@ class li {
2958
3091
  n.Math.toRadians(this.TowerFZS.RollX),
2959
3092
  this.TowerFZS.RollY,
2960
3093
  this.TowerFZS.RollZ
2961
- ), a = n.Cartesian3.fromDegrees(
3094
+ ), W = n.Cartesian3.fromDegrees(
2962
3095
  this.TowerFZS.Longitude,
2963
3096
  this.TowerFZS.Latitude,
2964
3097
  this.TowerFZS.Altitude
2965
3098
  );
2966
3099
  this.connections.forEach((L) => {
2967
- const A = this.TowerNodes.find((y) => y.id === L.from), d = this.TowerNodes.find((y) => y.id === L.to);
2968
- if (!A || !d) {
3100
+ const p = this.TowerNodes.find((y) => y.id === L.from), d = this.TowerNodes.find((y) => y.id === L.to);
3101
+ if (!p || !d) {
2969
3102
  console.warn(`找不到连接 ${L.from}->${L.to} 的节点`);
2970
3103
  return;
2971
3104
  }
2972
3105
  debugger;
2973
- const t = f.find((y) => y.nodeId === L.from), l = f.find((y) => y.nodeId === L.to);
3106
+ const t = r.find((y) => y.nodeId === L.from), l = r.find((y) => y.nodeId === L.to);
2974
3107
  if (!t || !l) {
2975
3108
  console.warn(`找不到连接 ${L.from}->${L.to} 的位移数据`);
2976
3109
  return;
2977
3110
  }
2978
3111
  const u = new n.Cartesian3(
2979
- A.x - t.x,
2980
- A.y - t.y,
2981
- A.z - t.z
2982
- ), e = new n.Cartesian3(
3112
+ p.x - t.x,
3113
+ p.y - t.y,
3114
+ p.z - t.z
3115
+ ), T = new n.Cartesian3(
2983
3116
  d.x - l.x,
2984
3117
  d.y - l.y,
2985
3118
  d.z - l.z
2986
- ), c = I(a, u, C), B = is(
3119
+ ), e = B(W, u, C), c = es(
2987
3120
  this.viewer,
2988
- c,
3121
+ e,
2989
3122
  L.from + "",
2990
3123
  {
2991
3124
  pointColor: n.Color.RED,
@@ -2994,8 +3127,8 @@ class li {
2994
3127
  pixelOffset: [0, -30]
2995
3128
  }
2996
3129
  );
2997
- this.pointEntities.push(B);
2998
- const m = I(a, e, C), b = is(
3130
+ this.pointEntities.push(c);
3131
+ const m = B(W, T, C), b = es(
2999
3132
  this.viewer,
3000
3133
  m,
3001
3134
  L.to + "",
@@ -3007,9 +3140,9 @@ class li {
3007
3140
  }
3008
3141
  );
3009
3142
  this.pointEntities.push(b);
3010
- const w = [c, m], P = L.from + "-" + L.to, g = s == null ? void 0 : s.elements.find((y) => y.elementId === P);
3143
+ const I = [e, m], P = L.from + "-" + L.to, g = s == null ? void 0 : s.elements.find((y) => y.elementId === P);
3011
3144
  debugger;
3012
- this.TowerLineManager.addLine(w, {
3145
+ this.TowerLineManager.addLine(I, {
3013
3146
  color: g == null ? void 0 : g.ylbColor,
3014
3147
  width: 3,
3015
3148
  clampToGround: !1,
@@ -3023,16 +3156,16 @@ class li {
3023
3156
  loadFZDISTower1(o) {
3024
3157
  if (this.Keym != "OW_JPS_EEngin_001")
3025
3158
  return;
3026
- const i = Ts(this.displacementData);
3027
- let f = new n.HeadingPitchRoll(n.Math.toRadians(this.TowerFZS.RollX), this.TowerFZS.RollY, this.TowerFZS.RollZ);
3159
+ const i = ps(this.displacementData);
3160
+ let r = new n.HeadingPitchRoll(n.Math.toRadians(this.TowerFZS.RollX), this.TowerFZS.RollY, this.TowerFZS.RollZ);
3028
3161
  const s = n.Cartesian3.fromDegrees(this.TowerFZS.Longitude, this.TowerFZS.Latitude, this.TowerFZS.Altitude);
3029
3162
  this.connections.forEach((C) => {
3030
- const a = this.TowerNodes.find((e) => e.id === C.from), L = i[o].find((e) => e.nodeId === C.from), A = this.TowerNodes.find((e) => e.id === C.to), d = i[o].find((e) => e.nodeId === C.to), t = [], l = new n.Cartesian3(a.x - L.x, a.y - L.y, a.z - L.z);
3031
- t.push(I(s, l, f));
3032
- const u = new n.Cartesian3(A.x - d.x, A.y - d.y, A.z - d.z);
3033
- t.push(I(s, u, f));
3163
+ 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);
3164
+ t.push(B(s, l, r));
3165
+ const u = new n.Cartesian3(p.x - d.x, p.y - d.y, p.z - d.z);
3166
+ t.push(B(s, u, r));
3034
3167
  debugger;
3035
- this.entityCollection2.add(r(t, C.from + "" + C.to, this.TowerFZS.TowerMembersWidth, this.TowerFZS.TowerMemberColor));
3168
+ this.entityCollection2.add(h(t, C.from + "" + C.to, this.TowerFZS.TowerMembersWidth, this.TowerFZS.TowerMemberColor));
3036
3169
  });
3037
3170
  }
3038
3171
  /**
@@ -3048,7 +3181,7 @@ class li {
3048
3181
  let o = 1;
3049
3182
  const i = this.displacementData.length;
3050
3183
  this._animationInterval && (clearInterval(this._animationInterval), this._animationInterval = null);
3051
- const f = () => {
3184
+ const r = () => {
3052
3185
  if (this.viewer.dataSources.contains(this.dataSource2) && this.viewer.dataSources.remove(this.dataSource2, !0), o > i) {
3053
3186
  o = 1;
3054
3187
  return;
@@ -3060,7 +3193,7 @@ class li {
3060
3193
  console.error("加载位移帧时出错:", s), this._animationInterval && (clearInterval(this._animationInterval), this._animationInterval = null);
3061
3194
  }
3062
3195
  };
3063
- f(), this._animationInterval = setInterval(f, 300);
3196
+ r(), this._animationInterval = setInterval(r, 300);
3064
3197
  }
3065
3198
  // 停止动画
3066
3199
  stopDisplacementAnimation() {
@@ -3084,20 +3217,20 @@ class li {
3084
3217
  }
3085
3218
  }
3086
3219
  export {
3087
- ni as GUAPoint,
3088
- fi as InsulatorInfo,
3089
- D as InsulatorType,
3090
- xs as LineManager,
3091
- es as LineNum,
3092
- Vs as LineType,
3093
- li as OWEEgineFZManager,
3094
- ai as OWEEgineManager,
3095
- G as PhaseSType,
3096
- Wi as TowerFZInfo,
3097
- hi as TowerInfo,
3098
- oi as TowerLineInfo,
3099
- q as TowerType,
3100
- ri as TreeType,
3101
- T as WairnumType,
3102
- ks as drawModel
3220
+ ci as GUAPoint,
3221
+ ui as InsulatorInfo,
3222
+ E as InsulatorType,
3223
+ oi as LineManager,
3224
+ rs as LineNum,
3225
+ si as LineType,
3226
+ Ai as OWEEgineFZManager,
3227
+ Ti as OWEEgineManager,
3228
+ z as PhaseSType,
3229
+ Ci as TowerFZInfo,
3230
+ li as TowerInfo,
3231
+ ai as TowerLineInfo,
3232
+ $ as TowerType,
3233
+ Wi as TreeType,
3234
+ A as WairnumType,
3235
+ Zs as drawModel
3103
3236
  };