@zaber/motion 2.11.2 → 2.12.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 (38) hide show
  1. package/LICENSE +1538 -3009
  2. package/dist/binding/wasm/zaber-motion-lib.wasm +0 -0
  3. package/dist/lib/ascii/axis.d.ts +6 -0
  4. package/dist/lib/ascii/axis.js +8 -0
  5. package/dist/lib/ascii/axis.js.map +1 -1
  6. package/dist/lib/ascii/connection.d.ts +2 -0
  7. package/dist/lib/ascii/connection.js +2 -0
  8. package/dist/lib/ascii/connection.js.map +1 -1
  9. package/dist/lib/ascii/device.d.ts +7 -0
  10. package/dist/lib/ascii/device.js +9 -0
  11. package/dist/lib/ascii/device.js.map +1 -1
  12. package/dist/lib/ascii/index.d.ts +1 -0
  13. package/dist/lib/ascii/index.js +4 -1
  14. package/dist/lib/ascii/index.js.map +1 -1
  15. package/dist/lib/ascii/storage.d.ts +98 -0
  16. package/dist/lib/ascii/storage.js +220 -0
  17. package/dist/lib/ascii/storage.js.map +1 -0
  18. package/dist/lib/ascii_ns.d.ts +4 -0
  19. package/dist/lib/ascii_ns.js +2 -0
  20. package/dist/lib/ascii_ns.js.map +1 -1
  21. package/dist/lib/exceptions/command_too_long_exception.d.ts +14 -0
  22. package/dist/lib/exceptions/command_too_long_exception.js +32 -0
  23. package/dist/lib/exceptions/command_too_long_exception.js.map +1 -0
  24. package/dist/lib/exceptions/command_too_long_exception_data.d.ts +24 -0
  25. package/dist/lib/exceptions/command_too_long_exception_data.js +20 -0
  26. package/dist/lib/exceptions/command_too_long_exception_data.js.map +1 -0
  27. package/dist/lib/exceptions/index.d.ts +3 -0
  28. package/dist/lib/exceptions/index.js +8 -2
  29. package/dist/lib/exceptions/index.js.map +1 -1
  30. package/dist/lib/exceptions/no_value_for_key_exception.d.ts +7 -0
  31. package/dist/lib/exceptions/no_value_for_key_exception.js +17 -0
  32. package/dist/lib/exceptions/no_value_for_key_exception.js.map +1 -0
  33. package/dist/lib/gateway/convert_exceptions.js +2 -0
  34. package/dist/lib/gateway/convert_exceptions.js.map +1 -1
  35. package/dist/lib/protobufs/main_pb.d.ts +306 -0
  36. package/dist/lib/protobufs/main_pb.js +2303 -1
  37. package/dist/lib/protobufs/main_pb.js.map +1 -1
  38. package/package.json +3 -2
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ // ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //
3
+ // ============= DO NOT EDIT DIRECTLY ============= //
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.NoValueForKeyException = void 0;
6
+ const motion_lib_exception_1 = require("./motion_lib_exception");
7
+ /**
8
+ * Thrown when trying to access a key that has not been set.
9
+ */
10
+ class NoValueForKeyException extends motion_lib_exception_1.MotionLibException {
11
+ constructor(message) {
12
+ super(message);
13
+ Object.setPrototypeOf(this, NoValueForKeyException.prototype);
14
+ }
15
+ }
16
+ exports.NoValueForKeyException = NoValueForKeyException;
17
+ //# sourceMappingURL=no_value_for_key_exception.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no_value_for_key_exception.js","sourceRoot":"","sources":["../../../src/exceptions/no_value_for_key_exception.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD,iEAA4D;AAE5D;;GAEG;AACH,MAAa,sBAAuB,SAAQ,yCAAkB;IAE5D,YACE,OAAe;QAEf,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,sBAAsB,CAAC,SAAS,CAAC,CAAC;IAChE,CAAC;CACF;AARD,wDAQC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { MotionLibException } from './motion_lib_exception';\n\n/**\n * Thrown when trying to access a key that has not been set.\n */\nexport class NoValueForKeyException extends MotionLibException {\n\n constructor(\n message: string\n ) {\n super(message);\n Object.setPrototypeOf(this, NoValueForKeyException.prototype);\n }\n}\n"]}
@@ -28,6 +28,7 @@ const errorMapping = new Map();
28
28
  errorMapping.set(main_pb_1.Errors.BINARY_COMMAND_FAILED, exceptions.BinaryCommandFailedException);
29
29
  errorMapping.set(main_pb_1.Errors.COMMAND_FAILED, exceptions.CommandFailedException);
30
30
  errorMapping.set(main_pb_1.Errors.COMMAND_PREEMPTED, exceptions.CommandPreemptedException);
31
+ errorMapping.set(main_pb_1.Errors.COMMAND_TOO_LONG, exceptions.CommandTooLongException);
31
32
  errorMapping.set(main_pb_1.Errors.CONNECTION_CLOSED, exceptions.ConnectionClosedException);
32
33
  errorMapping.set(main_pb_1.Errors.CONNECTION_FAILED, exceptions.ConnectionFailedException);
33
34
  errorMapping.set(main_pb_1.Errors.CONVERSION_FAILED, exceptions.ConversionFailedException);
@@ -52,6 +53,7 @@ errorMapping.set(main_pb_1.Errors.LOCKSTEP_NOT_ENABLED, exceptions.LockstepNotEn
52
53
  errorMapping.set(main_pb_1.Errors.MOVEMENT_FAILED, exceptions.MovementFailedException);
53
54
  errorMapping.set(main_pb_1.Errors.MOVEMENT_INTERRUPTED, exceptions.MovementInterruptedException);
54
55
  errorMapping.set(main_pb_1.Errors.NO_DEVICE_FOUND, exceptions.NoDeviceFoundException);
56
+ errorMapping.set(main_pb_1.Errors.NO_VALUE_FOR_KEY, exceptions.NoValueForKeyException);
55
57
  errorMapping.set(main_pb_1.Errors.NOT_SUPPORTED, exceptions.NotSupportedException);
56
58
  errorMapping.set(main_pb_1.Errors.OS_FAILED, exceptions.OsFailedException);
57
59
  errorMapping.set(main_pb_1.Errors.OUT_OF_REQUEST_IDS, exceptions.OutOfRequestIdsException);
@@ -1 +1 @@
1
- {"version":3,"file":"convert_exceptions.js","sourceRoot":"","sources":["../../../src/gateway/convert_exceptions.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;;;;;;;;;;;;;;;;;;;;AAEtD,kDAA0D;AAC1D,0DAA4C;AAE5C,MAAM,YAAY,GAA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AC,gBAAQ,CAAC,sBAAsB,EAAE,UAAU,CAAC,6BAA6B,CAAC,CAAC;AAC5F,YAAY,CAAC,GAAG,CAAC,gBAAQ,CAAC,eAAe,EAAE,UAAU,CAAC,uBAAuB,CAAC,CAAC;AAE/E,SAAgB,kBAAkB,CAAC,KAAe,EAAE,OAAe,EAAE,UAAmB;IACtF,MAAM,iBAAiB,GAAG,YAAY,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAElD,wBAAwB;IACxB,IAAI,CAAC,iBAAiB,EAAE;QACtB,OAAO,IAAI,UAAU,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;KACnD;IAED,OAAO,IAAI,iBAAiB,CAAC,OAAO,EAAE,UAAW,CAAC,CAAC;AACrD,CAAC;AATD,gDASC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { Errors as PbErrors } from '../protobufs/main_pb';\nimport * as exceptions from '../exceptions';\n\nconst errorMapping = new Map<PbErrors, new (message: string, customData: Buffer) => exceptions.MotionLibException>();\nerrorMapping.set(PbErrors.BINARY_COMMAND_FAILED, exceptions.BinaryCommandFailedException);\nerrorMapping.set(PbErrors.COMMAND_FAILED, exceptions.CommandFailedException);\nerrorMapping.set(PbErrors.COMMAND_PREEMPTED, exceptions.CommandPreemptedException);\nerrorMapping.set(PbErrors.CONNECTION_CLOSED, exceptions.ConnectionClosedException);\nerrorMapping.set(PbErrors.CONNECTION_FAILED, exceptions.ConnectionFailedException);\nerrorMapping.set(PbErrors.CONVERSION_FAILED, exceptions.ConversionFailedException);\nerrorMapping.set(PbErrors.DEVICE_ADDRESS_CONFLICT, exceptions.DeviceAddressConflictException);\nerrorMapping.set(PbErrors.DEVICE_BUSY, exceptions.DeviceBusyException);\nerrorMapping.set(PbErrors.DEVICE_DB_FAILED, exceptions.DeviceDbFailedException);\nerrorMapping.set(PbErrors.DEVICE_FAILED, exceptions.DeviceFailedException);\nerrorMapping.set(PbErrors.DEVICE_NOT_IDENTIFIED, exceptions.DeviceNotIdentifiedException);\nerrorMapping.set(PbErrors.G_CODE_EXECUTION, exceptions.GCodeExecutionException);\nerrorMapping.set(PbErrors.G_CODE_SYNTAX, exceptions.GCodeSyntaxException);\nerrorMapping.set(PbErrors.INTERNAL_ERROR, exceptions.InternalErrorException);\nerrorMapping.set(PbErrors.INVALID_ARGUMENT, exceptions.InvalidArgumentException);\nerrorMapping.set(PbErrors.INVALID_DATA, exceptions.InvalidDataException);\nerrorMapping.set(PbErrors.INVALID_OPERATION, exceptions.InvalidOperationException);\nerrorMapping.set(PbErrors.INVALID_PACKET, exceptions.InvalidPacketException);\nerrorMapping.set(PbErrors.INVALID_PARK_STATE, exceptions.InvalidParkStateException);\nerrorMapping.set(PbErrors.INVALID_RESPONSE, exceptions.InvalidResponseException);\nerrorMapping.set(PbErrors.IO_CHANNEL_OUT_OF_RANGE, exceptions.IoChannelOutOfRangeException);\nerrorMapping.set(PbErrors.IO_FAILED, exceptions.IoFailedException);\nerrorMapping.set(PbErrors.LOCKSTEP_ENABLED, exceptions.LockstepEnabledException);\nerrorMapping.set(PbErrors.LOCKSTEP_NOT_ENABLED, exceptions.LockstepNotEnabledException);\nerrorMapping.set(PbErrors.MOVEMENT_FAILED, exceptions.MovementFailedException);\nerrorMapping.set(PbErrors.MOVEMENT_INTERRUPTED, exceptions.MovementInterruptedException);\nerrorMapping.set(PbErrors.NO_DEVICE_FOUND, exceptions.NoDeviceFoundException);\nerrorMapping.set(PbErrors.NOT_SUPPORTED, exceptions.NotSupportedException);\nerrorMapping.set(PbErrors.OS_FAILED, exceptions.OsFailedException);\nerrorMapping.set(PbErrors.OUT_OF_REQUEST_IDS, exceptions.OutOfRequestIdsException);\nerrorMapping.set(PbErrors.REQUEST_TIMEOUT, exceptions.RequestTimeoutException);\nerrorMapping.set(PbErrors.SERIAL_PORT_BUSY, exceptions.SerialPortBusyException);\nerrorMapping.set(PbErrors.SET_DEVICE_STATE_FAILED, exceptions.SetDeviceStateFailedException);\nerrorMapping.set(PbErrors.SET_PERIPHERAL_STATE_FAILED, exceptions.SetPeripheralStateFailedException);\nerrorMapping.set(PbErrors.SETTING_NOT_FOUND, exceptions.SettingNotFoundException);\nerrorMapping.set(PbErrors.STREAM_EXECUTION, exceptions.StreamExecutionException);\nerrorMapping.set(PbErrors.STREAM_MODE, exceptions.StreamModeException);\nerrorMapping.set(PbErrors.STREAM_MOVEMENT_FAILED, exceptions.StreamMovementFailedException);\nerrorMapping.set(PbErrors.STREAM_MOVEMENT_INTERRUPTED, exceptions.StreamMovementInterruptedException);\nerrorMapping.set(PbErrors.STREAM_SETUP_FAILED, exceptions.StreamSetupFailedException);\nerrorMapping.set(PbErrors.TRANSPORT_ALREADY_USED, exceptions.TransportAlreadyUsedException);\nerrorMapping.set(PbErrors.UNKNOWN_REQUEST, exceptions.UnknownRequestException);\n\nexport function convertToException(error: PbErrors, message: string, customData?: Buffer): exceptions.MotionLibException {\n const SpecificException = errorMapping.get(error);\n\n /* istanbul ignore if */\n if (!SpecificException) {\n return new exceptions.MotionLibException(message);\n }\n\n return new SpecificException(message, customData!);\n}\n"]}
1
+ {"version":3,"file":"convert_exceptions.js","sourceRoot":"","sources":["../../../src/gateway/convert_exceptions.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;;;;;;;;;;;;;;;;;;;;AAEtD,kDAA0D;AAC1D,0DAA4C;AAE5C,MAAM,YAAY,GAAG,IAAI,GAAG,EAAwF,CAAC;AACrH,YAAY,CAAC,GAAG,CAAC,gBAAQ,CAAC,qBAAqB,EAAE,UAAU,CAAC,4BAA4B,CAAC,CAAC;AAC1F,YAAY,CAAC,GAAG,CAAC,gBAAQ,CAAC,cAAc,EAAE,UAAU,CAAC,sBAAsB,CAAC,CAAC;AAC7E,YAAY,CAAC,GAAG,CAAC,gBAAQ,CAAC,iBAAiB,EAAE,UAAU,CAAC,yBAAyB,CAAC,CAAC;AACnF,YAAY,CAA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,uBAAuB,CAAC,CAAC;AAE/E,SAAgB,kBAAkB,CAAC,KAAe,EAAE,OAAe,EAAE,UAAmB;IACtF,MAAM,iBAAiB,GAAG,YAAY,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAElD,wBAAwB;IACxB,IAAI,CAAC,iBAAiB,EAAE;QACtB,OAAO,IAAI,UAAU,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;KACnD;IAED,OAAO,IAAI,iBAAiB,CAAC,OAAO,EAAE,UAAW,CAAC,CAAC;AACrD,CAAC;AATD,gDASC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { Errors as PbErrors } from '../protobufs/main_pb';\nimport * as exceptions from '../exceptions';\n\nconst errorMapping = new Map<PbErrors, new (message: string, customData: Buffer) => exceptions.MotionLibException>();\nerrorMapping.set(PbErrors.BINARY_COMMAND_FAILED, exceptions.BinaryCommandFailedException);\nerrorMapping.set(PbErrors.COMMAND_FAILED, exceptions.CommandFailedException);\nerrorMapping.set(PbErrors.COMMAND_PREEMPTED, exceptions.CommandPreemptedException);\nerrorMapping.set(PbErrors.COMMAND_TOO_LONG, exceptions.CommandTooLongException);\nerrorMapping.set(PbErrors.CONNECTION_CLOSED, exceptions.ConnectionClosedException);\nerrorMapping.set(PbErrors.CONNECTION_FAILED, exceptions.ConnectionFailedException);\nerrorMapping.set(PbErrors.CONVERSION_FAILED, exceptions.ConversionFailedException);\nerrorMapping.set(PbErrors.DEVICE_ADDRESS_CONFLICT, exceptions.DeviceAddressConflictException);\nerrorMapping.set(PbErrors.DEVICE_BUSY, exceptions.DeviceBusyException);\nerrorMapping.set(PbErrors.DEVICE_DB_FAILED, exceptions.DeviceDbFailedException);\nerrorMapping.set(PbErrors.DEVICE_FAILED, exceptions.DeviceFailedException);\nerrorMapping.set(PbErrors.DEVICE_NOT_IDENTIFIED, exceptions.DeviceNotIdentifiedException);\nerrorMapping.set(PbErrors.G_CODE_EXECUTION, exceptions.GCodeExecutionException);\nerrorMapping.set(PbErrors.G_CODE_SYNTAX, exceptions.GCodeSyntaxException);\nerrorMapping.set(PbErrors.INTERNAL_ERROR, exceptions.InternalErrorException);\nerrorMapping.set(PbErrors.INVALID_ARGUMENT, exceptions.InvalidArgumentException);\nerrorMapping.set(PbErrors.INVALID_DATA, exceptions.InvalidDataException);\nerrorMapping.set(PbErrors.INVALID_OPERATION, exceptions.InvalidOperationException);\nerrorMapping.set(PbErrors.INVALID_PACKET, exceptions.InvalidPacketException);\nerrorMapping.set(PbErrors.INVALID_PARK_STATE, exceptions.InvalidParkStateException);\nerrorMapping.set(PbErrors.INVALID_RESPONSE, exceptions.InvalidResponseException);\nerrorMapping.set(PbErrors.IO_CHANNEL_OUT_OF_RANGE, exceptions.IoChannelOutOfRangeException);\nerrorMapping.set(PbErrors.IO_FAILED, exceptions.IoFailedException);\nerrorMapping.set(PbErrors.LOCKSTEP_ENABLED, exceptions.LockstepEnabledException);\nerrorMapping.set(PbErrors.LOCKSTEP_NOT_ENABLED, exceptions.LockstepNotEnabledException);\nerrorMapping.set(PbErrors.MOVEMENT_FAILED, exceptions.MovementFailedException);\nerrorMapping.set(PbErrors.MOVEMENT_INTERRUPTED, exceptions.MovementInterruptedException);\nerrorMapping.set(PbErrors.NO_DEVICE_FOUND, exceptions.NoDeviceFoundException);\nerrorMapping.set(PbErrors.NO_VALUE_FOR_KEY, exceptions.NoValueForKeyException);\nerrorMapping.set(PbErrors.NOT_SUPPORTED, exceptions.NotSupportedException);\nerrorMapping.set(PbErrors.OS_FAILED, exceptions.OsFailedException);\nerrorMapping.set(PbErrors.OUT_OF_REQUEST_IDS, exceptions.OutOfRequestIdsException);\nerrorMapping.set(PbErrors.REQUEST_TIMEOUT, exceptions.RequestTimeoutException);\nerrorMapping.set(PbErrors.SERIAL_PORT_BUSY, exceptions.SerialPortBusyException);\nerrorMapping.set(PbErrors.SET_DEVICE_STATE_FAILED, exceptions.SetDeviceStateFailedException);\nerrorMapping.set(PbErrors.SET_PERIPHERAL_STATE_FAILED, exceptions.SetPeripheralStateFailedException);\nerrorMapping.set(PbErrors.SETTING_NOT_FOUND, exceptions.SettingNotFoundException);\nerrorMapping.set(PbErrors.STREAM_EXECUTION, exceptions.StreamExecutionException);\nerrorMapping.set(PbErrors.STREAM_MODE, exceptions.StreamModeException);\nerrorMapping.set(PbErrors.STREAM_MOVEMENT_FAILED, exceptions.StreamMovementFailedException);\nerrorMapping.set(PbErrors.STREAM_MOVEMENT_INTERRUPTED, exceptions.StreamMovementInterruptedException);\nerrorMapping.set(PbErrors.STREAM_SETUP_FAILED, exceptions.StreamSetupFailedException);\nerrorMapping.set(PbErrors.TRANSPORT_ALREADY_USED, exceptions.TransportAlreadyUsedException);\nerrorMapping.set(PbErrors.UNKNOWN_REQUEST, exceptions.UnknownRequestException);\n\nexport function convertToException(error: PbErrors, message: string, customData?: Buffer): exceptions.MotionLibException {\n const SpecificException = errorMapping.get(error);\n\n /* istanbul ignore if */\n if (!SpecificException) {\n return new exceptions.MotionLibException(message);\n }\n\n return new SpecificException(message, customData!);\n}\n"]}
@@ -624,6 +624,38 @@ export namespace SetDeviceStateExceptionData {
624
624
  }
625
625
  }
626
626
 
627
+ export class CommandTooLongExceptionData extends jspb.Message {
628
+ getFit(): string;
629
+ setFit(value: string): void;
630
+
631
+ getRemainder(): string;
632
+ setRemainder(value: string): void;
633
+
634
+ getPacketSize(): number;
635
+ setPacketSize(value: number): void;
636
+
637
+ getPacketsMax(): number;
638
+ setPacketsMax(value: number): void;
639
+
640
+ serializeBinary(): Uint8Array;
641
+ toObject(includeInstance?: boolean): CommandTooLongExceptionData.AsObject;
642
+ static toObject(includeInstance: boolean, msg: CommandTooLongExceptionData): CommandTooLongExceptionData.AsObject;
643
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
644
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
645
+ static serializeBinaryToWriter(message: CommandTooLongExceptionData, writer: jspb.BinaryWriter): void;
646
+ static deserializeBinary(bytes: Uint8Array): CommandTooLongExceptionData;
647
+ static deserializeBinaryFromReader(message: CommandTooLongExceptionData, reader: jspb.BinaryReader): CommandTooLongExceptionData;
648
+ }
649
+
650
+ export namespace CommandTooLongExceptionData {
651
+ export type AsObject = {
652
+ fit: string,
653
+ remainder: string,
654
+ packetSize: number,
655
+ packetsMax: number,
656
+ }
657
+ }
658
+
627
659
  export class TestRequest extends jspb.Message {
628
660
  getReturnError(): boolean;
629
661
  setReturnError(value: boolean): void;
@@ -7011,6 +7043,278 @@ export namespace TranslatorSetFeedRateOverrideRequest {
7011
7043
  }
7012
7044
  }
7013
7045
 
7046
+ export class DeviceSetStorageRequest extends jspb.Message {
7047
+ getInterfaceId(): number;
7048
+ setInterfaceId(value: number): void;
7049
+
7050
+ getDevice(): number;
7051
+ setDevice(value: number): void;
7052
+
7053
+ getAxis(): number;
7054
+ setAxis(value: number): void;
7055
+
7056
+ getKey(): string;
7057
+ setKey(value: string): void;
7058
+
7059
+ getValue(): string;
7060
+ setValue(value: string): void;
7061
+
7062
+ getEncode(): boolean;
7063
+ setEncode(value: boolean): void;
7064
+
7065
+ serializeBinary(): Uint8Array;
7066
+ toObject(includeInstance?: boolean): DeviceSetStorageRequest.AsObject;
7067
+ static toObject(includeInstance: boolean, msg: DeviceSetStorageRequest): DeviceSetStorageRequest.AsObject;
7068
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
7069
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
7070
+ static serializeBinaryToWriter(message: DeviceSetStorageRequest, writer: jspb.BinaryWriter): void;
7071
+ static deserializeBinary(bytes: Uint8Array): DeviceSetStorageRequest;
7072
+ static deserializeBinaryFromReader(message: DeviceSetStorageRequest, reader: jspb.BinaryReader): DeviceSetStorageRequest;
7073
+ }
7074
+
7075
+ export namespace DeviceSetStorageRequest {
7076
+ export type AsObject = {
7077
+ interfaceId: number,
7078
+ device: number,
7079
+ axis: number,
7080
+ key: string,
7081
+ value: string,
7082
+ encode: boolean,
7083
+ }
7084
+ }
7085
+
7086
+ export class DeviceGetStorageRequest extends jspb.Message {
7087
+ getInterfaceId(): number;
7088
+ setInterfaceId(value: number): void;
7089
+
7090
+ getDevice(): number;
7091
+ setDevice(value: number): void;
7092
+
7093
+ getAxis(): number;
7094
+ setAxis(value: number): void;
7095
+
7096
+ getKey(): string;
7097
+ setKey(value: string): void;
7098
+
7099
+ getDecode(): boolean;
7100
+ setDecode(value: boolean): void;
7101
+
7102
+ serializeBinary(): Uint8Array;
7103
+ toObject(includeInstance?: boolean): DeviceGetStorageRequest.AsObject;
7104
+ static toObject(includeInstance: boolean, msg: DeviceGetStorageRequest): DeviceGetStorageRequest.AsObject;
7105
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
7106
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
7107
+ static serializeBinaryToWriter(message: DeviceGetStorageRequest, writer: jspb.BinaryWriter): void;
7108
+ static deserializeBinary(bytes: Uint8Array): DeviceGetStorageRequest;
7109
+ static deserializeBinaryFromReader(message: DeviceGetStorageRequest, reader: jspb.BinaryReader): DeviceGetStorageRequest;
7110
+ }
7111
+
7112
+ export namespace DeviceGetStorageRequest {
7113
+ export type AsObject = {
7114
+ interfaceId: number,
7115
+ device: number,
7116
+ axis: number,
7117
+ key: string,
7118
+ decode: boolean,
7119
+ }
7120
+ }
7121
+
7122
+ export class DeviceGetStorageResponse extends jspb.Message {
7123
+ getValue(): string;
7124
+ setValue(value: string): void;
7125
+
7126
+ serializeBinary(): Uint8Array;
7127
+ toObject(includeInstance?: boolean): DeviceGetStorageResponse.AsObject;
7128
+ static toObject(includeInstance: boolean, msg: DeviceGetStorageResponse): DeviceGetStorageResponse.AsObject;
7129
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
7130
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
7131
+ static serializeBinaryToWriter(message: DeviceGetStorageResponse, writer: jspb.BinaryWriter): void;
7132
+ static deserializeBinary(bytes: Uint8Array): DeviceGetStorageResponse;
7133
+ static deserializeBinaryFromReader(message: DeviceGetStorageResponse, reader: jspb.BinaryReader): DeviceGetStorageResponse;
7134
+ }
7135
+
7136
+ export namespace DeviceGetStorageResponse {
7137
+ export type AsObject = {
7138
+ value: string,
7139
+ }
7140
+ }
7141
+
7142
+ export class DeviceSetStorageNumberRequest extends jspb.Message {
7143
+ getInterfaceId(): number;
7144
+ setInterfaceId(value: number): void;
7145
+
7146
+ getDevice(): number;
7147
+ setDevice(value: number): void;
7148
+
7149
+ getAxis(): number;
7150
+ setAxis(value: number): void;
7151
+
7152
+ getKey(): string;
7153
+ setKey(value: string): void;
7154
+
7155
+ getValue(): number;
7156
+ setValue(value: number): void;
7157
+
7158
+ serializeBinary(): Uint8Array;
7159
+ toObject(includeInstance?: boolean): DeviceSetStorageNumberRequest.AsObject;
7160
+ static toObject(includeInstance: boolean, msg: DeviceSetStorageNumberRequest): DeviceSetStorageNumberRequest.AsObject;
7161
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
7162
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
7163
+ static serializeBinaryToWriter(message: DeviceSetStorageNumberRequest, writer: jspb.BinaryWriter): void;
7164
+ static deserializeBinary(bytes: Uint8Array): DeviceSetStorageNumberRequest;
7165
+ static deserializeBinaryFromReader(message: DeviceSetStorageNumberRequest, reader: jspb.BinaryReader): DeviceSetStorageNumberRequest;
7166
+ }
7167
+
7168
+ export namespace DeviceSetStorageNumberRequest {
7169
+ export type AsObject = {
7170
+ interfaceId: number,
7171
+ device: number,
7172
+ axis: number,
7173
+ key: string,
7174
+ value: number,
7175
+ }
7176
+ }
7177
+
7178
+ export class DeviceGetStorageNumberRequest extends jspb.Message {
7179
+ getInterfaceId(): number;
7180
+ setInterfaceId(value: number): void;
7181
+
7182
+ getDevice(): number;
7183
+ setDevice(value: number): void;
7184
+
7185
+ getAxis(): number;
7186
+ setAxis(value: number): void;
7187
+
7188
+ getKey(): string;
7189
+ setKey(value: string): void;
7190
+
7191
+ serializeBinary(): Uint8Array;
7192
+ toObject(includeInstance?: boolean): DeviceGetStorageNumberRequest.AsObject;
7193
+ static toObject(includeInstance: boolean, msg: DeviceGetStorageNumberRequest): DeviceGetStorageNumberRequest.AsObject;
7194
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
7195
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
7196
+ static serializeBinaryToWriter(message: DeviceGetStorageNumberRequest, writer: jspb.BinaryWriter): void;
7197
+ static deserializeBinary(bytes: Uint8Array): DeviceGetStorageNumberRequest;
7198
+ static deserializeBinaryFromReader(message: DeviceGetStorageNumberRequest, reader: jspb.BinaryReader): DeviceGetStorageNumberRequest;
7199
+ }
7200
+
7201
+ export namespace DeviceGetStorageNumberRequest {
7202
+ export type AsObject = {
7203
+ interfaceId: number,
7204
+ device: number,
7205
+ axis: number,
7206
+ key: string,
7207
+ }
7208
+ }
7209
+
7210
+ export class DeviceGetStorageNumberResponse extends jspb.Message {
7211
+ getValue(): number;
7212
+ setValue(value: number): void;
7213
+
7214
+ serializeBinary(): Uint8Array;
7215
+ toObject(includeInstance?: boolean): DeviceGetStorageNumberResponse.AsObject;
7216
+ static toObject(includeInstance: boolean, msg: DeviceGetStorageNumberResponse): DeviceGetStorageNumberResponse.AsObject;
7217
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
7218
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
7219
+ static serializeBinaryToWriter(message: DeviceGetStorageNumberResponse, writer: jspb.BinaryWriter): void;
7220
+ static deserializeBinary(bytes: Uint8Array): DeviceGetStorageNumberResponse;
7221
+ static deserializeBinaryFromReader(message: DeviceGetStorageNumberResponse, reader: jspb.BinaryReader): DeviceGetStorageNumberResponse;
7222
+ }
7223
+
7224
+ export namespace DeviceGetStorageNumberResponse {
7225
+ export type AsObject = {
7226
+ value: number,
7227
+ }
7228
+ }
7229
+
7230
+ export class DeviceSetStorageBoolRequest extends jspb.Message {
7231
+ getInterfaceId(): number;
7232
+ setInterfaceId(value: number): void;
7233
+
7234
+ getDevice(): number;
7235
+ setDevice(value: number): void;
7236
+
7237
+ getAxis(): number;
7238
+ setAxis(value: number): void;
7239
+
7240
+ getKey(): string;
7241
+ setKey(value: string): void;
7242
+
7243
+ getValue(): boolean;
7244
+ setValue(value: boolean): void;
7245
+
7246
+ serializeBinary(): Uint8Array;
7247
+ toObject(includeInstance?: boolean): DeviceSetStorageBoolRequest.AsObject;
7248
+ static toObject(includeInstance: boolean, msg: DeviceSetStorageBoolRequest): DeviceSetStorageBoolRequest.AsObject;
7249
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
7250
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
7251
+ static serializeBinaryToWriter(message: DeviceSetStorageBoolRequest, writer: jspb.BinaryWriter): void;
7252
+ static deserializeBinary(bytes: Uint8Array): DeviceSetStorageBoolRequest;
7253
+ static deserializeBinaryFromReader(message: DeviceSetStorageBoolRequest, reader: jspb.BinaryReader): DeviceSetStorageBoolRequest;
7254
+ }
7255
+
7256
+ export namespace DeviceSetStorageBoolRequest {
7257
+ export type AsObject = {
7258
+ interfaceId: number,
7259
+ device: number,
7260
+ axis: number,
7261
+ key: string,
7262
+ value: boolean,
7263
+ }
7264
+ }
7265
+
7266
+ export class DeviceGetStorageBoolRequest extends jspb.Message {
7267
+ getInterfaceId(): number;
7268
+ setInterfaceId(value: number): void;
7269
+
7270
+ getDevice(): number;
7271
+ setDevice(value: number): void;
7272
+
7273
+ getAxis(): number;
7274
+ setAxis(value: number): void;
7275
+
7276
+ getKey(): string;
7277
+ setKey(value: string): void;
7278
+
7279
+ serializeBinary(): Uint8Array;
7280
+ toObject(includeInstance?: boolean): DeviceGetStorageBoolRequest.AsObject;
7281
+ static toObject(includeInstance: boolean, msg: DeviceGetStorageBoolRequest): DeviceGetStorageBoolRequest.AsObject;
7282
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
7283
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
7284
+ static serializeBinaryToWriter(message: DeviceGetStorageBoolRequest, writer: jspb.BinaryWriter): void;
7285
+ static deserializeBinary(bytes: Uint8Array): DeviceGetStorageBoolRequest;
7286
+ static deserializeBinaryFromReader(message: DeviceGetStorageBoolRequest, reader: jspb.BinaryReader): DeviceGetStorageBoolRequest;
7287
+ }
7288
+
7289
+ export namespace DeviceGetStorageBoolRequest {
7290
+ export type AsObject = {
7291
+ interfaceId: number,
7292
+ device: number,
7293
+ axis: number,
7294
+ key: string,
7295
+ }
7296
+ }
7297
+
7298
+ export class DeviceGetStorageBoolResponse extends jspb.Message {
7299
+ getValue(): boolean;
7300
+ setValue(value: boolean): void;
7301
+
7302
+ serializeBinary(): Uint8Array;
7303
+ toObject(includeInstance?: boolean): DeviceGetStorageBoolResponse.AsObject;
7304
+ static toObject(includeInstance: boolean, msg: DeviceGetStorageBoolResponse): DeviceGetStorageBoolResponse.AsObject;
7305
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
7306
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
7307
+ static serializeBinaryToWriter(message: DeviceGetStorageBoolResponse, writer: jspb.BinaryWriter): void;
7308
+ static deserializeBinary(bytes: Uint8Array): DeviceGetStorageBoolResponse;
7309
+ static deserializeBinaryFromReader(message: DeviceGetStorageBoolResponse, reader: jspb.BinaryReader): DeviceGetStorageBoolResponse;
7310
+ }
7311
+
7312
+ export namespace DeviceGetStorageBoolResponse {
7313
+ export type AsObject = {
7314
+ value: boolean,
7315
+ }
7316
+ }
7317
+
7014
7318
  export enum MessageType {
7015
7319
  REPLY = 0,
7016
7320
  INFO = 1,
@@ -7060,6 +7364,8 @@ export enum Errors {
7060
7364
  G_CODE_SYNTAX = 41,
7061
7365
  G_CODE_EXECUTION = 42,
7062
7366
  INVALID_OPERATION = 43,
7367
+ COMMAND_TOO_LONG = 44,
7368
+ NO_VALUE_FOR_KEY = 45,
7063
7369
  }
7064
7370
 
7065
7371
  export enum InterfaceType {