@zaber/motion 4.8.0 → 5.1.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 +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 +39 -4
- package/dist/lib/ascii/device_io.js +73 -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 +220 -60
- package/dist/lib/protobufs/main_pb.js +1679 -424
- package/dist/lib/protobufs/main_pb.js.map +1 -1
- package/package.json +8 -2
|
@@ -53,6 +53,8 @@ goog.exportSymbol('zaber.motion.protobufs.CustomInterfaceOpenResponse', null, pr
|
|
|
53
53
|
goog.exportSymbol('zaber.motion.protobufs.CustomInterfaceReadRequest', null, proto);
|
|
54
54
|
goog.exportSymbol('zaber.motion.protobufs.CustomInterfaceWriteRequest', null, proto);
|
|
55
55
|
goog.exportSymbol('zaber.motion.protobufs.DeviceAddressConflictExceptionData', null, proto);
|
|
56
|
+
goog.exportSymbol('zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest', null, proto);
|
|
57
|
+
goog.exportSymbol('zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest', null, proto);
|
|
56
58
|
goog.exportSymbol('zaber.motion.protobufs.DeviceConvertSettingRequest', null, proto);
|
|
57
59
|
goog.exportSymbol('zaber.motion.protobufs.DeviceDbFailedExceptionData', null, proto);
|
|
58
60
|
goog.exportSymbol('zaber.motion.protobufs.DeviceDetectRequest', null, proto);
|
|
@@ -81,8 +83,10 @@ goog.exportSymbol('zaber.motion.protobufs.DeviceOnAllResponse', null, proto);
|
|
|
81
83
|
goog.exportSymbol('zaber.motion.protobufs.DeviceRenumberRequest', null, proto);
|
|
82
84
|
goog.exportSymbol('zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest', null, proto);
|
|
83
85
|
goog.exportSymbol('zaber.motion.protobufs.DeviceSetAllDigitalOutputsRequest', null, proto);
|
|
86
|
+
goog.exportSymbol('zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest', null, proto);
|
|
84
87
|
goog.exportSymbol('zaber.motion.protobufs.DeviceSetAnalogOutputRequest', null, proto);
|
|
85
88
|
goog.exportSymbol('zaber.motion.protobufs.DeviceSetDigitalOutputRequest', null, proto);
|
|
89
|
+
goog.exportSymbol('zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest', null, proto);
|
|
86
90
|
goog.exportSymbol('zaber.motion.protobufs.DeviceSetSettingRequest', null, proto);
|
|
87
91
|
goog.exportSymbol('zaber.motion.protobufs.DeviceSetSettingStrRequest', null, proto);
|
|
88
92
|
goog.exportSymbol('zaber.motion.protobufs.DeviceSetStorageBoolRequest', null, proto);
|
|
@@ -112,6 +116,7 @@ goog.exportSymbol('zaber.motion.protobufs.GetSetting', null, proto);
|
|
|
112
116
|
goog.exportSymbol('zaber.motion.protobufs.GetSettingResult', null, proto);
|
|
113
117
|
goog.exportSymbol('zaber.motion.protobufs.GetSettingResults', null, proto);
|
|
114
118
|
goog.exportSymbol('zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse', null, proto);
|
|
119
|
+
goog.exportSymbol('zaber.motion.protobufs.IntArrayResponse', null, proto);
|
|
115
120
|
goog.exportSymbol('zaber.motion.protobufs.IntRequest', null, proto);
|
|
116
121
|
goog.exportSymbol('zaber.motion.protobufs.IntResponse', null, proto);
|
|
117
122
|
goog.exportSymbol('zaber.motion.protobufs.InterfaceEmptyRequest', null, proto);
|
|
@@ -191,6 +196,7 @@ goog.exportSymbol('zaber.motion.protobufs.StreamAxisDefinition', null, proto);
|
|
|
191
196
|
goog.exportSymbol('zaber.motion.protobufs.StreamBufferEraseRequest', null, proto);
|
|
192
197
|
goog.exportSymbol('zaber.motion.protobufs.StreamBufferGetContentRequest', null, proto);
|
|
193
198
|
goog.exportSymbol('zaber.motion.protobufs.StreamBufferGetContentResponse', null, proto);
|
|
199
|
+
goog.exportSymbol('zaber.motion.protobufs.StreamBufferList', null, proto);
|
|
194
200
|
goog.exportSymbol('zaber.motion.protobufs.StreamCallRequest', null, proto);
|
|
195
201
|
goog.exportSymbol('zaber.motion.protobufs.StreamCircleRequest', null, proto);
|
|
196
202
|
goog.exportSymbol('zaber.motion.protobufs.StreamCircleRequest.Type', null, proto);
|
|
@@ -218,7 +224,6 @@ goog.exportSymbol('zaber.motion.protobufs.StreamSetupLiveRequest', null, proto);
|
|
|
218
224
|
goog.exportSymbol('zaber.motion.protobufs.StreamSetupStoreArbitraryAxesRequest', null, proto);
|
|
219
225
|
goog.exportSymbol('zaber.motion.protobufs.StreamSetupStoreCompositeRequest', null, proto);
|
|
220
226
|
goog.exportSymbol('zaber.motion.protobufs.StreamSetupStoreRequest', null, proto);
|
|
221
|
-
goog.exportSymbol('zaber.motion.protobufs.StreamToggleDigitalOutputRequest', null, proto);
|
|
222
227
|
goog.exportSymbol('zaber.motion.protobufs.StreamWaitAnalogInputRequest', null, proto);
|
|
223
228
|
goog.exportSymbol('zaber.motion.protobufs.StreamWaitDigitalInputRequest', null, proto);
|
|
224
229
|
goog.exportSymbol('zaber.motion.protobufs.StreamWaitRequest', null, proto);
|
|
@@ -257,7 +262,7 @@ goog.exportSymbol('zaber.motion.protobufs.TriggerEnableRequest', null, proto);
|
|
|
257
262
|
goog.exportSymbol('zaber.motion.protobufs.TriggerEnabledState', null, proto);
|
|
258
263
|
goog.exportSymbol('zaber.motion.protobufs.TriggerEnabledStates', null, proto);
|
|
259
264
|
goog.exportSymbol('zaber.motion.protobufs.TriggerFireAtIntervalRequest', null, proto);
|
|
260
|
-
goog.exportSymbol('zaber.motion.protobufs.
|
|
265
|
+
goog.exportSymbol('zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest', null, proto);
|
|
261
266
|
goog.exportSymbol('zaber.motion.protobufs.TriggerFireWhenIoRequest', null, proto);
|
|
262
267
|
goog.exportSymbol('zaber.motion.protobufs.TriggerFireWhenRequest', null, proto);
|
|
263
268
|
goog.exportSymbol('zaber.motion.protobufs.TriggerFireWhenSettingRequest', null, proto);
|
|
@@ -463,6 +468,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
463
468
|
*/
|
|
464
469
|
proto.zaber.motion.protobufs.IntResponse.displayName = 'proto.zaber.motion.protobufs.IntResponse';
|
|
465
470
|
}
|
|
471
|
+
/**
|
|
472
|
+
* Generated by JsPbCodeGenerator.
|
|
473
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
474
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
475
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
476
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
477
|
+
* valid.
|
|
478
|
+
* @extends {jspb.Message}
|
|
479
|
+
* @constructor
|
|
480
|
+
*/
|
|
481
|
+
proto.zaber.motion.protobufs.IntArrayResponse = function(opt_data) {
|
|
482
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.IntArrayResponse.repeatedFields_, null);
|
|
483
|
+
};
|
|
484
|
+
goog.inherits(proto.zaber.motion.protobufs.IntArrayResponse, jspb.Message);
|
|
485
|
+
if (goog.DEBUG && !COMPILED) {
|
|
486
|
+
/**
|
|
487
|
+
* @public
|
|
488
|
+
* @override
|
|
489
|
+
*/
|
|
490
|
+
proto.zaber.motion.protobufs.IntArrayResponse.displayName = 'proto.zaber.motion.protobufs.IntArrayResponse';
|
|
491
|
+
}
|
|
466
492
|
/**
|
|
467
493
|
* Generated by JsPbCodeGenerator.
|
|
468
494
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1891,6 +1917,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1891
1917
|
*/
|
|
1892
1918
|
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsRequest.displayName = 'proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsRequest';
|
|
1893
1919
|
}
|
|
1920
|
+
/**
|
|
1921
|
+
* Generated by JsPbCodeGenerator.
|
|
1922
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1923
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1924
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1925
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1926
|
+
* valid.
|
|
1927
|
+
* @extends {jspb.Message}
|
|
1928
|
+
* @constructor
|
|
1929
|
+
*/
|
|
1930
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest = function(opt_data) {
|
|
1931
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.repeatedFields_, null);
|
|
1932
|
+
};
|
|
1933
|
+
goog.inherits(proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest, jspb.Message);
|
|
1934
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1935
|
+
/**
|
|
1936
|
+
* @public
|
|
1937
|
+
* @override
|
|
1938
|
+
*/
|
|
1939
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.displayName = 'proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest';
|
|
1940
|
+
}
|
|
1941
|
+
/**
|
|
1942
|
+
* Generated by JsPbCodeGenerator.
|
|
1943
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1944
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1945
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1946
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1947
|
+
* valid.
|
|
1948
|
+
* @extends {jspb.Message}
|
|
1949
|
+
* @constructor
|
|
1950
|
+
*/
|
|
1951
|
+
proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest = function(opt_data) {
|
|
1952
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.repeatedFields_, null);
|
|
1953
|
+
};
|
|
1954
|
+
goog.inherits(proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest, jspb.Message);
|
|
1955
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1956
|
+
/**
|
|
1957
|
+
* @public
|
|
1958
|
+
* @override
|
|
1959
|
+
*/
|
|
1960
|
+
proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.displayName = 'proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest';
|
|
1961
|
+
}
|
|
1894
1962
|
/**
|
|
1895
1963
|
* Generated by JsPbCodeGenerator.
|
|
1896
1964
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1933,6 +2001,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1933
2001
|
*/
|
|
1934
2002
|
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.displayName = 'proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest';
|
|
1935
2003
|
}
|
|
2004
|
+
/**
|
|
2005
|
+
* Generated by JsPbCodeGenerator.
|
|
2006
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2007
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2008
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2009
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2010
|
+
* valid.
|
|
2011
|
+
* @extends {jspb.Message}
|
|
2012
|
+
* @constructor
|
|
2013
|
+
*/
|
|
2014
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest = function(opt_data) {
|
|
2015
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2016
|
+
};
|
|
2017
|
+
goog.inherits(proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest, jspb.Message);
|
|
2018
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2019
|
+
/**
|
|
2020
|
+
* @public
|
|
2021
|
+
* @override
|
|
2022
|
+
*/
|
|
2023
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.displayName = 'proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest';
|
|
2024
|
+
}
|
|
2025
|
+
/**
|
|
2026
|
+
* Generated by JsPbCodeGenerator.
|
|
2027
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2028
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2029
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2030
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2031
|
+
* valid.
|
|
2032
|
+
* @extends {jspb.Message}
|
|
2033
|
+
* @constructor
|
|
2034
|
+
*/
|
|
2035
|
+
proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest = function(opt_data) {
|
|
2036
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2037
|
+
};
|
|
2038
|
+
goog.inherits(proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest, jspb.Message);
|
|
2039
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2040
|
+
/**
|
|
2041
|
+
* @public
|
|
2042
|
+
* @override
|
|
2043
|
+
*/
|
|
2044
|
+
proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.displayName = 'proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest';
|
|
2045
|
+
}
|
|
1936
2046
|
/**
|
|
1937
2047
|
* Generated by JsPbCodeGenerator.
|
|
1938
2048
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2920,27 +3030,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2920
3030
|
*/
|
|
2921
3031
|
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.displayName = 'proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest';
|
|
2922
3032
|
}
|
|
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
3033
|
/**
|
|
2945
3034
|
* Generated by JsPbCodeGenerator.
|
|
2946
3035
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -3298,6 +3387,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
3298
3387
|
*/
|
|
3299
3388
|
proto.zaber.motion.protobufs.StreamGenericCommandBatchRequest.displayName = 'proto.zaber.motion.protobufs.StreamGenericCommandBatchRequest';
|
|
3300
3389
|
}
|
|
3390
|
+
/**
|
|
3391
|
+
* Generated by JsPbCodeGenerator.
|
|
3392
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3393
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3394
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3395
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3396
|
+
* valid.
|
|
3397
|
+
* @extends {jspb.Message}
|
|
3398
|
+
* @constructor
|
|
3399
|
+
*/
|
|
3400
|
+
proto.zaber.motion.protobufs.StreamBufferList = function(opt_data) {
|
|
3401
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3402
|
+
};
|
|
3403
|
+
goog.inherits(proto.zaber.motion.protobufs.StreamBufferList, jspb.Message);
|
|
3404
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3405
|
+
/**
|
|
3406
|
+
* @public
|
|
3407
|
+
* @override
|
|
3408
|
+
*/
|
|
3409
|
+
proto.zaber.motion.protobufs.StreamBufferList.displayName = 'proto.zaber.motion.protobufs.StreamBufferList';
|
|
3410
|
+
}
|
|
3301
3411
|
/**
|
|
3302
3412
|
* Generated by JsPbCodeGenerator.
|
|
3303
3413
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -3371,16 +3481,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
3371
3481
|
* @extends {jspb.Message}
|
|
3372
3482
|
* @constructor
|
|
3373
3483
|
*/
|
|
3374
|
-
proto.zaber.motion.protobufs.
|
|
3484
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest = function(opt_data) {
|
|
3375
3485
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3376
3486
|
};
|
|
3377
|
-
goog.inherits(proto.zaber.motion.protobufs.
|
|
3487
|
+
goog.inherits(proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest, jspb.Message);
|
|
3378
3488
|
if (goog.DEBUG && !COMPILED) {
|
|
3379
3489
|
/**
|
|
3380
3490
|
* @public
|
|
3381
3491
|
* @override
|
|
3382
3492
|
*/
|
|
3383
|
-
proto.zaber.motion.protobufs.
|
|
3493
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.displayName = 'proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest';
|
|
3384
3494
|
}
|
|
3385
3495
|
/**
|
|
3386
3496
|
* Generated by JsPbCodeGenerator.
|
|
@@ -6657,6 +6767,164 @@ proto.zaber.motion.protobufs.IntResponse.prototype.setValue = function(value) {
|
|
|
6657
6767
|
|
|
6658
6768
|
|
|
6659
6769
|
|
|
6770
|
+
/**
|
|
6771
|
+
* List of repeated fields within this message type.
|
|
6772
|
+
* @private {!Array<number>}
|
|
6773
|
+
* @const
|
|
6774
|
+
*/
|
|
6775
|
+
proto.zaber.motion.protobufs.IntArrayResponse.repeatedFields_ = [1];
|
|
6776
|
+
|
|
6777
|
+
|
|
6778
|
+
|
|
6779
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6780
|
+
/**
|
|
6781
|
+
* Creates an object representation of this proto.
|
|
6782
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6783
|
+
* Optional fields that are not set will be set to undefined.
|
|
6784
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6785
|
+
* For the list of reserved names please see:
|
|
6786
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6787
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6788
|
+
* JSPB instance for transitional soy proto support:
|
|
6789
|
+
* http://goto/soy-param-migration
|
|
6790
|
+
* @return {!Object}
|
|
6791
|
+
*/
|
|
6792
|
+
proto.zaber.motion.protobufs.IntArrayResponse.prototype.toObject = function(opt_includeInstance) {
|
|
6793
|
+
return proto.zaber.motion.protobufs.IntArrayResponse.toObject(opt_includeInstance, this);
|
|
6794
|
+
};
|
|
6795
|
+
|
|
6796
|
+
|
|
6797
|
+
/**
|
|
6798
|
+
* Static version of the {@see toObject} method.
|
|
6799
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6800
|
+
* the JSPB instance for transitional soy proto support:
|
|
6801
|
+
* http://goto/soy-param-migration
|
|
6802
|
+
* @param {!proto.zaber.motion.protobufs.IntArrayResponse} msg The msg instance to transform.
|
|
6803
|
+
* @return {!Object}
|
|
6804
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6805
|
+
*/
|
|
6806
|
+
proto.zaber.motion.protobufs.IntArrayResponse.toObject = function(includeInstance, msg) {
|
|
6807
|
+
var f, obj = {
|
|
6808
|
+
valuesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
6809
|
+
};
|
|
6810
|
+
|
|
6811
|
+
if (includeInstance) {
|
|
6812
|
+
obj.$jspbMessageInstance = msg;
|
|
6813
|
+
}
|
|
6814
|
+
return obj;
|
|
6815
|
+
};
|
|
6816
|
+
}
|
|
6817
|
+
|
|
6818
|
+
|
|
6819
|
+
/**
|
|
6820
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6821
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6822
|
+
* @return {!proto.zaber.motion.protobufs.IntArrayResponse}
|
|
6823
|
+
*/
|
|
6824
|
+
proto.zaber.motion.protobufs.IntArrayResponse.deserializeBinary = function(bytes) {
|
|
6825
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6826
|
+
var msg = new proto.zaber.motion.protobufs.IntArrayResponse;
|
|
6827
|
+
return proto.zaber.motion.protobufs.IntArrayResponse.deserializeBinaryFromReader(msg, reader);
|
|
6828
|
+
};
|
|
6829
|
+
|
|
6830
|
+
|
|
6831
|
+
/**
|
|
6832
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6833
|
+
* given reader into the given message object.
|
|
6834
|
+
* @param {!proto.zaber.motion.protobufs.IntArrayResponse} msg The message object to deserialize into.
|
|
6835
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6836
|
+
* @return {!proto.zaber.motion.protobufs.IntArrayResponse}
|
|
6837
|
+
*/
|
|
6838
|
+
proto.zaber.motion.protobufs.IntArrayResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
6839
|
+
while (reader.nextField()) {
|
|
6840
|
+
if (reader.isEndGroup()) {
|
|
6841
|
+
break;
|
|
6842
|
+
}
|
|
6843
|
+
var field = reader.getFieldNumber();
|
|
6844
|
+
switch (field) {
|
|
6845
|
+
case 1:
|
|
6846
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
6847
|
+
for (var i = 0; i < values.length; i++) {
|
|
6848
|
+
msg.addValues(values[i]);
|
|
6849
|
+
}
|
|
6850
|
+
break;
|
|
6851
|
+
default:
|
|
6852
|
+
reader.skipField();
|
|
6853
|
+
break;
|
|
6854
|
+
}
|
|
6855
|
+
}
|
|
6856
|
+
return msg;
|
|
6857
|
+
};
|
|
6858
|
+
|
|
6859
|
+
|
|
6860
|
+
/**
|
|
6861
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6862
|
+
* @return {!Uint8Array}
|
|
6863
|
+
*/
|
|
6864
|
+
proto.zaber.motion.protobufs.IntArrayResponse.prototype.serializeBinary = function() {
|
|
6865
|
+
var writer = new jspb.BinaryWriter();
|
|
6866
|
+
proto.zaber.motion.protobufs.IntArrayResponse.serializeBinaryToWriter(this, writer);
|
|
6867
|
+
return writer.getResultBuffer();
|
|
6868
|
+
};
|
|
6869
|
+
|
|
6870
|
+
|
|
6871
|
+
/**
|
|
6872
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6873
|
+
* format), writing to the given BinaryWriter.
|
|
6874
|
+
* @param {!proto.zaber.motion.protobufs.IntArrayResponse} message
|
|
6875
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6876
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6877
|
+
*/
|
|
6878
|
+
proto.zaber.motion.protobufs.IntArrayResponse.serializeBinaryToWriter = function(message, writer) {
|
|
6879
|
+
var f = undefined;
|
|
6880
|
+
f = message.getValuesList();
|
|
6881
|
+
if (f.length > 0) {
|
|
6882
|
+
writer.writePackedInt32(
|
|
6883
|
+
1,
|
|
6884
|
+
f
|
|
6885
|
+
);
|
|
6886
|
+
}
|
|
6887
|
+
};
|
|
6888
|
+
|
|
6889
|
+
|
|
6890
|
+
/**
|
|
6891
|
+
* repeated int32 values = 1;
|
|
6892
|
+
* @return {!Array<number>}
|
|
6893
|
+
*/
|
|
6894
|
+
proto.zaber.motion.protobufs.IntArrayResponse.prototype.getValuesList = function() {
|
|
6895
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
6896
|
+
};
|
|
6897
|
+
|
|
6898
|
+
|
|
6899
|
+
/**
|
|
6900
|
+
* @param {!Array<number>} value
|
|
6901
|
+
* @return {!proto.zaber.motion.protobufs.IntArrayResponse} returns this
|
|
6902
|
+
*/
|
|
6903
|
+
proto.zaber.motion.protobufs.IntArrayResponse.prototype.setValuesList = function(value) {
|
|
6904
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
6905
|
+
};
|
|
6906
|
+
|
|
6907
|
+
|
|
6908
|
+
/**
|
|
6909
|
+
* @param {number} value
|
|
6910
|
+
* @param {number=} opt_index
|
|
6911
|
+
* @return {!proto.zaber.motion.protobufs.IntArrayResponse} returns this
|
|
6912
|
+
*/
|
|
6913
|
+
proto.zaber.motion.protobufs.IntArrayResponse.prototype.addValues = function(value, opt_index) {
|
|
6914
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
6915
|
+
};
|
|
6916
|
+
|
|
6917
|
+
|
|
6918
|
+
/**
|
|
6919
|
+
* Clears the list making it empty but non-null.
|
|
6920
|
+
* @return {!proto.zaber.motion.protobufs.IntArrayResponse} returns this
|
|
6921
|
+
*/
|
|
6922
|
+
proto.zaber.motion.protobufs.IntArrayResponse.prototype.clearValuesList = function() {
|
|
6923
|
+
return this.setValuesList([]);
|
|
6924
|
+
};
|
|
6925
|
+
|
|
6926
|
+
|
|
6927
|
+
|
|
6660
6928
|
|
|
6661
6929
|
|
|
6662
6930
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -20610,7 +20878,7 @@ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsRequest.toObject = functi
|
|
|
20610
20878
|
var f, obj = {
|
|
20611
20879
|
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
20612
20880
|
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
20613
|
-
valuesList: (f = jspb.Message.
|
|
20881
|
+
valuesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
20614
20882
|
};
|
|
20615
20883
|
|
|
20616
20884
|
if (includeInstance) {
|
|
@@ -20656,7 +20924,7 @@ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsRequest.deserializeBinary
|
|
|
20656
20924
|
msg.setDevice(value);
|
|
20657
20925
|
break;
|
|
20658
20926
|
case 3:
|
|
20659
|
-
var values = /** @type {!Array<
|
|
20927
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
20660
20928
|
for (var i = 0; i < values.length; i++) {
|
|
20661
20929
|
msg.addValues(values[i]);
|
|
20662
20930
|
}
|
|
@@ -20706,7 +20974,7 @@ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsRequest.serializeBinaryTo
|
|
|
20706
20974
|
}
|
|
20707
20975
|
f = message.getValuesList();
|
|
20708
20976
|
if (f.length > 0) {
|
|
20709
|
-
writer.
|
|
20977
|
+
writer.writePackedInt32(
|
|
20710
20978
|
3,
|
|
20711
20979
|
f
|
|
20712
20980
|
);
|
|
@@ -20751,16 +21019,16 @@ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsRequest.prototype.setDevi
|
|
|
20751
21019
|
|
|
20752
21020
|
|
|
20753
21021
|
/**
|
|
20754
|
-
* repeated
|
|
20755
|
-
* @return {!Array<
|
|
21022
|
+
* repeated int32 values = 3;
|
|
21023
|
+
* @return {!Array<number>}
|
|
20756
21024
|
*/
|
|
20757
21025
|
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsRequest.prototype.getValuesList = function() {
|
|
20758
|
-
return /** @type {!Array<
|
|
21026
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
20759
21027
|
};
|
|
20760
21028
|
|
|
20761
21029
|
|
|
20762
21030
|
/**
|
|
20763
|
-
* @param {!Array<
|
|
21031
|
+
* @param {!Array<number>} value
|
|
20764
21032
|
* @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsRequest} returns this
|
|
20765
21033
|
*/
|
|
20766
21034
|
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsRequest.prototype.setValuesList = function(value) {
|
|
@@ -20769,7 +21037,7 @@ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsRequest.prototype.setValu
|
|
|
20769
21037
|
|
|
20770
21038
|
|
|
20771
21039
|
/**
|
|
20772
|
-
* @param {
|
|
21040
|
+
* @param {number} value
|
|
20773
21041
|
* @param {number=} opt_index
|
|
20774
21042
|
* @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsRequest} returns this
|
|
20775
21043
|
*/
|
|
@@ -20788,6 +21056,553 @@ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsRequest.prototype.clearVa
|
|
|
20788
21056
|
|
|
20789
21057
|
|
|
20790
21058
|
|
|
21059
|
+
/**
|
|
21060
|
+
* List of repeated fields within this message type.
|
|
21061
|
+
* @private {!Array<number>}
|
|
21062
|
+
* @const
|
|
21063
|
+
*/
|
|
21064
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.repeatedFields_ = [3,4];
|
|
21065
|
+
|
|
21066
|
+
|
|
21067
|
+
|
|
21068
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
21069
|
+
/**
|
|
21070
|
+
* Creates an object representation of this proto.
|
|
21071
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
21072
|
+
* Optional fields that are not set will be set to undefined.
|
|
21073
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
21074
|
+
* For the list of reserved names please see:
|
|
21075
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
21076
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
21077
|
+
* JSPB instance for transitional soy proto support:
|
|
21078
|
+
* http://goto/soy-param-migration
|
|
21079
|
+
* @return {!Object}
|
|
21080
|
+
*/
|
|
21081
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.toObject = function(opt_includeInstance) {
|
|
21082
|
+
return proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.toObject(opt_includeInstance, this);
|
|
21083
|
+
};
|
|
21084
|
+
|
|
21085
|
+
|
|
21086
|
+
/**
|
|
21087
|
+
* Static version of the {@see toObject} method.
|
|
21088
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21089
|
+
* the JSPB instance for transitional soy proto support:
|
|
21090
|
+
* http://goto/soy-param-migration
|
|
21091
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} msg The msg instance to transform.
|
|
21092
|
+
* @return {!Object}
|
|
21093
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21094
|
+
*/
|
|
21095
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.toObject = function(includeInstance, msg) {
|
|
21096
|
+
var f, obj = {
|
|
21097
|
+
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
21098
|
+
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
21099
|
+
valuesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
21100
|
+
futureValuesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
21101
|
+
delay: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
21102
|
+
unit: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
21103
|
+
};
|
|
21104
|
+
|
|
21105
|
+
if (includeInstance) {
|
|
21106
|
+
obj.$jspbMessageInstance = msg;
|
|
21107
|
+
}
|
|
21108
|
+
return obj;
|
|
21109
|
+
};
|
|
21110
|
+
}
|
|
21111
|
+
|
|
21112
|
+
|
|
21113
|
+
/**
|
|
21114
|
+
* Deserializes binary data (in protobuf wire format).
|
|
21115
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21116
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest}
|
|
21117
|
+
*/
|
|
21118
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.deserializeBinary = function(bytes) {
|
|
21119
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
21120
|
+
var msg = new proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest;
|
|
21121
|
+
return proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.deserializeBinaryFromReader(msg, reader);
|
|
21122
|
+
};
|
|
21123
|
+
|
|
21124
|
+
|
|
21125
|
+
/**
|
|
21126
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
21127
|
+
* given reader into the given message object.
|
|
21128
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} msg The message object to deserialize into.
|
|
21129
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21130
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest}
|
|
21131
|
+
*/
|
|
21132
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
21133
|
+
while (reader.nextField()) {
|
|
21134
|
+
if (reader.isEndGroup()) {
|
|
21135
|
+
break;
|
|
21136
|
+
}
|
|
21137
|
+
var field = reader.getFieldNumber();
|
|
21138
|
+
switch (field) {
|
|
21139
|
+
case 1:
|
|
21140
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
21141
|
+
msg.setInterfaceId(value);
|
|
21142
|
+
break;
|
|
21143
|
+
case 2:
|
|
21144
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
21145
|
+
msg.setDevice(value);
|
|
21146
|
+
break;
|
|
21147
|
+
case 3:
|
|
21148
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
21149
|
+
for (var i = 0; i < values.length; i++) {
|
|
21150
|
+
msg.addValues(values[i]);
|
|
21151
|
+
}
|
|
21152
|
+
break;
|
|
21153
|
+
case 4:
|
|
21154
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
21155
|
+
for (var i = 0; i < values.length; i++) {
|
|
21156
|
+
msg.addFutureValues(values[i]);
|
|
21157
|
+
}
|
|
21158
|
+
break;
|
|
21159
|
+
case 5:
|
|
21160
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
21161
|
+
msg.setDelay(value);
|
|
21162
|
+
break;
|
|
21163
|
+
case 6:
|
|
21164
|
+
var value = /** @type {string} */ (reader.readString());
|
|
21165
|
+
msg.setUnit(value);
|
|
21166
|
+
break;
|
|
21167
|
+
default:
|
|
21168
|
+
reader.skipField();
|
|
21169
|
+
break;
|
|
21170
|
+
}
|
|
21171
|
+
}
|
|
21172
|
+
return msg;
|
|
21173
|
+
};
|
|
21174
|
+
|
|
21175
|
+
|
|
21176
|
+
/**
|
|
21177
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
21178
|
+
* @return {!Uint8Array}
|
|
21179
|
+
*/
|
|
21180
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.serializeBinary = function() {
|
|
21181
|
+
var writer = new jspb.BinaryWriter();
|
|
21182
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.serializeBinaryToWriter(this, writer);
|
|
21183
|
+
return writer.getResultBuffer();
|
|
21184
|
+
};
|
|
21185
|
+
|
|
21186
|
+
|
|
21187
|
+
/**
|
|
21188
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
21189
|
+
* format), writing to the given BinaryWriter.
|
|
21190
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} message
|
|
21191
|
+
* @param {!jspb.BinaryWriter} writer
|
|
21192
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21193
|
+
*/
|
|
21194
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.serializeBinaryToWriter = function(message, writer) {
|
|
21195
|
+
var f = undefined;
|
|
21196
|
+
f = message.getInterfaceId();
|
|
21197
|
+
if (f !== 0) {
|
|
21198
|
+
writer.writeInt32(
|
|
21199
|
+
1,
|
|
21200
|
+
f
|
|
21201
|
+
);
|
|
21202
|
+
}
|
|
21203
|
+
f = message.getDevice();
|
|
21204
|
+
if (f !== 0) {
|
|
21205
|
+
writer.writeInt32(
|
|
21206
|
+
2,
|
|
21207
|
+
f
|
|
21208
|
+
);
|
|
21209
|
+
}
|
|
21210
|
+
f = message.getValuesList();
|
|
21211
|
+
if (f.length > 0) {
|
|
21212
|
+
writer.writePackedInt32(
|
|
21213
|
+
3,
|
|
21214
|
+
f
|
|
21215
|
+
);
|
|
21216
|
+
}
|
|
21217
|
+
f = message.getFutureValuesList();
|
|
21218
|
+
if (f.length > 0) {
|
|
21219
|
+
writer.writePackedInt32(
|
|
21220
|
+
4,
|
|
21221
|
+
f
|
|
21222
|
+
);
|
|
21223
|
+
}
|
|
21224
|
+
f = message.getDelay();
|
|
21225
|
+
if (f !== 0.0) {
|
|
21226
|
+
writer.writeDouble(
|
|
21227
|
+
5,
|
|
21228
|
+
f
|
|
21229
|
+
);
|
|
21230
|
+
}
|
|
21231
|
+
f = message.getUnit();
|
|
21232
|
+
if (f.length > 0) {
|
|
21233
|
+
writer.writeString(
|
|
21234
|
+
6,
|
|
21235
|
+
f
|
|
21236
|
+
);
|
|
21237
|
+
}
|
|
21238
|
+
};
|
|
21239
|
+
|
|
21240
|
+
|
|
21241
|
+
/**
|
|
21242
|
+
* optional int32 interface_id = 1;
|
|
21243
|
+
* @return {number}
|
|
21244
|
+
*/
|
|
21245
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.getInterfaceId = function() {
|
|
21246
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
21247
|
+
};
|
|
21248
|
+
|
|
21249
|
+
|
|
21250
|
+
/**
|
|
21251
|
+
* @param {number} value
|
|
21252
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} returns this
|
|
21253
|
+
*/
|
|
21254
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.setInterfaceId = function(value) {
|
|
21255
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
21256
|
+
};
|
|
21257
|
+
|
|
21258
|
+
|
|
21259
|
+
/**
|
|
21260
|
+
* optional int32 device = 2;
|
|
21261
|
+
* @return {number}
|
|
21262
|
+
*/
|
|
21263
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.getDevice = function() {
|
|
21264
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
21265
|
+
};
|
|
21266
|
+
|
|
21267
|
+
|
|
21268
|
+
/**
|
|
21269
|
+
* @param {number} value
|
|
21270
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} returns this
|
|
21271
|
+
*/
|
|
21272
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.setDevice = function(value) {
|
|
21273
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
21274
|
+
};
|
|
21275
|
+
|
|
21276
|
+
|
|
21277
|
+
/**
|
|
21278
|
+
* repeated int32 values = 3;
|
|
21279
|
+
* @return {!Array<number>}
|
|
21280
|
+
*/
|
|
21281
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.getValuesList = function() {
|
|
21282
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
21283
|
+
};
|
|
21284
|
+
|
|
21285
|
+
|
|
21286
|
+
/**
|
|
21287
|
+
* @param {!Array<number>} value
|
|
21288
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} returns this
|
|
21289
|
+
*/
|
|
21290
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.setValuesList = function(value) {
|
|
21291
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
21292
|
+
};
|
|
21293
|
+
|
|
21294
|
+
|
|
21295
|
+
/**
|
|
21296
|
+
* @param {number} value
|
|
21297
|
+
* @param {number=} opt_index
|
|
21298
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} returns this
|
|
21299
|
+
*/
|
|
21300
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.addValues = function(value, opt_index) {
|
|
21301
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
21302
|
+
};
|
|
21303
|
+
|
|
21304
|
+
|
|
21305
|
+
/**
|
|
21306
|
+
* Clears the list making it empty but non-null.
|
|
21307
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} returns this
|
|
21308
|
+
*/
|
|
21309
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.clearValuesList = function() {
|
|
21310
|
+
return this.setValuesList([]);
|
|
21311
|
+
};
|
|
21312
|
+
|
|
21313
|
+
|
|
21314
|
+
/**
|
|
21315
|
+
* repeated int32 future_values = 4;
|
|
21316
|
+
* @return {!Array<number>}
|
|
21317
|
+
*/
|
|
21318
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.getFutureValuesList = function() {
|
|
21319
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 4));
|
|
21320
|
+
};
|
|
21321
|
+
|
|
21322
|
+
|
|
21323
|
+
/**
|
|
21324
|
+
* @param {!Array<number>} value
|
|
21325
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} returns this
|
|
21326
|
+
*/
|
|
21327
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.setFutureValuesList = function(value) {
|
|
21328
|
+
return jspb.Message.setField(this, 4, value || []);
|
|
21329
|
+
};
|
|
21330
|
+
|
|
21331
|
+
|
|
21332
|
+
/**
|
|
21333
|
+
* @param {number} value
|
|
21334
|
+
* @param {number=} opt_index
|
|
21335
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} returns this
|
|
21336
|
+
*/
|
|
21337
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.addFutureValues = function(value, opt_index) {
|
|
21338
|
+
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
21339
|
+
};
|
|
21340
|
+
|
|
21341
|
+
|
|
21342
|
+
/**
|
|
21343
|
+
* Clears the list making it empty but non-null.
|
|
21344
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} returns this
|
|
21345
|
+
*/
|
|
21346
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.clearFutureValuesList = function() {
|
|
21347
|
+
return this.setFutureValuesList([]);
|
|
21348
|
+
};
|
|
21349
|
+
|
|
21350
|
+
|
|
21351
|
+
/**
|
|
21352
|
+
* optional double delay = 5;
|
|
21353
|
+
* @return {number}
|
|
21354
|
+
*/
|
|
21355
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.getDelay = function() {
|
|
21356
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
|
21357
|
+
};
|
|
21358
|
+
|
|
21359
|
+
|
|
21360
|
+
/**
|
|
21361
|
+
* @param {number} value
|
|
21362
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} returns this
|
|
21363
|
+
*/
|
|
21364
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.setDelay = function(value) {
|
|
21365
|
+
return jspb.Message.setProto3FloatField(this, 5, value);
|
|
21366
|
+
};
|
|
21367
|
+
|
|
21368
|
+
|
|
21369
|
+
/**
|
|
21370
|
+
* optional string unit = 6;
|
|
21371
|
+
* @return {string}
|
|
21372
|
+
*/
|
|
21373
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.getUnit = function() {
|
|
21374
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
21375
|
+
};
|
|
21376
|
+
|
|
21377
|
+
|
|
21378
|
+
/**
|
|
21379
|
+
* @param {string} value
|
|
21380
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} returns this
|
|
21381
|
+
*/
|
|
21382
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.setUnit = function(value) {
|
|
21383
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
21384
|
+
};
|
|
21385
|
+
|
|
21386
|
+
|
|
21387
|
+
|
|
21388
|
+
/**
|
|
21389
|
+
* List of repeated fields within this message type.
|
|
21390
|
+
* @private {!Array<number>}
|
|
21391
|
+
* @const
|
|
21392
|
+
*/
|
|
21393
|
+
proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.repeatedFields_ = [3];
|
|
21394
|
+
|
|
21395
|
+
|
|
21396
|
+
|
|
21397
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
21398
|
+
/**
|
|
21399
|
+
* Creates an object representation of this proto.
|
|
21400
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
21401
|
+
* Optional fields that are not set will be set to undefined.
|
|
21402
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
21403
|
+
* For the list of reserved names please see:
|
|
21404
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
21405
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
21406
|
+
* JSPB instance for transitional soy proto support:
|
|
21407
|
+
* http://goto/soy-param-migration
|
|
21408
|
+
* @return {!Object}
|
|
21409
|
+
*/
|
|
21410
|
+
proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.prototype.toObject = function(opt_includeInstance) {
|
|
21411
|
+
return proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.toObject(opt_includeInstance, this);
|
|
21412
|
+
};
|
|
21413
|
+
|
|
21414
|
+
|
|
21415
|
+
/**
|
|
21416
|
+
* Static version of the {@see toObject} method.
|
|
21417
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21418
|
+
* the JSPB instance for transitional soy proto support:
|
|
21419
|
+
* http://goto/soy-param-migration
|
|
21420
|
+
* @param {!proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest} msg The msg instance to transform.
|
|
21421
|
+
* @return {!Object}
|
|
21422
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21423
|
+
*/
|
|
21424
|
+
proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.toObject = function(includeInstance, msg) {
|
|
21425
|
+
var f, obj = {
|
|
21426
|
+
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
21427
|
+
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
21428
|
+
channelsList: (f = jspb.Message.getRepeatedBooleanField(msg, 3)) == null ? undefined : f
|
|
21429
|
+
};
|
|
21430
|
+
|
|
21431
|
+
if (includeInstance) {
|
|
21432
|
+
obj.$jspbMessageInstance = msg;
|
|
21433
|
+
}
|
|
21434
|
+
return obj;
|
|
21435
|
+
};
|
|
21436
|
+
}
|
|
21437
|
+
|
|
21438
|
+
|
|
21439
|
+
/**
|
|
21440
|
+
* Deserializes binary data (in protobuf wire format).
|
|
21441
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21442
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest}
|
|
21443
|
+
*/
|
|
21444
|
+
proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.deserializeBinary = function(bytes) {
|
|
21445
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
21446
|
+
var msg = new proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest;
|
|
21447
|
+
return proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.deserializeBinaryFromReader(msg, reader);
|
|
21448
|
+
};
|
|
21449
|
+
|
|
21450
|
+
|
|
21451
|
+
/**
|
|
21452
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
21453
|
+
* given reader into the given message object.
|
|
21454
|
+
* @param {!proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest} msg The message object to deserialize into.
|
|
21455
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21456
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest}
|
|
21457
|
+
*/
|
|
21458
|
+
proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
21459
|
+
while (reader.nextField()) {
|
|
21460
|
+
if (reader.isEndGroup()) {
|
|
21461
|
+
break;
|
|
21462
|
+
}
|
|
21463
|
+
var field = reader.getFieldNumber();
|
|
21464
|
+
switch (field) {
|
|
21465
|
+
case 1:
|
|
21466
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
21467
|
+
msg.setInterfaceId(value);
|
|
21468
|
+
break;
|
|
21469
|
+
case 2:
|
|
21470
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
21471
|
+
msg.setDevice(value);
|
|
21472
|
+
break;
|
|
21473
|
+
case 3:
|
|
21474
|
+
var values = /** @type {!Array<boolean>} */ (reader.isDelimited() ? reader.readPackedBool() : [reader.readBool()]);
|
|
21475
|
+
for (var i = 0; i < values.length; i++) {
|
|
21476
|
+
msg.addChannels(values[i]);
|
|
21477
|
+
}
|
|
21478
|
+
break;
|
|
21479
|
+
default:
|
|
21480
|
+
reader.skipField();
|
|
21481
|
+
break;
|
|
21482
|
+
}
|
|
21483
|
+
}
|
|
21484
|
+
return msg;
|
|
21485
|
+
};
|
|
21486
|
+
|
|
21487
|
+
|
|
21488
|
+
/**
|
|
21489
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
21490
|
+
* @return {!Uint8Array}
|
|
21491
|
+
*/
|
|
21492
|
+
proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.prototype.serializeBinary = function() {
|
|
21493
|
+
var writer = new jspb.BinaryWriter();
|
|
21494
|
+
proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.serializeBinaryToWriter(this, writer);
|
|
21495
|
+
return writer.getResultBuffer();
|
|
21496
|
+
};
|
|
21497
|
+
|
|
21498
|
+
|
|
21499
|
+
/**
|
|
21500
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
21501
|
+
* format), writing to the given BinaryWriter.
|
|
21502
|
+
* @param {!proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest} message
|
|
21503
|
+
* @param {!jspb.BinaryWriter} writer
|
|
21504
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21505
|
+
*/
|
|
21506
|
+
proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.serializeBinaryToWriter = function(message, writer) {
|
|
21507
|
+
var f = undefined;
|
|
21508
|
+
f = message.getInterfaceId();
|
|
21509
|
+
if (f !== 0) {
|
|
21510
|
+
writer.writeInt32(
|
|
21511
|
+
1,
|
|
21512
|
+
f
|
|
21513
|
+
);
|
|
21514
|
+
}
|
|
21515
|
+
f = message.getDevice();
|
|
21516
|
+
if (f !== 0) {
|
|
21517
|
+
writer.writeInt32(
|
|
21518
|
+
2,
|
|
21519
|
+
f
|
|
21520
|
+
);
|
|
21521
|
+
}
|
|
21522
|
+
f = message.getChannelsList();
|
|
21523
|
+
if (f.length > 0) {
|
|
21524
|
+
writer.writePackedBool(
|
|
21525
|
+
3,
|
|
21526
|
+
f
|
|
21527
|
+
);
|
|
21528
|
+
}
|
|
21529
|
+
};
|
|
21530
|
+
|
|
21531
|
+
|
|
21532
|
+
/**
|
|
21533
|
+
* optional int32 interface_id = 1;
|
|
21534
|
+
* @return {number}
|
|
21535
|
+
*/
|
|
21536
|
+
proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.prototype.getInterfaceId = function() {
|
|
21537
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
21538
|
+
};
|
|
21539
|
+
|
|
21540
|
+
|
|
21541
|
+
/**
|
|
21542
|
+
* @param {number} value
|
|
21543
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest} returns this
|
|
21544
|
+
*/
|
|
21545
|
+
proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.prototype.setInterfaceId = function(value) {
|
|
21546
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
21547
|
+
};
|
|
21548
|
+
|
|
21549
|
+
|
|
21550
|
+
/**
|
|
21551
|
+
* optional int32 device = 2;
|
|
21552
|
+
* @return {number}
|
|
21553
|
+
*/
|
|
21554
|
+
proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.prototype.getDevice = function() {
|
|
21555
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
21556
|
+
};
|
|
21557
|
+
|
|
21558
|
+
|
|
21559
|
+
/**
|
|
21560
|
+
* @param {number} value
|
|
21561
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest} returns this
|
|
21562
|
+
*/
|
|
21563
|
+
proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.prototype.setDevice = function(value) {
|
|
21564
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
21565
|
+
};
|
|
21566
|
+
|
|
21567
|
+
|
|
21568
|
+
/**
|
|
21569
|
+
* repeated bool channels = 3;
|
|
21570
|
+
* @return {!Array<boolean>}
|
|
21571
|
+
*/
|
|
21572
|
+
proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.prototype.getChannelsList = function() {
|
|
21573
|
+
return /** @type {!Array<boolean>} */ (jspb.Message.getRepeatedBooleanField(this, 3));
|
|
21574
|
+
};
|
|
21575
|
+
|
|
21576
|
+
|
|
21577
|
+
/**
|
|
21578
|
+
* @param {!Array<boolean>} value
|
|
21579
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest} returns this
|
|
21580
|
+
*/
|
|
21581
|
+
proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.prototype.setChannelsList = function(value) {
|
|
21582
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
21583
|
+
};
|
|
21584
|
+
|
|
21585
|
+
|
|
21586
|
+
/**
|
|
21587
|
+
* @param {boolean} value
|
|
21588
|
+
* @param {number=} opt_index
|
|
21589
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest} returns this
|
|
21590
|
+
*/
|
|
21591
|
+
proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.prototype.addChannels = function(value, opt_index) {
|
|
21592
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
21593
|
+
};
|
|
21594
|
+
|
|
21595
|
+
|
|
21596
|
+
/**
|
|
21597
|
+
* Clears the list making it empty but non-null.
|
|
21598
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest} returns this
|
|
21599
|
+
*/
|
|
21600
|
+
proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.prototype.clearChannelsList = function() {
|
|
21601
|
+
return this.setChannelsList([]);
|
|
21602
|
+
};
|
|
21603
|
+
|
|
21604
|
+
|
|
21605
|
+
|
|
20791
21606
|
/**
|
|
20792
21607
|
* List of repeated fields within this message type.
|
|
20793
21608
|
* @private {!Array<number>}
|
|
@@ -21040,7 +21855,7 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.toObject = function(i
|
|
|
21040
21855
|
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
21041
21856
|
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
21042
21857
|
channelNumber: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
21043
|
-
value: jspb.Message.
|
|
21858
|
+
value: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
21044
21859
|
};
|
|
21045
21860
|
|
|
21046
21861
|
if (includeInstance) {
|
|
@@ -21090,7 +21905,7 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.deserializeBinaryFrom
|
|
|
21090
21905
|
msg.setChannelNumber(value);
|
|
21091
21906
|
break;
|
|
21092
21907
|
case 4:
|
|
21093
|
-
var value = /** @type {
|
|
21908
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
21094
21909
|
msg.setValue(value);
|
|
21095
21910
|
break;
|
|
21096
21911
|
default:
|
|
@@ -21144,8 +21959,8 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.serializeBinaryToWrit
|
|
|
21144
21959
|
);
|
|
21145
21960
|
}
|
|
21146
21961
|
f = message.getValue();
|
|
21147
|
-
if (f) {
|
|
21148
|
-
writer.
|
|
21962
|
+
if (f !== 0) {
|
|
21963
|
+
writer.writeInt32(
|
|
21149
21964
|
4,
|
|
21150
21965
|
f
|
|
21151
21966
|
);
|
|
@@ -21208,20 +22023,520 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.setChannelN
|
|
|
21208
22023
|
|
|
21209
22024
|
|
|
21210
22025
|
/**
|
|
21211
|
-
* optional
|
|
21212
|
-
* @return {
|
|
22026
|
+
* optional int32 value = 4;
|
|
22027
|
+
* @return {number}
|
|
21213
22028
|
*/
|
|
21214
22029
|
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.getValue = function() {
|
|
21215
|
-
return /** @type {
|
|
22030
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
21216
22031
|
};
|
|
21217
22032
|
|
|
21218
22033
|
|
|
21219
22034
|
/**
|
|
21220
|
-
* @param {
|
|
22035
|
+
* @param {number} value
|
|
21221
22036
|
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest} returns this
|
|
21222
22037
|
*/
|
|
21223
22038
|
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.setValue = function(value) {
|
|
21224
|
-
return jspb.Message.
|
|
22039
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
22040
|
+
};
|
|
22041
|
+
|
|
22042
|
+
|
|
22043
|
+
|
|
22044
|
+
|
|
22045
|
+
|
|
22046
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
22047
|
+
/**
|
|
22048
|
+
* Creates an object representation of this proto.
|
|
22049
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
22050
|
+
* Optional fields that are not set will be set to undefined.
|
|
22051
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
22052
|
+
* For the list of reserved names please see:
|
|
22053
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
22054
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
22055
|
+
* JSPB instance for transitional soy proto support:
|
|
22056
|
+
* http://goto/soy-param-migration
|
|
22057
|
+
* @return {!Object}
|
|
22058
|
+
*/
|
|
22059
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.toObject = function(opt_includeInstance) {
|
|
22060
|
+
return proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.toObject(opt_includeInstance, this);
|
|
22061
|
+
};
|
|
22062
|
+
|
|
22063
|
+
|
|
22064
|
+
/**
|
|
22065
|
+
* Static version of the {@see toObject} method.
|
|
22066
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22067
|
+
* the JSPB instance for transitional soy proto support:
|
|
22068
|
+
* http://goto/soy-param-migration
|
|
22069
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} msg The msg instance to transform.
|
|
22070
|
+
* @return {!Object}
|
|
22071
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22072
|
+
*/
|
|
22073
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.toObject = function(includeInstance, msg) {
|
|
22074
|
+
var f, obj = {
|
|
22075
|
+
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
22076
|
+
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
22077
|
+
channelNumber: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
22078
|
+
value: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
22079
|
+
futureValue: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
22080
|
+
delay: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
22081
|
+
unit: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
22082
|
+
};
|
|
22083
|
+
|
|
22084
|
+
if (includeInstance) {
|
|
22085
|
+
obj.$jspbMessageInstance = msg;
|
|
22086
|
+
}
|
|
22087
|
+
return obj;
|
|
22088
|
+
};
|
|
22089
|
+
}
|
|
22090
|
+
|
|
22091
|
+
|
|
22092
|
+
/**
|
|
22093
|
+
* Deserializes binary data (in protobuf wire format).
|
|
22094
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22095
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest}
|
|
22096
|
+
*/
|
|
22097
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.deserializeBinary = function(bytes) {
|
|
22098
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
22099
|
+
var msg = new proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest;
|
|
22100
|
+
return proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.deserializeBinaryFromReader(msg, reader);
|
|
22101
|
+
};
|
|
22102
|
+
|
|
22103
|
+
|
|
22104
|
+
/**
|
|
22105
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
22106
|
+
* given reader into the given message object.
|
|
22107
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} msg The message object to deserialize into.
|
|
22108
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22109
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest}
|
|
22110
|
+
*/
|
|
22111
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
22112
|
+
while (reader.nextField()) {
|
|
22113
|
+
if (reader.isEndGroup()) {
|
|
22114
|
+
break;
|
|
22115
|
+
}
|
|
22116
|
+
var field = reader.getFieldNumber();
|
|
22117
|
+
switch (field) {
|
|
22118
|
+
case 1:
|
|
22119
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22120
|
+
msg.setInterfaceId(value);
|
|
22121
|
+
break;
|
|
22122
|
+
case 2:
|
|
22123
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22124
|
+
msg.setDevice(value);
|
|
22125
|
+
break;
|
|
22126
|
+
case 3:
|
|
22127
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22128
|
+
msg.setChannelNumber(value);
|
|
22129
|
+
break;
|
|
22130
|
+
case 4:
|
|
22131
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22132
|
+
msg.setValue(value);
|
|
22133
|
+
break;
|
|
22134
|
+
case 5:
|
|
22135
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22136
|
+
msg.setFutureValue(value);
|
|
22137
|
+
break;
|
|
22138
|
+
case 6:
|
|
22139
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
22140
|
+
msg.setDelay(value);
|
|
22141
|
+
break;
|
|
22142
|
+
case 7:
|
|
22143
|
+
var value = /** @type {string} */ (reader.readString());
|
|
22144
|
+
msg.setUnit(value);
|
|
22145
|
+
break;
|
|
22146
|
+
default:
|
|
22147
|
+
reader.skipField();
|
|
22148
|
+
break;
|
|
22149
|
+
}
|
|
22150
|
+
}
|
|
22151
|
+
return msg;
|
|
22152
|
+
};
|
|
22153
|
+
|
|
22154
|
+
|
|
22155
|
+
/**
|
|
22156
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
22157
|
+
* @return {!Uint8Array}
|
|
22158
|
+
*/
|
|
22159
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.serializeBinary = function() {
|
|
22160
|
+
var writer = new jspb.BinaryWriter();
|
|
22161
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.serializeBinaryToWriter(this, writer);
|
|
22162
|
+
return writer.getResultBuffer();
|
|
22163
|
+
};
|
|
22164
|
+
|
|
22165
|
+
|
|
22166
|
+
/**
|
|
22167
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
22168
|
+
* format), writing to the given BinaryWriter.
|
|
22169
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} message
|
|
22170
|
+
* @param {!jspb.BinaryWriter} writer
|
|
22171
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22172
|
+
*/
|
|
22173
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.serializeBinaryToWriter = function(message, writer) {
|
|
22174
|
+
var f = undefined;
|
|
22175
|
+
f = message.getInterfaceId();
|
|
22176
|
+
if (f !== 0) {
|
|
22177
|
+
writer.writeInt32(
|
|
22178
|
+
1,
|
|
22179
|
+
f
|
|
22180
|
+
);
|
|
22181
|
+
}
|
|
22182
|
+
f = message.getDevice();
|
|
22183
|
+
if (f !== 0) {
|
|
22184
|
+
writer.writeInt32(
|
|
22185
|
+
2,
|
|
22186
|
+
f
|
|
22187
|
+
);
|
|
22188
|
+
}
|
|
22189
|
+
f = message.getChannelNumber();
|
|
22190
|
+
if (f !== 0) {
|
|
22191
|
+
writer.writeInt32(
|
|
22192
|
+
3,
|
|
22193
|
+
f
|
|
22194
|
+
);
|
|
22195
|
+
}
|
|
22196
|
+
f = message.getValue();
|
|
22197
|
+
if (f !== 0) {
|
|
22198
|
+
writer.writeInt32(
|
|
22199
|
+
4,
|
|
22200
|
+
f
|
|
22201
|
+
);
|
|
22202
|
+
}
|
|
22203
|
+
f = message.getFutureValue();
|
|
22204
|
+
if (f !== 0) {
|
|
22205
|
+
writer.writeInt32(
|
|
22206
|
+
5,
|
|
22207
|
+
f
|
|
22208
|
+
);
|
|
22209
|
+
}
|
|
22210
|
+
f = message.getDelay();
|
|
22211
|
+
if (f !== 0.0) {
|
|
22212
|
+
writer.writeDouble(
|
|
22213
|
+
6,
|
|
22214
|
+
f
|
|
22215
|
+
);
|
|
22216
|
+
}
|
|
22217
|
+
f = message.getUnit();
|
|
22218
|
+
if (f.length > 0) {
|
|
22219
|
+
writer.writeString(
|
|
22220
|
+
7,
|
|
22221
|
+
f
|
|
22222
|
+
);
|
|
22223
|
+
}
|
|
22224
|
+
};
|
|
22225
|
+
|
|
22226
|
+
|
|
22227
|
+
/**
|
|
22228
|
+
* optional int32 interface_id = 1;
|
|
22229
|
+
* @return {number}
|
|
22230
|
+
*/
|
|
22231
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.getInterfaceId = function() {
|
|
22232
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
22233
|
+
};
|
|
22234
|
+
|
|
22235
|
+
|
|
22236
|
+
/**
|
|
22237
|
+
* @param {number} value
|
|
22238
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} returns this
|
|
22239
|
+
*/
|
|
22240
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.setInterfaceId = function(value) {
|
|
22241
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
22242
|
+
};
|
|
22243
|
+
|
|
22244
|
+
|
|
22245
|
+
/**
|
|
22246
|
+
* optional int32 device = 2;
|
|
22247
|
+
* @return {number}
|
|
22248
|
+
*/
|
|
22249
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.getDevice = function() {
|
|
22250
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
22251
|
+
};
|
|
22252
|
+
|
|
22253
|
+
|
|
22254
|
+
/**
|
|
22255
|
+
* @param {number} value
|
|
22256
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} returns this
|
|
22257
|
+
*/
|
|
22258
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.setDevice = function(value) {
|
|
22259
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
22260
|
+
};
|
|
22261
|
+
|
|
22262
|
+
|
|
22263
|
+
/**
|
|
22264
|
+
* optional int32 channel_number = 3;
|
|
22265
|
+
* @return {number}
|
|
22266
|
+
*/
|
|
22267
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.getChannelNumber = function() {
|
|
22268
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
22269
|
+
};
|
|
22270
|
+
|
|
22271
|
+
|
|
22272
|
+
/**
|
|
22273
|
+
* @param {number} value
|
|
22274
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} returns this
|
|
22275
|
+
*/
|
|
22276
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.setChannelNumber = function(value) {
|
|
22277
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
22278
|
+
};
|
|
22279
|
+
|
|
22280
|
+
|
|
22281
|
+
/**
|
|
22282
|
+
* optional int32 value = 4;
|
|
22283
|
+
* @return {number}
|
|
22284
|
+
*/
|
|
22285
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.getValue = function() {
|
|
22286
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
22287
|
+
};
|
|
22288
|
+
|
|
22289
|
+
|
|
22290
|
+
/**
|
|
22291
|
+
* @param {number} value
|
|
22292
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} returns this
|
|
22293
|
+
*/
|
|
22294
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.setValue = function(value) {
|
|
22295
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
22296
|
+
};
|
|
22297
|
+
|
|
22298
|
+
|
|
22299
|
+
/**
|
|
22300
|
+
* optional int32 future_value = 5;
|
|
22301
|
+
* @return {number}
|
|
22302
|
+
*/
|
|
22303
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.getFutureValue = function() {
|
|
22304
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
22305
|
+
};
|
|
22306
|
+
|
|
22307
|
+
|
|
22308
|
+
/**
|
|
22309
|
+
* @param {number} value
|
|
22310
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} returns this
|
|
22311
|
+
*/
|
|
22312
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.setFutureValue = function(value) {
|
|
22313
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
22314
|
+
};
|
|
22315
|
+
|
|
22316
|
+
|
|
22317
|
+
/**
|
|
22318
|
+
* optional double delay = 6;
|
|
22319
|
+
* @return {number}
|
|
22320
|
+
*/
|
|
22321
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.getDelay = function() {
|
|
22322
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
|
|
22323
|
+
};
|
|
22324
|
+
|
|
22325
|
+
|
|
22326
|
+
/**
|
|
22327
|
+
* @param {number} value
|
|
22328
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} returns this
|
|
22329
|
+
*/
|
|
22330
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.setDelay = function(value) {
|
|
22331
|
+
return jspb.Message.setProto3FloatField(this, 6, value);
|
|
22332
|
+
};
|
|
22333
|
+
|
|
22334
|
+
|
|
22335
|
+
/**
|
|
22336
|
+
* optional string unit = 7;
|
|
22337
|
+
* @return {string}
|
|
22338
|
+
*/
|
|
22339
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.getUnit = function() {
|
|
22340
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
22341
|
+
};
|
|
22342
|
+
|
|
22343
|
+
|
|
22344
|
+
/**
|
|
22345
|
+
* @param {string} value
|
|
22346
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} returns this
|
|
22347
|
+
*/
|
|
22348
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.setUnit = function(value) {
|
|
22349
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
22350
|
+
};
|
|
22351
|
+
|
|
22352
|
+
|
|
22353
|
+
|
|
22354
|
+
|
|
22355
|
+
|
|
22356
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
22357
|
+
/**
|
|
22358
|
+
* Creates an object representation of this proto.
|
|
22359
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
22360
|
+
* Optional fields that are not set will be set to undefined.
|
|
22361
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
22362
|
+
* For the list of reserved names please see:
|
|
22363
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
22364
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
22365
|
+
* JSPB instance for transitional soy proto support:
|
|
22366
|
+
* http://goto/soy-param-migration
|
|
22367
|
+
* @return {!Object}
|
|
22368
|
+
*/
|
|
22369
|
+
proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.prototype.toObject = function(opt_includeInstance) {
|
|
22370
|
+
return proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.toObject(opt_includeInstance, this);
|
|
22371
|
+
};
|
|
22372
|
+
|
|
22373
|
+
|
|
22374
|
+
/**
|
|
22375
|
+
* Static version of the {@see toObject} method.
|
|
22376
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22377
|
+
* the JSPB instance for transitional soy proto support:
|
|
22378
|
+
* http://goto/soy-param-migration
|
|
22379
|
+
* @param {!proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest} msg The msg instance to transform.
|
|
22380
|
+
* @return {!Object}
|
|
22381
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22382
|
+
*/
|
|
22383
|
+
proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.toObject = function(includeInstance, msg) {
|
|
22384
|
+
var f, obj = {
|
|
22385
|
+
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
22386
|
+
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
22387
|
+
channelNumber: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
22388
|
+
};
|
|
22389
|
+
|
|
22390
|
+
if (includeInstance) {
|
|
22391
|
+
obj.$jspbMessageInstance = msg;
|
|
22392
|
+
}
|
|
22393
|
+
return obj;
|
|
22394
|
+
};
|
|
22395
|
+
}
|
|
22396
|
+
|
|
22397
|
+
|
|
22398
|
+
/**
|
|
22399
|
+
* Deserializes binary data (in protobuf wire format).
|
|
22400
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22401
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest}
|
|
22402
|
+
*/
|
|
22403
|
+
proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.deserializeBinary = function(bytes) {
|
|
22404
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
22405
|
+
var msg = new proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest;
|
|
22406
|
+
return proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.deserializeBinaryFromReader(msg, reader);
|
|
22407
|
+
};
|
|
22408
|
+
|
|
22409
|
+
|
|
22410
|
+
/**
|
|
22411
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
22412
|
+
* given reader into the given message object.
|
|
22413
|
+
* @param {!proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest} msg The message object to deserialize into.
|
|
22414
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22415
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest}
|
|
22416
|
+
*/
|
|
22417
|
+
proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
22418
|
+
while (reader.nextField()) {
|
|
22419
|
+
if (reader.isEndGroup()) {
|
|
22420
|
+
break;
|
|
22421
|
+
}
|
|
22422
|
+
var field = reader.getFieldNumber();
|
|
22423
|
+
switch (field) {
|
|
22424
|
+
case 1:
|
|
22425
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22426
|
+
msg.setInterfaceId(value);
|
|
22427
|
+
break;
|
|
22428
|
+
case 2:
|
|
22429
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22430
|
+
msg.setDevice(value);
|
|
22431
|
+
break;
|
|
22432
|
+
case 3:
|
|
22433
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22434
|
+
msg.setChannelNumber(value);
|
|
22435
|
+
break;
|
|
22436
|
+
default:
|
|
22437
|
+
reader.skipField();
|
|
22438
|
+
break;
|
|
22439
|
+
}
|
|
22440
|
+
}
|
|
22441
|
+
return msg;
|
|
22442
|
+
};
|
|
22443
|
+
|
|
22444
|
+
|
|
22445
|
+
/**
|
|
22446
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
22447
|
+
* @return {!Uint8Array}
|
|
22448
|
+
*/
|
|
22449
|
+
proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.prototype.serializeBinary = function() {
|
|
22450
|
+
var writer = new jspb.BinaryWriter();
|
|
22451
|
+
proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.serializeBinaryToWriter(this, writer);
|
|
22452
|
+
return writer.getResultBuffer();
|
|
22453
|
+
};
|
|
22454
|
+
|
|
22455
|
+
|
|
22456
|
+
/**
|
|
22457
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
22458
|
+
* format), writing to the given BinaryWriter.
|
|
22459
|
+
* @param {!proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest} message
|
|
22460
|
+
* @param {!jspb.BinaryWriter} writer
|
|
22461
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22462
|
+
*/
|
|
22463
|
+
proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.serializeBinaryToWriter = function(message, writer) {
|
|
22464
|
+
var f = undefined;
|
|
22465
|
+
f = message.getInterfaceId();
|
|
22466
|
+
if (f !== 0) {
|
|
22467
|
+
writer.writeInt32(
|
|
22468
|
+
1,
|
|
22469
|
+
f
|
|
22470
|
+
);
|
|
22471
|
+
}
|
|
22472
|
+
f = message.getDevice();
|
|
22473
|
+
if (f !== 0) {
|
|
22474
|
+
writer.writeInt32(
|
|
22475
|
+
2,
|
|
22476
|
+
f
|
|
22477
|
+
);
|
|
22478
|
+
}
|
|
22479
|
+
f = message.getChannelNumber();
|
|
22480
|
+
if (f !== 0) {
|
|
22481
|
+
writer.writeInt32(
|
|
22482
|
+
3,
|
|
22483
|
+
f
|
|
22484
|
+
);
|
|
22485
|
+
}
|
|
22486
|
+
};
|
|
22487
|
+
|
|
22488
|
+
|
|
22489
|
+
/**
|
|
22490
|
+
* optional int32 interface_id = 1;
|
|
22491
|
+
* @return {number}
|
|
22492
|
+
*/
|
|
22493
|
+
proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.prototype.getInterfaceId = function() {
|
|
22494
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
22495
|
+
};
|
|
22496
|
+
|
|
22497
|
+
|
|
22498
|
+
/**
|
|
22499
|
+
* @param {number} value
|
|
22500
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest} returns this
|
|
22501
|
+
*/
|
|
22502
|
+
proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.prototype.setInterfaceId = function(value) {
|
|
22503
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
22504
|
+
};
|
|
22505
|
+
|
|
22506
|
+
|
|
22507
|
+
/**
|
|
22508
|
+
* optional int32 device = 2;
|
|
22509
|
+
* @return {number}
|
|
22510
|
+
*/
|
|
22511
|
+
proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.prototype.getDevice = function() {
|
|
22512
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
22513
|
+
};
|
|
22514
|
+
|
|
22515
|
+
|
|
22516
|
+
/**
|
|
22517
|
+
* @param {number} value
|
|
22518
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest} returns this
|
|
22519
|
+
*/
|
|
22520
|
+
proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.prototype.setDevice = function(value) {
|
|
22521
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
22522
|
+
};
|
|
22523
|
+
|
|
22524
|
+
|
|
22525
|
+
/**
|
|
22526
|
+
* optional int32 channel_number = 3;
|
|
22527
|
+
* @return {number}
|
|
22528
|
+
*/
|
|
22529
|
+
proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.prototype.getChannelNumber = function() {
|
|
22530
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
22531
|
+
};
|
|
22532
|
+
|
|
22533
|
+
|
|
22534
|
+
/**
|
|
22535
|
+
* @param {number} value
|
|
22536
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest} returns this
|
|
22537
|
+
*/
|
|
22538
|
+
proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.prototype.setChannelNumber = function(value) {
|
|
22539
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
21225
22540
|
};
|
|
21226
22541
|
|
|
21227
22542
|
|
|
@@ -32779,7 +34094,7 @@ proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.toObject = function(i
|
|
|
32779
34094
|
streamId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
32780
34095
|
pvt: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
32781
34096
|
channelNumber: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
32782
|
-
value: jspb.Message.
|
|
34097
|
+
value: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
32783
34098
|
};
|
|
32784
34099
|
|
|
32785
34100
|
if (includeInstance) {
|
|
@@ -32837,7 +34152,7 @@ proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.deserializeBinaryFrom
|
|
|
32837
34152
|
msg.setChannelNumber(value);
|
|
32838
34153
|
break;
|
|
32839
34154
|
case 6:
|
|
32840
|
-
var value = /** @type {
|
|
34155
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
32841
34156
|
msg.setValue(value);
|
|
32842
34157
|
break;
|
|
32843
34158
|
default:
|
|
@@ -32905,288 +34220,8 @@ proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.serializeBinaryToWrit
|
|
|
32905
34220
|
);
|
|
32906
34221
|
}
|
|
32907
34222
|
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(
|
|
34223
|
+
if (f !== 0) {
|
|
34224
|
+
writer.writeInt32(
|
|
33190
34225
|
6,
|
|
33191
34226
|
f
|
|
33192
34227
|
);
|
|
@@ -33198,16 +34233,16 @@ proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.serializeBinaryToWrite
|
|
|
33198
34233
|
* optional int32 interface_id = 1;
|
|
33199
34234
|
* @return {number}
|
|
33200
34235
|
*/
|
|
33201
|
-
proto.zaber.motion.protobufs.
|
|
34236
|
+
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.getInterfaceId = function() {
|
|
33202
34237
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
33203
34238
|
};
|
|
33204
34239
|
|
|
33205
34240
|
|
|
33206
34241
|
/**
|
|
33207
34242
|
* @param {number} value
|
|
33208
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
34243
|
+
* @return {!proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest} returns this
|
|
33209
34244
|
*/
|
|
33210
|
-
proto.zaber.motion.protobufs.
|
|
34245
|
+
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.setInterfaceId = function(value) {
|
|
33211
34246
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
33212
34247
|
};
|
|
33213
34248
|
|
|
@@ -33216,16 +34251,16 @@ proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.setInterface
|
|
|
33216
34251
|
* optional int32 device = 2;
|
|
33217
34252
|
* @return {number}
|
|
33218
34253
|
*/
|
|
33219
|
-
proto.zaber.motion.protobufs.
|
|
34254
|
+
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.getDevice = function() {
|
|
33220
34255
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
33221
34256
|
};
|
|
33222
34257
|
|
|
33223
34258
|
|
|
33224
34259
|
/**
|
|
33225
34260
|
* @param {number} value
|
|
33226
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
34261
|
+
* @return {!proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest} returns this
|
|
33227
34262
|
*/
|
|
33228
|
-
proto.zaber.motion.protobufs.
|
|
34263
|
+
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.setDevice = function(value) {
|
|
33229
34264
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
33230
34265
|
};
|
|
33231
34266
|
|
|
@@ -33234,16 +34269,16 @@ proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.setDevice =
|
|
|
33234
34269
|
* optional int32 stream_id = 3;
|
|
33235
34270
|
* @return {number}
|
|
33236
34271
|
*/
|
|
33237
|
-
proto.zaber.motion.protobufs.
|
|
34272
|
+
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.getStreamId = function() {
|
|
33238
34273
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
33239
34274
|
};
|
|
33240
34275
|
|
|
33241
34276
|
|
|
33242
34277
|
/**
|
|
33243
34278
|
* @param {number} value
|
|
33244
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
34279
|
+
* @return {!proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest} returns this
|
|
33245
34280
|
*/
|
|
33246
|
-
proto.zaber.motion.protobufs.
|
|
34281
|
+
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.setStreamId = function(value) {
|
|
33247
34282
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
33248
34283
|
};
|
|
33249
34284
|
|
|
@@ -33252,16 +34287,16 @@ proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.setStreamId
|
|
|
33252
34287
|
* optional bool pvt = 4;
|
|
33253
34288
|
* @return {boolean}
|
|
33254
34289
|
*/
|
|
33255
|
-
proto.zaber.motion.protobufs.
|
|
34290
|
+
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.getPvt = function() {
|
|
33256
34291
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
33257
34292
|
};
|
|
33258
34293
|
|
|
33259
34294
|
|
|
33260
34295
|
/**
|
|
33261
34296
|
* @param {boolean} value
|
|
33262
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
34297
|
+
* @return {!proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest} returns this
|
|
33263
34298
|
*/
|
|
33264
|
-
proto.zaber.motion.protobufs.
|
|
34299
|
+
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.setPvt = function(value) {
|
|
33265
34300
|
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
33266
34301
|
};
|
|
33267
34302
|
|
|
@@ -33270,35 +34305,35 @@ proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.setPvt = fun
|
|
|
33270
34305
|
* optional int32 channel_number = 5;
|
|
33271
34306
|
* @return {number}
|
|
33272
34307
|
*/
|
|
33273
|
-
proto.zaber.motion.protobufs.
|
|
34308
|
+
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.getChannelNumber = function() {
|
|
33274
34309
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
33275
34310
|
};
|
|
33276
34311
|
|
|
33277
34312
|
|
|
33278
34313
|
/**
|
|
33279
34314
|
* @param {number} value
|
|
33280
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
34315
|
+
* @return {!proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest} returns this
|
|
33281
34316
|
*/
|
|
33282
|
-
proto.zaber.motion.protobufs.
|
|
34317
|
+
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.setChannelNumber = function(value) {
|
|
33283
34318
|
return jspb.Message.setProto3IntField(this, 5, value);
|
|
33284
34319
|
};
|
|
33285
34320
|
|
|
33286
34321
|
|
|
33287
34322
|
/**
|
|
33288
|
-
* optional
|
|
34323
|
+
* optional int32 value = 6;
|
|
33289
34324
|
* @return {number}
|
|
33290
34325
|
*/
|
|
33291
|
-
proto.zaber.motion.protobufs.
|
|
33292
|
-
return /** @type {number} */ (jspb.Message.
|
|
34326
|
+
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.getValue = function() {
|
|
34327
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
33293
34328
|
};
|
|
33294
34329
|
|
|
33295
34330
|
|
|
33296
34331
|
/**
|
|
33297
34332
|
* @param {number} value
|
|
33298
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
34333
|
+
* @return {!proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest} returns this
|
|
33299
34334
|
*/
|
|
33300
|
-
proto.zaber.motion.protobufs.
|
|
33301
|
-
return jspb.Message.
|
|
34335
|
+
proto.zaber.motion.protobufs.StreamSetDigitalOutputRequest.prototype.setValue = function(value) {
|
|
34336
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
33302
34337
|
};
|
|
33303
34338
|
|
|
33304
34339
|
|
|
@@ -33318,8 +34353,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
33318
34353
|
* http://goto/soy-param-migration
|
|
33319
34354
|
* @return {!Object}
|
|
33320
34355
|
*/
|
|
33321
|
-
proto.zaber.motion.protobufs.
|
|
33322
|
-
return proto.zaber.motion.protobufs.
|
|
34356
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.toObject = function(opt_includeInstance) {
|
|
34357
|
+
return proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.toObject(opt_includeInstance, this);
|
|
33323
34358
|
};
|
|
33324
34359
|
|
|
33325
34360
|
|
|
@@ -33328,17 +34363,18 @@ proto.zaber.motion.protobufs.StreamToggleDigitalOutputRequest.prototype.toObject
|
|
|
33328
34363
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
33329
34364
|
* the JSPB instance for transitional soy proto support:
|
|
33330
34365
|
* http://goto/soy-param-migration
|
|
33331
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
34366
|
+
* @param {!proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest} msg The msg instance to transform.
|
|
33332
34367
|
* @return {!Object}
|
|
33333
34368
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
33334
34369
|
*/
|
|
33335
|
-
proto.zaber.motion.protobufs.
|
|
34370
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.toObject = function(includeInstance, msg) {
|
|
33336
34371
|
var f, obj = {
|
|
33337
34372
|
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
33338
34373
|
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
33339
34374
|
streamId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
33340
34375
|
pvt: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
33341
|
-
channelNumber: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
34376
|
+
channelNumber: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
34377
|
+
value: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0)
|
|
33342
34378
|
};
|
|
33343
34379
|
|
|
33344
34380
|
if (includeInstance) {
|
|
@@ -33352,23 +34388,23 @@ proto.zaber.motion.protobufs.StreamToggleDigitalOutputRequest.toObject = functio
|
|
|
33352
34388
|
/**
|
|
33353
34389
|
* Deserializes binary data (in protobuf wire format).
|
|
33354
34390
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
33355
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
34391
|
+
* @return {!proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest}
|
|
33356
34392
|
*/
|
|
33357
|
-
proto.zaber.motion.protobufs.
|
|
34393
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.deserializeBinary = function(bytes) {
|
|
33358
34394
|
var reader = new jspb.BinaryReader(bytes);
|
|
33359
|
-
var msg = new proto.zaber.motion.protobufs.
|
|
33360
|
-
return proto.zaber.motion.protobufs.
|
|
34395
|
+
var msg = new proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest;
|
|
34396
|
+
return proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.deserializeBinaryFromReader(msg, reader);
|
|
33361
34397
|
};
|
|
33362
34398
|
|
|
33363
34399
|
|
|
33364
34400
|
/**
|
|
33365
34401
|
* Deserializes binary data (in protobuf wire format) from the
|
|
33366
34402
|
* given reader into the given message object.
|
|
33367
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
34403
|
+
* @param {!proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest} msg The message object to deserialize into.
|
|
33368
34404
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
33369
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
34405
|
+
* @return {!proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest}
|
|
33370
34406
|
*/
|
|
33371
|
-
proto.zaber.motion.protobufs.
|
|
34407
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
33372
34408
|
while (reader.nextField()) {
|
|
33373
34409
|
if (reader.isEndGroup()) {
|
|
33374
34410
|
break;
|
|
@@ -33395,6 +34431,10 @@ proto.zaber.motion.protobufs.StreamToggleDigitalOutputRequest.deserializeBinaryF
|
|
|
33395
34431
|
var value = /** @type {number} */ (reader.readInt32());
|
|
33396
34432
|
msg.setChannelNumber(value);
|
|
33397
34433
|
break;
|
|
34434
|
+
case 6:
|
|
34435
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
34436
|
+
msg.setValue(value);
|
|
34437
|
+
break;
|
|
33398
34438
|
default:
|
|
33399
34439
|
reader.skipField();
|
|
33400
34440
|
break;
|
|
@@ -33408,9 +34448,9 @@ proto.zaber.motion.protobufs.StreamToggleDigitalOutputRequest.deserializeBinaryF
|
|
|
33408
34448
|
* Serializes the message to binary data (in protobuf wire format).
|
|
33409
34449
|
* @return {!Uint8Array}
|
|
33410
34450
|
*/
|
|
33411
|
-
proto.zaber.motion.protobufs.
|
|
34451
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.serializeBinary = function() {
|
|
33412
34452
|
var writer = new jspb.BinaryWriter();
|
|
33413
|
-
proto.zaber.motion.protobufs.
|
|
34453
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.serializeBinaryToWriter(this, writer);
|
|
33414
34454
|
return writer.getResultBuffer();
|
|
33415
34455
|
};
|
|
33416
34456
|
|
|
@@ -33418,11 +34458,11 @@ proto.zaber.motion.protobufs.StreamToggleDigitalOutputRequest.prototype.serializ
|
|
|
33418
34458
|
/**
|
|
33419
34459
|
* Serializes the given message to binary data (in protobuf wire
|
|
33420
34460
|
* format), writing to the given BinaryWriter.
|
|
33421
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
34461
|
+
* @param {!proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest} message
|
|
33422
34462
|
* @param {!jspb.BinaryWriter} writer
|
|
33423
34463
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
33424
34464
|
*/
|
|
33425
|
-
proto.zaber.motion.protobufs.
|
|
34465
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.serializeBinaryToWriter = function(message, writer) {
|
|
33426
34466
|
var f = undefined;
|
|
33427
34467
|
f = message.getInterfaceId();
|
|
33428
34468
|
if (f !== 0) {
|
|
@@ -33459,6 +34499,13 @@ proto.zaber.motion.protobufs.StreamToggleDigitalOutputRequest.serializeBinaryToW
|
|
|
33459
34499
|
f
|
|
33460
34500
|
);
|
|
33461
34501
|
}
|
|
34502
|
+
f = message.getValue();
|
|
34503
|
+
if (f !== 0.0) {
|
|
34504
|
+
writer.writeDouble(
|
|
34505
|
+
6,
|
|
34506
|
+
f
|
|
34507
|
+
);
|
|
34508
|
+
}
|
|
33462
34509
|
};
|
|
33463
34510
|
|
|
33464
34511
|
|
|
@@ -33466,16 +34513,16 @@ proto.zaber.motion.protobufs.StreamToggleDigitalOutputRequest.serializeBinaryToW
|
|
|
33466
34513
|
* optional int32 interface_id = 1;
|
|
33467
34514
|
* @return {number}
|
|
33468
34515
|
*/
|
|
33469
|
-
proto.zaber.motion.protobufs.
|
|
34516
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.getInterfaceId = function() {
|
|
33470
34517
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
33471
34518
|
};
|
|
33472
34519
|
|
|
33473
34520
|
|
|
33474
34521
|
/**
|
|
33475
34522
|
* @param {number} value
|
|
33476
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
34523
|
+
* @return {!proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest} returns this
|
|
33477
34524
|
*/
|
|
33478
|
-
proto.zaber.motion.protobufs.
|
|
34525
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.setInterfaceId = function(value) {
|
|
33479
34526
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
33480
34527
|
};
|
|
33481
34528
|
|
|
@@ -33484,16 +34531,16 @@ proto.zaber.motion.protobufs.StreamToggleDigitalOutputRequest.prototype.setInter
|
|
|
33484
34531
|
* optional int32 device = 2;
|
|
33485
34532
|
* @return {number}
|
|
33486
34533
|
*/
|
|
33487
|
-
proto.zaber.motion.protobufs.
|
|
34534
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.getDevice = function() {
|
|
33488
34535
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
33489
34536
|
};
|
|
33490
34537
|
|
|
33491
34538
|
|
|
33492
34539
|
/**
|
|
33493
34540
|
* @param {number} value
|
|
33494
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
34541
|
+
* @return {!proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest} returns this
|
|
33495
34542
|
*/
|
|
33496
|
-
proto.zaber.motion.protobufs.
|
|
34543
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.setDevice = function(value) {
|
|
33497
34544
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
33498
34545
|
};
|
|
33499
34546
|
|
|
@@ -33502,16 +34549,16 @@ proto.zaber.motion.protobufs.StreamToggleDigitalOutputRequest.prototype.setDevic
|
|
|
33502
34549
|
* optional int32 stream_id = 3;
|
|
33503
34550
|
* @return {number}
|
|
33504
34551
|
*/
|
|
33505
|
-
proto.zaber.motion.protobufs.
|
|
34552
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.getStreamId = function() {
|
|
33506
34553
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
33507
34554
|
};
|
|
33508
34555
|
|
|
33509
34556
|
|
|
33510
34557
|
/**
|
|
33511
34558
|
* @param {number} value
|
|
33512
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
34559
|
+
* @return {!proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest} returns this
|
|
33513
34560
|
*/
|
|
33514
|
-
proto.zaber.motion.protobufs.
|
|
34561
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.setStreamId = function(value) {
|
|
33515
34562
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
33516
34563
|
};
|
|
33517
34564
|
|
|
@@ -33520,16 +34567,16 @@ proto.zaber.motion.protobufs.StreamToggleDigitalOutputRequest.prototype.setStrea
|
|
|
33520
34567
|
* optional bool pvt = 4;
|
|
33521
34568
|
* @return {boolean}
|
|
33522
34569
|
*/
|
|
33523
|
-
proto.zaber.motion.protobufs.
|
|
34570
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.getPvt = function() {
|
|
33524
34571
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
33525
34572
|
};
|
|
33526
34573
|
|
|
33527
34574
|
|
|
33528
34575
|
/**
|
|
33529
34576
|
* @param {boolean} value
|
|
33530
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
34577
|
+
* @return {!proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest} returns this
|
|
33531
34578
|
*/
|
|
33532
|
-
proto.zaber.motion.protobufs.
|
|
34579
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.setPvt = function(value) {
|
|
33533
34580
|
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
33534
34581
|
};
|
|
33535
34582
|
|
|
@@ -33538,20 +34585,38 @@ proto.zaber.motion.protobufs.StreamToggleDigitalOutputRequest.prototype.setPvt =
|
|
|
33538
34585
|
* optional int32 channel_number = 5;
|
|
33539
34586
|
* @return {number}
|
|
33540
34587
|
*/
|
|
33541
|
-
proto.zaber.motion.protobufs.
|
|
34588
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.getChannelNumber = function() {
|
|
33542
34589
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
33543
34590
|
};
|
|
33544
34591
|
|
|
33545
34592
|
|
|
33546
34593
|
/**
|
|
33547
34594
|
* @param {number} value
|
|
33548
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
34595
|
+
* @return {!proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest} returns this
|
|
33549
34596
|
*/
|
|
33550
|
-
proto.zaber.motion.protobufs.
|
|
34597
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.setChannelNumber = function(value) {
|
|
33551
34598
|
return jspb.Message.setProto3IntField(this, 5, value);
|
|
33552
34599
|
};
|
|
33553
34600
|
|
|
33554
34601
|
|
|
34602
|
+
/**
|
|
34603
|
+
* optional double value = 6;
|
|
34604
|
+
* @return {number}
|
|
34605
|
+
*/
|
|
34606
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.getValue = function() {
|
|
34607
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
|
|
34608
|
+
};
|
|
34609
|
+
|
|
34610
|
+
|
|
34611
|
+
/**
|
|
34612
|
+
* @param {number} value
|
|
34613
|
+
* @return {!proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest} returns this
|
|
34614
|
+
*/
|
|
34615
|
+
proto.zaber.motion.protobufs.StreamSetAnalogOutputRequest.prototype.setValue = function(value) {
|
|
34616
|
+
return jspb.Message.setProto3FloatField(this, 6, value);
|
|
34617
|
+
};
|
|
34618
|
+
|
|
34619
|
+
|
|
33555
34620
|
|
|
33556
34621
|
/**
|
|
33557
34622
|
* List of repeated fields within this message type.
|
|
@@ -33595,7 +34660,7 @@ proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.toObject = functi
|
|
|
33595
34660
|
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
33596
34661
|
streamId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
33597
34662
|
pvt: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
33598
|
-
valuesList: (f = jspb.Message.
|
|
34663
|
+
valuesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f
|
|
33599
34664
|
};
|
|
33600
34665
|
|
|
33601
34666
|
if (includeInstance) {
|
|
@@ -33649,7 +34714,7 @@ proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.deserializeBinary
|
|
|
33649
34714
|
msg.setPvt(value);
|
|
33650
34715
|
break;
|
|
33651
34716
|
case 5:
|
|
33652
|
-
var values = /** @type {!Array<
|
|
34717
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
33653
34718
|
for (var i = 0; i < values.length; i++) {
|
|
33654
34719
|
msg.addValues(values[i]);
|
|
33655
34720
|
}
|
|
@@ -33713,7 +34778,7 @@ proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.serializeBinaryTo
|
|
|
33713
34778
|
}
|
|
33714
34779
|
f = message.getValuesList();
|
|
33715
34780
|
if (f.length > 0) {
|
|
33716
|
-
writer.
|
|
34781
|
+
writer.writePackedInt32(
|
|
33717
34782
|
5,
|
|
33718
34783
|
f
|
|
33719
34784
|
);
|
|
@@ -33794,16 +34859,16 @@ proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.prototype.setPvt
|
|
|
33794
34859
|
|
|
33795
34860
|
|
|
33796
34861
|
/**
|
|
33797
|
-
* repeated
|
|
33798
|
-
* @return {!Array<
|
|
34862
|
+
* repeated int32 values = 5;
|
|
34863
|
+
* @return {!Array<number>}
|
|
33799
34864
|
*/
|
|
33800
34865
|
proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.prototype.getValuesList = function() {
|
|
33801
|
-
return /** @type {!Array<
|
|
34866
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
33802
34867
|
};
|
|
33803
34868
|
|
|
33804
34869
|
|
|
33805
34870
|
/**
|
|
33806
|
-
* @param {!Array<
|
|
34871
|
+
* @param {!Array<number>} value
|
|
33807
34872
|
* @return {!proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest} returns this
|
|
33808
34873
|
*/
|
|
33809
34874
|
proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.prototype.setValuesList = function(value) {
|
|
@@ -33812,7 +34877,7 @@ proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.prototype.setValu
|
|
|
33812
34877
|
|
|
33813
34878
|
|
|
33814
34879
|
/**
|
|
33815
|
-
* @param {
|
|
34880
|
+
* @param {number} value
|
|
33816
34881
|
* @param {number=} opt_index
|
|
33817
34882
|
* @return {!proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest} returns this
|
|
33818
34883
|
*/
|
|
@@ -37733,6 +38798,196 @@ proto.zaber.motion.protobufs.StreamGenericCommandBatchRequest.prototype.clearBat
|
|
|
37733
38798
|
|
|
37734
38799
|
|
|
37735
38800
|
|
|
38801
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
38802
|
+
/**
|
|
38803
|
+
* Creates an object representation of this proto.
|
|
38804
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
38805
|
+
* Optional fields that are not set will be set to undefined.
|
|
38806
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
38807
|
+
* For the list of reserved names please see:
|
|
38808
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
38809
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
38810
|
+
* JSPB instance for transitional soy proto support:
|
|
38811
|
+
* http://goto/soy-param-migration
|
|
38812
|
+
* @return {!Object}
|
|
38813
|
+
*/
|
|
38814
|
+
proto.zaber.motion.protobufs.StreamBufferList.prototype.toObject = function(opt_includeInstance) {
|
|
38815
|
+
return proto.zaber.motion.protobufs.StreamBufferList.toObject(opt_includeInstance, this);
|
|
38816
|
+
};
|
|
38817
|
+
|
|
38818
|
+
|
|
38819
|
+
/**
|
|
38820
|
+
* Static version of the {@see toObject} method.
|
|
38821
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
38822
|
+
* the JSPB instance for transitional soy proto support:
|
|
38823
|
+
* http://goto/soy-param-migration
|
|
38824
|
+
* @param {!proto.zaber.motion.protobufs.StreamBufferList} msg The msg instance to transform.
|
|
38825
|
+
* @return {!Object}
|
|
38826
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
38827
|
+
*/
|
|
38828
|
+
proto.zaber.motion.protobufs.StreamBufferList.toObject = function(includeInstance, msg) {
|
|
38829
|
+
var f, obj = {
|
|
38830
|
+
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
38831
|
+
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
38832
|
+
pvt: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
38833
|
+
};
|
|
38834
|
+
|
|
38835
|
+
if (includeInstance) {
|
|
38836
|
+
obj.$jspbMessageInstance = msg;
|
|
38837
|
+
}
|
|
38838
|
+
return obj;
|
|
38839
|
+
};
|
|
38840
|
+
}
|
|
38841
|
+
|
|
38842
|
+
|
|
38843
|
+
/**
|
|
38844
|
+
* Deserializes binary data (in protobuf wire format).
|
|
38845
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
38846
|
+
* @return {!proto.zaber.motion.protobufs.StreamBufferList}
|
|
38847
|
+
*/
|
|
38848
|
+
proto.zaber.motion.protobufs.StreamBufferList.deserializeBinary = function(bytes) {
|
|
38849
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
38850
|
+
var msg = new proto.zaber.motion.protobufs.StreamBufferList;
|
|
38851
|
+
return proto.zaber.motion.protobufs.StreamBufferList.deserializeBinaryFromReader(msg, reader);
|
|
38852
|
+
};
|
|
38853
|
+
|
|
38854
|
+
|
|
38855
|
+
/**
|
|
38856
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
38857
|
+
* given reader into the given message object.
|
|
38858
|
+
* @param {!proto.zaber.motion.protobufs.StreamBufferList} msg The message object to deserialize into.
|
|
38859
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
38860
|
+
* @return {!proto.zaber.motion.protobufs.StreamBufferList}
|
|
38861
|
+
*/
|
|
38862
|
+
proto.zaber.motion.protobufs.StreamBufferList.deserializeBinaryFromReader = function(msg, reader) {
|
|
38863
|
+
while (reader.nextField()) {
|
|
38864
|
+
if (reader.isEndGroup()) {
|
|
38865
|
+
break;
|
|
38866
|
+
}
|
|
38867
|
+
var field = reader.getFieldNumber();
|
|
38868
|
+
switch (field) {
|
|
38869
|
+
case 1:
|
|
38870
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
38871
|
+
msg.setInterfaceId(value);
|
|
38872
|
+
break;
|
|
38873
|
+
case 2:
|
|
38874
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
38875
|
+
msg.setDevice(value);
|
|
38876
|
+
break;
|
|
38877
|
+
case 3:
|
|
38878
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
38879
|
+
msg.setPvt(value);
|
|
38880
|
+
break;
|
|
38881
|
+
default:
|
|
38882
|
+
reader.skipField();
|
|
38883
|
+
break;
|
|
38884
|
+
}
|
|
38885
|
+
}
|
|
38886
|
+
return msg;
|
|
38887
|
+
};
|
|
38888
|
+
|
|
38889
|
+
|
|
38890
|
+
/**
|
|
38891
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
38892
|
+
* @return {!Uint8Array}
|
|
38893
|
+
*/
|
|
38894
|
+
proto.zaber.motion.protobufs.StreamBufferList.prototype.serializeBinary = function() {
|
|
38895
|
+
var writer = new jspb.BinaryWriter();
|
|
38896
|
+
proto.zaber.motion.protobufs.StreamBufferList.serializeBinaryToWriter(this, writer);
|
|
38897
|
+
return writer.getResultBuffer();
|
|
38898
|
+
};
|
|
38899
|
+
|
|
38900
|
+
|
|
38901
|
+
/**
|
|
38902
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
38903
|
+
* format), writing to the given BinaryWriter.
|
|
38904
|
+
* @param {!proto.zaber.motion.protobufs.StreamBufferList} message
|
|
38905
|
+
* @param {!jspb.BinaryWriter} writer
|
|
38906
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
38907
|
+
*/
|
|
38908
|
+
proto.zaber.motion.protobufs.StreamBufferList.serializeBinaryToWriter = function(message, writer) {
|
|
38909
|
+
var f = undefined;
|
|
38910
|
+
f = message.getInterfaceId();
|
|
38911
|
+
if (f !== 0) {
|
|
38912
|
+
writer.writeInt32(
|
|
38913
|
+
1,
|
|
38914
|
+
f
|
|
38915
|
+
);
|
|
38916
|
+
}
|
|
38917
|
+
f = message.getDevice();
|
|
38918
|
+
if (f !== 0) {
|
|
38919
|
+
writer.writeInt32(
|
|
38920
|
+
2,
|
|
38921
|
+
f
|
|
38922
|
+
);
|
|
38923
|
+
}
|
|
38924
|
+
f = message.getPvt();
|
|
38925
|
+
if (f) {
|
|
38926
|
+
writer.writeBool(
|
|
38927
|
+
3,
|
|
38928
|
+
f
|
|
38929
|
+
);
|
|
38930
|
+
}
|
|
38931
|
+
};
|
|
38932
|
+
|
|
38933
|
+
|
|
38934
|
+
/**
|
|
38935
|
+
* optional int32 interface_id = 1;
|
|
38936
|
+
* @return {number}
|
|
38937
|
+
*/
|
|
38938
|
+
proto.zaber.motion.protobufs.StreamBufferList.prototype.getInterfaceId = function() {
|
|
38939
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
38940
|
+
};
|
|
38941
|
+
|
|
38942
|
+
|
|
38943
|
+
/**
|
|
38944
|
+
* @param {number} value
|
|
38945
|
+
* @return {!proto.zaber.motion.protobufs.StreamBufferList} returns this
|
|
38946
|
+
*/
|
|
38947
|
+
proto.zaber.motion.protobufs.StreamBufferList.prototype.setInterfaceId = function(value) {
|
|
38948
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
38949
|
+
};
|
|
38950
|
+
|
|
38951
|
+
|
|
38952
|
+
/**
|
|
38953
|
+
* optional int32 device = 2;
|
|
38954
|
+
* @return {number}
|
|
38955
|
+
*/
|
|
38956
|
+
proto.zaber.motion.protobufs.StreamBufferList.prototype.getDevice = function() {
|
|
38957
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
38958
|
+
};
|
|
38959
|
+
|
|
38960
|
+
|
|
38961
|
+
/**
|
|
38962
|
+
* @param {number} value
|
|
38963
|
+
* @return {!proto.zaber.motion.protobufs.StreamBufferList} returns this
|
|
38964
|
+
*/
|
|
38965
|
+
proto.zaber.motion.protobufs.StreamBufferList.prototype.setDevice = function(value) {
|
|
38966
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
38967
|
+
};
|
|
38968
|
+
|
|
38969
|
+
|
|
38970
|
+
/**
|
|
38971
|
+
* optional bool pvt = 3;
|
|
38972
|
+
* @return {boolean}
|
|
38973
|
+
*/
|
|
38974
|
+
proto.zaber.motion.protobufs.StreamBufferList.prototype.getPvt = function() {
|
|
38975
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
38976
|
+
};
|
|
38977
|
+
|
|
38978
|
+
|
|
38979
|
+
/**
|
|
38980
|
+
* @param {boolean} value
|
|
38981
|
+
* @return {!proto.zaber.motion.protobufs.StreamBufferList} returns this
|
|
38982
|
+
*/
|
|
38983
|
+
proto.zaber.motion.protobufs.StreamBufferList.prototype.setPvt = function(value) {
|
|
38984
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
38985
|
+
};
|
|
38986
|
+
|
|
38987
|
+
|
|
38988
|
+
|
|
38989
|
+
|
|
38990
|
+
|
|
37736
38991
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
37737
38992
|
/**
|
|
37738
38993
|
* Creates an object representation of this proto.
|
|
@@ -38376,8 +39631,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
38376
39631
|
* http://goto/soy-param-migration
|
|
38377
39632
|
* @return {!Object}
|
|
38378
39633
|
*/
|
|
38379
|
-
proto.zaber.motion.protobufs.
|
|
38380
|
-
return proto.zaber.motion.protobufs.
|
|
39634
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.prototype.toObject = function(opt_includeInstance) {
|
|
39635
|
+
return proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.toObject(opt_includeInstance, this);
|
|
38381
39636
|
};
|
|
38382
39637
|
|
|
38383
39638
|
|
|
@@ -38386,17 +39641,17 @@ proto.zaber.motion.protobufs.TriggerFireWhenDistRequest.prototype.toObject = fun
|
|
|
38386
39641
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
38387
39642
|
* the JSPB instance for transitional soy proto support:
|
|
38388
39643
|
* http://goto/soy-param-migration
|
|
38389
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
39644
|
+
* @param {!proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest} msg The msg instance to transform.
|
|
38390
39645
|
* @return {!Object}
|
|
38391
39646
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
38392
39647
|
*/
|
|
38393
|
-
proto.zaber.motion.protobufs.
|
|
39648
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.toObject = function(includeInstance, msg) {
|
|
38394
39649
|
var f, obj = {
|
|
38395
39650
|
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
38396
39651
|
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
38397
39652
|
triggerNumber: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
38398
39653
|
axis: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
38399
|
-
|
|
39654
|
+
distance: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
38400
39655
|
unit: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
38401
39656
|
};
|
|
38402
39657
|
|
|
@@ -38411,23 +39666,23 @@ proto.zaber.motion.protobufs.TriggerFireWhenDistRequest.toObject = function(incl
|
|
|
38411
39666
|
/**
|
|
38412
39667
|
* Deserializes binary data (in protobuf wire format).
|
|
38413
39668
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
38414
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
39669
|
+
* @return {!proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest}
|
|
38415
39670
|
*/
|
|
38416
|
-
proto.zaber.motion.protobufs.
|
|
39671
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.deserializeBinary = function(bytes) {
|
|
38417
39672
|
var reader = new jspb.BinaryReader(bytes);
|
|
38418
|
-
var msg = new proto.zaber.motion.protobufs.
|
|
38419
|
-
return proto.zaber.motion.protobufs.
|
|
39673
|
+
var msg = new proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest;
|
|
39674
|
+
return proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.deserializeBinaryFromReader(msg, reader);
|
|
38420
39675
|
};
|
|
38421
39676
|
|
|
38422
39677
|
|
|
38423
39678
|
/**
|
|
38424
39679
|
* Deserializes binary data (in protobuf wire format) from the
|
|
38425
39680
|
* given reader into the given message object.
|
|
38426
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
39681
|
+
* @param {!proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest} msg The message object to deserialize into.
|
|
38427
39682
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
38428
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
39683
|
+
* @return {!proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest}
|
|
38429
39684
|
*/
|
|
38430
|
-
proto.zaber.motion.protobufs.
|
|
39685
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
38431
39686
|
while (reader.nextField()) {
|
|
38432
39687
|
if (reader.isEndGroup()) {
|
|
38433
39688
|
break;
|
|
@@ -38452,7 +39707,7 @@ proto.zaber.motion.protobufs.TriggerFireWhenDistRequest.deserializeBinaryFromRea
|
|
|
38452
39707
|
break;
|
|
38453
39708
|
case 5:
|
|
38454
39709
|
var value = /** @type {number} */ (reader.readDouble());
|
|
38455
|
-
msg.
|
|
39710
|
+
msg.setDistance(value);
|
|
38456
39711
|
break;
|
|
38457
39712
|
case 6:
|
|
38458
39713
|
var value = /** @type {string} */ (reader.readString());
|
|
@@ -38471,9 +39726,9 @@ proto.zaber.motion.protobufs.TriggerFireWhenDistRequest.deserializeBinaryFromRea
|
|
|
38471
39726
|
* Serializes the message to binary data (in protobuf wire format).
|
|
38472
39727
|
* @return {!Uint8Array}
|
|
38473
39728
|
*/
|
|
38474
|
-
proto.zaber.motion.protobufs.
|
|
39729
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.prototype.serializeBinary = function() {
|
|
38475
39730
|
var writer = new jspb.BinaryWriter();
|
|
38476
|
-
proto.zaber.motion.protobufs.
|
|
39731
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.serializeBinaryToWriter(this, writer);
|
|
38477
39732
|
return writer.getResultBuffer();
|
|
38478
39733
|
};
|
|
38479
39734
|
|
|
@@ -38481,11 +39736,11 @@ proto.zaber.motion.protobufs.TriggerFireWhenDistRequest.prototype.serializeBinar
|
|
|
38481
39736
|
/**
|
|
38482
39737
|
* Serializes the given message to binary data (in protobuf wire
|
|
38483
39738
|
* format), writing to the given BinaryWriter.
|
|
38484
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
39739
|
+
* @param {!proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest} message
|
|
38485
39740
|
* @param {!jspb.BinaryWriter} writer
|
|
38486
39741
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
38487
39742
|
*/
|
|
38488
|
-
proto.zaber.motion.protobufs.
|
|
39743
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.serializeBinaryToWriter = function(message, writer) {
|
|
38489
39744
|
var f = undefined;
|
|
38490
39745
|
f = message.getInterfaceId();
|
|
38491
39746
|
if (f !== 0) {
|
|
@@ -38515,7 +39770,7 @@ proto.zaber.motion.protobufs.TriggerFireWhenDistRequest.serializeBinaryToWriter
|
|
|
38515
39770
|
f
|
|
38516
39771
|
);
|
|
38517
39772
|
}
|
|
38518
|
-
f = message.
|
|
39773
|
+
f = message.getDistance();
|
|
38519
39774
|
if (f !== 0.0) {
|
|
38520
39775
|
writer.writeDouble(
|
|
38521
39776
|
5,
|
|
@@ -38536,16 +39791,16 @@ proto.zaber.motion.protobufs.TriggerFireWhenDistRequest.serializeBinaryToWriter
|
|
|
38536
39791
|
* optional int32 interface_id = 1;
|
|
38537
39792
|
* @return {number}
|
|
38538
39793
|
*/
|
|
38539
|
-
proto.zaber.motion.protobufs.
|
|
39794
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.prototype.getInterfaceId = function() {
|
|
38540
39795
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
38541
39796
|
};
|
|
38542
39797
|
|
|
38543
39798
|
|
|
38544
39799
|
/**
|
|
38545
39800
|
* @param {number} value
|
|
38546
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
39801
|
+
* @return {!proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest} returns this
|
|
38547
39802
|
*/
|
|
38548
|
-
proto.zaber.motion.protobufs.
|
|
39803
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.prototype.setInterfaceId = function(value) {
|
|
38549
39804
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
38550
39805
|
};
|
|
38551
39806
|
|
|
@@ -38554,16 +39809,16 @@ proto.zaber.motion.protobufs.TriggerFireWhenDistRequest.prototype.setInterfaceId
|
|
|
38554
39809
|
* optional int32 device = 2;
|
|
38555
39810
|
* @return {number}
|
|
38556
39811
|
*/
|
|
38557
|
-
proto.zaber.motion.protobufs.
|
|
39812
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.prototype.getDevice = function() {
|
|
38558
39813
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
38559
39814
|
};
|
|
38560
39815
|
|
|
38561
39816
|
|
|
38562
39817
|
/**
|
|
38563
39818
|
* @param {number} value
|
|
38564
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
39819
|
+
* @return {!proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest} returns this
|
|
38565
39820
|
*/
|
|
38566
|
-
proto.zaber.motion.protobufs.
|
|
39821
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.prototype.setDevice = function(value) {
|
|
38567
39822
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
38568
39823
|
};
|
|
38569
39824
|
|
|
@@ -38572,16 +39827,16 @@ proto.zaber.motion.protobufs.TriggerFireWhenDistRequest.prototype.setDevice = fu
|
|
|
38572
39827
|
* optional int32 trigger_number = 3;
|
|
38573
39828
|
* @return {number}
|
|
38574
39829
|
*/
|
|
38575
|
-
proto.zaber.motion.protobufs.
|
|
39830
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.prototype.getTriggerNumber = function() {
|
|
38576
39831
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
38577
39832
|
};
|
|
38578
39833
|
|
|
38579
39834
|
|
|
38580
39835
|
/**
|
|
38581
39836
|
* @param {number} value
|
|
38582
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
39837
|
+
* @return {!proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest} returns this
|
|
38583
39838
|
*/
|
|
38584
|
-
proto.zaber.motion.protobufs.
|
|
39839
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.prototype.setTriggerNumber = function(value) {
|
|
38585
39840
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
38586
39841
|
};
|
|
38587
39842
|
|
|
@@ -38590,34 +39845,34 @@ proto.zaber.motion.protobufs.TriggerFireWhenDistRequest.prototype.setTriggerNumb
|
|
|
38590
39845
|
* optional int32 axis = 4;
|
|
38591
39846
|
* @return {number}
|
|
38592
39847
|
*/
|
|
38593
|
-
proto.zaber.motion.protobufs.
|
|
39848
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.prototype.getAxis = function() {
|
|
38594
39849
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
38595
39850
|
};
|
|
38596
39851
|
|
|
38597
39852
|
|
|
38598
39853
|
/**
|
|
38599
39854
|
* @param {number} value
|
|
38600
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
39855
|
+
* @return {!proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest} returns this
|
|
38601
39856
|
*/
|
|
38602
|
-
proto.zaber.motion.protobufs.
|
|
39857
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.prototype.setAxis = function(value) {
|
|
38603
39858
|
return jspb.Message.setProto3IntField(this, 4, value);
|
|
38604
39859
|
};
|
|
38605
39860
|
|
|
38606
39861
|
|
|
38607
39862
|
/**
|
|
38608
|
-
* optional double
|
|
39863
|
+
* optional double distance = 5;
|
|
38609
39864
|
* @return {number}
|
|
38610
39865
|
*/
|
|
38611
|
-
proto.zaber.motion.protobufs.
|
|
39866
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.prototype.getDistance = function() {
|
|
38612
39867
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
|
38613
39868
|
};
|
|
38614
39869
|
|
|
38615
39870
|
|
|
38616
39871
|
/**
|
|
38617
39872
|
* @param {number} value
|
|
38618
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
39873
|
+
* @return {!proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest} returns this
|
|
38619
39874
|
*/
|
|
38620
|
-
proto.zaber.motion.protobufs.
|
|
39875
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.prototype.setDistance = function(value) {
|
|
38621
39876
|
return jspb.Message.setProto3FloatField(this, 5, value);
|
|
38622
39877
|
};
|
|
38623
39878
|
|
|
@@ -38626,16 +39881,16 @@ proto.zaber.motion.protobufs.TriggerFireWhenDistRequest.prototype.setDist = func
|
|
|
38626
39881
|
* optional string unit = 6;
|
|
38627
39882
|
* @return {string}
|
|
38628
39883
|
*/
|
|
38629
|
-
proto.zaber.motion.protobufs.
|
|
39884
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.prototype.getUnit = function() {
|
|
38630
39885
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
38631
39886
|
};
|
|
38632
39887
|
|
|
38633
39888
|
|
|
38634
39889
|
/**
|
|
38635
39890
|
* @param {string} value
|
|
38636
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
39891
|
+
* @return {!proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest} returns this
|
|
38637
39892
|
*/
|
|
38638
|
-
proto.zaber.motion.protobufs.
|
|
39893
|
+
proto.zaber.motion.protobufs.TriggerFireWhenDistanceTravelledRequest.prototype.setUnit = function(value) {
|
|
38639
39894
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
38640
39895
|
};
|
|
38641
39896
|
|