@duet3d/objectmodel 3.5.0-beta.51 → 3.5.0-beta.53

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.
@@ -9,7 +9,7 @@ class DirectDisplayScreen extends DirectDisplayScreenBase_1.default {
9
9
  return null;
10
10
  }
11
11
  if (typeof jsonElement.controller === "string" && jsonElement.controller !== this.controller) {
12
- return (0, _1.getDirectDisplayScreen)(jsonElement.type).update(jsonElement);
12
+ return (0, _1.getDirectDisplayScreen)(jsonElement.controller).update(jsonElement);
13
13
  }
14
14
  return super.update(jsonElement);
15
15
  }
@@ -5,7 +5,9 @@ export declare enum LedStripType {
5
5
  NeoPixel_RGBW = "NeoPixel_RGBW"
6
6
  }
7
7
  export declare class LedStrip extends ModelObject {
8
- type: LedStripType;
8
+ board: number;
9
+ pin: string;
9
10
  stopMovement: boolean;
11
+ type: LedStripType;
10
12
  }
11
13
  export default LedStrip;
@@ -11,8 +11,10 @@ var LedStripType;
11
11
  class LedStrip extends ModelObject_1.default {
12
12
  constructor() {
13
13
  super(...arguments);
14
- this.type = LedStripType.DotStar;
14
+ this.board = 0;
15
+ this.pin = "";
15
16
  this.stopMovement = false;
17
+ this.type = LedStripType.DotStar;
16
18
  }
17
19
  }
18
20
  exports.LedStrip = LedStrip;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duet3d/objectmodel",
3
- "version": "3.5.0-beta.51",
3
+ "version": "3.5.0-beta.53",
4
4
  "description": "TypeScript implementation of the Duet3D Object Model",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",