ow-eengine-power 2.4.2 → 2.4.4

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,192 +460,192 @@ 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
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);
629
+ var L = fs(r, J(S), j), p = fs(r, J(X), j);
630
+ W = L > p ? X : 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
650
  const Y = {
651
651
  position: n.Cartesian3.fromDegrees(
@@ -663,7 +663,7 @@ const Ks = (W, o, i) => {
663
663
  disableDepthTestDistance: Number.POSITIVE_INFINITY
664
664
  }
665
665
  }, R = [];
666
- R.push(M), R.push(k);
666
+ R.push(k), R.push(M);
667
667
  var F = {
668
668
  polyline: {
669
669
  show: !0,
@@ -694,349 +694,443 @@ const Ks = (W, o, i) => {
694
694
  };
695
695
  i.add(Y), i.add(F);
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 $(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
731
  }
732
- function h(W, o = 6) {
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;
736
+ }
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,
768
+ new n.Cartesian3()
769
+ ), Z = P * Math.PI, E = c * g + m * P + Math.sin(Z) * u;
770
+ M = n.Cartesian3.multiplyByScalar(
771
+ M,
767
772
  E,
768
- k
769
- ), s.push(k);
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 || {}), q = /* @__PURE__ */ ((a) => (a[a.直线塔 = 0] = "直线塔", a[a.耐张塔 = 1] = "耐张塔", a[a.门架塔 = 2] = "门架塔", a[a.换位塔 = 3] = "换位塔", a))(q || {}), si = /* @__PURE__ */ ((a) => (a[a.交流单回路 = 0] = "交流单回路", a[a.交流双回路 = 1] = "交流双回路", a[a.直流单回路 = 2] = "直流单回路", a[a.直流双回路 = 3] = "直流双回路", a[a.交流四回路 = 4] = "交流四回路", a))(si || {}), rs = /* @__PURE__ */ ((a) => (a[a.地线 = 0] = "地线", a[a.回路一 = 1] = "回路一", a[a.回路二 = 2] = "回路二", a[a.回路三 = 3] = "回路三", a[a.回路四 = 4] = "回路四", a))(rs || {}), D = /* @__PURE__ */ ((a) => (a[a.悬垂串 = 0] = "悬垂串", a[a.耐张串 = 1] = "耐张串", a[a.跳线串 = 2] = "跳线串", a[a.硬跳串 = 3] = "硬跳串", a[a.V串 = 4] = "V串", a[a.地线串 = 5] = "地线串", a[a.绕跳临时 = 6] = "绕跳临时", a))(D || {}), A = /* @__PURE__ */ ((a) => (a[a.单分裂 = 0] = "单分裂", a[a.双分裂 = 1] = "双分裂", a[a.四分裂 = 2] = "四分裂", a[a.六分裂 = 3] = "六分裂", a[a.八分裂 = 4] = "八分裂", a))(A || {});
962
+ class Ti {
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
  * 更新可见范围内的塔(加载新塔,可选择性卸载远处的塔)
@@ -1070,34 +1164,52 @@ class ai {
1070
1164
  const { start: o, end: i } = this.getVisibleTowerIndices();
1071
1165
  this.loadTowersInRange(o, i);
1072
1166
  }
1073
- /**
1074
- * 根据相机距离动态调整模型显隐距离(可选的高级优化)
1075
- * 在大型场景中,可以根据当前视图范围动态调整显示距离
1076
- */
1077
- // private getDynamicDisplayDistance(baseMin: number, baseMax: number): [number, number] {
1078
- // if (!this.viewer.camera) {
1079
- // return [baseMin, baseMax];
1080
- // }
1081
- // // 获取当前相机高度
1082
- // const cameraHeight = this.viewer.camera.positionCartographic?.height || 0;
1083
- // // 根据相机高度动态调整显示距离
1084
- // if (cameraHeight > 100000) { // 超过100km高度
1085
- // return [0, 10000]; // 只显示最近10km的模型
1086
- // } else if (cameraHeight > 50000) { // 超过50km高度
1087
- // return [0, 20000]; // 只显示最近20km的模型
1088
- // } else if (cameraHeight > 10000) { // 超过10km高度
1089
- // return [0, 30000]; // 只显示最近30km的模型
1090
- // } else {
1091
- // return [baseMin, Math.min(baseMax, 50000)]; // 正常情况,限制最大50km
1092
- // }
1093
- // }
1094
1167
  /**
1095
1168
  * 初始化线路数据(不立即加载所有实体,避免性能问题)
1096
1169
  */
1097
1170
  initializeLineData() {
1098
- this.Keym == "OW_JPS_EEngin_001" && this.LineInfo.towers.forEach((o) => {
1171
+ this.Keym == "OW_JPS_EEngin_001" && (this.LineInfo.towers.forEach((o) => {
1099
1172
  this.offsetTowers.push(n.Cartesian3.fromDegrees(o.Longitude, o.Latitude, o.Altitude));
1100
- });
1173
+ }), this.autoCalculateRollX && this.calculateTowerOrientations());
1174
+ }
1175
+ /**
1176
+ * 根据线路走向计算杆塔在三维展示的角度 (RollX)
1177
+ * 直线塔:垂直于线路方向(即线路方向 + 90度)
1178
+ * 耐张塔:垂直于转角的角平分线方向
1179
+ */
1180
+ calculateTowerOrientations() {
1181
+ const o = this.LineInfo.towers.length;
1182
+ if (o !== 0) {
1183
+ if (o === 1) {
1184
+ this.LineInfo.towers[0].RollX === void 0 && (this.LineInfo.towers[0].RollX = 90);
1185
+ return;
1186
+ }
1187
+ for (let i = 0; i < o; i++) {
1188
+ let r = 0;
1189
+ if (this.LineInfo.towers[i].type === q.耐张塔)
1190
+ if (i === 0)
1191
+ r = (as(this.LineInfo.towers, i, 3) - 90 + 360) % 360;
1192
+ else if (i === o - 1)
1193
+ r = (as(this.LineInfo.towers, i, 3) - 90 + 360) % 360;
1194
+ else {
1195
+ const s = this.LineInfo.towers[i - 1], C = this.LineInfo.towers[i], W = this.LineInfo.towers[i + 1], L = Q(
1196
+ s.Longitude,
1197
+ s.Latitude,
1198
+ C.Longitude,
1199
+ C.Latitude
1200
+ ), p = Q(
1201
+ C.Longitude,
1202
+ C.Latitude,
1203
+ W.Longitude,
1204
+ W.Latitude
1205
+ );
1206
+ r = (xs(L, p) - 90 + 360) % 360;
1207
+ }
1208
+ else
1209
+ r = (as(this.LineInfo.towers, i, 2) - 90 + 360) % 360;
1210
+ this.LineInfo.towers[i].RollX = r;
1211
+ }
1212
+ }
1101
1213
  }
1102
1214
  /**
1103
1215
  * 加载指定范围内的塔、绝缘子和相关导线(完整的动态加载实现)
@@ -1105,19 +1217,19 @@ class ai {
1105
1217
  loadTowersInRange(o, i) {
1106
1218
  if (o < 0 || i >= this.LineInfo.towers.length)
1107
1219
  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++)
1220
+ const r = Math.max(0, o - 1), s = Math.min(this.LineInfo.towers.length - 1, i + 1);
1221
+ for (let C = r; C <= s; C++)
1110
1222
  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));
1223
+ for (let C = r; C < s; C++) {
1224
+ const W = `${C}-${C + 1}`;
1225
+ this.loadedWireSegments.has(W) || (this.loadWireSegmentBetweenTowers(C, C + 1), this.loadedWireSegments.add(W));
1114
1226
  }
1115
1227
  }
1116
1228
  /**
1117
1229
  * 加载单个塔和绝缘子,并收集导线挂点信息用于后续导线计算
1118
1230
  */
1119
1231
  loadTowerAndCollectWirePoints(o) {
1120
- const i = this.offsetTowers[o], f = new n.HeadingPitchRoll(
1232
+ const i = this.offsetTowers[o], r = new n.HeadingPitchRoll(
1121
1233
  n.Math.toRadians(this.LineInfo.towers[o].RollX),
1122
1234
  n.Math.toRadians(this.LineInfo.towers[o].RollY),
1123
1235
  n.Math.toRadians(this.LineInfo.towers[o].RollZ)
@@ -1127,83 +1239,83 @@ class ai {
1127
1239
  i,
1128
1240
  this.LineInfo.towers[o].name,
1129
1241
  this.LineInfo.towers[o].towerModelUri,
1130
- f,
1242
+ r,
1131
1243
  this.LineInfo.towers[o].towerScale,
1132
1244
  [this.LineInfo.towers[o].DistanceDisplaymin, this.LineInfo.towers[o].DistanceDisplaymax]
1133
1245
  );
1134
1246
  const s = new n.HeadingPitchRoll(n.Math.toRadians(this.LineInfo.towers[o].RollX), 0, 0), C = new n.HeadingPitchRoll(n.Math.toRadians(this.LineInfo.towers[o].RollX), 0, 0);
1135
- let a = 0;
1247
+ let W = 0;
1136
1248
  const L = [];
1137
- this.LineInfo.towers[o].Insulators.forEach((A) => {
1138
- const d = I(
1249
+ this.LineInfo.towers[o].Insulators.forEach((p) => {
1250
+ const d = B(
1139
1251
  i,
1140
1252
  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
1253
+ this.LineInfo.towers[o].towerPoint[W].X,
1254
+ this.LineInfo.towers[o].towerPoint[W].Y,
1255
+ this.LineInfo.towers[o].towerPoint[W].Z
1144
1256
  ),
1145
1257
  this.LineInfo.towers[o].type === q.耐张塔 ? C : s
1146
1258
  );
1147
- let t;
1148
- if (this.LineInfo.towers[o].type === q.耐张塔)
1149
- switch (A.type) {
1259
+ let t, l;
1260
+ if (this.autoCalculateRollX ? l = this.LineInfo.towers[o].RollX : l = p.RollX, this.LineInfo.towers[o].type === q.耐张塔)
1261
+ switch (p.type) {
1150
1262
  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));
1263
+ t = p.WairFX === "进" ? new n.HeadingPitchRoll(n.Math.toRadians(l), n.Math.toRadians(-180), n.Math.toRadians(180)) : new n.HeadingPitchRoll(n.Math.toRadians(l), n.Math.toRadians(0), n.Math.toRadians(0));
1152
1264
  break;
1153
1265
  case D.跳线串:
1154
1266
  t = new n.HeadingPitchRoll(
1155
- n.Math.toRadians(A.RollX),
1156
- n.Math.toRadians(A.RollY),
1157
- n.Math.toRadians(A.RollZ)
1267
+ n.Math.toRadians(l),
1268
+ n.Math.toRadians(p.RollY),
1269
+ n.Math.toRadians(p.RollZ)
1158
1270
  );
1159
1271
  break;
1160
1272
  case D.地线串:
1161
1273
  t = new n.HeadingPitchRoll(
1162
- n.Math.toRadians(A.RollX),
1163
- n.Math.toRadians(A.RollY),
1164
- n.Math.toRadians(A.RollZ)
1274
+ n.Math.toRadians(l),
1275
+ n.Math.toRadians(p.RollY),
1276
+ n.Math.toRadians(p.RollZ)
1165
1277
  );
1166
1278
  break;
1167
1279
  default:
1168
1280
  t = new n.HeadingPitchRoll(
1169
- n.Math.toRadians(A.RollX),
1170
- n.Math.toRadians(A.RollY),
1171
- n.Math.toRadians(A.RollZ)
1281
+ n.Math.toRadians(l),
1282
+ n.Math.toRadians(p.RollY),
1283
+ n.Math.toRadians(p.RollZ)
1172
1284
  );
1173
1285
  }
1174
1286
  else
1175
1287
  t = new n.HeadingPitchRoll(
1176
- n.Math.toRadians(A.RollX),
1177
- n.Math.toRadians(A.RollY),
1178
- n.Math.toRadians(A.RollZ)
1288
+ n.Math.toRadians(l),
1289
+ n.Math.toRadians(p.RollY),
1290
+ n.Math.toRadians(p.RollZ)
1179
1291
  );
1180
1292
  this.addModelToCollection(
1181
- A.id,
1293
+ p.id,
1182
1294
  d,
1183
- A.name,
1184
- A.InsulatorModelUri,
1295
+ p.name,
1296
+ p.InsulatorModelUri,
1185
1297
  t,
1186
- A.InsulatorScale,
1187
- [A.DistanceDisplaymin, A.DistanceDisplaymax]
1298
+ p.InsulatorScale,
1299
+ [p.DistanceDisplaymin, p.DistanceDisplaymax]
1188
1300
  );
1189
- const l = {
1190
- insulator: A,
1191
- insulatorIndex: a,
1301
+ const u = {
1302
+ insulator: p,
1303
+ insulatorIndex: W,
1192
1304
  position: i,
1193
1305
  lineroll: s,
1194
1306
  WairPoint: []
1195
1307
  };
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++;
1308
+ p.InsulatorPoint.forEach((T) => {
1309
+ T.Y = T.Y + this.LineInfo.towers[o].towerPoint[W].Y, T.Z = T.Z + this.LineInfo.towers[o].towerPoint[W].Z, u.WairPoint.push(B(i, new n.Cartesian3(T.X, T.Y, T.Z), s));
1310
+ }), L.push(u), W++;
1199
1311
  }), this.towerWirePoints.set(o, L);
1200
1312
  }
1201
1313
  /**
1202
1314
  * 加载两个相邻塔之间的导线段
1203
1315
  */
1204
1316
  loadWireSegmentBetweenTowers(o, i) {
1205
- const f = this.towerWirePoints.get(o), s = this.towerWirePoints.get(i);
1206
- !f || !s || this.resetWireArraysForTwoTowers();
1317
+ const r = this.towerWirePoints.get(o), s = this.towerWirePoints.get(i);
1318
+ !r || !s || this.resetWireArraysForTwoTowers();
1207
1319
  }
1208
1320
  /**
1209
1321
  * 重置导线数组,只为两个塔准备
@@ -1211,41 +1323,6 @@ class ai {
1211
1323
  resetWireArraysForTwoTowers() {
1212
1324
  this.offsetWires11 = [], this.offsetWires12 = [], this.offsetWires13 = [], this.offsetWires21 = [], this.offsetWires22 = [], this.offsetWires23 = [], this.ToffsetWires1A1 = [], this.ToffsetWires1A2 = [];
1213
1325
  }
1214
- // /**
1215
- // * 处理单个塔的挂点信息并存储到全局数组(动态加载版本)
1216
- // */
1217
- // private processTowerWirePointsForDynamicLoading(towerIndex: number, wirePoints: any[]) {
1218
- // // 这里需要实现原始的switch-case逻辑
1219
- // // 由于复杂性,建议在实际项目中完整复制原始代码
1220
- // // 目前先提供框架
1221
- // }
1222
- // /**
1223
- // * 获取塔在导线数组中的索引
1224
- // */
1225
- // private getWireArrayIndexForTower(towerIndex: number): number {
1226
- // // 根据分裂导线类型计算索引
1227
- // switch(this.LineInfo.Wairnum) {
1228
- // case WairnumType.单分裂:
1229
- // return towerIndex;
1230
- // case WairnumType.双分裂:
1231
- // return towerIndex * 2;
1232
- // case WairnumType.四分裂:
1233
- // return towerIndex * 4;
1234
- // case WairnumType.六分裂:
1235
- // return towerIndex * 6;
1236
- // case WairnumType.八分裂:
1237
- // return towerIndex * 8;
1238
- // default:
1239
- // return towerIndex;
1240
- // }
1241
- // }
1242
- /**
1243
- * 绘制两个塔之间的导线(需要完整实现原始逻辑)
1244
- */
1245
- // private drawWiresForTowerPair(towerIndex1: number, towerIndex2: number, inedexx: number) {
1246
- // // 这里需要完整实现原始的导线绘制逻辑
1247
- // // 由于篇幅和复杂性限制,建议在实际项目中逐步实现
1248
- // }
1249
1326
  /**
1250
1327
  * 单回路线路加载(现在改为初始化数据 + 设置动态加载监听器)
1251
1328
  */
@@ -1258,11 +1335,11 @@ class ai {
1258
1335
  loadAllWiresOnly() {
1259
1336
  const o = new n.EntityCollection(), i = this.entityCollection2;
1260
1337
  this.entityCollection2 = o, this.loadAllTowersAtOnce();
1261
- const f = [];
1338
+ const r = [];
1262
1339
  o.values.forEach((s) => {
1263
1340
  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) => {
1341
+ s.name && (s.name.includes("导线") || s.name.includes("daoxian") || (C = s.id) != null && C.toString().includes("daoxian")) && r.push(s);
1342
+ }), this.entityCollection2 = i, r.forEach((s) => {
1266
1343
  this.entityCollection2.add(s);
1267
1344
  }), o.removeAll();
1268
1345
  }
@@ -1271,7 +1348,7 @@ class ai {
1271
1348
  */
1272
1349
  loadAllTowersAtOnce() {
1273
1350
  let o = 0, i = 0;
1274
- this.offsetTowers.forEach((f, s) => {
1351
+ this.offsetTowers.forEach((r, s) => {
1275
1352
  const C = new n.HeadingPitchRoll(
1276
1353
  n.Math.toRadians(this.LineInfo.towers[s].RollX),
1277
1354
  n.Math.toRadians(this.LineInfo.towers[s].RollY),
@@ -1279,55 +1356,55 @@ class ai {
1279
1356
  );
1280
1357
  this.addModelToCollection(
1281
1358
  this.LineInfo.towers[s].id,
1282
- f,
1359
+ r,
1283
1360
  this.LineInfo.towers[s].name,
1284
1361
  this.LineInfo.towers[s].towerModelUri,
1285
1362
  C,
1286
1363
  this.LineInfo.towers[s].towerScale,
1287
1364
  [this.LineInfo.towers[s].DistanceDisplaymin, this.LineInfo.towers[s].DistanceDisplaymax]
1288
1365
  );
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;
1366
+ const W = new n.HeadingPitchRoll(n.Math.toRadians(this.LineInfo.towers[s].RollX), 0, 0), L = new n.HeadingPitchRoll(n.Math.toRadians(this.LineInfo.towers[s].RollX), 0, 0);
1367
+ let p = 0;
1291
1368
  if (this.LineInfo.towers[s].Insulators.forEach((t) => {
1292
- const l = I(
1293
- f,
1369
+ const l = B(
1370
+ r,
1294
1371
  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
1372
+ this.LineInfo.towers[s].towerPoint[p].X,
1373
+ this.LineInfo.towers[s].towerPoint[p].Y,
1374
+ this.LineInfo.towers[s].towerPoint[p].Z
1298
1375
  ),
1299
- this.LineInfo.towers[s].type === q.耐张塔 ? L : a
1376
+ this.LineInfo.towers[s].type === q.耐张塔 ? L : W
1300
1377
  );
1301
- let u;
1302
- if (this.LineInfo.towers[s].type === q.耐张塔)
1378
+ let u, T;
1379
+ if (this.autoCalculateRollX ? T = this.LineInfo.towers[s].RollX : T = t.RollX, this.LineInfo.towers[s].type === q.耐张塔)
1303
1380
  switch (t.type) {
1304
1381
  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));
1382
+ u = t.WairFX === "进" ? new n.HeadingPitchRoll(n.Math.toRadians(T), n.Math.toRadians(-180), n.Math.toRadians(180)) : new n.HeadingPitchRoll(n.Math.toRadians(T), n.Math.toRadians(0), n.Math.toRadians(0));
1306
1383
  break;
1307
1384
  case D.跳线串:
1308
1385
  u = new n.HeadingPitchRoll(
1309
- n.Math.toRadians(t.RollX),
1386
+ n.Math.toRadians(T),
1310
1387
  n.Math.toRadians(t.RollY),
1311
1388
  n.Math.toRadians(t.RollZ)
1312
1389
  );
1313
1390
  break;
1314
1391
  case D.地线串:
1315
1392
  u = new n.HeadingPitchRoll(
1316
- n.Math.toRadians(t.RollX),
1393
+ n.Math.toRadians(T),
1317
1394
  n.Math.toRadians(t.RollY),
1318
1395
  n.Math.toRadians(t.RollZ)
1319
1396
  );
1320
1397
  break;
1321
1398
  default:
1322
1399
  u = new n.HeadingPitchRoll(
1323
- n.Math.toRadians(t.RollX),
1400
+ n.Math.toRadians(T),
1324
1401
  n.Math.toRadians(t.RollY),
1325
1402
  n.Math.toRadians(t.RollZ)
1326
1403
  );
1327
1404
  }
1328
1405
  else
1329
1406
  u = new n.HeadingPitchRoll(
1330
- n.Math.toRadians(t.RollX),
1407
+ n.Math.toRadians(T),
1331
1408
  n.Math.toRadians(t.RollY),
1332
1409
  n.Math.toRadians(t.RollZ)
1333
1410
  );
@@ -1342,194 +1419,194 @@ class ai {
1342
1419
  );
1343
1420
  const e = [];
1344
1421
  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));
1422
+ c.Y = c.Y + this.LineInfo.towers[s].towerPoint[p].Y, c.Z = c.Z + this.LineInfo.towers[s].towerPoint[p].Z, e.push(B(r, new n.Cartesian3(c.X, c.Y, c.Z), W));
1346
1423
  }), t.linenum) {
1347
- case es.回路一:
1424
+ case rs.回路一:
1348
1425
  if (this.LineInfo.ISPhaseSequence)
1349
1426
  if (this.LineInfo.towers[s].type == q.耐张塔)
1350
1427
  switch (t.PhaseSequence) {
1351
- case G.A相:
1428
+ case z.A相:
1352
1429
  if (t.type == D.耐张串)
1353
1430
  if (t.WairFX == "进")
1354
1431
  switch (this.LineInfo.Wairnum) {
1355
- case T.单分裂:
1432
+ case A.单分裂:
1356
1433
  this.offsetWires11.push(e[0]), this.ToffsetWires1A1.push(e[0]);
1357
1434
  break;
1358
- case T.双分裂:
1435
+ case A.双分裂:
1359
1436
  this.offsetWires11.push(e[0]), this.offsetWires11.push(e[1]), this.ToffsetWires1A1.push(e[2]), this.ToffsetWires1A1.push(e[3]);
1360
1437
  break;
1361
- case T.四分裂:
1438
+ case A.四分裂:
1362
1439
  this.offsetWires11.push(e[0]), this.offsetWires11.push(e[1]), this.offsetWires11.push(e[2]), this.offsetWires11.push(e[3]), this.ToffsetWires1A1.push(e[4]), this.ToffsetWires1A1.push(e[5]), this.ToffsetWires1A1.push(e[6]), this.ToffsetWires1A1.push(e[7]);
1363
1440
  break;
1364
- case T.六分裂:
1441
+ case A.六分裂:
1365
1442
  this.offsetWires11.push(e[0]), this.offsetWires11.push(e[1]), this.offsetWires11.push(e[2]), this.offsetWires11.push(e[3]), this.offsetWires11.push(e[4]), this.offsetWires11.push(e[5]), this.ToffsetWires1A1.push(e[6]), this.ToffsetWires1A1.push(e[7]), this.ToffsetWires1A1.push(e[8]), this.ToffsetWires1A1.push(e[9]), this.ToffsetWires1A1.push(e[10]), this.ToffsetWires1A1.push(e[11]);
1366
1443
  break;
1367
- case T.八分裂:
1444
+ case A.八分裂:
1368
1445
  this.offsetWires11.push(e[0]), this.offsetWires11.push(e[1]), this.offsetWires11.push(e[2]), this.offsetWires11.push(e[3]), this.offsetWires11.push(e[4]), this.offsetWires11.push(e[5]), this.offsetWires11.push(e[6]), this.offsetWires11.push(e[7]), this.ToffsetWires1A1.push(e[8]), this.ToffsetWires1A1.push(e[9]), this.ToffsetWires1A1.push(e[10]), this.ToffsetWires1A1.push(e[11]), this.ToffsetWires1A1.push(e[12]), this.ToffsetWires1A1.push(e[13]), this.ToffsetWires1A1.push(e[14]), this.ToffsetWires1A1.push(e[15]);
1369
1446
  break;
1370
1447
  }
1371
1448
  else
1372
1449
  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);
1450
+ case A.单分裂:
1451
+ const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1375
1452
  this.offsetWires11.push(c), this.ToffsetWires1A2.push(c);
1376
1453
  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);
1454
+ case A.双分裂:
1455
+ const m = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W);
1456
+ this.offsetWires11.push(m), this.offsetWires11.push(b), this.ToffsetWires1A2.push(m), this.ToffsetWires1A2.push(b);
1380
1457
  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);
1458
+ case A.四分裂:
1459
+ const I = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), P = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), g = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), y = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W);
1460
+ 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
1461
  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);
1462
+ case A.六分裂:
1463
+ const _ = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), v = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), k = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), M = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), Z = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), E = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W);
1464
+ this.offsetWires11.push(_), this.offsetWires11.push(v), this.offsetWires11.push(k), this.offsetWires11.push(M), this.offsetWires11.push(Z), this.offsetWires11.push(E), this.ToffsetWires1A2.push(_), this.ToffsetWires1A2.push(v), this.ToffsetWires1A2.push(k), this.ToffsetWires1A2.push(M), this.ToffsetWires1A2.push(Z), this.ToffsetWires1A2.push(E);
1388
1465
  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);
1466
+ case A.八分裂:
1467
+ const Y = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), R = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), F = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), S = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), X = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), H = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W), O = B(r, new n.Cartesian3(t.InsulatorPoint[6].X * -1, t.InsulatorPoint[6].Y, t.InsulatorPoint[6].Z), W), N = B(r, new n.Cartesian3(t.InsulatorPoint[7].X * -1, t.InsulatorPoint[7].Y, t.InsulatorPoint[7].Z), W);
1468
+ this.offsetWires11.push(Y), this.offsetWires11.push(R), this.offsetWires11.push(F), this.offsetWires11.push(S), this.offsetWires11.push(X), this.offsetWires11.push(H), this.offsetWires11.push(O), this.offsetWires11.push(N), this.ToffsetWires1A2.push(Y), this.ToffsetWires1A2.push(R), this.ToffsetWires1A2.push(F), this.ToffsetWires1A2.push(S), this.ToffsetWires1A2.push(X), this.ToffsetWires1A2.push(H), this.ToffsetWires1A2.push(O), this.ToffsetWires1A2.push(N);
1392
1469
  break;
1393
1470
  }
1394
1471
  else if (t.type == D.跳线串)
1395
1472
  switch (this.LineInfo.Wairnum) {
1396
- case T.单分裂:
1473
+ case A.单分裂:
1397
1474
  this.ToffsetWires1A1.push(e[0]), this.ToffsetWires1A2.push(e[1]);
1398
1475
  break;
1399
- case T.双分裂:
1476
+ case A.双分裂:
1400
1477
  this.ToffsetWires1A1.push(e[0]), this.ToffsetWires1A1.push(e[1]), this.ToffsetWires1A2.push(e[2]), this.ToffsetWires1A2.push(e[3]);
1401
1478
  break;
1402
- case T.四分裂:
1479
+ case A.四分裂:
1403
1480
  this.ToffsetWires1A1.push(e[0]), this.ToffsetWires1A1.push(e[1]), this.ToffsetWires1A1.push(e[2]), this.ToffsetWires1A1.push(e[3]), this.ToffsetWires1A2.push(e[4]), this.ToffsetWires1A2.push(e[5]), this.ToffsetWires1A2.push(e[6]), this.ToffsetWires1A2.push(e[7]);
1404
1481
  break;
1405
- case T.六分裂:
1482
+ case A.六分裂:
1406
1483
  this.ToffsetWires1A1.push(e[0]), this.ToffsetWires1A1.push(e[1]), this.ToffsetWires1A1.push(e[2]), this.ToffsetWires1A1.push(e[3]), this.ToffsetWires1A1.push(e[4]), this.ToffsetWires1A1.push(e[5]), this.ToffsetWires1A2.push(e[6]), this.ToffsetWires1A2.push(e[7]), this.ToffsetWires1A2.push(e[8]), this.ToffsetWires1A2.push(e[9]), this.ToffsetWires1A2.push(e[10]), this.ToffsetWires1A2.push(e[11]);
1407
1484
  break;
1408
- case T.八分裂:
1485
+ case A.八分裂:
1409
1486
  this.ToffsetWires1A1.push(e[0]), this.ToffsetWires1A1.push(e[1]), this.ToffsetWires1A1.push(e[2]), this.ToffsetWires1A1.push(e[3]), this.ToffsetWires1A1.push(e[4]), this.ToffsetWires1A1.push(e[5]), this.ToffsetWires1A1.push(e[6]), this.ToffsetWires1A1.push(e[7]), this.ToffsetWires1A2.push(e[8]), this.ToffsetWires1A2.push(e[9]), this.ToffsetWires1A2.push(e[10]), this.ToffsetWires1A2.push(e[11]), this.ToffsetWires1A2.push(e[12]), this.ToffsetWires1A2.push(e[13]), this.ToffsetWires1A2.push(e[14]), this.ToffsetWires1A2.push(e[15]);
1410
1487
  break;
1411
1488
  }
1412
1489
  break;
1413
- case G.B相:
1490
+ case z.B相:
1414
1491
  if (t.type == D.耐张串)
1415
1492
  if (t.WairFX == "进")
1416
1493
  switch (this.LineInfo.Wairnum) {
1417
- case T.单分裂:
1494
+ case A.单分裂:
1418
1495
  this.offsetWires12.push(e[0]), this.ToffsetWires1B1.push(e[1]);
1419
1496
  break;
1420
- case T.双分裂:
1497
+ case A.双分裂:
1421
1498
  this.offsetWires12.push(e[0]), this.offsetWires12.push(e[1]), this.ToffsetWires1B1.push(e[2]), this.ToffsetWires1B1.push(e[3]);
1422
1499
  break;
1423
- case T.四分裂:
1500
+ case A.四分裂:
1424
1501
  this.offsetWires12.push(e[0]), this.offsetWires12.push(e[1]), this.offsetWires12.push(e[2]), this.offsetWires12.push(e[3]), this.ToffsetWires1B1.push(e[4]), this.ToffsetWires1B1.push(e[5]), this.ToffsetWires1B1.push(e[6]), this.ToffsetWires1B1.push(e[7]);
1425
1502
  break;
1426
- case T.六分裂:
1503
+ case A.六分裂:
1427
1504
  this.offsetWires12.push(e[0]), this.offsetWires12.push(e[1]), this.offsetWires12.push(e[2]), this.offsetWires12.push(e[3]), this.offsetWires12.push(e[4]), this.offsetWires12.push(e[5]), this.ToffsetWires1B1.push(e[6]), this.ToffsetWires1B1.push(e[7]), this.ToffsetWires1B1.push(e[8]), this.ToffsetWires1B1.push(e[9]), this.ToffsetWires1B1.push(e[10]), this.ToffsetWires1B1.push(e[11]);
1428
1505
  break;
1429
- case T.八分裂:
1506
+ case A.八分裂:
1430
1507
  this.offsetWires12.push(e[0]), this.offsetWires12.push(e[1]), this.offsetWires12.push(e[2]), this.offsetWires12.push(e[3]), this.offsetWires12.push(e[4]), this.offsetWires12.push(e[5]), this.offsetWires12.push(e[6]), this.offsetWires12.push(e[7]), this.ToffsetWires1B1.push(e[8]), this.ToffsetWires1B1.push(e[9]), this.ToffsetWires1B1.push(e[10]), this.ToffsetWires1B1.push(e[11]), this.ToffsetWires1B1.push(e[12]), this.ToffsetWires1B1.push(e[13]), this.ToffsetWires1B1.push(e[14]), this.ToffsetWires1B1.push(e[15]);
1431
1508
  break;
1432
1509
  }
1433
1510
  else
1434
1511
  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);
1512
+ case A.单分裂:
1513
+ const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1437
1514
  this.offsetWires12.push(c), this.ToffsetWires1B2.push(c);
1438
1515
  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);
1516
+ case A.双分裂:
1517
+ const m = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W);
1518
+ this.offsetWires12.push(m), this.offsetWires12.push(b), this.ToffsetWires1B2.push(m), this.ToffsetWires1B2.push(b);
1442
1519
  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);
1520
+ case A.四分裂:
1521
+ const I = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), P = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), g = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), y = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W);
1522
+ 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
1523
  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);
1524
+ case A.六分裂:
1525
+ const _ = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), v = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), k = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), M = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), Z = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), E = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W);
1526
+ this.offsetWires12.push(_), this.offsetWires12.push(v), this.offsetWires12.push(k), this.offsetWires12.push(M), this.offsetWires12.push(Z), this.offsetWires12.push(E), this.ToffsetWires1B2.push(_), this.ToffsetWires1B2.push(v), this.ToffsetWires1B2.push(k), this.ToffsetWires1B2.push(M), this.ToffsetWires1B2.push(Z), this.ToffsetWires1B2.push(E);
1450
1527
  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);
1528
+ case A.八分裂:
1529
+ const Y = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), R = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), F = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), S = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), X = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), H = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W), O = B(r, new n.Cartesian3(t.InsulatorPoint[6].X * -1, t.InsulatorPoint[6].Y, t.InsulatorPoint[6].Z), W), N = B(r, new n.Cartesian3(t.InsulatorPoint[7].X * -1, t.InsulatorPoint[7].Y, t.InsulatorPoint[7].Z), W);
1530
+ this.offsetWires12.push(Y), this.offsetWires12.push(R), this.offsetWires12.push(F), this.offsetWires12.push(S), this.offsetWires12.push(X), this.offsetWires12.push(H), this.offsetWires12.push(O), this.offsetWires12.push(N), this.ToffsetWires1B2.push(Y), this.ToffsetWires1B2.push(R), this.ToffsetWires1B2.push(F), this.ToffsetWires1B2.push(S), this.ToffsetWires1B2.push(X), this.ToffsetWires1B2.push(H), this.ToffsetWires1B2.push(O), this.ToffsetWires1B2.push(N);
1454
1531
  break;
1455
1532
  }
1456
1533
  else if (t.type == D.跳线串)
1457
1534
  switch (this.LineInfo.Wairnum) {
1458
- case T.单分裂:
1535
+ case A.单分裂:
1459
1536
  this.ToffsetWires1B1.push(e[0]), this.ToffsetWires1B2.push(e[0]);
1460
1537
  break;
1461
- case T.双分裂:
1538
+ case A.双分裂:
1462
1539
  this.ToffsetWires1B1.push(e[0]), this.ToffsetWires1B1.push(e[1]), this.ToffsetWires1B2.push(e[2]), this.ToffsetWires1B2.push(e[3]);
1463
1540
  break;
1464
- case T.四分裂:
1541
+ case A.四分裂:
1465
1542
  this.ToffsetWires1B1.push(e[0]), this.ToffsetWires1B1.push(e[1]), this.ToffsetWires1B1.push(e[2]), this.ToffsetWires1B1.push(e[3]), this.ToffsetWires1B2.push(e[4]), this.ToffsetWires1B2.push(e[5]), this.ToffsetWires1B2.push(e[6]), this.ToffsetWires1B2.push(e[7]);
1466
1543
  break;
1467
- case T.六分裂:
1544
+ case A.六分裂:
1468
1545
  this.ToffsetWires1B1.push(e[0]), this.ToffsetWires1B1.push(e[1]), this.ToffsetWires1B1.push(e[2]), this.ToffsetWires1B1.push(e[3]), this.ToffsetWires1B1.push(e[4]), this.ToffsetWires1B1.push(e[5]), this.ToffsetWires1B2.push(e[6]), this.ToffsetWires1B2.push(e[7]), this.ToffsetWires1B2.push(e[8]), this.ToffsetWires1B2.push(e[9]), this.ToffsetWires1B2.push(e[10]), this.ToffsetWires1B2.push(e[11]);
1469
1546
  break;
1470
- case T.八分裂:
1547
+ case A.八分裂:
1471
1548
  this.ToffsetWires1B1.push(e[0]), this.ToffsetWires1B1.push(e[1]), this.ToffsetWires1B1.push(e[2]), this.ToffsetWires1B1.push(e[3]), this.ToffsetWires1B1.push(e[4]), this.ToffsetWires1B1.push(e[5]), this.ToffsetWires1B1.push(e[6]), this.ToffsetWires1B1.push(e[7]), this.ToffsetWires1B2.push(e[8]), this.ToffsetWires1B2.push(e[9]), this.ToffsetWires1B2.push(e[10]), this.ToffsetWires1B2.push(e[11]), this.ToffsetWires1B2.push(e[12]), this.ToffsetWires1B2.push(e[13]), this.ToffsetWires1B2.push(e[14]), this.ToffsetWires1B2.push(e[15]);
1472
1549
  break;
1473
1550
  }
1474
1551
  break;
1475
- case G.C相:
1552
+ case z.C相:
1476
1553
  if (t.type == D.耐张串)
1477
1554
  if (t.WairFX == "进")
1478
1555
  switch (this.LineInfo.Wairnum) {
1479
- case T.单分裂:
1556
+ case A.单分裂:
1480
1557
  this.offsetWires13.push(e[0]), this.ToffsetWires1C1.push(e[1]);
1481
1558
  break;
1482
- case T.双分裂:
1559
+ case A.双分裂:
1483
1560
  this.offsetWires13.push(e[0]), this.offsetWires13.push(e[1]), this.ToffsetWires1C1.push(e[2]), this.ToffsetWires1C1.push(e[3]);
1484
1561
  break;
1485
- case T.四分裂:
1562
+ case A.四分裂:
1486
1563
  this.offsetWires13.push(e[0]), this.offsetWires13.push(e[1]), this.offsetWires13.push(e[2]), this.offsetWires13.push(e[3]), this.ToffsetWires1C1.push(e[4]), this.ToffsetWires1C1.push(e[5]), this.ToffsetWires1C1.push(e[6]), this.ToffsetWires1C1.push(e[7]);
1487
1564
  break;
1488
- case T.六分裂:
1565
+ case A.六分裂:
1489
1566
  this.offsetWires13.push(e[0]), this.offsetWires13.push(e[1]), this.offsetWires13.push(e[2]), this.offsetWires13.push(e[3]), this.offsetWires13.push(e[4]), this.offsetWires13.push(e[5]), this.ToffsetWires1C1.push(e[6]), this.ToffsetWires1C1.push(e[7]), this.ToffsetWires1C1.push(e[8]), this.ToffsetWires1C1.push(e[9]), this.ToffsetWires1C1.push(e[10]), this.ToffsetWires1C1.push(e[11]);
1490
1567
  break;
1491
- case T.八分裂:
1568
+ case A.八分裂:
1492
1569
  this.offsetWires13.push(e[0]), this.offsetWires13.push(e[1]), this.offsetWires13.push(e[2]), this.offsetWires13.push(e[3]), this.offsetWires13.push(e[4]), this.offsetWires13.push(e[5]), this.offsetWires13.push(e[6]), this.offsetWires13.push(e[7]), this.ToffsetWires1C1.push(e[8]), this.ToffsetWires1C1.push(e[9]), this.ToffsetWires1C1.push(e[10]), this.ToffsetWires1C1.push(e[11]), this.ToffsetWires1C1.push(e[12]), this.ToffsetWires1C1.push(e[13]), this.ToffsetWires1C1.push(e[14]), this.ToffsetWires1C1.push(e[15]);
1493
1570
  break;
1494
1571
  }
1495
1572
  else
1496
1573
  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);
1574
+ case A.单分裂:
1575
+ const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1499
1576
  this.offsetWires13.push(c), this.ToffsetWires1C2.push(c);
1500
1577
  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);
1578
+ case A.双分裂:
1579
+ const m = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W);
1580
+ this.offsetWires13.push(m), this.offsetWires13.push(b), this.ToffsetWires1C2.push(m), this.ToffsetWires1C2.push(b);
1504
1581
  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);
1582
+ case A.四分裂:
1583
+ const I = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), P = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), g = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), y = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W);
1584
+ 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
1585
  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);
1586
+ case A.六分裂:
1587
+ const _ = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), v = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), k = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), M = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), Z = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), E = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W);
1588
+ this.offsetWires13.push(_), this.offsetWires13.push(v), this.offsetWires13.push(k), this.offsetWires13.push(M), this.offsetWires13.push(Z), this.offsetWires13.push(E), this.ToffsetWires1C2.push(_), this.ToffsetWires1C2.push(v), this.ToffsetWires1C2.push(k), this.ToffsetWires1C2.push(M), this.ToffsetWires1C2.push(Z), this.ToffsetWires1C2.push(E);
1512
1589
  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);
1590
+ case A.八分裂:
1591
+ const Y = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), R = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), F = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), S = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), X = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), H = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W), O = B(r, new n.Cartesian3(t.InsulatorPoint[6].X * -1, t.InsulatorPoint[6].Y, t.InsulatorPoint[6].Z), W), N = B(r, new n.Cartesian3(t.InsulatorPoint[7].X * -1, t.InsulatorPoint[7].Y, t.InsulatorPoint[7].Z), W);
1592
+ this.offsetWires13.push(Y), this.offsetWires13.push(R), this.offsetWires13.push(F), this.offsetWires13.push(S), this.offsetWires13.push(X), this.offsetWires13.push(H), this.offsetWires13.push(O), this.offsetWires13.push(N), this.ToffsetWires1C2.push(Y), this.ToffsetWires1C2.push(R), this.ToffsetWires1C2.push(F), this.ToffsetWires1C2.push(S), this.ToffsetWires1C2.push(X), this.ToffsetWires1C2.push(H), this.ToffsetWires1C2.push(O), this.ToffsetWires1C2.push(N);
1516
1593
  break;
1517
1594
  }
1518
1595
  else if (t.type == D.跳线串)
1519
1596
  switch (this.LineInfo.Wairnum) {
1520
- case T.单分裂:
1597
+ case A.单分裂:
1521
1598
  this.ToffsetWires1C1.push(e[0]), this.ToffsetWires1C2.push(e[0]);
1522
1599
  break;
1523
- case T.双分裂:
1600
+ case A.双分裂:
1524
1601
  this.ToffsetWires1C1.push(e[0]), this.ToffsetWires1C1.push(e[1]), this.ToffsetWires1C2.push(e[2]), this.ToffsetWires1C2.push(e[3]);
1525
1602
  break;
1526
- case T.四分裂:
1603
+ case A.四分裂:
1527
1604
  this.ToffsetWires1C1.push(e[0]), this.ToffsetWires1C1.push(e[1]), this.ToffsetWires1C1.push(e[2]), this.ToffsetWires1C1.push(e[3]), this.ToffsetWires1C2.push(e[4]), this.ToffsetWires1C2.push(e[5]), this.ToffsetWires1C2.push(e[6]), this.ToffsetWires1C2.push(e[7]);
1528
1605
  break;
1529
- case T.六分裂:
1606
+ case A.六分裂:
1530
1607
  this.ToffsetWires1C1.push(e[0]), this.ToffsetWires1C1.push(e[1]), this.ToffsetWires1C1.push(e[2]), this.ToffsetWires1C1.push(e[3]), this.ToffsetWires1C1.push(e[4]), this.ToffsetWires1C1.push(e[5]), this.ToffsetWires1C2.push(e[6]), this.ToffsetWires1C2.push(e[7]), this.ToffsetWires1C2.push(e[8]), this.ToffsetWires1C2.push(e[9]), this.ToffsetWires1C2.push(e[10]), this.ToffsetWires1C2.push(e[11]);
1531
1608
  break;
1532
- case T.八分裂:
1609
+ case A.八分裂:
1533
1610
  this.ToffsetWires1C1.push(e[0]), this.ToffsetWires1C1.push(e[1]), this.ToffsetWires1C1.push(e[2]), this.ToffsetWires1C1.push(e[3]), this.ToffsetWires1C1.push(e[4]), this.ToffsetWires1C1.push(e[5]), this.ToffsetWires1C1.push(e[6]), this.ToffsetWires1C1.push(e[7]), this.ToffsetWires1C2.push(e[8]), this.ToffsetWires1C2.push(e[9]), this.ToffsetWires1C2.push(e[10]), this.ToffsetWires1C2.push(e[11]), this.ToffsetWires1C2.push(e[12]), this.ToffsetWires1C2.push(e[13]), this.ToffsetWires1C2.push(e[14]), this.ToffsetWires1C2.push(e[15]);
1534
1611
  break;
1535
1612
  }
@@ -1537,53 +1614,53 @@ class ai {
1537
1614
  }
1538
1615
  else
1539
1616
  switch (t.PhaseSequence) {
1540
- case G.A相:
1617
+ case z.A相:
1541
1618
  e.forEach((c) => {
1542
1619
  this.offsetWires11.push(c);
1543
1620
  });
1544
1621
  break;
1545
- case G.B相:
1622
+ case z.B相:
1546
1623
  e.forEach((c) => {
1547
1624
  this.offsetWires12.push(c);
1548
1625
  });
1549
1626
  break;
1550
- case G.C相:
1627
+ case z.C相:
1551
1628
  e.forEach((c) => {
1552
1629
  this.offsetWires13.push(c);
1553
1630
  });
1554
1631
  break;
1555
1632
  }
1556
1633
  else if (this.LineInfo.towers[s].type == q.耐张塔)
1557
- switch (A) {
1634
+ switch (p) {
1558
1635
  case 2:
1559
1636
  switch (this.LineInfo.Wairnum) {
1560
- case T.单分裂:
1637
+ case A.单分裂:
1561
1638
  this.offsetWires11.push(e[0]), this.ToffsetWires1A1.push(e[0]);
1562
1639
  break;
1563
- case T.双分裂:
1640
+ case A.双分裂:
1564
1641
  this.offsetWires11.push(e[0]), this.offsetWires11.push(e[1]), this.ToffsetWires1A1.push(e[2]), this.ToffsetWires1A1.push(e[3]);
1565
1642
  break;
1566
1643
  }
1567
1644
  break;
1568
1645
  case 3:
1569
1646
  switch (this.LineInfo.Wairnum) {
1570
- case T.单分裂:
1647
+ case A.单分裂:
1571
1648
  this.ToffsetWires1A1.push(e[0]), this.ToffsetWires1A2.push(e[0]);
1572
1649
  break;
1573
- case T.双分裂:
1650
+ case A.双分裂:
1574
1651
  this.ToffsetWires1A1.push(e[0]), this.ToffsetWires1A1.push(e[1]), this.ToffsetWires1A2.push(e[2]), this.ToffsetWires1A2.push(e[3]);
1575
1652
  break;
1576
1653
  }
1577
1654
  break;
1578
1655
  case 4:
1579
1656
  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);
1657
+ case A.单分裂:
1658
+ const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1582
1659
  this.offsetWires11.push(c), this.ToffsetWires1A2.push(c);
1583
1660
  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);
1661
+ case A.双分裂:
1662
+ const m = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W);
1663
+ this.offsetWires11.push(m), this.offsetWires11.push(b), this.ToffsetWires1A2.push(m), this.ToffsetWires1A2.push(b);
1587
1664
  break;
1588
1665
  }
1589
1666
  break;
@@ -1599,8 +1676,8 @@ class ai {
1599
1676
  break;
1600
1677
  case 7:
1601
1678
  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);
1679
+ const m = B(r, new n.Cartesian3(c.X * -1, c.Y, c.Z), W);
1680
+ this.offsetWires12.push(m), this.ToffsetWires1B2.push(m);
1604
1681
  });
1605
1682
  break;
1606
1683
  case 8:
@@ -1615,13 +1692,13 @@ class ai {
1615
1692
  break;
1616
1693
  case 10:
1617
1694
  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);
1695
+ const m = B(r, new n.Cartesian3(c.X * -1, c.Y, c.Z), W);
1696
+ this.offsetWires13.push(m), this.ToffsetWires1C2.push(m);
1620
1697
  });
1621
1698
  break;
1622
1699
  }
1623
1700
  else
1624
- switch (A) {
1701
+ switch (p) {
1625
1702
  case 2:
1626
1703
  e.forEach((c) => {
1627
1704
  this.offsetWires11.push(c);
@@ -1639,192 +1716,192 @@ class ai {
1639
1716
  break;
1640
1717
  }
1641
1718
  break;
1642
- case es.回路二:
1719
+ case rs.回路二:
1643
1720
  if (this.LineInfo.ISPhaseSequence)
1644
1721
  if (this.LineInfo.towers[s].type == q.耐张塔)
1645
1722
  switch (t.PhaseSequence) {
1646
- case G.A相:
1723
+ case z.A相:
1647
1724
  if (t.type == D.耐张串)
1648
1725
  if (t.WairFX == "进")
1649
1726
  switch (this.LineInfo.Wairnum) {
1650
- case T.单分裂:
1727
+ case A.单分裂:
1651
1728
  this.offsetWires21.push(e[0]), this.ToffsetWires2A1.push(e[0]);
1652
1729
  break;
1653
- case T.双分裂:
1730
+ case A.双分裂:
1654
1731
  this.offsetWires21.push(e[0]), this.offsetWires21.push(e[1]), this.ToffsetWires2A1.push(e[2]), this.ToffsetWires2A1.push(e[3]);
1655
1732
  break;
1656
- case T.四分裂:
1733
+ case A.四分裂:
1657
1734
  this.offsetWires21.push(e[0]), this.offsetWires21.push(e[1]), this.offsetWires21.push(e[2]), this.offsetWires21.push(e[3]), this.ToffsetWires2A1.push(e[4]), this.ToffsetWires2A1.push(e[5]), this.ToffsetWires2A1.push(e[6]), this.ToffsetWires2A1.push(e[7]);
1658
1735
  break;
1659
- case T.六分裂:
1736
+ case A.六分裂:
1660
1737
  this.offsetWires21.push(e[0]), this.offsetWires21.push(e[1]), this.offsetWires21.push(e[2]), this.offsetWires21.push(e[3]), this.offsetWires21.push(e[4]), this.offsetWires21.push(e[5]), this.ToffsetWires2A1.push(e[6]), this.ToffsetWires2A1.push(e[7]), this.ToffsetWires2A1.push(e[8]), this.ToffsetWires2A1.push(e[9]), this.ToffsetWires2A1.push(e[10]), this.ToffsetWires2A1.push(e[11]);
1661
1738
  break;
1662
- case T.八分裂:
1739
+ case A.八分裂:
1663
1740
  this.offsetWires21.push(e[0]), this.offsetWires21.push(e[1]), this.offsetWires21.push(e[2]), this.offsetWires21.push(e[3]), this.offsetWires21.push(e[4]), this.offsetWires21.push(e[5]), this.offsetWires21.push(e[6]), this.offsetWires21.push(e[7]), this.ToffsetWires2A1.push(e[8]), this.ToffsetWires2A1.push(e[9]), this.ToffsetWires2A1.push(e[10]), this.ToffsetWires2A1.push(e[11]), this.ToffsetWires2A1.push(e[12]), this.ToffsetWires2A1.push(e[13]), this.ToffsetWires2A1.push(e[14]), this.ToffsetWires2A1.push(e[15]);
1664
1741
  break;
1665
1742
  }
1666
1743
  else
1667
1744
  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);
1745
+ case A.单分裂:
1746
+ const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1670
1747
  this.offsetWires21.push(c), this.ToffsetWires2A2.push(c);
1671
1748
  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);
1749
+ case A.双分裂:
1750
+ const m = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W);
1751
+ this.offsetWires21.push(m), this.offsetWires21.push(b), this.ToffsetWires2A2.push(m), this.ToffsetWires2A2.push(b);
1675
1752
  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);
1753
+ case A.四分裂:
1754
+ const I = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), P = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), g = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), y = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W);
1755
+ 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
1756
  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);
1757
+ case A.六分裂:
1758
+ const _ = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), v = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), k = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), M = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), Z = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), E = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W);
1759
+ this.offsetWires21.push(_), this.offsetWires21.push(v), this.offsetWires21.push(k), this.offsetWires21.push(M), this.offsetWires21.push(Z), this.offsetWires21.push(E), this.ToffsetWires2A2.push(_), this.ToffsetWires2A2.push(v), this.ToffsetWires2A2.push(k), this.ToffsetWires2A2.push(M), this.ToffsetWires2A2.push(Z), this.ToffsetWires2A2.push(E);
1683
1760
  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);
1761
+ case A.八分裂:
1762
+ const Y = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), R = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), F = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), S = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), X = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), H = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W), O = B(r, new n.Cartesian3(t.InsulatorPoint[6].X * -1, t.InsulatorPoint[6].Y, t.InsulatorPoint[6].Z), W), N = B(r, new n.Cartesian3(t.InsulatorPoint[7].X * -1, t.InsulatorPoint[7].Y, t.InsulatorPoint[7].Z), W);
1763
+ this.offsetWires21.push(Y), this.offsetWires21.push(R), this.offsetWires21.push(F), this.offsetWires21.push(S), this.offsetWires21.push(X), this.offsetWires21.push(H), this.offsetWires21.push(O), this.offsetWires21.push(N), this.ToffsetWires2A2.push(Y), this.ToffsetWires2A2.push(R), this.ToffsetWires2A2.push(F), this.ToffsetWires2A2.push(S), this.ToffsetWires2A2.push(X), this.ToffsetWires2A2.push(H), this.ToffsetWires2A2.push(O), this.ToffsetWires2A2.push(N);
1687
1764
  break;
1688
1765
  }
1689
1766
  else if (t.type == D.跳线串)
1690
1767
  switch (this.LineInfo.Wairnum) {
1691
- case T.单分裂:
1768
+ case A.单分裂:
1692
1769
  this.ToffsetWires2A1.push(e[0]), this.ToffsetWires2A2.push(e[0]);
1693
1770
  break;
1694
- case T.双分裂:
1771
+ case A.双分裂:
1695
1772
  this.ToffsetWires2A1.push(e[0]), this.ToffsetWires2A1.push(e[1]), this.ToffsetWires2A2.push(e[2]), this.ToffsetWires2A2.push(e[3]);
1696
1773
  break;
1697
- case T.四分裂:
1774
+ case A.四分裂:
1698
1775
  this.ToffsetWires2A1.push(e[0]), this.ToffsetWires2A1.push(e[1]), this.ToffsetWires2A1.push(e[2]), this.ToffsetWires2A1.push(e[3]), this.ToffsetWires2A2.push(e[4]), this.ToffsetWires2A2.push(e[5]), this.ToffsetWires2A2.push(e[6]), this.ToffsetWires2A2.push(e[7]);
1699
1776
  break;
1700
- case T.六分裂:
1777
+ case A.六分裂:
1701
1778
  this.ToffsetWires2A1.push(e[0]), this.ToffsetWires2A1.push(e[1]), this.ToffsetWires2A1.push(e[2]), this.ToffsetWires2A1.push(e[3]), this.ToffsetWires2A1.push(e[4]), this.ToffsetWires2A1.push(e[5]), this.ToffsetWires2A2.push(e[6]), this.ToffsetWires2A2.push(e[7]), this.ToffsetWires2A2.push(e[8]), this.ToffsetWires2A2.push(e[9]), this.ToffsetWires2A2.push(e[10]), this.ToffsetWires2A2.push(e[11]);
1702
1779
  break;
1703
- case T.八分裂:
1780
+ case A.八分裂:
1704
1781
  this.ToffsetWires2A1.push(e[0]), this.ToffsetWires2A1.push(e[1]), this.ToffsetWires2A1.push(e[2]), this.ToffsetWires2A1.push(e[3]), this.ToffsetWires2A1.push(e[4]), this.ToffsetWires2A1.push(e[5]), this.ToffsetWires2A1.push(e[6]), this.ToffsetWires2A1.push(e[7]), this.ToffsetWires2A2.push(e[8]), this.ToffsetWires2A2.push(e[9]), this.ToffsetWires2A2.push(e[10]), this.ToffsetWires2A2.push(e[11]), this.ToffsetWires2A2.push(e[12]), this.ToffsetWires2A2.push(e[13]), this.ToffsetWires2A2.push(e[14]), this.ToffsetWires2A2.push(e[15]);
1705
1782
  break;
1706
1783
  }
1707
1784
  break;
1708
- case G.B相:
1785
+ case z.B相:
1709
1786
  if (t.type == D.耐张串)
1710
1787
  if (t.WairFX == "进")
1711
1788
  switch (this.LineInfo.Wairnum) {
1712
- case T.单分裂:
1789
+ case A.单分裂:
1713
1790
  this.offsetWires22.push(e[0]), this.ToffsetWires2B1.push(e[0]);
1714
1791
  break;
1715
- case T.双分裂:
1792
+ case A.双分裂:
1716
1793
  this.offsetWires22.push(e[0]), this.offsetWires22.push(e[1]), this.ToffsetWires2B1.push(e[2]), this.ToffsetWires2B1.push(e[3]);
1717
1794
  break;
1718
- case T.四分裂:
1795
+ case A.四分裂:
1719
1796
  this.offsetWires22.push(e[0]), this.offsetWires22.push(e[1]), this.offsetWires22.push(e[2]), this.offsetWires22.push(e[3]), this.ToffsetWires2B1.push(e[4]), this.ToffsetWires2B1.push(e[5]), this.ToffsetWires2B1.push(e[6]), this.ToffsetWires2B1.push(e[7]);
1720
1797
  break;
1721
- case T.六分裂:
1798
+ case A.六分裂:
1722
1799
  this.offsetWires22.push(e[0]), this.offsetWires22.push(e[1]), this.offsetWires22.push(e[2]), this.offsetWires22.push(e[3]), this.offsetWires22.push(e[4]), this.offsetWires22.push(e[5]), this.ToffsetWires2B1.push(e[6]), this.ToffsetWires2B1.push(e[7]), this.ToffsetWires2B1.push(e[8]), this.ToffsetWires2B1.push(e[9]), this.ToffsetWires2B1.push(e[10]), this.ToffsetWires2B1.push(e[11]);
1723
1800
  break;
1724
- case T.八分裂:
1801
+ case A.八分裂:
1725
1802
  this.offsetWires22.push(e[0]), this.offsetWires22.push(e[1]), this.offsetWires22.push(e[2]), this.offsetWires22.push(e[3]), this.offsetWires22.push(e[4]), this.offsetWires22.push(e[5]), this.offsetWires22.push(e[6]), this.offsetWires22.push(e[7]), this.ToffsetWires2B1.push(e[8]), this.ToffsetWires2B1.push(e[9]), this.ToffsetWires2B1.push(e[10]), this.ToffsetWires2B1.push(e[11]), this.ToffsetWires2B1.push(e[12]), this.ToffsetWires2B1.push(e[13]), this.ToffsetWires2B1.push(e[14]), this.ToffsetWires2B1.push(e[15]);
1726
1803
  break;
1727
1804
  }
1728
1805
  else
1729
1806
  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);
1807
+ case A.单分裂:
1808
+ const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1732
1809
  this.offsetWires22.push(c), this.ToffsetWires2B2.push(c);
1733
1810
  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);
1811
+ case A.双分裂:
1812
+ const m = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W);
1813
+ this.offsetWires22.push(m), this.offsetWires22.push(b), this.ToffsetWires2B2.push(m), this.ToffsetWires2B2.push(b);
1737
1814
  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);
1815
+ case A.四分裂:
1816
+ const I = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), P = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), g = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), y = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W);
1817
+ 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
1818
  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);
1819
+ case A.六分裂:
1820
+ const _ = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), v = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), k = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), M = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), Z = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), E = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W);
1821
+ this.offsetWires22.push(_), this.offsetWires22.push(v), this.offsetWires22.push(k), this.offsetWires22.push(M), this.offsetWires22.push(Z), this.offsetWires22.push(E), this.ToffsetWires2B2.push(_), this.ToffsetWires2B2.push(v), this.ToffsetWires2B2.push(k), this.ToffsetWires2B2.push(M), this.ToffsetWires2B2.push(Z), this.ToffsetWires2B2.push(E);
1745
1822
  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);
1823
+ case A.八分裂:
1824
+ const Y = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), R = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), F = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), S = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), X = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), H = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W), O = B(r, new n.Cartesian3(t.InsulatorPoint[6].X * -1, t.InsulatorPoint[6].Y, t.InsulatorPoint[6].Z), W), N = B(r, new n.Cartesian3(t.InsulatorPoint[7].X * -1, t.InsulatorPoint[7].Y, t.InsulatorPoint[7].Z), W);
1825
+ this.offsetWires22.push(Y), this.offsetWires22.push(R), this.offsetWires22.push(F), this.offsetWires22.push(S), this.offsetWires22.push(X), this.offsetWires22.push(H), this.offsetWires22.push(O), this.offsetWires22.push(N), this.ToffsetWires2B2.push(Y), this.ToffsetWires2B2.push(R), this.ToffsetWires2B2.push(F), this.ToffsetWires2B2.push(S), this.ToffsetWires2B2.push(X), this.ToffsetWires2B2.push(H), this.ToffsetWires2B2.push(O), this.ToffsetWires2B2.push(N);
1749
1826
  break;
1750
1827
  }
1751
1828
  else if (t.type == D.跳线串)
1752
1829
  switch (this.LineInfo.Wairnum) {
1753
- case T.单分裂:
1830
+ case A.单分裂:
1754
1831
  this.ToffsetWires2B1.push(e[0]), this.ToffsetWires2B2.push(e[0]);
1755
1832
  break;
1756
- case T.双分裂:
1833
+ case A.双分裂:
1757
1834
  this.ToffsetWires2B1.push(e[0]), this.ToffsetWires2B1.push(e[1]), this.ToffsetWires2B2.push(e[2]), this.ToffsetWires2B2.push(e[3]);
1758
1835
  break;
1759
- case T.四分裂:
1836
+ case A.四分裂:
1760
1837
  this.ToffsetWires2B1.push(e[0]), this.ToffsetWires2B1.push(e[1]), this.ToffsetWires2B1.push(e[2]), this.ToffsetWires2B1.push(e[3]), this.ToffsetWires2B2.push(e[4]), this.ToffsetWires2B2.push(e[5]), this.ToffsetWires2B2.push(e[6]), this.ToffsetWires2B2.push(e[7]);
1761
1838
  break;
1762
- case T.六分裂:
1839
+ case A.六分裂:
1763
1840
  this.ToffsetWires2B1.push(e[0]), this.ToffsetWires2B1.push(e[1]), this.ToffsetWires2B1.push(e[2]), this.ToffsetWires2B1.push(e[3]), this.ToffsetWires2B1.push(e[4]), this.ToffsetWires2B1.push(e[5]), this.ToffsetWires2B2.push(e[6]), this.ToffsetWires2B2.push(e[7]), this.ToffsetWires2B2.push(e[8]), this.ToffsetWires2B2.push(e[9]), this.ToffsetWires2B2.push(e[10]), this.ToffsetWires2B2.push(e[11]);
1764
1841
  break;
1765
- case T.八分裂:
1842
+ case A.八分裂:
1766
1843
  this.ToffsetWires2B1.push(e[0]), this.ToffsetWires2B1.push(e[1]), this.ToffsetWires2B1.push(e[2]), this.ToffsetWires2B1.push(e[3]), this.ToffsetWires2B1.push(e[4]), this.ToffsetWires2B1.push(e[5]), this.ToffsetWires2B1.push(e[6]), this.ToffsetWires2B1.push(e[7]), this.ToffsetWires2B2.push(e[8]), this.ToffsetWires2B2.push(e[9]), this.ToffsetWires2B2.push(e[10]), this.ToffsetWires2B2.push(e[11]), this.ToffsetWires2B2.push(e[12]), this.ToffsetWires2B2.push(e[13]), this.ToffsetWires2B2.push(e[14]), this.ToffsetWires2B2.push(e[15]);
1767
1844
  break;
1768
1845
  }
1769
1846
  break;
1770
- case G.C相:
1847
+ case z.C相:
1771
1848
  if (t.type == D.耐张串)
1772
1849
  if (t.WairFX == "进")
1773
1850
  switch (this.LineInfo.Wairnum) {
1774
- case T.单分裂:
1851
+ case A.单分裂:
1775
1852
  this.offsetWires23.push(e[0]), this.ToffsetWires2C1.push(e[0]);
1776
1853
  break;
1777
- case T.双分裂:
1854
+ case A.双分裂:
1778
1855
  this.offsetWires23.push(e[0]), this.offsetWires23.push(e[1]), this.ToffsetWires2C1.push(e[2]), this.ToffsetWires2C1.push(e[3]);
1779
1856
  break;
1780
- case T.四分裂:
1857
+ case A.四分裂:
1781
1858
  this.offsetWires23.push(e[0]), this.offsetWires23.push(e[1]), this.offsetWires23.push(e[2]), this.offsetWires23.push(e[3]), this.ToffsetWires2C1.push(e[4]), this.ToffsetWires2C1.push(e[5]), this.ToffsetWires2C1.push(e[6]), this.ToffsetWires2C1.push(e[7]);
1782
1859
  break;
1783
- case T.六分裂:
1860
+ case A.六分裂:
1784
1861
  this.offsetWires23.push(e[0]), this.offsetWires23.push(e[1]), this.offsetWires23.push(e[2]), this.offsetWires23.push(e[3]), this.offsetWires23.push(e[4]), this.offsetWires23.push(e[5]), this.ToffsetWires2C1.push(e[6]), this.ToffsetWires2C1.push(e[7]), this.ToffsetWires2C1.push(e[8]), this.ToffsetWires2C1.push(e[9]), this.ToffsetWires2C1.push(e[10]), this.ToffsetWires2C1.push(e[11]);
1785
1862
  break;
1786
- case T.八分裂:
1863
+ case A.八分裂:
1787
1864
  this.offsetWires23.push(e[0]), this.offsetWires23.push(e[1]), this.offsetWires23.push(e[2]), this.offsetWires23.push(e[3]), this.offsetWires23.push(e[4]), this.offsetWires23.push(e[5]), this.offsetWires23.push(e[6]), this.offsetWires23.push(e[7]), this.ToffsetWires2C1.push(e[8]), this.ToffsetWires2C1.push(e[9]), this.ToffsetWires2C1.push(e[10]), this.ToffsetWires2C1.push(e[11]), this.ToffsetWires2C1.push(e[12]), this.ToffsetWires2C1.push(e[13]), this.ToffsetWires2C1.push(e[14]), this.ToffsetWires2C1.push(e[15]);
1788
1865
  break;
1789
1866
  }
1790
1867
  else
1791
1868
  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);
1869
+ case A.单分裂:
1870
+ const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1794
1871
  this.offsetWires23.push(c), this.ToffsetWires2C2.push(c);
1795
1872
  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);
1873
+ case A.双分裂:
1874
+ const m = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), b = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W);
1875
+ this.offsetWires23.push(m), this.offsetWires23.push(b), this.ToffsetWires2C2.push(m), this.ToffsetWires2C2.push(b);
1799
1876
  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);
1877
+ case A.四分裂:
1878
+ const I = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), P = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), g = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), y = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W);
1879
+ 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
1880
  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);
1881
+ case A.六分裂:
1882
+ const _ = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), v = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), k = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), M = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), Z = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), E = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W);
1883
+ this.offsetWires23.push(_), this.offsetWires23.push(v), this.offsetWires23.push(k), this.offsetWires23.push(M), this.offsetWires23.push(Z), this.offsetWires23.push(E), this.ToffsetWires2C2.push(_), this.ToffsetWires2C2.push(v), this.ToffsetWires2C2.push(k), this.ToffsetWires2C2.push(M), this.ToffsetWires2C2.push(Z), this.ToffsetWires2C2.push(E);
1807
1884
  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);
1885
+ case A.八分裂:
1886
+ const Y = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W), R = B(r, new n.Cartesian3(t.InsulatorPoint[1].X * -1, t.InsulatorPoint[1].Y, t.InsulatorPoint[1].Z), W), F = B(r, new n.Cartesian3(t.InsulatorPoint[2].X * -1, t.InsulatorPoint[2].Y, t.InsulatorPoint[2].Z), W), S = B(r, new n.Cartesian3(t.InsulatorPoint[3].X * -1, t.InsulatorPoint[3].Y, t.InsulatorPoint[3].Z), W), X = B(r, new n.Cartesian3(t.InsulatorPoint[4].X * -1, t.InsulatorPoint[4].Y, t.InsulatorPoint[4].Z), W), H = B(r, new n.Cartesian3(t.InsulatorPoint[5].X * -1, t.InsulatorPoint[5].Y, t.InsulatorPoint[5].Z), W), O = B(r, new n.Cartesian3(t.InsulatorPoint[6].X * -1, t.InsulatorPoint[6].Y, t.InsulatorPoint[6].Z), W), N = B(r, new n.Cartesian3(t.InsulatorPoint[7].X * -1, t.InsulatorPoint[7].Y, t.InsulatorPoint[7].Z), W);
1887
+ this.offsetWires23.push(Y), this.offsetWires23.push(R), this.offsetWires23.push(F), this.offsetWires23.push(S), this.offsetWires23.push(X), this.offsetWires23.push(H), this.offsetWires23.push(O), this.offsetWires23.push(N), this.ToffsetWires2C2.push(Y), this.ToffsetWires2C2.push(R), this.ToffsetWires2C2.push(F), this.ToffsetWires2C2.push(S), this.ToffsetWires2C2.push(X), this.ToffsetWires2C2.push(H), this.ToffsetWires2C2.push(O), this.ToffsetWires2C2.push(N);
1811
1888
  break;
1812
1889
  }
1813
1890
  else if (t.type == D.跳线串)
1814
1891
  switch (this.LineInfo.Wairnum) {
1815
- case T.单分裂:
1892
+ case A.单分裂:
1816
1893
  this.ToffsetWires2C1.push(e[0]), this.ToffsetWires2C2.push(e[0]);
1817
1894
  break;
1818
- case T.双分裂:
1895
+ case A.双分裂:
1819
1896
  this.ToffsetWires2C1.push(e[0]), this.ToffsetWires2C1.push(e[1]), this.ToffsetWires2C2.push(e[2]), this.ToffsetWires2C2.push(e[3]);
1820
1897
  break;
1821
- case T.四分裂:
1898
+ case A.四分裂:
1822
1899
  this.ToffsetWires2C1.push(e[0]), this.ToffsetWires2C1.push(e[1]), this.ToffsetWires2C1.push(e[2]), this.ToffsetWires2C1.push(e[3]), this.ToffsetWires2C2.push(e[4]), this.ToffsetWires2C2.push(e[5]), this.ToffsetWires2C2.push(e[6]), this.ToffsetWires2C2.push(e[7]);
1823
1900
  break;
1824
- case T.六分裂:
1901
+ case A.六分裂:
1825
1902
  this.ToffsetWires2C1.push(e[0]), this.ToffsetWires2C1.push(e[1]), this.ToffsetWires2C1.push(e[2]), this.ToffsetWires2C1.push(e[3]), this.ToffsetWires2C1.push(e[4]), this.ToffsetWires2C1.push(e[5]), this.ToffsetWires2C2.push(e[6]), this.ToffsetWires2C2.push(e[7]), this.ToffsetWires2C2.push(e[8]), this.ToffsetWires2C2.push(e[9]), this.ToffsetWires2C2.push(e[10]), this.ToffsetWires2C2.push(e[11]);
1826
1903
  break;
1827
- case T.八分裂:
1904
+ case A.八分裂:
1828
1905
  this.ToffsetWires2C1.push(e[0]), this.ToffsetWires2C1.push(e[1]), this.ToffsetWires2C1.push(e[2]), this.ToffsetWires2C1.push(e[3]), this.ToffsetWires2C1.push(e[4]), this.ToffsetWires2C1.push(e[5]), this.ToffsetWires2C1.push(e[6]), this.ToffsetWires2C1.push(e[7]), this.ToffsetWires2C2.push(e[8]), this.ToffsetWires2C2.push(e[9]), this.ToffsetWires2C2.push(e[10]), this.ToffsetWires2C2.push(e[11]), this.ToffsetWires2C2.push(e[12]), this.ToffsetWires2C2.push(e[13]), this.ToffsetWires2C2.push(e[14]), this.ToffsetWires2C2.push(e[15]);
1829
1906
  break;
1830
1907
  }
@@ -1832,24 +1909,24 @@ class ai {
1832
1909
  }
1833
1910
  else
1834
1911
  switch (t.PhaseSequence) {
1835
- case G.A相:
1912
+ case z.A相:
1836
1913
  e.forEach((c) => {
1837
1914
  this.offsetWires21.push(c);
1838
1915
  });
1839
1916
  break;
1840
- case G.B相:
1917
+ case z.B相:
1841
1918
  e.forEach((c) => {
1842
1919
  this.offsetWires22.push(c);
1843
1920
  });
1844
1921
  break;
1845
- case G.C相:
1922
+ case z.C相:
1846
1923
  e.forEach((c) => {
1847
1924
  this.offsetWires23.push(c);
1848
1925
  });
1849
1926
  break;
1850
1927
  }
1851
1928
  else if (this.LineInfo.towers[s].type == q.耐张塔)
1852
- switch (A) {
1929
+ switch (p) {
1853
1930
  case 11:
1854
1931
  this.offsetWires21.push(e[0]), this.ToffsetWires2A1.push(e[0]);
1855
1932
  break;
@@ -1857,7 +1934,7 @@ class ai {
1857
1934
  this.ToffsetWires2A1.push(e[0]), this.ToffsetWires2A2.push(e[0]);
1858
1935
  break;
1859
1936
  case 13:
1860
- const c = I(f, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), a);
1937
+ const c = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1861
1938
  this.offsetWires21.push(c), this.ToffsetWires2A2.push(c);
1862
1939
  break;
1863
1940
  case 14:
@@ -1867,8 +1944,8 @@ class ai {
1867
1944
  this.ToffsetWires2B1.push(e[0]), this.ToffsetWires2B2.push(e[0]);
1868
1945
  break;
1869
1946
  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);
1947
+ const m = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1948
+ this.offsetWires22.push(m), this.ToffsetWires2B2.push(m);
1872
1949
  break;
1873
1950
  case 17:
1874
1951
  this.offsetWires23.push(e[0]), this.ToffsetWires2C1.push(e[0]);
@@ -1877,12 +1954,12 @@ class ai {
1877
1954
  this.ToffsetWires2C1.push(e[0]), this.ToffsetWires2C2.push(e[0]);
1878
1955
  break;
1879
1956
  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);
1957
+ const b = B(r, new n.Cartesian3(t.InsulatorPoint[0].X * -1, t.InsulatorPoint[0].Y, t.InsulatorPoint[0].Z), W);
1958
+ this.offsetWires23.push(b), this.ToffsetWires2C2.push(b);
1882
1959
  break;
1883
1960
  }
1884
1961
  else
1885
- switch (A) {
1962
+ switch (p) {
1886
1963
  case 5:
1887
1964
  e.forEach((c) => {
1888
1965
  this.offsetWires21.push(c);
@@ -1900,18 +1977,18 @@ class ai {
1900
1977
  break;
1901
1978
  }
1902
1979
  break;
1903
- case es.地线:
1980
+ case rs.地线:
1904
1981
  if (this.LineInfo.ISPhaseSequence)
1905
1982
  switch (t.PhaseSequence) {
1906
- case G.地线1:
1983
+ case z.地线1:
1907
1984
  this.offsetGrouundWires11.push(e[0]);
1908
1985
  break;
1909
- case G.地线2:
1986
+ case z.地线2:
1910
1987
  this.offsetGrouundWires12.push(e[0]);
1911
1988
  break;
1912
1989
  }
1913
1990
  else
1914
- switch (A) {
1991
+ switch (p) {
1915
1992
  case 0:
1916
1993
  this.offsetGrouundWires11.push(e[0]);
1917
1994
  break;
@@ -1921,144 +1998,144 @@ class ai {
1921
1998
  }
1922
1999
  break;
1923
2000
  }
1924
- A = A + 1;
2001
+ p = p + 1;
1925
2002
  }), this.offsetWires11.length > 0 && s > 0) {
1926
- const t = [], l = [], u = [], e = [], c = [], B = [], m = [], b = [];
2003
+ const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [];
1927
2004
  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)));
2005
+ case A.单分裂:
2006
+ this.offsetWires11.length >= 2 && (t.push(this.offsetWires11[o]), t.push(this.offsetWires11[o - 1]), this.offsetArcWires1A = f(t), this.offsetArcWires1A.forEach((I) => {
2007
+ this.arcLine1A1.push($(this.viewer.scene.globe.ellipsoid, I));
2008
+ }), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)));
1932
2009
  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)));
2010
+ case A.双分裂:
2011
+ this.offsetWires11.length >= 4 && (t.push(this.offsetWires11[o]), t.push(this.offsetWires11[o - 2]), this.offsetArcWires1A = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1A.forEach((I) => {
2012
+ this.arcLine1A1.push($(this.viewer.scene.globe.ellipsoid, I));
2013
+ }), l.push(this.offsetWires11[o + 1]), l.push(this.offsetWires11[o - 1]), this.offsetArcWires1A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)));
1937
2014
  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)));
2015
+ case A.四分裂:
2016
+ this.offsetWires11.length >= 8 && (t.push(this.offsetWires11[o]), t.push(this.offsetWires11[o - 4]), this.offsetArcWires1A = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1A.forEach((I) => {
2017
+ this.arcLine1A1.push($(this.viewer.scene.globe.ellipsoid, I));
2018
+ }), l.push(this.offsetWires11[o + 1]), l.push(this.offsetWires11[o - 3]), this.offsetArcWires1A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires11[o + 2]), u.push(this.offsetWires11[o - 2]), this.offsetArcWires1A = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires11[o + 3]), T.push(this.offsetWires11[o - 1]), this.offsetArcWires1A = f(T), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)));
1942
2019
  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)));
2020
+ case A.六分裂:
2021
+ this.offsetWires11.length >= 12 && (t.push(this.offsetWires11[o]), t.push(this.offsetWires11[o - 6]), this.offsetArcWires1A = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1A.forEach((I) => {
2022
+ this.arcLine1A1.push($(this.viewer.scene.globe.ellipsoid, I));
2023
+ }), l.push(this.offsetWires11[o + 1]), l.push(this.offsetWires11[o - 5]), this.offsetArcWires1A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires11[o + 2]), u.push(this.offsetWires11[o - 4]), this.offsetArcWires1A = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires11[o + 3]), T.push(this.offsetWires11[o - 3]), this.offsetArcWires1A = f(T), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires11[o + 4]), e.push(this.offsetWires11[o - 2]), this.offsetArcWires1A = f(e), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires11[o + 5]), c.push(this.offsetWires11[o - 1]), this.offsetArcWires1A = f(c), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)));
1947
2024
  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)));
2025
+ case A.八分裂:
2026
+ this.offsetWires11.length >= 16 && (t.push(this.offsetWires11[o]), t.push(this.offsetWires11[o - 8]), this.offsetArcWires1A = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1A.forEach((I) => {
2027
+ this.arcLine1A1.push($(this.viewer.scene.globe.ellipsoid, I));
2028
+ }), l.push(this.offsetWires11[o + 1]), l.push(this.offsetWires11[o - 7]), this.offsetArcWires1A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires11[o + 2]), u.push(this.offsetWires11[o - 6]), this.offsetArcWires1A = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires11[o + 3]), T.push(this.offsetWires11[o - 5]), this.offsetArcWires1A = f(T), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires11[o + 4]), e.push(this.offsetWires11[o - 4]), this.offsetArcWires1A = f(e), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires11[o + 5]), c.push(this.offsetWires11[o - 3]), this.offsetArcWires1A = f(c), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), m.push(this.offsetWires11[o + 6]), m.push(this.offsetWires11[o - 2]), this.offsetArcWires1A = f(m), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A7" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), b.push(this.offsetWires11[o + 7]), b.push(this.offsetWires11[o - 1]), this.offsetArcWires1A = f(b), this.LineentityCollection2.add(h(this.offsetArcWires1A, "导线1_A8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)));
1952
2029
  break;
1953
2030
  }
1954
2031
  }
1955
2032
  if (this.offsetWires12.length > 0 && s > 0) {
1956
- const t = [], l = [], u = [], e = [], c = [], B = [], m = [], b = [];
2033
+ const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [];
1957
2034
  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));
2035
+ case A.单分裂:
2036
+ t.push(this.offsetWires12[o]), t.push(this.offsetWires12[o - 1]), this.offsetArcWires1B = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((I) => {
2037
+ this.arcLine1B1.push($(this.viewer.scene.globe.ellipsoid, I));
1961
2038
  });
1962
2039
  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));
2040
+ case A.双分裂:
2041
+ t.push(this.offsetWires12[o]), t.push(this.offsetWires12[o - 2]), this.offsetArcWires1B = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((I) => {
2042
+ this.arcLine1B1.push($(this.viewer.scene.globe.ellipsoid, I));
2043
+ }), l.push(this.offsetWires12[o + 1]), l.push(this.offsetWires12[o - 1]), this.offsetArcWires1B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
1967
2044
  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));
2045
+ case A.四分裂:
2046
+ t.push(this.offsetWires12[o]), t.push(this.offsetWires12[o - 4]), this.offsetArcWires1B = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((I) => {
2047
+ this.arcLine1B1.push($(this.viewer.scene.globe.ellipsoid, I));
2048
+ }), l.push(this.offsetWires12[o + 1]), l.push(this.offsetWires12[o - 3]), this.offsetArcWires1B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires12[o + 2]), u.push(this.offsetWires12[o - 2]), this.offsetArcWires1B = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires12[o + 3]), T.push(this.offsetWires12[o - 1]), this.offsetArcWires1B = f(T), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
1972
2049
  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));
2050
+ case A.六分裂:
2051
+ t.push(this.offsetWires12[o]), t.push(this.offsetWires12[o - 6]), this.offsetArcWires1B = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((I) => {
2052
+ this.arcLine1B1.push($(this.viewer.scene.globe.ellipsoid, I));
2053
+ }), l.push(this.offsetWires12[o + 1]), l.push(this.offsetWires12[o - 5]), this.offsetArcWires1B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires12[o + 2]), u.push(this.offsetWires12[o - 4]), this.offsetArcWires1B = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires12[o + 3]), T.push(this.offsetWires12[o - 3]), this.offsetArcWires1B = f(T), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires12[o + 4]), e.push(this.offsetWires12[o - 2]), this.offsetArcWires1B = f(e), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires12[o + 5]), c.push(this.offsetWires12[o - 1]), this.offsetArcWires1B = f(c), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
1977
2054
  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));
2055
+ case A.八分裂:
2056
+ t.push(this.offsetWires12[o]), t.push(this.offsetWires12[o - 8]), this.offsetArcWires1B = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), this.offsetArcWires1B.forEach((I) => {
2057
+ this.arcLine1B1.push($(this.viewer.scene.globe.ellipsoid, I));
2058
+ }), l.push(this.offsetWires12[o + 1]), l.push(this.offsetWires12[o - 7]), this.offsetArcWires1B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires12[o + 2]), u.push(this.offsetWires12[o - 6]), this.offsetArcWires1B = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires12[o + 3]), T.push(this.offsetWires12[o - 5]), this.offsetArcWires1B = f(T), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires12[o + 4]), e.push(this.offsetWires12[o - 4]), this.offsetArcWires1B = f(e), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires12[o + 5]), c.push(this.offsetWires12[o - 3]), this.offsetArcWires1B = f(c), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), m.push(this.offsetWires12[o + 6]), m.push(this.offsetWires12[o - 2]), this.offsetArcWires1B = f(m), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B7" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), b.push(this.offsetWires12[o + 7]), b.push(this.offsetWires12[o - 1]), this.offsetArcWires1B = f(b), this.LineentityCollection2.add(h(this.offsetArcWires1B, "导线1_B8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
1982
2059
  break;
1983
2060
  }
1984
2061
  }
1985
2062
  if (this.offsetWires13.length > 0 && s > 0) {
1986
- const t = [], l = [], u = [], e = [], c = [], B = [], m = [], b = [];
2063
+ const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [];
1987
2064
  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));
2065
+ case A.单分裂:
2066
+ t.push(this.offsetWires13[o]), t.push(this.offsetWires13[o - 1]), this.offsetArcWires1C = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
1990
2067
  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));
2068
+ case A.双分裂:
2069
+ t.push(this.offsetWires13[o]), t.push(this.offsetWires13[o - 2]), this.offsetArcWires1C = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires13[o + 1]), l.push(this.offsetWires13[o - 1]), this.offsetArcWires1C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
1993
2070
  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));
2071
+ case A.四分裂:
2072
+ t.push(this.offsetWires13[o]), t.push(this.offsetWires13[o - 4]), this.offsetArcWires1C = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires13[o + 1]), l.push(this.offsetWires13[o - 3]), this.offsetArcWires1C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires13[o + 2]), u.push(this.offsetWires13[o - 2]), this.offsetArcWires1C = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires13[o + 3]), T.push(this.offsetWires13[o - 1]), this.offsetArcWires1C = f(T), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
1996
2073
  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));
2074
+ case A.六分裂:
2075
+ t.push(this.offsetWires13[o]), t.push(this.offsetWires13[o - 6]), this.offsetArcWires1C = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires13[o + 1]), l.push(this.offsetWires13[o - 5]), this.offsetArcWires1C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires13[o + 2]), u.push(this.offsetWires13[o - 4]), this.offsetArcWires1C = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires13[o + 3]), T.push(this.offsetWires13[o - 3]), this.offsetArcWires1C = f(T), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires13[o + 4]), e.push(this.offsetWires13[o - 2]), this.offsetArcWires1C = f(e), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires13[o + 5]), c.push(this.offsetWires13[o - 1]), this.offsetArcWires1C = f(c), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
1999
2076
  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));
2077
+ case A.八分裂:
2078
+ t.push(this.offsetWires13[o]), t.push(this.offsetWires13[o - 8]), this.offsetArcWires1C = f(t), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires13[o + 1]), l.push(this.offsetWires13[o - 7]), this.offsetArcWires1C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires13[o + 2]), u.push(this.offsetWires13[o - 6]), this.offsetArcWires1C = f(u), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires13[o + 3]), T.push(this.offsetWires13[o - 5]), this.offsetArcWires1C = f(T), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires13[o + 4]), e.push(this.offsetWires13[o - 4]), this.offsetArcWires1C = f(e), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires13[o + 5]), c.push(this.offsetWires13[o - 3]), this.offsetArcWires1C = f(c), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), m.push(this.offsetWires13[o + 6]), m.push(this.offsetWires13[o - 2]), this.offsetArcWires1C = f(m), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C7" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), b.push(this.offsetWires13[o + 7]), b.push(this.offsetWires13[o - 1]), this.offsetArcWires1C = f(b), this.LineentityCollection2.add(h(this.offsetArcWires1C, "导线1_C8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2002
2079
  break;
2003
2080
  }
2004
2081
  }
2005
2082
  if (this.offsetWires21.length > 0 && s > 0) {
2006
- const t = [], l = [], u = [], e = [], c = [], B = [], m = [], b = [];
2083
+ const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [];
2007
2084
  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));
2085
+ case A.单分裂:
2086
+ t.push(this.offsetWires21[o]), t.push(this.offsetWires21[o - 1]), this.offsetArcWires2A = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2010
2087
  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));
2088
+ case A.双分裂:
2089
+ t.push(this.offsetWires21[o]), t.push(this.offsetWires21[o - 2]), this.offsetArcWires2A = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires21[o + 1]), l.push(this.offsetWires21[o - 1]), this.offsetArcWires2A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2013
2090
  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));
2091
+ case A.四分裂:
2092
+ t.push(this.offsetWires21[o]), t.push(this.offsetWires21[o - 4]), this.offsetArcWires2A = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires21[o + 1]), l.push(this.offsetWires21[o - 3]), this.offsetArcWires2A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires21[o + 2]), u.push(this.offsetWires21[o - 2]), this.offsetArcWires2A = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires21[o + 3]), T.push(this.offsetWires21[o - 1]), this.offsetArcWires2A = f(T), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2016
2093
  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));
2094
+ case A.六分裂:
2095
+ t.push(this.offsetWires21[o]), t.push(this.offsetWires21[o - 6]), this.offsetArcWires2A = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires21[o + 1]), l.push(this.offsetWires21[o - 5]), this.offsetArcWires2A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires21[o + 2]), u.push(this.offsetWires21[o - 4]), this.offsetArcWires2A = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires21[o + 3]), T.push(this.offsetWires21[o - 3]), this.offsetArcWires2A = f(T), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires21[o + 4]), e.push(this.offsetWires21[o - 2]), this.offsetArcWires2A = f(e), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires21[o + 5]), c.push(this.offsetWires21[o - 1]), this.offsetArcWires2A = f(c), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2019
2096
  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));
2097
+ case A.八分裂:
2098
+ t.push(this.offsetWires21[o]), t.push(this.offsetWires21[o - 8]), this.offsetArcWires2A = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires21[o + 1]), l.push(this.offsetWires21[o - 7]), this.offsetArcWires2A = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires21[o + 2]), u.push(this.offsetWires21[o - 6]), this.offsetArcWires2A = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires21[o + 3]), T.push(this.offsetWires21[o - 5]), this.offsetArcWires2A = f(T), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires21[o + 4]), e.push(this.offsetWires21[o - 4]), this.offsetArcWires2A = f(e), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires21[o + 5]), c.push(this.offsetWires21[o - 3]), this.offsetArcWires2A = f(c), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), m.push(this.offsetWires21[o + 6]), m.push(this.offsetWires21[o - 2]), this.offsetArcWires2A = f(m), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A7" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), b.push(this.offsetWires21[o + 7]), b.push(this.offsetWires21[o - 1]), this.offsetArcWires2A = f(b), this.LineentityCollection2.add(h(this.offsetArcWires2A, "导线2_A8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2022
2099
  break;
2023
2100
  }
2024
2101
  }
2025
2102
  if (this.offsetWires22.length > 0 && s > 0) {
2026
- const t = [], l = [], u = [], e = [], c = [], B = [], m = [], b = [];
2103
+ const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [];
2027
2104
  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));
2105
+ case A.单分裂:
2106
+ t.push(this.offsetWires22[o]), t.push(this.offsetWires22[o - 1]), this.offsetArcWires2B = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2030
2107
  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));
2108
+ case A.双分裂:
2109
+ t.push(this.offsetWires22[o]), t.push(this.offsetWires22[o - 2]), this.offsetArcWires2B = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires22[o + 1]), l.push(this.offsetWires22[o - 1]), this.offsetArcWires2B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2033
2110
  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));
2111
+ case A.四分裂:
2112
+ t.push(this.offsetWires22[o]), t.push(this.offsetWires22[o - 4]), this.offsetArcWires2B = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires22[o + 1]), l.push(this.offsetWires22[o - 3]), this.offsetArcWires2B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires22[o + 2]), u.push(this.offsetWires22[o - 2]), this.offsetArcWires2B = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires22[o + 3]), T.push(this.offsetWires22[o - 1]), this.offsetArcWires2B = f(T), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2036
2113
  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));
2114
+ case A.六分裂:
2115
+ t.push(this.offsetWires22[o]), t.push(this.offsetWires22[o - 6]), this.offsetArcWires2B = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires22[o + 1]), l.push(this.offsetWires22[o - 5]), this.offsetArcWires2B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires22[o + 2]), u.push(this.offsetWires22[o - 4]), this.offsetArcWires2B = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires22[o + 3]), T.push(this.offsetWires22[o - 3]), this.offsetArcWires2B = f(T), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires22[o + 4]), e.push(this.offsetWires22[o - 2]), this.offsetArcWires2B = f(e), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires22[o + 5]), c.push(this.offsetWires22[o - 1]), this.offsetArcWires2B = f(c), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2039
2116
  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));
2117
+ case A.八分裂:
2118
+ t.push(this.offsetWires22[o]), t.push(this.offsetWires22[o - 8]), this.offsetArcWires2B = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires22[o + 1]), l.push(this.offsetWires22[o - 7]), this.offsetArcWires2B = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires22[o + 2]), u.push(this.offsetWires22[o - 6]), this.offsetArcWires2B = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires22[o + 3]), T.push(this.offsetWires22[o - 5]), this.offsetArcWires2B = f(T), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires22[o + 4]), e.push(this.offsetWires22[o - 4]), this.offsetArcWires2B = f(e), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires22[o + 5]), c.push(this.offsetWires22[o - 3]), this.offsetArcWires2B = f(c), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), m.push(this.offsetWires22[o + 6]), m.push(this.offsetWires22[o - 2]), this.offsetArcWires2B = f(m), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B7" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), b.push(this.offsetWires22[o + 7]), b.push(this.offsetWires22[o - 1]), this.offsetArcWires2B = f(b), this.LineentityCollection2.add(h(this.offsetArcWires2B, "导线2_B8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2042
2119
  break;
2043
2120
  }
2044
2121
  }
2045
2122
  if (this.offsetWires23.length > 0 && s > 0) {
2046
- const t = [], l = [], u = [], e = [], c = [], B = [], m = [], b = [];
2123
+ const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [];
2047
2124
  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));
2125
+ case A.单分裂:
2126
+ t.push(this.offsetWires23[o]), t.push(this.offsetWires23[o - 1]), this.offsetArcWires2C = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2050
2127
  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));
2128
+ case A.双分裂:
2129
+ t.push(this.offsetWires23[o]), t.push(this.offsetWires23[o - 2]), this.offsetArcWires2C = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires23[o + 1]), l.push(this.offsetWires23[o - 1]), this.offsetArcWires2C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2053
2130
  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));
2131
+ case A.四分裂:
2132
+ t.push(this.offsetWires23[o]), t.push(this.offsetWires23[o - 4]), this.offsetArcWires2C = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires23[o + 1]), l.push(this.offsetWires23[o - 3]), this.offsetArcWires2C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires23[o + 2]), u.push(this.offsetWires23[o - 2]), this.offsetArcWires2C = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires23[o + 3]), T.push(this.offsetWires23[o - 1]), this.offsetArcWires2C = f(T), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2056
2133
  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));
2134
+ case A.六分裂:
2135
+ t.push(this.offsetWires23[o]), t.push(this.offsetWires23[o - 6]), this.offsetArcWires2C = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires23[o + 1]), l.push(this.offsetWires23[o - 5]), this.offsetArcWires2C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires23[o + 2]), u.push(this.offsetWires23[o - 4]), this.offsetArcWires2C = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires23[o + 3]), T.push(this.offsetWires23[o - 3]), this.offsetArcWires2C = f(T), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires23[o + 4]), e.push(this.offsetWires23[o - 2]), this.offsetArcWires2C = f(e), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires23[o + 5]), c.push(this.offsetWires23[o - 1]), this.offsetArcWires2C = f(c), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2059
2136
  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));
2137
+ case A.八分裂:
2138
+ t.push(this.offsetWires23[o]), t.push(this.offsetWires23[o - 8]), this.offsetArcWires2C = f(t), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C1" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), l.push(this.offsetWires23[o + 1]), l.push(this.offsetWires23[o - 7]), this.offsetArcWires2C = f(l), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C2" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), u.push(this.offsetWires23[o + 2]), u.push(this.offsetWires23[o - 6]), this.offsetArcWires2C = f(u), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C3" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), T.push(this.offsetWires23[o + 3]), T.push(this.offsetWires23[o - 5]), this.offsetArcWires2C = f(T), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C4" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), e.push(this.offsetWires23[o + 4]), e.push(this.offsetWires23[o - 4]), this.offsetArcWires2C = f(e), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C5" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), c.push(this.offsetWires23[o + 5]), c.push(this.offsetWires23[o - 3]), this.offsetArcWires2C = f(c), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C6" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), m.push(this.offsetWires23[o + 6]), m.push(this.offsetWires23[o - 2]), this.offsetArcWires2C = f(m), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C7" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor)), b.push(this.offsetWires23[o + 7]), b.push(this.offsetWires23[o - 1]), this.offsetArcWires2C = f(b), this.LineentityCollection2.add(h(this.offsetArcWires2C, "导线2_C8" + (s - 2) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireAColor));
2062
2139
  break;
2063
2140
  }
2064
2141
  }
@@ -2066,164 +2143,164 @@ class ai {
2066
2143
  const t = [];
2067
2144
  t.push(this.offsetGrouundWires11[s]), t.push(this.offsetGrouundWires11[s - 1]);
2068
2145
  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));
2146
+ l.push(this.offsetGrouundWires12[s]), l.push(this.offsetGrouundWires12[s - 1]), this.offsetGrouundWires1 = f(t, 2), this.offsetGrouundWires2 = f(l, 2), this.offsetGrouundWires1.forEach((u) => {
2147
+ this.arcLine1D1.push($(this.viewer.scene.globe.ellipsoid, u));
2148
+ }), 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
2149
  }
2073
2150
  let d = 2;
2074
2151
  if (this.LineInfo.towers[s].type == q.耐张塔) {
2075
2152
  switch (this.LineInfo.Wairnum) {
2076
- case T.单分裂:
2153
+ case A.单分裂:
2077
2154
  o = o + d, i = i + d;
2078
2155
  break;
2079
- case T.双分裂:
2156
+ case A.双分裂:
2080
2157
  o = o + d * 2, i = i + d * 2;
2081
2158
  break;
2082
- case T.四分裂:
2159
+ case A.四分裂:
2083
2160
  o = o + d * 4, i = i + d * 4;
2084
2161
  break;
2085
- case T.六分裂:
2162
+ case A.六分裂:
2086
2163
  o = o + d * 6, i = i + d * 6;
2087
2164
  break;
2088
- case T.八分裂:
2165
+ case A.八分裂:
2089
2166
  o = o + d * 8, i = i + d * 8;
2090
2167
  break;
2091
2168
  }
2092
2169
  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 = [];
2170
+ const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], _ = [], v = [], k = [], M = [];
2094
2171
  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)));
2172
+ case A.单分裂:
2173
+ this.ToffsetWires1A1.length >= 2 && (t.push(this.ToffsetWires1A1[i - 2]), t.push(this.ToffsetWires1A1[i - 1]), this.ToffsetArcWires1A = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 2 && (I.push(this.ToffsetWires1A2[i - 2]), I.push(this.ToffsetWires1A2[i - 1]), this.ToffsetArcWires2A = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2097
2174
  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)));
2175
+ case A.双分裂:
2176
+ this.ToffsetWires1A1.length >= 4 && (t.push(this.ToffsetWires1A1[i - 4]), t.push(this.ToffsetWires1A1[i - 2]), this.ToffsetArcWires1A = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1A1[i - 3]), l.push(this.ToffsetWires1A1[i - 1]), this.ToffsetArcWires1A = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 4 && (I.push(this.ToffsetWires1A2[i - 4]), I.push(this.ToffsetWires1A2[i - 2]), this.ToffsetArcWires2A = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1A2[i - 3]), P.push(this.ToffsetWires1A2[i - 1]), this.ToffsetArcWires2A = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2100
2177
  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)));
2178
+ case A.四分裂:
2179
+ this.ToffsetWires1A1.length >= 8 && (t.push(this.ToffsetWires1A1[i - 8]), t.push(this.ToffsetWires1A1[i - 4]), this.ToffsetArcWires1A = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1A1[i - 7]), l.push(this.ToffsetWires1A1[i - 3]), this.ToffsetArcWires1A = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1A1[i - 6]), u.push(this.ToffsetWires1A1[i - 2]), this.ToffsetArcWires1A = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1A1[i - 5]), T.push(this.ToffsetWires1A1[i - 1]), this.ToffsetArcWires1A = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 8 && (I.push(this.ToffsetWires1A2[i - 8]), I.push(this.ToffsetWires1A2[i - 4]), this.ToffsetArcWires2A = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1A2[i - 7]), P.push(this.ToffsetWires1A2[i - 3]), this.ToffsetArcWires2A = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1A2[i - 6]), g.push(this.ToffsetWires1A2[i - 2]), this.ToffsetArcWires2A = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1A2[i - 5]), y.push(this.ToffsetWires1A2[i - 1]), this.ToffsetArcWires2A = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2103
2180
  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)));
2181
+ case A.六分裂:
2182
+ this.ToffsetWires1A1.length >= 12 && (t.push(this.ToffsetWires1A1[i - 12]), t.push(this.ToffsetWires1A1[i - 6]), this.ToffsetArcWires1A = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1A1[i - 11]), l.push(this.ToffsetWires1A1[i - 5]), this.ToffsetArcWires1A = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1A1[i - 10]), u.push(this.ToffsetWires1A1[i - 4]), this.ToffsetArcWires1A = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1A1[i - 9]), T.push(this.ToffsetWires1A1[i - 3]), this.ToffsetArcWires1A = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires1A1[i - 8]), e.push(this.ToffsetWires1A1[i - 2]), this.ToffsetArcWires1A = f(e, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1A1[i - 7]), c.push(this.ToffsetWires1A1[i - 1]), this.ToffsetArcWires1A = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 12 && (I.push(this.ToffsetWires1A2[i - 12]), I.push(this.ToffsetWires1A2[i - 6]), this.ToffsetArcWires2A = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1A2[i - 11]), P.push(this.ToffsetWires1A2[i - 5]), this.ToffsetArcWires2A = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1A2[i - 10]), g.push(this.ToffsetWires1A2[i - 4]), this.ToffsetArcWires2A = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1A2[i - 9]), y.push(this.ToffsetWires1A2[i - 3]), this.ToffsetArcWires2A = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1A2[i - 8]), _.push(this.ToffsetWires1A2[i - 2]), this.ToffsetArcWires2A = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1A2[i - 7]), v.push(this.ToffsetWires1A2[i - 1]), this.ToffsetArcWires2A = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2106
2183
  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)));
2184
+ case A.八分裂:
2185
+ this.ToffsetWires1A1.length >= 16 && (t.push(this.ToffsetWires1A1[i - 16]), t.push(this.ToffsetWires1A1[i - 8]), this.ToffsetArcWires1A = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1A1[i - 15]), l.push(this.ToffsetWires1A1[i - 7]), this.ToffsetArcWires1A = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1A1[i - 14]), u.push(this.ToffsetWires1A1[i - 6]), this.ToffsetArcWires1A = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1A1[i - 13]), T.push(this.ToffsetWires1A1[i - 5]), this.ToffsetArcWires1A = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires1A1[i - 12]), e.push(this.ToffsetWires1A1[i - 4]), this.ToffsetArcWires1A = f(e, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1A1[i - 11]), c.push(this.ToffsetWires1A1[i - 3]), this.ToffsetArcWires1A = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires1A1[i - 10]), m.push(this.ToffsetWires1A1[i - 2]), this.ToffsetArcWires1A = f(m, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires1A1[i - 9]), b.push(this.ToffsetWires1A1[i - 1]), this.ToffsetArcWires1A = f(b, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A, "1A1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1A2.length >= 16 && (I.push(this.ToffsetWires1A2[i - 16]), I.push(this.ToffsetWires1A2[i - 8]), this.ToffsetArcWires2A = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1A2[i - 15]), P.push(this.ToffsetWires1A2[i - 7]), this.ToffsetArcWires2A = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1A2[i - 14]), g.push(this.ToffsetWires1A2[i - 6]), this.ToffsetArcWires2A = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1A2[i - 13]), y.push(this.ToffsetWires1A2[i - 5]), this.ToffsetArcWires2A = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1A2[i - 12]), _.push(this.ToffsetWires1A2[i - 4]), this.ToffsetArcWires2A = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1A2[i - 11]), v.push(this.ToffsetWires1A2[i - 3]), this.ToffsetArcWires2A = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), k.push(this.ToffsetWires1A2[i - 10]), k.push(this.ToffsetWires1A2[i - 2]), this.ToffsetArcWires2A = f(k, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires1A2[i - 9]), M.push(this.ToffsetWires1A2[i - 1]), this.ToffsetArcWires2A = f(M, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A, "1A2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2109
2186
  break;
2110
2187
  }
2111
2188
  }
2112
2189
  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 = [];
2190
+ const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], _ = [], v = [], k = [], M = [];
2114
2191
  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)));
2192
+ case A.单分裂:
2193
+ this.ToffsetWires1B1.length >= 2 && (t.push(this.ToffsetWires1B1[i - 2]), t.push(this.ToffsetWires1B1[i - 1]), this.ToffsetArcWires1B = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 2 && (I.push(this.ToffsetWires1B2[i - 2]), I.push(this.ToffsetWires1B2[i - 1]), this.ToffsetArcWires2B = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2117
2194
  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)));
2195
+ case A.双分裂:
2196
+ this.ToffsetWires1B1.length >= 4 && (t.push(this.ToffsetWires1B1[i - 4]), t.push(this.ToffsetWires1B1[i - 2]), this.ToffsetArcWires1B = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1B1[i - 3]), l.push(this.ToffsetWires1B1[i - 1]), this.ToffsetArcWires1B = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 4 && (I.push(this.ToffsetWires1B2[i - 4]), I.push(this.ToffsetWires1B2[i - 2]), this.ToffsetArcWires2B = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1B2[i - 3]), P.push(this.ToffsetWires1B2[i - 1]), this.ToffsetArcWires2B = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2120
2197
  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)));
2198
+ case A.四分裂:
2199
+ this.ToffsetWires1B1.length >= 8 && (t.push(this.ToffsetWires1B1[i - 8]), t.push(this.ToffsetWires1B1[i - 4]), this.ToffsetArcWires1B = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1B1[i - 7]), l.push(this.ToffsetWires1B1[i - 3]), this.ToffsetArcWires1B = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1B1[i - 6]), u.push(this.ToffsetWires1B1[i - 2]), this.ToffsetArcWires1B = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1B1[i - 5]), T.push(this.ToffsetWires1B1[i - 1]), this.ToffsetArcWires1B = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 8 && (I.push(this.ToffsetWires1B2[i - 8]), I.push(this.ToffsetWires1B2[i - 4]), this.ToffsetArcWires2B = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1B2[i - 7]), P.push(this.ToffsetWires1B2[i - 3]), this.ToffsetArcWires2B = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1B2[i - 6]), g.push(this.ToffsetWires1B2[i - 2]), this.ToffsetArcWires2B = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1B2[i - 5]), y.push(this.ToffsetWires1B2[i - 1]), this.ToffsetArcWires2B = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2123
2200
  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)));
2201
+ case A.六分裂:
2202
+ this.ToffsetWires1B1.length >= 12 && (t.push(this.ToffsetWires1B1[i - 12]), t.push(this.ToffsetWires1B1[i - 6]), this.ToffsetArcWires1B = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1B1[i - 11]), l.push(this.ToffsetWires1B1[i - 5]), this.ToffsetArcWires1B = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1B1[i - 10]), u.push(this.ToffsetWires1B1[i - 4]), this.ToffsetArcWires1B = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1B1[i - 9]), T.push(this.ToffsetWires1B1[i - 3]), this.ToffsetArcWires1B = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires1B1[i - 8]), e.push(this.ToffsetWires1B1[i - 2]), this.ToffsetArcWires1B = f(e, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1B1[i - 7]), c.push(this.ToffsetWires1B1[i - 1]), this.ToffsetArcWires1B = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 12 && (I.push(this.ToffsetWires1B2[i - 12]), I.push(this.ToffsetWires1B2[i - 6]), this.ToffsetArcWires2B = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1B2[i - 11]), P.push(this.ToffsetWires1B2[i - 5]), this.ToffsetArcWires2B = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1B2[i - 10]), g.push(this.ToffsetWires1B2[i - 4]), this.ToffsetArcWires2B = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1B2[i - 9]), y.push(this.ToffsetWires1B2[i - 3]), this.ToffsetArcWires2B = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1B2[i - 8]), _.push(this.ToffsetWires1B2[i - 2]), this.ToffsetArcWires2B = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1B2[i - 7]), v.push(this.ToffsetWires1B2[i - 1]), this.ToffsetArcWires2B = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2126
2203
  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)));
2204
+ case A.八分裂:
2205
+ this.ToffsetWires1B1.length >= 16 && (t.push(this.ToffsetWires1B1[i - 16]), t.push(this.ToffsetWires1B1[i - 8]), this.ToffsetArcWires1B = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1B1[i - 15]), l.push(this.ToffsetWires1B1[i - 7]), this.ToffsetArcWires1B = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1B1[i - 14]), u.push(this.ToffsetWires1B1[i - 6]), this.ToffsetArcWires1B = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1B1[i - 13]), T.push(this.ToffsetWires1B1[i - 5]), this.ToffsetArcWires1B = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires1B1[i - 12]), e.push(this.ToffsetWires1B1[i - 4]), this.ToffsetArcWires1B = f(e, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1B1[i - 11]), c.push(this.ToffsetWires1B1[i - 3]), this.ToffsetArcWires1B = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires1B1[i - 10]), m.push(this.ToffsetWires1B1[i - 2]), this.ToffsetArcWires1B = f(m, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires1B1[i - 9]), b.push(this.ToffsetWires1B1[i - 1]), this.ToffsetArcWires1B = f(b, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B, "1B1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1B2.length >= 16 && (I.push(this.ToffsetWires1B2[i - 16]), I.push(this.ToffsetWires1B2[i - 8]), this.ToffsetArcWires2B = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1B2[i - 15]), P.push(this.ToffsetWires1B2[i - 7]), this.ToffsetArcWires2B = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1B2[i - 14]), g.push(this.ToffsetWires1B2[i - 6]), this.ToffsetArcWires2B = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1B2[i - 13]), y.push(this.ToffsetWires1B2[i - 5]), this.ToffsetArcWires2B = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1B2[i - 12]), _.push(this.ToffsetWires1B2[i - 4]), this.ToffsetArcWires2B = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1B2[i - 11]), v.push(this.ToffsetWires1B2[i - 3]), this.ToffsetArcWires2B = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), k.push(this.ToffsetWires1B2[i - 10]), k.push(this.ToffsetWires1B2[i - 2]), this.ToffsetArcWires2B = f(k, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires1B2[i - 9]), M.push(this.ToffsetWires1B2[i - 1]), this.ToffsetArcWires2B = f(M, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B, "1B2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2129
2206
  break;
2130
2207
  }
2131
2208
  }
2132
2209
  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 = [];
2210
+ const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], _ = [], v = [], k = [], M = [];
2134
2211
  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)));
2212
+ case A.单分裂:
2213
+ this.ToffsetWires1C1.length >= 2 && (t.push(this.ToffsetWires1C1[i - 2]), t.push(this.ToffsetWires1C1[i - 1]), this.ToffsetArcWires1C = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 2 && (I.push(this.ToffsetWires1C2[i - 2]), I.push(this.ToffsetWires1C2[i - 1]), this.ToffsetArcWires2C = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2137
2214
  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)));
2215
+ case A.双分裂:
2216
+ this.ToffsetWires1C1.length >= 4 && (t.push(this.ToffsetWires1C1[i - 4]), t.push(this.ToffsetWires1C1[i - 2]), this.ToffsetArcWires1C = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1C1[i - 3]), l.push(this.ToffsetWires1C1[i - 1]), this.ToffsetArcWires1C = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 4 && (I.push(this.ToffsetWires1C2[i - 4]), I.push(this.ToffsetWires1C2[i - 2]), this.ToffsetArcWires2C = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1C2[i - 3]), P.push(this.ToffsetWires1C2[i - 1]), this.ToffsetArcWires2C = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2140
2217
  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)));
2218
+ case A.四分裂:
2219
+ this.ToffsetWires1C1.length >= 8 && (t.push(this.ToffsetWires1C1[i - 8]), t.push(this.ToffsetWires1C1[i - 4]), this.ToffsetArcWires1C = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1C1[i - 7]), l.push(this.ToffsetWires1C1[i - 3]), this.ToffsetArcWires1C = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1C1[i - 6]), u.push(this.ToffsetWires1C1[i - 2]), this.ToffsetArcWires1C = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1C1[i - 5]), T.push(this.ToffsetWires1C1[i - 1]), this.ToffsetArcWires1C = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 8 && (I.push(this.ToffsetWires1C2[i - 8]), I.push(this.ToffsetWires1C2[i - 4]), this.ToffsetArcWires2C = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1C2[i - 7]), P.push(this.ToffsetWires1C2[i - 3]), this.ToffsetArcWires2C = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1C2[i - 6]), g.push(this.ToffsetWires1C2[i - 2]), this.ToffsetArcWires2C = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1C2[i - 5]), y.push(this.ToffsetWires1C2[i - 1]), this.ToffsetArcWires2C = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2143
2220
  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)));
2221
+ case A.六分裂:
2222
+ this.ToffsetWires1C1.length >= 12 && (t.push(this.ToffsetWires1C1[i - 12]), t.push(this.ToffsetWires1C1[i - 6]), this.ToffsetArcWires1C = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1C1[i - 11]), l.push(this.ToffsetWires1C1[i - 5]), this.ToffsetArcWires1C = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1C1[i - 10]), u.push(this.ToffsetWires1C1[i - 4]), this.ToffsetArcWires1C = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1C1[i - 9]), T.push(this.ToffsetWires1C1[i - 3]), this.ToffsetArcWires1C = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires1C1[i - 8]), e.push(this.ToffsetWires1C1[i - 2]), this.ToffsetArcWires1C = f(e, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1C1[i - 7]), c.push(this.ToffsetWires1C1[i - 1]), this.ToffsetArcWires1C = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 12 && (I.push(this.ToffsetWires1C2[i - 12]), I.push(this.ToffsetWires1C2[i - 6]), this.ToffsetArcWires2C = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1C2[i - 11]), P.push(this.ToffsetWires1C2[i - 5]), this.ToffsetArcWires2C = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1C2[i - 10]), g.push(this.ToffsetWires1C2[i - 4]), this.ToffsetArcWires2C = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1C2[i - 9]), y.push(this.ToffsetWires1C2[i - 3]), this.ToffsetArcWires2C = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1C2[i - 8]), _.push(this.ToffsetWires1C2[i - 2]), this.ToffsetArcWires2C = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1C2[i - 7]), v.push(this.ToffsetWires1C2[i - 1]), this.ToffsetArcWires2C = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2146
2223
  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)));
2224
+ case A.八分裂:
2225
+ this.ToffsetWires1C1.length >= 16 && (t.push(this.ToffsetWires1C1[i - 16]), t.push(this.ToffsetWires1C1[i - 8]), this.ToffsetArcWires1C = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires1C1[i - 15]), l.push(this.ToffsetWires1C1[i - 7]), this.ToffsetArcWires1C = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires1C1[i - 14]), u.push(this.ToffsetWires1C1[i - 6]), this.ToffsetArcWires1C = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires1C1[i - 13]), T.push(this.ToffsetWires1C1[i - 5]), this.ToffsetArcWires1C = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires1C1[i - 12]), e.push(this.ToffsetWires1C1[i - 4]), this.ToffsetArcWires1C = f(e, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires1C1[i - 11]), c.push(this.ToffsetWires1C1[i - 3]), this.ToffsetArcWires1C = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires1C1[i - 10]), m.push(this.ToffsetWires1C1[i - 2]), this.ToffsetArcWires1C = f(m, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires1C1[i - 9]), b.push(this.ToffsetWires1C1[i - 1]), this.ToffsetArcWires1C = f(b, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C, "1C1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires1C2.length >= 16 && (I.push(this.ToffsetWires1C2[i - 16]), I.push(this.ToffsetWires1C2[i - 8]), this.ToffsetArcWires2C = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires1C2[i - 15]), P.push(this.ToffsetWires1C2[i - 7]), this.ToffsetArcWires2C = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires1C2[i - 14]), g.push(this.ToffsetWires1C2[i - 6]), this.ToffsetArcWires2C = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires1C2[i - 13]), y.push(this.ToffsetWires1C2[i - 5]), this.ToffsetArcWires2C = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires1C2[i - 12]), _.push(this.ToffsetWires1C2[i - 4]), this.ToffsetArcWires2C = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires1C2[i - 11]), v.push(this.ToffsetWires1C2[i - 3]), this.ToffsetArcWires2C = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), k.push(this.ToffsetWires1C2[i - 10]), k.push(this.ToffsetWires1C2[i - 2]), this.ToffsetArcWires2C = f(k, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires1C2[i - 9]), M.push(this.ToffsetWires1C2[i - 1]), this.ToffsetArcWires2C = f(M, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C, "1C2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2149
2226
  break;
2150
2227
  }
2151
2228
  }
2152
2229
  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 = [];
2230
+ const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], _ = [], v = [], k = [], M = [];
2154
2231
  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)));
2232
+ case A.单分裂:
2233
+ this.ToffsetWires2A1.length >= 2 && (t.push(this.ToffsetWires2A1[i - 2]), t.push(this.ToffsetWires2A1[i - 1]), this.ToffsetArcWires1A2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 2 && (I.push(this.ToffsetWires2A2[i - 2]), I.push(this.ToffsetWires2A2[i - 1]), this.ToffsetArcWires2A2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2157
2234
  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)));
2235
+ case A.双分裂:
2236
+ this.ToffsetWires2A1.length >= 4 && (t.push(this.ToffsetWires2A1[i - 4]), t.push(this.ToffsetWires2A1[i - 2]), this.ToffsetArcWires1A2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2A1[i - 3]), l.push(this.ToffsetWires2A1[i - 1]), this.ToffsetArcWires1A2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 4 && (I.push(this.ToffsetWires2A2[i - 4]), I.push(this.ToffsetWires2A2[i - 2]), this.ToffsetArcWires2A2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2A2[i - 3]), P.push(this.ToffsetWires2A2[i - 1]), this.ToffsetArcWires2A2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2160
2237
  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)));
2238
+ case A.四分裂:
2239
+ this.ToffsetWires2A1.length >= 8 && (t.push(this.ToffsetWires2A1[i - 8]), t.push(this.ToffsetWires2A1[i - 4]), this.ToffsetArcWires1A2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2A1[i - 7]), l.push(this.ToffsetWires2A1[i - 3]), this.ToffsetArcWires1A2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2A1[i - 6]), u.push(this.ToffsetWires2A1[i - 2]), this.ToffsetArcWires1A2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2A1[i - 5]), T.push(this.ToffsetWires2A1[i - 1]), this.ToffsetArcWires1A2 = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 8 && (I.push(this.ToffsetWires2A2[i - 8]), I.push(this.ToffsetWires2A2[i - 4]), this.ToffsetArcWires2A2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2A2[i - 7]), P.push(this.ToffsetWires2A2[i - 3]), this.ToffsetArcWires2A2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2A2[i - 6]), g.push(this.ToffsetWires2A2[i - 2]), this.ToffsetArcWires2A2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2A2[i - 5]), y.push(this.ToffsetWires2A2[i - 1]), this.ToffsetArcWires2A2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2163
2240
  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)));
2241
+ case A.六分裂:
2242
+ this.ToffsetWires2A1.length >= 12 && (t.push(this.ToffsetWires2A1[i - 12]), t.push(this.ToffsetWires2A1[i - 6]), this.ToffsetArcWires1A2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2A1[i - 11]), l.push(this.ToffsetWires2A1[i - 5]), this.ToffsetArcWires1A2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2A1[i - 10]), u.push(this.ToffsetWires2A1[i - 4]), this.ToffsetArcWires1A2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2A1[i - 9]), T.push(this.ToffsetWires2A1[i - 3]), this.ToffsetArcWires1A2 = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires2A1[i - 8]), e.push(this.ToffsetWires2A1[i - 2]), this.ToffsetArcWires1A2 = f(e, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2A1[i - 7]), c.push(this.ToffsetWires2A1[i - 1]), this.ToffsetArcWires1A2 = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 12 && (I.push(this.ToffsetWires2A2[i - 12]), I.push(this.ToffsetWires2A2[i - 6]), this.ToffsetArcWires2A2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2A2[i - 11]), P.push(this.ToffsetWires2A2[i - 5]), this.ToffsetArcWires2A2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2A2[i - 10]), g.push(this.ToffsetWires2A2[i - 4]), this.ToffsetArcWires2A2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2A2[i - 9]), y.push(this.ToffsetWires2A2[i - 3]), this.ToffsetArcWires2A2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2A2[i - 8]), _.push(this.ToffsetWires2A2[i - 2]), this.ToffsetArcWires2A2 = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2A2[i - 7]), v.push(this.ToffsetWires2A2[i - 1]), this.ToffsetArcWires2A2 = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2166
2243
  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)));
2244
+ case A.八分裂:
2245
+ this.ToffsetWires2A1.length >= 16 && (t.push(this.ToffsetWires2A1[i - 16]), t.push(this.ToffsetWires2A1[i - 8]), this.ToffsetArcWires1A2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2A1[i - 15]), l.push(this.ToffsetWires2A1[i - 7]), this.ToffsetArcWires1A2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2A1[i - 14]), u.push(this.ToffsetWires2A1[i - 6]), this.ToffsetArcWires1A2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2A1[i - 13]), T.push(this.ToffsetWires2A1[i - 5]), this.ToffsetArcWires1A2 = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires2A1[i - 12]), e.push(this.ToffsetWires2A1[i - 4]), this.ToffsetArcWires1A2 = f(e, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2A1[i - 11]), c.push(this.ToffsetWires2A1[i - 3]), this.ToffsetArcWires1A2 = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires2A1[i - 10]), m.push(this.ToffsetWires2A1[i - 2]), this.ToffsetArcWires1A2 = f(m, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires2A1[i - 9]), b.push(this.ToffsetWires2A1[i - 1]), this.ToffsetArcWires1A2 = f(b, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1A2, "2A1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2A2.length >= 16 && (I.push(this.ToffsetWires2A2[i - 16]), I.push(this.ToffsetWires2A2[i - 8]), this.ToffsetArcWires2A2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2A2[i - 15]), P.push(this.ToffsetWires2A2[i - 7]), this.ToffsetArcWires2A2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2A2[i - 14]), g.push(this.ToffsetWires2A2[i - 6]), this.ToffsetArcWires2A2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2A2[i - 13]), y.push(this.ToffsetWires2A2[i - 5]), this.ToffsetArcWires2A2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2A2[i - 12]), _.push(this.ToffsetWires2A2[i - 4]), this.ToffsetArcWires2A2 = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2A2[i - 11]), v.push(this.ToffsetWires2A2[i - 3]), this.ToffsetArcWires2A2 = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), k.push(this.ToffsetWires2A2[i - 10]), k.push(this.ToffsetWires2A2[i - 2]), this.ToffsetArcWires2A2 = f(k, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires2A2[i - 9]), M.push(this.ToffsetWires2A2[i - 1]), this.ToffsetArcWires2A2 = f(M, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2A2, "2A2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2169
2246
  break;
2170
2247
  }
2171
2248
  }
2172
2249
  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 = [];
2250
+ const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], _ = [], v = [], k = [], M = [];
2174
2251
  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)));
2252
+ case A.单分裂:
2253
+ this.ToffsetWires2B1.length >= 2 && (t.push(this.ToffsetWires2B1[i - 2]), t.push(this.ToffsetWires2B1[i - 1]), this.ToffsetArcWires1B2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 2 && (I.push(this.ToffsetWires2B2[i - 2]), I.push(this.ToffsetWires2B2[i - 1]), this.ToffsetArcWires2B2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2177
2254
  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)));
2255
+ case A.双分裂:
2256
+ this.ToffsetWires2B1.length >= 4 && (t.push(this.ToffsetWires2B1[i - 4]), t.push(this.ToffsetWires2B1[i - 2]), this.ToffsetArcWires1B2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2B1[i - 3]), l.push(this.ToffsetWires2B1[i - 1]), this.ToffsetArcWires1B2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 4 && (I.push(this.ToffsetWires2B2[i - 4]), I.push(this.ToffsetWires2B2[i - 2]), this.ToffsetArcWires2B2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2B2[i - 3]), P.push(this.ToffsetWires2B2[i - 1]), this.ToffsetArcWires2B2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2180
2257
  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)));
2258
+ case A.四分裂:
2259
+ this.ToffsetWires2B1.length >= 8 && (t.push(this.ToffsetWires2B1[i - 8]), t.push(this.ToffsetWires2B1[i - 4]), this.ToffsetArcWires1B2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2B1[i - 7]), l.push(this.ToffsetWires2B1[i - 3]), this.ToffsetArcWires1B2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2B1[i - 6]), u.push(this.ToffsetWires2B1[i - 2]), this.ToffsetArcWires1B2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2B1[i - 5]), T.push(this.ToffsetWires2B1[i - 1]), this.ToffsetArcWires1B2 = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 8 && (I.push(this.ToffsetWires2B2[i - 8]), I.push(this.ToffsetWires2B2[i - 4]), this.ToffsetArcWires2B2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2B2[i - 7]), P.push(this.ToffsetWires2B2[i - 3]), this.ToffsetArcWires2B2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2B2[i - 6]), g.push(this.ToffsetWires2B2[i - 2]), this.ToffsetArcWires2B2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2B2[i - 5]), y.push(this.ToffsetWires2B2[i - 1]), this.ToffsetArcWires2B2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2183
2260
  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)));
2261
+ case A.六分裂:
2262
+ this.ToffsetWires2B1.length >= 12 && (t.push(this.ToffsetWires2B1[i - 12]), t.push(this.ToffsetWires2B1[i - 6]), this.ToffsetArcWires1B2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2B1[i - 11]), l.push(this.ToffsetWires2B1[i - 5]), this.ToffsetArcWires1B2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2B1[i - 10]), u.push(this.ToffsetWires2B1[i - 4]), this.ToffsetArcWires1B2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2B1[i - 9]), T.push(this.ToffsetWires2B1[i - 3]), this.ToffsetArcWires1B2 = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires2B1[i - 8]), e.push(this.ToffsetWires2B1[i - 2]), this.ToffsetArcWires1B2 = f(e, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2B1[i - 7]), c.push(this.ToffsetWires2B1[i - 1]), this.ToffsetArcWires1B2 = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 12 && (I.push(this.ToffsetWires2B2[i - 12]), I.push(this.ToffsetWires2B2[i - 6]), this.ToffsetArcWires2B2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2B2[i - 11]), P.push(this.ToffsetWires2B2[i - 5]), this.ToffsetArcWires2B2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2B2[i - 10]), g.push(this.ToffsetWires2B2[i - 4]), this.ToffsetArcWires2B2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2B2[i - 9]), y.push(this.ToffsetWires2B2[i - 3]), this.ToffsetArcWires2B2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2B2[i - 8]), _.push(this.ToffsetWires2B2[i - 2]), this.ToffsetArcWires2B2 = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2B2[i - 7]), v.push(this.ToffsetWires2B2[i - 1]), this.ToffsetArcWires2B2 = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2186
2263
  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)));
2264
+ case A.八分裂:
2265
+ this.ToffsetWires2B1.length >= 16 && (t.push(this.ToffsetWires2B1[i - 16]), t.push(this.ToffsetWires2B1[i - 8]), this.ToffsetArcWires1B2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2B1[i - 15]), l.push(this.ToffsetWires2B1[i - 7]), this.ToffsetArcWires1B2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2B1[i - 14]), u.push(this.ToffsetWires2B1[i - 6]), this.ToffsetArcWires1B2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2B1[i - 13]), T.push(this.ToffsetWires2B1[i - 5]), this.ToffsetArcWires1B2 = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires2B1[i - 12]), e.push(this.ToffsetWires2B1[i - 4]), this.ToffsetArcWires1B2 = f(e, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2B1[i - 11]), c.push(this.ToffsetWires2B1[i - 3]), this.ToffsetArcWires1B2 = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires2B1[i - 10]), m.push(this.ToffsetWires2B1[i - 2]), this.ToffsetArcWires1B2 = f(m, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires2B1[i - 9]), b.push(this.ToffsetWires2B1[i - 1]), this.ToffsetArcWires1B2 = f(b, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1B2, "2B1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2B2.length >= 16 && (I.push(this.ToffsetWires2B2[i - 16]), I.push(this.ToffsetWires2B2[i - 8]), this.ToffsetArcWires2B2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2B2[i - 15]), P.push(this.ToffsetWires2B2[i - 7]), this.ToffsetArcWires2B2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2B2[i - 14]), g.push(this.ToffsetWires2B2[i - 6]), this.ToffsetArcWires2B2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2B2[i - 13]), y.push(this.ToffsetWires2B2[i - 5]), this.ToffsetArcWires2B2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2B2[i - 12]), _.push(this.ToffsetWires2B2[i - 4]), this.ToffsetArcWires2B2 = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2B2[i - 11]), v.push(this.ToffsetWires2B2[i - 3]), this.ToffsetArcWires2B2 = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), k.push(this.ToffsetWires2B2[i - 10]), k.push(this.ToffsetWires2B2[i - 2]), this.ToffsetArcWires2B2 = f(k, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires2B2[i - 9]), M.push(this.ToffsetWires2B2[i - 1]), this.ToffsetArcWires2B2 = f(M, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2B2, "2B2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2189
2266
  break;
2190
2267
  }
2191
2268
  }
2192
2269
  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 = [];
2270
+ const t = [], l = [], u = [], T = [], e = [], c = [], m = [], b = [], I = [], P = [], g = [], y = [], _ = [], v = [], k = [], M = [];
2194
2271
  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)));
2272
+ case A.单分裂:
2273
+ this.ToffsetWires2C1.length >= 2 && (t.push(this.ToffsetWires2C1[i - 2]), t.push(this.ToffsetWires2C1[i - 1]), this.ToffsetArcWires1C2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 2 && (I.push(this.ToffsetWires2C2[i - 2]), I.push(this.ToffsetWires2C2[i - 1]), this.ToffsetArcWires2C2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2197
2274
  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)));
2275
+ case A.双分裂:
2276
+ this.ToffsetWires2C1.length >= 4 && (t.push(this.ToffsetWires2C1[i - 4]), t.push(this.ToffsetWires2C1[i - 2]), this.ToffsetArcWires1C2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2C1[i - 3]), l.push(this.ToffsetWires2C1[i - 1]), this.ToffsetArcWires1C2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 4 && (I.push(this.ToffsetWires2C2[i - 4]), I.push(this.ToffsetWires2C2[i - 2]), this.ToffsetArcWires2C2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2C2[i - 3]), P.push(this.ToffsetWires2C2[i - 1]), this.ToffsetArcWires2C2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2200
2277
  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)));
2278
+ case A.四分裂:
2279
+ this.ToffsetWires2C1.length >= 8 && (t.push(this.ToffsetWires2C1[i - 8]), t.push(this.ToffsetWires2C1[i - 4]), this.ToffsetArcWires1C2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2C1[i - 7]), l.push(this.ToffsetWires2C1[i - 3]), this.ToffsetArcWires1C2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2C1[i - 6]), u.push(this.ToffsetWires2C1[i - 2]), this.ToffsetArcWires1C2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2C1[i - 5]), T.push(this.ToffsetWires2C1[i - 1]), this.ToffsetArcWires1C2 = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 8 && (I.push(this.ToffsetWires2C2[i - 8]), I.push(this.ToffsetWires2C2[i - 4]), this.ToffsetArcWires2C2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2C2[i - 7]), P.push(this.ToffsetWires2C2[i - 3]), this.ToffsetArcWires2C2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2C2[i - 6]), g.push(this.ToffsetWires2C2[i - 2]), this.ToffsetArcWires2C2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2C2[i - 5]), y.push(this.ToffsetWires2C2[i - 1]), this.ToffsetArcWires2C2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2203
2280
  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)));
2281
+ case A.六分裂:
2282
+ this.ToffsetWires2C1.length >= 12 && (t.push(this.ToffsetWires2C1[i - 12]), t.push(this.ToffsetWires2C1[i - 6]), this.ToffsetArcWires1C2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2C1[i - 11]), l.push(this.ToffsetWires2C1[i - 5]), this.ToffsetArcWires1C2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2C1[i - 10]), u.push(this.ToffsetWires2C1[i - 4]), this.ToffsetArcWires1C2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2C1[i - 9]), T.push(this.ToffsetWires2C1[i - 3]), this.ToffsetArcWires1C2 = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires2C1[i - 8]), e.push(this.ToffsetWires2C1[i - 2]), this.ToffsetArcWires1C2 = f(e, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2C1[i - 7]), c.push(this.ToffsetWires2C1[i - 1]), this.ToffsetArcWires1C2 = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 12 && (I.push(this.ToffsetWires2C2[i - 12]), I.push(this.ToffsetWires2C2[i - 6]), this.ToffsetArcWires2C2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2C2[i - 11]), P.push(this.ToffsetWires2C2[i - 5]), this.ToffsetArcWires2C2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2C2[i - 10]), g.push(this.ToffsetWires2C2[i - 4]), this.ToffsetArcWires2C2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2C2[i - 9]), y.push(this.ToffsetWires2C2[i - 3]), this.ToffsetArcWires2C2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2C2[i - 8]), _.push(this.ToffsetWires2C2[i - 2]), this.ToffsetArcWires2C2 = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2C2[i - 7]), v.push(this.ToffsetWires2C2[i - 1]), this.ToffsetArcWires2C2 = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2206
2283
  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)));
2284
+ case A.八分裂:
2285
+ this.ToffsetWires2C1.length >= 16 && (t.push(this.ToffsetWires2C1[i - 16]), t.push(this.ToffsetWires2C1[i - 8]), this.ToffsetArcWires1C2 = f(t, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), l.push(this.ToffsetWires2C1[i - 15]), l.push(this.ToffsetWires2C1[i - 7]), this.ToffsetArcWires1C2 = f(l, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), u.push(this.ToffsetWires2C1[i - 14]), u.push(this.ToffsetWires2C1[i - 6]), this.ToffsetArcWires1C2 = f(u, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), T.push(this.ToffsetWires2C1[i - 13]), T.push(this.ToffsetWires2C1[i - 5]), this.ToffsetArcWires1C2 = f(T, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), e.push(this.ToffsetWires2C1[i - 12]), e.push(this.ToffsetWires2C1[i - 4]), this.ToffsetArcWires1C2 = f(e, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), c.push(this.ToffsetWires2C1[i - 11]), c.push(this.ToffsetWires2C1[i - 3]), this.ToffsetArcWires1C2 = f(c, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), m.push(this.ToffsetWires2C1[i - 10]), m.push(this.ToffsetWires2C1[i - 2]), this.ToffsetArcWires1C2 = f(m, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), b.push(this.ToffsetWires2C1[i - 9]), b.push(this.ToffsetWires2C1[i - 1]), this.ToffsetArcWires1C2 = f(b, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires1C2, "2C1跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor))), this.ToffsetWires2C2.length >= 16 && (I.push(this.ToffsetWires2C2[i - 16]), I.push(this.ToffsetWires2C2[i - 8]), this.ToffsetArcWires2C2 = f(I, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线1" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), P.push(this.ToffsetWires2C2[i - 15]), P.push(this.ToffsetWires2C2[i - 7]), this.ToffsetArcWires2C2 = f(P, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线2" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), g.push(this.ToffsetWires2C2[i - 14]), g.push(this.ToffsetWires2C2[i - 6]), this.ToffsetArcWires2C2 = f(g, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线3" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), y.push(this.ToffsetWires2C2[i - 13]), y.push(this.ToffsetWires2C2[i - 5]), this.ToffsetArcWires2C2 = f(y, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线4" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), _.push(this.ToffsetWires2C2[i - 12]), _.push(this.ToffsetWires2C2[i - 4]), this.ToffsetArcWires2C2 = f(_, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线5" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), v.push(this.ToffsetWires2C2[i - 11]), v.push(this.ToffsetWires2C2[i - 3]), this.ToffsetArcWires2C2 = f(v, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线6" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), k.push(this.ToffsetWires2C2[i - 10]), k.push(this.ToffsetWires2C2[i - 2]), this.ToffsetArcWires2C2 = f(k, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线7" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)), M.push(this.ToffsetWires2C2[i - 9]), M.push(this.ToffsetWires2C2[i - 1]), this.ToffsetArcWires2C2 = f(M, 15), this.LineentityCollection2.add(h(this.ToffsetArcWires2C2, "2C2跳线8" + (s - 1) + "-" + s, this.LineInfo.wireWidth, this.LineInfo.wireTColor)));
2209
2286
  break;
2210
2287
  }
2211
2288
  }
2212
2289
  } else
2213
2290
  switch (this.LineInfo.Wairnum) {
2214
- case T.单分裂:
2291
+ case A.单分裂:
2215
2292
  o = o + 1;
2216
2293
  break;
2217
- case T.双分裂:
2294
+ case A.双分裂:
2218
2295
  o = o + 2;
2219
2296
  break;
2220
- case T.四分裂:
2297
+ case A.四分裂:
2221
2298
  o = o + 4;
2222
2299
  break;
2223
- case T.六分裂:
2300
+ case A.六分裂:
2224
2301
  o = o + 6;
2225
2302
  break;
2226
- case T.八分裂:
2303
+ case A.八分裂:
2227
2304
  o = o + 8;
2228
2305
  break;
2229
2306
  }
@@ -2285,43 +2362,43 @@ class ai {
2285
2362
  * @param point 树木坐标点 [经度, 纬度, 高度]
2286
2363
  */
2287
2364
  calcResult(o) {
2288
- const i = qs(
2365
+ const i = Vs(
2289
2366
  o,
2290
2367
  this.arcLine1A1,
2291
2368
  this.arcLine1B1,
2292
2369
  this.arcLine1D1
2293
2370
  );
2294
- Ks(o, i, this.entityCollectionplotting);
2371
+ Us(o, i, this.entityCollectionplotting);
2295
2372
  }
2296
2373
  /**
2297
2374
  * 加载树木点击监听功能
2298
2375
  */
2299
2376
  loadTreeListen() {
2300
2377
  this.treeHandler && this.removeTreeListen();
2301
- const o = (i, f) => {
2378
+ const o = (i, r) => {
2302
2379
  var C;
2303
- const s = i.scene.pick(f);
2380
+ const s = i.scene.pick(r);
2304
2381
  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;
2382
+ const W = n.defaultValue(s.id, (C = s.primitive) == null ? void 0 : C.id);
2383
+ if (W instanceof n.Entity)
2384
+ return W;
2308
2385
  }
2309
2386
  };
2310
2387
  this.treeHandler = new n.ScreenSpaceEventHandler(this.viewer.canvas), this.treeHandler.setInputAction((i) => {
2311
2388
  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;
2389
+ const r = o(this.viewer, i.position);
2390
+ if (r && r.id && r.id.startsWith("tree-")) {
2391
+ const C = r.id.replace("tree-", ""), W = (s = this.LineInfo.Trees) == null ? void 0 : s.find((L) => {
2392
+ var p;
2393
+ return ((p = L.id) == null ? void 0 : p.toString()) === C;
2317
2394
  });
2318
- if (a) {
2395
+ if (W) {
2319
2396
  const L = [
2320
- a.lon,
2321
- a.lat,
2322
- Number(a.lat || 0) + Number(a.treeH || 0)
2397
+ W.lon,
2398
+ W.lat,
2399
+ Number(W.lat || 0) + Number(W.treeH || 0)
2323
2400
  ];
2324
- console.log("拾取树木:", a, "坐标:", L), this.calcResult(L);
2401
+ console.log("拾取树木:", W, "坐标:", L), this.calcResult(L);
2325
2402
  }
2326
2403
  }
2327
2404
  }, n.ScreenSpaceEventType.LEFT_CLICK), this.viewer.dataSources.add(this.dataSourceplotting), this.entityCollectionplotting.show = !0;
@@ -2402,136 +2479,136 @@ class ai {
2402
2479
  this.Keym == "OW_JPS_EEngin_001" && (this.viewer.dataSources.remove(this.dataSource2), this.entityCollection2.show = !1, this.viewer.dataSources.remove(this.LinedataSource2), this.LineentityCollection2.show = !1, this.cameraMoveHandler && (this.cameraMoveHandler(), this.cameraMoveHandler = null), this.loadedTowerIndices.clear(), this.modelCache.clear());
2403
2480
  }
2404
2481
  }
2405
- class Wi {
2482
+ class Ci {
2406
2483
  constructor() {
2407
2484
  // 杆塔id
2408
- p(this, "id", "");
2485
+ w(this, "id", "");
2409
2486
  // 杆塔名称
2410
- p(this, "name", "");
2487
+ w(this, "name", "");
2411
2488
  //角钢和圆钢都是用线模拟
2412
2489
  //单塔仿真文件
2413
- p(this, "towerFZinfo", "");
2490
+ w(this, "towerFZinfo", "");
2414
2491
  //位移文件
2415
- p(this, "towerDisFile", "");
2492
+ w(this, "towerDisFile", "");
2416
2493
  //解析应力比文件
2417
- p(this, "stressFileContent", "");
2418
- p(this, "streesistrue", 0);
2494
+ w(this, "stressFileContent", "");
2495
+ w(this, "streesistrue", 0);
2419
2496
  // 杆件颜色
2420
- p(this, "TowerMemberColor", "#FFFFFF");
2497
+ w(this, "TowerMemberColor", "#FFFFFF");
2421
2498
  // 杆件宽度
2422
- p(this, "TowerMembersWidth", 2);
2499
+ w(this, "TowerMembersWidth", 2);
2423
2500
  // 经度
2424
- p(this, "Longitude", 0);
2501
+ w(this, "Longitude", 0);
2425
2502
  // 纬度
2426
- p(this, "Latitude", 0);
2503
+ w(this, "Latitude", 0);
2427
2504
  // 高程
2428
- p(this, "Altitude", 0);
2505
+ w(this, "Altitude", 0);
2429
2506
  // 转角
2430
- p(this, "RollX", 0);
2431
- p(this, "RollY", 90);
2432
- p(this, "RollZ", 0);
2507
+ w(this, "RollX", 0);
2508
+ w(this, "RollY", 90);
2509
+ w(this, "RollZ", 0);
2433
2510
  }
2434
2511
  }
2435
- function Us(W) {
2512
+ function ii(a) {
2436
2513
  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();
2514
+ const o = a.split(`
2515
+ `), i = [], r = [], s = /^\s*(\d+)\s+([\d.-]+)\s+([\d.-]+)\s+([\d.-]+)\s+(-?\d+)/, C = /^\s*(\d+)\s+(\d+)\s+(\d+)\s*(?:#|$)/;
2516
+ for (const W of o) {
2517
+ const L = W.trim();
2441
2518
  if (!L) continue;
2442
- const A = L.match(s);
2443
- if (A) {
2519
+ const p = L.match(s);
2520
+ if (p) {
2444
2521
  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])
2522
+ id: parseInt(p[1]),
2523
+ x: parseFloat(p[2]),
2524
+ y: parseFloat(p[3]),
2525
+ z: parseFloat(p[4]),
2526
+ flag: parseInt(p[5])
2450
2527
  });
2451
2528
  continue;
2452
2529
  }
2453
2530
  const d = L.match(C);
2454
- d && f.push({
2531
+ d && r.push({
2455
2532
  from: parseInt(d[1]),
2456
2533
  to: parseInt(d[2]),
2457
2534
  type: parseInt(d[3])
2458
2535
  });
2459
2536
  }
2460
- return { TowerNodes: i, connections: f };
2537
+ return { TowerNodes: i, connections: r };
2461
2538
  }
2462
- function Qs(W) {
2463
- const o = W.split(`
2539
+ function ti(a) {
2540
+ const o = a.split(`
2464
2541
  `), 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]);
2542
+ for (const r of o) {
2543
+ if (!r.trim()) continue;
2544
+ const s = r.trim().split(/\s+/).filter((L) => L !== ""), C = parseInt(s[0]);
2468
2545
  if (isNaN(C)) continue;
2469
- const a = [];
2546
+ const W = [];
2470
2547
  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)) {
2548
+ const p = parseFloat(s[L]), d = parseFloat(s[L + 1]), t = parseFloat(s[L + 2]);
2549
+ if (!isNaN(p) && !isNaN(d) && !isNaN(t)) {
2473
2550
  const l = Math.floor((L - 1) / 3) + 1;
2474
- a.push({ timeStep: l, x: A, y: d, z: t });
2551
+ W.push({ timeStep: l, x: p, y: d, z: t });
2475
2552
  }
2476
2553
  }
2477
2554
  i.push({
2478
2555
  nodeId: C,
2479
- displacements: a
2556
+ displacements: W
2480
2557
  });
2481
2558
  }
2482
2559
  return i;
2483
2560
  }
2484
- function Ts(W) {
2561
+ function ps(a) {
2485
2562
  const o = {};
2486
- return W.forEach((i) => {
2487
- i.displacements.forEach((f) => {
2488
- o[f.timeStep] || (o[f.timeStep] = []), o[f.timeStep].push({
2563
+ return a.forEach((i) => {
2564
+ i.displacements.forEach((r) => {
2565
+ o[r.timeStep] || (o[r.timeStep] = []), o[r.timeStep].push({
2489
2566
  nodeId: i.nodeId,
2490
- ...f
2567
+ ...r
2491
2568
  });
2492
2569
  });
2493
2570
  }), o;
2494
2571
  }
2495
- function js(W) {
2496
- const o = W.split(`
2572
+ function ei(a) {
2573
+ const o = a.split(`
2497
2574
  `), i = [];
2498
2575
  for (const s of o) {
2499
2576
  if (!s.trim()) continue;
2500
2577
  const C = s.match(/^\s*(\d+-\s*\d+)\s+((?:\d+\.\d+\s*)+)/);
2501
2578
  if (C) {
2502
- const a = C[1].replace(/\s+/g, ""), L = C[2].trim().split(/\s+/).map(Number);
2579
+ const W = C[1].replace(/\s+/g, ""), L = C[2].trim().split(/\s+/).map(Number);
2503
2580
  i.push({
2504
- elementId: a,
2581
+ elementId: W,
2505
2582
  stressRatios: L
2506
2583
  });
2507
2584
  }
2508
2585
  }
2509
- const f = [];
2586
+ const r = [];
2510
2587
  if (i.length > 0) {
2511
2588
  const s = i[0].stressRatios.length;
2512
2589
  for (let C = 0; C < s; C++) {
2513
- const a = {
2590
+ const W = {
2514
2591
  timeIndex: C,
2515
2592
  elements: []
2516
2593
  };
2517
2594
  for (const L of i) {
2518
- let A;
2595
+ let p;
2519
2596
  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({
2597
+ d > 1 ? p = V.RED : d > 0.95 && d <= 1 ? p = V.PINK : d > 0.85 && d <= 0.95 ? p = V.YELLOW : d > 0.7 && d <= 0.85 ? p = V.GREEN : p = V.BLUE, W.elements.push({
2521
2598
  elementId: L.elementId,
2522
2599
  stressRatio: d,
2523
- ylbColor: A
2600
+ ylbColor: p
2524
2601
  });
2525
2602
  }
2526
- f.push(a);
2603
+ r.push(W);
2527
2604
  }
2528
2605
  }
2529
- return { byElement: i, byTime: f };
2606
+ return { byElement: i, byTime: r };
2530
2607
  }
2531
- class xs {
2608
+ class oi {
2532
2609
  constructor(o) {
2533
- p(this, "viewer");
2534
- p(this, "lines", []);
2610
+ w(this, "viewer");
2611
+ w(this, "lines", []);
2535
2612
  this.viewer = o;
2536
2613
  }
2537
2614
  /**
@@ -2539,8 +2616,8 @@ class xs {
2539
2616
  * @returns 生成的Entity对象
2540
2617
  */
2541
2618
  addLine(o, i) {
2542
- const f = vs(this.viewer, o, i);
2543
- return this.lines.push(f), f;
2619
+ const r = Ss(this.viewer, o, i);
2620
+ return this.lines.push(r), r;
2544
2621
  }
2545
2622
  /** 移除所有线 */
2546
2623
  removeAll() {
@@ -2561,18 +2638,18 @@ class xs {
2561
2638
  // });
2562
2639
  // }
2563
2640
  }
2564
- var ys = { exports: {} };
2565
- (function(W, o) {
2566
- (function(i, f) {
2567
- f();
2568
- })(ss, function() {
2641
+ var bs = { exports: {} };
2642
+ (function(a, o) {
2643
+ (function(i, r) {
2644
+ r();
2645
+ })(ts, function() {
2569
2646
  function i(d, t) {
2570
2647
  return typeof t > "u" ? t = { autoBom: !1 } : typeof t != "object" && (console.warn("Deprecated: Expected third argument to be a object"), t = { autoBom: !t }), t.autoBom && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(d.type) ? new Blob(["\uFEFF", d], { type: d.type }) : d;
2571
2648
  }
2572
- function f(d, t, l) {
2649
+ function r(d, t, l) {
2573
2650
  var u = new XMLHttpRequest();
2574
2651
  u.open("GET", d), u.responseType = "blob", u.onload = function() {
2575
- A(u.response, t, l);
2652
+ p(u.response, t, l);
2576
2653
  }, u.onerror = function() {
2577
2654
  console.error("could not download file");
2578
2655
  }, u.send();
@@ -2594,17 +2671,17 @@ var ys = { exports: {} };
2594
2671
  t.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), d.dispatchEvent(t);
2595
2672
  }
2596
2673
  }
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() {
2674
+ var W = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof ts == "object" && ts.global === ts ? ts : void 0, L = W.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent), p = W.saveAs || (typeof window != "object" || window !== W ? function() {
2598
2675
  } : "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);
2676
+ var u = W.URL || W.webkitURL, T = document.createElement("a");
2677
+ t = t || d.name || "download", T.download = t, T.rel = "noopener", typeof d == "string" ? (T.href = d, T.origin === location.origin ? C(T) : s(T.href) ? r(d, t, l) : C(T, T.target = "_blank")) : (T.href = u.createObjectURL(d), setTimeout(function() {
2678
+ u.revokeObjectURL(T.href);
2602
2679
  }, 4e4), setTimeout(function() {
2603
- C(e);
2680
+ C(T);
2604
2681
  }, 0));
2605
2682
  } : "msSaveOrOpenBlob" in navigator ? function(d, t, l) {
2606
2683
  if (t = t || d.name || "download", typeof d != "string") navigator.msSaveOrOpenBlob(i(d, l), t);
2607
- else if (s(d)) f(d, t, l);
2684
+ else if (s(d)) r(d, t, l);
2608
2685
  else {
2609
2686
  var u = document.createElement("a");
2610
2687
  u.href = d, u.target = "_blank", setTimeout(function() {
@@ -2612,34 +2689,34 @@ var ys = { exports: {} };
2612
2689
  });
2613
2690
  }
2614
2691
  } : 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") {
2692
+ if (u = u || open("", "_blank"), u && (u.document.title = u.document.body.innerText = "downloading..."), typeof d == "string") return r(d, t, l);
2693
+ var T = d.type === "application/octet-stream", e = /constructor/i.test(W.HTMLElement) || W.safari, c = /CriOS\/[\d]+/.test(navigator.userAgent);
2694
+ if ((c || T && e || L) && typeof FileReader < "u") {
2618
2695
  var m = new FileReader();
2619
2696
  m.onloadend = function() {
2620
2697
  var P = m.result;
2621
- P = B ? P : P.replace(/^data:[^;]*;/, "data:attachment/file;"), u ? u.location.href = P : location = P, u = null;
2698
+ P = c ? P : P.replace(/^data:[^;]*;/, "data:attachment/file;"), u ? u.location.href = P : location = P, u = null;
2622
2699
  }, m.readAsDataURL(d);
2623
2700
  } 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);
2701
+ var b = W.URL || W.webkitURL, I = b.createObjectURL(d);
2702
+ u ? u.location = I : location.href = I, u = null, setTimeout(function() {
2703
+ b.revokeObjectURL(I);
2627
2704
  }, 4e4);
2628
2705
  }
2629
2706
  });
2630
- a.saveAs = A.saveAs = A, W.exports = A;
2707
+ W.saveAs = p.saveAs = p, a.exports = p;
2631
2708
  });
2632
- })(ys);
2633
- var as = ys.exports;
2634
- const Cs = require("shp-write");
2635
- class si {
2709
+ })(bs);
2710
+ var us = bs.exports;
2711
+ const Ls = require("shp-write");
2712
+ class ri {
2636
2713
  // constructor(viewer: Cesium.Viewer, towerNodes: TowerNode[], connections: Connection[], towerFZS: TowerFZInfo) {
2637
- constructor(o, i, f) {
2714
+ constructor(o, i, r) {
2638
2715
  // 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;
2716
+ w(this, "towerNodes", []);
2717
+ w(this, "connections", []);
2718
+ w(this, "towerFZS");
2719
+ this.towerNodes = o, this.connections = i, this.towerFZS = r;
2643
2720
  }
2644
2721
  // 导出杆塔数据为SHP文件
2645
2722
  async exportTowerToSHP() {
@@ -2656,17 +2733,17 @@ class si {
2656
2733
  n.Math.toRadians(this.towerFZS.RollX),
2657
2734
  this.towerFZS.RollY,
2658
2735
  this.towerFZS.RollZ
2659
- ), f = n.Cartesian3.fromDegrees(
2736
+ ), r = n.Cartesian3.fromDegrees(
2660
2737
  this.towerFZS.Longitude,
2661
2738
  this.towerFZS.Latitude,
2662
2739
  this.towerFZS.Altitude
2663
2740
  );
2664
2741
  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 = {
2742
+ const C = new n.Cartesian3(s.x, s.y, s.z), W = this.getPositionByHprAndOffset(r, C, i), L = n.Ellipsoid.WGS84.cartesianToCartographic(W), p = n.Math.toDegrees(L.longitude), d = n.Math.toDegrees(L.latitude), t = L.height, l = {
2666
2743
  type: "Feature",
2667
2744
  geometry: {
2668
2745
  type: "Point",
2669
- coordinates: [A, d]
2746
+ coordinates: [p, d]
2670
2747
  // 只使用经度和纬度,高度放在属性中
2671
2748
  },
2672
2749
  properties: {
@@ -2675,7 +2752,7 @@ class si {
2675
2752
  x: s.x,
2676
2753
  y: s.y,
2677
2754
  z: s.z,
2678
- longitude: A,
2755
+ longitude: p,
2679
2756
  latitude: d,
2680
2757
  height: t,
2681
2758
  // 高度作为属性存储
@@ -2693,20 +2770,20 @@ class si {
2693
2770
  n.Math.toRadians(this.towerFZS.RollX),
2694
2771
  this.towerFZS.RollY,
2695
2772
  this.towerFZS.RollZ
2696
- ), f = n.Cartesian3.fromDegrees(
2773
+ ), r = n.Cartesian3.fromDegrees(
2697
2774
  this.towerFZS.Longitude,
2698
2775
  this.towerFZS.Latitude,
2699
2776
  this.towerFZS.Altitude
2700
2777
  );
2701
2778
  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 = {
2779
+ const C = this.towerNodes.find((g) => g.id === s.from), W = this.towerNodes.find((g) => g.id === s.to);
2780
+ if (!C || !W) continue;
2781
+ const L = new n.Cartesian3(C.x, C.y, C.z), p = new n.Cartesian3(W.x, W.y, W.z), d = this.getPositionByHprAndOffset(r, L, i), t = this.getPositionByHprAndOffset(r, p, i), l = n.Ellipsoid.WGS84.cartesianToCartographic(d), u = n.Ellipsoid.WGS84.cartesianToCartographic(t), T = n.Math.toDegrees(l.longitude), e = n.Math.toDegrees(l.latitude), c = l.height, m = n.Math.toDegrees(u.longitude), b = n.Math.toDegrees(u.latitude), I = u.height, P = {
2705
2782
  type: "Feature",
2706
2783
  geometry: {
2707
2784
  type: "LineString",
2708
2785
  coordinates: [
2709
- [e, c],
2786
+ [T, e],
2710
2787
  // 起点,二维坐标
2711
2788
  [m, b]
2712
2789
  // 终点,二维坐标
@@ -2716,17 +2793,17 @@ class si {
2716
2793
  id: `${s.from}-${s.to}`,
2717
2794
  from_node: s.from,
2718
2795
  to_node: s.to,
2719
- from_height: B,
2796
+ from_height: c,
2720
2797
  // 起点高度
2721
- to_height: w,
2798
+ to_height: I,
2722
2799
  // 终点高度
2723
- avg_height: (B + w) / 2,
2800
+ avg_height: (c + I) / 2,
2724
2801
  // 平均高度
2725
2802
  length: this.calculateDistance(d, t),
2726
2803
  type: "tower_member",
2727
2804
  width: this.towerFZS.TowerMembersWidth,
2728
- from_longitude: e,
2729
- from_latitude: c,
2805
+ from_longitude: T,
2806
+ from_latitude: e,
2730
2807
  to_longitude: m,
2731
2808
  to_latitude: b
2732
2809
  }
@@ -2739,71 +2816,71 @@ class si {
2739
2816
  async generateSHPFiles(o, i) {
2740
2817
  try {
2741
2818
  if (o.length > 0) {
2742
- const f = {
2819
+ const r = {
2743
2820
  type: "FeatureCollection",
2744
2821
  features: o
2745
- }, s = Cs.point(f);
2822
+ }, s = Ls.point(r);
2746
2823
  this.downloadSHPFiles(s, "tower_nodes");
2747
2824
  }
2748
2825
  if (i.length > 0) {
2749
- const f = {
2826
+ const r = {
2750
2827
  type: "FeatureCollection",
2751
2828
  features: i
2752
- }, s = Cs.line(f);
2829
+ }, s = Ls.line(r);
2753
2830
  this.downloadSHPFiles(s, "tower_members");
2754
2831
  }
2755
- } catch (f) {
2756
- console.error("生成SHP文件时出错:", f), await this.alternativeExport(o, i);
2832
+ } catch (r) {
2833
+ console.error("生成SHP文件时出错:", r), await this.alternativeExport(o, i);
2757
2834
  }
2758
2835
  }
2759
2836
  // 下载SHP文件
2760
2837
  downloadSHPFiles(o, i) {
2761
- const f = new Blob([o], { type: "application/zip" });
2762
- as.saveAs(f, `${i}.zip`);
2838
+ const r = new Blob([o], { type: "application/zip" });
2839
+ us.saveAs(r, `${i}.zip`);
2763
2840
  }
2764
2841
  // 备用导出方案 - 导出为GeoJSON
2765
2842
  async alternativeExport(o, i) {
2766
2843
  if (console.log("使用备用方案导出为GeoJSON格式"), o.length > 0) {
2767
- const f = {
2844
+ const r = {
2768
2845
  type: "FeatureCollection",
2769
2846
  features: o
2770
2847
  };
2771
- this.downloadJSON(f, "tower_nodes.geojson");
2848
+ this.downloadJSON(r, "tower_nodes.geojson");
2772
2849
  }
2773
2850
  if (i.length > 0) {
2774
- const f = {
2851
+ const r = {
2775
2852
  type: "FeatureCollection",
2776
2853
  features: i
2777
2854
  };
2778
- this.downloadJSON(f, "tower_members.geojson");
2855
+ this.downloadJSON(r, "tower_members.geojson");
2779
2856
  }
2780
2857
  }
2781
2858
  // 下载JSON文件
2782
2859
  downloadJSON(o, i) {
2783
- const f = new Blob([JSON.stringify(o, null, 2)], {
2860
+ const r = new Blob([JSON.stringify(o, null, 2)], {
2784
2861
  type: "application/json"
2785
2862
  });
2786
- as.saveAs(f, i);
2863
+ us.saveAs(r, i);
2787
2864
  }
2788
2865
  // 计算两点之间的距离
2789
2866
  calculateDistance(o, i) {
2790
2867
  return n.Cartesian3.distance(o, i);
2791
2868
  }
2792
2869
  // 根据朝向和偏移量计算位置
2793
- getPositionByHprAndOffset(o, i, f) {
2794
- const s = n.Transforms.headingPitchRollToFixedFrame(o, f);
2870
+ getPositionByHprAndOffset(o, i, r) {
2871
+ const s = n.Transforms.headingPitchRollToFixedFrame(o, r);
2795
2872
  return n.Matrix4.multiplyByPoint(s, i, new n.Cartesian3());
2796
2873
  }
2797
2874
  }
2798
- class ii {
2799
- static async exportToCSV(o, i, f) {
2800
- const s = this.exportNodesToCSV(o, f);
2875
+ class hi {
2876
+ static async exportToCSV(o, i, r) {
2877
+ const s = this.exportNodesToCSV(o, r);
2801
2878
  this.downloadCSV(s, "tower_nodes.csv");
2802
- const C = this.exportConnectionsToCSV(i, o, f);
2879
+ const C = this.exportConnectionsToCSV(i, o, r);
2803
2880
  this.downloadCSV(C, "tower_connections.csv");
2804
2881
  }
2805
2882
  static exportNodesToCSV(o, i) {
2806
- let f = `ID,X,Y,Z,Longitude,Latitude,Height
2883
+ let r = `ID,X,Y,Z,Longitude,Latitude,Height
2807
2884
  `;
2808
2885
  const s = new n.HeadingPitchRoll(
2809
2886
  n.Math.toRadians(i.RollX),
@@ -2814,65 +2891,65 @@ class ii {
2814
2891
  i.Latitude,
2815
2892
  i.Altitude
2816
2893
  );
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}
2894
+ return o.forEach((W) => {
2895
+ const L = new n.Cartesian3(W.x, W.y, W.z), p = this.getPositionByHprAndOffset(C, L, s), d = n.Ellipsoid.WGS84.cartesianToCartographic(p), t = n.Math.toDegrees(d.longitude), l = n.Math.toDegrees(d.latitude), u = d.height;
2896
+ r += `${W.id},${W.x},${W.y},${W.z},${t},${l},${u}
2820
2897
  `;
2821
- }), f;
2898
+ }), r;
2822
2899
  }
2823
- static exportConnectionsToCSV(o, i, f) {
2900
+ static exportConnectionsToCSV(o, i, r) {
2824
2901
  let s = `FromNode,ToNode,FromX,FromY,FromZ,ToX,ToY,ToZ,Length
2825
2902
  `;
2826
2903
  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
2904
+ n.Math.toRadians(r.RollX),
2905
+ r.RollY,
2906
+ r.RollZ
2907
+ ), W = n.Cartesian3.fromDegrees(
2908
+ r.Longitude,
2909
+ r.Latitude,
2910
+ r.Altitude
2834
2911
  );
2835
2912
  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}
2913
+ const p = i.find((c) => c.id === L.from), d = i.find((c) => c.id === L.to);
2914
+ if (!p || !d) return;
2915
+ const t = new n.Cartesian3(p.x, p.y, p.z), l = new n.Cartesian3(d.x, d.y, d.z), u = this.getPositionByHprAndOffset(W, t, C), T = this.getPositionByHprAndOffset(W, l, C), e = n.Cartesian3.distance(u, T);
2916
+ s += `${L.from},${L.to},${p.x},${p.y},${p.z},${d.x},${d.y},${d.z},${e}
2840
2917
  `;
2841
2918
  }), s;
2842
2919
  }
2843
2920
  static downloadCSV(o, i) {
2844
- const f = new Blob([o], { type: "text/csv;charset=utf-8;" });
2845
- as.saveAs(f, i);
2921
+ const r = new Blob([o], { type: "text/csv;charset=utf-8;" });
2922
+ us.saveAs(r, i);
2846
2923
  }
2847
- static getPositionByHprAndOffset(o, i, f) {
2848
- const s = n.Transforms.headingPitchRollToFixedFrame(o, f);
2924
+ static getPositionByHprAndOffset(o, i, r) {
2925
+ const s = n.Transforms.headingPitchRollToFixedFrame(o, r);
2849
2926
  return n.Matrix4.multiplyByPoint(s, i, new n.Cartesian3());
2850
2927
  }
2851
2928
  }
2852
- class li {
2853
- constructor(o, i, f) {
2929
+ class Ai {
2930
+ constructor(o, i, r) {
2854
2931
  //三维场景
2855
- p(this, "viewer");
2856
- p(this, "TowerFZS");
2857
- p(this, "Keym", "");
2932
+ w(this, "viewer");
2933
+ w(this, "TowerFZS");
2934
+ w(this, "Keym", "");
2858
2935
  // 模型模型集合
2859
- p(this, "dataSource2");
2860
- p(this, "entityCollection2");
2936
+ w(this, "dataSource2");
2937
+ w(this, "entityCollection2");
2861
2938
  // 创建一个数组来存储所有点实体
2862
- p(this, "pointEntities", []);
2939
+ w(this, "pointEntities", []);
2863
2940
  //杆件管理对象
2864
- p(this, "TowerLineManager");
2865
- p(this, "TowerNodes", []);
2866
- p(this, "connections", []);
2867
- p(this, "displacementData", []);
2941
+ w(this, "TowerLineManager");
2942
+ w(this, "TowerNodes", []);
2943
+ w(this, "connections", []);
2944
+ w(this, "displacementData", []);
2868
2945
  // 在类属性中添加(浏览器环境)
2869
2946
  // private _animationInterval: number | null = null;
2870
2947
  // 该字段已废弃,后续如需按单元查询应力比可启用
2871
2948
  // private byElemens: ElementStressData[] = [];
2872
- p(this, "byTimes", []);
2949
+ w(this, "byTimes", []);
2873
2950
  // 或者如果是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);
2951
+ w(this, "_animationInterval", null);
2952
+ this.Keym = r, this.viewer = o, this.TowerFZS = i, this.dataSource2 = new n.CustomDataSource(this.TowerFZS.id), this.entityCollection2 = this.dataSource2.entities, this.TowerLineManager = new oi(this.viewer);
2876
2953
  }
2877
2954
  // 类的构造函数,用于初始化属性
2878
2955
  // private shpExporter: TowerSHPExporter;
@@ -2882,10 +2959,10 @@ class li {
2882
2959
  loadfile() {
2883
2960
  if (this.Keym != "OW_JPS_EEngin_001")
2884
2961
  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;
2962
+ const { TowerNodes: o, connections: i } = ii(this.TowerFZS.towerFZinfo);
2963
+ this.TowerNodes = o, this.connections = i, this.displacementData = ti(this.TowerFZS.towerDisFile);
2964
+ const { byTime: r } = ei(this.TowerFZS.stressFileContent);
2965
+ this.byTimes = r;
2889
2966
  debugger;
2890
2967
  }
2891
2968
  //单塔仿真加载
@@ -2894,12 +2971,12 @@ class li {
2894
2971
  return;
2895
2972
  let o = new n.HeadingPitchRoll(n.Math.toRadians(this.TowerFZS.RollX), this.TowerFZS.RollY, this.TowerFZS.RollZ);
2896
2973
  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(
2974
+ this.connections.forEach((r) => {
2975
+ const s = this.TowerNodes.find((l) => l.id === r.from), C = this.TowerNodes.find((l) => l.id === r.to), W = [], L = new n.Cartesian3(s == null ? void 0 : s.x, s == null ? void 0 : s.y, s == null ? void 0 : s.z);
2976
+ W.push(B(i, L, o));
2977
+ const p = es(
2901
2978
  this.viewer,
2902
- a[0],
2979
+ W[0],
2903
2980
  (s == null ? void 0 : s.id) + "",
2904
2981
  {
2905
2982
  pointColor: n.Color.RED,
@@ -2908,12 +2985,12 @@ class li {
2908
2985
  pixelOffset: [0, -30]
2909
2986
  }
2910
2987
  );
2911
- this.pointEntities.push(A);
2988
+ this.pointEntities.push(p);
2912
2989
  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(
2990
+ W.push(B(i, d, o));
2991
+ const t = es(
2915
2992
  this.viewer,
2916
- a[1],
2993
+ W[1],
2917
2994
  (s == null ? void 0 : s.id) + "",
2918
2995
  {
2919
2996
  pointColor: n.Color.RED,
@@ -2922,12 +2999,12 @@ class li {
2922
2999
  pixelOffset: [0, -30]
2923
3000
  }
2924
3001
  );
2925
- this.pointEntities.push(t), this.TowerLineManager.addLine(a);
3002
+ this.pointEntities.push(t), this.TowerLineManager.addLine(W);
2926
3003
  }), this.initSHPExporter();
2927
3004
  }
2928
3005
  // 使用修复后的SHP导出器
2929
3006
  async exportToSHP() {
2930
- await new si(
3007
+ await new ri(
2931
3008
  this.TowerNodes,
2932
3009
  this.connections,
2933
3010
  this.TowerFZS
@@ -2935,7 +3012,7 @@ class li {
2935
3012
  }
2936
3013
  // 如果SHP导出仍有问题,使用CSV备用方案
2937
3014
  async exportToCSV() {
2938
- await ii.exportToCSV(
3015
+ await hi.exportToCSV(
2939
3016
  this.TowerNodes,
2940
3017
  this.connections,
2941
3018
  this.TowerFZS
@@ -2948,9 +3025,9 @@ class li {
2948
3025
  loadFZDISTower(o) {
2949
3026
  if (this.Keym !== "OW_JPS_EEngin_001")
2950
3027
  return;
2951
- const f = Ts(this.displacementData)[o], s = this.byTimes.find((L) => L.timeIndex === o);
3028
+ const r = ps(this.displacementData)[o], s = this.byTimes.find((L) => L.timeIndex === o);
2952
3029
  debugger;
2953
- if (!f) {
3030
+ if (!r) {
2954
3031
  console.warn(`未找到时间步 ${o} 的位移数据`);
2955
3032
  return;
2956
3033
  }
@@ -2958,34 +3035,34 @@ class li {
2958
3035
  n.Math.toRadians(this.TowerFZS.RollX),
2959
3036
  this.TowerFZS.RollY,
2960
3037
  this.TowerFZS.RollZ
2961
- ), a = n.Cartesian3.fromDegrees(
3038
+ ), W = n.Cartesian3.fromDegrees(
2962
3039
  this.TowerFZS.Longitude,
2963
3040
  this.TowerFZS.Latitude,
2964
3041
  this.TowerFZS.Altitude
2965
3042
  );
2966
3043
  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) {
3044
+ const p = this.TowerNodes.find((y) => y.id === L.from), d = this.TowerNodes.find((y) => y.id === L.to);
3045
+ if (!p || !d) {
2969
3046
  console.warn(`找不到连接 ${L.from}->${L.to} 的节点`);
2970
3047
  return;
2971
3048
  }
2972
3049
  debugger;
2973
- const t = f.find((y) => y.nodeId === L.from), l = f.find((y) => y.nodeId === L.to);
3050
+ const t = r.find((y) => y.nodeId === L.from), l = r.find((y) => y.nodeId === L.to);
2974
3051
  if (!t || !l) {
2975
3052
  console.warn(`找不到连接 ${L.from}->${L.to} 的位移数据`);
2976
3053
  return;
2977
3054
  }
2978
3055
  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(
3056
+ p.x - t.x,
3057
+ p.y - t.y,
3058
+ p.z - t.z
3059
+ ), T = new n.Cartesian3(
2983
3060
  d.x - l.x,
2984
3061
  d.y - l.y,
2985
3062
  d.z - l.z
2986
- ), c = I(a, u, C), B = is(
3063
+ ), e = B(W, u, C), c = es(
2987
3064
  this.viewer,
2988
- c,
3065
+ e,
2989
3066
  L.from + "",
2990
3067
  {
2991
3068
  pointColor: n.Color.RED,
@@ -2994,8 +3071,8 @@ class li {
2994
3071
  pixelOffset: [0, -30]
2995
3072
  }
2996
3073
  );
2997
- this.pointEntities.push(B);
2998
- const m = I(a, e, C), b = is(
3074
+ this.pointEntities.push(c);
3075
+ const m = B(W, T, C), b = es(
2999
3076
  this.viewer,
3000
3077
  m,
3001
3078
  L.to + "",
@@ -3007,9 +3084,9 @@ class li {
3007
3084
  }
3008
3085
  );
3009
3086
  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);
3087
+ const I = [e, m], P = L.from + "-" + L.to, g = s == null ? void 0 : s.elements.find((y) => y.elementId === P);
3011
3088
  debugger;
3012
- this.TowerLineManager.addLine(w, {
3089
+ this.TowerLineManager.addLine(I, {
3013
3090
  color: g == null ? void 0 : g.ylbColor,
3014
3091
  width: 3,
3015
3092
  clampToGround: !1,
@@ -3023,16 +3100,16 @@ class li {
3023
3100
  loadFZDISTower1(o) {
3024
3101
  if (this.Keym != "OW_JPS_EEngin_001")
3025
3102
  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);
3103
+ const i = ps(this.displacementData);
3104
+ let r = new n.HeadingPitchRoll(n.Math.toRadians(this.TowerFZS.RollX), this.TowerFZS.RollY, this.TowerFZS.RollZ);
3028
3105
  const s = n.Cartesian3.fromDegrees(this.TowerFZS.Longitude, this.TowerFZS.Latitude, this.TowerFZS.Altitude);
3029
3106
  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));
3107
+ const W = this.TowerNodes.find((T) => T.id === C.from), L = i[o].find((T) => T.nodeId === C.from), p = this.TowerNodes.find((T) => T.id === C.to), d = i[o].find((T) => T.nodeId === C.to), t = [], l = new n.Cartesian3(W.x - L.x, W.y - L.y, W.z - L.z);
3108
+ t.push(B(s, l, r));
3109
+ const u = new n.Cartesian3(p.x - d.x, p.y - d.y, p.z - d.z);
3110
+ t.push(B(s, u, r));
3034
3111
  debugger;
3035
- this.entityCollection2.add(r(t, C.from + "" + C.to, this.TowerFZS.TowerMembersWidth, this.TowerFZS.TowerMemberColor));
3112
+ this.entityCollection2.add(h(t, C.from + "" + C.to, this.TowerFZS.TowerMembersWidth, this.TowerFZS.TowerMemberColor));
3036
3113
  });
3037
3114
  }
3038
3115
  /**
@@ -3048,7 +3125,7 @@ class li {
3048
3125
  let o = 1;
3049
3126
  const i = this.displacementData.length;
3050
3127
  this._animationInterval && (clearInterval(this._animationInterval), this._animationInterval = null);
3051
- const f = () => {
3128
+ const r = () => {
3052
3129
  if (this.viewer.dataSources.contains(this.dataSource2) && this.viewer.dataSources.remove(this.dataSource2, !0), o > i) {
3053
3130
  o = 1;
3054
3131
  return;
@@ -3060,7 +3137,7 @@ class li {
3060
3137
  console.error("加载位移帧时出错:", s), this._animationInterval && (clearInterval(this._animationInterval), this._animationInterval = null);
3061
3138
  }
3062
3139
  };
3063
- f(), this._animationInterval = setInterval(f, 300);
3140
+ r(), this._animationInterval = setInterval(r, 300);
3064
3141
  }
3065
3142
  // 停止动画
3066
3143
  stopDisplacementAnimation() {
@@ -3084,20 +3161,20 @@ class li {
3084
3161
  }
3085
3162
  }
3086
3163
  export {
3087
- ni as GUAPoint,
3088
- fi as InsulatorInfo,
3164
+ ci as GUAPoint,
3165
+ ui as InsulatorInfo,
3089
3166
  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,
3167
+ oi as LineManager,
3168
+ rs as LineNum,
3169
+ si as LineType,
3170
+ Ai as OWEEgineFZManager,
3171
+ Ti as OWEEgineManager,
3172
+ z as PhaseSType,
3173
+ Ci as TowerFZInfo,
3174
+ li as TowerInfo,
3175
+ ai as TowerLineInfo,
3099
3176
  q as TowerType,
3100
- ri as TreeType,
3101
- T as WairnumType,
3102
- ks as drawModel
3177
+ Wi as TreeType,
3178
+ A as WairnumType,
3179
+ Zs as drawModel
3103
3180
  };