@duet3d/objectmodel 3.5.0-beta.44 → 3.5.0-beta.46
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/heat/HeaterMonitor.d.ts +1 -0
- package/dist/heat/HeaterMonitor.js +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/ledStrips/index.d.ts +10 -0
- package/dist/ledStrips/index.js +18 -0
- package/dist/limits/index.d.ts +2 -0
- package/dist/limits/index.js +2 -0
- package/dist/sensors/Probe.d.ts +3 -0
- package/dist/sensors/Probe.js +3 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -26,6 +26,7 @@ __exportStar(require("./fans"), exports);
|
|
|
26
26
|
__exportStar(require("./heat"), exports);
|
|
27
27
|
__exportStar(require("./inputs"), exports);
|
|
28
28
|
__exportStar(require("./job"), exports);
|
|
29
|
+
__exportStar(require("./ledStrips"), exports);
|
|
29
30
|
__exportStar(require("./limits"), exports);
|
|
30
31
|
__exportStar(require("./messages"), exports);
|
|
31
32
|
__exportStar(require("./move"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import ModelObject from "../ModelObject";
|
|
2
|
+
export declare enum LedStripType {
|
|
3
|
+
DotStar = "DotStar",
|
|
4
|
+
NeoPixel_RGB = "NeoPixel_RGB",
|
|
5
|
+
NeoPixel_RGBW = "NeoPixel_RGBW"
|
|
6
|
+
}
|
|
7
|
+
export declare class LedStrip extends ModelObject {
|
|
8
|
+
type: LedStripType;
|
|
9
|
+
}
|
|
10
|
+
export default LedStrip;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LedStrip = exports.LedStripType = void 0;
|
|
4
|
+
const ModelObject_1 = require("../ModelObject");
|
|
5
|
+
var LedStripType;
|
|
6
|
+
(function (LedStripType) {
|
|
7
|
+
LedStripType["DotStar"] = "DotStar";
|
|
8
|
+
LedStripType["NeoPixel_RGB"] = "NeoPixel_RGB";
|
|
9
|
+
LedStripType["NeoPixel_RGBW"] = "NeoPixel_RGBW";
|
|
10
|
+
})(LedStripType = exports.LedStripType || (exports.LedStripType = {}));
|
|
11
|
+
class LedStrip extends ModelObject_1.default {
|
|
12
|
+
constructor() {
|
|
13
|
+
super(...arguments);
|
|
14
|
+
this.type = LedStripType.DotStar;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.LedStrip = LedStrip;
|
|
18
|
+
exports.default = LedStrip;
|
package/dist/limits/index.d.ts
CHANGED
|
@@ -14,7 +14,9 @@ export declare class Limits extends ModelObject {
|
|
|
14
14
|
gpOutPorts: number | null;
|
|
15
15
|
heaters: number | null;
|
|
16
16
|
heatersPerTool: number | null;
|
|
17
|
+
ledStrips: number | null;
|
|
17
18
|
monitorsPerHeater: number | null;
|
|
19
|
+
portsPerHeater: number | null;
|
|
18
20
|
restorePoints: number | null;
|
|
19
21
|
sensors: number | null;
|
|
20
22
|
spindles: number | null;
|
package/dist/limits/index.js
CHANGED
|
@@ -19,7 +19,9 @@ class Limits extends ModelObject_1.default {
|
|
|
19
19
|
this.gpOutPorts = null;
|
|
20
20
|
this.heaters = null;
|
|
21
21
|
this.heatersPerTool = null;
|
|
22
|
+
this.ledStrips = null;
|
|
22
23
|
this.monitorsPerHeater = null;
|
|
24
|
+
this.portsPerHeater = null;
|
|
23
25
|
this.restorePoints = null;
|
|
24
26
|
this.sensors = null;
|
|
25
27
|
this.spindles = null;
|
package/dist/sensors/Probe.d.ts
CHANGED
|
@@ -13,10 +13,13 @@ export declare enum ProbeType {
|
|
|
13
13
|
zMotorStall = 10
|
|
14
14
|
}
|
|
15
15
|
export declare class Probe extends ModelObject {
|
|
16
|
+
calibA: number | null;
|
|
17
|
+
calibB: number | null;
|
|
16
18
|
calibrationTemperature: number;
|
|
17
19
|
deployedByUser: boolean;
|
|
18
20
|
disablesHeaters: boolean;
|
|
19
21
|
diveHeight: number;
|
|
22
|
+
isCalibrated: boolean | null;
|
|
20
23
|
lastStopHeight: number;
|
|
21
24
|
maxProbeCount: number;
|
|
22
25
|
offsets: Array<number>;
|
package/dist/sensors/Probe.js
CHANGED
|
@@ -19,10 +19,13 @@ var ProbeType;
|
|
|
19
19
|
class Probe extends ModelObject_1.default {
|
|
20
20
|
constructor() {
|
|
21
21
|
super(...arguments);
|
|
22
|
+
this.calibA = null;
|
|
23
|
+
this.calibB = null;
|
|
22
24
|
this.calibrationTemperature = 0;
|
|
23
25
|
this.deployedByUser = false;
|
|
24
26
|
this.disablesHeaters = false;
|
|
25
27
|
this.diveHeight = 5;
|
|
28
|
+
this.isCalibrated = null;
|
|
26
29
|
this.lastStopHeight = 0;
|
|
27
30
|
this.maxProbeCount = 1;
|
|
28
31
|
this.offsets = [0, 0];
|