@kuriousdesign/machine-sdk 1.0.42 → 1.0.44

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.
@@ -1,4 +1,4 @@
1
- import { ComponentAnimation, DebugLogData, DeviceLogData, DeviceRegistration, TaskQueue } from ".";
1
+ import { ComponentAnimation, DebugLogData, DeviceRegistration, TaskQueue } from ".";
2
2
  import { PartDataStatus } from "./Part";
3
3
  export interface UserData {
4
4
  activeUser: number;
@@ -43,7 +43,6 @@ export interface Machine {
43
43
  heartbeatPlc: number;
44
44
  heartbeatHmi: number;
45
45
  machineLog: LogRecordData;
46
- deviceLogs: DeviceLogData[];
47
46
  }
48
47
  export interface LogRecordData {
49
48
  list: DebugLogData[];
@@ -43,5 +43,5 @@ exports.initialMachine = ({
43
43
  heartbeatPlc: 0,
44
44
  heartbeatHmi: 0,
45
45
  machineLog: { ...exports.initialLogRecordData },
46
- deviceLogs: Array(GlobalConstants_1.GCs.NUM_DEVICES).fill(null).map(() => ({ ..._1.initialDeviceLogData })),
46
+ //deviceLogs: Array(GCs.NUM_DEVICES).fill(null).map(() => ({ ...initialDeviceLogData })),
47
47
  });
@@ -31,7 +31,7 @@ exports.MachineTags = {
31
31
  taskQueue: 'TaskQueue',
32
32
  //deviceLogs: 'DeviceLogs',
33
33
  machineLog: 'MachineLog',
34
- deviceLogs: 'Machine.DeviceLogs',
34
+ deviceLogs: 'DeviceLogs',
35
35
  };
36
36
  exports.DeviceTags = {
37
37
  Cfg: 'Cfg',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kuriousdesign/machine-sdk",
3
- "version": "1.0.42",
3
+ "version": "1.0.44",
4
4
  "description": "Shared data types and helpers for machine-related repositories",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -86,7 +86,7 @@ export interface Machine {
86
86
  heartbeatPlc: number;
87
87
  heartbeatHmi: number;
88
88
  machineLog: LogRecordData;
89
- deviceLogs: DeviceLogData[]; //ARRAY[0..(GCs.NUM_DEVICES-1)] OF DeviceLogData;
89
+ //deviceLogs: DeviceLogData[]; //ARRAY[0..(GCs.NUM_DEVICES-1)] OF DeviceLogData;
90
90
  }
91
91
 
92
92
  // TYPE LogRecordData :
@@ -124,5 +124,5 @@ export const initialMachine: Machine = ({
124
124
  heartbeatPlc: 0,
125
125
  heartbeatHmi: 0,
126
126
  machineLog: { ...initialLogRecordData },
127
- deviceLogs: Array(GCs.NUM_DEVICES).fill(null).map(() => ({ ...initialDeviceLogData })),
127
+ //deviceLogs: Array(GCs.NUM_DEVICES).fill(null).map(() => ({ ...initialDeviceLogData })),
128
128
  });
@@ -15,7 +15,7 @@ export const MachineTags = {
15
15
  taskQueue: 'TaskQueue',
16
16
  //deviceLogs: 'DeviceLogs',
17
17
  machineLog: 'MachineLog',
18
- deviceLogs: 'Machine.DeviceLogs',
18
+ deviceLogs: 'DeviceLogs',
19
19
  }
20
20
 
21
21
  export const DeviceTags = {