@duet3d/objectmodel 3.7.0-alpha.10 → 3.7.0-alpha.11

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.json CHANGED
@@ -143,6 +143,10 @@
143
143
  "ethernet",
144
144
  "wifi"
145
145
  ],
146
+ "sbc.dsf.communicationMethod": [
147
+ "spi",
148
+ "usb"
149
+ ],
146
150
  "sbc.dsf.httpEndpoints[].endpointType": [
147
151
  "GET",
148
152
  "POST",
@@ -0,0 +1,5 @@
1
+ export declare enum CommunicationMethod {
2
+ spi = "spi",
3
+ usb = "usb"
4
+ }
5
+ export default CommunicationMethod;
@@ -0,0 +1,6 @@
1
+ export var CommunicationMethod;
2
+ (function (CommunicationMethod) {
3
+ CommunicationMethod["spi"] = "spi";
4
+ CommunicationMethod["usb"] = "usb";
5
+ })(CommunicationMethod || (CommunicationMethod = {}));
6
+ export default CommunicationMethod;
@@ -1,9 +1,11 @@
1
1
  import ModelCollection from "../../ModelCollection";
2
2
  import ModelObject from "../../ModelObject";
3
+ import CommunicationMethod from "./CommunicationMethod";
3
4
  import HttpEndpoint from "./HttpEndpoint";
4
5
  import UserSession from "./UserSession";
5
6
  export declare class DSF extends ModelObject {
6
7
  buildDateTime: string;
8
+ communicationMethod: CommunicationMethod;
7
9
  readonly httpEndpoints: ModelCollection<HttpEndpoint>;
8
10
  is64Bit: boolean;
9
11
  pluginSupport: boolean;
@@ -12,4 +14,5 @@ export declare class DSF extends ModelObject {
12
14
  version: string;
13
15
  }
14
16
  export default DSF;
17
+ export * from "./CommunicationMethod";
15
18
  export * from "./HttpEndpoint";
@@ -1,11 +1,13 @@
1
1
  import ModelCollection from "../../ModelCollection";
2
2
  import ModelObject from "../../ModelObject";
3
+ import CommunicationMethod from "./CommunicationMethod";
3
4
  import HttpEndpoint from "./HttpEndpoint";
4
5
  import UserSession from "./UserSession";
5
6
  export class DSF extends ModelObject {
6
7
  constructor() {
7
8
  super(...arguments);
8
9
  this.buildDateTime = "";
10
+ this.communicationMethod = CommunicationMethod.spi;
9
11
  this.httpEndpoints = new ModelCollection(HttpEndpoint);
10
12
  this.is64Bit = false;
11
13
  this.pluginSupport = false;
@@ -15,4 +17,5 @@ export class DSF extends ModelObject {
15
17
  }
16
18
  }
17
19
  export default DSF;
20
+ export * from "./CommunicationMethod";
18
21
  export * from "./HttpEndpoint";
@@ -2,7 +2,7 @@ import ModelObject from "../../ModelObject";
2
2
  import type { IModelObject } from "../../ModelObject";
3
3
  import { Duet3DFilamentMonitor } from "./Duet3DFilamentMonitor";
4
4
  export declare class RotatingMagnetFilamentMonitorCalibrated extends ModelObject {
5
- mmPerPulse: number;
5
+ mmPerRev: number;
6
6
  percentMax: number;
7
7
  percentMin: number;
8
8
  totalDistance: number;
@@ -5,7 +5,7 @@ import { getFilamentMonitor } from "./index";
5
5
  export class RotatingMagnetFilamentMonitorCalibrated extends ModelObject {
6
6
  constructor() {
7
7
  super(...arguments);
8
- this.mmPerPulse = 0;
8
+ this.mmPerRev = 0;
9
9
  this.percentMax = 0;
10
10
  this.percentMin = 0;
11
11
  this.totalDistance = 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duet3d/objectmodel",
3
- "version": "3.7.0-alpha.10",
3
+ "version": "3.7.0-alpha.11",
4
4
  "description": "TypeScript implementation of the Duet3D Object Model",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",