@kuriousdesign/machine-sdk
Version:
Shared data types and helpers for machine-related repositories
54 lines (53 loc) • 1.83 kB
JavaScript
;
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.DeviceTags = exports.MachineTags = exports.PlcNamespaces = void 0;
exports.PlcNamespaces = {
Machine: 'Machine',
MachineHw: 'MachineHw',
Main: 'Main'
};
exports.MachineTags = {
deviceStore: 'Devices',
//deviceTypeStore: 'DeviceTypes',
registeredDevices: 'RegisteredDevices',
axisStsArray: 'AxisStsArray',
HeartbeatPLC: 'HeartbeatPLC',
HeartbeatHMI: 'HeartbeatHMI',
parts: 'Parts',
taskQueue: 'TaskQueue',
//deviceLogs: 'DeviceLogs',
machineLog: 'MachineLog',
deviceLogs: 'DeviceLogs',
recipeStore: 'RecipeStore',
};
exports.DeviceTags = {
Cfg: 'Cfg',
Is: 'Is',
Errors: 'Errors',
Warnings: 'Warnings',
ExecMethod: 'ExecMethod',
Task: 'Task',
Process: 'Process',
Script: 'Script',
Registration: 'Registration',
ApiOpcuaHmiReq: 'ApiOpcua.HmiReq',
ApiOpcuaHmiResp: 'ApiOpcua.HmiResp',
ApiOpcuaPlcReq: 'ApiOpcua.InternalReq',
ApiOpcuaPlcResp: 'ApiOpcua.InternalResp',
};
__exportStar(require("./opcua"), exports);
__exportStar(require("./mqtt"), exports);