mini_program_gizwits_sdk 3.3.2 → 3.3.25-kuka

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,7 +0,0 @@
1
- import ProtocolBase from "./ProtocolBase";
2
- declare type IStatus = 0 | 1;
3
- declare class SetReset extends ProtocolBase {
4
- status: IStatus;
5
- static pack: (status: 0 | 1) => number[];
6
- }
7
- export default SetReset;
@@ -1,16 +0,0 @@
1
- import ProtocolBase from "./ProtocolBase";
2
- import { arrayToString } from "./tool";
3
-
4
- type IStatus = 0 | 1;
5
- class Reset extends ProtocolBase {
6
- status: IStatus = 0; // 0 没有进入重置 1 进入了重置状态
7
- constructor(data: number[]) {
8
- super(data);
9
- this.status = this.content[0] as IStatus;
10
- }
11
- static pack = () => {
12
- return [0,0,0,3,3,0,0,0x61];
13
- }
14
- }
15
-
16
- export default Reset;
@@ -1,13 +0,0 @@
1
- import ProtocolBase from "./ProtocolBase";
2
- import { arrayToString } from "./tool";
3
-
4
-
5
- type IStatus = 0 | 1;
6
- class SetReset extends ProtocolBase {
7
- status: IStatus = 0; // 0 没有进入重置 1 进入了重置状态
8
- static pack = (status: IStatus) => {
9
- return [0,0,0,3,3,0,0,0x63, status];
10
- }
11
- }
12
-
13
- export default SetReset;