ms-toollib 1.4.3 → 1.4.5
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.
- package/ms_toollib.d.ts +28 -4
- package/ms_toollib_bg.js +112 -12
- package/ms_toollib_bg.wasm +0 -0
- package/package.json +1 -1
package/ms_toollib.d.ts
CHANGED
|
@@ -172,6 +172,9 @@ export class AvfVideo {
|
|
|
172
172
|
*/
|
|
173
173
|
readonly get_current_event_id: number;
|
|
174
174
|
/**
|
|
175
|
+
*/
|
|
176
|
+
readonly get_device_uuid: Uint8Array;
|
|
177
|
+
/**
|
|
175
178
|
*/
|
|
176
179
|
readonly get_double: number;
|
|
177
180
|
/**
|
|
@@ -291,7 +294,10 @@ export class AvfVideo {
|
|
|
291
294
|
readonly get_uniqueness_designator: Uint8Array;
|
|
292
295
|
/**
|
|
293
296
|
*/
|
|
294
|
-
readonly
|
|
297
|
+
readonly get_video_end_time: number;
|
|
298
|
+
/**
|
|
299
|
+
*/
|
|
300
|
+
readonly get_video_start_time: number;
|
|
295
301
|
/**
|
|
296
302
|
* 返回当前光标的位置,播放录像用
|
|
297
303
|
*/
|
|
@@ -436,6 +442,9 @@ export class EvfVideo {
|
|
|
436
442
|
*/
|
|
437
443
|
readonly get_current_event_id: number;
|
|
438
444
|
/**
|
|
445
|
+
*/
|
|
446
|
+
readonly get_device_uuid: Uint8Array;
|
|
447
|
+
/**
|
|
439
448
|
*/
|
|
440
449
|
readonly get_double: number;
|
|
441
450
|
/**
|
|
@@ -555,7 +564,10 @@ export class EvfVideo {
|
|
|
555
564
|
readonly get_uniqueness_designator: Uint8Array;
|
|
556
565
|
/**
|
|
557
566
|
*/
|
|
558
|
-
readonly
|
|
567
|
+
readonly get_video_end_time: number;
|
|
568
|
+
/**
|
|
569
|
+
*/
|
|
570
|
+
readonly get_video_start_time: number;
|
|
559
571
|
/**
|
|
560
572
|
* 返回当前光标的位置,播放录像用
|
|
561
573
|
*/
|
|
@@ -759,6 +771,9 @@ export class MvfVideo {
|
|
|
759
771
|
*/
|
|
760
772
|
readonly get_current_event_id: number;
|
|
761
773
|
/**
|
|
774
|
+
*/
|
|
775
|
+
readonly get_device_uuid: Uint8Array;
|
|
776
|
+
/**
|
|
762
777
|
*/
|
|
763
778
|
readonly get_double: number;
|
|
764
779
|
/**
|
|
@@ -878,7 +893,10 @@ export class MvfVideo {
|
|
|
878
893
|
readonly get_uniqueness_designator: Uint8Array;
|
|
879
894
|
/**
|
|
880
895
|
*/
|
|
881
|
-
readonly
|
|
896
|
+
readonly get_video_end_time: number;
|
|
897
|
+
/**
|
|
898
|
+
*/
|
|
899
|
+
readonly get_video_start_time: number;
|
|
882
900
|
/**
|
|
883
901
|
* 返回当前光标的位置,播放录像用
|
|
884
902
|
*/
|
|
@@ -1012,6 +1030,9 @@ export class RmvVideo {
|
|
|
1012
1030
|
*/
|
|
1013
1031
|
readonly get_current_event_id: number;
|
|
1014
1032
|
/**
|
|
1033
|
+
*/
|
|
1034
|
+
readonly get_device_uuid: Uint8Array;
|
|
1035
|
+
/**
|
|
1015
1036
|
*/
|
|
1016
1037
|
readonly get_double: number;
|
|
1017
1038
|
/**
|
|
@@ -1131,7 +1152,10 @@ export class RmvVideo {
|
|
|
1131
1152
|
readonly get_uniqueness_designator: Uint8Array;
|
|
1132
1153
|
/**
|
|
1133
1154
|
*/
|
|
1134
|
-
readonly
|
|
1155
|
+
readonly get_video_end_time: number;
|
|
1156
|
+
/**
|
|
1157
|
+
*/
|
|
1158
|
+
readonly get_video_start_time: number;
|
|
1135
1159
|
/**
|
|
1136
1160
|
* 返回当前光标的位置,播放录像用
|
|
1137
1161
|
*/
|
package/ms_toollib_bg.js
CHANGED
|
@@ -287,6 +287,7 @@ export class AvfVideo {
|
|
|
287
287
|
get_race_designator: this.get_race_designator,
|
|
288
288
|
get_uniqueness_designator: this.get_uniqueness_designator,
|
|
289
289
|
get_country: this.get_country,
|
|
290
|
+
get_device_uuid: this.get_device_uuid,
|
|
290
291
|
get_bbbv: this.get_bbbv,
|
|
291
292
|
get_start_time: this.get_start_time,
|
|
292
293
|
get_end_time: this.get_end_time,
|
|
@@ -305,7 +306,8 @@ export class AvfVideo {
|
|
|
305
306
|
get_rtime: this.get_rtime,
|
|
306
307
|
get_rtime_ms: this.get_rtime_ms,
|
|
307
308
|
get_etime: this.get_etime,
|
|
308
|
-
|
|
309
|
+
get_video_start_time: this.get_video_start_time,
|
|
310
|
+
get_video_end_time: this.get_video_end_time,
|
|
309
311
|
get_bbbv_s: this.get_bbbv_s,
|
|
310
312
|
get_stnb: this.get_stnb,
|
|
311
313
|
get_rqp: this.get_rqp,
|
|
@@ -529,6 +531,22 @@ export class AvfVideo {
|
|
|
529
531
|
}
|
|
530
532
|
}
|
|
531
533
|
/**
|
|
534
|
+
* @returns {Uint8Array}
|
|
535
|
+
*/
|
|
536
|
+
get get_device_uuid() {
|
|
537
|
+
try {
|
|
538
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
539
|
+
wasm.avfvideo_get_device_uuid(retptr, this.__wbg_ptr);
|
|
540
|
+
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
541
|
+
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
542
|
+
var v1 = getArrayU8FromWasm0(r0, r1).slice();
|
|
543
|
+
wasm.__wbindgen_free(r0, r1 * 1, 1);
|
|
544
|
+
return v1;
|
|
545
|
+
} finally {
|
|
546
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
/**
|
|
532
550
|
* @returns {number}
|
|
533
551
|
*/
|
|
534
552
|
get get_bbbv() {
|
|
@@ -675,8 +693,15 @@ export class AvfVideo {
|
|
|
675
693
|
/**
|
|
676
694
|
* @returns {number}
|
|
677
695
|
*/
|
|
678
|
-
get
|
|
679
|
-
const ret = wasm.
|
|
696
|
+
get get_video_start_time() {
|
|
697
|
+
const ret = wasm.avfvideo_get_video_start_time(this.__wbg_ptr);
|
|
698
|
+
return ret;
|
|
699
|
+
}
|
|
700
|
+
/**
|
|
701
|
+
* @returns {number}
|
|
702
|
+
*/
|
|
703
|
+
get get_video_end_time() {
|
|
704
|
+
const ret = wasm.avfvideo_get_video_end_time(this.__wbg_ptr);
|
|
680
705
|
return ret;
|
|
681
706
|
}
|
|
682
707
|
/**
|
|
@@ -1075,6 +1100,7 @@ export class EvfVideo {
|
|
|
1075
1100
|
get_race_designator: this.get_race_designator,
|
|
1076
1101
|
get_uniqueness_designator: this.get_uniqueness_designator,
|
|
1077
1102
|
get_country: this.get_country,
|
|
1103
|
+
get_device_uuid: this.get_device_uuid,
|
|
1078
1104
|
get_bbbv: this.get_bbbv,
|
|
1079
1105
|
get_start_time: this.get_start_time,
|
|
1080
1106
|
get_end_time: this.get_end_time,
|
|
@@ -1093,7 +1119,8 @@ export class EvfVideo {
|
|
|
1093
1119
|
get_rtime: this.get_rtime,
|
|
1094
1120
|
get_rtime_ms: this.get_rtime_ms,
|
|
1095
1121
|
get_etime: this.get_etime,
|
|
1096
|
-
|
|
1122
|
+
get_video_start_time: this.get_video_start_time,
|
|
1123
|
+
get_video_end_time: this.get_video_end_time,
|
|
1097
1124
|
get_bbbv_s: this.get_bbbv_s,
|
|
1098
1125
|
get_stnb: this.get_stnb,
|
|
1099
1126
|
get_rqp: this.get_rqp,
|
|
@@ -1317,6 +1344,22 @@ export class EvfVideo {
|
|
|
1317
1344
|
}
|
|
1318
1345
|
}
|
|
1319
1346
|
/**
|
|
1347
|
+
* @returns {Uint8Array}
|
|
1348
|
+
*/
|
|
1349
|
+
get get_device_uuid() {
|
|
1350
|
+
try {
|
|
1351
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1352
|
+
wasm.avfvideo_get_device_uuid(retptr, this.__wbg_ptr);
|
|
1353
|
+
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
1354
|
+
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
1355
|
+
var v1 = getArrayU8FromWasm0(r0, r1).slice();
|
|
1356
|
+
wasm.__wbindgen_free(r0, r1 * 1, 1);
|
|
1357
|
+
return v1;
|
|
1358
|
+
} finally {
|
|
1359
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
1360
|
+
}
|
|
1361
|
+
}
|
|
1362
|
+
/**
|
|
1320
1363
|
* @returns {number}
|
|
1321
1364
|
*/
|
|
1322
1365
|
get get_bbbv() {
|
|
@@ -1463,8 +1506,15 @@ export class EvfVideo {
|
|
|
1463
1506
|
/**
|
|
1464
1507
|
* @returns {number}
|
|
1465
1508
|
*/
|
|
1466
|
-
get
|
|
1467
|
-
const ret = wasm.
|
|
1509
|
+
get get_video_start_time() {
|
|
1510
|
+
const ret = wasm.avfvideo_get_video_start_time(this.__wbg_ptr);
|
|
1511
|
+
return ret;
|
|
1512
|
+
}
|
|
1513
|
+
/**
|
|
1514
|
+
* @returns {number}
|
|
1515
|
+
*/
|
|
1516
|
+
get get_video_end_time() {
|
|
1517
|
+
const ret = wasm.avfvideo_get_video_end_time(this.__wbg_ptr);
|
|
1468
1518
|
return ret;
|
|
1469
1519
|
}
|
|
1470
1520
|
/**
|
|
@@ -2010,6 +2060,7 @@ export class MvfVideo {
|
|
|
2010
2060
|
get_race_designator: this.get_race_designator,
|
|
2011
2061
|
get_uniqueness_designator: this.get_uniqueness_designator,
|
|
2012
2062
|
get_country: this.get_country,
|
|
2063
|
+
get_device_uuid: this.get_device_uuid,
|
|
2013
2064
|
get_bbbv: this.get_bbbv,
|
|
2014
2065
|
get_start_time: this.get_start_time,
|
|
2015
2066
|
get_end_time: this.get_end_time,
|
|
@@ -2028,7 +2079,8 @@ export class MvfVideo {
|
|
|
2028
2079
|
get_rtime: this.get_rtime,
|
|
2029
2080
|
get_rtime_ms: this.get_rtime_ms,
|
|
2030
2081
|
get_etime: this.get_etime,
|
|
2031
|
-
|
|
2082
|
+
get_video_start_time: this.get_video_start_time,
|
|
2083
|
+
get_video_end_time: this.get_video_end_time,
|
|
2032
2084
|
get_bbbv_s: this.get_bbbv_s,
|
|
2033
2085
|
get_stnb: this.get_stnb,
|
|
2034
2086
|
get_rqp: this.get_rqp,
|
|
@@ -2252,6 +2304,22 @@ export class MvfVideo {
|
|
|
2252
2304
|
}
|
|
2253
2305
|
}
|
|
2254
2306
|
/**
|
|
2307
|
+
* @returns {Uint8Array}
|
|
2308
|
+
*/
|
|
2309
|
+
get get_device_uuid() {
|
|
2310
|
+
try {
|
|
2311
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
2312
|
+
wasm.avfvideo_get_device_uuid(retptr, this.__wbg_ptr);
|
|
2313
|
+
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
2314
|
+
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
2315
|
+
var v1 = getArrayU8FromWasm0(r0, r1).slice();
|
|
2316
|
+
wasm.__wbindgen_free(r0, r1 * 1, 1);
|
|
2317
|
+
return v1;
|
|
2318
|
+
} finally {
|
|
2319
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
2320
|
+
}
|
|
2321
|
+
}
|
|
2322
|
+
/**
|
|
2255
2323
|
* @returns {number}
|
|
2256
2324
|
*/
|
|
2257
2325
|
get get_bbbv() {
|
|
@@ -2398,8 +2466,15 @@ export class MvfVideo {
|
|
|
2398
2466
|
/**
|
|
2399
2467
|
* @returns {number}
|
|
2400
2468
|
*/
|
|
2401
|
-
get
|
|
2402
|
-
const ret = wasm.
|
|
2469
|
+
get get_video_start_time() {
|
|
2470
|
+
const ret = wasm.avfvideo_get_video_start_time(this.__wbg_ptr);
|
|
2471
|
+
return ret;
|
|
2472
|
+
}
|
|
2473
|
+
/**
|
|
2474
|
+
* @returns {number}
|
|
2475
|
+
*/
|
|
2476
|
+
get get_video_end_time() {
|
|
2477
|
+
const ret = wasm.avfvideo_get_video_end_time(this.__wbg_ptr);
|
|
2403
2478
|
return ret;
|
|
2404
2479
|
}
|
|
2405
2480
|
/**
|
|
@@ -2748,6 +2823,7 @@ export class RmvVideo {
|
|
|
2748
2823
|
get_race_designator: this.get_race_designator,
|
|
2749
2824
|
get_uniqueness_designator: this.get_uniqueness_designator,
|
|
2750
2825
|
get_country: this.get_country,
|
|
2826
|
+
get_device_uuid: this.get_device_uuid,
|
|
2751
2827
|
get_bbbv: this.get_bbbv,
|
|
2752
2828
|
get_start_time: this.get_start_time,
|
|
2753
2829
|
get_end_time: this.get_end_time,
|
|
@@ -2766,7 +2842,8 @@ export class RmvVideo {
|
|
|
2766
2842
|
get_rtime: this.get_rtime,
|
|
2767
2843
|
get_rtime_ms: this.get_rtime_ms,
|
|
2768
2844
|
get_etime: this.get_etime,
|
|
2769
|
-
|
|
2845
|
+
get_video_start_time: this.get_video_start_time,
|
|
2846
|
+
get_video_end_time: this.get_video_end_time,
|
|
2770
2847
|
get_bbbv_s: this.get_bbbv_s,
|
|
2771
2848
|
get_stnb: this.get_stnb,
|
|
2772
2849
|
get_rqp: this.get_rqp,
|
|
@@ -2990,6 +3067,22 @@ export class RmvVideo {
|
|
|
2990
3067
|
}
|
|
2991
3068
|
}
|
|
2992
3069
|
/**
|
|
3070
|
+
* @returns {Uint8Array}
|
|
3071
|
+
*/
|
|
3072
|
+
get get_device_uuid() {
|
|
3073
|
+
try {
|
|
3074
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3075
|
+
wasm.avfvideo_get_device_uuid(retptr, this.__wbg_ptr);
|
|
3076
|
+
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
3077
|
+
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
3078
|
+
var v1 = getArrayU8FromWasm0(r0, r1).slice();
|
|
3079
|
+
wasm.__wbindgen_free(r0, r1 * 1, 1);
|
|
3080
|
+
return v1;
|
|
3081
|
+
} finally {
|
|
3082
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
3083
|
+
}
|
|
3084
|
+
}
|
|
3085
|
+
/**
|
|
2993
3086
|
* @returns {number}
|
|
2994
3087
|
*/
|
|
2995
3088
|
get get_bbbv() {
|
|
@@ -3136,8 +3229,15 @@ export class RmvVideo {
|
|
|
3136
3229
|
/**
|
|
3137
3230
|
* @returns {number}
|
|
3138
3231
|
*/
|
|
3139
|
-
get
|
|
3140
|
-
const ret = wasm.
|
|
3232
|
+
get get_video_start_time() {
|
|
3233
|
+
const ret = wasm.avfvideo_get_video_start_time(this.__wbg_ptr);
|
|
3234
|
+
return ret;
|
|
3235
|
+
}
|
|
3236
|
+
/**
|
|
3237
|
+
* @returns {number}
|
|
3238
|
+
*/
|
|
3239
|
+
get get_video_end_time() {
|
|
3240
|
+
const ret = wasm.avfvideo_get_video_end_time(this.__wbg_ptr);
|
|
3141
3241
|
return ret;
|
|
3142
3242
|
}
|
|
3143
3243
|
/**
|
package/ms_toollib_bg.wasm
CHANGED
|
Binary file
|