ow-eengine-power 2.4.0 → 2.4.1

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