@kuriousdesign/machine-sdk 1.0.13 → 1.0.15
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/dist/enums/States.d.ts +2 -1
- package/dist/enums/States.js +1 -0
- package/package.json +1 -1
- package/src/enums/States.ts +9 -8
- package/dist/custom-types/Devices/BaseDevice.d.ts +0 -34
- package/dist/custom-types/Devices/BaseDevice.js +0 -2
- /package/dist/custom-types/Devices/{deviceTypes.d.ts → DeviceTypes.d.ts} +0 -0
- /package/dist/custom-types/Devices/{deviceTypes.js → DeviceTypes.js} +0 -0
package/dist/enums/States.d.ts
CHANGED
package/dist/enums/States.js
CHANGED
|
@@ -14,6 +14,7 @@ var VisibilityState;
|
|
|
14
14
|
VisibilityState[VisibilityState["StrobingFast"] = 5] = "StrobingFast";
|
|
15
15
|
VisibilityState[VisibilityState["StrobingSlow"] = 6] = "StrobingSlow";
|
|
16
16
|
VisibilityState[VisibilityState["GrowingSlow"] = 7] = "GrowingSlow";
|
|
17
|
+
VisibilityState[VisibilityState["Disabled"] = 8] = "Disabled";
|
|
17
18
|
})(VisibilityState || (exports.VisibilityState = VisibilityState = {}));
|
|
18
19
|
;
|
|
19
20
|
var States;
|
package/package.json
CHANGED
package/src/enums/States.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
export enum VisibilityState {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
Invisible = 0,
|
|
3
|
+
Visible = 1,
|
|
4
|
+
FlashingFast = 2,
|
|
5
|
+
FlashingMed = 3,
|
|
6
|
+
FlashingSlow = 4,
|
|
7
|
+
StrobingFast = 5,
|
|
8
|
+
StrobingSlow = 6,
|
|
9
|
+
GrowingSlow = 7,
|
|
10
|
+
Disabled = 8
|
|
10
11
|
};
|
|
11
12
|
|
|
12
13
|
export enum States {
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export interface DeviceCfg {
|
|
2
|
-
mnemonic: string;
|
|
3
|
-
id: number;
|
|
4
|
-
childId: number;
|
|
5
|
-
parentId: number;
|
|
6
|
-
}
|
|
7
|
-
export interface DeviceFaultData {
|
|
8
|
-
list: number[];
|
|
9
|
-
present: boolean;
|
|
10
|
-
}
|
|
11
|
-
export interface DeviceInputs {
|
|
12
|
-
instantKill_ON: boolean;
|
|
13
|
-
}
|
|
14
|
-
export interface DeviceParentCmds {
|
|
15
|
-
reset: boolean;
|
|
16
|
-
stop: boolean;
|
|
17
|
-
clearFlts: boolean;
|
|
18
|
-
start: boolean;
|
|
19
|
-
abort: boolean;
|
|
20
|
-
kill: boolean;
|
|
21
|
-
}
|
|
22
|
-
export interface DeviceStatus {
|
|
23
|
-
state: number;
|
|
24
|
-
stepNum: number;
|
|
25
|
-
colorCode: number;
|
|
26
|
-
}
|
|
27
|
-
export interface Device {
|
|
28
|
-
cfg: DeviceCfg;
|
|
29
|
-
is: DeviceStatus;
|
|
30
|
-
cmds: DeviceParentCmds;
|
|
31
|
-
errors: DeviceFaultData;
|
|
32
|
-
warnings: DeviceFaultData;
|
|
33
|
-
i: DeviceInputs;
|
|
34
|
-
}
|
|
File without changes
|
|
File without changes
|