@zaber/motion 4.7.1 → 4.8.0

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.
Files changed (35) hide show
  1. package/dist/binding/wasm/zaber-motion-lib.wasm +0 -0
  2. package/dist/lib/ascii/device.d.ts +7 -0
  3. package/dist/lib/ascii/device.js +9 -0
  4. package/dist/lib/ascii/device.js.map +1 -1
  5. package/dist/lib/ascii/index.d.ts +7 -0
  6. package/dist/lib/ascii/index.js +15 -1
  7. package/dist/lib/ascii/index.js.map +1 -1
  8. package/dist/lib/ascii/trigger.d.ts +134 -0
  9. package/dist/lib/ascii/trigger.js +302 -0
  10. package/dist/lib/ascii/trigger.js.map +1 -0
  11. package/dist/lib/ascii/trigger_action.d.ts +8 -0
  12. package/dist/lib/ascii/trigger_action.js +15 -0
  13. package/dist/lib/ascii/trigger_action.js.map +1 -0
  14. package/dist/lib/ascii/trigger_condition.d.ts +11 -0
  15. package/dist/lib/ascii/trigger_condition.js +18 -0
  16. package/dist/lib/ascii/trigger_condition.js.map +1 -0
  17. package/dist/lib/ascii/trigger_enabled_state.d.ts +19 -0
  18. package/dist/lib/ascii/trigger_enabled_state.js +18 -0
  19. package/dist/lib/ascii/trigger_enabled_state.js.map +1 -0
  20. package/dist/lib/ascii/trigger_operation.d.ts +8 -0
  21. package/dist/lib/ascii/trigger_operation.js +15 -0
  22. package/dist/lib/ascii/trigger_operation.js.map +1 -0
  23. package/dist/lib/ascii/trigger_state.d.ts +28 -0
  24. package/dist/lib/ascii/trigger_state.js +21 -0
  25. package/dist/lib/ascii/trigger_state.js.map +1 -0
  26. package/dist/lib/ascii/triggers.d.ts +43 -0
  27. package/dist/lib/ascii/triggers.js +107 -0
  28. package/dist/lib/ascii/triggers.js.map +1 -0
  29. package/dist/lib/ascii_ns.d.ts +14 -0
  30. package/dist/lib/ascii_ns.js +7 -0
  31. package/dist/lib/ascii_ns.js.map +1 -1
  32. package/dist/lib/protobufs/main_pb.d.ts +542 -0
  33. package/dist/lib/protobufs/main_pb.js +4136 -0
  34. package/dist/lib/protobufs/main_pb.js.map +1 -1
  35. package/package.json +1 -1
@@ -0,0 +1,107 @@
1
+ "use strict";
2
+ // ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //
3
+ // ============= DO NOT EDIT DIRECTLY ============= //
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.Triggers = void 0;
29
+ const gateway = __importStar(require("../gateway"));
30
+ const trigger_1 = require("./trigger");
31
+ const trigger_state_1 = require("./trigger_state");
32
+ const trigger_enabled_state_1 = require("./trigger_enabled_state");
33
+ /**
34
+ * Class providing access to device triggers.
35
+ * Please note that the Triggers API is currently an experimental feature.
36
+ * Requires at least Firmware 7.06.
37
+ */
38
+ class Triggers {
39
+ /**
40
+ * Device that these triggers belong to.
41
+ */
42
+ get device() {
43
+ return this._device;
44
+ }
45
+ constructor(device) {
46
+ this._device = device;
47
+ }
48
+ /**
49
+ * Get the number of triggers for this device.
50
+ * @returns Number of triggers for this device.
51
+ */
52
+ async getNumberOfTriggers() {
53
+ const request = new gateway.DeviceGetSettingRequest();
54
+ request.setInterfaceId(this.device.connection.interfaceId);
55
+ request.setDevice(this.device.deviceAddress);
56
+ request.setSetting('trigger.numtriggers');
57
+ const response = await gateway.callAsync('triggers/get_setting', request, gateway.IntResponse);
58
+ return response.getValue();
59
+ }
60
+ /**
61
+ * Get the number of actions for each trigger for this device.
62
+ * @returns Number of actions for each trigger for this device.
63
+ */
64
+ async getNumberOfActions() {
65
+ const request = new gateway.DeviceGetSettingRequest();
66
+ request.setInterfaceId(this.device.connection.interfaceId);
67
+ request.setDevice(this.device.deviceAddress);
68
+ request.setSetting('trigger.numactions');
69
+ const response = await gateway.callAsync('triggers/get_setting', request, gateway.IntResponse);
70
+ return response.getValue();
71
+ }
72
+ /**
73
+ * Get a specific trigger for this device.
74
+ * @param triggerNumber The number of the trigger to control. Trigger numbers start at 1.
75
+ * @returns Trigger instance.
76
+ */
77
+ getTrigger(triggerNumber) {
78
+ if (triggerNumber <= 0) {
79
+ throw new TypeError('Invalid value; triggers are numbered from 1.');
80
+ }
81
+ return new trigger_1.Trigger(this.device, triggerNumber);
82
+ }
83
+ /**
84
+ * Get the state for every trigger for this device.
85
+ * @returns Complete state for every trigger.
86
+ */
87
+ async getTriggerStates() {
88
+ const request = new gateway.DeviceEmptyRequest();
89
+ request.setInterfaceId(this.device.connection.interfaceId);
90
+ request.setDevice(this.device.deviceAddress);
91
+ const response = await gateway.callAsync('triggers/get_trigger_states', request, gateway.TriggerStates);
92
+ return response.getStatesList().map(a => trigger_state_1.TriggerState.fromProtobuf(a.toObject()));
93
+ }
94
+ /**
95
+ * Gets the enabled state for every trigger for this device.
96
+ * @returns Whether triggers are enabled and the number of times they will fire.
97
+ */
98
+ async getEnabledStates() {
99
+ const request = new gateway.DeviceEmptyRequest();
100
+ request.setInterfaceId(this.device.connection.interfaceId);
101
+ request.setDevice(this.device.deviceAddress);
102
+ const response = await gateway.callAsync('triggers/get_enabled_states', request, gateway.TriggerEnabledStates);
103
+ return response.getStatesList().map(a => trigger_enabled_state_1.TriggerEnabledState.fromProtobuf(a.toObject()));
104
+ }
105
+ }
106
+ exports.Triggers = Triggers;
107
+ //# sourceMappingURL=triggers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"triggers.js","sourceRoot":"","sources":["../../../src/ascii/triggers.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;AAGtD,oDAAsC;AACtC,uCAAoC;AACpC,mDAA+C;AAC/C,mEAA8D;AAE9D;;;;GAIG;AACH,MAAa,QAAQ;IACnB;;OAEG;IACH,IAAW,MAAM;QACf,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAGD,YAAY,MAAc;QACxB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;IACxB,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,mBAAmB;QAC9B,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,uBAAuB,EAAE,CAAC;QACtD,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;QAC3D,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;QAC7C,OAAO,CAAC,UAAU,CAAC,qBAAqB,CAAC,CAAC;QAE1C,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,SAAS,CACtC,sBAAsB,EACtB,OAAO,EACP,OAAO,CAAC,WAAW,CAAC,CAAC;QACvB,OAAO,QAAQ,CAAC,QAAQ,EAAE,CAAC;IAC7B,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,kBAAkB;QAC7B,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,uBAAuB,EAAE,CAAC;QACtD,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,CA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WAAW,CAAC,CAAC;QAC3D,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;QAE7C,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,SAAS,CACtC,6BAA6B,EAC7B,OAAO,EACP,OAAO,CAAC,oBAAoB,CAAC,CAAC;QAChC,OAAO,QAAQ,CAAC,aAAa,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,2CAAmB,CAAC,YAAY,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;IAC3F,CAAC;CACF;AA5FD,4BA4FC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { Device } from './device';\nimport * as gateway from '../gateway';\nimport { Trigger } from './trigger';\nimport { TriggerState } from './trigger_state';\nimport { TriggerEnabledState } from './trigger_enabled_state';\n\n/**\n * Class providing access to device triggers.\n * Please note that the Triggers API is currently an experimental feature.\n * Requires at least Firmware 7.06.\n */\nexport class Triggers {\n /**\n * Device that these triggers belong to.\n */\n public get device(): Device {\n return this._device;\n }\n private _device: Device;\n\n constructor(device: Device) {\n this._device = device;\n }\n\n /**\n * Get the number of triggers for this device.\n * @returns Number of triggers for this device.\n */\n public async getNumberOfTriggers(): Promise<number> {\n const request = new gateway.DeviceGetSettingRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setSetting('trigger.numtriggers');\n\n const response = await gateway.callAsync<gateway.IntResponse>(\n 'triggers/get_setting',\n request,\n gateway.IntResponse);\n return response.getValue();\n }\n\n /**\n * Get the number of actions for each trigger for this device.\n * @returns Number of actions for each trigger for this device.\n */\n public async getNumberOfActions(): Promise<number> {\n const request = new gateway.DeviceGetSettingRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setSetting('trigger.numactions');\n\n const response = await gateway.callAsync<gateway.IntResponse>(\n 'triggers/get_setting',\n request,\n gateway.IntResponse);\n return response.getValue();\n }\n\n /**\n * Get a specific trigger for this device.\n * @param triggerNumber The number of the trigger to control. Trigger numbers start at 1.\n * @returns Trigger instance.\n */\n public getTrigger(\n triggerNumber: number\n ): Trigger {\n if (triggerNumber <= 0) {\n throw new TypeError('Invalid value; triggers are numbered from 1.');\n }\n return new Trigger(this.device, triggerNumber);\n }\n\n /**\n * Get the state for every trigger for this device.\n * @returns Complete state for every trigger.\n */\n public async getTriggerStates(): Promise<TriggerState[]> {\n const request = new gateway.DeviceEmptyRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n\n const response = await gateway.callAsync<gateway.TriggerStates>(\n 'triggers/get_trigger_states',\n request,\n gateway.TriggerStates);\n return response.getStatesList().map(a => TriggerState.fromProtobuf(a.toObject()));\n }\n\n /**\n * Gets the enabled state for every trigger for this device.\n * @returns Whether triggers are enabled and the number of times they will fire.\n */\n public async getEnabledStates(): Promise<TriggerEnabledState[]> {\n const request = new gateway.DeviceEmptyRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n\n const response = await gateway.callAsync<gateway.TriggerEnabledStates>(\n 'triggers/get_enabled_states',\n request,\n gateway.TriggerEnabledStates);\n return response.getStatesList().map(a => TriggerEnabledState.fromProtobuf(a.toObject()));\n }\n}\n"]}
@@ -104,4 +104,18 @@ export declare namespace ascii {
104
104
  type PvtAxisType = asciiImport.PvtAxisType;
105
105
  const AxisGroup: typeof asciiImport.AxisGroup;
106
106
  type AxisGroup = asciiImport.AxisGroup;
107
+ const Trigger: typeof asciiImport.Trigger;
108
+ type Trigger = asciiImport.Trigger;
109
+ const Triggers: typeof asciiImport.Triggers;
110
+ type Triggers = asciiImport.Triggers;
111
+ const TriggerState: typeof asciiImport.TriggerState;
112
+ type TriggerState = asciiImport.TriggerState;
113
+ const TriggerEnabledState: typeof asciiImport.TriggerEnabledState;
114
+ type TriggerEnabledState = asciiImport.TriggerEnabledState;
115
+ const TriggerAction: typeof asciiImport.TriggerAction;
116
+ type TriggerAction = asciiImport.TriggerAction;
117
+ const TriggerCondition: typeof asciiImport.TriggerCondition;
118
+ type TriggerCondition = asciiImport.TriggerCondition;
119
+ const TriggerOperation: typeof asciiImport.TriggerOperation;
120
+ type TriggerOperation = asciiImport.TriggerOperation;
107
121
  }
@@ -79,5 +79,12 @@ var ascii;
79
79
  ascii.PvtAxisDefinition = asciiImport.PvtAxisDefinition;
80
80
  ascii.PvtAxisType = asciiImport.PvtAxisType;
81
81
  ascii.AxisGroup = asciiImport.AxisGroup;
82
+ ascii.Trigger = asciiImport.Trigger;
83
+ ascii.Triggers = asciiImport.Triggers;
84
+ ascii.TriggerState = asciiImport.TriggerState;
85
+ ascii.TriggerEnabledState = asciiImport.TriggerEnabledState;
86
+ ascii.TriggerAction = asciiImport.TriggerAction;
87
+ ascii.TriggerCondition = asciiImport.TriggerCondition;
88
+ ascii.TriggerOperation = asciiImport.TriggerOperation;
82
89
  })(ascii = exports.ascii || (exports.ascii = {}));
83
90
  //# sourceMappingURL=ascii_ns.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ascii_ns.js","sourceRoot":"","sources":["../../src/ascii_ns.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAuC;AAEvC,IAAiB,KAAK,CAyGrB;AAzGD,WAAiB,KAAK;IACP,gBAAU,GAAG,WAAW,CAAC,UAAU,CAAC;IAEpC,aAAO,GAAG,WAAW,CAAC,OAAO,CAAC;IAE9B,UAAI,GAAG,WAAW,CAAC,IAAI,CAAC;IAExB,kBAAY,GAAG,WAAW,CAAC,YAAY,CAAC;IAExC,kBAAY,GAAG,WAAW,CAAC,YAAY,CAAC;IAExC,cAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC;IAEhC,gBAAU,GAAG,WAAW,CAAC,UAAU,CAAC;IAEpC,YAAM,GAAG,WAAW,CAAC,MAAM,C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C,gBAAU,GAAG,WAAW,CAAC,UAAU,CAAC;IAEpC,yBAAmB,GAAG,WAAW,CAAC,mBAAmB,CAAC;IAEtD,kBAAY,GAAG,WAAW,CAAC,YAAY,CAAC;IAExC,eAAS,GAAG,WAAW,CAAC,SAAS,CAAC;IAElC,sBAAgB,GAAG,WAAW,CAAC,gBAAgB,CAAC;IAEhD,iCAA2B,GAAG,WAAW,CAAC,2BAA2B,CAAC;IAEtE,iBAAW,GAAG,WAAW,CAAC,WAAW,CAAC;IAEtC,mBAAa,GAAG,WAAW,CAAC,aAAa,CAAC;IAE1C,sBAAgB,GAAG,WAAW,CAAC,gBAAgB,CAAC;IAEhD,6BAAuB,GAAG,WAAW,CAAC,uBAAuB,CAAC;IAE9D,+BAAyB,GAAG,WAAW,CAAC,yBAAyB,CAAC;IAElE,iBAAW,GAAG,WAAW,CAAC,WAAW,CAAC;IAEtC,eAAS,GAAG,WAAW,CAAC,SAAS,CAAC;IAElC,aAAO,GAAG,WAAW,CAAC,OAAO,CAAC;IAE9B,uBAAiB,GAAG,WAAW,CAAC,iBAAiB,CAAC;IAElD,iBAAW,GAAG,WAAW,CAAC,WAAW,CAAC;IAEtC,eAAS,GAAG,WAAW,CAAC,SAAS,CAAC;AAEjD,CAAC,EAzGgB,KAAK,GAAL,aAAK,KAAL,aAAK,QAyGrB","sourcesContent":["import * as asciiImport from './ascii';\n\nexport namespace ascii {\n export const AlertEvent = asciiImport.AlertEvent;\n export type AlertEvent = asciiImport.AlertEvent;\n export const AllAxes = asciiImport.AllAxes;\n export type AllAxes = asciiImport.AllAxes;\n export const Axis = asciiImport.Axis;\n export type Axis = asciiImport.Axis;\n export const AxisIdentity = asciiImport.AxisIdentity;\n export type AxisIdentity = asciiImport.AxisIdentity;\n export const AxisSettings = asciiImport.AxisSettings;\n export type AxisSettings = asciiImport.AxisSettings;\n export const AxisType = asciiImport.AxisType;\n export type AxisType = asciiImport.AxisType;\n export const Connection = asciiImport.Connection;\n export type Connection = asciiImport.Connection;\n export const Device = asciiImport.Device;\n export type Device = asciiImport.Device;\n export const DeviceIO = asciiImport.DeviceIO;\n export type DeviceIO = asciiImport.DeviceIO;\n export const DeviceIOInfo = asciiImport.DeviceIOInfo;\n export type DeviceIOInfo = asciiImport.DeviceIOInfo;\n export const DeviceIdentity = asciiImport.DeviceIdentity;\n export type DeviceIdentity = asciiImport.DeviceIdentity;\n export const DeviceSettings = asciiImport.DeviceSettings;\n export type DeviceSettings = asciiImport.DeviceSettings;\n export const GetSetting = asciiImport.GetSetting;\n export type GetSetting = asciiImport.GetSetting;\n export const GetAxisSetting = asciiImport.GetAxisSetting;\n export type GetAxisSetting = asciiImport.GetAxisSetting;\n export const GetSettingResult = asciiImport.GetSettingResult;\n export type GetSettingResult = asciiImport.GetSettingResult;\n export const GetAxisSettingResult = asciiImport.GetAxisSettingResult;\n export type GetAxisSettingResult = asciiImport.GetAxisSettingResult;\n export const IoPortType = asciiImport.IoPortType;\n export type IoPortType = asciiImport.IoPortType;\n export const Lockstep = asciiImport.Lockstep;\n export type Lockstep = asciiImport.Lockstep;\n export const LockstepAxes = asciiImport.LockstepAxes;\n export type LockstepAxes = asciiImport.LockstepAxes;\n export const Oscilloscope = asciiImport.Oscilloscope;\n export type Oscilloscope = asciiImport.Oscilloscope;\n export const OscilloscopeData = asciiImport.OscilloscopeData;\n export type OscilloscopeData = asciiImport.OscilloscopeData;\n export const OscilloscopeDataSource = asciiImport.OscilloscopeDataSource;\n export type OscilloscopeDataSource = asciiImport.OscilloscopeDataSource;\n export const OscilloscopeCaptureProperties = asciiImport.OscilloscopeCaptureProperties;\n export type OscilloscopeCaptureProperties = asciiImport.OscilloscopeCaptureProperties;\n export const MessageType = asciiImport.MessageType;\n export type MessageType = asciiImport.MessageType;\n export const Response = asciiImport.Response;\n export type Response = asciiImport.Response;\n export const SettingConstants = asciiImport.SettingConstants;\n export type SettingConstants = asciiImport.SettingConstants;\n export const UnknownResponseEvent = asciiImport.UnknownResponseEvent;\n export type UnknownResponseEvent = asciiImport.UnknownResponseEvent;\n export const Warnings = asciiImport.Warnings;\n export type Warnings = asciiImport.Warnings;\n export const WarningFlags = asciiImport.WarningFlags;\n export type WarningFlags = asciiImport.WarningFlags;\n export const Stream = asciiImport.Stream;\n export type Stream = asciiImport.Stream;\n export const StreamBuffer = asciiImport.StreamBuffer;\n export type StreamBuffer = asciiImport.StreamBuffer;\n export const StreamMode = asciiImport.StreamMode;\n export type StreamMode = asciiImport.StreamMode;\n export const StreamAxisType = asciiImport.StreamAxisType;\n export type StreamAxisType = asciiImport.StreamAxisType;\n export const StreamAxisDefinition = asciiImport.StreamAxisDefinition;\n export type StreamAxisDefinition = asciiImport.StreamAxisDefinition;\n export const Transport = asciiImport.Transport;\n export type Transport = asciiImport.Transport;\n export const ServoTuner = asciiImport.ServoTuner;\n export type ServoTuner = asciiImport.ServoTuner;\n export const ServoTuningParamset = asciiImport.ServoTuningParamset;\n export type ServoTuningParamset = asciiImport.ServoTuningParamset;\n export const ParamsetInfo = asciiImport.ParamsetInfo;\n export type ParamsetInfo = asciiImport.ParamsetInfo;\n export const PidTuning = asciiImport.PidTuning;\n export type PidTuning = asciiImport.PidTuning;\n export const ServoTuningParam = asciiImport.ServoTuningParam;\n export type ServoTuningParam = asciiImport.ServoTuningParam;\n export const SimpleTuningParamDefinition = asciiImport.SimpleTuningParamDefinition;\n export type SimpleTuningParamDefinition = asciiImport.SimpleTuningParamDefinition;\n export const AxisStorage = asciiImport.AxisStorage;\n export type AxisStorage = asciiImport.AxisStorage;\n export const DeviceStorage = asciiImport.DeviceStorage;\n export type DeviceStorage = asciiImport.DeviceStorage;\n export const ConversionFactor = asciiImport.ConversionFactor;\n export type ConversionFactor = asciiImport.ConversionFactor;\n export const CanSetStateAxisResponse = asciiImport.CanSetStateAxisResponse;\n export type CanSetStateAxisResponse = asciiImport.CanSetStateAxisResponse;\n export const CanSetStateDeviceResponse = asciiImport.CanSetStateDeviceResponse;\n export type CanSetStateDeviceResponse = asciiImport.CanSetStateDeviceResponse;\n export const PvtSequence = asciiImport.PvtSequence;\n export type PvtSequence = asciiImport.PvtSequence;\n export const PvtBuffer = asciiImport.PvtBuffer;\n export type PvtBuffer = asciiImport.PvtBuffer;\n export const PvtMode = asciiImport.PvtMode;\n export type PvtMode = asciiImport.PvtMode;\n export const PvtAxisDefinition = asciiImport.PvtAxisDefinition;\n export type PvtAxisDefinition = asciiImport.PvtAxisDefinition;\n export const PvtAxisType = asciiImport.PvtAxisType;\n export type PvtAxisType = asciiImport.PvtAxisType;\n export const AxisGroup = asciiImport.AxisGroup;\n export type AxisGroup = asciiImport.AxisGroup;\n}\n"]}
1
+ {"version":3,"file":"ascii_ns.js","sourceRoot":"","sources":["../../src/ascii_ns.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAuC;AAEvC,IAAiB,KAAK,CAuHrB;AAvHD,WAAiB,KAAK;IACP,gBAAU,GAAG,WAAW,CAAC,UAAU,CAAC;IAEpC,aAAO,GAAG,WAAW,CAAC,OAAO,CAAC;IAE9B,UAAI,GAAG,WAAW,CAAC,IAAI,CAAC;IAExB,kBAAY,GAAG,WAAW,CAAC,YAAY,CAAC;IAExC,kBAAY,GAAG,WAAW,CAAC,YAAY,CAAC;IAExC,cAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC;IAEhC,gBAAU,GAAG,WAAW,CAAC,UAAU,CAAC;IAEpC,YAAM,GAAG,WAAW,CAAC,MAAM,CAAC;IAE5B,cAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC;IAEhC,kBAAY,GAAG,WAAW,CAAC,YAAY,CAAC;IAExC,oBAAc,GAAG,WAAW,CAAC,cAAc,CAAC;IAE5C,oBAAc,GAAG,WAAW,CAAC,cAAc,CAAC;IAE5C,gBAAU,GAAG,WAAW,CAAC,UAAU,CAAC;IAEpC,oBAAc,GAAG,WAAW,CAAC,cAAc,CAAC;IAE5C,sBAAgB,GAAG,WAAW,CAAC,gBAAgB,CAAC;IAEhD,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,GAAG,WAAW,CAAC,aAAa,CAAC;IAE1C,sBAAgB,GAAG,WAAW,CAAC,gBAAgB,CAAC;IAEhD,6BAAuB,GAAG,WAAW,CAAC,uBAAuB,CAAC;IAE9D,+BAAyB,GAAG,WAAW,CAAC,yBAAyB,CAAC;IAElE,iBAAW,GAAG,WAAW,CAAC,WAAW,CAAC;IAEtC,eAAS,GAAG,WAAW,CAAC,SAAS,CAAC;IAElC,aAAO,GAAG,WAAW,CAAC,OAAO,CAAC;IAE9B,uBAAiB,GAAG,WAAW,CAAC,iBAAiB,CAAC;IAElD,iBAAW,GAAG,WAAW,CAAC,WAAW,CAAC;IAEtC,eAAS,GAAG,WAAW,CAAC,SAAS,CAAC;IAElC,aAAO,GAAG,WAAW,CAAC,OAAO,CAAC;IAE9B,cAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC;IAEhC,kBAAY,GAAG,WAAW,CAAC,YAAY,CAAC;IAExC,yBAAmB,GAAG,WAAW,CAAC,mBAAmB,CAAC;IAEtD,mBAAa,GAAG,WAAW,CAAC,aAAa,CAAC;IAE1C,sBAAgB,GAAG,WAAW,CAAC,gBAAgB,CAAC;IAEhD,sBAAgB,GAAG,WAAW,CAAC,gBAAgB,CAAC;AAE/D,CAAC,EAvHgB,KAAK,GAAL,aAAK,KAAL,aAAK,QAuHrB","sourcesContent":["import * as asciiImport from './ascii';\n\nexport namespace ascii {\n export const AlertEvent = asciiImport.AlertEvent;\n export type AlertEvent = asciiImport.AlertEvent;\n export const AllAxes = asciiImport.AllAxes;\n export type AllAxes = asciiImport.AllAxes;\n export const Axis = asciiImport.Axis;\n export type Axis = asciiImport.Axis;\n export const AxisIdentity = asciiImport.AxisIdentity;\n export type AxisIdentity = asciiImport.AxisIdentity;\n export const AxisSettings = asciiImport.AxisSettings;\n export type AxisSettings = asciiImport.AxisSettings;\n export const AxisType = asciiImport.AxisType;\n export type AxisType = asciiImport.AxisType;\n export const Connection = asciiImport.Connection;\n export type Connection = asciiImport.Connection;\n export const Device = asciiImport.Device;\n export type Device = asciiImport.Device;\n export const DeviceIO = asciiImport.DeviceIO;\n export type DeviceIO = asciiImport.DeviceIO;\n export const DeviceIOInfo = asciiImport.DeviceIOInfo;\n export type DeviceIOInfo = asciiImport.DeviceIOInfo;\n export const DeviceIdentity = asciiImport.DeviceIdentity;\n export type DeviceIdentity = asciiImport.DeviceIdentity;\n export const DeviceSettings = asciiImport.DeviceSettings;\n export type DeviceSettings = asciiImport.DeviceSettings;\n export const GetSetting = asciiImport.GetSetting;\n export type GetSetting = asciiImport.GetSetting;\n export const GetAxisSetting = asciiImport.GetAxisSetting;\n export type GetAxisSetting = asciiImport.GetAxisSetting;\n export const GetSettingResult = asciiImport.GetSettingResult;\n export type GetSettingResult = asciiImport.GetSettingResult;\n export const GetAxisSettingResult = asciiImport.GetAxisSettingResult;\n export type GetAxisSettingResult = asciiImport.GetAxisSettingResult;\n export const IoPortType = asciiImport.IoPortType;\n export type IoPortType = asciiImport.IoPortType;\n export const Lockstep = asciiImport.Lockstep;\n export type Lockstep = asciiImport.Lockstep;\n export const LockstepAxes = asciiImport.LockstepAxes;\n export type LockstepAxes = asciiImport.LockstepAxes;\n export const Oscilloscope = asciiImport.Oscilloscope;\n export type Oscilloscope = asciiImport.Oscilloscope;\n export const OscilloscopeData = asciiImport.OscilloscopeData;\n export type OscilloscopeData = asciiImport.OscilloscopeData;\n export const OscilloscopeDataSource = asciiImport.OscilloscopeDataSource;\n export type OscilloscopeDataSource = asciiImport.OscilloscopeDataSource;\n export const OscilloscopeCaptureProperties = asciiImport.OscilloscopeCaptureProperties;\n export type OscilloscopeCaptureProperties = asciiImport.OscilloscopeCaptureProperties;\n export const MessageType = asciiImport.MessageType;\n export type MessageType = asciiImport.MessageType;\n export const Response = asciiImport.Response;\n export type Response = asciiImport.Response;\n export const SettingConstants = asciiImport.SettingConstants;\n export type SettingConstants = asciiImport.SettingConstants;\n export const UnknownResponseEvent = asciiImport.UnknownResponseEvent;\n export type UnknownResponseEvent = asciiImport.UnknownResponseEvent;\n export const Warnings = asciiImport.Warnings;\n export type Warnings = asciiImport.Warnings;\n export const WarningFlags = asciiImport.WarningFlags;\n export type WarningFlags = asciiImport.WarningFlags;\n export const Stream = asciiImport.Stream;\n export type Stream = asciiImport.Stream;\n export const StreamBuffer = asciiImport.StreamBuffer;\n export type StreamBuffer = asciiImport.StreamBuffer;\n export const StreamMode = asciiImport.StreamMode;\n export type StreamMode = asciiImport.StreamMode;\n export const StreamAxisType = asciiImport.StreamAxisType;\n export type StreamAxisType = asciiImport.StreamAxisType;\n export const StreamAxisDefinition = asciiImport.StreamAxisDefinition;\n export type StreamAxisDefinition = asciiImport.StreamAxisDefinition;\n export const Transport = asciiImport.Transport;\n export type Transport = asciiImport.Transport;\n export const ServoTuner = asciiImport.ServoTuner;\n export type ServoTuner = asciiImport.ServoTuner;\n export const ServoTuningParamset = asciiImport.ServoTuningParamset;\n export type ServoTuningParamset = asciiImport.ServoTuningParamset;\n export const ParamsetInfo = asciiImport.ParamsetInfo;\n export type ParamsetInfo = asciiImport.ParamsetInfo;\n export const PidTuning = asciiImport.PidTuning;\n export type PidTuning = asciiImport.PidTuning;\n export const ServoTuningParam = asciiImport.ServoTuningParam;\n export type ServoTuningParam = asciiImport.ServoTuningParam;\n export const SimpleTuningParamDefinition = asciiImport.SimpleTuningParamDefinition;\n export type SimpleTuningParamDefinition = asciiImport.SimpleTuningParamDefinition;\n export const AxisStorage = asciiImport.AxisStorage;\n export type AxisStorage = asciiImport.AxisStorage;\n export const DeviceStorage = asciiImport.DeviceStorage;\n export type DeviceStorage = asciiImport.DeviceStorage;\n export const ConversionFactor = asciiImport.ConversionFactor;\n export type ConversionFactor = asciiImport.ConversionFactor;\n export const CanSetStateAxisResponse = asciiImport.CanSetStateAxisResponse;\n export type CanSetStateAxisResponse = asciiImport.CanSetStateAxisResponse;\n export const CanSetStateDeviceResponse = asciiImport.CanSetStateDeviceResponse;\n export type CanSetStateDeviceResponse = asciiImport.CanSetStateDeviceResponse;\n export const PvtSequence = asciiImport.PvtSequence;\n export type PvtSequence = asciiImport.PvtSequence;\n export const PvtBuffer = asciiImport.PvtBuffer;\n export type PvtBuffer = asciiImport.PvtBuffer;\n export const PvtMode = asciiImport.PvtMode;\n export type PvtMode = asciiImport.PvtMode;\n export const PvtAxisDefinition = asciiImport.PvtAxisDefinition;\n export type PvtAxisDefinition = asciiImport.PvtAxisDefinition;\n export const PvtAxisType = asciiImport.PvtAxisType;\n export type PvtAxisType = asciiImport.PvtAxisType;\n export const AxisGroup = asciiImport.AxisGroup;\n export type AxisGroup = asciiImport.AxisGroup;\n export const Trigger = asciiImport.Trigger;\n export type Trigger = asciiImport.Trigger;\n export const Triggers = asciiImport.Triggers;\n export type Triggers = asciiImport.Triggers;\n export const TriggerState = asciiImport.TriggerState;\n export type TriggerState = asciiImport.TriggerState;\n export const TriggerEnabledState = asciiImport.TriggerEnabledState;\n export type TriggerEnabledState = asciiImport.TriggerEnabledState;\n export const TriggerAction = asciiImport.TriggerAction;\n export type TriggerAction = asciiImport.TriggerAction;\n export const TriggerCondition = asciiImport.TriggerCondition;\n export type TriggerCondition = asciiImport.TriggerCondition;\n export const TriggerOperation = asciiImport.TriggerOperation;\n export type TriggerOperation = asciiImport.TriggerOperation;\n}\n"]}