costy-plus 1.0.10-0

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.
Files changed (200) hide show
  1. package/README.md +1 -0
  2. package/dist/es/_virtual/_commonjsHelpers.js +4 -0
  3. package/dist/es/_virtual/vueComponentNormalizer.js +30 -0
  4. package/dist/es/_virtual/vuescroll-native.js +4 -0
  5. package/dist/es/index.d.ts +5 -0
  6. package/dist/es/index.js +26 -0
  7. package/dist/es/node_modules/.pnpm/vue-class-component@7.2.6_vue@2.6.14/node_modules/vue-class-component/dist/vue-class-component.esm.js +201 -0
  8. package/dist/es/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Emit.js +1 -0
  9. package/dist/es/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Prop.js +12 -0
  10. package/dist/es/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Watch.js +13 -0
  11. package/dist/es/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/helpers/metadata.js +10 -0
  12. package/dist/es/node_modules/.pnpm/vuescroll@4.17.5_vue@2.7.14/node_modules/vuescroll/dist/vuescroll-native.js +1188 -0
  13. package/dist/es/src/BackgroundGrid/PropsMinix.d.ts +12 -0
  14. package/dist/es/src/BackgroundGrid/PropsMinix.js +60 -0
  15. package/dist/es/src/BackgroundGrid/index.js +6 -0
  16. package/dist/es/src/BackgroundGrid/index.vue.d.ts +19 -0
  17. package/dist/es/src/BackgroundGrid/index.vue_vue_type_script_lang.js +118 -0
  18. package/dist/es/src/BackgroundGrid/index.vue_vue_type_template_lang.js +20 -0
  19. package/dist/es/src/BackgroundGrid/index2.js +24 -0
  20. package/dist/es/src/ECGWave/index.js +6 -0
  21. package/dist/es/src/ECGWave/index.vue.d.ts +15 -0
  22. package/dist/es/src/ECGWave/index.vue_vue_type_script_lang.js +90 -0
  23. package/dist/es/src/ECGWave/index.vue_vue_type_template_lang.js +118 -0
  24. package/dist/es/src/ECGWave/index2.js +24 -0
  25. package/dist/es/src/ECGWave/method.js +841 -0
  26. package/dist/es/src/ECGWave/style/index.css +46 -0
  27. package/dist/es/src/EnlargeWave/index.js +6 -0
  28. package/dist/es/src/EnlargeWave/index.vue.d.ts +10 -0
  29. package/dist/es/src/EnlargeWave/index.vue_vue_type_script_lang.js +56 -0
  30. package/dist/es/src/EnlargeWave/index.vue_vue_type_template_lang.js +178 -0
  31. package/dist/es/src/EnlargeWave/index2.js +24 -0
  32. package/dist/es/src/EnlargeWave/medthod.d.ts +185 -0
  33. package/dist/es/src/EnlargeWave/medthod.js +753 -0
  34. package/dist/es/src/EnlargeWave/style/index.css +93 -0
  35. package/dist/es/src/FCGWave/components/And2V5LeadPower.js +24 -0
  36. package/dist/es/src/FCGWave/components/And2V5LeadPower.vue_vue_type_script_lang.js +1114 -0
  37. package/dist/es/src/FCGWave/components/And2V5LeadPower.vue_vue_type_template_lang.js +31 -0
  38. package/dist/es/src/FCGWave/components/LeadPower12.js +24 -0
  39. package/dist/es/src/FCGWave/components/LeadPower12.vue_vue_type_script_lang.js +376 -0
  40. package/dist/es/src/FCGWave/components/LeadPower12.vue_vue_type_template_lang.js +31 -0
  41. package/dist/es/src/FCGWave/components/PowerHistogram.js +24 -0
  42. package/dist/es/src/FCGWave/components/PowerHistogram.vue_vue_type_script_lang.js +256 -0
  43. package/dist/es/src/FCGWave/components/PowerHistogram.vue_vue_type_template_lang.js +31 -0
  44. package/dist/es/src/FCGWave/index.js +6 -0
  45. package/dist/es/src/FCGWave/index.vue.d.ts +6 -0
  46. package/dist/es/src/FCGWave/index.vue_vue_type_script_lang.js +28 -0
  47. package/dist/es/src/FCGWave/index.vue_vue_type_template_lang.js +38 -0
  48. package/dist/es/src/FCGWave/index2.js +24 -0
  49. package/dist/es/src/FCGWave/method.d.ts +49 -0
  50. package/dist/es/src/FCGWave/method.js +94 -0
  51. package/dist/es/src/FCGWave/style/index.css +43 -0
  52. package/dist/es/src/HFECGWave/components/Detail.js +24 -0
  53. package/dist/es/src/HFECGWave/components/Detail.vue_vue_type_script_lang.js +293 -0
  54. package/dist/es/src/HFECGWave/components/Detail.vue_vue_type_template_lang.js +134 -0
  55. package/dist/es/src/HFECGWave/components/Routine.js +24 -0
  56. package/dist/es/src/HFECGWave/components/Routine.vue_vue_type_script_lang.js +302 -0
  57. package/dist/es/src/HFECGWave/components/Routine.vue_vue_type_template_lang.js +47 -0
  58. package/dist/es/src/HFECGWave/index.js +6 -0
  59. package/dist/es/src/HFECGWave/index.vue.d.ts +6 -0
  60. package/dist/es/src/HFECGWave/index.vue_vue_type_script_lang.js +26 -0
  61. package/dist/es/src/HFECGWave/index.vue_vue_type_template_lang.js +36 -0
  62. package/dist/es/src/HFECGWave/index2.js +24 -0
  63. package/dist/es/src/HFECGWave/method.js +86 -0
  64. package/dist/es/src/HFECGWave/style/index.css +58 -0
  65. package/dist/es/src/MagnifierWave/index.js +24 -0
  66. package/dist/es/src/MagnifierWave/index.vue.d.ts +11 -0
  67. package/dist/es/src/MagnifierWave/index.vue_vue_type_script_lang.js +49 -0
  68. package/dist/es/src/MagnifierWave/index.vue_vue_type_template_lang.js +34 -0
  69. package/dist/es/src/MagnifierWave/medthod.d.ts +78 -0
  70. package/dist/es/src/MagnifierWave/medthod.js +276 -0
  71. package/dist/es/src/MagnifierWave/style/index.css +22 -0
  72. package/dist/es/src/MeasuringRuler/index.js +6 -0
  73. package/dist/es/src/MeasuringRuler/index.vue.d.ts +47 -0
  74. package/dist/es/src/MeasuringRuler/index.vue_vue_type_script_lang.js +300 -0
  75. package/dist/es/src/MeasuringRuler/index.vue_vue_type_template_lang.js +17 -0
  76. package/dist/es/src/MeasuringRuler/index2.js +24 -0
  77. package/dist/es/src/MeasuringRuler/style/index.css +0 -0
  78. package/dist/es/src/ParallelRuler/index.js +6 -0
  79. package/dist/es/src/ParallelRuler/index.vue.d.ts +46 -0
  80. package/dist/es/src/ParallelRuler/index.vue_vue_type_script_lang.js +312 -0
  81. package/dist/es/src/ParallelRuler/index.vue_vue_type_template_lang.js +17 -0
  82. package/dist/es/src/ParallelRuler/index2.js +24 -0
  83. package/dist/es/src/Text/index.js +6 -0
  84. package/dist/es/src/Text/index.vue.d.ts +7 -0
  85. package/dist/es/src/Text/index.vue_vue_type_script_lang.js +26 -0
  86. package/dist/es/src/Text/index.vue_vue_type_template_lang.js +10 -0
  87. package/dist/es/src/Text/index2.js +24 -0
  88. package/dist/es/src/Text/style/index.css +6 -0
  89. package/dist/es/src/Text/style/other.css +3 -0
  90. package/dist/es/src/index.d.ts +8 -0
  91. package/dist/es/src/index.js +18 -0
  92. package/dist/es/static/images/heart.jpg +0 -0
  93. package/dist/es/static/images/heartSection.jpg +0 -0
  94. package/dist/es/typings/Common.d.ts +140 -0
  95. package/dist/es/typings/MXBackgroundGrid.d.ts +24 -0
  96. package/dist/es/typings/MXECGWaveComponents.d.ts +151 -0
  97. package/dist/es/typings/MXFCGWaveComponents.d.ts +10 -0
  98. package/dist/es/typings/MXMeasuringRuler.d.ts +14 -0
  99. package/dist/es/typings/MXParallelRuler.d.ts +14 -0
  100. package/dist/es/typings/component.d.ts +3 -0
  101. package/dist/lib/_virtual/_commonjsHelpers.js +1 -0
  102. package/dist/lib/_virtual/vueComponentNormalizer.js +1 -0
  103. package/dist/lib/_virtual/vuescroll-native.js +1 -0
  104. package/dist/lib/index.d.ts +5 -0
  105. package/dist/lib/index.js +1 -0
  106. package/dist/lib/node_modules/.pnpm/vue-class-component@7.2.6_vue@2.6.14/node_modules/vue-class-component/dist/vue-class-component.esm.js +5 -0
  107. package/dist/lib/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Emit.js +1 -0
  108. package/dist/lib/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Prop.js +1 -0
  109. package/dist/lib/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Watch.js +1 -0
  110. package/dist/lib/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/helpers/metadata.js +1 -0
  111. package/dist/lib/node_modules/.pnpm/vuescroll@4.17.5_vue@2.7.14/node_modules/vuescroll/dist/vuescroll-native.js +4 -0
  112. package/dist/lib/src/BackgroundGrid/PropsMinix.d.ts +12 -0
  113. package/dist/lib/src/BackgroundGrid/PropsMinix.js +1 -0
  114. package/dist/lib/src/BackgroundGrid/index.js +1 -0
  115. package/dist/lib/src/BackgroundGrid/index.vue.d.ts +19 -0
  116. package/dist/lib/src/BackgroundGrid/index.vue_vue_type_script_lang.js +1 -0
  117. package/dist/lib/src/BackgroundGrid/index.vue_vue_type_template_lang.js +1 -0
  118. package/dist/lib/src/BackgroundGrid/index2.js +1 -0
  119. package/dist/lib/src/ECGWave/index.js +1 -0
  120. package/dist/lib/src/ECGWave/index.vue.d.ts +15 -0
  121. package/dist/lib/src/ECGWave/index.vue_vue_type_script_lang.js +1 -0
  122. package/dist/lib/src/ECGWave/index.vue_vue_type_template_lang.js +1 -0
  123. package/dist/lib/src/ECGWave/index2.js +1 -0
  124. package/dist/lib/src/ECGWave/method.js +1 -0
  125. package/dist/lib/src/ECGWave/style/index.css +46 -0
  126. package/dist/lib/src/EnlargeWave/index.js +1 -0
  127. package/dist/lib/src/EnlargeWave/index.vue.d.ts +10 -0
  128. package/dist/lib/src/EnlargeWave/index.vue_vue_type_script_lang.js +1 -0
  129. package/dist/lib/src/EnlargeWave/index.vue_vue_type_template_lang.js +1 -0
  130. package/dist/lib/src/EnlargeWave/index2.js +1 -0
  131. package/dist/lib/src/EnlargeWave/medthod.d.ts +185 -0
  132. package/dist/lib/src/EnlargeWave/medthod.js +1 -0
  133. package/dist/lib/src/EnlargeWave/style/index.css +93 -0
  134. package/dist/lib/src/FCGWave/components/And2V5LeadPower.js +1 -0
  135. package/dist/lib/src/FCGWave/components/And2V5LeadPower.vue_vue_type_script_lang.js +1 -0
  136. package/dist/lib/src/FCGWave/components/And2V5LeadPower.vue_vue_type_template_lang.js +1 -0
  137. package/dist/lib/src/FCGWave/components/LeadPower12.js +1 -0
  138. package/dist/lib/src/FCGWave/components/LeadPower12.vue_vue_type_script_lang.js +1 -0
  139. package/dist/lib/src/FCGWave/components/LeadPower12.vue_vue_type_template_lang.js +1 -0
  140. package/dist/lib/src/FCGWave/components/PowerHistogram.js +1 -0
  141. package/dist/lib/src/FCGWave/components/PowerHistogram.vue_vue_type_script_lang.js +3 -0
  142. package/dist/lib/src/FCGWave/components/PowerHistogram.vue_vue_type_template_lang.js +1 -0
  143. package/dist/lib/src/FCGWave/index.js +1 -0
  144. package/dist/lib/src/FCGWave/index.vue.d.ts +6 -0
  145. package/dist/lib/src/FCGWave/index.vue_vue_type_script_lang.js +1 -0
  146. package/dist/lib/src/FCGWave/index.vue_vue_type_template_lang.js +1 -0
  147. package/dist/lib/src/FCGWave/index2.js +1 -0
  148. package/dist/lib/src/FCGWave/method.d.ts +49 -0
  149. package/dist/lib/src/FCGWave/method.js +1 -0
  150. package/dist/lib/src/FCGWave/style/index.css +43 -0
  151. package/dist/lib/src/HFECGWave/components/Detail.js +1 -0
  152. package/dist/lib/src/HFECGWave/components/Detail.vue_vue_type_script_lang.js +1 -0
  153. package/dist/lib/src/HFECGWave/components/Detail.vue_vue_type_template_lang.js +1 -0
  154. package/dist/lib/src/HFECGWave/components/Routine.js +1 -0
  155. package/dist/lib/src/HFECGWave/components/Routine.vue_vue_type_script_lang.js +1 -0
  156. package/dist/lib/src/HFECGWave/components/Routine.vue_vue_type_template_lang.js +1 -0
  157. package/dist/lib/src/HFECGWave/index.js +1 -0
  158. package/dist/lib/src/HFECGWave/index.vue.d.ts +6 -0
  159. package/dist/lib/src/HFECGWave/index.vue_vue_type_script_lang.js +1 -0
  160. package/dist/lib/src/HFECGWave/index.vue_vue_type_template_lang.js +1 -0
  161. package/dist/lib/src/HFECGWave/index2.js +1 -0
  162. package/dist/lib/src/HFECGWave/method.js +1 -0
  163. package/dist/lib/src/HFECGWave/style/index.css +58 -0
  164. package/dist/lib/src/MagnifierWave/index.js +1 -0
  165. package/dist/lib/src/MagnifierWave/index.vue.d.ts +11 -0
  166. package/dist/lib/src/MagnifierWave/index.vue_vue_type_script_lang.js +1 -0
  167. package/dist/lib/src/MagnifierWave/index.vue_vue_type_template_lang.js +1 -0
  168. package/dist/lib/src/MagnifierWave/medthod.d.ts +78 -0
  169. package/dist/lib/src/MagnifierWave/medthod.js +1 -0
  170. package/dist/lib/src/MagnifierWave/style/index.css +22 -0
  171. package/dist/lib/src/MeasuringRuler/index.js +1 -0
  172. package/dist/lib/src/MeasuringRuler/index.vue.d.ts +47 -0
  173. package/dist/lib/src/MeasuringRuler/index.vue_vue_type_script_lang.js +3 -0
  174. package/dist/lib/src/MeasuringRuler/index.vue_vue_type_template_lang.js +1 -0
  175. package/dist/lib/src/MeasuringRuler/index2.js +1 -0
  176. package/dist/lib/src/MeasuringRuler/style/index.css +0 -0
  177. package/dist/lib/src/ParallelRuler/index.js +1 -0
  178. package/dist/lib/src/ParallelRuler/index.vue.d.ts +46 -0
  179. package/dist/lib/src/ParallelRuler/index.vue_vue_type_script_lang.js +1 -0
  180. package/dist/lib/src/ParallelRuler/index.vue_vue_type_template_lang.js +1 -0
  181. package/dist/lib/src/ParallelRuler/index2.js +1 -0
  182. package/dist/lib/src/Text/index.js +1 -0
  183. package/dist/lib/src/Text/index.vue.d.ts +7 -0
  184. package/dist/lib/src/Text/index.vue_vue_type_script_lang.js +1 -0
  185. package/dist/lib/src/Text/index.vue_vue_type_template_lang.js +1 -0
  186. package/dist/lib/src/Text/index2.js +1 -0
  187. package/dist/lib/src/Text/style/index.css +6 -0
  188. package/dist/lib/src/Text/style/other.css +3 -0
  189. package/dist/lib/src/index.d.ts +8 -0
  190. package/dist/lib/src/index.js +1 -0
  191. package/dist/lib/static/images/heart.jpg +0 -0
  192. package/dist/lib/static/images/heartSection.jpg +0 -0
  193. package/dist/lib/typings/Common.d.ts +140 -0
  194. package/dist/lib/typings/MXBackgroundGrid.d.ts +24 -0
  195. package/dist/lib/typings/MXECGWaveComponents.d.ts +151 -0
  196. package/dist/lib/typings/MXFCGWaveComponents.d.ts +10 -0
  197. package/dist/lib/typings/MXMeasuringRuler.d.ts +14 -0
  198. package/dist/lib/typings/MXParallelRuler.d.ts +14 -0
  199. package/dist/lib/typings/component.d.ts +3 -0
  200. package/package.json +27 -0
@@ -0,0 +1,1114 @@
1
+ var X = Object.defineProperty, A = Object.defineProperties;
2
+ var Y = Object.getOwnPropertyDescriptors;
3
+ var Z = Object.getOwnPropertySymbols;
4
+ var ee = Object.prototype.hasOwnProperty, te = Object.prototype.propertyIsEnumerable;
5
+ var H = (s, e, t) => e in s ? X(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t, U = (s, e) => {
6
+ for (var t in e || (e = {}))
7
+ ee.call(e, t) && H(s, t, e[t]);
8
+ if (Z)
9
+ for (var t of Z(e))
10
+ te.call(e, t) && H(s, t, e[t]);
11
+ return s;
12
+ }, J = (s, e) => A(s, Y(e));
13
+ import ie from "vue";
14
+ import se from "../../../node_modules/.pnpm/vue-class-component@7.2.6_vue@2.6.14/node_modules/vue-class-component/dist/vue-class-component.esm.js";
15
+ import "../../../node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Emit.js";
16
+ import { Prop as j } from "../../../node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Prop.js";
17
+ import { Watch as Q } from "../../../node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Watch.js";
18
+ import { init as oe, Group as K, Rect as S, Text as F, Line as W, Polyline as q } from "zrender";
19
+ import ae from "../../BackgroundGrid/index2.js";
20
+ var re = Object.defineProperty, ne = Object.getOwnPropertyDescriptor, O = (s, e, t, o) => {
21
+ for (var i = o > 1 ? void 0 : o ? ne(e, t) : e, r = s.length - 1, d; r >= 0; r--)
22
+ (d = s[r]) && (i = (o ? d(e, t, i) : d(i)) || i);
23
+ return o && i && re(e, t, i), i;
24
+ };
25
+ let _ = class extends ie {
26
+ constructor() {
27
+ super(...arguments), this.sceneIns = Object.freeze(null), this.AssistCtx = Object.freeze(null), this.waveFromGroup = Object.freeze(null), this.splitLineGroup = Object.freeze(null), this.rows = Object.freeze(3), this.columns = Object.freeze(2), this.splitLineW = Object.freeze(10), this.splitBlockHeight = Object.freeze(0), this.splitBlockWidth = Object.freeze(0), this.ratio = 1, this.leadData = Object.freeze([
28
+ { style: "Gyy", name: "II\u5BFC\u8054\u81EA\u529F\u7387\u8C31" },
29
+ { style: "Gxx", name: "V5\u5BFC\u8054\u81EA\u529F\u7387\u8C31" },
30
+ { style: "RF", name: "\u5FC3\u7535\u56FE\u76F8\u5E72\u51FD\u6570" },
31
+ { style: "Qxy", name: "\u5FC3\u7535\u56FE\u76F8\u4F4D\u4F20\u9012\u51FD\u6570" },
32
+ { style: "Vxy", name: "\u5FC3\u7535\u56FE\u4E92\u76F8\u5173\u51FD\u6570" },
33
+ { style: "PIH", name: "\u5FC3\u7535\u56FE\u8109\u51B2\u54CD\u5E94" }
34
+ ]);
35
+ }
36
+ watchWidth() {
37
+ this.repaint();
38
+ }
39
+ watchHeight() {
40
+ this.repaint();
41
+ }
42
+ watchGain() {
43
+ this.drawBlockWave();
44
+ }
45
+ destroyed() {
46
+ var s, e, t;
47
+ (s = this.waveFromGroup) == null || s.removeAll(), (e = this.splitLineGroup) == null || e.removeAll();
48
+ try {
49
+ (t = this.sceneIns) == null || t.dispose();
50
+ } catch (o) {
51
+ }
52
+ }
53
+ created() {
54
+ this.initConfig();
55
+ }
56
+ mounted() {
57
+ this.init();
58
+ }
59
+ repaint() {
60
+ var s, e;
61
+ (s = this.sceneIns) == null || s.clear(), (e = this.sceneIns) == null || e.resize({
62
+ width: this.width,
63
+ height: this.height
64
+ }), this.calcConfig(), this.combinationDrawing();
65
+ }
66
+ init() {
67
+ this.initWaveFormPeer(), this.combinationDrawing();
68
+ }
69
+ initWaveFormPeer() {
70
+ const s = document.getElementById("and2v5-leadpower-container");
71
+ this.sceneIns = oe(s, {
72
+ width: this.width,
73
+ height: this.height,
74
+ devicePixelRatio: 2
75
+ });
76
+ const e = document.getElementById(
77
+ "MXGrid_and2v5_leadpower"
78
+ );
79
+ this.AssistCtx = e.getContext("2d");
80
+ }
81
+ initConfig() {
82
+ this.calcConfig(), this.splitLineGroup = new K({
83
+ name: "splitLine"
84
+ }), this.waveFromGroup = new K({
85
+ name: "waveFrom"
86
+ });
87
+ }
88
+ calcConfig() {
89
+ var s, e, t, o;
90
+ this.splitBlockHeight = (this.height - this.splitLineW * (this.rows - 1)) / this.rows, this.splitBlockWidth = (this.width - this.splitLineW * (this.columns - 1)) / this.columns, this.splitBlockWidth < (((s = this.powerIIV5Info.config) == null ? void 0 : s.XAxisLen) || 0) + (((e = this.powerIIV5Info.config) == null ? void 0 : e.girdCell) || 0) && (this.ratio = this.splitBlockWidth / ((((t = this.powerIIV5Info.config) == null ? void 0 : t.XAxisLen) || 1) + (((o = this.powerIIV5Info.config) == null ? void 0 : o.girdCell) || 0)));
91
+ }
92
+ combinationDrawing() {
93
+ this.drawSplitLine(), this.drawBlockWave();
94
+ }
95
+ drawSplitLine() {
96
+ var s, e, t, o, i;
97
+ (s = this.splitLineGroup) != null && s.childCount() && ((e = this.sceneIns) == null || e.remove(this.splitLineGroup), this.splitLineGroup.removeAll());
98
+ for (let r = 1; r < this.rows; r++)
99
+ (t = this.splitLineGroup) == null || t.add(
100
+ new S({
101
+ name: `row_${r}`,
102
+ cursor: "",
103
+ shape: {
104
+ x: 0,
105
+ y: this.splitBlockHeight * r + (r - 1) * this.splitLineW,
106
+ width: this.width,
107
+ height: this.splitLineW
108
+ },
109
+ style: {
110
+ fill: "#fff"
111
+ }
112
+ })
113
+ );
114
+ for (let r = 1; r < this.columns; r++)
115
+ (o = this.splitLineGroup) == null || o.add(
116
+ new S({
117
+ name: `col_${r}`,
118
+ cursor: "",
119
+ shape: {
120
+ x: this.splitBlockWidth * r + (r - 1) * this.splitLineW,
121
+ y: 0,
122
+ width: this.splitLineW,
123
+ height: this.height
124
+ },
125
+ style: {
126
+ fill: "#fff"
127
+ }
128
+ })
129
+ );
130
+ (i = this.sceneIns) == null || i.add(this.splitLineGroup);
131
+ }
132
+ drawBlockWave() {
133
+ var u, w, f, h, I, V, G, g;
134
+ (u = this.waveFromGroup) != null && u.childCount() && ((w = this.sceneIns) == null || w.remove(this.waveFromGroup), this.waveFromGroup.removeAll());
135
+ const s = (((f = this.powerIIV5Info.config) == null ? void 0 : f.girdCell) || 0) * this.ratio, e = (((h = this.powerIIV5Info.config) == null ? void 0 : h.XAxisLen) || 0) * this.ratio, t = (((I = this.powerIIV5Info.config) == null ? void 0 : I.YAxisH) || 0) * this.ratio, o = (((V = this.powerIIV5Info.config) == null ? void 0 : V.unitHz) || 1) * this.ratio, i = (e - (e - s)) / (this.gridConfig.cellMg * this.ratio), r = Math.floor(e / o), d = 2048 * (((G = this.powerIIV5Info.config) == null ? void 0 : G.dRate_Y) || 1);
136
+ let c = 0, T = 0, p = 0, E = 0, B = 0, P = 0;
137
+ const C = {
138
+ stroke: "#000",
139
+ lineWidth: 1
140
+ };
141
+ let n = {};
142
+ for (let y = 1; y <= this.rows; y++) {
143
+ c = this.splitBlockHeight * y + (y - 1) * this.splitLineW, T = (this.splitBlockHeight + this.splitLineW) * (y - 1);
144
+ for (let v = 1; v <= this.columns; v++)
145
+ p = (this.splitBlockWidth + this.splitLineW) * (v - 1), E = p + s * 2, B = c - s * 2, P = v + (y - 1) * this.columns - 1, n = {
146
+ descrice: this.leadData[P],
147
+ oAX: E,
148
+ oAY: B,
149
+ YAxisH: t,
150
+ lineStyle: C,
151
+ XAxisLen: e,
152
+ girdCell: s,
153
+ lineXBlock: r,
154
+ unitHz: o,
155
+ orgStartY: T,
156
+ fixedValue: d,
157
+ orgStartX: p,
158
+ blockCells: i,
159
+ notifyIdx: v - 1
160
+ }, this.leadData[P].style === "Gyy" ? this.drawGyyAndGxx(n) : this.leadData[P].style === "Gxx" ? this.drawGyyAndGxx(n) : this.leadData[P].style === "RF" ? this.drawRF(n) : this.leadData[P].style === "Qxy" ? this.drawQxy(n) : this.leadData[P].style === "Vxy" ? this.drawVxy(n) : this.leadData[P].style === "PIH" && this.drawPIH(n);
161
+ }
162
+ (g = this.sceneIns) == null || g.add(this.waveFromGroup);
163
+ }
164
+ getGain(s, e, t) {
165
+ var c, T, p;
166
+ let o = -1, i = 1;
167
+ for (var r = 0; r < (((c = this.powerIIV5Info.config) == null ? void 0 : c.XAxisLen) || 0) && r < e.length; r += 2) {
168
+ var d = e[r / 2] / s / 16 / 6 * t * (((T = this.powerIIV5Info.config) == null ? void 0 : T.scale) || 1) * (((p = this.powerIIV5Info.config) == null ? void 0 : p.modulus_figPower) || 1);
169
+ d > o && (o = d);
170
+ }
171
+ return o < 20 ? i = 3 : o >= 20 && o <= 40 && (i = 2), i;
172
+ }
173
+ drawGyyAndGxx({
174
+ descrice: s,
175
+ oAX: e,
176
+ oAY: t,
177
+ YAxisH: o,
178
+ lineStyle: i,
179
+ XAxisLen: r,
180
+ girdCell: d,
181
+ lineXBlock: c,
182
+ unitHz: T,
183
+ orgStartY: p,
184
+ fixedValue: E,
185
+ orgStartX: B,
186
+ blockCells: P,
187
+ notifyIdx: C
188
+ }) {
189
+ var V, G, g, y, v, k, z, D, L, b, R, $, l, a, M;
190
+ let n = 0, u = 0;
191
+ const w = ((V = this.powerIIV5Info.dataInfo.AutoPowerSpectrum[C]) == null ? void 0 : V.WaveData) || [], f = this.getGain(E, w, d);
192
+ (G = this.waveFromGroup) == null || G.add(
193
+ new F({
194
+ cursor: "",
195
+ style: {
196
+ x: e,
197
+ y: p + 28,
198
+ text: s.style,
199
+ fontSize: 14,
200
+ fontFamily: "Arial"
201
+ }
202
+ })
203
+ ), (g = this.waveFromGroup) == null || g.add(
204
+ new F({
205
+ cursor: "",
206
+ style: {
207
+ x: e + d * 3,
208
+ y: p + 28,
209
+ text: s.name,
210
+ fontSize: 14,
211
+ fontFamily: "Arial"
212
+ }
213
+ })
214
+ ), (y = this.waveFromGroup) == null || y.add(
215
+ new W({
216
+ cursor: "",
217
+ shape: {
218
+ x1: e,
219
+ y1: t,
220
+ x2: e,
221
+ y2: t - o
222
+ },
223
+ style: i
224
+ })
225
+ ), (v = this.waveFromGroup) == null || v.add(
226
+ new W({
227
+ cursor: "",
228
+ shape: {
229
+ x1: e,
230
+ y1: t,
231
+ x2: e + r,
232
+ y2: t
233
+ },
234
+ style: i
235
+ })
236
+ );
237
+ for (let m = 0; m <= 3; m++)
238
+ n = t - 2 * d * m, m !== 0 && ((k = this.waveFromGroup) == null || k.add(
239
+ new F({
240
+ cursor: "",
241
+ style: {
242
+ x: C === 0 && m !== 0 ? e - 38 : e - 14,
243
+ y: n - 7,
244
+ text: `${C === 0 && m !== 0 ? (m / f).toFixed(2) : m}`,
245
+ fontSize: 14,
246
+ fontFamily: "Arial"
247
+ }
248
+ })
249
+ )), (z = this.waveFromGroup) == null || z.add(
250
+ new W({
251
+ cursor: "",
252
+ shape: {
253
+ x1: e,
254
+ y1: n,
255
+ x2: e - 4,
256
+ y2: n
257
+ },
258
+ style: i
259
+ })
260
+ );
261
+ for (let m = 0; m <= c; m++)
262
+ u = e + T * m, (D = this.waveFromGroup) == null || D.add(
263
+ new F({
264
+ cursor: "",
265
+ style: {
266
+ x: u - 6,
267
+ y: t + 7,
268
+ text: m * 5 + "",
269
+ fontSize: 14,
270
+ fontFamily: "Arial"
271
+ }
272
+ })
273
+ ), m === c && ((L = this.waveFromGroup) == null || L.add(
274
+ new F({
275
+ cursor: "",
276
+ style: {
277
+ x: e + T * c,
278
+ y: t - 30,
279
+ text: "HZ",
280
+ fontSize: 14,
281
+ fontFamily: "Arial"
282
+ }
283
+ })
284
+ )), (b = this.waveFromGroup) == null || b.add(
285
+ new W({
286
+ cursor: "",
287
+ shape: {
288
+ x1: u,
289
+ y1: t,
290
+ x2: u,
291
+ y2: t + 4
292
+ },
293
+ style: i
294
+ })
295
+ );
296
+ let h = 0;
297
+ const I = [];
298
+ for (; h < (((R = this.powerIIV5Info.config) == null ? void 0 : R.XAxisLen) || 0) - ((($ = this.powerIIV5Info.config) == null ? void 0 : $.girdCell) || 0) && w.length; h += 2) {
299
+ let m = w[h / 2] / E / 16 / this.gain.value * d * (((l = this.powerIIV5Info.config) == null ? void 0 : l.scale) || 1) * (((a = this.powerIIV5Info.config) == null ? void 0 : a.modulus_figPower) || 1);
300
+ m *= f, m > o && (m = o), h === 0 ? I.push([e, t - m]) : I.push([e + h * this.ratio, t - m]);
301
+ }
302
+ this.$emit("notifyPInfoPowerIIV5", {
303
+ key: "AutoPowerSpectrum",
304
+ ind: C,
305
+ blocks: P,
306
+ DataEndingPoint: (h - 2) / 2
307
+ }), (M = this.sceneIns) == null || M.add(
308
+ new q({
309
+ cursor: "",
310
+ shape: {
311
+ points: I
312
+ },
313
+ style: {
314
+ stroke: this.leadConfig.lineColor,
315
+ lineWidth: this.leadConfig.lineWidth
316
+ }
317
+ })
318
+ ), this.drawBlockTips(
319
+ B,
320
+ p,
321
+ s.style,
322
+ this.powerIIV5Info.dataInfo.AutoPowerSpectrum[C]
323
+ );
324
+ }
325
+ drawRF({
326
+ descrice: s,
327
+ oAX: e,
328
+ oAY: t,
329
+ YAxisH: o,
330
+ lineStyle: i,
331
+ XAxisLen: r,
332
+ girdCell: d,
333
+ lineXBlock: c,
334
+ unitHz: T,
335
+ orgStartY: p,
336
+ fixedValue: E,
337
+ orgStartX: B,
338
+ blockCells: P,
339
+ notifyIdx: C
340
+ }) {
341
+ var V, G, g, y, v, k, z, D, L, b, R, $, l;
342
+ let n = 0, u = 0;
343
+ const w = ((V = this.powerIIV5Info.dataInfo.RF) == null ? void 0 : V.WaveData) || [];
344
+ (G = this.waveFromGroup) == null || G.add(
345
+ new F({
346
+ cursor: "",
347
+ style: {
348
+ x: e,
349
+ y: p + 28,
350
+ text: s.style,
351
+ fontSize: 14,
352
+ fontFamily: "Arial"
353
+ }
354
+ })
355
+ ), (g = this.waveFromGroup) == null || g.add(
356
+ new F({
357
+ cursor: "",
358
+ style: {
359
+ x: e + d * 3,
360
+ y: p + 28,
361
+ text: s.name,
362
+ fontSize: 14,
363
+ fontFamily: "Arial"
364
+ }
365
+ })
366
+ ), (y = this.waveFromGroup) == null || y.add(
367
+ new W({
368
+ cursor: "",
369
+ shape: {
370
+ x1: e,
371
+ y1: t,
372
+ x2: e,
373
+ y2: t - o
374
+ },
375
+ style: i
376
+ })
377
+ ), (v = this.waveFromGroup) == null || v.add(
378
+ new W({
379
+ cursor: "",
380
+ shape: {
381
+ x1: e,
382
+ y1: t,
383
+ x2: e + r,
384
+ y2: t
385
+ },
386
+ style: i
387
+ })
388
+ );
389
+ for (let a = 0; a <= 1; a++)
390
+ n = t - 5 * d * a, a !== 0 && ((k = this.waveFromGroup) == null || k.add(
391
+ new F({
392
+ cursor: "",
393
+ style: {
394
+ x: e - 14,
395
+ y: n - 7,
396
+ text: `${a}`,
397
+ fontSize: 14,
398
+ fontFamily: "Arial"
399
+ }
400
+ })
401
+ ), (z = this.waveFromGroup) == null || z.add(
402
+ new W({
403
+ cursor: "",
404
+ shape: {
405
+ x1: e,
406
+ y1: n,
407
+ x2: e + r,
408
+ y2: n
409
+ },
410
+ style: J(U({}, i), {
411
+ stroke: "#FF6CFF"
412
+ })
413
+ })
414
+ )), (D = this.waveFromGroup) == null || D.add(
415
+ new W({
416
+ cursor: "",
417
+ shape: {
418
+ x1: e,
419
+ y1: n,
420
+ x2: e - 4,
421
+ y2: n
422
+ },
423
+ style: i
424
+ })
425
+ );
426
+ for (let a = 0; a <= c; a++)
427
+ u = e + T * a, (L = this.waveFromGroup) == null || L.add(
428
+ new F({
429
+ cursor: "",
430
+ style: {
431
+ x: u - 6,
432
+ y: t + 7,
433
+ text: a * 5 + "",
434
+ fontSize: 14,
435
+ fontFamily: "Arial"
436
+ }
437
+ })
438
+ ), a === c && ((b = this.waveFromGroup) == null || b.add(
439
+ new F({
440
+ cursor: "",
441
+ style: {
442
+ x: e + T * c,
443
+ y: t - 30,
444
+ text: "HZ",
445
+ fontSize: 14,
446
+ fontFamily: "Arial"
447
+ }
448
+ })
449
+ )), (R = this.waveFromGroup) == null || R.add(
450
+ new W({
451
+ cursor: "",
452
+ shape: {
453
+ x1: u,
454
+ y1: t,
455
+ x2: u,
456
+ y2: t + 4
457
+ },
458
+ style: i
459
+ })
460
+ );
461
+ const f = 5 * d;
462
+ let h = 0;
463
+ const I = [];
464
+ for (; h < ((($ = this.powerIIV5Info.config) == null ? void 0 : $.XAxisLen) || 0) - 20 && h < w.length; h += 2) {
465
+ let a = w[h / 2] * f;
466
+ a > o && (a = o), h === 0 ? I.push([e, t - a]) : I.push([e + h * this.ratio, t - a]);
467
+ }
468
+ this.$emit("notifyPInfoPowerIIV5", {
469
+ key: "RF",
470
+ ind: C,
471
+ blocks: P,
472
+ DataEndingPoint: (h - 2) / 2
473
+ }), (l = this.sceneIns) == null || l.add(
474
+ new q({
475
+ cursor: "",
476
+ shape: {
477
+ points: I
478
+ },
479
+ style: {
480
+ stroke: "#7875F8",
481
+ lineWidth: this.leadConfig.lineWidth * 1.5
482
+ }
483
+ })
484
+ ), this.drawBlockTips(
485
+ B,
486
+ p,
487
+ s.style,
488
+ this.powerIIV5Info.dataInfo.RF
489
+ );
490
+ }
491
+ drawQxy({
492
+ descrice: s,
493
+ oAX: e,
494
+ oAY: t,
495
+ YAxisH: o,
496
+ lineStyle: i,
497
+ XAxisLen: r,
498
+ girdCell: d,
499
+ lineXBlock: c,
500
+ unitHz: T,
501
+ orgStartY: p,
502
+ fixedValue: E,
503
+ orgStartX: B,
504
+ blockCells: P,
505
+ notifyIdx: C
506
+ }) {
507
+ var V, G, g, y, v, k, z, D, L, b, R, $;
508
+ let n = 0, u = 0;
509
+ const w = ((V = this.powerIIV5Info.dataInfo.Phase) == null ? void 0 : V.WaveData) || [], f = 3 * d;
510
+ (G = this.waveFromGroup) == null || G.add(
511
+ new F({
512
+ cursor: "",
513
+ style: {
514
+ x: e,
515
+ y: p + 28,
516
+ text: s.style,
517
+ fontSize: 14,
518
+ fontFamily: "Arial"
519
+ }
520
+ })
521
+ ), (g = this.waveFromGroup) == null || g.add(
522
+ new F({
523
+ cursor: "",
524
+ style: {
525
+ x: e + d * 3,
526
+ y: p + 28,
527
+ text: s.name,
528
+ fontSize: 14,
529
+ fontFamily: "Arial"
530
+ }
531
+ })
532
+ ), (y = this.waveFromGroup) == null || y.add(
533
+ new W({
534
+ cursor: "",
535
+ shape: {
536
+ x1: e,
537
+ y1: t,
538
+ x2: e,
539
+ y2: t - o
540
+ },
541
+ style: i
542
+ })
543
+ ), (v = this.waveFromGroup) == null || v.add(
544
+ new W({
545
+ cursor: "",
546
+ shape: {
547
+ x1: e,
548
+ y1: t - f,
549
+ x2: e + r,
550
+ y2: t - f
551
+ },
552
+ style: i
553
+ })
554
+ );
555
+ for (let l = 0; l <= 6; l++)
556
+ n = t - d * l, (k = this.waveFromGroup) == null || k.add(
557
+ new F({
558
+ cursor: "",
559
+ style: {
560
+ x: e - 7,
561
+ y: n - 7,
562
+ text: `${-180 + l * 60}`,
563
+ fontSize: 14,
564
+ fontFamily: "Arial",
565
+ align: "right"
566
+ }
567
+ })
568
+ ), (z = this.waveFromGroup) == null || z.add(
569
+ new W({
570
+ cursor: "",
571
+ shape: {
572
+ x1: e,
573
+ y1: n,
574
+ x2: e - 4,
575
+ y2: n
576
+ },
577
+ style: i
578
+ })
579
+ );
580
+ for (let l = 0; l <= c; l++)
581
+ u = e + T * l, l !== 0 && ((D = this.waveFromGroup) == null || D.add(
582
+ new F({
583
+ cursor: "",
584
+ style: {
585
+ x: u - 6,
586
+ y: t - f + 7,
587
+ text: l * 5 + "",
588
+ fontSize: 14,
589
+ fontFamily: "Arial"
590
+ }
591
+ })
592
+ )), l === c && ((L = this.waveFromGroup) == null || L.add(
593
+ new F({
594
+ cursor: "",
595
+ style: {
596
+ x: e + T * c,
597
+ y: t - f - 30,
598
+ text: "HZ",
599
+ fontSize: 14,
600
+ fontFamily: "Arial"
601
+ }
602
+ })
603
+ )), (b = this.waveFromGroup) == null || b.add(
604
+ new W({
605
+ cursor: "",
606
+ shape: {
607
+ x1: u,
608
+ y1: t - f,
609
+ x2: u,
610
+ y2: t - f + 4
611
+ },
612
+ style: i
613
+ })
614
+ );
615
+ let h = 0;
616
+ const I = [];
617
+ for (; h < (((R = this.powerIIV5Info.config) == null ? void 0 : R.XAxisLen) || 0) - 20 && h < w.length; h += 2) {
618
+ let l = w[h / 2] * f / Math.PI;
619
+ l > o && (l = o), l < -o && (l = -o), h === 0 ? I.push([e, t - f - l]) : I.push([e + h * this.ratio, t - f - l]);
620
+ }
621
+ this.$emit("notifyPInfoPowerIIV5", {
622
+ key: "Phase",
623
+ ind: C,
624
+ blocks: P,
625
+ DataEndingPoint: (h - 2) / 2
626
+ }), ($ = this.sceneIns) == null || $.add(
627
+ new q({
628
+ cursor: "",
629
+ shape: {
630
+ points: I
631
+ },
632
+ style: {
633
+ stroke: "#7875F8",
634
+ lineWidth: this.leadConfig.lineWidth * 1.5
635
+ }
636
+ })
637
+ ), this.drawBlockTips(
638
+ B,
639
+ p,
640
+ s.style,
641
+ this.powerIIV5Info.dataInfo.Phase
642
+ );
643
+ }
644
+ drawVxy({
645
+ descrice: s,
646
+ oAX: e,
647
+ oAY: t,
648
+ YAxisH: o,
649
+ lineStyle: i,
650
+ XAxisLen: r,
651
+ girdCell: d,
652
+ lineXBlock: c,
653
+ unitHz: T,
654
+ orgStartY: p,
655
+ fixedValue: E,
656
+ orgStartX: B,
657
+ blockCells: P,
658
+ notifyIdx: C
659
+ }) {
660
+ var g, y, v, k, z, D, L, b, R, $, l;
661
+ let n = 0;
662
+ const u = ((g = this.powerIIV5Info.dataInfo.CrossCorrelation) == null ? void 0 : g.WaveData) || [];
663
+ (y = this.waveFromGroup) == null || y.add(
664
+ new F({
665
+ cursor: "",
666
+ style: {
667
+ x: e,
668
+ y: p + 28,
669
+ text: s.style,
670
+ fontSize: 14,
671
+ fontFamily: "Arial"
672
+ }
673
+ })
674
+ ), (v = this.waveFromGroup) == null || v.add(
675
+ new F({
676
+ cursor: "",
677
+ style: {
678
+ x: e + d * 3,
679
+ y: p + 28,
680
+ text: s.name,
681
+ fontSize: 14,
682
+ fontFamily: "Arial"
683
+ }
684
+ })
685
+ ), (k = this.waveFromGroup) == null || k.add(
686
+ new W({
687
+ cursor: "",
688
+ shape: {
689
+ x1: e + r / 2,
690
+ y1: t,
691
+ x2: e + r / 2,
692
+ y2: t - o
693
+ },
694
+ style: i
695
+ })
696
+ ), (z = this.waveFromGroup) == null || z.add(
697
+ new W({
698
+ cursor: "",
699
+ shape: {
700
+ x1: e,
701
+ y1: t,
702
+ x2: e + r,
703
+ y2: t
704
+ },
705
+ style: i
706
+ })
707
+ );
708
+ for (let a = 0; a <= 6; a++)
709
+ n = e + d * 2 * a + d, (D = this.waveFromGroup) == null || D.add(
710
+ new F({
711
+ cursor: "",
712
+ style: {
713
+ x: n - 6,
714
+ y: t + 7,
715
+ text: a * 0.5 - 1.5 + "",
716
+ fontSize: 14,
717
+ fontFamily: "Arial"
718
+ }
719
+ })
720
+ ), a === 6 && ((L = this.waveFromGroup) == null || L.add(
721
+ new F({
722
+ cursor: "",
723
+ style: {
724
+ x: e + T * c,
725
+ y: t - 30,
726
+ text: "S",
727
+ fontSize: 14,
728
+ fontFamily: "Arial"
729
+ }
730
+ })
731
+ )), (b = this.waveFromGroup) == null || b.add(
732
+ new W({
733
+ cursor: "",
734
+ shape: {
735
+ x1: n,
736
+ y1: t,
737
+ x2: n,
738
+ y2: t + 4
739
+ },
740
+ style: i
741
+ })
742
+ );
743
+ let w = 60;
744
+ const f = [], h = ((R = this.powerIIV5Info.config) == null ? void 0 : R.modulus_figPower) || 1, I = 1 / (1e3 * 4096) / 4;
745
+ let V = -u[60] * I, G = 0;
746
+ for (let a = 60; a < u.length; a++)
747
+ G = -u[a] * I, G > V && G > 0 && (V = G);
748
+ for (; w * 1.5 - 87 < ((($ = this.powerIIV5Info.config) == null ? void 0 : $.XAxisLen) || 0) && w < u.length; w++) {
749
+ let a = u[w] * I * h;
750
+ a > o && (a = o), a < -o && (a = -o), f.push([
751
+ e + w * 1.5 * this.ratio - 87,
752
+ t - a - V * h
753
+ ]);
754
+ }
755
+ this.$emit("notifyPInfoPowerIIV5", {
756
+ key: "CrossCorrelation",
757
+ ind: C,
758
+ blocks: P,
759
+ DataEndingPoint: (w - 2) / 2
760
+ }), (l = this.sceneIns) == null || l.add(
761
+ new q({
762
+ cursor: "",
763
+ shape: {
764
+ points: f
765
+ },
766
+ style: {
767
+ stroke: "#7875F8",
768
+ lineWidth: this.leadConfig.lineWidth
769
+ }
770
+ })
771
+ ), this.drawBlockTips(
772
+ B,
773
+ p,
774
+ s.style,
775
+ this.powerIIV5Info.dataInfo.CrossCorrelation
776
+ );
777
+ }
778
+ drawPIH({
779
+ descrice: s,
780
+ oAX: e,
781
+ oAY: t,
782
+ YAxisH: o,
783
+ lineStyle: i,
784
+ XAxisLen: r,
785
+ girdCell: d,
786
+ lineXBlock: c,
787
+ unitHz: T,
788
+ orgStartY: p,
789
+ fixedValue: E,
790
+ orgStartX: B,
791
+ blockCells: P,
792
+ notifyIdx: C
793
+ }) {
794
+ var G, g, y, v, k, z, D, L, b, R, $, l;
795
+ let n = 0;
796
+ const u = ((G = this.powerIIV5Info.dataInfo.ImpluseResponse) == null ? void 0 : G.WaveData) || [];
797
+ (g = this.waveFromGroup) == null || g.add(
798
+ new F({
799
+ cursor: "",
800
+ style: {
801
+ x: e,
802
+ y: p + 28,
803
+ text: s.style,
804
+ fontSize: 14,
805
+ fontFamily: "Arial"
806
+ }
807
+ })
808
+ ), (y = this.waveFromGroup) == null || y.add(
809
+ new F({
810
+ cursor: "",
811
+ style: {
812
+ x: e + d * 3,
813
+ y: p + 28,
814
+ text: s.name,
815
+ fontSize: 14,
816
+ fontFamily: "Arial"
817
+ }
818
+ })
819
+ ), (v = this.waveFromGroup) == null || v.add(
820
+ new W({
821
+ cursor: "",
822
+ shape: {
823
+ x1: e + r / 2,
824
+ y1: t,
825
+ x2: e + r / 2,
826
+ y2: t - o
827
+ },
828
+ style: i
829
+ })
830
+ ), (k = this.waveFromGroup) == null || k.add(
831
+ new W({
832
+ cursor: "",
833
+ shape: {
834
+ x1: e,
835
+ y1: t,
836
+ x2: e + r,
837
+ y2: t
838
+ },
839
+ style: i
840
+ })
841
+ );
842
+ for (let a = 0; a <= 6; a++)
843
+ n = e + d * 2 * a + d, (z = this.waveFromGroup) == null || z.add(
844
+ new F({
845
+ cursor: "",
846
+ style: {
847
+ x: n - 6,
848
+ y: t + 7,
849
+ text: a * 0.5 - 1.5 + "",
850
+ fontSize: 14,
851
+ fontFamily: "Arial"
852
+ }
853
+ })
854
+ ), a === 6 && ((D = this.waveFromGroup) == null || D.add(
855
+ new F({
856
+ cursor: "",
857
+ style: {
858
+ x: e + T * c,
859
+ y: t - 30,
860
+ text: "S",
861
+ fontSize: 14,
862
+ fontFamily: "Arial"
863
+ }
864
+ })
865
+ )), (L = this.waveFromGroup) == null || L.add(
866
+ new W({
867
+ cursor: "",
868
+ shape: {
869
+ x1: n,
870
+ y1: t,
871
+ x2: n,
872
+ y2: t + 4
873
+ },
874
+ style: i
875
+ })
876
+ );
877
+ let w = 0;
878
+ const f = 3200, h = [], I = ((b = this.powerIIV5Info.config) == null ? void 0 : b.modulus_figPower) || 1, V = ((R = this.powerIIV5Info.config) == null ? void 0 : R.scale) || 1;
879
+ for (; w < ((($ = this.powerIIV5Info.config) == null ? void 0 : $.XAxisLen) || 0) && w < u.length; w++) {
880
+ let a = u[w] * f * V * I;
881
+ a > o && (a = o), a < -o && (a = -o), h.push([e + w * this.ratio * V, t - a]);
882
+ }
883
+ this.$emit("notifyPInfoPowerIIV5", {
884
+ key: "ImpluseResponse",
885
+ ind: C,
886
+ blocks: P,
887
+ DataEndingPoint: (w - 2) / 2
888
+ }), (l = this.sceneIns) == null || l.add(
889
+ new q({
890
+ cursor: "",
891
+ shape: {
892
+ points: h
893
+ },
894
+ style: {
895
+ stroke: "#7875F8",
896
+ lineWidth: this.leadConfig.lineWidth
897
+ }
898
+ })
899
+ ), this.drawBlockTips(
900
+ B,
901
+ p,
902
+ s.style,
903
+ this.powerIIV5Info.dataInfo.ImpluseResponse
904
+ );
905
+ }
906
+ drawBlockTips(s, e, t, o) {
907
+ var r, d, c, T, p, E, B, P, C, n, u, w, f, h, I, V, G, g, y, v, k, z, D, L, b, R, $, l, a, M, m, N;
908
+ const i = s + this.splitBlockWidth;
909
+ if (t === "Gyy" || t === "Gxx") {
910
+ const x = o;
911
+ (r = this.waveFromGroup) == null || r.add(
912
+ this.createTipsText(`X:${x.X}`, i - 110, e + 20)
913
+ ), (d = this.waveFromGroup) == null || d.add(
914
+ this.createTipsText(
915
+ `Y: ${this.gain.label}` || x.Y,
916
+ i - 110,
917
+ e + 40
918
+ )
919
+ ), (c = this.waveFromGroup) == null || c.add(
920
+ this.createTipsText("H", i - 110, e + 60)
921
+ ), (T = this.waveFromGroup) == null || T.add(
922
+ this.createTipsText(
923
+ `${x.H === "1" ? "+" : "-"}`,
924
+ i - 110,
925
+ e + 70
926
+ )
927
+ ), (p = this.waveFromGroup) == null || p.add(
928
+ this.createTipsText("U", i - 95, e + 60)
929
+ ), (E = this.waveFromGroup) == null || E.add(
930
+ this.createTipsText(
931
+ `${x.U === "1" ? "+" : "-"}`,
932
+ i - 95,
933
+ e + 70
934
+ )
935
+ ), (B = this.waveFromGroup) == null || B.add(
936
+ this.createTipsText("N", i - 80, e + 60)
937
+ ), (P = this.waveFromGroup) == null || P.add(
938
+ this.createTipsText(
939
+ x.N === "1" ? "+" : "-",
940
+ i - 80,
941
+ e + 70
942
+ )
943
+ ), (C = this.waveFromGroup) == null || C.add(
944
+ this.createTipsText("A", i - 65, e + 60)
945
+ ), (n = this.waveFromGroup) == null || n.add(
946
+ this.createTipsText(
947
+ x.A === "1" ? "+" : "-",
948
+ i - 65,
949
+ e + 70
950
+ )
951
+ ), (u = this.waveFromGroup) == null || u.add(
952
+ this.createTipsText("A5", i - 45, e + 60)
953
+ ), (w = this.waveFromGroup) == null || w.add(
954
+ this.createTipsText(
955
+ x.A5 === "1" ? "+" : "-",
956
+ i - 45,
957
+ e + 70
958
+ )
959
+ ), (f = this.waveFromGroup) == null || f.add(
960
+ this.createTipsText("Ra", i - 25, e + 60)
961
+ ), (h = this.waveFromGroup) == null || h.add(
962
+ this.createTipsText(
963
+ x.Ra === "1" ? "+" : "-",
964
+ i - 25,
965
+ e + 70
966
+ )
967
+ );
968
+ } else if (t === "RF") {
969
+ const x = o;
970
+ (I = this.waveFromGroup) == null || I.add(
971
+ this.createTipsText(`X:${x.X}`, i - 110, e + 20)
972
+ ), (V = this.waveFromGroup) == null || V.add(
973
+ this.createTipsText(`Y: ${x.Y}`, i - 110, e + 40)
974
+ ), (G = this.waveFromGroup) == null || G.add(
975
+ this.createTipsText("Rf", i - 110, e + 60)
976
+ ), (g = this.waveFromGroup) == null || g.add(
977
+ this.createTipsText(
978
+ `${x.Rf === "1" ? "+" : "-"}`,
979
+ i - 110,
980
+ e + 70
981
+ )
982
+ );
983
+ } else if (t === "Qxy") {
984
+ const x = o;
985
+ (y = this.waveFromGroup) == null || y.add(
986
+ this.createTipsText(`X:${x.X}`, i - 110, e + 20)
987
+ ), (v = this.waveFromGroup) == null || v.add(
988
+ this.createTipsText(`Y: ${x.Y}`, i - 110, e + 40)
989
+ ), (k = this.waveFromGroup) == null || k.add(
990
+ this.createTipsText("Pha", i - 110, e + 60)
991
+ ), (z = this.waveFromGroup) == null || z.add(
992
+ this.createTipsText(
993
+ `${x.Pha === "1" ? "+" : "-"}`,
994
+ i - 110,
995
+ e + 70
996
+ )
997
+ );
998
+ } else if (t === "Vxy") {
999
+ const x = o;
1000
+ (D = this.waveFromGroup) == null || D.add(
1001
+ this.createTipsText(`X:${x.X}`, i - 110, e + 20)
1002
+ );
1003
+ } else if (t === "PIH") {
1004
+ const x = o;
1005
+ (L = this.waveFromGroup) == null || L.add(
1006
+ this.createTipsText(`X:${x.X}`, i - 110, e + 20)
1007
+ ), (b = this.waveFromGroup) == null || b.add(
1008
+ this.createTipsText("f", i - 110, e + 60)
1009
+ ), (R = this.waveFromGroup) == null || R.add(
1010
+ this.createTipsText(
1011
+ `${x.f === "1" ? "+" : "-"}`,
1012
+ i - 110,
1013
+ e + 70
1014
+ )
1015
+ ), ($ = this.waveFromGroup) == null || $.add(
1016
+ this.createTipsText("M", i - 95, e + 60)
1017
+ ), (l = this.waveFromGroup) == null || l.add(
1018
+ this.createTipsText(
1019
+ `${x.M === "1" ? "+" : "-"}`,
1020
+ i - 95,
1021
+ e + 70
1022
+ )
1023
+ ), (a = this.waveFromGroup) == null || a.add(
1024
+ this.createTipsText("RSR", i - 80, e + 60)
1025
+ ), (M = this.waveFromGroup) == null || M.add(
1026
+ this.createTipsText(
1027
+ x.RSR === "1" ? "+" : "-",
1028
+ i - 70,
1029
+ e + 70
1030
+ )
1031
+ ), (m = this.waveFromGroup) == null || m.add(
1032
+ this.createTipsText("CSR", i - 45, e + 60)
1033
+ ), (N = this.waveFromGroup) == null || N.add(
1034
+ this.createTipsText(
1035
+ x.CSR === "1" ? "+" : "-",
1036
+ i - 35,
1037
+ e + 70
1038
+ )
1039
+ );
1040
+ }
1041
+ }
1042
+ createTipsText(s, e, t) {
1043
+ return new F({
1044
+ cursor: "",
1045
+ style: {
1046
+ x: e,
1047
+ y: t,
1048
+ text: s,
1049
+ fontSize: 14,
1050
+ fontFamily: "Arial",
1051
+ fill: "#000"
1052
+ }
1053
+ });
1054
+ }
1055
+ };
1056
+ O([
1057
+ j({
1058
+ required: !0,
1059
+ type: Number,
1060
+ validator: (s) => typeof s == "number"
1061
+ })
1062
+ ], _.prototype, "width", 2);
1063
+ O([
1064
+ j({
1065
+ required: !0,
1066
+ type: Number,
1067
+ validator: (s) => typeof s == "number"
1068
+ })
1069
+ ], _.prototype, "height", 2);
1070
+ O([
1071
+ j({
1072
+ required: !0
1073
+ })
1074
+ ], _.prototype, "gridConfig", 2);
1075
+ O([
1076
+ j({
1077
+ required: !0
1078
+ })
1079
+ ], _.prototype, "powerIIV5Info", 2);
1080
+ O([
1081
+ j({
1082
+ required: !0
1083
+ })
1084
+ ], _.prototype, "gain", 2);
1085
+ O([
1086
+ j({
1087
+ default: () => ({
1088
+ lineColor: "#7875F8",
1089
+ lineWidth: 1,
1090
+ fontFamily: "\u5FAE\u8F6F\u96C5\u9ED1",
1091
+ fontSize: 15
1092
+ })
1093
+ })
1094
+ ], _.prototype, "leadConfig", 2);
1095
+ O([
1096
+ Q("width")
1097
+ ], _.prototype, "watchWidth", 1);
1098
+ O([
1099
+ Q("height")
1100
+ ], _.prototype, "watchHeight", 1);
1101
+ O([
1102
+ Q("gain")
1103
+ ], _.prototype, "watchGain", 1);
1104
+ _ = O([
1105
+ se({
1106
+ name: "And2V5LeadPower",
1107
+ components: {
1108
+ MXBackgroundGrid: ae
1109
+ }
1110
+ })
1111
+ ], _);
1112
+ export {
1113
+ _ as default
1114
+ };