@zaber/motion 5.0.1 → 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 +2 -2
- package/dist/lib/ascii/axis.js +2 -2
- package/dist/lib/ascii/axis.js.map +1 -1
- package/dist/lib/ascii/device_io.d.ts +34 -0
- package/dist/lib/ascii/device_io.js +71 -0
- package/dist/lib/ascii/device_io.js.map +1 -1
- package/dist/lib/protobufs/main_pb.d.ts +146 -0
- package/dist/lib/protobufs/main_pb.js +1218 -83
- 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);
|
|
@@ -1913,6 +1917,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1913
1917
|
*/
|
|
1914
1918
|
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsRequest.displayName = 'proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsRequest';
|
|
1915
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
|
+
}
|
|
1916
1962
|
/**
|
|
1917
1963
|
* Generated by JsPbCodeGenerator.
|
|
1918
1964
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1955,6 +2001,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1955
2001
|
*/
|
|
1956
2002
|
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.displayName = 'proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest';
|
|
1957
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
|
+
}
|
|
1958
2046
|
/**
|
|
1959
2047
|
* Generated by JsPbCodeGenerator.
|
|
1960
2048
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -20973,7 +21061,7 @@ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsRequest.prototype.clearVa
|
|
|
20973
21061
|
* @private {!Array<number>}
|
|
20974
21062
|
* @const
|
|
20975
21063
|
*/
|
|
20976
|
-
proto.zaber.motion.protobufs.
|
|
21064
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.repeatedFields_ = [3,4];
|
|
20977
21065
|
|
|
20978
21066
|
|
|
20979
21067
|
|
|
@@ -20990,8 +21078,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
20990
21078
|
* http://goto/soy-param-migration
|
|
20991
21079
|
* @return {!Object}
|
|
20992
21080
|
*/
|
|
20993
|
-
proto.zaber.motion.protobufs.
|
|
20994
|
-
return proto.zaber.motion.protobufs.
|
|
21081
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.toObject = function(opt_includeInstance) {
|
|
21082
|
+
return proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.toObject(opt_includeInstance, this);
|
|
20995
21083
|
};
|
|
20996
21084
|
|
|
20997
21085
|
|
|
@@ -21000,15 +21088,18 @@ proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest.prototype.toObject
|
|
|
21000
21088
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21001
21089
|
* the JSPB instance for transitional soy proto support:
|
|
21002
21090
|
* http://goto/soy-param-migration
|
|
21003
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
21091
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} msg The msg instance to transform.
|
|
21004
21092
|
* @return {!Object}
|
|
21005
21093
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21006
21094
|
*/
|
|
21007
|
-
proto.zaber.motion.protobufs.
|
|
21095
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.toObject = function(includeInstance, msg) {
|
|
21008
21096
|
var f, obj = {
|
|
21009
21097
|
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
21010
21098
|
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
21011
|
-
valuesList: (f = jspb.Message.
|
|
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, "")
|
|
21012
21103
|
};
|
|
21013
21104
|
|
|
21014
21105
|
if (includeInstance) {
|
|
@@ -21022,23 +21113,23 @@ proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest.toObject = functio
|
|
|
21022
21113
|
/**
|
|
21023
21114
|
* Deserializes binary data (in protobuf wire format).
|
|
21024
21115
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21025
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
21116
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest}
|
|
21026
21117
|
*/
|
|
21027
|
-
proto.zaber.motion.protobufs.
|
|
21118
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.deserializeBinary = function(bytes) {
|
|
21028
21119
|
var reader = new jspb.BinaryReader(bytes);
|
|
21029
|
-
var msg = new proto.zaber.motion.protobufs.
|
|
21030
|
-
return proto.zaber.motion.protobufs.
|
|
21120
|
+
var msg = new proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest;
|
|
21121
|
+
return proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.deserializeBinaryFromReader(msg, reader);
|
|
21031
21122
|
};
|
|
21032
21123
|
|
|
21033
21124
|
|
|
21034
21125
|
/**
|
|
21035
21126
|
* Deserializes binary data (in protobuf wire format) from the
|
|
21036
21127
|
* given reader into the given message object.
|
|
21037
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
21128
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} msg The message object to deserialize into.
|
|
21038
21129
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21039
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
21130
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest}
|
|
21040
21131
|
*/
|
|
21041
|
-
proto.zaber.motion.protobufs.
|
|
21132
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
21042
21133
|
while (reader.nextField()) {
|
|
21043
21134
|
if (reader.isEndGroup()) {
|
|
21044
21135
|
break;
|
|
@@ -21054,11 +21145,25 @@ proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest.deserializeBinaryF
|
|
|
21054
21145
|
msg.setDevice(value);
|
|
21055
21146
|
break;
|
|
21056
21147
|
case 3:
|
|
21057
|
-
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.
|
|
21148
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
21058
21149
|
for (var i = 0; i < values.length; i++) {
|
|
21059
21150
|
msg.addValues(values[i]);
|
|
21060
21151
|
}
|
|
21061
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;
|
|
21062
21167
|
default:
|
|
21063
21168
|
reader.skipField();
|
|
21064
21169
|
break;
|
|
@@ -21072,9 +21177,9 @@ proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest.deserializeBinaryF
|
|
|
21072
21177
|
* Serializes the message to binary data (in protobuf wire format).
|
|
21073
21178
|
* @return {!Uint8Array}
|
|
21074
21179
|
*/
|
|
21075
|
-
proto.zaber.motion.protobufs.
|
|
21180
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.serializeBinary = function() {
|
|
21076
21181
|
var writer = new jspb.BinaryWriter();
|
|
21077
|
-
proto.zaber.motion.protobufs.
|
|
21182
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.serializeBinaryToWriter(this, writer);
|
|
21078
21183
|
return writer.getResultBuffer();
|
|
21079
21184
|
};
|
|
21080
21185
|
|
|
@@ -21082,11 +21187,11 @@ proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest.prototype.serializ
|
|
|
21082
21187
|
/**
|
|
21083
21188
|
* Serializes the given message to binary data (in protobuf wire
|
|
21084
21189
|
* format), writing to the given BinaryWriter.
|
|
21085
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
21190
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} message
|
|
21086
21191
|
* @param {!jspb.BinaryWriter} writer
|
|
21087
21192
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21088
21193
|
*/
|
|
21089
|
-
proto.zaber.motion.protobufs.
|
|
21194
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.serializeBinaryToWriter = function(message, writer) {
|
|
21090
21195
|
var f = undefined;
|
|
21091
21196
|
f = message.getInterfaceId();
|
|
21092
21197
|
if (f !== 0) {
|
|
@@ -21104,11 +21209,32 @@ proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest.serializeBinaryToW
|
|
|
21104
21209
|
}
|
|
21105
21210
|
f = message.getValuesList();
|
|
21106
21211
|
if (f.length > 0) {
|
|
21107
|
-
writer.
|
|
21212
|
+
writer.writePackedInt32(
|
|
21108
21213
|
3,
|
|
21109
21214
|
f
|
|
21110
21215
|
);
|
|
21111
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
|
+
}
|
|
21112
21238
|
};
|
|
21113
21239
|
|
|
21114
21240
|
|
|
@@ -21116,16 +21242,16 @@ proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest.serializeBinaryToW
|
|
|
21116
21242
|
* optional int32 interface_id = 1;
|
|
21117
21243
|
* @return {number}
|
|
21118
21244
|
*/
|
|
21119
|
-
proto.zaber.motion.protobufs.
|
|
21245
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.getInterfaceId = function() {
|
|
21120
21246
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
21121
21247
|
};
|
|
21122
21248
|
|
|
21123
21249
|
|
|
21124
21250
|
/**
|
|
21125
21251
|
* @param {number} value
|
|
21126
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
21252
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} returns this
|
|
21127
21253
|
*/
|
|
21128
|
-
proto.zaber.motion.protobufs.
|
|
21254
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.setInterfaceId = function(value) {
|
|
21129
21255
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
21130
21256
|
};
|
|
21131
21257
|
|
|
@@ -21134,34 +21260,34 @@ proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest.prototype.setInter
|
|
|
21134
21260
|
* optional int32 device = 2;
|
|
21135
21261
|
* @return {number}
|
|
21136
21262
|
*/
|
|
21137
|
-
proto.zaber.motion.protobufs.
|
|
21263
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.getDevice = function() {
|
|
21138
21264
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
21139
21265
|
};
|
|
21140
21266
|
|
|
21141
21267
|
|
|
21142
21268
|
/**
|
|
21143
21269
|
* @param {number} value
|
|
21144
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
21270
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} returns this
|
|
21145
21271
|
*/
|
|
21146
|
-
proto.zaber.motion.protobufs.
|
|
21272
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.setDevice = function(value) {
|
|
21147
21273
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
21148
21274
|
};
|
|
21149
21275
|
|
|
21150
21276
|
|
|
21151
21277
|
/**
|
|
21152
|
-
* repeated
|
|
21278
|
+
* repeated int32 values = 3;
|
|
21153
21279
|
* @return {!Array<number>}
|
|
21154
21280
|
*/
|
|
21155
|
-
proto.zaber.motion.protobufs.
|
|
21156
|
-
return /** @type {!Array<number>} */ (jspb.Message.
|
|
21281
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.getValuesList = function() {
|
|
21282
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
21157
21283
|
};
|
|
21158
21284
|
|
|
21159
21285
|
|
|
21160
21286
|
/**
|
|
21161
21287
|
* @param {!Array<number>} value
|
|
21162
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
21288
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} returns this
|
|
21163
21289
|
*/
|
|
21164
|
-
proto.zaber.motion.protobufs.
|
|
21290
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.setValuesList = function(value) {
|
|
21165
21291
|
return jspb.Message.setField(this, 3, value || []);
|
|
21166
21292
|
};
|
|
21167
21293
|
|
|
@@ -21169,22 +21295,102 @@ proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest.prototype.setValue
|
|
|
21169
21295
|
/**
|
|
21170
21296
|
* @param {number} value
|
|
21171
21297
|
* @param {number=} opt_index
|
|
21172
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
21298
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} returns this
|
|
21173
21299
|
*/
|
|
21174
|
-
proto.zaber.motion.protobufs.
|
|
21300
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.addValues = function(value, opt_index) {
|
|
21175
21301
|
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
21176
21302
|
};
|
|
21177
21303
|
|
|
21178
21304
|
|
|
21179
21305
|
/**
|
|
21180
21306
|
* Clears the list making it empty but non-null.
|
|
21181
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
21307
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} returns this
|
|
21182
21308
|
*/
|
|
21183
|
-
proto.zaber.motion.protobufs.
|
|
21309
|
+
proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.clearValuesList = function() {
|
|
21184
21310
|
return this.setValuesList([]);
|
|
21185
21311
|
};
|
|
21186
21312
|
|
|
21187
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];
|
|
21188
21394
|
|
|
21189
21395
|
|
|
21190
21396
|
|
|
@@ -21201,8 +21407,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
21201
21407
|
* http://goto/soy-param-migration
|
|
21202
21408
|
* @return {!Object}
|
|
21203
21409
|
*/
|
|
21204
|
-
proto.zaber.motion.protobufs.
|
|
21205
|
-
return proto.zaber.motion.protobufs.
|
|
21410
|
+
proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.prototype.toObject = function(opt_includeInstance) {
|
|
21411
|
+
return proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.toObject(opt_includeInstance, this);
|
|
21206
21412
|
};
|
|
21207
21413
|
|
|
21208
21414
|
|
|
@@ -21211,16 +21417,15 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.toObject =
|
|
|
21211
21417
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21212
21418
|
* the JSPB instance for transitional soy proto support:
|
|
21213
21419
|
* http://goto/soy-param-migration
|
|
21214
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
21420
|
+
* @param {!proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest} msg The msg instance to transform.
|
|
21215
21421
|
* @return {!Object}
|
|
21216
21422
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21217
21423
|
*/
|
|
21218
|
-
proto.zaber.motion.protobufs.
|
|
21424
|
+
proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.toObject = function(includeInstance, msg) {
|
|
21219
21425
|
var f, obj = {
|
|
21220
21426
|
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
21221
21427
|
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
21222
|
-
|
|
21223
|
-
value: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
21428
|
+
channelsList: (f = jspb.Message.getRepeatedBooleanField(msg, 3)) == null ? undefined : f
|
|
21224
21429
|
};
|
|
21225
21430
|
|
|
21226
21431
|
if (includeInstance) {
|
|
@@ -21234,23 +21439,23 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.toObject = function(i
|
|
|
21234
21439
|
/**
|
|
21235
21440
|
* Deserializes binary data (in protobuf wire format).
|
|
21236
21441
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21237
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
21442
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest}
|
|
21238
21443
|
*/
|
|
21239
|
-
proto.zaber.motion.protobufs.
|
|
21444
|
+
proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.deserializeBinary = function(bytes) {
|
|
21240
21445
|
var reader = new jspb.BinaryReader(bytes);
|
|
21241
|
-
var msg = new proto.zaber.motion.protobufs.
|
|
21242
|
-
return proto.zaber.motion.protobufs.
|
|
21446
|
+
var msg = new proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest;
|
|
21447
|
+
return proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.deserializeBinaryFromReader(msg, reader);
|
|
21243
21448
|
};
|
|
21244
21449
|
|
|
21245
21450
|
|
|
21246
21451
|
/**
|
|
21247
21452
|
* Deserializes binary data (in protobuf wire format) from the
|
|
21248
21453
|
* given reader into the given message object.
|
|
21249
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
21454
|
+
* @param {!proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest} msg The message object to deserialize into.
|
|
21250
21455
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21251
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
21456
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest}
|
|
21252
21457
|
*/
|
|
21253
|
-
proto.zaber.motion.protobufs.
|
|
21458
|
+
proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
21254
21459
|
while (reader.nextField()) {
|
|
21255
21460
|
if (reader.isEndGroup()) {
|
|
21256
21461
|
break;
|
|
@@ -21266,12 +21471,10 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.deserializeBinaryFrom
|
|
|
21266
21471
|
msg.setDevice(value);
|
|
21267
21472
|
break;
|
|
21268
21473
|
case 3:
|
|
21269
|
-
var
|
|
21270
|
-
|
|
21271
|
-
|
|
21272
|
-
|
|
21273
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
21274
|
-
msg.setValue(value);
|
|
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
|
+
}
|
|
21275
21478
|
break;
|
|
21276
21479
|
default:
|
|
21277
21480
|
reader.skipField();
|
|
@@ -21286,9 +21489,9 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.deserializeBinaryFrom
|
|
|
21286
21489
|
* Serializes the message to binary data (in protobuf wire format).
|
|
21287
21490
|
* @return {!Uint8Array}
|
|
21288
21491
|
*/
|
|
21289
|
-
proto.zaber.motion.protobufs.
|
|
21492
|
+
proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.prototype.serializeBinary = function() {
|
|
21290
21493
|
var writer = new jspb.BinaryWriter();
|
|
21291
|
-
proto.zaber.motion.protobufs.
|
|
21494
|
+
proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.serializeBinaryToWriter(this, writer);
|
|
21292
21495
|
return writer.getResultBuffer();
|
|
21293
21496
|
};
|
|
21294
21497
|
|
|
@@ -21296,11 +21499,11 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.serializeBi
|
|
|
21296
21499
|
/**
|
|
21297
21500
|
* Serializes the given message to binary data (in protobuf wire
|
|
21298
21501
|
* format), writing to the given BinaryWriter.
|
|
21299
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
21502
|
+
* @param {!proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest} message
|
|
21300
21503
|
* @param {!jspb.BinaryWriter} writer
|
|
21301
21504
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21302
21505
|
*/
|
|
21303
|
-
proto.zaber.motion.protobufs.
|
|
21506
|
+
proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.serializeBinaryToWriter = function(message, writer) {
|
|
21304
21507
|
var f = undefined;
|
|
21305
21508
|
f = message.getInterfaceId();
|
|
21306
21509
|
if (f !== 0) {
|
|
@@ -21316,20 +21519,13 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.serializeBinaryToWrit
|
|
|
21316
21519
|
f
|
|
21317
21520
|
);
|
|
21318
21521
|
}
|
|
21319
|
-
f = message.
|
|
21320
|
-
if (f
|
|
21321
|
-
writer.
|
|
21522
|
+
f = message.getChannelsList();
|
|
21523
|
+
if (f.length > 0) {
|
|
21524
|
+
writer.writePackedBool(
|
|
21322
21525
|
3,
|
|
21323
21526
|
f
|
|
21324
21527
|
);
|
|
21325
21528
|
}
|
|
21326
|
-
f = message.getValue();
|
|
21327
|
-
if (f !== 0) {
|
|
21328
|
-
writer.writeInt32(
|
|
21329
|
-
4,
|
|
21330
|
-
f
|
|
21331
|
-
);
|
|
21332
|
-
}
|
|
21333
21529
|
};
|
|
21334
21530
|
|
|
21335
21531
|
|
|
@@ -21337,16 +21533,16 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.serializeBinaryToWrit
|
|
|
21337
21533
|
* optional int32 interface_id = 1;
|
|
21338
21534
|
* @return {number}
|
|
21339
21535
|
*/
|
|
21340
|
-
proto.zaber.motion.protobufs.
|
|
21536
|
+
proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.prototype.getInterfaceId = function() {
|
|
21341
21537
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
21342
21538
|
};
|
|
21343
21539
|
|
|
21344
21540
|
|
|
21345
21541
|
/**
|
|
21346
21542
|
* @param {number} value
|
|
21347
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
21543
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest} returns this
|
|
21348
21544
|
*/
|
|
21349
|
-
proto.zaber.motion.protobufs.
|
|
21545
|
+
proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.prototype.setInterfaceId = function(value) {
|
|
21350
21546
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
21351
21547
|
};
|
|
21352
21548
|
|
|
@@ -21355,34 +21551,729 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.setInterfac
|
|
|
21355
21551
|
* optional int32 device = 2;
|
|
21356
21552
|
* @return {number}
|
|
21357
21553
|
*/
|
|
21358
|
-
proto.zaber.motion.protobufs.
|
|
21554
|
+
proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.prototype.getDevice = function() {
|
|
21359
21555
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
21360
21556
|
};
|
|
21361
21557
|
|
|
21362
21558
|
|
|
21363
21559
|
/**
|
|
21364
21560
|
* @param {number} value
|
|
21365
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
21561
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest} returns this
|
|
21366
21562
|
*/
|
|
21367
|
-
proto.zaber.motion.protobufs.
|
|
21563
|
+
proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.prototype.setDevice = function(value) {
|
|
21368
21564
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
21369
21565
|
};
|
|
21370
21566
|
|
|
21371
21567
|
|
|
21372
21568
|
/**
|
|
21373
|
-
*
|
|
21374
|
-
* @return {
|
|
21569
|
+
* repeated bool channels = 3;
|
|
21570
|
+
* @return {!Array<boolean>}
|
|
21375
21571
|
*/
|
|
21376
|
-
proto.zaber.motion.protobufs.
|
|
21377
|
-
return /** @type {
|
|
21572
|
+
proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.prototype.getChannelsList = function() {
|
|
21573
|
+
return /** @type {!Array<boolean>} */ (jspb.Message.getRepeatedBooleanField(this, 3));
|
|
21378
21574
|
};
|
|
21379
21575
|
|
|
21380
21576
|
|
|
21381
21577
|
/**
|
|
21382
|
-
* @param {
|
|
21383
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
21578
|
+
* @param {!Array<boolean>} value
|
|
21579
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest} returns this
|
|
21384
21580
|
*/
|
|
21385
|
-
proto.zaber.motion.protobufs.
|
|
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
|
+
|
|
21606
|
+
/**
|
|
21607
|
+
* List of repeated fields within this message type.
|
|
21608
|
+
* @private {!Array<number>}
|
|
21609
|
+
* @const
|
|
21610
|
+
*/
|
|
21611
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest.repeatedFields_ = [3];
|
|
21612
|
+
|
|
21613
|
+
|
|
21614
|
+
|
|
21615
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
21616
|
+
/**
|
|
21617
|
+
* Creates an object representation of this proto.
|
|
21618
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
21619
|
+
* Optional fields that are not set will be set to undefined.
|
|
21620
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
21621
|
+
* For the list of reserved names please see:
|
|
21622
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
21623
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
21624
|
+
* JSPB instance for transitional soy proto support:
|
|
21625
|
+
* http://goto/soy-param-migration
|
|
21626
|
+
* @return {!Object}
|
|
21627
|
+
*/
|
|
21628
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
21629
|
+
return proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest.toObject(opt_includeInstance, this);
|
|
21630
|
+
};
|
|
21631
|
+
|
|
21632
|
+
|
|
21633
|
+
/**
|
|
21634
|
+
* Static version of the {@see toObject} method.
|
|
21635
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21636
|
+
* the JSPB instance for transitional soy proto support:
|
|
21637
|
+
* http://goto/soy-param-migration
|
|
21638
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest} msg The msg instance to transform.
|
|
21639
|
+
* @return {!Object}
|
|
21640
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21641
|
+
*/
|
|
21642
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest.toObject = function(includeInstance, msg) {
|
|
21643
|
+
var f, obj = {
|
|
21644
|
+
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
21645
|
+
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
21646
|
+
valuesList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 3)) == null ? undefined : f
|
|
21647
|
+
};
|
|
21648
|
+
|
|
21649
|
+
if (includeInstance) {
|
|
21650
|
+
obj.$jspbMessageInstance = msg;
|
|
21651
|
+
}
|
|
21652
|
+
return obj;
|
|
21653
|
+
};
|
|
21654
|
+
}
|
|
21655
|
+
|
|
21656
|
+
|
|
21657
|
+
/**
|
|
21658
|
+
* Deserializes binary data (in protobuf wire format).
|
|
21659
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21660
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest}
|
|
21661
|
+
*/
|
|
21662
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest.deserializeBinary = function(bytes) {
|
|
21663
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
21664
|
+
var msg = new proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest;
|
|
21665
|
+
return proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest.deserializeBinaryFromReader(msg, reader);
|
|
21666
|
+
};
|
|
21667
|
+
|
|
21668
|
+
|
|
21669
|
+
/**
|
|
21670
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
21671
|
+
* given reader into the given message object.
|
|
21672
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest} msg The message object to deserialize into.
|
|
21673
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21674
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest}
|
|
21675
|
+
*/
|
|
21676
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
21677
|
+
while (reader.nextField()) {
|
|
21678
|
+
if (reader.isEndGroup()) {
|
|
21679
|
+
break;
|
|
21680
|
+
}
|
|
21681
|
+
var field = reader.getFieldNumber();
|
|
21682
|
+
switch (field) {
|
|
21683
|
+
case 1:
|
|
21684
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
21685
|
+
msg.setInterfaceId(value);
|
|
21686
|
+
break;
|
|
21687
|
+
case 2:
|
|
21688
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
21689
|
+
msg.setDevice(value);
|
|
21690
|
+
break;
|
|
21691
|
+
case 3:
|
|
21692
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedDouble() : [reader.readDouble()]);
|
|
21693
|
+
for (var i = 0; i < values.length; i++) {
|
|
21694
|
+
msg.addValues(values[i]);
|
|
21695
|
+
}
|
|
21696
|
+
break;
|
|
21697
|
+
default:
|
|
21698
|
+
reader.skipField();
|
|
21699
|
+
break;
|
|
21700
|
+
}
|
|
21701
|
+
}
|
|
21702
|
+
return msg;
|
|
21703
|
+
};
|
|
21704
|
+
|
|
21705
|
+
|
|
21706
|
+
/**
|
|
21707
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
21708
|
+
* @return {!Uint8Array}
|
|
21709
|
+
*/
|
|
21710
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest.prototype.serializeBinary = function() {
|
|
21711
|
+
var writer = new jspb.BinaryWriter();
|
|
21712
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest.serializeBinaryToWriter(this, writer);
|
|
21713
|
+
return writer.getResultBuffer();
|
|
21714
|
+
};
|
|
21715
|
+
|
|
21716
|
+
|
|
21717
|
+
/**
|
|
21718
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
21719
|
+
* format), writing to the given BinaryWriter.
|
|
21720
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest} message
|
|
21721
|
+
* @param {!jspb.BinaryWriter} writer
|
|
21722
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21723
|
+
*/
|
|
21724
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
21725
|
+
var f = undefined;
|
|
21726
|
+
f = message.getInterfaceId();
|
|
21727
|
+
if (f !== 0) {
|
|
21728
|
+
writer.writeInt32(
|
|
21729
|
+
1,
|
|
21730
|
+
f
|
|
21731
|
+
);
|
|
21732
|
+
}
|
|
21733
|
+
f = message.getDevice();
|
|
21734
|
+
if (f !== 0) {
|
|
21735
|
+
writer.writeInt32(
|
|
21736
|
+
2,
|
|
21737
|
+
f
|
|
21738
|
+
);
|
|
21739
|
+
}
|
|
21740
|
+
f = message.getValuesList();
|
|
21741
|
+
if (f.length > 0) {
|
|
21742
|
+
writer.writePackedDouble(
|
|
21743
|
+
3,
|
|
21744
|
+
f
|
|
21745
|
+
);
|
|
21746
|
+
}
|
|
21747
|
+
};
|
|
21748
|
+
|
|
21749
|
+
|
|
21750
|
+
/**
|
|
21751
|
+
* optional int32 interface_id = 1;
|
|
21752
|
+
* @return {number}
|
|
21753
|
+
*/
|
|
21754
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest.prototype.getInterfaceId = function() {
|
|
21755
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
21756
|
+
};
|
|
21757
|
+
|
|
21758
|
+
|
|
21759
|
+
/**
|
|
21760
|
+
* @param {number} value
|
|
21761
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest} returns this
|
|
21762
|
+
*/
|
|
21763
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest.prototype.setInterfaceId = function(value) {
|
|
21764
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
21765
|
+
};
|
|
21766
|
+
|
|
21767
|
+
|
|
21768
|
+
/**
|
|
21769
|
+
* optional int32 device = 2;
|
|
21770
|
+
* @return {number}
|
|
21771
|
+
*/
|
|
21772
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest.prototype.getDevice = function() {
|
|
21773
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
21774
|
+
};
|
|
21775
|
+
|
|
21776
|
+
|
|
21777
|
+
/**
|
|
21778
|
+
* @param {number} value
|
|
21779
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest} returns this
|
|
21780
|
+
*/
|
|
21781
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest.prototype.setDevice = function(value) {
|
|
21782
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
21783
|
+
};
|
|
21784
|
+
|
|
21785
|
+
|
|
21786
|
+
/**
|
|
21787
|
+
* repeated double values = 3;
|
|
21788
|
+
* @return {!Array<number>}
|
|
21789
|
+
*/
|
|
21790
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest.prototype.getValuesList = function() {
|
|
21791
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedFloatingPointField(this, 3));
|
|
21792
|
+
};
|
|
21793
|
+
|
|
21794
|
+
|
|
21795
|
+
/**
|
|
21796
|
+
* @param {!Array<number>} value
|
|
21797
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest} returns this
|
|
21798
|
+
*/
|
|
21799
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest.prototype.setValuesList = function(value) {
|
|
21800
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
21801
|
+
};
|
|
21802
|
+
|
|
21803
|
+
|
|
21804
|
+
/**
|
|
21805
|
+
* @param {number} value
|
|
21806
|
+
* @param {number=} opt_index
|
|
21807
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest} returns this
|
|
21808
|
+
*/
|
|
21809
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest.prototype.addValues = function(value, opt_index) {
|
|
21810
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
21811
|
+
};
|
|
21812
|
+
|
|
21813
|
+
|
|
21814
|
+
/**
|
|
21815
|
+
* Clears the list making it empty but non-null.
|
|
21816
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest} returns this
|
|
21817
|
+
*/
|
|
21818
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest.prototype.clearValuesList = function() {
|
|
21819
|
+
return this.setValuesList([]);
|
|
21820
|
+
};
|
|
21821
|
+
|
|
21822
|
+
|
|
21823
|
+
|
|
21824
|
+
|
|
21825
|
+
|
|
21826
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
21827
|
+
/**
|
|
21828
|
+
* Creates an object representation of this proto.
|
|
21829
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
21830
|
+
* Optional fields that are not set will be set to undefined.
|
|
21831
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
21832
|
+
* For the list of reserved names please see:
|
|
21833
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
21834
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
21835
|
+
* JSPB instance for transitional soy proto support:
|
|
21836
|
+
* http://goto/soy-param-migration
|
|
21837
|
+
* @return {!Object}
|
|
21838
|
+
*/
|
|
21839
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.toObject = function(opt_includeInstance) {
|
|
21840
|
+
return proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.toObject(opt_includeInstance, this);
|
|
21841
|
+
};
|
|
21842
|
+
|
|
21843
|
+
|
|
21844
|
+
/**
|
|
21845
|
+
* Static version of the {@see toObject} method.
|
|
21846
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21847
|
+
* the JSPB instance for transitional soy proto support:
|
|
21848
|
+
* http://goto/soy-param-migration
|
|
21849
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest} msg The msg instance to transform.
|
|
21850
|
+
* @return {!Object}
|
|
21851
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21852
|
+
*/
|
|
21853
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.toObject = function(includeInstance, msg) {
|
|
21854
|
+
var f, obj = {
|
|
21855
|
+
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
21856
|
+
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
21857
|
+
channelNumber: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
21858
|
+
value: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
21859
|
+
};
|
|
21860
|
+
|
|
21861
|
+
if (includeInstance) {
|
|
21862
|
+
obj.$jspbMessageInstance = msg;
|
|
21863
|
+
}
|
|
21864
|
+
return obj;
|
|
21865
|
+
};
|
|
21866
|
+
}
|
|
21867
|
+
|
|
21868
|
+
|
|
21869
|
+
/**
|
|
21870
|
+
* Deserializes binary data (in protobuf wire format).
|
|
21871
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21872
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest}
|
|
21873
|
+
*/
|
|
21874
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.deserializeBinary = function(bytes) {
|
|
21875
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
21876
|
+
var msg = new proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest;
|
|
21877
|
+
return proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.deserializeBinaryFromReader(msg, reader);
|
|
21878
|
+
};
|
|
21879
|
+
|
|
21880
|
+
|
|
21881
|
+
/**
|
|
21882
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
21883
|
+
* given reader into the given message object.
|
|
21884
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest} msg The message object to deserialize into.
|
|
21885
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21886
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest}
|
|
21887
|
+
*/
|
|
21888
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
21889
|
+
while (reader.nextField()) {
|
|
21890
|
+
if (reader.isEndGroup()) {
|
|
21891
|
+
break;
|
|
21892
|
+
}
|
|
21893
|
+
var field = reader.getFieldNumber();
|
|
21894
|
+
switch (field) {
|
|
21895
|
+
case 1:
|
|
21896
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
21897
|
+
msg.setInterfaceId(value);
|
|
21898
|
+
break;
|
|
21899
|
+
case 2:
|
|
21900
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
21901
|
+
msg.setDevice(value);
|
|
21902
|
+
break;
|
|
21903
|
+
case 3:
|
|
21904
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
21905
|
+
msg.setChannelNumber(value);
|
|
21906
|
+
break;
|
|
21907
|
+
case 4:
|
|
21908
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
21909
|
+
msg.setValue(value);
|
|
21910
|
+
break;
|
|
21911
|
+
default:
|
|
21912
|
+
reader.skipField();
|
|
21913
|
+
break;
|
|
21914
|
+
}
|
|
21915
|
+
}
|
|
21916
|
+
return msg;
|
|
21917
|
+
};
|
|
21918
|
+
|
|
21919
|
+
|
|
21920
|
+
/**
|
|
21921
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
21922
|
+
* @return {!Uint8Array}
|
|
21923
|
+
*/
|
|
21924
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.serializeBinary = function() {
|
|
21925
|
+
var writer = new jspb.BinaryWriter();
|
|
21926
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.serializeBinaryToWriter(this, writer);
|
|
21927
|
+
return writer.getResultBuffer();
|
|
21928
|
+
};
|
|
21929
|
+
|
|
21930
|
+
|
|
21931
|
+
/**
|
|
21932
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
21933
|
+
* format), writing to the given BinaryWriter.
|
|
21934
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest} message
|
|
21935
|
+
* @param {!jspb.BinaryWriter} writer
|
|
21936
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21937
|
+
*/
|
|
21938
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.serializeBinaryToWriter = function(message, writer) {
|
|
21939
|
+
var f = undefined;
|
|
21940
|
+
f = message.getInterfaceId();
|
|
21941
|
+
if (f !== 0) {
|
|
21942
|
+
writer.writeInt32(
|
|
21943
|
+
1,
|
|
21944
|
+
f
|
|
21945
|
+
);
|
|
21946
|
+
}
|
|
21947
|
+
f = message.getDevice();
|
|
21948
|
+
if (f !== 0) {
|
|
21949
|
+
writer.writeInt32(
|
|
21950
|
+
2,
|
|
21951
|
+
f
|
|
21952
|
+
);
|
|
21953
|
+
}
|
|
21954
|
+
f = message.getChannelNumber();
|
|
21955
|
+
if (f !== 0) {
|
|
21956
|
+
writer.writeInt32(
|
|
21957
|
+
3,
|
|
21958
|
+
f
|
|
21959
|
+
);
|
|
21960
|
+
}
|
|
21961
|
+
f = message.getValue();
|
|
21962
|
+
if (f !== 0) {
|
|
21963
|
+
writer.writeInt32(
|
|
21964
|
+
4,
|
|
21965
|
+
f
|
|
21966
|
+
);
|
|
21967
|
+
}
|
|
21968
|
+
};
|
|
21969
|
+
|
|
21970
|
+
|
|
21971
|
+
/**
|
|
21972
|
+
* optional int32 interface_id = 1;
|
|
21973
|
+
* @return {number}
|
|
21974
|
+
*/
|
|
21975
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.getInterfaceId = function() {
|
|
21976
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
21977
|
+
};
|
|
21978
|
+
|
|
21979
|
+
|
|
21980
|
+
/**
|
|
21981
|
+
* @param {number} value
|
|
21982
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest} returns this
|
|
21983
|
+
*/
|
|
21984
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.setInterfaceId = function(value) {
|
|
21985
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
21986
|
+
};
|
|
21987
|
+
|
|
21988
|
+
|
|
21989
|
+
/**
|
|
21990
|
+
* optional int32 device = 2;
|
|
21991
|
+
* @return {number}
|
|
21992
|
+
*/
|
|
21993
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.getDevice = function() {
|
|
21994
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
21995
|
+
};
|
|
21996
|
+
|
|
21997
|
+
|
|
21998
|
+
/**
|
|
21999
|
+
* @param {number} value
|
|
22000
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest} returns this
|
|
22001
|
+
*/
|
|
22002
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.setDevice = function(value) {
|
|
22003
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
22004
|
+
};
|
|
22005
|
+
|
|
22006
|
+
|
|
22007
|
+
/**
|
|
22008
|
+
* optional int32 channel_number = 3;
|
|
22009
|
+
* @return {number}
|
|
22010
|
+
*/
|
|
22011
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.getChannelNumber = function() {
|
|
22012
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
22013
|
+
};
|
|
22014
|
+
|
|
22015
|
+
|
|
22016
|
+
/**
|
|
22017
|
+
* @param {number} value
|
|
22018
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest} returns this
|
|
22019
|
+
*/
|
|
22020
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.setChannelNumber = function(value) {
|
|
22021
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
22022
|
+
};
|
|
22023
|
+
|
|
22024
|
+
|
|
22025
|
+
/**
|
|
22026
|
+
* optional int32 value = 4;
|
|
22027
|
+
* @return {number}
|
|
22028
|
+
*/
|
|
22029
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.getValue = function() {
|
|
22030
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
22031
|
+
};
|
|
22032
|
+
|
|
22033
|
+
|
|
22034
|
+
/**
|
|
22035
|
+
* @param {number} value
|
|
22036
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest} returns this
|
|
22037
|
+
*/
|
|
22038
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.setValue = function(value) {
|
|
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) {
|
|
21386
22277
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
21387
22278
|
};
|
|
21388
22279
|
|
|
@@ -21391,20 +22282,264 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.setChannelN
|
|
|
21391
22282
|
* optional int32 value = 4;
|
|
21392
22283
|
* @return {number}
|
|
21393
22284
|
*/
|
|
21394
|
-
proto.zaber.motion.protobufs.
|
|
22285
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.getValue = function() {
|
|
21395
22286
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
21396
22287
|
};
|
|
21397
22288
|
|
|
21398
22289
|
|
|
21399
22290
|
/**
|
|
21400
22291
|
* @param {number} value
|
|
21401
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
22292
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} returns this
|
|
21402
22293
|
*/
|
|
21403
|
-
proto.zaber.motion.protobufs.
|
|
22294
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.setValue = function(value) {
|
|
21404
22295
|
return jspb.Message.setProto3IntField(this, 4, value);
|
|
21405
22296
|
};
|
|
21406
22297
|
|
|
21407
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);
|
|
22540
|
+
};
|
|
22541
|
+
|
|
22542
|
+
|
|
21408
22543
|
|
|
21409
22544
|
|
|
21410
22545
|
|