@duet3d/objectmodel 3.6.0-beta.1 → 3.6.0-beta.2

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.
@@ -10,8 +10,8 @@ export declare enum AnalogSensorType {
10
10
  dht22 = "dht22",
11
11
  dhtHumidity = "dhthumidity",
12
12
  bme280 = "bme280",
13
- bme280pressure = "bme280-pressure",
14
- bme280humidity = "bme280-humidity",
13
+ bme280pressure = "bmepressure",
14
+ bme280humidity = "bmehumidity",
15
15
  currentLoop = "currentloooppyro",
16
16
  mcuTemp = "mcutemp",
17
17
  drivers = "drivers",
@@ -42,7 +42,9 @@ export declare enum TemperatureError {
42
42
  export declare class AnalogSensor extends ModelObject {
43
43
  beta: number | null;
44
44
  c: number | null;
45
+ highReading: number | null;
45
46
  lastReading: number | null;
47
+ lowReading: number | null;
46
48
  name: string | null;
47
49
  offsetAdj: number;
48
50
  port: string | null;
@@ -14,8 +14,8 @@ var AnalogSensorType;
14
14
  AnalogSensorType["dht22"] = "dht22";
15
15
  AnalogSensorType["dhtHumidity"] = "dhthumidity";
16
16
  AnalogSensorType["bme280"] = "bme280";
17
- AnalogSensorType["bme280pressure"] = "bme280-pressure";
18
- AnalogSensorType["bme280humidity"] = "bme280-humidity";
17
+ AnalogSensorType["bme280pressure"] = "bmepressure";
18
+ AnalogSensorType["bme280humidity"] = "bmehumidity";
19
19
  AnalogSensorType["currentLoop"] = "currentloooppyro";
20
20
  AnalogSensorType["mcuTemp"] = "mcutemp";
21
21
  AnalogSensorType["drivers"] = "drivers";
@@ -49,7 +49,9 @@ class AnalogSensor extends ModelObject_1.default {
49
49
  super(...arguments);
50
50
  this.beta = null;
51
51
  this.c = null;
52
+ this.highReading = null;
52
53
  this.lastReading = null;
54
+ this.lowReading = null;
53
55
  this.name = null;
54
56
  this.offsetAdj = 0;
55
57
  this.port = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duet3d/objectmodel",
3
- "version": "3.6.0-beta.1",
3
+ "version": "3.6.0-beta.2",
4
4
  "description": "TypeScript implementation of the Duet3D Object Model",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",