@kuriousdesign/machine-sdk 1.0.72 → 1.0.74
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/custom-types/BaseDevice/Device.d.ts +2 -2
- package/dist/plc-tags/index.d.ts +2 -1
- package/dist/plc-tags/index.js +2 -2
- package/dist/plc-tags/mqtt.d.ts +1 -0
- package/dist/plc-tags/mqtt.js +1 -0
- package/package.json +1 -1
- package/src/custom-types/BaseDevice/Device.ts +2 -2
- package/src/plc-tags/index.ts +2 -2
- package/src/plc-tags/mqtt.ts +1 -0
|
@@ -90,8 +90,8 @@ export interface Device {
|
|
|
90
90
|
script: ProcessData;
|
|
91
91
|
connectionStatus: boolean;
|
|
92
92
|
apiOpcua: ApiOpcuaData;
|
|
93
|
-
log
|
|
94
|
-
sts
|
|
93
|
+
log?: DeviceLogData;
|
|
94
|
+
sts?: unknown;
|
|
95
95
|
}
|
|
96
96
|
export declare const initialSts: unknown;
|
|
97
97
|
export declare const initialDevice: Device;
|
package/dist/plc-tags/index.d.ts
CHANGED
|
@@ -20,7 +20,6 @@ export declare const DeviceTags: {
|
|
|
20
20
|
Is: string;
|
|
21
21
|
Errors: string;
|
|
22
22
|
Warnings: string;
|
|
23
|
-
Log: string;
|
|
24
23
|
ExecMethod: string;
|
|
25
24
|
Task: string;
|
|
26
25
|
Process: string;
|
|
@@ -28,6 +27,8 @@ export declare const DeviceTags: {
|
|
|
28
27
|
Registration: string;
|
|
29
28
|
ApiOpcuaHmiReq: string;
|
|
30
29
|
ApiOpcuaHmiResp: string;
|
|
30
|
+
ApiOpcuaPlcReq: string;
|
|
31
|
+
ApiOpcuaPlcResp: string;
|
|
31
32
|
};
|
|
32
33
|
export * from "./opcua";
|
|
33
34
|
export * from "./mqtt";
|
package/dist/plc-tags/index.js
CHANGED
|
@@ -39,8 +39,6 @@ exports.DeviceTags = {
|
|
|
39
39
|
Is: 'Is',
|
|
40
40
|
Errors: 'Errors',
|
|
41
41
|
Warnings: 'Warnings',
|
|
42
|
-
Log: 'Log',
|
|
43
|
-
//ConnectionStatus: 'ConnectionStatus',
|
|
44
42
|
ExecMethod: 'ExecMethod',
|
|
45
43
|
Task: 'Task',
|
|
46
44
|
Process: 'Process',
|
|
@@ -48,6 +46,8 @@ exports.DeviceTags = {
|
|
|
48
46
|
Registration: 'Registration',
|
|
49
47
|
ApiOpcuaHmiReq: 'ApiOpcua.HmiReq',
|
|
50
48
|
ApiOpcuaHmiResp: 'ApiOpcua.HmiResp',
|
|
49
|
+
ApiOpcuaPlcReq: 'ApiOpcua.InternalReq',
|
|
50
|
+
ApiOpcuaPlcResp: 'ApiOpcua.InternalResp',
|
|
51
51
|
};
|
|
52
52
|
__exportStar(require("./opcua"), exports);
|
|
53
53
|
__exportStar(require("./mqtt"), exports);
|
package/dist/plc-tags/mqtt.d.ts
CHANGED
package/dist/plc-tags/mqtt.js
CHANGED
package/package.json
CHANGED
|
@@ -191,9 +191,9 @@ export interface Device {
|
|
|
191
191
|
|
|
192
192
|
//ignore--instantsrequests: Array<DeviceActionRequestData>; //this can be written to outside of the device fb;
|
|
193
193
|
apiOpcua: ApiOpcuaData;
|
|
194
|
-
log
|
|
194
|
+
log?: DeviceLogData; //this is taken from machine.deviceLogs[device.id]
|
|
195
195
|
//ignore--instantsudp: UdpData;
|
|
196
|
-
sts
|
|
196
|
+
sts?: unknown; // this is take from Machine.<MEM>Sts
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
export const initialSts: unknown = null;
|
package/src/plc-tags/index.ts
CHANGED
|
@@ -24,8 +24,6 @@ export const DeviceTags = {
|
|
|
24
24
|
Is: 'Is',
|
|
25
25
|
Errors: 'Errors',
|
|
26
26
|
Warnings: 'Warnings',
|
|
27
|
-
Log: 'Log',
|
|
28
|
-
//ConnectionStatus: 'ConnectionStatus',
|
|
29
27
|
ExecMethod: 'ExecMethod',
|
|
30
28
|
Task: 'Task',
|
|
31
29
|
Process: 'Process',
|
|
@@ -33,6 +31,8 @@ export const DeviceTags = {
|
|
|
33
31
|
Registration: 'Registration',
|
|
34
32
|
ApiOpcuaHmiReq: 'ApiOpcua.HmiReq',
|
|
35
33
|
ApiOpcuaHmiResp: 'ApiOpcua.HmiResp',
|
|
34
|
+
ApiOpcuaPlcReq: 'ApiOpcua.InternalReq',
|
|
35
|
+
ApiOpcuaPlcResp: 'ApiOpcua.InternalResp',
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
export * from "./opcua";
|