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