@duet3d/objectmodel 3.7.0-beta.2 → 3.7.0-beta.4
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/boards/index.d.ts +1 -0
- package/dist/boards/index.js +1 -0
- package/dist/documentation.json +6 -0
- package/dist/move/index.d.ts +1 -0
- package/dist/move/index.js +1 -0
- package/dist/sbc/Upgrade.d.ts +6 -0
- package/dist/sbc/Upgrade.js +9 -0
- package/dist/sbc/index.d.ts +4 -0
- package/dist/sbc/index.js +5 -1
- package/dist/state/RestorePoint.js +1 -1
- package/package.json +1 -1
package/dist/boards/index.d.ts
CHANGED
package/dist/boards/index.js
CHANGED
package/dist/documentation.json
CHANGED
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
76
|
"boards[].supportsDirectDisplay": "Indicates if this board supports external displays",
|
|
77
|
+
"boards[].timeout": "Connection timeout of this board (in s)",
|
|
77
78
|
"boards[].uniqueId": "Unique identifier of the board or null if unknown",
|
|
78
79
|
"boards[].v12": "Minimum, maximum, and current voltages on the 12V rail or null if unknown",
|
|
79
80
|
"boards[].v12.current": "Current value",
|
|
@@ -498,6 +499,7 @@
|
|
|
498
499
|
"move.currentMove.distance": "Total distance of the current move (in mm)",
|
|
499
500
|
"move.currentMove.duration": "Duration of the current move (in s)",
|
|
500
501
|
"move.currentMove.extrusionRate": "Current extrusion rate (in mm/s)",
|
|
502
|
+
"move.currentMove.filePosition": "Position in the job file of the move being executed (in bytes or null)",
|
|
501
503
|
"move.currentMove.laserPwm": "Laser PWM of the current move (0..1) or null if not applicable",
|
|
502
504
|
"move.currentMove.requestedSpeed": "Requested speed of the current move (in mm/s)",
|
|
503
505
|
"move.currentMove.topSpeed": "Top speed of the current move (in mm/s)",
|
|
@@ -565,6 +567,7 @@
|
|
|
565
567
|
"move.motionSystems[].currentMove.distance": "Total distance of the current move (in mm)",
|
|
566
568
|
"move.motionSystems[].currentMove.duration": "Duration of the current move (in s)",
|
|
567
569
|
"move.motionSystems[].currentMove.extrusionRate": "Current extrusion rate (in mm/s)",
|
|
570
|
+
"move.motionSystems[].currentMove.filePosition": "Position in the job file of the move being executed (in bytes or null)",
|
|
568
571
|
"move.motionSystems[].currentMove.laserPwm": "Laser PWM of the current move (0..1) or null if not applicable",
|
|
569
572
|
"move.motionSystems[].currentMove.requestedSpeed": "Requested speed of the current move (in mm/s)",
|
|
570
573
|
"move.motionSystems[].currentMove.topSpeed": "Top speed of the current move (in mm/s)",
|
|
@@ -782,6 +785,9 @@
|
|
|
782
785
|
"sbc.memory.total": "Total memory (in bytes)",
|
|
783
786
|
"sbc.model": "SBC model or null if unknown",
|
|
784
787
|
"sbc.serial": "Serial of the SBC or null if unknown",
|
|
788
|
+
"sbc.upgrade": "Details about a software upgrade in progress or null if no upgrade is running",
|
|
789
|
+
"sbc.upgrade.message": "Description of the current upgrade step",
|
|
790
|
+
"sbc.upgrade.progress": "Progress of the current upgrade step (0..1) or null if indeterminate",
|
|
785
791
|
"sbc.uptime": "Uptime of the running system (in s)",
|
|
786
792
|
"sensors": "Information about connected sensors including Z-probes and endstops",
|
|
787
793
|
"sensors.analog": "List of analog sensors",
|
package/dist/move/index.d.ts
CHANGED
package/dist/move/index.js
CHANGED
package/dist/sbc/index.d.ts
CHANGED
|
@@ -2,7 +2,9 @@ import ModelObject from "../ModelObject";
|
|
|
2
2
|
import DSF from "./dsf";
|
|
3
3
|
import CPU from "./CPU";
|
|
4
4
|
import Memory from "./Memory";
|
|
5
|
+
import Upgrade from "./Upgrade";
|
|
5
6
|
export declare class SBC extends ModelObject {
|
|
7
|
+
constructor();
|
|
6
8
|
appArmor: boolean;
|
|
7
9
|
readonly cpu: CPU;
|
|
8
10
|
readonly dsf: DSF;
|
|
@@ -11,9 +13,11 @@ export declare class SBC extends ModelObject {
|
|
|
11
13
|
readonly memory: Memory;
|
|
12
14
|
model: string | null;
|
|
13
15
|
serial: string | null;
|
|
16
|
+
upgrade: Upgrade | null;
|
|
14
17
|
uptime: number | null;
|
|
15
18
|
}
|
|
16
19
|
export default SBC;
|
|
17
20
|
export * from "./dsf";
|
|
18
21
|
export * from "./CPU";
|
|
19
22
|
export * from "./Memory";
|
|
23
|
+
export * from "./Upgrade";
|
package/dist/sbc/index.js
CHANGED
|
@@ -2,9 +2,10 @@ import ModelObject from "../ModelObject";
|
|
|
2
2
|
import DSF from "./dsf";
|
|
3
3
|
import CPU from "./CPU";
|
|
4
4
|
import Memory from "./Memory";
|
|
5
|
+
import Upgrade from "./Upgrade";
|
|
5
6
|
export class SBC extends ModelObject {
|
|
6
7
|
constructor() {
|
|
7
|
-
super(
|
|
8
|
+
super();
|
|
8
9
|
this.appArmor = false;
|
|
9
10
|
this.cpu = new CPU();
|
|
10
11
|
this.dsf = new DSF();
|
|
@@ -13,10 +14,13 @@ export class SBC extends ModelObject {
|
|
|
13
14
|
this.memory = new Memory();
|
|
14
15
|
this.model = null;
|
|
15
16
|
this.serial = null;
|
|
17
|
+
this.upgrade = null;
|
|
16
18
|
this.uptime = null;
|
|
19
|
+
ModelObject.wrapModelProperty(this, "upgrade", Upgrade);
|
|
17
20
|
}
|
|
18
21
|
}
|
|
19
22
|
export default SBC;
|
|
20
23
|
export * from "./dsf";
|
|
21
24
|
export * from "./CPU";
|
|
22
25
|
export * from "./Memory";
|
|
26
|
+
export * from "./Upgrade";
|