@zaber/motion 2.14.7 → 2.15.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.
- package/dist/binding/wasm/zaber-motion-lib.wasm +0 -0
- package/dist/lib/ascii/axis.d.ts +4 -0
- package/dist/lib/ascii/axis.js +4 -0
- package/dist/lib/ascii/axis.js.map +1 -1
- package/dist/lib/ascii/lockstep.d.ts +4 -0
- package/dist/lib/ascii/lockstep.js +4 -0
- package/dist/lib/ascii/lockstep.js.map +1 -1
- package/dist/lib/ascii/oscilloscope.d.ts +20 -2
- package/dist/lib/ascii/oscilloscope.js +42 -2
- package/dist/lib/ascii/oscilloscope.js.map +1 -1
- package/dist/lib/ascii/storage.d.ts +26 -0
- package/dist/lib/ascii/storage.js +56 -0
- package/dist/lib/ascii/storage.js.map +1 -1
- package/dist/lib/exceptions/set_device_state_exception_data.d.ts +8 -0
- package/dist/lib/exceptions/set_device_state_exception_data.js +2 -0
- package/dist/lib/exceptions/set_device_state_exception_data.js.map +1 -1
- package/dist/lib/exceptions/set_peripheral_state_exception_data.d.ts +4 -0
- package/dist/lib/exceptions/set_peripheral_state_exception_data.js +1 -0
- package/dist/lib/exceptions/set_peripheral_state_exception_data.js.map +1 -1
- package/dist/lib/protobufs/main_pb.d.ts +70 -0
- package/dist/lib/protobufs/main_pb.js +553 -5
- package/dist/lib/protobufs/main_pb.js.map +1 -1
- package/package.json +1 -1
|
@@ -80,6 +80,7 @@ goog.exportSymbol('zaber.motion.protobufs.DeviceSetStorageNumberRequest', null,
|
|
|
80
80
|
goog.exportSymbol('zaber.motion.protobufs.DeviceSetStorageRequest', null, proto);
|
|
81
81
|
goog.exportSymbol('zaber.motion.protobufs.DeviceSetUnitConversionsRequest', null, proto);
|
|
82
82
|
goog.exportSymbol('zaber.motion.protobufs.DeviceStopRequest', null, proto);
|
|
83
|
+
goog.exportSymbol('zaber.motion.protobufs.DeviceStorageListKeysRequest', null, proto);
|
|
83
84
|
goog.exportSymbol('zaber.motion.protobufs.DeviceStorageRequest', null, proto);
|
|
84
85
|
goog.exportSymbol('zaber.motion.protobufs.DeviceWaitUntilIdleRequest', null, proto);
|
|
85
86
|
goog.exportSymbol('zaber.motion.protobufs.DisconnectedEvent', null, proto);
|
|
@@ -188,6 +189,7 @@ goog.exportSymbol('zaber.motion.protobufs.StreamWaitAnalogInputRequest', null, p
|
|
|
188
189
|
goog.exportSymbol('zaber.motion.protobufs.StreamWaitDigitalInputRequest', null, proto);
|
|
189
190
|
goog.exportSymbol('zaber.motion.protobufs.StreamWaitRequest', null, proto);
|
|
190
191
|
goog.exportSymbol('zaber.motion.protobufs.StreamWaitUntilIdleRequest', null, proto);
|
|
192
|
+
goog.exportSymbol('zaber.motion.protobufs.StringArrayResponse', null, proto);
|
|
191
193
|
goog.exportSymbol('zaber.motion.protobufs.StringResponse', null, proto);
|
|
192
194
|
goog.exportSymbol('zaber.motion.protobufs.TestEvent', null, proto);
|
|
193
195
|
goog.exportSymbol('zaber.motion.protobufs.TestRequest', null, proto);
|
|
@@ -385,6 +387,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
385
387
|
*/
|
|
386
388
|
proto.zaber.motion.protobufs.StringResponse.displayName = 'proto.zaber.motion.protobufs.StringResponse';
|
|
387
389
|
}
|
|
390
|
+
/**
|
|
391
|
+
* Generated by JsPbCodeGenerator.
|
|
392
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
393
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
394
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
395
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
396
|
+
* valid.
|
|
397
|
+
* @extends {jspb.Message}
|
|
398
|
+
* @constructor
|
|
399
|
+
*/
|
|
400
|
+
proto.zaber.motion.protobufs.StringArrayResponse = function(opt_data) {
|
|
401
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.StringArrayResponse.repeatedFields_, null);
|
|
402
|
+
};
|
|
403
|
+
goog.inherits(proto.zaber.motion.protobufs.StringArrayResponse, jspb.Message);
|
|
404
|
+
if (goog.DEBUG && !COMPILED) {
|
|
405
|
+
/**
|
|
406
|
+
* @public
|
|
407
|
+
* @override
|
|
408
|
+
*/
|
|
409
|
+
proto.zaber.motion.protobufs.StringArrayResponse.displayName = 'proto.zaber.motion.protobufs.StringArrayResponse';
|
|
410
|
+
}
|
|
388
411
|
/**
|
|
389
412
|
* Generated by JsPbCodeGenerator.
|
|
390
413
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -4165,6 +4188,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4165
4188
|
*/
|
|
4166
4189
|
proto.zaber.motion.protobufs.DeviceStorageRequest.displayName = 'proto.zaber.motion.protobufs.DeviceStorageRequest';
|
|
4167
4190
|
}
|
|
4191
|
+
/**
|
|
4192
|
+
* Generated by JsPbCodeGenerator.
|
|
4193
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4194
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4195
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4196
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4197
|
+
* valid.
|
|
4198
|
+
* @extends {jspb.Message}
|
|
4199
|
+
* @constructor
|
|
4200
|
+
*/
|
|
4201
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest = function(opt_data) {
|
|
4202
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4203
|
+
};
|
|
4204
|
+
goog.inherits(proto.zaber.motion.protobufs.DeviceStorageListKeysRequest, jspb.Message);
|
|
4205
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4206
|
+
/**
|
|
4207
|
+
* @public
|
|
4208
|
+
* @override
|
|
4209
|
+
*/
|
|
4210
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.displayName = 'proto.zaber.motion.protobufs.DeviceStorageListKeysRequest';
|
|
4211
|
+
}
|
|
4168
4212
|
/**
|
|
4169
4213
|
* Generated by JsPbCodeGenerator.
|
|
4170
4214
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -5287,6 +5331,162 @@ proto.zaber.motion.protobufs.StringResponse.prototype.setValue = function(value)
|
|
|
5287
5331
|
|
|
5288
5332
|
|
|
5289
5333
|
|
|
5334
|
+
/**
|
|
5335
|
+
* List of repeated fields within this message type.
|
|
5336
|
+
* @private {!Array<number>}
|
|
5337
|
+
* @const
|
|
5338
|
+
*/
|
|
5339
|
+
proto.zaber.motion.protobufs.StringArrayResponse.repeatedFields_ = [1];
|
|
5340
|
+
|
|
5341
|
+
|
|
5342
|
+
|
|
5343
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5344
|
+
/**
|
|
5345
|
+
* Creates an object representation of this proto.
|
|
5346
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5347
|
+
* Optional fields that are not set will be set to undefined.
|
|
5348
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5349
|
+
* For the list of reserved names please see:
|
|
5350
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5351
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5352
|
+
* JSPB instance for transitional soy proto support:
|
|
5353
|
+
* http://goto/soy-param-migration
|
|
5354
|
+
* @return {!Object}
|
|
5355
|
+
*/
|
|
5356
|
+
proto.zaber.motion.protobufs.StringArrayResponse.prototype.toObject = function(opt_includeInstance) {
|
|
5357
|
+
return proto.zaber.motion.protobufs.StringArrayResponse.toObject(opt_includeInstance, this);
|
|
5358
|
+
};
|
|
5359
|
+
|
|
5360
|
+
|
|
5361
|
+
/**
|
|
5362
|
+
* Static version of the {@see toObject} method.
|
|
5363
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5364
|
+
* the JSPB instance for transitional soy proto support:
|
|
5365
|
+
* http://goto/soy-param-migration
|
|
5366
|
+
* @param {!proto.zaber.motion.protobufs.StringArrayResponse} msg The msg instance to transform.
|
|
5367
|
+
* @return {!Object}
|
|
5368
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5369
|
+
*/
|
|
5370
|
+
proto.zaber.motion.protobufs.StringArrayResponse.toObject = function(includeInstance, msg) {
|
|
5371
|
+
var f, obj = {
|
|
5372
|
+
valuesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
5373
|
+
};
|
|
5374
|
+
|
|
5375
|
+
if (includeInstance) {
|
|
5376
|
+
obj.$jspbMessageInstance = msg;
|
|
5377
|
+
}
|
|
5378
|
+
return obj;
|
|
5379
|
+
};
|
|
5380
|
+
}
|
|
5381
|
+
|
|
5382
|
+
|
|
5383
|
+
/**
|
|
5384
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5385
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5386
|
+
* @return {!proto.zaber.motion.protobufs.StringArrayResponse}
|
|
5387
|
+
*/
|
|
5388
|
+
proto.zaber.motion.protobufs.StringArrayResponse.deserializeBinary = function(bytes) {
|
|
5389
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5390
|
+
var msg = new proto.zaber.motion.protobufs.StringArrayResponse;
|
|
5391
|
+
return proto.zaber.motion.protobufs.StringArrayResponse.deserializeBinaryFromReader(msg, reader);
|
|
5392
|
+
};
|
|
5393
|
+
|
|
5394
|
+
|
|
5395
|
+
/**
|
|
5396
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5397
|
+
* given reader into the given message object.
|
|
5398
|
+
* @param {!proto.zaber.motion.protobufs.StringArrayResponse} msg The message object to deserialize into.
|
|
5399
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5400
|
+
* @return {!proto.zaber.motion.protobufs.StringArrayResponse}
|
|
5401
|
+
*/
|
|
5402
|
+
proto.zaber.motion.protobufs.StringArrayResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
5403
|
+
while (reader.nextField()) {
|
|
5404
|
+
if (reader.isEndGroup()) {
|
|
5405
|
+
break;
|
|
5406
|
+
}
|
|
5407
|
+
var field = reader.getFieldNumber();
|
|
5408
|
+
switch (field) {
|
|
5409
|
+
case 1:
|
|
5410
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5411
|
+
msg.addValues(value);
|
|
5412
|
+
break;
|
|
5413
|
+
default:
|
|
5414
|
+
reader.skipField();
|
|
5415
|
+
break;
|
|
5416
|
+
}
|
|
5417
|
+
}
|
|
5418
|
+
return msg;
|
|
5419
|
+
};
|
|
5420
|
+
|
|
5421
|
+
|
|
5422
|
+
/**
|
|
5423
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5424
|
+
* @return {!Uint8Array}
|
|
5425
|
+
*/
|
|
5426
|
+
proto.zaber.motion.protobufs.StringArrayResponse.prototype.serializeBinary = function() {
|
|
5427
|
+
var writer = new jspb.BinaryWriter();
|
|
5428
|
+
proto.zaber.motion.protobufs.StringArrayResponse.serializeBinaryToWriter(this, writer);
|
|
5429
|
+
return writer.getResultBuffer();
|
|
5430
|
+
};
|
|
5431
|
+
|
|
5432
|
+
|
|
5433
|
+
/**
|
|
5434
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5435
|
+
* format), writing to the given BinaryWriter.
|
|
5436
|
+
* @param {!proto.zaber.motion.protobufs.StringArrayResponse} message
|
|
5437
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5438
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5439
|
+
*/
|
|
5440
|
+
proto.zaber.motion.protobufs.StringArrayResponse.serializeBinaryToWriter = function(message, writer) {
|
|
5441
|
+
var f = undefined;
|
|
5442
|
+
f = message.getValuesList();
|
|
5443
|
+
if (f.length > 0) {
|
|
5444
|
+
writer.writeRepeatedString(
|
|
5445
|
+
1,
|
|
5446
|
+
f
|
|
5447
|
+
);
|
|
5448
|
+
}
|
|
5449
|
+
};
|
|
5450
|
+
|
|
5451
|
+
|
|
5452
|
+
/**
|
|
5453
|
+
* repeated string values = 1;
|
|
5454
|
+
* @return {!Array<string>}
|
|
5455
|
+
*/
|
|
5456
|
+
proto.zaber.motion.protobufs.StringArrayResponse.prototype.getValuesList = function() {
|
|
5457
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
5458
|
+
};
|
|
5459
|
+
|
|
5460
|
+
|
|
5461
|
+
/**
|
|
5462
|
+
* @param {!Array<string>} value
|
|
5463
|
+
* @return {!proto.zaber.motion.protobufs.StringArrayResponse} returns this
|
|
5464
|
+
*/
|
|
5465
|
+
proto.zaber.motion.protobufs.StringArrayResponse.prototype.setValuesList = function(value) {
|
|
5466
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
5467
|
+
};
|
|
5468
|
+
|
|
5469
|
+
|
|
5470
|
+
/**
|
|
5471
|
+
* @param {string} value
|
|
5472
|
+
* @param {number=} opt_index
|
|
5473
|
+
* @return {!proto.zaber.motion.protobufs.StringArrayResponse} returns this
|
|
5474
|
+
*/
|
|
5475
|
+
proto.zaber.motion.protobufs.StringArrayResponse.prototype.addValues = function(value, opt_index) {
|
|
5476
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
5477
|
+
};
|
|
5478
|
+
|
|
5479
|
+
|
|
5480
|
+
/**
|
|
5481
|
+
* Clears the list making it empty but non-null.
|
|
5482
|
+
* @return {!proto.zaber.motion.protobufs.StringArrayResponse} returns this
|
|
5483
|
+
*/
|
|
5484
|
+
proto.zaber.motion.protobufs.StringArrayResponse.prototype.clearValuesList = function() {
|
|
5485
|
+
return this.setValuesList([]);
|
|
5486
|
+
};
|
|
5487
|
+
|
|
5488
|
+
|
|
5489
|
+
|
|
5290
5490
|
|
|
5291
5491
|
|
|
5292
5492
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -8314,7 +8514,7 @@ proto.zaber.motion.protobufs.BinaryCommandFailedExceptionData.prototype.setRespo
|
|
|
8314
8514
|
* @private {!Array<number>}
|
|
8315
8515
|
* @const
|
|
8316
8516
|
*/
|
|
8317
|
-
proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.repeatedFields_ = [2,4];
|
|
8517
|
+
proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.repeatedFields_ = [2,4,5];
|
|
8318
8518
|
|
|
8319
8519
|
|
|
8320
8520
|
|
|
@@ -8350,7 +8550,8 @@ proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.toObject = function
|
|
|
8350
8550
|
axisNumber: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
8351
8551
|
settingsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
8352
8552
|
servoTuning: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
8353
|
-
storageList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
|
|
8553
|
+
storageList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
8554
|
+
storedPositionsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f
|
|
8354
8555
|
};
|
|
8355
8556
|
|
|
8356
8557
|
if (includeInstance) {
|
|
@@ -8403,6 +8604,10 @@ proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.deserializeBinaryFr
|
|
|
8403
8604
|
var value = /** @type {string} */ (reader.readString());
|
|
8404
8605
|
msg.addStorage(value);
|
|
8405
8606
|
break;
|
|
8607
|
+
case 5:
|
|
8608
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8609
|
+
msg.addStoredPositions(value);
|
|
8610
|
+
break;
|
|
8406
8611
|
default:
|
|
8407
8612
|
reader.skipField();
|
|
8408
8613
|
break;
|
|
@@ -8460,6 +8665,13 @@ proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.serializeBinaryToWr
|
|
|
8460
8665
|
f
|
|
8461
8666
|
);
|
|
8462
8667
|
}
|
|
8668
|
+
f = message.getStoredPositionsList();
|
|
8669
|
+
if (f.length > 0) {
|
|
8670
|
+
writer.writeRepeatedString(
|
|
8671
|
+
5,
|
|
8672
|
+
f
|
|
8673
|
+
);
|
|
8674
|
+
}
|
|
8463
8675
|
};
|
|
8464
8676
|
|
|
8465
8677
|
|
|
@@ -8573,13 +8785,50 @@ proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.prototype.clearStor
|
|
|
8573
8785
|
};
|
|
8574
8786
|
|
|
8575
8787
|
|
|
8788
|
+
/**
|
|
8789
|
+
* repeated string stored_positions = 5;
|
|
8790
|
+
* @return {!Array<string>}
|
|
8791
|
+
*/
|
|
8792
|
+
proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.prototype.getStoredPositionsList = function() {
|
|
8793
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
8794
|
+
};
|
|
8795
|
+
|
|
8796
|
+
|
|
8797
|
+
/**
|
|
8798
|
+
* @param {!Array<string>} value
|
|
8799
|
+
* @return {!proto.zaber.motion.protobufs.SetPeripheralStateExceptionData} returns this
|
|
8800
|
+
*/
|
|
8801
|
+
proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.prototype.setStoredPositionsList = function(value) {
|
|
8802
|
+
return jspb.Message.setField(this, 5, value || []);
|
|
8803
|
+
};
|
|
8804
|
+
|
|
8805
|
+
|
|
8806
|
+
/**
|
|
8807
|
+
* @param {string} value
|
|
8808
|
+
* @param {number=} opt_index
|
|
8809
|
+
* @return {!proto.zaber.motion.protobufs.SetPeripheralStateExceptionData} returns this
|
|
8810
|
+
*/
|
|
8811
|
+
proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.prototype.addStoredPositions = function(value, opt_index) {
|
|
8812
|
+
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
8813
|
+
};
|
|
8814
|
+
|
|
8815
|
+
|
|
8816
|
+
/**
|
|
8817
|
+
* Clears the list making it empty but non-null.
|
|
8818
|
+
* @return {!proto.zaber.motion.protobufs.SetPeripheralStateExceptionData} returns this
|
|
8819
|
+
*/
|
|
8820
|
+
proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.prototype.clearStoredPositionsList = function() {
|
|
8821
|
+
return this.setStoredPositionsList([]);
|
|
8822
|
+
};
|
|
8823
|
+
|
|
8824
|
+
|
|
8576
8825
|
|
|
8577
8826
|
/**
|
|
8578
8827
|
* List of repeated fields within this message type.
|
|
8579
8828
|
* @private {!Array<number>}
|
|
8580
8829
|
* @const
|
|
8581
8830
|
*/
|
|
8582
|
-
proto.zaber.motion.protobufs.SetDeviceStateExceptionData.repeatedFields_ = [2,3,4,5,8];
|
|
8831
|
+
proto.zaber.motion.protobufs.SetDeviceStateExceptionData.repeatedFields_ = [2,3,4,5,8,9];
|
|
8583
8832
|
|
|
8584
8833
|
|
|
8585
8834
|
|
|
@@ -8619,7 +8868,8 @@ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.toObject = function(inc
|
|
|
8619
8868
|
triggersList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
8620
8869
|
ipConfig: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
8621
8870
|
servoTuning: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
8622
|
-
storageList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f
|
|
8871
|
+
storageList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
|
|
8872
|
+
storedPositionsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f
|
|
8623
8873
|
};
|
|
8624
8874
|
|
|
8625
8875
|
if (includeInstance) {
|
|
@@ -8685,6 +8935,10 @@ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.deserializeBinaryFromRe
|
|
|
8685
8935
|
var value = /** @type {string} */ (reader.readString());
|
|
8686
8936
|
msg.addStorage(value);
|
|
8687
8937
|
break;
|
|
8938
|
+
case 9:
|
|
8939
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8940
|
+
msg.addStoredPositions(value);
|
|
8941
|
+
break;
|
|
8688
8942
|
default:
|
|
8689
8943
|
reader.skipField();
|
|
8690
8944
|
break;
|
|
@@ -8764,6 +9018,13 @@ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.serializeBinaryToWriter
|
|
|
8764
9018
|
f
|
|
8765
9019
|
);
|
|
8766
9020
|
}
|
|
9021
|
+
f = message.getStoredPositionsList();
|
|
9022
|
+
if (f.length > 0) {
|
|
9023
|
+
writer.writeRepeatedString(
|
|
9024
|
+
9,
|
|
9025
|
+
f
|
|
9026
|
+
);
|
|
9027
|
+
}
|
|
8767
9028
|
};
|
|
8768
9029
|
|
|
8769
9030
|
|
|
@@ -8989,6 +9250,43 @@ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.clearStorageL
|
|
|
8989
9250
|
};
|
|
8990
9251
|
|
|
8991
9252
|
|
|
9253
|
+
/**
|
|
9254
|
+
* repeated string stored_positions = 9;
|
|
9255
|
+
* @return {!Array<string>}
|
|
9256
|
+
*/
|
|
9257
|
+
proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.getStoredPositionsList = function() {
|
|
9258
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 9));
|
|
9259
|
+
};
|
|
9260
|
+
|
|
9261
|
+
|
|
9262
|
+
/**
|
|
9263
|
+
* @param {!Array<string>} value
|
|
9264
|
+
* @return {!proto.zaber.motion.protobufs.SetDeviceStateExceptionData} returns this
|
|
9265
|
+
*/
|
|
9266
|
+
proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.setStoredPositionsList = function(value) {
|
|
9267
|
+
return jspb.Message.setField(this, 9, value || []);
|
|
9268
|
+
};
|
|
9269
|
+
|
|
9270
|
+
|
|
9271
|
+
/**
|
|
9272
|
+
* @param {string} value
|
|
9273
|
+
* @param {number=} opt_index
|
|
9274
|
+
* @return {!proto.zaber.motion.protobufs.SetDeviceStateExceptionData} returns this
|
|
9275
|
+
*/
|
|
9276
|
+
proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.addStoredPositions = function(value, opt_index) {
|
|
9277
|
+
return jspb.Message.addToRepeatedField(this, 9, value, opt_index);
|
|
9278
|
+
};
|
|
9279
|
+
|
|
9280
|
+
|
|
9281
|
+
/**
|
|
9282
|
+
* Clears the list making it empty but non-null.
|
|
9283
|
+
* @return {!proto.zaber.motion.protobufs.SetDeviceStateExceptionData} returns this
|
|
9284
|
+
*/
|
|
9285
|
+
proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.clearStoredPositionsList = function() {
|
|
9286
|
+
return this.setStoredPositionsList([]);
|
|
9287
|
+
};
|
|
9288
|
+
|
|
9289
|
+
|
|
8992
9290
|
|
|
8993
9291
|
|
|
8994
9292
|
|
|
@@ -22303,7 +22601,8 @@ proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.toObject = function(in
|
|
|
22303
22601
|
var f, obj = {
|
|
22304
22602
|
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
22305
22603
|
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
22306
|
-
start: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
22604
|
+
start: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
22605
|
+
captureLength: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
22307
22606
|
};
|
|
22308
22607
|
|
|
22309
22608
|
if (includeInstance) {
|
|
@@ -22352,6 +22651,10 @@ proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.deserializeBinaryFromR
|
|
|
22352
22651
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
22353
22652
|
msg.setStart(value);
|
|
22354
22653
|
break;
|
|
22654
|
+
case 4:
|
|
22655
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22656
|
+
msg.setCaptureLength(value);
|
|
22657
|
+
break;
|
|
22355
22658
|
default:
|
|
22356
22659
|
reader.skipField();
|
|
22357
22660
|
break;
|
|
@@ -22402,6 +22705,13 @@ proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.serializeBinaryToWrite
|
|
|
22402
22705
|
f
|
|
22403
22706
|
);
|
|
22404
22707
|
}
|
|
22708
|
+
f = message.getCaptureLength();
|
|
22709
|
+
if (f !== 0) {
|
|
22710
|
+
writer.writeInt32(
|
|
22711
|
+
4,
|
|
22712
|
+
f
|
|
22713
|
+
);
|
|
22714
|
+
}
|
|
22405
22715
|
};
|
|
22406
22716
|
|
|
22407
22717
|
|
|
@@ -22459,6 +22769,24 @@ proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.prototype.setStart = f
|
|
|
22459
22769
|
};
|
|
22460
22770
|
|
|
22461
22771
|
|
|
22772
|
+
/**
|
|
22773
|
+
* optional int32 capture_length = 4;
|
|
22774
|
+
* @return {number}
|
|
22775
|
+
*/
|
|
22776
|
+
proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.prototype.getCaptureLength = function() {
|
|
22777
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
22778
|
+
};
|
|
22779
|
+
|
|
22780
|
+
|
|
22781
|
+
/**
|
|
22782
|
+
* @param {number} value
|
|
22783
|
+
* @return {!proto.zaber.motion.protobufs.OscilloscopeStartStopRequest} returns this
|
|
22784
|
+
*/
|
|
22785
|
+
proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.prototype.setCaptureLength = function(value) {
|
|
22786
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
22787
|
+
};
|
|
22788
|
+
|
|
22789
|
+
|
|
22462
22790
|
|
|
22463
22791
|
/**
|
|
22464
22792
|
* List of repeated fields within this message type.
|
|
@@ -44156,6 +44484,226 @@ proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.setKey = function(va
|
|
|
44156
44484
|
|
|
44157
44485
|
|
|
44158
44486
|
|
|
44487
|
+
|
|
44488
|
+
|
|
44489
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
44490
|
+
/**
|
|
44491
|
+
* Creates an object representation of this proto.
|
|
44492
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
44493
|
+
* Optional fields that are not set will be set to undefined.
|
|
44494
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
44495
|
+
* For the list of reserved names please see:
|
|
44496
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
44497
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
44498
|
+
* JSPB instance for transitional soy proto support:
|
|
44499
|
+
* http://goto/soy-param-migration
|
|
44500
|
+
* @return {!Object}
|
|
44501
|
+
*/
|
|
44502
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.prototype.toObject = function(opt_includeInstance) {
|
|
44503
|
+
return proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.toObject(opt_includeInstance, this);
|
|
44504
|
+
};
|
|
44505
|
+
|
|
44506
|
+
|
|
44507
|
+
/**
|
|
44508
|
+
* Static version of the {@see toObject} method.
|
|
44509
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
44510
|
+
* the JSPB instance for transitional soy proto support:
|
|
44511
|
+
* http://goto/soy-param-migration
|
|
44512
|
+
* @param {!proto.zaber.motion.protobufs.DeviceStorageListKeysRequest} msg The msg instance to transform.
|
|
44513
|
+
* @return {!Object}
|
|
44514
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
44515
|
+
*/
|
|
44516
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.toObject = function(includeInstance, msg) {
|
|
44517
|
+
var f, obj = {
|
|
44518
|
+
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
44519
|
+
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
44520
|
+
axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
44521
|
+
prefix: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
44522
|
+
};
|
|
44523
|
+
|
|
44524
|
+
if (includeInstance) {
|
|
44525
|
+
obj.$jspbMessageInstance = msg;
|
|
44526
|
+
}
|
|
44527
|
+
return obj;
|
|
44528
|
+
};
|
|
44529
|
+
}
|
|
44530
|
+
|
|
44531
|
+
|
|
44532
|
+
/**
|
|
44533
|
+
* Deserializes binary data (in protobuf wire format).
|
|
44534
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
44535
|
+
* @return {!proto.zaber.motion.protobufs.DeviceStorageListKeysRequest}
|
|
44536
|
+
*/
|
|
44537
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.deserializeBinary = function(bytes) {
|
|
44538
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
44539
|
+
var msg = new proto.zaber.motion.protobufs.DeviceStorageListKeysRequest;
|
|
44540
|
+
return proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.deserializeBinaryFromReader(msg, reader);
|
|
44541
|
+
};
|
|
44542
|
+
|
|
44543
|
+
|
|
44544
|
+
/**
|
|
44545
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
44546
|
+
* given reader into the given message object.
|
|
44547
|
+
* @param {!proto.zaber.motion.protobufs.DeviceStorageListKeysRequest} msg The message object to deserialize into.
|
|
44548
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
44549
|
+
* @return {!proto.zaber.motion.protobufs.DeviceStorageListKeysRequest}
|
|
44550
|
+
*/
|
|
44551
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
44552
|
+
while (reader.nextField()) {
|
|
44553
|
+
if (reader.isEndGroup()) {
|
|
44554
|
+
break;
|
|
44555
|
+
}
|
|
44556
|
+
var field = reader.getFieldNumber();
|
|
44557
|
+
switch (field) {
|
|
44558
|
+
case 1:
|
|
44559
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
44560
|
+
msg.setInterfaceId(value);
|
|
44561
|
+
break;
|
|
44562
|
+
case 2:
|
|
44563
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
44564
|
+
msg.setDevice(value);
|
|
44565
|
+
break;
|
|
44566
|
+
case 3:
|
|
44567
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
44568
|
+
msg.setAxis(value);
|
|
44569
|
+
break;
|
|
44570
|
+
case 4:
|
|
44571
|
+
var value = /** @type {string} */ (reader.readString());
|
|
44572
|
+
msg.setPrefix(value);
|
|
44573
|
+
break;
|
|
44574
|
+
default:
|
|
44575
|
+
reader.skipField();
|
|
44576
|
+
break;
|
|
44577
|
+
}
|
|
44578
|
+
}
|
|
44579
|
+
return msg;
|
|
44580
|
+
};
|
|
44581
|
+
|
|
44582
|
+
|
|
44583
|
+
/**
|
|
44584
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
44585
|
+
* @return {!Uint8Array}
|
|
44586
|
+
*/
|
|
44587
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.prototype.serializeBinary = function() {
|
|
44588
|
+
var writer = new jspb.BinaryWriter();
|
|
44589
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.serializeBinaryToWriter(this, writer);
|
|
44590
|
+
return writer.getResultBuffer();
|
|
44591
|
+
};
|
|
44592
|
+
|
|
44593
|
+
|
|
44594
|
+
/**
|
|
44595
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
44596
|
+
* format), writing to the given BinaryWriter.
|
|
44597
|
+
* @param {!proto.zaber.motion.protobufs.DeviceStorageListKeysRequest} message
|
|
44598
|
+
* @param {!jspb.BinaryWriter} writer
|
|
44599
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
44600
|
+
*/
|
|
44601
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.serializeBinaryToWriter = function(message, writer) {
|
|
44602
|
+
var f = undefined;
|
|
44603
|
+
f = message.getInterfaceId();
|
|
44604
|
+
if (f !== 0) {
|
|
44605
|
+
writer.writeInt32(
|
|
44606
|
+
1,
|
|
44607
|
+
f
|
|
44608
|
+
);
|
|
44609
|
+
}
|
|
44610
|
+
f = message.getDevice();
|
|
44611
|
+
if (f !== 0) {
|
|
44612
|
+
writer.writeInt32(
|
|
44613
|
+
2,
|
|
44614
|
+
f
|
|
44615
|
+
);
|
|
44616
|
+
}
|
|
44617
|
+
f = message.getAxis();
|
|
44618
|
+
if (f !== 0) {
|
|
44619
|
+
writer.writeInt32(
|
|
44620
|
+
3,
|
|
44621
|
+
f
|
|
44622
|
+
);
|
|
44623
|
+
}
|
|
44624
|
+
f = message.getPrefix();
|
|
44625
|
+
if (f.length > 0) {
|
|
44626
|
+
writer.writeString(
|
|
44627
|
+
4,
|
|
44628
|
+
f
|
|
44629
|
+
);
|
|
44630
|
+
}
|
|
44631
|
+
};
|
|
44632
|
+
|
|
44633
|
+
|
|
44634
|
+
/**
|
|
44635
|
+
* optional int32 interface_id = 1;
|
|
44636
|
+
* @return {number}
|
|
44637
|
+
*/
|
|
44638
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.prototype.getInterfaceId = function() {
|
|
44639
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
44640
|
+
};
|
|
44641
|
+
|
|
44642
|
+
|
|
44643
|
+
/**
|
|
44644
|
+
* @param {number} value
|
|
44645
|
+
* @return {!proto.zaber.motion.protobufs.DeviceStorageListKeysRequest} returns this
|
|
44646
|
+
*/
|
|
44647
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.prototype.setInterfaceId = function(value) {
|
|
44648
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
44649
|
+
};
|
|
44650
|
+
|
|
44651
|
+
|
|
44652
|
+
/**
|
|
44653
|
+
* optional int32 device = 2;
|
|
44654
|
+
* @return {number}
|
|
44655
|
+
*/
|
|
44656
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.prototype.getDevice = function() {
|
|
44657
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
44658
|
+
};
|
|
44659
|
+
|
|
44660
|
+
|
|
44661
|
+
/**
|
|
44662
|
+
* @param {number} value
|
|
44663
|
+
* @return {!proto.zaber.motion.protobufs.DeviceStorageListKeysRequest} returns this
|
|
44664
|
+
*/
|
|
44665
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.prototype.setDevice = function(value) {
|
|
44666
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
44667
|
+
};
|
|
44668
|
+
|
|
44669
|
+
|
|
44670
|
+
/**
|
|
44671
|
+
* optional int32 axis = 3;
|
|
44672
|
+
* @return {number}
|
|
44673
|
+
*/
|
|
44674
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.prototype.getAxis = function() {
|
|
44675
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
44676
|
+
};
|
|
44677
|
+
|
|
44678
|
+
|
|
44679
|
+
/**
|
|
44680
|
+
* @param {number} value
|
|
44681
|
+
* @return {!proto.zaber.motion.protobufs.DeviceStorageListKeysRequest} returns this
|
|
44682
|
+
*/
|
|
44683
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.prototype.setAxis = function(value) {
|
|
44684
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
44685
|
+
};
|
|
44686
|
+
|
|
44687
|
+
|
|
44688
|
+
/**
|
|
44689
|
+
* optional string prefix = 4;
|
|
44690
|
+
* @return {string}
|
|
44691
|
+
*/
|
|
44692
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.prototype.getPrefix = function() {
|
|
44693
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
44694
|
+
};
|
|
44695
|
+
|
|
44696
|
+
|
|
44697
|
+
/**
|
|
44698
|
+
* @param {string} value
|
|
44699
|
+
* @return {!proto.zaber.motion.protobufs.DeviceStorageListKeysRequest} returns this
|
|
44700
|
+
*/
|
|
44701
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.prototype.setPrefix = function(value) {
|
|
44702
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
44703
|
+
};
|
|
44704
|
+
|
|
44705
|
+
|
|
44706
|
+
|
|
44159
44707
|
/**
|
|
44160
44708
|
* List of repeated fields within this message type.
|
|
44161
44709
|
* @private {!Array<number>}
|