@duet3d/objectmodel 3.6.0-rc.2 → 3.6.0-rc.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.
@@ -14,6 +14,8 @@ export declare class Heater extends ModelObject {
14
14
  active: number;
15
15
  avgPwm: number;
16
16
  current: number;
17
+ extrPwmBoost: number | null;
18
+ extrTempBoost: number | null;
17
19
  max: number;
18
20
  maxBadReadings: number;
19
21
  maxHeatingFaultTime: number;
@@ -20,6 +20,8 @@ class Heater extends ModelObject_1.default {
20
20
  this.active = 0;
21
21
  this.avgPwm = 0;
22
22
  this.current = -273.15;
23
+ this.extrPwmBoost = null;
24
+ this.extrTempBoost = null;
23
25
  this.max = 285;
24
26
  this.maxBadReadings = 3;
25
27
  this.maxHeatingFaultTime = 5;
@@ -17,7 +17,6 @@ export declare class LaserFilamentMonitor extends Duet3DFilamentMonitor {
17
17
  constructor();
18
18
  calibrated: LaserFilamentMonitorCalibrated | null;
19
19
  readonly configured: LaserFilamentMonitorConfigured;
20
- position: number;
21
20
  update(jsonElement: any): IModelObject | null;
22
21
  }
23
22
  export default LaserFilamentMonitor;
@@ -31,7 +31,6 @@ class LaserFilamentMonitor extends Duet3DFilamentMonitor_1.Duet3DFilamentMonitor
31
31
  super(FilamentMonitorBase_1.FilamentMonitorType.laser);
32
32
  this.calibrated = new LaserFilamentMonitorCalibrated();
33
33
  this.configured = new LaserFilamentMonitorConfigured();
34
- this.position = 0;
35
34
  ModelObject_1.default.wrapModelProperty(this, "calibrated", LaserFilamentMonitorCalibrated);
36
35
  }
37
36
  update(jsonElement) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duet3d/objectmodel",
3
- "version": "3.6.0-rc.2",
3
+ "version": "3.6.0-rc.4",
4
4
  "description": "TypeScript implementation of the Duet3D Object Model",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,19 +0,0 @@
1
- import ModelObject from "../ModelObject";
2
- export declare enum HttpEndpointType {
3
- GET = "GET",
4
- POST = "POST",
5
- PUT = "PUT",
6
- PATCH = "PATCH",
7
- TRACE = "TRACE",
8
- DELETE = "DELETE",
9
- OPTIONS = "OPTIONS",
10
- WebSocket = "WebSocket"
11
- }
12
- export declare class HttpEndpoint extends ModelObject {
13
- endpointType: HttpEndpointType;
14
- namespace: string;
15
- path: string;
16
- isUploadRequest: boolean;
17
- unixSocket: string;
18
- }
19
- export default HttpEndpoint;
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HttpEndpoint = exports.HttpEndpointType = void 0;
4
- const ModelObject_1 = require("../ModelObject");
5
- var HttpEndpointType;
6
- (function (HttpEndpointType) {
7
- HttpEndpointType["GET"] = "GET";
8
- HttpEndpointType["POST"] = "POST";
9
- HttpEndpointType["PUT"] = "PUT";
10
- HttpEndpointType["PATCH"] = "PATCH";
11
- HttpEndpointType["TRACE"] = "TRACE";
12
- HttpEndpointType["DELETE"] = "DELETE";
13
- HttpEndpointType["OPTIONS"] = "OPTIONS";
14
- HttpEndpointType["WebSocket"] = "WebSocket";
15
- })(HttpEndpointType = exports.HttpEndpointType || (exports.HttpEndpointType = {}));
16
- class HttpEndpoint extends ModelObject_1.default {
17
- constructor() {
18
- super(...arguments);
19
- this.endpointType = HttpEndpointType.GET;
20
- this.namespace = "";
21
- this.path = "";
22
- this.isUploadRequest = false;
23
- this.unixSocket = "";
24
- }
25
- }
26
- exports.HttpEndpoint = HttpEndpoint;
27
- exports.default = HttpEndpoint;
@@ -1,18 +0,0 @@
1
- import ModelObject from "../ModelObject";
2
- export declare enum AccessLevel {
3
- readOnly = "readOnly",
4
- readWrite = "readWrite"
5
- }
6
- export declare enum SessionType {
7
- local = "local",
8
- http = "http",
9
- telnet = "telnet"
10
- }
11
- export declare class UserSession extends ModelObject {
12
- accessLevel: AccessLevel;
13
- id: number;
14
- origin: string | null;
15
- originId: number;
16
- sessionType: SessionType;
17
- }
18
- export default UserSession;
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UserSession = exports.SessionType = exports.AccessLevel = void 0;
4
- const ModelObject_1 = require("../ModelObject");
5
- var AccessLevel;
6
- (function (AccessLevel) {
7
- AccessLevel["readOnly"] = "readOnly";
8
- AccessLevel["readWrite"] = "readWrite";
9
- })(AccessLevel = exports.AccessLevel || (exports.AccessLevel = {}));
10
- var SessionType;
11
- (function (SessionType) {
12
- SessionType["local"] = "local";
13
- SessionType["http"] = "http";
14
- SessionType["telnet"] = "telnet";
15
- })(SessionType = exports.SessionType || (exports.SessionType = {}));
16
- class UserSession extends ModelObject_1.default {
17
- constructor() {
18
- super(...arguments);
19
- this.accessLevel = AccessLevel.readOnly;
20
- this.id = 0;
21
- this.origin = null;
22
- this.originId = -1;
23
- this.sessionType = SessionType.local;
24
- }
25
- }
26
- exports.UserSession = UserSession;
27
- exports.default = UserSession;