@zaber/motion 4.8.0 → 5.0.1
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 +6 -0
- package/dist/lib/ascii/axis.js +12 -0
- package/dist/lib/ascii/axis.js.map +1 -1
- package/dist/lib/ascii/device.d.ts +16 -28
- package/dist/lib/ascii/device.js +20 -48
- package/dist/lib/ascii/device.js.map +1 -1
- package/dist/lib/ascii/device_io.d.ts +5 -4
- package/dist/lib/ascii/device_io.js +2 -2
- package/dist/lib/ascii/device_io.js.map +1 -1
- package/dist/lib/ascii/digital_output_action.d.ts +9 -0
- package/dist/lib/ascii/digital_output_action.js +16 -0
- package/dist/lib/ascii/digital_output_action.js.map +1 -0
- package/dist/lib/ascii/index.d.ts +3 -0
- package/dist/lib/ascii/index.js +8 -2
- package/dist/lib/ascii/index.js.map +1 -1
- package/dist/lib/ascii/pvt.d.ts +32 -0
- package/dist/lib/ascii/pvt.js +82 -0
- package/dist/lib/ascii/pvt.js.map +1 -0
- package/dist/lib/ascii/pvt_sequence.d.ts +5 -4
- package/dist/lib/ascii/pvt_sequence.js +2 -2
- package/dist/lib/ascii/pvt_sequence.js.map +1 -1
- package/dist/lib/ascii/stream.d.ts +5 -10
- package/dist/lib/ascii/stream.js +2 -15
- package/dist/lib/ascii/stream.js.map +1 -1
- package/dist/lib/ascii/streams.d.ts +32 -0
- package/dist/lib/ascii/streams.js +82 -0
- package/dist/lib/ascii/streams.js.map +1 -0
- package/dist/lib/ascii/trigger.d.ts +4 -4
- package/dist/lib/ascii/trigger.js +14 -14
- package/dist/lib/ascii/trigger.js.map +1 -1
- package/dist/lib/ascii/trigger_enabled_state.d.ts +1 -1
- package/dist/lib/ascii/trigger_enabled_state.js.map +1 -1
- package/dist/lib/ascii/trigger_state.d.ts +2 -0
- package/dist/lib/ascii/trigger_state.js.map +1 -1
- package/dist/lib/ascii_ns.d.ts +6 -0
- package/dist/lib/ascii_ns.js +3 -0
- package/dist/lib/ascii_ns.js.map +1 -1
- package/dist/lib/protobufs/main_pb.d.ts +74 -60
- package/dist/lib/protobufs/main_pb.js +544 -424
- package/dist/lib/protobufs/main_pb.js.map +1 -1
- package/package.json +1 -1
|
@@ -112,6 +112,7 @@ goog.exportSymbol('zaber.motion.protobufs.GetSetting', null, proto);
|
|
|
112
112
|
goog.exportSymbol('zaber.motion.protobufs.GetSettingResult', null, proto);
|
|
113
113
|
goog.exportSymbol('zaber.motion.protobufs.GetSettingResults', null, proto);
|
|
114
114
|
goog.exportSymbol('zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse', null, proto);
|
|
115
|
+
goog.exportSymbol('zaber.motion.protobufs.IntArrayResponse', null, proto);
|
|
115
116
|
goog.exportSymbol('zaber.motion.protobufs.IntRequest', null, proto);
|
|
116
117
|
goog.exportSymbol('zaber.motion.protobufs.IntResponse', null, proto);
|
|
117
118
|
goog.exportSymbol('zaber.motion.protobufs.InterfaceEmptyRequest', null, proto);
|
|
@@ -191,6 +192,7 @@ goog.exportSymbol('zaber.motion.protobufs.StreamAxisDefinition', null, proto);
|
|
|
191
192
|
goog.exportSymbol('zaber.motion.protobufs.StreamBufferEraseRequest', null, proto);
|
|
192
193
|
goog.exportSymbol('zaber.motion.protobufs.StreamBufferGetContentRequest', null, proto);
|
|
193
194
|
goog.exportSymbol('zaber.motion.protobufs.StreamBufferGetContentResponse', null, proto);
|
|
195
|
+
goog.exportSymbol('zaber.motion.protobufs.StreamBufferList', null, proto);
|
|
194
196
|
goog.exportSymbol('zaber.motion.protobufs.StreamCallRequest', null, proto);
|
|
195
197
|
goog.exportSymbol('zaber.motion.protobufs.StreamCircleRequest', null, proto);
|
|
196
198
|
goog.exportSymbol('zaber.motion.protobufs.StreamCircleRequest.Type', null, proto);
|
|
@@ -218,7 +220,6 @@ goog.exportSymbol('zaber.motion.protobufs.StreamSetupLiveRequest', null, proto);
|
|
|
218
220
|
goog.exportSymbol('zaber.motion.protobufs.StreamSetupStoreArbitraryAxesRequest', null, proto);
|
|
219
221
|
goog.exportSymbol('zaber.motion.protobufs.StreamSetupStoreCompositeRequest', null, proto);
|
|
220
222
|
goog.exportSymbol('zaber.motion.protobufs.StreamSetupStoreRequest', null, proto);
|
|
221
|
-
goog.exportSymbol('zaber.motion.protobufs.StreamToggleDigitalOutputRequest', null, proto);
|
|
222
223
|
goog.exportSymbol('zaber.motion.protobufs.StreamWaitAnalogInputRequest', null, proto);
|
|
223
224
|
goog.exportSymbol('zaber.motion.protobufs.StreamWaitDigitalInputRequest', null, proto);
|
|
224
225
|
goog.exportSymbol('zaber.motion.protobufs.StreamWaitRequest', null, proto);
|
|
@@ -257,7 +258,7 @@ goog.exportSymbol('zaber.motion.protobufs.TriggerEnableRequest', null, proto);
|
|
|
257
258
|
goog.exportSymbol('zaber.motion.protobufs.TriggerEnabledState', null, proto);
|
|
258
259
|
goog.exportSymbol('zaber.motion.protobufs.TriggerEnabledStates', null, proto);
|
|
259
260
|
goog.exportSymbol('zaber.motion.protobufs.TriggerFireAtIntervalRequest', null, proto);
|
|
260
|
-
goog.exportSymbol('zaber.motion.protobufs.
|
|
261
|
+
goog.exportSymbol('zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest', null, proto);
|
|
261
262
|
goog.exportSymbol('zaber.motion.protobufs.TriggerFireWhenIoRequest', null, proto);
|
|
262
263
|
goog.exportSymbol('zaber.motion.protobufs.TriggerFireWhenRequest', null, proto);
|
|
263
264
|
goog.exportSymbol('zaber.motion.protobufs.TriggerFireWhenSettingRequest', null, proto);
|
|
@@ -463,6 +464,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
463
464
|
*/
|
|
464
465
|
proto.zaber.motion.protobufs.IntResponse.displayName = 'proto.zaber.motion.protobufs.IntResponse';
|
|
465
466
|
}
|
|
467
|
+
/**
|
|
468
|
+
* Generated by JsPbCodeGenerator.
|
|
469
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
470
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
471
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
472
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
473
|
+
* valid.
|
|
474
|
+
* @extends {jspb.Message}
|
|
475
|
+
* @constructor
|
|
476
|
+
*/
|
|
477
|
+
proto.zaber.motion.protobufs.IntArrayResponse = function(opt_data) {
|
|
478
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.IntArrayResponse.repeatedFields_, null);
|
|
479
|
+
};
|
|
480
|
+
goog.inherits(proto.zaber.motion.protobufs.IntArrayResponse, jspb.Message);
|
|
481
|
+
if (goog.DEBUG && !COMPILED) {
|
|
482
|
+
/**
|
|
483
|
+
* @public
|
|
484
|
+
* @override
|
|
485
|
+
*/
|
|
486
|
+
proto.zaber.motion.protobufs.IntArrayResponse.displayName = 'proto.zaber.motion.protobufs.IntArrayResponse';
|
|
487
|
+
}
|
|
466
488
|
/**
|
|
467
489
|
* Generated by JsPbCodeGenerator.
|
|
468
490
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2920,27 +2942,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2920
2942
|
*/
|
|
2921
2943
|
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.displayName = 'proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest';
|
|
2922
2944
|
}
|
|
2923
|
-
/**
|
|
2924
|
-
* Generated by JsPbCodeGenerator.
|
|
2925
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2926
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
2927
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
2928
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
2929
|
-
* valid.
|
|
2930
|
-
* @extends {jspb.Message}
|
|
2931
|
-
* @constructor
|
|
2932
|
-
*/
|
|
2933
|
-
proto.zaber.motion.protobufs.StreamToggleDigitalOutputRequest = function(opt_data) {
|
|
2934
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2935
|
-
};
|
|
2936
|
-
goog.inherits(proto.zaber.motion.protobufs.StreamToggleDigitalOutputRequest, jspb.Message);
|
|
2937
|
-
if (goog.DEBUG && !COMPILED) {
|
|
2938
|
-
/**
|
|
2939
|
-
* @public
|
|
2940
|
-
* @override
|
|
2941
|
-
*/
|
|
2942
|
-
proto.zaber.motion.protobufs.StreamToggleDigitalOutputRequest.displayName = 'proto.zaber.motion.protobufs.StreamToggleDigitalOutputRequest';
|
|
2943
|
-
}
|
|
2944
2945
|
/**
|
|
2945
2946
|
* Generated by JsPbCodeGenerator.
|
|
2946
2947
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -3298,6 +3299,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
3298
3299
|
*/
|
|
3299
3300
|
proto.zaber.motion.protobufs.StreamGenericCommandBatchRequest.displayName = 'proto.zaber.motion.protobufs.StreamGenericCommandBatchRequest';
|
|
3300
3301
|
}
|
|
3302
|
+
/**
|
|
3303
|
+
* Generated by JsPbCodeGenerator.
|
|
3304
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3305
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3306
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3307
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3308
|
+
* valid.
|
|
3309
|
+
* @extends {jspb.Message}
|
|
3310
|
+
* @constructor
|
|
3311
|
+
*/
|
|
3312
|
+
proto.zaber.motion.protobufs.StreamBufferList = function(opt_data) {
|
|
3313
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3314
|
+
};
|
|
3315
|
+
goog.inherits(proto.zaber.motion.protobufs.StreamBufferList, jspb.Message);
|
|
3316
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3317
|
+
/**
|
|
3318
|
+
* @public
|
|
3319
|
+
* @override
|
|
3320
|
+
*/
|
|
3321
|
+
proto.zaber.motion.protobufs.StreamBufferList.displayName = 'proto.zaber.motion.protobufs.StreamBufferList';
|
|
3322
|
+
}
|
|
3301
3323
|
/**
|
|
3302
3324
|
* Generated by JsPbCodeGenerator.
|
|
3303
3325
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -3371,16 +3393,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
3371
3393
|
* @extends {jspb.Message}
|
|
3372
3394
|
* @constructor
|
|
3373
3395
|
*/
|
|
3374
|
-
proto.zaber.motion.protobufs.
|
|
3396
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest = function(opt_data) {
|
|
3375
3397
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3376
3398
|
};
|
|
3377
|
-
goog.inherits(proto.zaber.motion.protobufs.
|
|
3399
|
+
goog.inherits(proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest, jspb.Message);
|
|
3378
3400
|
if (goog.DEBUG && !COMPILED) {
|
|
3379
3401
|
/**
|
|
3380
3402
|
* @public
|
|
3381
3403
|
* @override
|
|
3382
3404
|
*/
|
|
3383
|
-
proto.zaber.motion.protobufs.
|
|
3405
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.displayName = 'proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest';
|
|
3384
3406
|
}
|
|
3385
3407
|
/**
|
|
3386
3408
|
* Generated by JsPbCodeGenerator.
|
|
@@ -6657,6 +6679,164 @@ proto.zaber.motion.protobufs.IntResponse.prototype.setValue = function(value) {
|
|
|
6657
6679
|
|
|
6658
6680
|
|
|
6659
6681
|
|
|
6682
|
+
/**
|
|
6683
|
+
* List of repeated fields within this message type.
|
|
6684
|
+
* @private {!Array<number>}
|
|
6685
|
+
* @const
|
|
6686
|
+
*/
|
|
6687
|
+
proto.zaber.motion.protobufs.IntArrayResponse.repeatedFields_ = [1];
|
|
6688
|
+
|
|
6689
|
+
|
|
6690
|
+
|
|
6691
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6692
|
+
/**
|
|
6693
|
+
* Creates an object representation of this proto.
|
|
6694
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6695
|
+
* Optional fields that are not set will be set to undefined.
|
|
6696
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6697
|
+
* For the list of reserved names please see:
|
|
6698
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6699
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6700
|
+
* JSPB instance for transitional soy proto support:
|
|
6701
|
+
* http://goto/soy-param-migration
|
|
6702
|
+
* @return {!Object}
|
|
6703
|
+
*/
|
|
6704
|
+
proto.zaber.motion.protobufs.IntArrayResponse.prototype.toObject = function(opt_includeInstance) {
|
|
6705
|
+
return proto.zaber.motion.protobufs.IntArrayResponse.toObject(opt_includeInstance, this);
|
|
6706
|
+
};
|
|
6707
|
+
|
|
6708
|
+
|
|
6709
|
+
/**
|
|
6710
|
+
* Static version of the {@see toObject} method.
|
|
6711
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6712
|
+
* the JSPB instance for transitional soy proto support:
|
|
6713
|
+
* http://goto/soy-param-migration
|
|
6714
|
+
* @param {!proto.zaber.motion.protobufs.IntArrayResponse} msg The msg instance to transform.
|
|
6715
|
+
* @return {!Object}
|
|
6716
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6717
|
+
*/
|
|
6718
|
+
proto.zaber.motion.protobufs.IntArrayResponse.toObject = function(includeInstance, msg) {
|
|
6719
|
+
var f, obj = {
|
|
6720
|
+
valuesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
6721
|
+
};
|
|
6722
|
+
|
|
6723
|
+
if (includeInstance) {
|
|
6724
|
+
obj.$jspbMessageInstance = msg;
|
|
6725
|
+
}
|
|
6726
|
+
return obj;
|
|
6727
|
+
};
|
|
6728
|
+
}
|
|
6729
|
+
|
|
6730
|
+
|
|
6731
|
+
/**
|
|
6732
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6733
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6734
|
+
* @return {!proto.zaber.motion.protobufs.IntArrayResponse}
|
|
6735
|
+
*/
|
|
6736
|
+
proto.zaber.motion.protobufs.IntArrayResponse.deserializeBinary = function(bytes) {
|
|
6737
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6738
|
+
var msg = new proto.zaber.motion.protobufs.IntArrayResponse;
|
|
6739
|
+
return proto.zaber.motion.protobufs.IntArrayResponse.deserializeBinaryFromReader(msg, reader);
|
|
6740
|
+
};
|
|
6741
|
+
|
|
6742
|
+
|
|
6743
|
+
/**
|
|
6744
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6745
|
+
* given reader into the given message object.
|
|
6746
|
+
* @param {!proto.zaber.motion.protobufs.IntArrayResponse} msg The message object to deserialize into.
|
|
6747
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6748
|
+
* @return {!proto.zaber.motion.protobufs.IntArrayResponse}
|
|
6749
|
+
*/
|
|
6750
|
+
proto.zaber.motion.protobufs.IntArrayResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
6751
|
+
while (reader.nextField()) {
|
|
6752
|
+
if (reader.isEndGroup()) {
|
|
6753
|
+
break;
|
|
6754
|
+
}
|
|
6755
|
+
var field = reader.getFieldNumber();
|
|
6756
|
+
switch (field) {
|
|
6757
|
+
case 1:
|
|
6758
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
6759
|
+
for (var i = 0; i < values.length; i++) {
|
|
6760
|
+
msg.addValues(values[i]);
|
|
6761
|
+
}
|
|
6762
|
+
break;
|
|
6763
|
+
default:
|
|
6764
|
+
reader.skipField();
|
|
6765
|
+
break;
|
|
6766
|
+
}
|
|
6767
|
+
}
|
|
6768
|
+
return msg;
|
|
6769
|
+
};
|
|
6770
|
+
|
|
6771
|
+
|
|
6772
|
+
/**
|
|
6773
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6774
|
+
* @return {!Uint8Array}
|
|
6775
|
+
*/
|
|
6776
|
+
proto.zaber.motion.protobufs.IntArrayResponse.prototype.serializeBinary = function() {
|
|
6777
|
+
var writer = new jspb.BinaryWriter();
|
|
6778
|
+
proto.zaber.motion.protobufs.IntArrayResponse.serializeBinaryToWriter(this, writer);
|
|
6779
|
+
return writer.getResultBuffer();
|
|
6780
|
+
};
|
|
6781
|
+
|
|
6782
|
+
|
|
6783
|
+
/**
|
|
6784
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6785
|
+
* format), writing to the given BinaryWriter.
|
|
6786
|
+
* @param {!proto.zaber.motion.protobufs.IntArrayResponse} message
|
|
6787
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6788
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6789
|
+
*/
|
|
6790
|
+
proto.zaber.motion.protobufs.IntArrayResponse.serializeBinaryToWriter = function(message, writer) {
|
|
6791
|
+
var f = undefined;
|
|
6792
|
+
f = message.getValuesList();
|
|
6793
|
+
if (f.length > 0) {
|
|
6794
|
+
writer.writePackedInt32(
|
|
6795
|
+
1,
|
|
6796
|
+
f
|
|
6797
|
+
);
|
|
6798
|
+
}
|
|
6799
|
+
};
|
|
6800
|
+
|
|
6801
|
+
|
|
6802
|
+
/**
|
|
6803
|
+
* repeated int32 values = 1;
|
|
6804
|
+
* @return {!Array<number>}
|
|
6805
|
+
*/
|
|
6806
|
+
proto.zaber.motion.protobufs.IntArrayResponse.prototype.getValuesList = function() {
|
|
6807
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
6808
|
+
};
|
|
6809
|
+
|
|
6810
|
+
|
|
6811
|
+
/**
|
|
6812
|
+
* @param {!Array<number>} value
|
|
6813
|
+
* @return {!proto.zaber.motion.protobufs.IntArrayResponse} returns this
|
|
6814
|
+
*/
|
|
6815
|
+
proto.zaber.motion.protobufs.IntArrayResponse.prototype.setValuesList = function(value) {
|
|
6816
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
6817
|
+
};
|
|
6818
|
+
|
|
6819
|
+
|
|
6820
|
+
/**
|
|
6821
|
+
* @param {number} value
|
|
6822
|
+
* @param {number=} opt_index
|
|
6823
|
+
* @return {!proto.zaber.motion.protobufs.IntArrayResponse} returns this
|
|
6824
|
+
*/
|
|
6825
|
+
proto.zaber.motion.protobufs.IntArrayResponse.prototype.addValues = function(value, opt_index) {
|
|
6826
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
6827
|
+
};
|
|
6828
|
+
|
|
6829
|
+
|
|
6830
|
+
/**
|
|
6831
|
+
* Clears the list making it empty but non-null.
|
|
6832
|
+
* @return {!proto.zaber.motion.protobufs.IntArrayResponse} returns this
|
|
6833
|
+
*/
|
|
6834
|
+
proto.zaber.motion.protobufs.IntArrayResponse.prototype.clearValuesList = function() {
|
|
6835
|
+
return this.setValuesList([]);
|
|
6836
|
+
};
|
|
6837
|
+
|
|
6838
|
+
|
|
6839
|
+
|
|
6660
6840
|
|
|
6661
6841
|
|
|
6662
6842
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -20610,7 +20790,7 @@ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsRequest.toObject = functi
|
|
|
20610
20790
|
var f, obj = {
|
|
20611
20791
|
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
20612
20792
|
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
20613
|
-
valuesList: (f = jspb.Message.
|
|
20793
|
+
valuesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
20614
20794
|
};
|
|
20615
20795
|
|
|
20616
20796
|
if (includeInstance) {
|
|
@@ -20656,7 +20836,7 @@ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsRequest.deserializeBinary
|
|
|
20656
20836
|
msg.setDevice(value);
|
|
20657
20837
|
break;
|
|
20658
20838
|
case 3:
|
|
20659
|
-
var values = /** @type {!Array<
|
|
20839
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
20660
20840
|
for (var i = 0; i < values.length; i++) {
|
|
20661
20841
|
msg.addValues(values[i]);
|
|
20662
20842
|
}
|
|
@@ -20706,7 +20886,7 @@ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsRequest.serializeBinaryTo
|
|
|
20706
20886
|
}
|
|
20707
20887
|
f = message.getValuesList();
|
|
20708
20888
|
if (f.length > 0) {
|
|
20709
|
-
writer.
|
|
20889
|
+
writer.writePackedInt32(
|
|
20710
20890
|
3,
|
|
20711
20891
|
f
|
|
20712
20892
|
);
|
|
@@ -20751,16 +20931,16 @@ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsRequest.prototype.setDevi
|
|
|
20751
20931
|
|
|
20752
20932
|
|
|
20753
20933
|
/**
|
|
20754
|
-
* repeated
|
|
20755
|
-
* @return {!Array<
|
|
20934
|
+
* repeated int32 values = 3;
|
|
20935
|
+
* @return {!Array<number>}
|
|
20756
20936
|
*/
|
|
20757
20937
|
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsRequest.prototype.getValuesList = function() {
|
|
20758
|
-
return /** @type {!Array<
|
|
20938
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
20759
20939
|
};
|
|
20760
20940
|
|
|
20761
20941
|
|
|
20762
20942
|
/**
|
|
20763
|
-
* @param {!Array<
|
|
20943
|
+
* @param {!Array<number>} value
|
|
20764
20944
|
* @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsRequest} returns this
|
|
20765
20945
|
*/
|
|
20766
20946
|
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsRequest.prototype.setValuesList = function(value) {
|
|
@@ -20769,7 +20949,7 @@ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsRequest.prototype.setValu
|
|
|
20769
20949
|
|
|
20770
20950
|
|
|
20771
20951
|
/**
|
|
20772
|
-
* @param {
|
|
20952
|
+
* @param {number} value
|
|
20773
20953
|
* @param {number=} opt_index
|
|
20774
20954
|
* @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsRequest} returns this
|
|
20775
20955
|
*/
|
|
@@ -21040,7 +21220,7 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.toObject = function(i
|
|
|
21040
21220
|
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
21041
21221
|
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
21042
21222
|
channelNumber: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
21043
|
-
value: jspb.Message.
|
|
21223
|
+
value: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
21044
21224
|
};
|
|
21045
21225
|
|
|
21046
21226
|
if (includeInstance) {
|
|
@@ -21090,7 +21270,7 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.deserializeBinaryFrom
|
|
|
21090
21270
|
msg.setChannelNumber(value);
|
|
21091
21271
|
break;
|
|
21092
21272
|
case 4:
|
|
21093
|
-
var value = /** @type {
|
|
21273
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
21094
21274
|
msg.setValue(value);
|
|
21095
21275
|
break;
|
|
21096
21276
|
default:
|
|
@@ -21144,8 +21324,8 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.serializeBinaryToWrit
|
|
|
21144
21324
|
);
|
|
21145
21325
|
}
|
|
21146
21326
|
f = message.getValue();
|
|
21147
|
-
if (f) {
|
|
21148
|
-
writer.
|
|
21327
|
+
if (f !== 0) {
|
|
21328
|
+
writer.writeInt32(
|
|
21149
21329
|
4,
|
|
21150
21330
|
f
|
|
21151
21331
|
);
|
|
@@ -21208,20 +21388,20 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.setChannelN
|
|
|
21208
21388
|
|
|
21209
21389
|
|
|
21210
21390
|
/**
|
|
21211
|
-
* optional
|
|
21212
|
-
* @return {
|
|
21391
|
+
* optional int32 value = 4;
|
|
21392
|
+
* @return {number}
|
|
21213
21393
|
*/
|
|
21214
21394
|
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.getValue = function() {
|
|
21215
|
-
return /** @type {
|
|
21395
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
21216
21396
|
};
|
|
21217
21397
|
|
|
21218
21398
|
|
|
21219
21399
|
/**
|
|
21220
|
-
* @param {
|
|
21400
|
+
* @param {number} value
|
|
21221
21401
|
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest} returns this
|
|
21222
21402
|
*/
|
|
21223
21403
|
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.setValue = function(value) {
|
|
21224
|
-
return jspb.Message.
|
|
21404
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
21225
21405
|
};
|
|
21226
21406
|
|
|
21227
21407
|
|
|
@@ -32779,7 +32959,7 @@ proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.toObject = function(i
|
|
|
32779
32959
|
streamId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
32780
32960
|
pvt: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
32781
32961
|
channelNumber: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
32782
|
-
value: jspb.Message.
|
|
32962
|
+
value: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
32783
32963
|
};
|
|
32784
32964
|
|
|
32785
32965
|
if (includeInstance) {
|
|
@@ -32837,7 +33017,7 @@ proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.deserializeBinaryFrom
|
|
|
32837
33017
|
msg.setChannelNumber(value);
|
|
32838
33018
|
break;
|
|
32839
33019
|
case 6:
|
|
32840
|
-
var value = /** @type {
|
|
33020
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
32841
33021
|
msg.setValue(value);
|
|
32842
33022
|
break;
|
|
32843
33023
|
default:
|
|
@@ -32905,288 +33085,8 @@ proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.serializeBinaryToWrit
|
|
|
32905
33085
|
);
|
|
32906
33086
|
}
|
|
32907
33087
|
f = message.getValue();
|
|
32908
|
-
if (f) {
|
|
32909
|
-
writer.
|
|
32910
|
-
6,
|
|
32911
|
-
f
|
|
32912
|
-
);
|
|
32913
|
-
}
|
|
32914
|
-
};
|
|
32915
|
-
|
|
32916
|
-
|
|
32917
|
-
/**
|
|
32918
|
-
* optional int32 interface_id = 1;
|
|
32919
|
-
* @return {number}
|
|
32920
|
-
*/
|
|
32921
|
-
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.getInterfaceId = function() {
|
|
32922
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
32923
|
-
};
|
|
32924
|
-
|
|
32925
|
-
|
|
32926
|
-
/**
|
|
32927
|
-
* @param {number} value
|
|
32928
|
-
* @return {!proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest} returns this
|
|
32929
|
-
*/
|
|
32930
|
-
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.setInterfaceId = function(value) {
|
|
32931
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
32932
|
-
};
|
|
32933
|
-
|
|
32934
|
-
|
|
32935
|
-
/**
|
|
32936
|
-
* optional int32 device = 2;
|
|
32937
|
-
* @return {number}
|
|
32938
|
-
*/
|
|
32939
|
-
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.getDevice = function() {
|
|
32940
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
32941
|
-
};
|
|
32942
|
-
|
|
32943
|
-
|
|
32944
|
-
/**
|
|
32945
|
-
* @param {number} value
|
|
32946
|
-
* @return {!proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest} returns this
|
|
32947
|
-
*/
|
|
32948
|
-
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.setDevice = function(value) {
|
|
32949
|
-
return jspb.Message.setProto3IntField(this, 2, value);
|
|
32950
|
-
};
|
|
32951
|
-
|
|
32952
|
-
|
|
32953
|
-
/**
|
|
32954
|
-
* optional int32 stream_id = 3;
|
|
32955
|
-
* @return {number}
|
|
32956
|
-
*/
|
|
32957
|
-
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.getStreamId = function() {
|
|
32958
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
32959
|
-
};
|
|
32960
|
-
|
|
32961
|
-
|
|
32962
|
-
/**
|
|
32963
|
-
* @param {number} value
|
|
32964
|
-
* @return {!proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest} returns this
|
|
32965
|
-
*/
|
|
32966
|
-
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.setStreamId = function(value) {
|
|
32967
|
-
return jspb.Message.setProto3IntField(this, 3, value);
|
|
32968
|
-
};
|
|
32969
|
-
|
|
32970
|
-
|
|
32971
|
-
/**
|
|
32972
|
-
* optional bool pvt = 4;
|
|
32973
|
-
* @return {boolean}
|
|
32974
|
-
*/
|
|
32975
|
-
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.getPvt = function() {
|
|
32976
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
32977
|
-
};
|
|
32978
|
-
|
|
32979
|
-
|
|
32980
|
-
/**
|
|
32981
|
-
* @param {boolean} value
|
|
32982
|
-
* @return {!proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest} returns this
|
|
32983
|
-
*/
|
|
32984
|
-
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.setPvt = function(value) {
|
|
32985
|
-
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
32986
|
-
};
|
|
32987
|
-
|
|
32988
|
-
|
|
32989
|
-
/**
|
|
32990
|
-
* optional int32 channel_number = 5;
|
|
32991
|
-
* @return {number}
|
|
32992
|
-
*/
|
|
32993
|
-
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.getChannelNumber = function() {
|
|
32994
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
32995
|
-
};
|
|
32996
|
-
|
|
32997
|
-
|
|
32998
|
-
/**
|
|
32999
|
-
* @param {number} value
|
|
33000
|
-
* @return {!proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest} returns this
|
|
33001
|
-
*/
|
|
33002
|
-
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.setChannelNumber = function(value) {
|
|
33003
|
-
return jspb.Message.setProto3IntField(this, 5, value);
|
|
33004
|
-
};
|
|
33005
|
-
|
|
33006
|
-
|
|
33007
|
-
/**
|
|
33008
|
-
* optional bool value = 6;
|
|
33009
|
-
* @return {boolean}
|
|
33010
|
-
*/
|
|
33011
|
-
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.getValue = function() {
|
|
33012
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
33013
|
-
};
|
|
33014
|
-
|
|
33015
|
-
|
|
33016
|
-
/**
|
|
33017
|
-
* @param {boolean} value
|
|
33018
|
-
* @return {!proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest} returns this
|
|
33019
|
-
*/
|
|
33020
|
-
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.setValue = function(value) {
|
|
33021
|
-
return jspb.Message.setProto3BooleanField(this, 6, value);
|
|
33022
|
-
};
|
|
33023
|
-
|
|
33024
|
-
|
|
33025
|
-
|
|
33026
|
-
|
|
33027
|
-
|
|
33028
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
33029
|
-
/**
|
|
33030
|
-
* Creates an object representation of this proto.
|
|
33031
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
33032
|
-
* Optional fields that are not set will be set to undefined.
|
|
33033
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
33034
|
-
* For the list of reserved names please see:
|
|
33035
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
33036
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
33037
|
-
* JSPB instance for transitional soy proto support:
|
|
33038
|
-
* http://goto/soy-param-migration
|
|
33039
|
-
* @return {!Object}
|
|
33040
|
-
*/
|
|
33041
|
-
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.toObject = function(opt_includeInstance) {
|
|
33042
|
-
return proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.toObject(opt_includeInstance, this);
|
|
33043
|
-
};
|
|
33044
|
-
|
|
33045
|
-
|
|
33046
|
-
/**
|
|
33047
|
-
* Static version of the {@see toObject} method.
|
|
33048
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
33049
|
-
* the JSPB instance for transitional soy proto support:
|
|
33050
|
-
* http://goto/soy-param-migration
|
|
33051
|
-
* @param {!proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest} msg The msg instance to transform.
|
|
33052
|
-
* @return {!Object}
|
|
33053
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
33054
|
-
*/
|
|
33055
|
-
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.toObject = function(includeInstance, msg) {
|
|
33056
|
-
var f, obj = {
|
|
33057
|
-
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
33058
|
-
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
33059
|
-
streamId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
33060
|
-
pvt: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
33061
|
-
channelNumber: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
33062
|
-
value: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0)
|
|
33063
|
-
};
|
|
33064
|
-
|
|
33065
|
-
if (includeInstance) {
|
|
33066
|
-
obj.$jspbMessageInstance = msg;
|
|
33067
|
-
}
|
|
33068
|
-
return obj;
|
|
33069
|
-
};
|
|
33070
|
-
}
|
|
33071
|
-
|
|
33072
|
-
|
|
33073
|
-
/**
|
|
33074
|
-
* Deserializes binary data (in protobuf wire format).
|
|
33075
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
33076
|
-
* @return {!proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest}
|
|
33077
|
-
*/
|
|
33078
|
-
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.deserializeBinary = function(bytes) {
|
|
33079
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
33080
|
-
var msg = new proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest;
|
|
33081
|
-
return proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.deserializeBinaryFromReader(msg, reader);
|
|
33082
|
-
};
|
|
33083
|
-
|
|
33084
|
-
|
|
33085
|
-
/**
|
|
33086
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
33087
|
-
* given reader into the given message object.
|
|
33088
|
-
* @param {!proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest} msg The message object to deserialize into.
|
|
33089
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
33090
|
-
* @return {!proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest}
|
|
33091
|
-
*/
|
|
33092
|
-
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
33093
|
-
while (reader.nextField()) {
|
|
33094
|
-
if (reader.isEndGroup()) {
|
|
33095
|
-
break;
|
|
33096
|
-
}
|
|
33097
|
-
var field = reader.getFieldNumber();
|
|
33098
|
-
switch (field) {
|
|
33099
|
-
case 1:
|
|
33100
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
33101
|
-
msg.setInterfaceId(value);
|
|
33102
|
-
break;
|
|
33103
|
-
case 2:
|
|
33104
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
33105
|
-
msg.setDevice(value);
|
|
33106
|
-
break;
|
|
33107
|
-
case 3:
|
|
33108
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
33109
|
-
msg.setStreamId(value);
|
|
33110
|
-
break;
|
|
33111
|
-
case 4:
|
|
33112
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
33113
|
-
msg.setPvt(value);
|
|
33114
|
-
break;
|
|
33115
|
-
case 5:
|
|
33116
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
33117
|
-
msg.setChannelNumber(value);
|
|
33118
|
-
break;
|
|
33119
|
-
case 6:
|
|
33120
|
-
var value = /** @type {number} */ (reader.readDouble());
|
|
33121
|
-
msg.setValue(value);
|
|
33122
|
-
break;
|
|
33123
|
-
default:
|
|
33124
|
-
reader.skipField();
|
|
33125
|
-
break;
|
|
33126
|
-
}
|
|
33127
|
-
}
|
|
33128
|
-
return msg;
|
|
33129
|
-
};
|
|
33130
|
-
|
|
33131
|
-
|
|
33132
|
-
/**
|
|
33133
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
33134
|
-
* @return {!Uint8Array}
|
|
33135
|
-
*/
|
|
33136
|
-
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.serializeBinary = function() {
|
|
33137
|
-
var writer = new jspb.BinaryWriter();
|
|
33138
|
-
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.serializeBinaryToWriter(this, writer);
|
|
33139
|
-
return writer.getResultBuffer();
|
|
33140
|
-
};
|
|
33141
|
-
|
|
33142
|
-
|
|
33143
|
-
/**
|
|
33144
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
33145
|
-
* format), writing to the given BinaryWriter.
|
|
33146
|
-
* @param {!proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest} message
|
|
33147
|
-
* @param {!jspb.BinaryWriter} writer
|
|
33148
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
33149
|
-
*/
|
|
33150
|
-
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.serializeBinaryToWriter = function(message, writer) {
|
|
33151
|
-
var f = undefined;
|
|
33152
|
-
f = message.getInterfaceId();
|
|
33153
|
-
if (f !== 0) {
|
|
33154
|
-
writer.writeInt32(
|
|
33155
|
-
1,
|
|
33156
|
-
f
|
|
33157
|
-
);
|
|
33158
|
-
}
|
|
33159
|
-
f = message.getDevice();
|
|
33160
|
-
if (f !== 0) {
|
|
33161
|
-
writer.writeInt32(
|
|
33162
|
-
2,
|
|
33163
|
-
f
|
|
33164
|
-
);
|
|
33165
|
-
}
|
|
33166
|
-
f = message.getStreamId();
|
|
33167
|
-
if (f !== 0) {
|
|
33168
|
-
writer.writeInt32(
|
|
33169
|
-
3,
|
|
33170
|
-
f
|
|
33171
|
-
);
|
|
33172
|
-
}
|
|
33173
|
-
f = message.getPvt();
|
|
33174
|
-
if (f) {
|
|
33175
|
-
writer.writeBool(
|
|
33176
|
-
4,
|
|
33177
|
-
f
|
|
33178
|
-
);
|
|
33179
|
-
}
|
|
33180
|
-
f = message.getChannelNumber();
|
|
33181
|
-
if (f !== 0) {
|
|
33182
|
-
writer.writeInt32(
|
|
33183
|
-
5,
|
|
33184
|
-
f
|
|
33185
|
-
);
|
|
33186
|
-
}
|
|
33187
|
-
f = message.getValue();
|
|
33188
|
-
if (f !== 0.0) {
|
|
33189
|
-
writer.writeDouble(
|
|
33088
|
+
if (f !== 0) {
|
|
33089
|
+
writer.writeInt32(
|
|
33190
33090
|
6,
|
|
33191
33091
|
f
|
|
33192
33092
|
);
|
|
@@ -33198,16 +33098,16 @@ proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.serializeBinaryToWrite
|
|
|
33198
33098
|
* optional int32 interface_id = 1;
|
|
33199
33099
|
* @return {number}
|
|
33200
33100
|
*/
|
|
33201
|
-
proto.zaber.motion.protobufs.
|
|
33101
|
+
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.getInterfaceId = function() {
|
|
33202
33102
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
33203
33103
|
};
|
|
33204
33104
|
|
|
33205
33105
|
|
|
33206
33106
|
/**
|
|
33207
33107
|
* @param {number} value
|
|
33208
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
33108
|
+
* @return {!proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest} returns this
|
|
33209
33109
|
*/
|
|
33210
|
-
proto.zaber.motion.protobufs.
|
|
33110
|
+
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.setInterfaceId = function(value) {
|
|
33211
33111
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
33212
33112
|
};
|
|
33213
33113
|
|
|
@@ -33216,16 +33116,16 @@ proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.setInterface
|
|
|
33216
33116
|
* optional int32 device = 2;
|
|
33217
33117
|
* @return {number}
|
|
33218
33118
|
*/
|
|
33219
|
-
proto.zaber.motion.protobufs.
|
|
33119
|
+
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.getDevice = function() {
|
|
33220
33120
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
33221
33121
|
};
|
|
33222
33122
|
|
|
33223
33123
|
|
|
33224
33124
|
/**
|
|
33225
33125
|
* @param {number} value
|
|
33226
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
33126
|
+
* @return {!proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest} returns this
|
|
33227
33127
|
*/
|
|
33228
|
-
proto.zaber.motion.protobufs.
|
|
33128
|
+
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.setDevice = function(value) {
|
|
33229
33129
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
33230
33130
|
};
|
|
33231
33131
|
|
|
@@ -33234,16 +33134,16 @@ proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.setDevice =
|
|
|
33234
33134
|
* optional int32 stream_id = 3;
|
|
33235
33135
|
* @return {number}
|
|
33236
33136
|
*/
|
|
33237
|
-
proto.zaber.motion.protobufs.
|
|
33137
|
+
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.getStreamId = function() {
|
|
33238
33138
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
33239
33139
|
};
|
|
33240
33140
|
|
|
33241
33141
|
|
|
33242
33142
|
/**
|
|
33243
33143
|
* @param {number} value
|
|
33244
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
33144
|
+
* @return {!proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest} returns this
|
|
33245
33145
|
*/
|
|
33246
|
-
proto.zaber.motion.protobufs.
|
|
33146
|
+
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.setStreamId = function(value) {
|
|
33247
33147
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
33248
33148
|
};
|
|
33249
33149
|
|
|
@@ -33252,16 +33152,16 @@ proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.setStreamId
|
|
|
33252
33152
|
* optional bool pvt = 4;
|
|
33253
33153
|
* @return {boolean}
|
|
33254
33154
|
*/
|
|
33255
|
-
proto.zaber.motion.protobufs.
|
|
33155
|
+
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.getPvt = function() {
|
|
33256
33156
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
33257
33157
|
};
|
|
33258
33158
|
|
|
33259
33159
|
|
|
33260
33160
|
/**
|
|
33261
33161
|
* @param {boolean} value
|
|
33262
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
33162
|
+
* @return {!proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest} returns this
|
|
33263
33163
|
*/
|
|
33264
|
-
proto.zaber.motion.protobufs.
|
|
33164
|
+
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.setPvt = function(value) {
|
|
33265
33165
|
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
33266
33166
|
};
|
|
33267
33167
|
|
|
@@ -33270,35 +33170,35 @@ proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.setPvt = fun
|
|
|
33270
33170
|
* optional int32 channel_number = 5;
|
|
33271
33171
|
* @return {number}
|
|
33272
33172
|
*/
|
|
33273
|
-
proto.zaber.motion.protobufs.
|
|
33173
|
+
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.getChannelNumber = function() {
|
|
33274
33174
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
33275
33175
|
};
|
|
33276
33176
|
|
|
33277
33177
|
|
|
33278
33178
|
/**
|
|
33279
33179
|
* @param {number} value
|
|
33280
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
33180
|
+
* @return {!proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest} returns this
|
|
33281
33181
|
*/
|
|
33282
|
-
proto.zaber.motion.protobufs.
|
|
33182
|
+
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.setChannelNumber = function(value) {
|
|
33283
33183
|
return jspb.Message.setProto3IntField(this, 5, value);
|
|
33284
33184
|
};
|
|
33285
33185
|
|
|
33286
33186
|
|
|
33287
33187
|
/**
|
|
33288
|
-
* optional
|
|
33188
|
+
* optional int32 value = 6;
|
|
33289
33189
|
* @return {number}
|
|
33290
33190
|
*/
|
|
33291
|
-
proto.zaber.motion.protobufs.
|
|
33292
|
-
return /** @type {number} */ (jspb.Message.
|
|
33191
|
+
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.getValue = function() {
|
|
33192
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
33293
33193
|
};
|
|
33294
33194
|
|
|
33295
33195
|
|
|
33296
33196
|
/**
|
|
33297
33197
|
* @param {number} value
|
|
33298
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
33198
|
+
* @return {!proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest} returns this
|
|
33299
33199
|
*/
|
|
33300
|
-
proto.zaber.motion.protobufs.
|
|
33301
|
-
return jspb.Message.
|
|
33200
|
+
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.setValue = function(value) {
|
|
33201
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
33302
33202
|
};
|
|
33303
33203
|
|
|
33304
33204
|
|
|
@@ -33318,8 +33218,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
33318
33218
|
* http://goto/soy-param-migration
|
|
33319
33219
|
* @return {!Object}
|
|
33320
33220
|
*/
|
|
33321
|
-
proto.zaber.motion.protobufs.
|
|
33322
|
-
return proto.zaber.motion.protobufs.
|
|
33221
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.toObject = function(opt_includeInstance) {
|
|
33222
|
+
return proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.toObject(opt_includeInstance, this);
|
|
33323
33223
|
};
|
|
33324
33224
|
|
|
33325
33225
|
|
|
@@ -33328,17 +33228,18 @@ proto.zaber.motion.protobufs.StreamToggleDigitalOutputRequest.prototype.toObject
|
|
|
33328
33228
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
33329
33229
|
* the JSPB instance for transitional soy proto support:
|
|
33330
33230
|
* http://goto/soy-param-migration
|
|
33331
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
33231
|
+
* @param {!proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest} msg The msg instance to transform.
|
|
33332
33232
|
* @return {!Object}
|
|
33333
33233
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
33334
33234
|
*/
|
|
33335
|
-
proto.zaber.motion.protobufs.
|
|
33235
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.toObject = function(includeInstance, msg) {
|
|
33336
33236
|
var f, obj = {
|
|
33337
33237
|
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
33338
33238
|
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
33339
33239
|
streamId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
33340
33240
|
pvt: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
33341
|
-
channelNumber: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
33241
|
+
channelNumber: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
33242
|
+
value: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0)
|
|
33342
33243
|
};
|
|
33343
33244
|
|
|
33344
33245
|
if (includeInstance) {
|
|
@@ -33352,23 +33253,23 @@ proto.zaber.motion.protobufs.StreamToggleDigitalOutputRequest.toObject = functio
|
|
|
33352
33253
|
/**
|
|
33353
33254
|
* Deserializes binary data (in protobuf wire format).
|
|
33354
33255
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
33355
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
33256
|
+
* @return {!proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest}
|
|
33356
33257
|
*/
|
|
33357
|
-
proto.zaber.motion.protobufs.
|
|
33258
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.deserializeBinary = function(bytes) {
|
|
33358
33259
|
var reader = new jspb.BinaryReader(bytes);
|
|
33359
|
-
var msg = new proto.zaber.motion.protobufs.
|
|
33360
|
-
return proto.zaber.motion.protobufs.
|
|
33260
|
+
var msg = new proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest;
|
|
33261
|
+
return proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.deserializeBinaryFromReader(msg, reader);
|
|
33361
33262
|
};
|
|
33362
33263
|
|
|
33363
33264
|
|
|
33364
33265
|
/**
|
|
33365
33266
|
* Deserializes binary data (in protobuf wire format) from the
|
|
33366
33267
|
* given reader into the given message object.
|
|
33367
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
33268
|
+
* @param {!proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest} msg The message object to deserialize into.
|
|
33368
33269
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
33369
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
33270
|
+
* @return {!proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest}
|
|
33370
33271
|
*/
|
|
33371
|
-
proto.zaber.motion.protobufs.
|
|
33272
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
33372
33273
|
while (reader.nextField()) {
|
|
33373
33274
|
if (reader.isEndGroup()) {
|
|
33374
33275
|
break;
|
|
@@ -33395,6 +33296,10 @@ proto.zaber.motion.protobufs.StreamToggleDigitalOutputRequest.deserializeBinaryF
|
|
|
33395
33296
|
var value = /** @type {number} */ (reader.readInt32());
|
|
33396
33297
|
msg.setChannelNumber(value);
|
|
33397
33298
|
break;
|
|
33299
|
+
case 6:
|
|
33300
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
33301
|
+
msg.setValue(value);
|
|
33302
|
+
break;
|
|
33398
33303
|
default:
|
|
33399
33304
|
reader.skipField();
|
|
33400
33305
|
break;
|
|
@@ -33408,9 +33313,9 @@ proto.zaber.motion.protobufs.StreamToggleDigitalOutputRequest.deserializeBinaryF
|
|
|
33408
33313
|
* Serializes the message to binary data (in protobuf wire format).
|
|
33409
33314
|
* @return {!Uint8Array}
|
|
33410
33315
|
*/
|
|
33411
|
-
proto.zaber.motion.protobufs.
|
|
33316
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.serializeBinary = function() {
|
|
33412
33317
|
var writer = new jspb.BinaryWriter();
|
|
33413
|
-
proto.zaber.motion.protobufs.
|
|
33318
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.serializeBinaryToWriter(this, writer);
|
|
33414
33319
|
return writer.getResultBuffer();
|
|
33415
33320
|
};
|
|
33416
33321
|
|
|
@@ -33418,11 +33323,11 @@ proto.zaber.motion.protobufs.StreamToggleDigitalOutputRequest.prototype.serializ
|
|
|
33418
33323
|
/**
|
|
33419
33324
|
* Serializes the given message to binary data (in protobuf wire
|
|
33420
33325
|
* format), writing to the given BinaryWriter.
|
|
33421
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
33326
|
+
* @param {!proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest} message
|
|
33422
33327
|
* @param {!jspb.BinaryWriter} writer
|
|
33423
33328
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
33424
33329
|
*/
|
|
33425
|
-
proto.zaber.motion.protobufs.
|
|
33330
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.serializeBinaryToWriter = function(message, writer) {
|
|
33426
33331
|
var f = undefined;
|
|
33427
33332
|
f = message.getInterfaceId();
|
|
33428
33333
|
if (f !== 0) {
|
|
@@ -33459,6 +33364,13 @@ proto.zaber.motion.protobufs.StreamToggleDigitalOutputRequest.serializeBinaryToW
|
|
|
33459
33364
|
f
|
|
33460
33365
|
);
|
|
33461
33366
|
}
|
|
33367
|
+
f = message.getValue();
|
|
33368
|
+
if (f !== 0.0) {
|
|
33369
|
+
writer.writeDouble(
|
|
33370
|
+
6,
|
|
33371
|
+
f
|
|
33372
|
+
);
|
|
33373
|
+
}
|
|
33462
33374
|
};
|
|
33463
33375
|
|
|
33464
33376
|
|
|
@@ -33466,16 +33378,16 @@ proto.zaber.motion.protobufs.StreamToggleDigitalOutputRequest.serializeBinaryToW
|
|
|
33466
33378
|
* optional int32 interface_id = 1;
|
|
33467
33379
|
* @return {number}
|
|
33468
33380
|
*/
|
|
33469
|
-
proto.zaber.motion.protobufs.
|
|
33381
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.getInterfaceId = function() {
|
|
33470
33382
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
33471
33383
|
};
|
|
33472
33384
|
|
|
33473
33385
|
|
|
33474
33386
|
/**
|
|
33475
33387
|
* @param {number} value
|
|
33476
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
33388
|
+
* @return {!proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest} returns this
|
|
33477
33389
|
*/
|
|
33478
|
-
proto.zaber.motion.protobufs.
|
|
33390
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.setInterfaceId = function(value) {
|
|
33479
33391
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
33480
33392
|
};
|
|
33481
33393
|
|
|
@@ -33484,16 +33396,16 @@ proto.zaber.motion.protobufs.StreamToggleDigitalOutputRequest.prototype.setInter
|
|
|
33484
33396
|
* optional int32 device = 2;
|
|
33485
33397
|
* @return {number}
|
|
33486
33398
|
*/
|
|
33487
|
-
proto.zaber.motion.protobufs.
|
|
33399
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.getDevice = function() {
|
|
33488
33400
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
33489
33401
|
};
|
|
33490
33402
|
|
|
33491
33403
|
|
|
33492
33404
|
/**
|
|
33493
33405
|
* @param {number} value
|
|
33494
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
33406
|
+
* @return {!proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest} returns this
|
|
33495
33407
|
*/
|
|
33496
|
-
proto.zaber.motion.protobufs.
|
|
33408
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.setDevice = function(value) {
|
|
33497
33409
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
33498
33410
|
};
|
|
33499
33411
|
|
|
@@ -33502,16 +33414,16 @@ proto.zaber.motion.protobufs.StreamToggleDigitalOutputRequest.prototype.setDevic
|
|
|
33502
33414
|
* optional int32 stream_id = 3;
|
|
33503
33415
|
* @return {number}
|
|
33504
33416
|
*/
|
|
33505
|
-
proto.zaber.motion.protobufs.
|
|
33417
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.getStreamId = function() {
|
|
33506
33418
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
33507
33419
|
};
|
|
33508
33420
|
|
|
33509
33421
|
|
|
33510
33422
|
/**
|
|
33511
33423
|
* @param {number} value
|
|
33512
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
33424
|
+
* @return {!proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest} returns this
|
|
33513
33425
|
*/
|
|
33514
|
-
proto.zaber.motion.protobufs.
|
|
33426
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.setStreamId = function(value) {
|
|
33515
33427
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
33516
33428
|
};
|
|
33517
33429
|
|
|
@@ -33520,16 +33432,16 @@ proto.zaber.motion.protobufs.StreamToggleDigitalOutputRequest.prototype.setStrea
|
|
|
33520
33432
|
* optional bool pvt = 4;
|
|
33521
33433
|
* @return {boolean}
|
|
33522
33434
|
*/
|
|
33523
|
-
proto.zaber.motion.protobufs.
|
|
33435
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.getPvt = function() {
|
|
33524
33436
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
33525
33437
|
};
|
|
33526
33438
|
|
|
33527
33439
|
|
|
33528
33440
|
/**
|
|
33529
33441
|
* @param {boolean} value
|
|
33530
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
33442
|
+
* @return {!proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest} returns this
|
|
33531
33443
|
*/
|
|
33532
|
-
proto.zaber.motion.protobufs.
|
|
33444
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.setPvt = function(value) {
|
|
33533
33445
|
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
33534
33446
|
};
|
|
33535
33447
|
|
|
@@ -33538,20 +33450,38 @@ proto.zaber.motion.protobufs.StreamToggleDigitalOutputRequest.prototype.setPvt =
|
|
|
33538
33450
|
* optional int32 channel_number = 5;
|
|
33539
33451
|
* @return {number}
|
|
33540
33452
|
*/
|
|
33541
|
-
proto.zaber.motion.protobufs.
|
|
33453
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.getChannelNumber = function() {
|
|
33542
33454
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
33543
33455
|
};
|
|
33544
33456
|
|
|
33545
33457
|
|
|
33546
33458
|
/**
|
|
33547
33459
|
* @param {number} value
|
|
33548
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
33460
|
+
* @return {!proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest} returns this
|
|
33549
33461
|
*/
|
|
33550
|
-
proto.zaber.motion.protobufs.
|
|
33462
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.setChannelNumber = function(value) {
|
|
33551
33463
|
return jspb.Message.setProto3IntField(this, 5, value);
|
|
33552
33464
|
};
|
|
33553
33465
|
|
|
33554
33466
|
|
|
33467
|
+
/**
|
|
33468
|
+
* optional double value = 6;
|
|
33469
|
+
* @return {number}
|
|
33470
|
+
*/
|
|
33471
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.getValue = function() {
|
|
33472
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
|
|
33473
|
+
};
|
|
33474
|
+
|
|
33475
|
+
|
|
33476
|
+
/**
|
|
33477
|
+
* @param {number} value
|
|
33478
|
+
* @return {!proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest} returns this
|
|
33479
|
+
*/
|
|
33480
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.setValue = function(value) {
|
|
33481
|
+
return jspb.Message.setProto3FloatField(this, 6, value);
|
|
33482
|
+
};
|
|
33483
|
+
|
|
33484
|
+
|
|
33555
33485
|
|
|
33556
33486
|
/**
|
|
33557
33487
|
* List of repeated fields within this message type.
|
|
@@ -33595,7 +33525,7 @@ proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.toObject = functi
|
|
|
33595
33525
|
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
33596
33526
|
streamId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
33597
33527
|
pvt: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
33598
|
-
valuesList: (f = jspb.Message.
|
|
33528
|
+
valuesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f
|
|
33599
33529
|
};
|
|
33600
33530
|
|
|
33601
33531
|
if (includeInstance) {
|
|
@@ -33649,7 +33579,7 @@ proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.deserializeBinary
|
|
|
33649
33579
|
msg.setPvt(value);
|
|
33650
33580
|
break;
|
|
33651
33581
|
case 5:
|
|
33652
|
-
var values = /** @type {!Array<
|
|
33582
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
33653
33583
|
for (var i = 0; i < values.length; i++) {
|
|
33654
33584
|
msg.addValues(values[i]);
|
|
33655
33585
|
}
|
|
@@ -33713,7 +33643,7 @@ proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.serializeBinaryTo
|
|
|
33713
33643
|
}
|
|
33714
33644
|
f = message.getValuesList();
|
|
33715
33645
|
if (f.length > 0) {
|
|
33716
|
-
writer.
|
|
33646
|
+
writer.writePackedInt32(
|
|
33717
33647
|
5,
|
|
33718
33648
|
f
|
|
33719
33649
|
);
|
|
@@ -33794,16 +33724,16 @@ proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.prototype.setPvt
|
|
|
33794
33724
|
|
|
33795
33725
|
|
|
33796
33726
|
/**
|
|
33797
|
-
* repeated
|
|
33798
|
-
* @return {!Array<
|
|
33727
|
+
* repeated int32 values = 5;
|
|
33728
|
+
* @return {!Array<number>}
|
|
33799
33729
|
*/
|
|
33800
33730
|
proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.prototype.getValuesList = function() {
|
|
33801
|
-
return /** @type {!Array<
|
|
33731
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
33802
33732
|
};
|
|
33803
33733
|
|
|
33804
33734
|
|
|
33805
33735
|
/**
|
|
33806
|
-
* @param {!Array<
|
|
33736
|
+
* @param {!Array<number>} value
|
|
33807
33737
|
* @return {!proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest} returns this
|
|
33808
33738
|
*/
|
|
33809
33739
|
proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.prototype.setValuesList = function(value) {
|
|
@@ -33812,7 +33742,7 @@ proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.prototype.setValu
|
|
|
33812
33742
|
|
|
33813
33743
|
|
|
33814
33744
|
/**
|
|
33815
|
-
* @param {
|
|
33745
|
+
* @param {number} value
|
|
33816
33746
|
* @param {number=} opt_index
|
|
33817
33747
|
* @return {!proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest} returns this
|
|
33818
33748
|
*/
|
|
@@ -37733,6 +37663,196 @@ proto.zaber.motion.protobufs.StreamGenericCommandBatchRequest.prototype.clearBat
|
|
|
37733
37663
|
|
|
37734
37664
|
|
|
37735
37665
|
|
|
37666
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
37667
|
+
/**
|
|
37668
|
+
* Creates an object representation of this proto.
|
|
37669
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
37670
|
+
* Optional fields that are not set will be set to undefined.
|
|
37671
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
37672
|
+
* For the list of reserved names please see:
|
|
37673
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
37674
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
37675
|
+
* JSPB instance for transitional soy proto support:
|
|
37676
|
+
* http://goto/soy-param-migration
|
|
37677
|
+
* @return {!Object}
|
|
37678
|
+
*/
|
|
37679
|
+
proto.zaber.motion.protobufs.StreamBufferList.prototype.toObject = function(opt_includeInstance) {
|
|
37680
|
+
return proto.zaber.motion.protobufs.StreamBufferList.toObject(opt_includeInstance, this);
|
|
37681
|
+
};
|
|
37682
|
+
|
|
37683
|
+
|
|
37684
|
+
/**
|
|
37685
|
+
* Static version of the {@see toObject} method.
|
|
37686
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
37687
|
+
* the JSPB instance for transitional soy proto support:
|
|
37688
|
+
* http://goto/soy-param-migration
|
|
37689
|
+
* @param {!proto.zaber.motion.protobufs.StreamBufferList} msg The msg instance to transform.
|
|
37690
|
+
* @return {!Object}
|
|
37691
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
37692
|
+
*/
|
|
37693
|
+
proto.zaber.motion.protobufs.StreamBufferList.toObject = function(includeInstance, msg) {
|
|
37694
|
+
var f, obj = {
|
|
37695
|
+
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
37696
|
+
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
37697
|
+
pvt: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
37698
|
+
};
|
|
37699
|
+
|
|
37700
|
+
if (includeInstance) {
|
|
37701
|
+
obj.$jspbMessageInstance = msg;
|
|
37702
|
+
}
|
|
37703
|
+
return obj;
|
|
37704
|
+
};
|
|
37705
|
+
}
|
|
37706
|
+
|
|
37707
|
+
|
|
37708
|
+
/**
|
|
37709
|
+
* Deserializes binary data (in protobuf wire format).
|
|
37710
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
37711
|
+
* @return {!proto.zaber.motion.protobufs.StreamBufferList}
|
|
37712
|
+
*/
|
|
37713
|
+
proto.zaber.motion.protobufs.StreamBufferList.deserializeBinary = function(bytes) {
|
|
37714
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
37715
|
+
var msg = new proto.zaber.motion.protobufs.StreamBufferList;
|
|
37716
|
+
return proto.zaber.motion.protobufs.StreamBufferList.deserializeBinaryFromReader(msg, reader);
|
|
37717
|
+
};
|
|
37718
|
+
|
|
37719
|
+
|
|
37720
|
+
/**
|
|
37721
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
37722
|
+
* given reader into the given message object.
|
|
37723
|
+
* @param {!proto.zaber.motion.protobufs.StreamBufferList} msg The message object to deserialize into.
|
|
37724
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
37725
|
+
* @return {!proto.zaber.motion.protobufs.StreamBufferList}
|
|
37726
|
+
*/
|
|
37727
|
+
proto.zaber.motion.protobufs.StreamBufferList.deserializeBinaryFromReader = function(msg, reader) {
|
|
37728
|
+
while (reader.nextField()) {
|
|
37729
|
+
if (reader.isEndGroup()) {
|
|
37730
|
+
break;
|
|
37731
|
+
}
|
|
37732
|
+
var field = reader.getFieldNumber();
|
|
37733
|
+
switch (field) {
|
|
37734
|
+
case 1:
|
|
37735
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
37736
|
+
msg.setInterfaceId(value);
|
|
37737
|
+
break;
|
|
37738
|
+
case 2:
|
|
37739
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
37740
|
+
msg.setDevice(value);
|
|
37741
|
+
break;
|
|
37742
|
+
case 3:
|
|
37743
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
37744
|
+
msg.setPvt(value);
|
|
37745
|
+
break;
|
|
37746
|
+
default:
|
|
37747
|
+
reader.skipField();
|
|
37748
|
+
break;
|
|
37749
|
+
}
|
|
37750
|
+
}
|
|
37751
|
+
return msg;
|
|
37752
|
+
};
|
|
37753
|
+
|
|
37754
|
+
|
|
37755
|
+
/**
|
|
37756
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
37757
|
+
* @return {!Uint8Array}
|
|
37758
|
+
*/
|
|
37759
|
+
proto.zaber.motion.protobufs.StreamBufferList.prototype.serializeBinary = function() {
|
|
37760
|
+
var writer = new jspb.BinaryWriter();
|
|
37761
|
+
proto.zaber.motion.protobufs.StreamBufferList.serializeBinaryToWriter(this, writer);
|
|
37762
|
+
return writer.getResultBuffer();
|
|
37763
|
+
};
|
|
37764
|
+
|
|
37765
|
+
|
|
37766
|
+
/**
|
|
37767
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
37768
|
+
* format), writing to the given BinaryWriter.
|
|
37769
|
+
* @param {!proto.zaber.motion.protobufs.StreamBufferList} message
|
|
37770
|
+
* @param {!jspb.BinaryWriter} writer
|
|
37771
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
37772
|
+
*/
|
|
37773
|
+
proto.zaber.motion.protobufs.StreamBufferList.serializeBinaryToWriter = function(message, writer) {
|
|
37774
|
+
var f = undefined;
|
|
37775
|
+
f = message.getInterfaceId();
|
|
37776
|
+
if (f !== 0) {
|
|
37777
|
+
writer.writeInt32(
|
|
37778
|
+
1,
|
|
37779
|
+
f
|
|
37780
|
+
);
|
|
37781
|
+
}
|
|
37782
|
+
f = message.getDevice();
|
|
37783
|
+
if (f !== 0) {
|
|
37784
|
+
writer.writeInt32(
|
|
37785
|
+
2,
|
|
37786
|
+
f
|
|
37787
|
+
);
|
|
37788
|
+
}
|
|
37789
|
+
f = message.getPvt();
|
|
37790
|
+
if (f) {
|
|
37791
|
+
writer.writeBool(
|
|
37792
|
+
3,
|
|
37793
|
+
f
|
|
37794
|
+
);
|
|
37795
|
+
}
|
|
37796
|
+
};
|
|
37797
|
+
|
|
37798
|
+
|
|
37799
|
+
/**
|
|
37800
|
+
* optional int32 interface_id = 1;
|
|
37801
|
+
* @return {number}
|
|
37802
|
+
*/
|
|
37803
|
+
proto.zaber.motion.protobufs.StreamBufferList.prototype.getInterfaceId = function() {
|
|
37804
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
37805
|
+
};
|
|
37806
|
+
|
|
37807
|
+
|
|
37808
|
+
/**
|
|
37809
|
+
* @param {number} value
|
|
37810
|
+
* @return {!proto.zaber.motion.protobufs.StreamBufferList} returns this
|
|
37811
|
+
*/
|
|
37812
|
+
proto.zaber.motion.protobufs.StreamBufferList.prototype.setInterfaceId = function(value) {
|
|
37813
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
37814
|
+
};
|
|
37815
|
+
|
|
37816
|
+
|
|
37817
|
+
/**
|
|
37818
|
+
* optional int32 device = 2;
|
|
37819
|
+
* @return {number}
|
|
37820
|
+
*/
|
|
37821
|
+
proto.zaber.motion.protobufs.StreamBufferList.prototype.getDevice = function() {
|
|
37822
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
37823
|
+
};
|
|
37824
|
+
|
|
37825
|
+
|
|
37826
|
+
/**
|
|
37827
|
+
* @param {number} value
|
|
37828
|
+
* @return {!proto.zaber.motion.protobufs.StreamBufferList} returns this
|
|
37829
|
+
*/
|
|
37830
|
+
proto.zaber.motion.protobufs.StreamBufferList.prototype.setDevice = function(value) {
|
|
37831
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
37832
|
+
};
|
|
37833
|
+
|
|
37834
|
+
|
|
37835
|
+
/**
|
|
37836
|
+
* optional bool pvt = 3;
|
|
37837
|
+
* @return {boolean}
|
|
37838
|
+
*/
|
|
37839
|
+
proto.zaber.motion.protobufs.StreamBufferList.prototype.getPvt = function() {
|
|
37840
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
37841
|
+
};
|
|
37842
|
+
|
|
37843
|
+
|
|
37844
|
+
/**
|
|
37845
|
+
* @param {boolean} value
|
|
37846
|
+
* @return {!proto.zaber.motion.protobufs.StreamBufferList} returns this
|
|
37847
|
+
*/
|
|
37848
|
+
proto.zaber.motion.protobufs.StreamBufferList.prototype.setPvt = function(value) {
|
|
37849
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
37850
|
+
};
|
|
37851
|
+
|
|
37852
|
+
|
|
37853
|
+
|
|
37854
|
+
|
|
37855
|
+
|
|
37736
37856
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
37737
37857
|
/**
|
|
37738
37858
|
* Creates an object representation of this proto.
|
|
@@ -38376,8 +38496,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
38376
38496
|
* http://goto/soy-param-migration
|
|
38377
38497
|
* @return {!Object}
|
|
38378
38498
|
*/
|
|
38379
|
-
proto.zaber.motion.protobufs.
|
|
38380
|
-
return proto.zaber.motion.protobufs.
|
|
38499
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.prototype.toObject = function(opt_includeInstance) {
|
|
38500
|
+
return proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.toObject(opt_includeInstance, this);
|
|
38381
38501
|
};
|
|
38382
38502
|
|
|
38383
38503
|
|
|
@@ -38386,17 +38506,17 @@ proto.zaber.motion.protobufs.TriggerFireWhenDistRequest.prototype.toObject = fun
|
|
|
38386
38506
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
38387
38507
|
* the JSPB instance for transitional soy proto support:
|
|
38388
38508
|
* http://goto/soy-param-migration
|
|
38389
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
38509
|
+
* @param {!proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest} msg The msg instance to transform.
|
|
38390
38510
|
* @return {!Object}
|
|
38391
38511
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
38392
38512
|
*/
|
|
38393
|
-
proto.zaber.motion.protobufs.
|
|
38513
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.toObject = function(includeInstance, msg) {
|
|
38394
38514
|
var f, obj = {
|
|
38395
38515
|
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
38396
38516
|
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
38397
38517
|
triggerNumber: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
38398
38518
|
axis: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
38399
|
-
|
|
38519
|
+
distance: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
38400
38520
|
unit: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
38401
38521
|
};
|
|
38402
38522
|
|
|
@@ -38411,23 +38531,23 @@ proto.zaber.motion.protobufs.TriggerFireWhenDistRequest.toObject = function(incl
|
|
|
38411
38531
|
/**
|
|
38412
38532
|
* Deserializes binary data (in protobuf wire format).
|
|
38413
38533
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
38414
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
38534
|
+
* @return {!proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest}
|
|
38415
38535
|
*/
|
|
38416
|
-
proto.zaber.motion.protobufs.
|
|
38536
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.deserializeBinary = function(bytes) {
|
|
38417
38537
|
var reader = new jspb.BinaryReader(bytes);
|
|
38418
|
-
var msg = new proto.zaber.motion.protobufs.
|
|
38419
|
-
return proto.zaber.motion.protobufs.
|
|
38538
|
+
var msg = new proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest;
|
|
38539
|
+
return proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.deserializeBinaryFromReader(msg, reader);
|
|
38420
38540
|
};
|
|
38421
38541
|
|
|
38422
38542
|
|
|
38423
38543
|
/**
|
|
38424
38544
|
* Deserializes binary data (in protobuf wire format) from the
|
|
38425
38545
|
* given reader into the given message object.
|
|
38426
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
38546
|
+
* @param {!proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest} msg The message object to deserialize into.
|
|
38427
38547
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
38428
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
38548
|
+
* @return {!proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest}
|
|
38429
38549
|
*/
|
|
38430
|
-
proto.zaber.motion.protobufs.
|
|
38550
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
38431
38551
|
while (reader.nextField()) {
|
|
38432
38552
|
if (reader.isEndGroup()) {
|
|
38433
38553
|
break;
|
|
@@ -38452,7 +38572,7 @@ proto.zaber.motion.protobufs.TriggerFireWhenDistRequest.deserializeBinaryFromRea
|
|
|
38452
38572
|
break;
|
|
38453
38573
|
case 5:
|
|
38454
38574
|
var value = /** @type {number} */ (reader.readDouble());
|
|
38455
|
-
msg.
|
|
38575
|
+
msg.setDistance(value);
|
|
38456
38576
|
break;
|
|
38457
38577
|
case 6:
|
|
38458
38578
|
var value = /** @type {string} */ (reader.readString());
|
|
@@ -38471,9 +38591,9 @@ proto.zaber.motion.protobufs.TriggerFireWhenDistRequest.deserializeBinaryFromRea
|
|
|
38471
38591
|
* Serializes the message to binary data (in protobuf wire format).
|
|
38472
38592
|
* @return {!Uint8Array}
|
|
38473
38593
|
*/
|
|
38474
|
-
proto.zaber.motion.protobufs.
|
|
38594
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.prototype.serializeBinary = function() {
|
|
38475
38595
|
var writer = new jspb.BinaryWriter();
|
|
38476
|
-
proto.zaber.motion.protobufs.
|
|
38596
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.serializeBinaryToWriter(this, writer);
|
|
38477
38597
|
return writer.getResultBuffer();
|
|
38478
38598
|
};
|
|
38479
38599
|
|
|
@@ -38481,11 +38601,11 @@ proto.zaber.motion.protobufs.TriggerFireWhenDistRequest.prototype.serializeBinar
|
|
|
38481
38601
|
/**
|
|
38482
38602
|
* Serializes the given message to binary data (in protobuf wire
|
|
38483
38603
|
* format), writing to the given BinaryWriter.
|
|
38484
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
38604
|
+
* @param {!proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest} message
|
|
38485
38605
|
* @param {!jspb.BinaryWriter} writer
|
|
38486
38606
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
38487
38607
|
*/
|
|
38488
|
-
proto.zaber.motion.protobufs.
|
|
38608
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.serializeBinaryToWriter = function(message, writer) {
|
|
38489
38609
|
var f = undefined;
|
|
38490
38610
|
f = message.getInterfaceId();
|
|
38491
38611
|
if (f !== 0) {
|
|
@@ -38515,7 +38635,7 @@ proto.zaber.motion.protobufs.TriggerFireWhenDistRequest.serializeBinaryToWriter
|
|
|
38515
38635
|
f
|
|
38516
38636
|
);
|
|
38517
38637
|
}
|
|
38518
|
-
f = message.
|
|
38638
|
+
f = message.getDistance();
|
|
38519
38639
|
if (f !== 0.0) {
|
|
38520
38640
|
writer.writeDouble(
|
|
38521
38641
|
5,
|
|
@@ -38536,16 +38656,16 @@ proto.zaber.motion.protobufs.TriggerFireWhenDistRequest.serializeBinaryToWriter
|
|
|
38536
38656
|
* optional int32 interface_id = 1;
|
|
38537
38657
|
* @return {number}
|
|
38538
38658
|
*/
|
|
38539
|
-
proto.zaber.motion.protobufs.
|
|
38659
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.prototype.getInterfaceId = function() {
|
|
38540
38660
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
38541
38661
|
};
|
|
38542
38662
|
|
|
38543
38663
|
|
|
38544
38664
|
/**
|
|
38545
38665
|
* @param {number} value
|
|
38546
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
38666
|
+
* @return {!proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest} returns this
|
|
38547
38667
|
*/
|
|
38548
|
-
proto.zaber.motion.protobufs.
|
|
38668
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.prototype.setInterfaceId = function(value) {
|
|
38549
38669
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
38550
38670
|
};
|
|
38551
38671
|
|
|
@@ -38554,16 +38674,16 @@ proto.zaber.motion.protobufs.TriggerFireWhenDistRequest.prototype.setInterfaceId
|
|
|
38554
38674
|
* optional int32 device = 2;
|
|
38555
38675
|
* @return {number}
|
|
38556
38676
|
*/
|
|
38557
|
-
proto.zaber.motion.protobufs.
|
|
38677
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.prototype.getDevice = function() {
|
|
38558
38678
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
38559
38679
|
};
|
|
38560
38680
|
|
|
38561
38681
|
|
|
38562
38682
|
/**
|
|
38563
38683
|
* @param {number} value
|
|
38564
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
38684
|
+
* @return {!proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest} returns this
|
|
38565
38685
|
*/
|
|
38566
|
-
proto.zaber.motion.protobufs.
|
|
38686
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.prototype.setDevice = function(value) {
|
|
38567
38687
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
38568
38688
|
};
|
|
38569
38689
|
|
|
@@ -38572,16 +38692,16 @@ proto.zaber.motion.protobufs.TriggerFireWhenDistRequest.prototype.setDevice = fu
|
|
|
38572
38692
|
* optional int32 trigger_number = 3;
|
|
38573
38693
|
* @return {number}
|
|
38574
38694
|
*/
|
|
38575
|
-
proto.zaber.motion.protobufs.
|
|
38695
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.prototype.getTriggerNumber = function() {
|
|
38576
38696
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
38577
38697
|
};
|
|
38578
38698
|
|
|
38579
38699
|
|
|
38580
38700
|
/**
|
|
38581
38701
|
* @param {number} value
|
|
38582
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
38702
|
+
* @return {!proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest} returns this
|
|
38583
38703
|
*/
|
|
38584
|
-
proto.zaber.motion.protobufs.
|
|
38704
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.prototype.setTriggerNumber = function(value) {
|
|
38585
38705
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
38586
38706
|
};
|
|
38587
38707
|
|
|
@@ -38590,34 +38710,34 @@ proto.zaber.motion.protobufs.TriggerFireWhenDistRequest.prototype.setTriggerNumb
|
|
|
38590
38710
|
* optional int32 axis = 4;
|
|
38591
38711
|
* @return {number}
|
|
38592
38712
|
*/
|
|
38593
|
-
proto.zaber.motion.protobufs.
|
|
38713
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.prototype.getAxis = function() {
|
|
38594
38714
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
38595
38715
|
};
|
|
38596
38716
|
|
|
38597
38717
|
|
|
38598
38718
|
/**
|
|
38599
38719
|
* @param {number} value
|
|
38600
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
38720
|
+
* @return {!proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest} returns this
|
|
38601
38721
|
*/
|
|
38602
|
-
proto.zaber.motion.protobufs.
|
|
38722
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.prototype.setAxis = function(value) {
|
|
38603
38723
|
return jspb.Message.setProto3IntField(this, 4, value);
|
|
38604
38724
|
};
|
|
38605
38725
|
|
|
38606
38726
|
|
|
38607
38727
|
/**
|
|
38608
|
-
* optional double
|
|
38728
|
+
* optional double distance = 5;
|
|
38609
38729
|
* @return {number}
|
|
38610
38730
|
*/
|
|
38611
|
-
proto.zaber.motion.protobufs.
|
|
38731
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.prototype.getDistance = function() {
|
|
38612
38732
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
|
38613
38733
|
};
|
|
38614
38734
|
|
|
38615
38735
|
|
|
38616
38736
|
/**
|
|
38617
38737
|
* @param {number} value
|
|
38618
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
38738
|
+
* @return {!proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest} returns this
|
|
38619
38739
|
*/
|
|
38620
|
-
proto.zaber.motion.protobufs.
|
|
38740
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.prototype.setDistance = function(value) {
|
|
38621
38741
|
return jspb.Message.setProto3FloatField(this, 5, value);
|
|
38622
38742
|
};
|
|
38623
38743
|
|
|
@@ -38626,16 +38746,16 @@ proto.zaber.motion.protobufs.TriggerFireWhenDistRequest.prototype.setDist = func
|
|
|
38626
38746
|
* optional string unit = 6;
|
|
38627
38747
|
* @return {string}
|
|
38628
38748
|
*/
|
|
38629
|
-
proto.zaber.motion.protobufs.
|
|
38749
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.prototype.getUnit = function() {
|
|
38630
38750
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
38631
38751
|
};
|
|
38632
38752
|
|
|
38633
38753
|
|
|
38634
38754
|
/**
|
|
38635
38755
|
* @param {string} value
|
|
38636
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
38756
|
+
* @return {!proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest} returns this
|
|
38637
38757
|
*/
|
|
38638
|
-
proto.zaber.motion.protobufs.
|
|
38758
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.prototype.setUnit = function(value) {
|
|
38639
38759
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
38640
38760
|
};
|
|
38641
38761
|
|