@zaber/motion 5.1.5 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/binding/wasm/zaber-motion-lib.wasm +0 -0
- package/dist/lib/ascii/axis.d.ts +4 -0
- package/dist/lib/ascii/axis.js +6 -0
- package/dist/lib/ascii/axis.js.map +1 -1
- package/dist/lib/ascii/axis_identity.d.ts +4 -0
- package/dist/lib/ascii/axis_identity.js +1 -0
- package/dist/lib/ascii/axis_identity.js.map +1 -1
- package/dist/lib/ascii/device.d.ts +1 -0
- package/dist/lib/ascii/device.js +1 -0
- package/dist/lib/ascii/device.js.map +1 -1
- package/dist/lib/ascii/device_io.d.ts +54 -0
- package/dist/lib/ascii/device_io.js +120 -4
- package/dist/lib/ascii/device_io.js.map +1 -1
- package/dist/lib/ascii/index.d.ts +1 -0
- package/dist/lib/ascii/index.js +4 -2
- package/dist/lib/ascii/index.js.map +1 -1
- package/dist/lib/ascii/io_port_label.d.ts +21 -0
- package/dist/lib/ascii/io_port_label.js +19 -0
- package/dist/lib/ascii/io_port_label.js.map +1 -0
- package/dist/lib/ascii_ns.d.ts +2 -0
- package/dist/lib/ascii_ns.js +1 -0
- package/dist/lib/ascii_ns.js.map +1 -1
- package/dist/lib/protobufs/main_pb.d.ts +232 -14
- package/dist/lib/protobufs/main_pb.js +1928 -247
- package/dist/lib/protobufs/main_pb.js.map +1 -1
- package/package.json +1 -3
|
@@ -53,8 +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.
|
|
57
|
-
goog.exportSymbol('zaber.motion.protobufs.
|
|
56
|
+
goog.exportSymbol('zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest', null, proto);
|
|
57
|
+
goog.exportSymbol('zaber.motion.protobufs.DeviceCancelOutputScheduleRequest', null, proto);
|
|
58
58
|
goog.exportSymbol('zaber.motion.protobufs.DeviceConvertSettingRequest', null, proto);
|
|
59
59
|
goog.exportSymbol('zaber.motion.protobufs.DeviceDbFailedExceptionData', null, proto);
|
|
60
60
|
goog.exportSymbol('zaber.motion.protobufs.DeviceDetectRequest', null, proto);
|
|
@@ -82,9 +82,11 @@ goog.exportSymbol('zaber.motion.protobufs.DeviceOnAllRequest', null, proto);
|
|
|
82
82
|
goog.exportSymbol('zaber.motion.protobufs.DeviceOnAllResponse', null, proto);
|
|
83
83
|
goog.exportSymbol('zaber.motion.protobufs.DeviceRenumberRequest', null, proto);
|
|
84
84
|
goog.exportSymbol('zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest', null, proto);
|
|
85
|
+
goog.exportSymbol('zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest', null, proto);
|
|
85
86
|
goog.exportSymbol('zaber.motion.protobufs.DeviceSetAllDigitalOutputsRequest', null, proto);
|
|
86
87
|
goog.exportSymbol('zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest', null, proto);
|
|
87
88
|
goog.exportSymbol('zaber.motion.protobufs.DeviceSetAnalogOutputRequest', null, proto);
|
|
89
|
+
goog.exportSymbol('zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest', null, proto);
|
|
88
90
|
goog.exportSymbol('zaber.motion.protobufs.DeviceSetDigitalOutputRequest', null, proto);
|
|
89
91
|
goog.exportSymbol('zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest', null, proto);
|
|
90
92
|
goog.exportSymbol('zaber.motion.protobufs.DeviceSetSettingRequest', null, proto);
|
|
@@ -112,6 +114,8 @@ goog.exportSymbol('zaber.motion.protobufs.GenericBinaryRequest', null, proto);
|
|
|
112
114
|
goog.exportSymbol('zaber.motion.protobufs.GenericCommandRequest', null, proto);
|
|
113
115
|
goog.exportSymbol('zaber.motion.protobufs.GenericCommandResponse', null, proto);
|
|
114
116
|
goog.exportSymbol('zaber.motion.protobufs.GenericCommandResponseCollection', null, proto);
|
|
117
|
+
goog.exportSymbol('zaber.motion.protobufs.GetAllIoPortLabelsResponse', null, proto);
|
|
118
|
+
goog.exportSymbol('zaber.motion.protobufs.GetIoPortLabel', null, proto);
|
|
115
119
|
goog.exportSymbol('zaber.motion.protobufs.GetSetting', null, proto);
|
|
116
120
|
goog.exportSymbol('zaber.motion.protobufs.GetSettingResult', null, proto);
|
|
117
121
|
goog.exportSymbol('zaber.motion.protobufs.GetSettingResults', null, proto);
|
|
@@ -124,6 +128,7 @@ goog.exportSymbol('zaber.motion.protobufs.InterfaceType', null, proto);
|
|
|
124
128
|
goog.exportSymbol('zaber.motion.protobufs.InvalidPacketExceptionData', null, proto);
|
|
125
129
|
goog.exportSymbol('zaber.motion.protobufs.InvalidPvtPoint', null, proto);
|
|
126
130
|
goog.exportSymbol('zaber.motion.protobufs.InvalidResponseExceptionData', null, proto);
|
|
131
|
+
goog.exportSymbol('zaber.motion.protobufs.IoPortLabel', null, proto);
|
|
127
132
|
goog.exportSymbol('zaber.motion.protobufs.LoadParamset', null, proto);
|
|
128
133
|
goog.exportSymbol('zaber.motion.protobufs.LockstepAxes', null, proto);
|
|
129
134
|
goog.exportSymbol('zaber.motion.protobufs.LockstepDisableRequest', null, proto);
|
|
@@ -183,6 +188,7 @@ goog.exportSymbol('zaber.motion.protobufs.SetDeviceStateExceptionData', null, pr
|
|
|
183
188
|
goog.exportSymbol('zaber.motion.protobufs.SetInterfaceChecksumEnabledRequest', null, proto);
|
|
184
189
|
goog.exportSymbol('zaber.motion.protobufs.SetInterfaceTimeoutRequest', null, proto);
|
|
185
190
|
goog.exportSymbol('zaber.motion.protobufs.SetInternalModeRequest', null, proto);
|
|
191
|
+
goog.exportSymbol('zaber.motion.protobufs.SetIoPortLabel', null, proto);
|
|
186
192
|
goog.exportSymbol('zaber.motion.protobufs.SetLogOutputRequest', null, proto);
|
|
187
193
|
goog.exportSymbol('zaber.motion.protobufs.SetPeripheralStateExceptionData', null, proto);
|
|
188
194
|
goog.exportSymbol('zaber.motion.protobufs.SetProcessControllerSource', null, proto);
|
|
@@ -1950,16 +1956,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1950
1956
|
* @extends {jspb.Message}
|
|
1951
1957
|
* @constructor
|
|
1952
1958
|
*/
|
|
1953
|
-
proto.zaber.motion.protobufs.
|
|
1954
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.
|
|
1959
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest = function(opt_data) {
|
|
1960
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.repeatedFields_, null);
|
|
1955
1961
|
};
|
|
1956
|
-
goog.inherits(proto.zaber.motion.protobufs.
|
|
1962
|
+
goog.inherits(proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest, jspb.Message);
|
|
1957
1963
|
if (goog.DEBUG && !COMPILED) {
|
|
1958
1964
|
/**
|
|
1959
1965
|
* @public
|
|
1960
1966
|
* @override
|
|
1961
1967
|
*/
|
|
1962
|
-
proto.zaber.motion.protobufs.
|
|
1968
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.displayName = 'proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest';
|
|
1963
1969
|
}
|
|
1964
1970
|
/**
|
|
1965
1971
|
* Generated by JsPbCodeGenerator.
|
|
@@ -1982,6 +1988,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1982
1988
|
*/
|
|
1983
1989
|
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest.displayName = 'proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest';
|
|
1984
1990
|
}
|
|
1991
|
+
/**
|
|
1992
|
+
* Generated by JsPbCodeGenerator.
|
|
1993
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1994
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1995
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1996
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1997
|
+
* valid.
|
|
1998
|
+
* @extends {jspb.Message}
|
|
1999
|
+
* @constructor
|
|
2000
|
+
*/
|
|
2001
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest = function(opt_data) {
|
|
2002
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.repeatedFields_, null);
|
|
2003
|
+
};
|
|
2004
|
+
goog.inherits(proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest, jspb.Message);
|
|
2005
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2006
|
+
/**
|
|
2007
|
+
* @public
|
|
2008
|
+
* @override
|
|
2009
|
+
*/
|
|
2010
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.displayName = 'proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest';
|
|
2011
|
+
}
|
|
1985
2012
|
/**
|
|
1986
2013
|
* Generated by JsPbCodeGenerator.
|
|
1987
2014
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2034,16 +2061,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2034
2061
|
* @extends {jspb.Message}
|
|
2035
2062
|
* @constructor
|
|
2036
2063
|
*/
|
|
2037
|
-
proto.zaber.motion.protobufs.
|
|
2064
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest = function(opt_data) {
|
|
2038
2065
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2039
2066
|
};
|
|
2040
|
-
goog.inherits(proto.zaber.motion.protobufs.
|
|
2067
|
+
goog.inherits(proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest, jspb.Message);
|
|
2041
2068
|
if (goog.DEBUG && !COMPILED) {
|
|
2042
2069
|
/**
|
|
2043
2070
|
* @public
|
|
2044
2071
|
* @override
|
|
2045
2072
|
*/
|
|
2046
|
-
proto.zaber.motion.protobufs.
|
|
2073
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.displayName = 'proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest';
|
|
2047
2074
|
}
|
|
2048
2075
|
/**
|
|
2049
2076
|
* Generated by JsPbCodeGenerator.
|
|
@@ -2066,6 +2093,111 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2066
2093
|
*/
|
|
2067
2094
|
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.displayName = 'proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest';
|
|
2068
2095
|
}
|
|
2096
|
+
/**
|
|
2097
|
+
* Generated by JsPbCodeGenerator.
|
|
2098
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2099
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2100
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2101
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2102
|
+
* valid.
|
|
2103
|
+
* @extends {jspb.Message}
|
|
2104
|
+
* @constructor
|
|
2105
|
+
*/
|
|
2106
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest = function(opt_data) {
|
|
2107
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2108
|
+
};
|
|
2109
|
+
goog.inherits(proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest, jspb.Message);
|
|
2110
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2111
|
+
/**
|
|
2112
|
+
* @public
|
|
2113
|
+
* @override
|
|
2114
|
+
*/
|
|
2115
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.displayName = 'proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest';
|
|
2116
|
+
}
|
|
2117
|
+
/**
|
|
2118
|
+
* Generated by JsPbCodeGenerator.
|
|
2119
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2120
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2121
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2122
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2123
|
+
* valid.
|
|
2124
|
+
* @extends {jspb.Message}
|
|
2125
|
+
* @constructor
|
|
2126
|
+
*/
|
|
2127
|
+
proto.zaber.motion.protobufs.SetIoPortLabel = function(opt_data) {
|
|
2128
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2129
|
+
};
|
|
2130
|
+
goog.inherits(proto.zaber.motion.protobufs.SetIoPortLabel, jspb.Message);
|
|
2131
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2132
|
+
/**
|
|
2133
|
+
* @public
|
|
2134
|
+
* @override
|
|
2135
|
+
*/
|
|
2136
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.displayName = 'proto.zaber.motion.protobufs.SetIoPortLabel';
|
|
2137
|
+
}
|
|
2138
|
+
/**
|
|
2139
|
+
* Generated by JsPbCodeGenerator.
|
|
2140
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2141
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2142
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2143
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2144
|
+
* valid.
|
|
2145
|
+
* @extends {jspb.Message}
|
|
2146
|
+
* @constructor
|
|
2147
|
+
*/
|
|
2148
|
+
proto.zaber.motion.protobufs.GetIoPortLabel = function(opt_data) {
|
|
2149
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2150
|
+
};
|
|
2151
|
+
goog.inherits(proto.zaber.motion.protobufs.GetIoPortLabel, jspb.Message);
|
|
2152
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2153
|
+
/**
|
|
2154
|
+
* @public
|
|
2155
|
+
* @override
|
|
2156
|
+
*/
|
|
2157
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.displayName = 'proto.zaber.motion.protobufs.GetIoPortLabel';
|
|
2158
|
+
}
|
|
2159
|
+
/**
|
|
2160
|
+
* Generated by JsPbCodeGenerator.
|
|
2161
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2162
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2163
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2164
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2165
|
+
* valid.
|
|
2166
|
+
* @extends {jspb.Message}
|
|
2167
|
+
* @constructor
|
|
2168
|
+
*/
|
|
2169
|
+
proto.zaber.motion.protobufs.IoPortLabel = function(opt_data) {
|
|
2170
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2171
|
+
};
|
|
2172
|
+
goog.inherits(proto.zaber.motion.protobufs.IoPortLabel, jspb.Message);
|
|
2173
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2174
|
+
/**
|
|
2175
|
+
* @public
|
|
2176
|
+
* @override
|
|
2177
|
+
*/
|
|
2178
|
+
proto.zaber.motion.protobufs.IoPortLabel.displayName = 'proto.zaber.motion.protobufs.IoPortLabel';
|
|
2179
|
+
}
|
|
2180
|
+
/**
|
|
2181
|
+
* Generated by JsPbCodeGenerator.
|
|
2182
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2183
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2184
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2185
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2186
|
+
* valid.
|
|
2187
|
+
* @extends {jspb.Message}
|
|
2188
|
+
* @constructor
|
|
2189
|
+
*/
|
|
2190
|
+
proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse = function(opt_data) {
|
|
2191
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.repeatedFields_, null);
|
|
2192
|
+
};
|
|
2193
|
+
goog.inherits(proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse, jspb.Message);
|
|
2194
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2195
|
+
/**
|
|
2196
|
+
* @public
|
|
2197
|
+
* @override
|
|
2198
|
+
*/
|
|
2199
|
+
proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.displayName = 'proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse';
|
|
2200
|
+
}
|
|
2069
2201
|
/**
|
|
2070
2202
|
* Generated by JsPbCodeGenerator.
|
|
2071
2203
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -7289,8 +7421,9 @@ proto.zaber.motion.protobufs.AxisIdentity.toObject = function(includeInstance, m
|
|
|
7289
7421
|
isPeripheral: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
7290
7422
|
peripheralId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
7291
7423
|
peripheralName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
7292
|
-
|
|
7293
|
-
|
|
7424
|
+
peripheralSerialNumber: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
7425
|
+
axisType: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
7426
|
+
isModified: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
|
7294
7427
|
};
|
|
7295
7428
|
|
|
7296
7429
|
if (includeInstance) {
|
|
@@ -7340,10 +7473,14 @@ proto.zaber.motion.protobufs.AxisIdentity.deserializeBinaryFromReader = function
|
|
|
7340
7473
|
msg.setPeripheralName(value);
|
|
7341
7474
|
break;
|
|
7342
7475
|
case 4:
|
|
7476
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
7477
|
+
msg.setPeripheralSerialNumber(value);
|
|
7478
|
+
break;
|
|
7479
|
+
case 5:
|
|
7343
7480
|
var value = /** @type {!proto.zaber.motion.protobufs.AxisIdentity.AxisType} */ (reader.readEnum());
|
|
7344
7481
|
msg.setAxisType(value);
|
|
7345
7482
|
break;
|
|
7346
|
-
case
|
|
7483
|
+
case 6:
|
|
7347
7484
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
7348
7485
|
msg.setIsModified(value);
|
|
7349
7486
|
break;
|
|
@@ -7397,17 +7534,24 @@ proto.zaber.motion.protobufs.AxisIdentity.serializeBinaryToWriter = function(mes
|
|
|
7397
7534
|
f
|
|
7398
7535
|
);
|
|
7399
7536
|
}
|
|
7537
|
+
f = message.getPeripheralSerialNumber();
|
|
7538
|
+
if (f !== 0) {
|
|
7539
|
+
writer.writeUint32(
|
|
7540
|
+
4,
|
|
7541
|
+
f
|
|
7542
|
+
);
|
|
7543
|
+
}
|
|
7400
7544
|
f = message.getAxisType();
|
|
7401
7545
|
if (f !== 0.0) {
|
|
7402
7546
|
writer.writeEnum(
|
|
7403
|
-
|
|
7547
|
+
5,
|
|
7404
7548
|
f
|
|
7405
7549
|
);
|
|
7406
7550
|
}
|
|
7407
7551
|
f = message.getIsModified();
|
|
7408
7552
|
if (f) {
|
|
7409
7553
|
writer.writeBool(
|
|
7410
|
-
|
|
7554
|
+
6,
|
|
7411
7555
|
f
|
|
7412
7556
|
);
|
|
7413
7557
|
}
|
|
@@ -7480,11 +7624,29 @@ proto.zaber.motion.protobufs.AxisIdentity.prototype.setPeripheralName = function
|
|
|
7480
7624
|
|
|
7481
7625
|
|
|
7482
7626
|
/**
|
|
7483
|
-
* optional
|
|
7627
|
+
* optional uint32 peripheral_serial_number = 4;
|
|
7628
|
+
* @return {number}
|
|
7629
|
+
*/
|
|
7630
|
+
proto.zaber.motion.protobufs.AxisIdentity.prototype.getPeripheralSerialNumber = function() {
|
|
7631
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
7632
|
+
};
|
|
7633
|
+
|
|
7634
|
+
|
|
7635
|
+
/**
|
|
7636
|
+
* @param {number} value
|
|
7637
|
+
* @return {!proto.zaber.motion.protobufs.AxisIdentity} returns this
|
|
7638
|
+
*/
|
|
7639
|
+
proto.zaber.motion.protobufs.AxisIdentity.prototype.setPeripheralSerialNumber = function(value) {
|
|
7640
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
7641
|
+
};
|
|
7642
|
+
|
|
7643
|
+
|
|
7644
|
+
/**
|
|
7645
|
+
* optional AxisType axis_type = 5;
|
|
7484
7646
|
* @return {!proto.zaber.motion.protobufs.AxisIdentity.AxisType}
|
|
7485
7647
|
*/
|
|
7486
7648
|
proto.zaber.motion.protobufs.AxisIdentity.prototype.getAxisType = function() {
|
|
7487
|
-
return /** @type {!proto.zaber.motion.protobufs.AxisIdentity.AxisType} */ (jspb.Message.getFieldWithDefault(this,
|
|
7649
|
+
return /** @type {!proto.zaber.motion.protobufs.AxisIdentity.AxisType} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
7488
7650
|
};
|
|
7489
7651
|
|
|
7490
7652
|
|
|
@@ -7493,16 +7655,16 @@ proto.zaber.motion.protobufs.AxisIdentity.prototype.getAxisType = function() {
|
|
|
7493
7655
|
* @return {!proto.zaber.motion.protobufs.AxisIdentity} returns this
|
|
7494
7656
|
*/
|
|
7495
7657
|
proto.zaber.motion.protobufs.AxisIdentity.prototype.setAxisType = function(value) {
|
|
7496
|
-
return jspb.Message.setProto3EnumField(this,
|
|
7658
|
+
return jspb.Message.setProto3EnumField(this, 5, value);
|
|
7497
7659
|
};
|
|
7498
7660
|
|
|
7499
7661
|
|
|
7500
7662
|
/**
|
|
7501
|
-
* optional bool is_modified =
|
|
7663
|
+
* optional bool is_modified = 6;
|
|
7502
7664
|
* @return {boolean}
|
|
7503
7665
|
*/
|
|
7504
7666
|
proto.zaber.motion.protobufs.AxisIdentity.prototype.getIsModified = function() {
|
|
7505
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this,
|
|
7667
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
7506
7668
|
};
|
|
7507
7669
|
|
|
7508
7670
|
|
|
@@ -7511,7 +7673,7 @@ proto.zaber.motion.protobufs.AxisIdentity.prototype.getIsModified = function() {
|
|
|
7511
7673
|
* @return {!proto.zaber.motion.protobufs.AxisIdentity} returns this
|
|
7512
7674
|
*/
|
|
7513
7675
|
proto.zaber.motion.protobufs.AxisIdentity.prototype.setIsModified = function(value) {
|
|
7514
|
-
return jspb.Message.setProto3BooleanField(this,
|
|
7676
|
+
return jspb.Message.setProto3BooleanField(this, 6, value);
|
|
7515
7677
|
};
|
|
7516
7678
|
|
|
7517
7679
|
|
|
@@ -21434,7 +21596,7 @@ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype
|
|
|
21434
21596
|
* @private {!Array<number>}
|
|
21435
21597
|
* @const
|
|
21436
21598
|
*/
|
|
21437
|
-
proto.zaber.motion.protobufs.
|
|
21599
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.repeatedFields_ = [4];
|
|
21438
21600
|
|
|
21439
21601
|
|
|
21440
21602
|
|
|
@@ -21451,8 +21613,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
21451
21613
|
* http://goto/soy-param-migration
|
|
21452
21614
|
* @return {!Object}
|
|
21453
21615
|
*/
|
|
21454
|
-
proto.zaber.motion.protobufs.
|
|
21455
|
-
return proto.zaber.motion.protobufs.
|
|
21616
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.prototype.toObject = function(opt_includeInstance) {
|
|
21617
|
+
return proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.toObject(opt_includeInstance, this);
|
|
21456
21618
|
};
|
|
21457
21619
|
|
|
21458
21620
|
|
|
@@ -21461,15 +21623,16 @@ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.protot
|
|
|
21461
21623
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21462
21624
|
* the JSPB instance for transitional soy proto support:
|
|
21463
21625
|
* http://goto/soy-param-migration
|
|
21464
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
21626
|
+
* @param {!proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest} msg The msg instance to transform.
|
|
21465
21627
|
* @return {!Object}
|
|
21466
21628
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21467
21629
|
*/
|
|
21468
|
-
proto.zaber.motion.protobufs.
|
|
21630
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.toObject = function(includeInstance, msg) {
|
|
21469
21631
|
var f, obj = {
|
|
21470
21632
|
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
21471
21633
|
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
21472
|
-
|
|
21634
|
+
analog: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
21635
|
+
channelsList: (f = jspb.Message.getRepeatedBooleanField(msg, 4)) == null ? undefined : f
|
|
21473
21636
|
};
|
|
21474
21637
|
|
|
21475
21638
|
if (includeInstance) {
|
|
@@ -21483,23 +21646,23 @@ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.toObje
|
|
|
21483
21646
|
/**
|
|
21484
21647
|
* Deserializes binary data (in protobuf wire format).
|
|
21485
21648
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21486
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
21649
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest}
|
|
21487
21650
|
*/
|
|
21488
|
-
proto.zaber.motion.protobufs.
|
|
21651
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.deserializeBinary = function(bytes) {
|
|
21489
21652
|
var reader = new jspb.BinaryReader(bytes);
|
|
21490
|
-
var msg = new proto.zaber.motion.protobufs.
|
|
21491
|
-
return proto.zaber.motion.protobufs.
|
|
21653
|
+
var msg = new proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest;
|
|
21654
|
+
return proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.deserializeBinaryFromReader(msg, reader);
|
|
21492
21655
|
};
|
|
21493
21656
|
|
|
21494
21657
|
|
|
21495
21658
|
/**
|
|
21496
21659
|
* Deserializes binary data (in protobuf wire format) from the
|
|
21497
21660
|
* given reader into the given message object.
|
|
21498
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
21661
|
+
* @param {!proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest} msg The message object to deserialize into.
|
|
21499
21662
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21500
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
21663
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest}
|
|
21501
21664
|
*/
|
|
21502
|
-
proto.zaber.motion.protobufs.
|
|
21665
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
21503
21666
|
while (reader.nextField()) {
|
|
21504
21667
|
if (reader.isEndGroup()) {
|
|
21505
21668
|
break;
|
|
@@ -21515,6 +21678,10 @@ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.deseri
|
|
|
21515
21678
|
msg.setDevice(value);
|
|
21516
21679
|
break;
|
|
21517
21680
|
case 3:
|
|
21681
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
21682
|
+
msg.setAnalog(value);
|
|
21683
|
+
break;
|
|
21684
|
+
case 4:
|
|
21518
21685
|
var values = /** @type {!Array<boolean>} */ (reader.isDelimited() ? reader.readPackedBool() : [reader.readBool()]);
|
|
21519
21686
|
for (var i = 0; i < values.length; i++) {
|
|
21520
21687
|
msg.addChannels(values[i]);
|
|
@@ -21533,9 +21700,9 @@ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.deseri
|
|
|
21533
21700
|
* Serializes the message to binary data (in protobuf wire format).
|
|
21534
21701
|
* @return {!Uint8Array}
|
|
21535
21702
|
*/
|
|
21536
|
-
proto.zaber.motion.protobufs.
|
|
21703
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.prototype.serializeBinary = function() {
|
|
21537
21704
|
var writer = new jspb.BinaryWriter();
|
|
21538
|
-
proto.zaber.motion.protobufs.
|
|
21705
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.serializeBinaryToWriter(this, writer);
|
|
21539
21706
|
return writer.getResultBuffer();
|
|
21540
21707
|
};
|
|
21541
21708
|
|
|
@@ -21543,11 +21710,11 @@ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.protot
|
|
|
21543
21710
|
/**
|
|
21544
21711
|
* Serializes the given message to binary data (in protobuf wire
|
|
21545
21712
|
* format), writing to the given BinaryWriter.
|
|
21546
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
21713
|
+
* @param {!proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest} message
|
|
21547
21714
|
* @param {!jspb.BinaryWriter} writer
|
|
21548
21715
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21549
21716
|
*/
|
|
21550
|
-
proto.zaber.motion.protobufs.
|
|
21717
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.serializeBinaryToWriter = function(message, writer) {
|
|
21551
21718
|
var f = undefined;
|
|
21552
21719
|
f = message.getInterfaceId();
|
|
21553
21720
|
if (f !== 0) {
|
|
@@ -21563,10 +21730,17 @@ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.serial
|
|
|
21563
21730
|
f
|
|
21564
21731
|
);
|
|
21565
21732
|
}
|
|
21733
|
+
f = message.getAnalog();
|
|
21734
|
+
if (f) {
|
|
21735
|
+
writer.writeBool(
|
|
21736
|
+
3,
|
|
21737
|
+
f
|
|
21738
|
+
);
|
|
21739
|
+
}
|
|
21566
21740
|
f = message.getChannelsList();
|
|
21567
21741
|
if (f.length > 0) {
|
|
21568
21742
|
writer.writePackedBool(
|
|
21569
|
-
|
|
21743
|
+
4,
|
|
21570
21744
|
f
|
|
21571
21745
|
);
|
|
21572
21746
|
}
|
|
@@ -21577,16 +21751,16 @@ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.serial
|
|
|
21577
21751
|
* optional int32 interface_id = 1;
|
|
21578
21752
|
* @return {number}
|
|
21579
21753
|
*/
|
|
21580
|
-
proto.zaber.motion.protobufs.
|
|
21754
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.prototype.getInterfaceId = function() {
|
|
21581
21755
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
21582
21756
|
};
|
|
21583
21757
|
|
|
21584
21758
|
|
|
21585
21759
|
/**
|
|
21586
21760
|
* @param {number} value
|
|
21587
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
21761
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest} returns this
|
|
21588
21762
|
*/
|
|
21589
|
-
proto.zaber.motion.protobufs.
|
|
21763
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.prototype.setInterfaceId = function(value) {
|
|
21590
21764
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
21591
21765
|
};
|
|
21592
21766
|
|
|
@@ -21595,53 +21769,71 @@ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.protot
|
|
|
21595
21769
|
* optional int32 device = 2;
|
|
21596
21770
|
* @return {number}
|
|
21597
21771
|
*/
|
|
21598
|
-
proto.zaber.motion.protobufs.
|
|
21772
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.prototype.getDevice = function() {
|
|
21599
21773
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
21600
21774
|
};
|
|
21601
21775
|
|
|
21602
21776
|
|
|
21603
21777
|
/**
|
|
21604
21778
|
* @param {number} value
|
|
21605
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
21779
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest} returns this
|
|
21606
21780
|
*/
|
|
21607
|
-
proto.zaber.motion.protobufs.
|
|
21781
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.prototype.setDevice = function(value) {
|
|
21608
21782
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
21609
21783
|
};
|
|
21610
21784
|
|
|
21611
21785
|
|
|
21612
21786
|
/**
|
|
21613
|
-
*
|
|
21787
|
+
* optional bool analog = 3;
|
|
21788
|
+
* @return {boolean}
|
|
21789
|
+
*/
|
|
21790
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.prototype.getAnalog = function() {
|
|
21791
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
21792
|
+
};
|
|
21793
|
+
|
|
21794
|
+
|
|
21795
|
+
/**
|
|
21796
|
+
* @param {boolean} value
|
|
21797
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest} returns this
|
|
21798
|
+
*/
|
|
21799
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.prototype.setAnalog = function(value) {
|
|
21800
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
21801
|
+
};
|
|
21802
|
+
|
|
21803
|
+
|
|
21804
|
+
/**
|
|
21805
|
+
* repeated bool channels = 4;
|
|
21614
21806
|
* @return {!Array<boolean>}
|
|
21615
21807
|
*/
|
|
21616
|
-
proto.zaber.motion.protobufs.
|
|
21617
|
-
return /** @type {!Array<boolean>} */ (jspb.Message.getRepeatedBooleanField(this,
|
|
21808
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.prototype.getChannelsList = function() {
|
|
21809
|
+
return /** @type {!Array<boolean>} */ (jspb.Message.getRepeatedBooleanField(this, 4));
|
|
21618
21810
|
};
|
|
21619
21811
|
|
|
21620
21812
|
|
|
21621
21813
|
/**
|
|
21622
21814
|
* @param {!Array<boolean>} value
|
|
21623
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
21815
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest} returns this
|
|
21624
21816
|
*/
|
|
21625
|
-
proto.zaber.motion.protobufs.
|
|
21626
|
-
return jspb.Message.setField(this,
|
|
21817
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.prototype.setChannelsList = function(value) {
|
|
21818
|
+
return jspb.Message.setField(this, 4, value || []);
|
|
21627
21819
|
};
|
|
21628
21820
|
|
|
21629
21821
|
|
|
21630
21822
|
/**
|
|
21631
21823
|
* @param {boolean} value
|
|
21632
21824
|
* @param {number=} opt_index
|
|
21633
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
21825
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest} returns this
|
|
21634
21826
|
*/
|
|
21635
|
-
proto.zaber.motion.protobufs.
|
|
21636
|
-
return jspb.Message.addToRepeatedField(this,
|
|
21827
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.prototype.addChannels = function(value, opt_index) {
|
|
21828
|
+
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
21637
21829
|
};
|
|
21638
21830
|
|
|
21639
21831
|
|
|
21640
21832
|
/**
|
|
21641
21833
|
* Clears the list making it empty but non-null.
|
|
21642
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
21834
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest} returns this
|
|
21643
21835
|
*/
|
|
21644
|
-
proto.zaber.motion.protobufs.
|
|
21836
|
+
proto.zaber.motion.protobufs.DeviceCancelAllOutputsScheduleRequest.prototype.clearChannelsList = function() {
|
|
21645
21837
|
return this.setChannelsList([]);
|
|
21646
21838
|
};
|
|
21647
21839
|
|
|
@@ -21865,6 +22057,13 @@ proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest.prototype.clearVal
|
|
|
21865
22057
|
|
|
21866
22058
|
|
|
21867
22059
|
|
|
22060
|
+
/**
|
|
22061
|
+
* List of repeated fields within this message type.
|
|
22062
|
+
* @private {!Array<number>}
|
|
22063
|
+
* @const
|
|
22064
|
+
*/
|
|
22065
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.repeatedFields_ = [3,4];
|
|
22066
|
+
|
|
21868
22067
|
|
|
21869
22068
|
|
|
21870
22069
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -21880,8 +22079,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
21880
22079
|
* http://goto/soy-param-migration
|
|
21881
22080
|
* @return {!Object}
|
|
21882
22081
|
*/
|
|
21883
|
-
proto.zaber.motion.protobufs.
|
|
21884
|
-
return proto.zaber.motion.protobufs.
|
|
22082
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.toObject = function(opt_includeInstance) {
|
|
22083
|
+
return proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.toObject(opt_includeInstance, this);
|
|
21885
22084
|
};
|
|
21886
22085
|
|
|
21887
22086
|
|
|
@@ -21890,16 +22089,18 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.toObject =
|
|
|
21890
22089
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21891
22090
|
* the JSPB instance for transitional soy proto support:
|
|
21892
22091
|
* http://goto/soy-param-migration
|
|
21893
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
22092
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest} msg The msg instance to transform.
|
|
21894
22093
|
* @return {!Object}
|
|
21895
22094
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21896
22095
|
*/
|
|
21897
|
-
proto.zaber.motion.protobufs.
|
|
22096
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.toObject = function(includeInstance, msg) {
|
|
21898
22097
|
var f, obj = {
|
|
21899
22098
|
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
21900
22099
|
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
21901
|
-
|
|
21902
|
-
|
|
22100
|
+
valuesList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 3)) == null ? undefined : f,
|
|
22101
|
+
futureValuesList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 4)) == null ? undefined : f,
|
|
22102
|
+
delay: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
22103
|
+
unit: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
21903
22104
|
};
|
|
21904
22105
|
|
|
21905
22106
|
if (includeInstance) {
|
|
@@ -21913,23 +22114,23 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.toObject = function(i
|
|
|
21913
22114
|
/**
|
|
21914
22115
|
* Deserializes binary data (in protobuf wire format).
|
|
21915
22116
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21916
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
22117
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest}
|
|
21917
22118
|
*/
|
|
21918
|
-
proto.zaber.motion.protobufs.
|
|
22119
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.deserializeBinary = function(bytes) {
|
|
21919
22120
|
var reader = new jspb.BinaryReader(bytes);
|
|
21920
|
-
var msg = new proto.zaber.motion.protobufs.
|
|
21921
|
-
return proto.zaber.motion.protobufs.
|
|
22121
|
+
var msg = new proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest;
|
|
22122
|
+
return proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.deserializeBinaryFromReader(msg, reader);
|
|
21922
22123
|
};
|
|
21923
22124
|
|
|
21924
22125
|
|
|
21925
22126
|
/**
|
|
21926
22127
|
* Deserializes binary data (in protobuf wire format) from the
|
|
21927
22128
|
* given reader into the given message object.
|
|
21928
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
22129
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest} msg The message object to deserialize into.
|
|
21929
22130
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21930
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
22131
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest}
|
|
21931
22132
|
*/
|
|
21932
|
-
proto.zaber.motion.protobufs.
|
|
22133
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
21933
22134
|
while (reader.nextField()) {
|
|
21934
22135
|
if (reader.isEndGroup()) {
|
|
21935
22136
|
break;
|
|
@@ -21945,12 +22146,24 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.deserializeBinaryFrom
|
|
|
21945
22146
|
msg.setDevice(value);
|
|
21946
22147
|
break;
|
|
21947
22148
|
case 3:
|
|
21948
|
-
var
|
|
21949
|
-
|
|
22149
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedDouble() : [reader.readDouble()]);
|
|
22150
|
+
for (var i = 0; i < values.length; i++) {
|
|
22151
|
+
msg.addValues(values[i]);
|
|
22152
|
+
}
|
|
21950
22153
|
break;
|
|
21951
22154
|
case 4:
|
|
21952
|
-
var
|
|
21953
|
-
|
|
22155
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedDouble() : [reader.readDouble()]);
|
|
22156
|
+
for (var i = 0; i < values.length; i++) {
|
|
22157
|
+
msg.addFutureValues(values[i]);
|
|
22158
|
+
}
|
|
22159
|
+
break;
|
|
22160
|
+
case 5:
|
|
22161
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
22162
|
+
msg.setDelay(value);
|
|
22163
|
+
break;
|
|
22164
|
+
case 6:
|
|
22165
|
+
var value = /** @type {string} */ (reader.readString());
|
|
22166
|
+
msg.setUnit(value);
|
|
21954
22167
|
break;
|
|
21955
22168
|
default:
|
|
21956
22169
|
reader.skipField();
|
|
@@ -21965,9 +22178,9 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.deserializeBinaryFrom
|
|
|
21965
22178
|
* Serializes the message to binary data (in protobuf wire format).
|
|
21966
22179
|
* @return {!Uint8Array}
|
|
21967
22180
|
*/
|
|
21968
|
-
proto.zaber.motion.protobufs.
|
|
22181
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.serializeBinary = function() {
|
|
21969
22182
|
var writer = new jspb.BinaryWriter();
|
|
21970
|
-
proto.zaber.motion.protobufs.
|
|
22183
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.serializeBinaryToWriter(this, writer);
|
|
21971
22184
|
return writer.getResultBuffer();
|
|
21972
22185
|
};
|
|
21973
22186
|
|
|
@@ -21975,11 +22188,11 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.serializeBi
|
|
|
21975
22188
|
/**
|
|
21976
22189
|
* Serializes the given message to binary data (in protobuf wire
|
|
21977
22190
|
* format), writing to the given BinaryWriter.
|
|
21978
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
22191
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest} message
|
|
21979
22192
|
* @param {!jspb.BinaryWriter} writer
|
|
21980
22193
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21981
22194
|
*/
|
|
21982
|
-
proto.zaber.motion.protobufs.
|
|
22195
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.serializeBinaryToWriter = function(message, writer) {
|
|
21983
22196
|
var f = undefined;
|
|
21984
22197
|
f = message.getInterfaceId();
|
|
21985
22198
|
if (f !== 0) {
|
|
@@ -21995,20 +22208,34 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.serializeBinaryToWrit
|
|
|
21995
22208
|
f
|
|
21996
22209
|
);
|
|
21997
22210
|
}
|
|
21998
|
-
f = message.
|
|
21999
|
-
if (f
|
|
22000
|
-
writer.
|
|
22211
|
+
f = message.getValuesList();
|
|
22212
|
+
if (f.length > 0) {
|
|
22213
|
+
writer.writePackedDouble(
|
|
22001
22214
|
3,
|
|
22002
22215
|
f
|
|
22003
22216
|
);
|
|
22004
22217
|
}
|
|
22005
|
-
f = message.
|
|
22006
|
-
if (f
|
|
22007
|
-
writer.
|
|
22218
|
+
f = message.getFutureValuesList();
|
|
22219
|
+
if (f.length > 0) {
|
|
22220
|
+
writer.writePackedDouble(
|
|
22008
22221
|
4,
|
|
22009
22222
|
f
|
|
22010
22223
|
);
|
|
22011
22224
|
}
|
|
22225
|
+
f = message.getDelay();
|
|
22226
|
+
if (f !== 0.0) {
|
|
22227
|
+
writer.writeDouble(
|
|
22228
|
+
5,
|
|
22229
|
+
f
|
|
22230
|
+
);
|
|
22231
|
+
}
|
|
22232
|
+
f = message.getUnit();
|
|
22233
|
+
if (f.length > 0) {
|
|
22234
|
+
writer.writeString(
|
|
22235
|
+
6,
|
|
22236
|
+
f
|
|
22237
|
+
);
|
|
22238
|
+
}
|
|
22012
22239
|
};
|
|
22013
22240
|
|
|
22014
22241
|
|
|
@@ -22016,16 +22243,16 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.serializeBinaryToWrit
|
|
|
22016
22243
|
* optional int32 interface_id = 1;
|
|
22017
22244
|
* @return {number}
|
|
22018
22245
|
*/
|
|
22019
|
-
proto.zaber.motion.protobufs.
|
|
22246
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.getInterfaceId = function() {
|
|
22020
22247
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
22021
22248
|
};
|
|
22022
22249
|
|
|
22023
22250
|
|
|
22024
22251
|
/**
|
|
22025
22252
|
* @param {number} value
|
|
22026
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
22253
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest} returns this
|
|
22027
22254
|
*/
|
|
22028
|
-
proto.zaber.motion.protobufs.
|
|
22255
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.setInterfaceId = function(value) {
|
|
22029
22256
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
22030
22257
|
};
|
|
22031
22258
|
|
|
@@ -22034,53 +22261,1097 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.setInterfac
|
|
|
22034
22261
|
* optional int32 device = 2;
|
|
22035
22262
|
* @return {number}
|
|
22036
22263
|
*/
|
|
22037
|
-
proto.zaber.motion.protobufs.
|
|
22264
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.getDevice = function() {
|
|
22038
22265
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
22039
22266
|
};
|
|
22040
22267
|
|
|
22041
22268
|
|
|
22042
22269
|
/**
|
|
22043
22270
|
* @param {number} value
|
|
22044
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
22271
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest} returns this
|
|
22045
22272
|
*/
|
|
22046
|
-
proto.zaber.motion.protobufs.
|
|
22273
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.setDevice = function(value) {
|
|
22047
22274
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
22048
22275
|
};
|
|
22049
22276
|
|
|
22050
22277
|
|
|
22051
22278
|
/**
|
|
22052
|
-
*
|
|
22053
|
-
* @return {number}
|
|
22279
|
+
* repeated double values = 3;
|
|
22280
|
+
* @return {!Array<number>}
|
|
22054
22281
|
*/
|
|
22055
|
-
proto.zaber.motion.protobufs.
|
|
22056
|
-
return /** @type {number} */ (jspb.Message.
|
|
22282
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.getValuesList = function() {
|
|
22283
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedFloatingPointField(this, 3));
|
|
22284
|
+
};
|
|
22285
|
+
|
|
22286
|
+
|
|
22287
|
+
/**
|
|
22288
|
+
* @param {!Array<number>} value
|
|
22289
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest} returns this
|
|
22290
|
+
*/
|
|
22291
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.setValuesList = function(value) {
|
|
22292
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
22293
|
+
};
|
|
22294
|
+
|
|
22295
|
+
|
|
22296
|
+
/**
|
|
22297
|
+
* @param {number} value
|
|
22298
|
+
* @param {number=} opt_index
|
|
22299
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest} returns this
|
|
22300
|
+
*/
|
|
22301
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.addValues = function(value, opt_index) {
|
|
22302
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
22303
|
+
};
|
|
22304
|
+
|
|
22305
|
+
|
|
22306
|
+
/**
|
|
22307
|
+
* Clears the list making it empty but non-null.
|
|
22308
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest} returns this
|
|
22309
|
+
*/
|
|
22310
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.clearValuesList = function() {
|
|
22311
|
+
return this.setValuesList([]);
|
|
22312
|
+
};
|
|
22313
|
+
|
|
22314
|
+
|
|
22315
|
+
/**
|
|
22316
|
+
* repeated double future_values = 4;
|
|
22317
|
+
* @return {!Array<number>}
|
|
22318
|
+
*/
|
|
22319
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.getFutureValuesList = function() {
|
|
22320
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedFloatingPointField(this, 4));
|
|
22321
|
+
};
|
|
22322
|
+
|
|
22323
|
+
|
|
22324
|
+
/**
|
|
22325
|
+
* @param {!Array<number>} value
|
|
22326
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest} returns this
|
|
22327
|
+
*/
|
|
22328
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.setFutureValuesList = function(value) {
|
|
22329
|
+
return jspb.Message.setField(this, 4, value || []);
|
|
22330
|
+
};
|
|
22331
|
+
|
|
22332
|
+
|
|
22333
|
+
/**
|
|
22334
|
+
* @param {number} value
|
|
22335
|
+
* @param {number=} opt_index
|
|
22336
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest} returns this
|
|
22337
|
+
*/
|
|
22338
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.addFutureValues = function(value, opt_index) {
|
|
22339
|
+
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
22340
|
+
};
|
|
22341
|
+
|
|
22342
|
+
|
|
22343
|
+
/**
|
|
22344
|
+
* Clears the list making it empty but non-null.
|
|
22345
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest} returns this
|
|
22346
|
+
*/
|
|
22347
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.clearFutureValuesList = function() {
|
|
22348
|
+
return this.setFutureValuesList([]);
|
|
22349
|
+
};
|
|
22350
|
+
|
|
22351
|
+
|
|
22352
|
+
/**
|
|
22353
|
+
* optional double delay = 5;
|
|
22354
|
+
* @return {number}
|
|
22355
|
+
*/
|
|
22356
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.getDelay = function() {
|
|
22357
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
|
22358
|
+
};
|
|
22359
|
+
|
|
22360
|
+
|
|
22361
|
+
/**
|
|
22362
|
+
* @param {number} value
|
|
22363
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest} returns this
|
|
22364
|
+
*/
|
|
22365
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.setDelay = function(value) {
|
|
22366
|
+
return jspb.Message.setProto3FloatField(this, 5, value);
|
|
22367
|
+
};
|
|
22368
|
+
|
|
22369
|
+
|
|
22370
|
+
/**
|
|
22371
|
+
* optional string unit = 6;
|
|
22372
|
+
* @return {string}
|
|
22373
|
+
*/
|
|
22374
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.getUnit = function() {
|
|
22375
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
22376
|
+
};
|
|
22377
|
+
|
|
22378
|
+
|
|
22379
|
+
/**
|
|
22380
|
+
* @param {string} value
|
|
22381
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest} returns this
|
|
22382
|
+
*/
|
|
22383
|
+
proto.zaber.motion.protobufs.DeviceSetAllAnalogOutputsScheduleRequest.prototype.setUnit = function(value) {
|
|
22384
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
22385
|
+
};
|
|
22386
|
+
|
|
22387
|
+
|
|
22388
|
+
|
|
22389
|
+
|
|
22390
|
+
|
|
22391
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
22392
|
+
/**
|
|
22393
|
+
* Creates an object representation of this proto.
|
|
22394
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
22395
|
+
* Optional fields that are not set will be set to undefined.
|
|
22396
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
22397
|
+
* For the list of reserved names please see:
|
|
22398
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
22399
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
22400
|
+
* JSPB instance for transitional soy proto support:
|
|
22401
|
+
* http://goto/soy-param-migration
|
|
22402
|
+
* @return {!Object}
|
|
22403
|
+
*/
|
|
22404
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.toObject = function(opt_includeInstance) {
|
|
22405
|
+
return proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.toObject(opt_includeInstance, this);
|
|
22406
|
+
};
|
|
22407
|
+
|
|
22408
|
+
|
|
22409
|
+
/**
|
|
22410
|
+
* Static version of the {@see toObject} method.
|
|
22411
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22412
|
+
* the JSPB instance for transitional soy proto support:
|
|
22413
|
+
* http://goto/soy-param-migration
|
|
22414
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest} msg The msg instance to transform.
|
|
22415
|
+
* @return {!Object}
|
|
22416
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22417
|
+
*/
|
|
22418
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.toObject = function(includeInstance, msg) {
|
|
22419
|
+
var f, obj = {
|
|
22420
|
+
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
22421
|
+
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
22422
|
+
channelNumber: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
22423
|
+
value: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
22424
|
+
};
|
|
22425
|
+
|
|
22426
|
+
if (includeInstance) {
|
|
22427
|
+
obj.$jspbMessageInstance = msg;
|
|
22428
|
+
}
|
|
22429
|
+
return obj;
|
|
22430
|
+
};
|
|
22431
|
+
}
|
|
22432
|
+
|
|
22433
|
+
|
|
22434
|
+
/**
|
|
22435
|
+
* Deserializes binary data (in protobuf wire format).
|
|
22436
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22437
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest}
|
|
22438
|
+
*/
|
|
22439
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.deserializeBinary = function(bytes) {
|
|
22440
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
22441
|
+
var msg = new proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest;
|
|
22442
|
+
return proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.deserializeBinaryFromReader(msg, reader);
|
|
22443
|
+
};
|
|
22444
|
+
|
|
22445
|
+
|
|
22446
|
+
/**
|
|
22447
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
22448
|
+
* given reader into the given message object.
|
|
22449
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest} msg The message object to deserialize into.
|
|
22450
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22451
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest}
|
|
22452
|
+
*/
|
|
22453
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
22454
|
+
while (reader.nextField()) {
|
|
22455
|
+
if (reader.isEndGroup()) {
|
|
22456
|
+
break;
|
|
22457
|
+
}
|
|
22458
|
+
var field = reader.getFieldNumber();
|
|
22459
|
+
switch (field) {
|
|
22460
|
+
case 1:
|
|
22461
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22462
|
+
msg.setInterfaceId(value);
|
|
22463
|
+
break;
|
|
22464
|
+
case 2:
|
|
22465
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22466
|
+
msg.setDevice(value);
|
|
22467
|
+
break;
|
|
22468
|
+
case 3:
|
|
22469
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22470
|
+
msg.setChannelNumber(value);
|
|
22471
|
+
break;
|
|
22472
|
+
case 4:
|
|
22473
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22474
|
+
msg.setValue(value);
|
|
22475
|
+
break;
|
|
22476
|
+
default:
|
|
22477
|
+
reader.skipField();
|
|
22478
|
+
break;
|
|
22479
|
+
}
|
|
22480
|
+
}
|
|
22481
|
+
return msg;
|
|
22482
|
+
};
|
|
22483
|
+
|
|
22484
|
+
|
|
22485
|
+
/**
|
|
22486
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
22487
|
+
* @return {!Uint8Array}
|
|
22488
|
+
*/
|
|
22489
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.serializeBinary = function() {
|
|
22490
|
+
var writer = new jspb.BinaryWriter();
|
|
22491
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.serializeBinaryToWriter(this, writer);
|
|
22492
|
+
return writer.getResultBuffer();
|
|
22493
|
+
};
|
|
22494
|
+
|
|
22495
|
+
|
|
22496
|
+
/**
|
|
22497
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
22498
|
+
* format), writing to the given BinaryWriter.
|
|
22499
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest} message
|
|
22500
|
+
* @param {!jspb.BinaryWriter} writer
|
|
22501
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22502
|
+
*/
|
|
22503
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.serializeBinaryToWriter = function(message, writer) {
|
|
22504
|
+
var f = undefined;
|
|
22505
|
+
f = message.getInterfaceId();
|
|
22506
|
+
if (f !== 0) {
|
|
22507
|
+
writer.writeInt32(
|
|
22508
|
+
1,
|
|
22509
|
+
f
|
|
22510
|
+
);
|
|
22511
|
+
}
|
|
22512
|
+
f = message.getDevice();
|
|
22513
|
+
if (f !== 0) {
|
|
22514
|
+
writer.writeInt32(
|
|
22515
|
+
2,
|
|
22516
|
+
f
|
|
22517
|
+
);
|
|
22518
|
+
}
|
|
22519
|
+
f = message.getChannelNumber();
|
|
22520
|
+
if (f !== 0) {
|
|
22521
|
+
writer.writeInt32(
|
|
22522
|
+
3,
|
|
22523
|
+
f
|
|
22524
|
+
);
|
|
22525
|
+
}
|
|
22526
|
+
f = message.getValue();
|
|
22527
|
+
if (f !== 0) {
|
|
22528
|
+
writer.writeInt32(
|
|
22529
|
+
4,
|
|
22530
|
+
f
|
|
22531
|
+
);
|
|
22532
|
+
}
|
|
22533
|
+
};
|
|
22534
|
+
|
|
22535
|
+
|
|
22536
|
+
/**
|
|
22537
|
+
* optional int32 interface_id = 1;
|
|
22538
|
+
* @return {number}
|
|
22539
|
+
*/
|
|
22540
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.getInterfaceId = function() {
|
|
22541
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
22542
|
+
};
|
|
22543
|
+
|
|
22544
|
+
|
|
22545
|
+
/**
|
|
22546
|
+
* @param {number} value
|
|
22547
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest} returns this
|
|
22548
|
+
*/
|
|
22549
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.setInterfaceId = function(value) {
|
|
22550
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
22551
|
+
};
|
|
22552
|
+
|
|
22553
|
+
|
|
22554
|
+
/**
|
|
22555
|
+
* optional int32 device = 2;
|
|
22556
|
+
* @return {number}
|
|
22557
|
+
*/
|
|
22558
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.getDevice = function() {
|
|
22559
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
22560
|
+
};
|
|
22561
|
+
|
|
22562
|
+
|
|
22563
|
+
/**
|
|
22564
|
+
* @param {number} value
|
|
22565
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest} returns this
|
|
22566
|
+
*/
|
|
22567
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.setDevice = function(value) {
|
|
22568
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
22569
|
+
};
|
|
22570
|
+
|
|
22571
|
+
|
|
22572
|
+
/**
|
|
22573
|
+
* optional int32 channel_number = 3;
|
|
22574
|
+
* @return {number}
|
|
22575
|
+
*/
|
|
22576
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.getChannelNumber = function() {
|
|
22577
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
22578
|
+
};
|
|
22579
|
+
|
|
22580
|
+
|
|
22581
|
+
/**
|
|
22582
|
+
* @param {number} value
|
|
22583
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest} returns this
|
|
22584
|
+
*/
|
|
22585
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.setChannelNumber = function(value) {
|
|
22586
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
22587
|
+
};
|
|
22588
|
+
|
|
22589
|
+
|
|
22590
|
+
/**
|
|
22591
|
+
* optional int32 value = 4;
|
|
22592
|
+
* @return {number}
|
|
22593
|
+
*/
|
|
22594
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.getValue = function() {
|
|
22595
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
22596
|
+
};
|
|
22597
|
+
|
|
22598
|
+
|
|
22599
|
+
/**
|
|
22600
|
+
* @param {number} value
|
|
22601
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest} returns this
|
|
22602
|
+
*/
|
|
22603
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.setValue = function(value) {
|
|
22604
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
22605
|
+
};
|
|
22606
|
+
|
|
22607
|
+
|
|
22608
|
+
|
|
22609
|
+
|
|
22610
|
+
|
|
22611
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
22612
|
+
/**
|
|
22613
|
+
* Creates an object representation of this proto.
|
|
22614
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
22615
|
+
* Optional fields that are not set will be set to undefined.
|
|
22616
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
22617
|
+
* For the list of reserved names please see:
|
|
22618
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
22619
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
22620
|
+
* JSPB instance for transitional soy proto support:
|
|
22621
|
+
* http://goto/soy-param-migration
|
|
22622
|
+
* @return {!Object}
|
|
22623
|
+
*/
|
|
22624
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.toObject = function(opt_includeInstance) {
|
|
22625
|
+
return proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.toObject(opt_includeInstance, this);
|
|
22626
|
+
};
|
|
22627
|
+
|
|
22628
|
+
|
|
22629
|
+
/**
|
|
22630
|
+
* Static version of the {@see toObject} method.
|
|
22631
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22632
|
+
* the JSPB instance for transitional soy proto support:
|
|
22633
|
+
* http://goto/soy-param-migration
|
|
22634
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} msg The msg instance to transform.
|
|
22635
|
+
* @return {!Object}
|
|
22636
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22637
|
+
*/
|
|
22638
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.toObject = function(includeInstance, msg) {
|
|
22639
|
+
var f, obj = {
|
|
22640
|
+
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
22641
|
+
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
22642
|
+
channelNumber: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
22643
|
+
value: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
22644
|
+
futureValue: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
22645
|
+
delay: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
22646
|
+
unit: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
22647
|
+
};
|
|
22648
|
+
|
|
22649
|
+
if (includeInstance) {
|
|
22650
|
+
obj.$jspbMessageInstance = msg;
|
|
22651
|
+
}
|
|
22652
|
+
return obj;
|
|
22653
|
+
};
|
|
22654
|
+
}
|
|
22655
|
+
|
|
22656
|
+
|
|
22657
|
+
/**
|
|
22658
|
+
* Deserializes binary data (in protobuf wire format).
|
|
22659
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22660
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest}
|
|
22661
|
+
*/
|
|
22662
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.deserializeBinary = function(bytes) {
|
|
22663
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
22664
|
+
var msg = new proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest;
|
|
22665
|
+
return proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.deserializeBinaryFromReader(msg, reader);
|
|
22666
|
+
};
|
|
22667
|
+
|
|
22668
|
+
|
|
22669
|
+
/**
|
|
22670
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
22671
|
+
* given reader into the given message object.
|
|
22672
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} msg The message object to deserialize into.
|
|
22673
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22674
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest}
|
|
22675
|
+
*/
|
|
22676
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
22677
|
+
while (reader.nextField()) {
|
|
22678
|
+
if (reader.isEndGroup()) {
|
|
22679
|
+
break;
|
|
22680
|
+
}
|
|
22681
|
+
var field = reader.getFieldNumber();
|
|
22682
|
+
switch (field) {
|
|
22683
|
+
case 1:
|
|
22684
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22685
|
+
msg.setInterfaceId(value);
|
|
22686
|
+
break;
|
|
22687
|
+
case 2:
|
|
22688
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22689
|
+
msg.setDevice(value);
|
|
22690
|
+
break;
|
|
22691
|
+
case 3:
|
|
22692
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22693
|
+
msg.setChannelNumber(value);
|
|
22694
|
+
break;
|
|
22695
|
+
case 4:
|
|
22696
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22697
|
+
msg.setValue(value);
|
|
22698
|
+
break;
|
|
22699
|
+
case 5:
|
|
22700
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22701
|
+
msg.setFutureValue(value);
|
|
22702
|
+
break;
|
|
22703
|
+
case 6:
|
|
22704
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
22705
|
+
msg.setDelay(value);
|
|
22706
|
+
break;
|
|
22707
|
+
case 7:
|
|
22708
|
+
var value = /** @type {string} */ (reader.readString());
|
|
22709
|
+
msg.setUnit(value);
|
|
22710
|
+
break;
|
|
22711
|
+
default:
|
|
22712
|
+
reader.skipField();
|
|
22713
|
+
break;
|
|
22714
|
+
}
|
|
22715
|
+
}
|
|
22716
|
+
return msg;
|
|
22717
|
+
};
|
|
22718
|
+
|
|
22719
|
+
|
|
22720
|
+
/**
|
|
22721
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
22722
|
+
* @return {!Uint8Array}
|
|
22723
|
+
*/
|
|
22724
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.serializeBinary = function() {
|
|
22725
|
+
var writer = new jspb.BinaryWriter();
|
|
22726
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.serializeBinaryToWriter(this, writer);
|
|
22727
|
+
return writer.getResultBuffer();
|
|
22728
|
+
};
|
|
22729
|
+
|
|
22730
|
+
|
|
22731
|
+
/**
|
|
22732
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
22733
|
+
* format), writing to the given BinaryWriter.
|
|
22734
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} message
|
|
22735
|
+
* @param {!jspb.BinaryWriter} writer
|
|
22736
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22737
|
+
*/
|
|
22738
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.serializeBinaryToWriter = function(message, writer) {
|
|
22739
|
+
var f = undefined;
|
|
22740
|
+
f = message.getInterfaceId();
|
|
22741
|
+
if (f !== 0) {
|
|
22742
|
+
writer.writeInt32(
|
|
22743
|
+
1,
|
|
22744
|
+
f
|
|
22745
|
+
);
|
|
22746
|
+
}
|
|
22747
|
+
f = message.getDevice();
|
|
22748
|
+
if (f !== 0) {
|
|
22749
|
+
writer.writeInt32(
|
|
22750
|
+
2,
|
|
22751
|
+
f
|
|
22752
|
+
);
|
|
22753
|
+
}
|
|
22754
|
+
f = message.getChannelNumber();
|
|
22755
|
+
if (f !== 0) {
|
|
22756
|
+
writer.writeInt32(
|
|
22757
|
+
3,
|
|
22758
|
+
f
|
|
22759
|
+
);
|
|
22760
|
+
}
|
|
22761
|
+
f = message.getValue();
|
|
22762
|
+
if (f !== 0) {
|
|
22763
|
+
writer.writeInt32(
|
|
22764
|
+
4,
|
|
22765
|
+
f
|
|
22766
|
+
);
|
|
22767
|
+
}
|
|
22768
|
+
f = message.getFutureValue();
|
|
22769
|
+
if (f !== 0) {
|
|
22770
|
+
writer.writeInt32(
|
|
22771
|
+
5,
|
|
22772
|
+
f
|
|
22773
|
+
);
|
|
22774
|
+
}
|
|
22775
|
+
f = message.getDelay();
|
|
22776
|
+
if (f !== 0.0) {
|
|
22777
|
+
writer.writeDouble(
|
|
22778
|
+
6,
|
|
22779
|
+
f
|
|
22780
|
+
);
|
|
22781
|
+
}
|
|
22782
|
+
f = message.getUnit();
|
|
22783
|
+
if (f.length > 0) {
|
|
22784
|
+
writer.writeString(
|
|
22785
|
+
7,
|
|
22786
|
+
f
|
|
22787
|
+
);
|
|
22788
|
+
}
|
|
22789
|
+
};
|
|
22790
|
+
|
|
22791
|
+
|
|
22792
|
+
/**
|
|
22793
|
+
* optional int32 interface_id = 1;
|
|
22794
|
+
* @return {number}
|
|
22795
|
+
*/
|
|
22796
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.getInterfaceId = function() {
|
|
22797
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
22798
|
+
};
|
|
22799
|
+
|
|
22800
|
+
|
|
22801
|
+
/**
|
|
22802
|
+
* @param {number} value
|
|
22803
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} returns this
|
|
22804
|
+
*/
|
|
22805
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.setInterfaceId = function(value) {
|
|
22806
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
22807
|
+
};
|
|
22808
|
+
|
|
22809
|
+
|
|
22810
|
+
/**
|
|
22811
|
+
* optional int32 device = 2;
|
|
22812
|
+
* @return {number}
|
|
22813
|
+
*/
|
|
22814
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.getDevice = function() {
|
|
22815
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
22816
|
+
};
|
|
22817
|
+
|
|
22818
|
+
|
|
22819
|
+
/**
|
|
22820
|
+
* @param {number} value
|
|
22821
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} returns this
|
|
22822
|
+
*/
|
|
22823
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.setDevice = function(value) {
|
|
22824
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
22825
|
+
};
|
|
22826
|
+
|
|
22827
|
+
|
|
22828
|
+
/**
|
|
22829
|
+
* optional int32 channel_number = 3;
|
|
22830
|
+
* @return {number}
|
|
22831
|
+
*/
|
|
22832
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.getChannelNumber = function() {
|
|
22833
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
22834
|
+
};
|
|
22835
|
+
|
|
22836
|
+
|
|
22837
|
+
/**
|
|
22838
|
+
* @param {number} value
|
|
22839
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} returns this
|
|
22840
|
+
*/
|
|
22841
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.setChannelNumber = function(value) {
|
|
22842
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
22843
|
+
};
|
|
22844
|
+
|
|
22845
|
+
|
|
22846
|
+
/**
|
|
22847
|
+
* optional int32 value = 4;
|
|
22848
|
+
* @return {number}
|
|
22849
|
+
*/
|
|
22850
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.getValue = function() {
|
|
22851
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
22852
|
+
};
|
|
22853
|
+
|
|
22854
|
+
|
|
22855
|
+
/**
|
|
22856
|
+
* @param {number} value
|
|
22857
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} returns this
|
|
22858
|
+
*/
|
|
22859
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.setValue = function(value) {
|
|
22860
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
22861
|
+
};
|
|
22862
|
+
|
|
22863
|
+
|
|
22864
|
+
/**
|
|
22865
|
+
* optional int32 future_value = 5;
|
|
22866
|
+
* @return {number}
|
|
22867
|
+
*/
|
|
22868
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.getFutureValue = function() {
|
|
22869
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
22870
|
+
};
|
|
22871
|
+
|
|
22872
|
+
|
|
22873
|
+
/**
|
|
22874
|
+
* @param {number} value
|
|
22875
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} returns this
|
|
22876
|
+
*/
|
|
22877
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.setFutureValue = function(value) {
|
|
22878
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
22879
|
+
};
|
|
22880
|
+
|
|
22881
|
+
|
|
22882
|
+
/**
|
|
22883
|
+
* optional double delay = 6;
|
|
22884
|
+
* @return {number}
|
|
22885
|
+
*/
|
|
22886
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.getDelay = function() {
|
|
22887
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
|
|
22888
|
+
};
|
|
22889
|
+
|
|
22890
|
+
|
|
22891
|
+
/**
|
|
22892
|
+
* @param {number} value
|
|
22893
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} returns this
|
|
22894
|
+
*/
|
|
22895
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.setDelay = function(value) {
|
|
22896
|
+
return jspb.Message.setProto3FloatField(this, 6, value);
|
|
22897
|
+
};
|
|
22898
|
+
|
|
22899
|
+
|
|
22900
|
+
/**
|
|
22901
|
+
* optional string unit = 7;
|
|
22902
|
+
* @return {string}
|
|
22903
|
+
*/
|
|
22904
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.getUnit = function() {
|
|
22905
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
22906
|
+
};
|
|
22907
|
+
|
|
22908
|
+
|
|
22909
|
+
/**
|
|
22910
|
+
* @param {string} value
|
|
22911
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} returns this
|
|
22912
|
+
*/
|
|
22913
|
+
proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.setUnit = function(value) {
|
|
22914
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
22915
|
+
};
|
|
22916
|
+
|
|
22917
|
+
|
|
22918
|
+
|
|
22919
|
+
|
|
22920
|
+
|
|
22921
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
22922
|
+
/**
|
|
22923
|
+
* Creates an object representation of this proto.
|
|
22924
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
22925
|
+
* Optional fields that are not set will be set to undefined.
|
|
22926
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
22927
|
+
* For the list of reserved names please see:
|
|
22928
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
22929
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
22930
|
+
* JSPB instance for transitional soy proto support:
|
|
22931
|
+
* http://goto/soy-param-migration
|
|
22932
|
+
* @return {!Object}
|
|
22933
|
+
*/
|
|
22934
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.prototype.toObject = function(opt_includeInstance) {
|
|
22935
|
+
return proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.toObject(opt_includeInstance, this);
|
|
22936
|
+
};
|
|
22937
|
+
|
|
22938
|
+
|
|
22939
|
+
/**
|
|
22940
|
+
* Static version of the {@see toObject} method.
|
|
22941
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22942
|
+
* the JSPB instance for transitional soy proto support:
|
|
22943
|
+
* http://goto/soy-param-migration
|
|
22944
|
+
* @param {!proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest} msg The msg instance to transform.
|
|
22945
|
+
* @return {!Object}
|
|
22946
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22947
|
+
*/
|
|
22948
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.toObject = function(includeInstance, msg) {
|
|
22949
|
+
var f, obj = {
|
|
22950
|
+
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
22951
|
+
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
22952
|
+
analog: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
22953
|
+
channelNumber: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
22954
|
+
};
|
|
22955
|
+
|
|
22956
|
+
if (includeInstance) {
|
|
22957
|
+
obj.$jspbMessageInstance = msg;
|
|
22958
|
+
}
|
|
22959
|
+
return obj;
|
|
22960
|
+
};
|
|
22961
|
+
}
|
|
22962
|
+
|
|
22963
|
+
|
|
22964
|
+
/**
|
|
22965
|
+
* Deserializes binary data (in protobuf wire format).
|
|
22966
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22967
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest}
|
|
22968
|
+
*/
|
|
22969
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.deserializeBinary = function(bytes) {
|
|
22970
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
22971
|
+
var msg = new proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest;
|
|
22972
|
+
return proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.deserializeBinaryFromReader(msg, reader);
|
|
22973
|
+
};
|
|
22974
|
+
|
|
22975
|
+
|
|
22976
|
+
/**
|
|
22977
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
22978
|
+
* given reader into the given message object.
|
|
22979
|
+
* @param {!proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest} msg The message object to deserialize into.
|
|
22980
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22981
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest}
|
|
22982
|
+
*/
|
|
22983
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
22984
|
+
while (reader.nextField()) {
|
|
22985
|
+
if (reader.isEndGroup()) {
|
|
22986
|
+
break;
|
|
22987
|
+
}
|
|
22988
|
+
var field = reader.getFieldNumber();
|
|
22989
|
+
switch (field) {
|
|
22990
|
+
case 1:
|
|
22991
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22992
|
+
msg.setInterfaceId(value);
|
|
22993
|
+
break;
|
|
22994
|
+
case 2:
|
|
22995
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22996
|
+
msg.setDevice(value);
|
|
22997
|
+
break;
|
|
22998
|
+
case 3:
|
|
22999
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
23000
|
+
msg.setAnalog(value);
|
|
23001
|
+
break;
|
|
23002
|
+
case 4:
|
|
23003
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23004
|
+
msg.setChannelNumber(value);
|
|
23005
|
+
break;
|
|
23006
|
+
default:
|
|
23007
|
+
reader.skipField();
|
|
23008
|
+
break;
|
|
23009
|
+
}
|
|
23010
|
+
}
|
|
23011
|
+
return msg;
|
|
23012
|
+
};
|
|
23013
|
+
|
|
23014
|
+
|
|
23015
|
+
/**
|
|
23016
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
23017
|
+
* @return {!Uint8Array}
|
|
23018
|
+
*/
|
|
23019
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.prototype.serializeBinary = function() {
|
|
23020
|
+
var writer = new jspb.BinaryWriter();
|
|
23021
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.serializeBinaryToWriter(this, writer);
|
|
23022
|
+
return writer.getResultBuffer();
|
|
23023
|
+
};
|
|
23024
|
+
|
|
23025
|
+
|
|
23026
|
+
/**
|
|
23027
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
23028
|
+
* format), writing to the given BinaryWriter.
|
|
23029
|
+
* @param {!proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest} message
|
|
23030
|
+
* @param {!jspb.BinaryWriter} writer
|
|
23031
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23032
|
+
*/
|
|
23033
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.serializeBinaryToWriter = function(message, writer) {
|
|
23034
|
+
var f = undefined;
|
|
23035
|
+
f = message.getInterfaceId();
|
|
23036
|
+
if (f !== 0) {
|
|
23037
|
+
writer.writeInt32(
|
|
23038
|
+
1,
|
|
23039
|
+
f
|
|
23040
|
+
);
|
|
23041
|
+
}
|
|
23042
|
+
f = message.getDevice();
|
|
23043
|
+
if (f !== 0) {
|
|
23044
|
+
writer.writeInt32(
|
|
23045
|
+
2,
|
|
23046
|
+
f
|
|
23047
|
+
);
|
|
23048
|
+
}
|
|
23049
|
+
f = message.getAnalog();
|
|
23050
|
+
if (f) {
|
|
23051
|
+
writer.writeBool(
|
|
23052
|
+
3,
|
|
23053
|
+
f
|
|
23054
|
+
);
|
|
23055
|
+
}
|
|
23056
|
+
f = message.getChannelNumber();
|
|
23057
|
+
if (f !== 0) {
|
|
23058
|
+
writer.writeInt32(
|
|
23059
|
+
4,
|
|
23060
|
+
f
|
|
23061
|
+
);
|
|
23062
|
+
}
|
|
23063
|
+
};
|
|
23064
|
+
|
|
23065
|
+
|
|
23066
|
+
/**
|
|
23067
|
+
* optional int32 interface_id = 1;
|
|
23068
|
+
* @return {number}
|
|
23069
|
+
*/
|
|
23070
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.prototype.getInterfaceId = function() {
|
|
23071
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
22057
23072
|
};
|
|
22058
23073
|
|
|
22059
23074
|
|
|
22060
23075
|
/**
|
|
22061
23076
|
* @param {number} value
|
|
22062
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
23077
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest} returns this
|
|
22063
23078
|
*/
|
|
22064
|
-
proto.zaber.motion.protobufs.
|
|
22065
|
-
return jspb.Message.setProto3IntField(this,
|
|
23079
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.prototype.setInterfaceId = function(value) {
|
|
23080
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
22066
23081
|
};
|
|
22067
23082
|
|
|
22068
23083
|
|
|
22069
23084
|
/**
|
|
22070
|
-
* optional int32
|
|
23085
|
+
* optional int32 device = 2;
|
|
22071
23086
|
* @return {number}
|
|
22072
23087
|
*/
|
|
22073
|
-
proto.zaber.motion.protobufs.
|
|
23088
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.prototype.getDevice = function() {
|
|
23089
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
23090
|
+
};
|
|
23091
|
+
|
|
23092
|
+
|
|
23093
|
+
/**
|
|
23094
|
+
* @param {number} value
|
|
23095
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest} returns this
|
|
23096
|
+
*/
|
|
23097
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.prototype.setDevice = function(value) {
|
|
23098
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
23099
|
+
};
|
|
23100
|
+
|
|
23101
|
+
|
|
23102
|
+
/**
|
|
23103
|
+
* optional bool analog = 3;
|
|
23104
|
+
* @return {boolean}
|
|
23105
|
+
*/
|
|
23106
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.prototype.getAnalog = function() {
|
|
23107
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
23108
|
+
};
|
|
23109
|
+
|
|
23110
|
+
|
|
23111
|
+
/**
|
|
23112
|
+
* @param {boolean} value
|
|
23113
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest} returns this
|
|
23114
|
+
*/
|
|
23115
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.prototype.setAnalog = function(value) {
|
|
23116
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
23117
|
+
};
|
|
23118
|
+
|
|
23119
|
+
|
|
23120
|
+
/**
|
|
23121
|
+
* optional int32 channel_number = 4;
|
|
23122
|
+
* @return {number}
|
|
23123
|
+
*/
|
|
23124
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.prototype.getChannelNumber = function() {
|
|
22074
23125
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
22075
23126
|
};
|
|
22076
23127
|
|
|
22077
23128
|
|
|
22078
23129
|
/**
|
|
22079
23130
|
* @param {number} value
|
|
22080
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
23131
|
+
* @return {!proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest} returns this
|
|
23132
|
+
*/
|
|
23133
|
+
proto.zaber.motion.protobufs.DeviceCancelOutputScheduleRequest.prototype.setChannelNumber = function(value) {
|
|
23134
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
23135
|
+
};
|
|
23136
|
+
|
|
23137
|
+
|
|
23138
|
+
|
|
23139
|
+
|
|
23140
|
+
|
|
23141
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
23142
|
+
/**
|
|
23143
|
+
* Creates an object representation of this proto.
|
|
23144
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
23145
|
+
* Optional fields that are not set will be set to undefined.
|
|
23146
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
23147
|
+
* For the list of reserved names please see:
|
|
23148
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
23149
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
23150
|
+
* JSPB instance for transitional soy proto support:
|
|
23151
|
+
* http://goto/soy-param-migration
|
|
23152
|
+
* @return {!Object}
|
|
23153
|
+
*/
|
|
23154
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.prototype.toObject = function(opt_includeInstance) {
|
|
23155
|
+
return proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.toObject(opt_includeInstance, this);
|
|
23156
|
+
};
|
|
23157
|
+
|
|
23158
|
+
|
|
23159
|
+
/**
|
|
23160
|
+
* Static version of the {@see toObject} method.
|
|
23161
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
23162
|
+
* the JSPB instance for transitional soy proto support:
|
|
23163
|
+
* http://goto/soy-param-migration
|
|
23164
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest} msg The msg instance to transform.
|
|
23165
|
+
* @return {!Object}
|
|
23166
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23167
|
+
*/
|
|
23168
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.toObject = function(includeInstance, msg) {
|
|
23169
|
+
var f, obj = {
|
|
23170
|
+
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
23171
|
+
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
23172
|
+
channelNumber: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
23173
|
+
value: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0)
|
|
23174
|
+
};
|
|
23175
|
+
|
|
23176
|
+
if (includeInstance) {
|
|
23177
|
+
obj.$jspbMessageInstance = msg;
|
|
23178
|
+
}
|
|
23179
|
+
return obj;
|
|
23180
|
+
};
|
|
23181
|
+
}
|
|
23182
|
+
|
|
23183
|
+
|
|
23184
|
+
/**
|
|
23185
|
+
* Deserializes binary data (in protobuf wire format).
|
|
23186
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
23187
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest}
|
|
23188
|
+
*/
|
|
23189
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.deserializeBinary = function(bytes) {
|
|
23190
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
23191
|
+
var msg = new proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest;
|
|
23192
|
+
return proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.deserializeBinaryFromReader(msg, reader);
|
|
23193
|
+
};
|
|
23194
|
+
|
|
23195
|
+
|
|
23196
|
+
/**
|
|
23197
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
23198
|
+
* given reader into the given message object.
|
|
23199
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest} msg The message object to deserialize into.
|
|
23200
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
23201
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest}
|
|
23202
|
+
*/
|
|
23203
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
23204
|
+
while (reader.nextField()) {
|
|
23205
|
+
if (reader.isEndGroup()) {
|
|
23206
|
+
break;
|
|
23207
|
+
}
|
|
23208
|
+
var field = reader.getFieldNumber();
|
|
23209
|
+
switch (field) {
|
|
23210
|
+
case 1:
|
|
23211
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23212
|
+
msg.setInterfaceId(value);
|
|
23213
|
+
break;
|
|
23214
|
+
case 2:
|
|
23215
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23216
|
+
msg.setDevice(value);
|
|
23217
|
+
break;
|
|
23218
|
+
case 3:
|
|
23219
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23220
|
+
msg.setChannelNumber(value);
|
|
23221
|
+
break;
|
|
23222
|
+
case 4:
|
|
23223
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
23224
|
+
msg.setValue(value);
|
|
23225
|
+
break;
|
|
23226
|
+
default:
|
|
23227
|
+
reader.skipField();
|
|
23228
|
+
break;
|
|
23229
|
+
}
|
|
23230
|
+
}
|
|
23231
|
+
return msg;
|
|
23232
|
+
};
|
|
23233
|
+
|
|
23234
|
+
|
|
23235
|
+
/**
|
|
23236
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
23237
|
+
* @return {!Uint8Array}
|
|
23238
|
+
*/
|
|
23239
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.prototype.serializeBinary = function() {
|
|
23240
|
+
var writer = new jspb.BinaryWriter();
|
|
23241
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.serializeBinaryToWriter(this, writer);
|
|
23242
|
+
return writer.getResultBuffer();
|
|
23243
|
+
};
|
|
23244
|
+
|
|
23245
|
+
|
|
23246
|
+
/**
|
|
23247
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
23248
|
+
* format), writing to the given BinaryWriter.
|
|
23249
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest} message
|
|
23250
|
+
* @param {!jspb.BinaryWriter} writer
|
|
23251
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23252
|
+
*/
|
|
23253
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.serializeBinaryToWriter = function(message, writer) {
|
|
23254
|
+
var f = undefined;
|
|
23255
|
+
f = message.getInterfaceId();
|
|
23256
|
+
if (f !== 0) {
|
|
23257
|
+
writer.writeInt32(
|
|
23258
|
+
1,
|
|
23259
|
+
f
|
|
23260
|
+
);
|
|
23261
|
+
}
|
|
23262
|
+
f = message.getDevice();
|
|
23263
|
+
if (f !== 0) {
|
|
23264
|
+
writer.writeInt32(
|
|
23265
|
+
2,
|
|
23266
|
+
f
|
|
23267
|
+
);
|
|
23268
|
+
}
|
|
23269
|
+
f = message.getChannelNumber();
|
|
23270
|
+
if (f !== 0) {
|
|
23271
|
+
writer.writeInt32(
|
|
23272
|
+
3,
|
|
23273
|
+
f
|
|
23274
|
+
);
|
|
23275
|
+
}
|
|
23276
|
+
f = message.getValue();
|
|
23277
|
+
if (f !== 0.0) {
|
|
23278
|
+
writer.writeDouble(
|
|
23279
|
+
4,
|
|
23280
|
+
f
|
|
23281
|
+
);
|
|
23282
|
+
}
|
|
23283
|
+
};
|
|
23284
|
+
|
|
23285
|
+
|
|
23286
|
+
/**
|
|
23287
|
+
* optional int32 interface_id = 1;
|
|
23288
|
+
* @return {number}
|
|
23289
|
+
*/
|
|
23290
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.prototype.getInterfaceId = function() {
|
|
23291
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
23292
|
+
};
|
|
23293
|
+
|
|
23294
|
+
|
|
23295
|
+
/**
|
|
23296
|
+
* @param {number} value
|
|
23297
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest} returns this
|
|
23298
|
+
*/
|
|
23299
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.prototype.setInterfaceId = function(value) {
|
|
23300
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
23301
|
+
};
|
|
23302
|
+
|
|
23303
|
+
|
|
23304
|
+
/**
|
|
23305
|
+
* optional int32 device = 2;
|
|
23306
|
+
* @return {number}
|
|
23307
|
+
*/
|
|
23308
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.prototype.getDevice = function() {
|
|
23309
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
23310
|
+
};
|
|
23311
|
+
|
|
23312
|
+
|
|
23313
|
+
/**
|
|
23314
|
+
* @param {number} value
|
|
23315
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest} returns this
|
|
23316
|
+
*/
|
|
23317
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.prototype.setDevice = function(value) {
|
|
23318
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
23319
|
+
};
|
|
23320
|
+
|
|
23321
|
+
|
|
23322
|
+
/**
|
|
23323
|
+
* optional int32 channel_number = 3;
|
|
23324
|
+
* @return {number}
|
|
23325
|
+
*/
|
|
23326
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.prototype.getChannelNumber = function() {
|
|
23327
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
23328
|
+
};
|
|
23329
|
+
|
|
23330
|
+
|
|
23331
|
+
/**
|
|
23332
|
+
* @param {number} value
|
|
23333
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest} returns this
|
|
23334
|
+
*/
|
|
23335
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.prototype.setChannelNumber = function(value) {
|
|
23336
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
23337
|
+
};
|
|
23338
|
+
|
|
23339
|
+
|
|
23340
|
+
/**
|
|
23341
|
+
* optional double value = 4;
|
|
23342
|
+
* @return {number}
|
|
23343
|
+
*/
|
|
23344
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.prototype.getValue = function() {
|
|
23345
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
23346
|
+
};
|
|
23347
|
+
|
|
23348
|
+
|
|
23349
|
+
/**
|
|
23350
|
+
* @param {number} value
|
|
23351
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest} returns this
|
|
22081
23352
|
*/
|
|
22082
|
-
proto.zaber.motion.protobufs.
|
|
22083
|
-
return jspb.Message.
|
|
23353
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.prototype.setValue = function(value) {
|
|
23354
|
+
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
22084
23355
|
};
|
|
22085
23356
|
|
|
22086
23357
|
|
|
@@ -22100,8 +23371,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
22100
23371
|
* http://goto/soy-param-migration
|
|
22101
23372
|
* @return {!Object}
|
|
22102
23373
|
*/
|
|
22103
|
-
proto.zaber.motion.protobufs.
|
|
22104
|
-
return proto.zaber.motion.protobufs.
|
|
23374
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.toObject = function(opt_includeInstance) {
|
|
23375
|
+
return proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.toObject(opt_includeInstance, this);
|
|
22105
23376
|
};
|
|
22106
23377
|
|
|
22107
23378
|
|
|
@@ -22110,17 +23381,17 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.toO
|
|
|
22110
23381
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22111
23382
|
* the JSPB instance for transitional soy proto support:
|
|
22112
23383
|
* http://goto/soy-param-migration
|
|
22113
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
23384
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest} msg The msg instance to transform.
|
|
22114
23385
|
* @return {!Object}
|
|
22115
23386
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22116
23387
|
*/
|
|
22117
|
-
proto.zaber.motion.protobufs.
|
|
23388
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.toObject = function(includeInstance, msg) {
|
|
22118
23389
|
var f, obj = {
|
|
22119
23390
|
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
22120
23391
|
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
22121
23392
|
channelNumber: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
22122
|
-
value: jspb.Message.
|
|
22123
|
-
futureValue: jspb.Message.
|
|
23393
|
+
value: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
23394
|
+
futureValue: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
22124
23395
|
delay: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
22125
23396
|
unit: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
22126
23397
|
};
|
|
@@ -22136,23 +23407,23 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.toObject = fu
|
|
|
22136
23407
|
/**
|
|
22137
23408
|
* Deserializes binary data (in protobuf wire format).
|
|
22138
23409
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22139
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
23410
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest}
|
|
22140
23411
|
*/
|
|
22141
|
-
proto.zaber.motion.protobufs.
|
|
23412
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.deserializeBinary = function(bytes) {
|
|
22142
23413
|
var reader = new jspb.BinaryReader(bytes);
|
|
22143
|
-
var msg = new proto.zaber.motion.protobufs.
|
|
22144
|
-
return proto.zaber.motion.protobufs.
|
|
23414
|
+
var msg = new proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest;
|
|
23415
|
+
return proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.deserializeBinaryFromReader(msg, reader);
|
|
22145
23416
|
};
|
|
22146
23417
|
|
|
22147
23418
|
|
|
22148
23419
|
/**
|
|
22149
23420
|
* Deserializes binary data (in protobuf wire format) from the
|
|
22150
23421
|
* given reader into the given message object.
|
|
22151
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
23422
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest} msg The message object to deserialize into.
|
|
22152
23423
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22153
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
23424
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest}
|
|
22154
23425
|
*/
|
|
22155
|
-
proto.zaber.motion.protobufs.
|
|
23426
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
22156
23427
|
while (reader.nextField()) {
|
|
22157
23428
|
if (reader.isEndGroup()) {
|
|
22158
23429
|
break;
|
|
@@ -22172,11 +23443,11 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.deserializeBi
|
|
|
22172
23443
|
msg.setChannelNumber(value);
|
|
22173
23444
|
break;
|
|
22174
23445
|
case 4:
|
|
22175
|
-
var value = /** @type {number} */ (reader.
|
|
23446
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
22176
23447
|
msg.setValue(value);
|
|
22177
23448
|
break;
|
|
22178
23449
|
case 5:
|
|
22179
|
-
var value = /** @type {number} */ (reader.
|
|
23450
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
22180
23451
|
msg.setFutureValue(value);
|
|
22181
23452
|
break;
|
|
22182
23453
|
case 6:
|
|
@@ -22200,9 +23471,9 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.deserializeBi
|
|
|
22200
23471
|
* Serializes the message to binary data (in protobuf wire format).
|
|
22201
23472
|
* @return {!Uint8Array}
|
|
22202
23473
|
*/
|
|
22203
|
-
proto.zaber.motion.protobufs.
|
|
23474
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.serializeBinary = function() {
|
|
22204
23475
|
var writer = new jspb.BinaryWriter();
|
|
22205
|
-
proto.zaber.motion.protobufs.
|
|
23476
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.serializeBinaryToWriter(this, writer);
|
|
22206
23477
|
return writer.getResultBuffer();
|
|
22207
23478
|
};
|
|
22208
23479
|
|
|
@@ -22210,11 +23481,11 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.ser
|
|
|
22210
23481
|
/**
|
|
22211
23482
|
* Serializes the given message to binary data (in protobuf wire
|
|
22212
23483
|
* format), writing to the given BinaryWriter.
|
|
22213
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
23484
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest} message
|
|
22214
23485
|
* @param {!jspb.BinaryWriter} writer
|
|
22215
23486
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22216
23487
|
*/
|
|
22217
|
-
proto.zaber.motion.protobufs.
|
|
23488
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.serializeBinaryToWriter = function(message, writer) {
|
|
22218
23489
|
var f = undefined;
|
|
22219
23490
|
f = message.getInterfaceId();
|
|
22220
23491
|
if (f !== 0) {
|
|
@@ -22238,15 +23509,15 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.serializeBina
|
|
|
22238
23509
|
);
|
|
22239
23510
|
}
|
|
22240
23511
|
f = message.getValue();
|
|
22241
|
-
if (f !== 0) {
|
|
22242
|
-
writer.
|
|
23512
|
+
if (f !== 0.0) {
|
|
23513
|
+
writer.writeDouble(
|
|
22243
23514
|
4,
|
|
22244
23515
|
f
|
|
22245
23516
|
);
|
|
22246
23517
|
}
|
|
22247
23518
|
f = message.getFutureValue();
|
|
22248
|
-
if (f !== 0) {
|
|
22249
|
-
writer.
|
|
23519
|
+
if (f !== 0.0) {
|
|
23520
|
+
writer.writeDouble(
|
|
22250
23521
|
5,
|
|
22251
23522
|
f
|
|
22252
23523
|
);
|
|
@@ -22272,16 +23543,16 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.serializeBina
|
|
|
22272
23543
|
* optional int32 interface_id = 1;
|
|
22273
23544
|
* @return {number}
|
|
22274
23545
|
*/
|
|
22275
|
-
proto.zaber.motion.protobufs.
|
|
23546
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.getInterfaceId = function() {
|
|
22276
23547
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
22277
23548
|
};
|
|
22278
23549
|
|
|
22279
23550
|
|
|
22280
23551
|
/**
|
|
22281
23552
|
* @param {number} value
|
|
22282
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
23553
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest} returns this
|
|
22283
23554
|
*/
|
|
22284
|
-
proto.zaber.motion.protobufs.
|
|
23555
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.setInterfaceId = function(value) {
|
|
22285
23556
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
22286
23557
|
};
|
|
22287
23558
|
|
|
@@ -22290,16 +23561,16 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.set
|
|
|
22290
23561
|
* optional int32 device = 2;
|
|
22291
23562
|
* @return {number}
|
|
22292
23563
|
*/
|
|
22293
|
-
proto.zaber.motion.protobufs.
|
|
23564
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.getDevice = function() {
|
|
22294
23565
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
22295
23566
|
};
|
|
22296
23567
|
|
|
22297
23568
|
|
|
22298
23569
|
/**
|
|
22299
23570
|
* @param {number} value
|
|
22300
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
23571
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest} returns this
|
|
22301
23572
|
*/
|
|
22302
|
-
proto.zaber.motion.protobufs.
|
|
23573
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.setDevice = function(value) {
|
|
22303
23574
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
22304
23575
|
};
|
|
22305
23576
|
|
|
@@ -22308,89 +23579,339 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.set
|
|
|
22308
23579
|
* optional int32 channel_number = 3;
|
|
22309
23580
|
* @return {number}
|
|
22310
23581
|
*/
|
|
22311
|
-
proto.zaber.motion.protobufs.
|
|
23582
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.getChannelNumber = function() {
|
|
22312
23583
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
22313
23584
|
};
|
|
22314
23585
|
|
|
22315
23586
|
|
|
22316
23587
|
/**
|
|
22317
23588
|
* @param {number} value
|
|
22318
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
23589
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest} returns this
|
|
23590
|
+
*/
|
|
23591
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.setChannelNumber = function(value) {
|
|
23592
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
23593
|
+
};
|
|
23594
|
+
|
|
23595
|
+
|
|
23596
|
+
/**
|
|
23597
|
+
* optional double value = 4;
|
|
23598
|
+
* @return {number}
|
|
23599
|
+
*/
|
|
23600
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.getValue = function() {
|
|
23601
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
23602
|
+
};
|
|
23603
|
+
|
|
23604
|
+
|
|
23605
|
+
/**
|
|
23606
|
+
* @param {number} value
|
|
23607
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest} returns this
|
|
23608
|
+
*/
|
|
23609
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.setValue = function(value) {
|
|
23610
|
+
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
23611
|
+
};
|
|
23612
|
+
|
|
23613
|
+
|
|
23614
|
+
/**
|
|
23615
|
+
* optional double future_value = 5;
|
|
23616
|
+
* @return {number}
|
|
23617
|
+
*/
|
|
23618
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.getFutureValue = function() {
|
|
23619
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
|
23620
|
+
};
|
|
23621
|
+
|
|
23622
|
+
|
|
23623
|
+
/**
|
|
23624
|
+
* @param {number} value
|
|
23625
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest} returns this
|
|
23626
|
+
*/
|
|
23627
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.setFutureValue = function(value) {
|
|
23628
|
+
return jspb.Message.setProto3FloatField(this, 5, value);
|
|
23629
|
+
};
|
|
23630
|
+
|
|
23631
|
+
|
|
23632
|
+
/**
|
|
23633
|
+
* optional double delay = 6;
|
|
23634
|
+
* @return {number}
|
|
23635
|
+
*/
|
|
23636
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.getDelay = function() {
|
|
23637
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
|
|
23638
|
+
};
|
|
23639
|
+
|
|
23640
|
+
|
|
23641
|
+
/**
|
|
23642
|
+
* @param {number} value
|
|
23643
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest} returns this
|
|
23644
|
+
*/
|
|
23645
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.setDelay = function(value) {
|
|
23646
|
+
return jspb.Message.setProto3FloatField(this, 6, value);
|
|
23647
|
+
};
|
|
23648
|
+
|
|
23649
|
+
|
|
23650
|
+
/**
|
|
23651
|
+
* optional string unit = 7;
|
|
23652
|
+
* @return {string}
|
|
23653
|
+
*/
|
|
23654
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.getUnit = function() {
|
|
23655
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
23656
|
+
};
|
|
23657
|
+
|
|
23658
|
+
|
|
23659
|
+
/**
|
|
23660
|
+
* @param {string} value
|
|
23661
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest} returns this
|
|
23662
|
+
*/
|
|
23663
|
+
proto.zaber.motion.protobufs.DeviceSetAnalogOutputScheduleRequest.prototype.setUnit = function(value) {
|
|
23664
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
23665
|
+
};
|
|
23666
|
+
|
|
23667
|
+
|
|
23668
|
+
|
|
23669
|
+
|
|
23670
|
+
|
|
23671
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
23672
|
+
/**
|
|
23673
|
+
* Creates an object representation of this proto.
|
|
23674
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
23675
|
+
* Optional fields that are not set will be set to undefined.
|
|
23676
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
23677
|
+
* For the list of reserved names please see:
|
|
23678
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
23679
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
23680
|
+
* JSPB instance for transitional soy proto support:
|
|
23681
|
+
* http://goto/soy-param-migration
|
|
23682
|
+
* @return {!Object}
|
|
23683
|
+
*/
|
|
23684
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.prototype.toObject = function(opt_includeInstance) {
|
|
23685
|
+
return proto.zaber.motion.protobufs.SetIoPortLabel.toObject(opt_includeInstance, this);
|
|
23686
|
+
};
|
|
23687
|
+
|
|
23688
|
+
|
|
23689
|
+
/**
|
|
23690
|
+
* Static version of the {@see toObject} method.
|
|
23691
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
23692
|
+
* the JSPB instance for transitional soy proto support:
|
|
23693
|
+
* http://goto/soy-param-migration
|
|
23694
|
+
* @param {!proto.zaber.motion.protobufs.SetIoPortLabel} msg The msg instance to transform.
|
|
23695
|
+
* @return {!Object}
|
|
23696
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23697
|
+
*/
|
|
23698
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.toObject = function(includeInstance, msg) {
|
|
23699
|
+
var f, obj = {
|
|
23700
|
+
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
23701
|
+
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
23702
|
+
portType: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
23703
|
+
channelNumber: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
23704
|
+
label: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
23705
|
+
};
|
|
23706
|
+
|
|
23707
|
+
if (includeInstance) {
|
|
23708
|
+
obj.$jspbMessageInstance = msg;
|
|
23709
|
+
}
|
|
23710
|
+
return obj;
|
|
23711
|
+
};
|
|
23712
|
+
}
|
|
23713
|
+
|
|
23714
|
+
|
|
23715
|
+
/**
|
|
23716
|
+
* Deserializes binary data (in protobuf wire format).
|
|
23717
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
23718
|
+
* @return {!proto.zaber.motion.protobufs.SetIoPortLabel}
|
|
23719
|
+
*/
|
|
23720
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.deserializeBinary = function(bytes) {
|
|
23721
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
23722
|
+
var msg = new proto.zaber.motion.protobufs.SetIoPortLabel;
|
|
23723
|
+
return proto.zaber.motion.protobufs.SetIoPortLabel.deserializeBinaryFromReader(msg, reader);
|
|
23724
|
+
};
|
|
23725
|
+
|
|
23726
|
+
|
|
23727
|
+
/**
|
|
23728
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
23729
|
+
* given reader into the given message object.
|
|
23730
|
+
* @param {!proto.zaber.motion.protobufs.SetIoPortLabel} msg The message object to deserialize into.
|
|
23731
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
23732
|
+
* @return {!proto.zaber.motion.protobufs.SetIoPortLabel}
|
|
23733
|
+
*/
|
|
23734
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.deserializeBinaryFromReader = function(msg, reader) {
|
|
23735
|
+
while (reader.nextField()) {
|
|
23736
|
+
if (reader.isEndGroup()) {
|
|
23737
|
+
break;
|
|
23738
|
+
}
|
|
23739
|
+
var field = reader.getFieldNumber();
|
|
23740
|
+
switch (field) {
|
|
23741
|
+
case 1:
|
|
23742
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23743
|
+
msg.setInterfaceId(value);
|
|
23744
|
+
break;
|
|
23745
|
+
case 2:
|
|
23746
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23747
|
+
msg.setDevice(value);
|
|
23748
|
+
break;
|
|
23749
|
+
case 3:
|
|
23750
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23751
|
+
msg.setPortType(value);
|
|
23752
|
+
break;
|
|
23753
|
+
case 4:
|
|
23754
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23755
|
+
msg.setChannelNumber(value);
|
|
23756
|
+
break;
|
|
23757
|
+
case 5:
|
|
23758
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23759
|
+
msg.setLabel(value);
|
|
23760
|
+
break;
|
|
23761
|
+
default:
|
|
23762
|
+
reader.skipField();
|
|
23763
|
+
break;
|
|
23764
|
+
}
|
|
23765
|
+
}
|
|
23766
|
+
return msg;
|
|
23767
|
+
};
|
|
23768
|
+
|
|
23769
|
+
|
|
23770
|
+
/**
|
|
23771
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
23772
|
+
* @return {!Uint8Array}
|
|
23773
|
+
*/
|
|
23774
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.prototype.serializeBinary = function() {
|
|
23775
|
+
var writer = new jspb.BinaryWriter();
|
|
23776
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.serializeBinaryToWriter(this, writer);
|
|
23777
|
+
return writer.getResultBuffer();
|
|
23778
|
+
};
|
|
23779
|
+
|
|
23780
|
+
|
|
23781
|
+
/**
|
|
23782
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
23783
|
+
* format), writing to the given BinaryWriter.
|
|
23784
|
+
* @param {!proto.zaber.motion.protobufs.SetIoPortLabel} message
|
|
23785
|
+
* @param {!jspb.BinaryWriter} writer
|
|
23786
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23787
|
+
*/
|
|
23788
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.serializeBinaryToWriter = function(message, writer) {
|
|
23789
|
+
var f = undefined;
|
|
23790
|
+
f = message.getInterfaceId();
|
|
23791
|
+
if (f !== 0) {
|
|
23792
|
+
writer.writeInt32(
|
|
23793
|
+
1,
|
|
23794
|
+
f
|
|
23795
|
+
);
|
|
23796
|
+
}
|
|
23797
|
+
f = message.getDevice();
|
|
23798
|
+
if (f !== 0) {
|
|
23799
|
+
writer.writeInt32(
|
|
23800
|
+
2,
|
|
23801
|
+
f
|
|
23802
|
+
);
|
|
23803
|
+
}
|
|
23804
|
+
f = message.getPortType();
|
|
23805
|
+
if (f !== 0) {
|
|
23806
|
+
writer.writeInt32(
|
|
23807
|
+
3,
|
|
23808
|
+
f
|
|
23809
|
+
);
|
|
23810
|
+
}
|
|
23811
|
+
f = message.getChannelNumber();
|
|
23812
|
+
if (f !== 0) {
|
|
23813
|
+
writer.writeInt32(
|
|
23814
|
+
4,
|
|
23815
|
+
f
|
|
23816
|
+
);
|
|
23817
|
+
}
|
|
23818
|
+
f = message.getLabel();
|
|
23819
|
+
if (f.length > 0) {
|
|
23820
|
+
writer.writeString(
|
|
23821
|
+
5,
|
|
23822
|
+
f
|
|
23823
|
+
);
|
|
23824
|
+
}
|
|
23825
|
+
};
|
|
23826
|
+
|
|
23827
|
+
|
|
23828
|
+
/**
|
|
23829
|
+
* optional int32 interface_id = 1;
|
|
23830
|
+
* @return {number}
|
|
23831
|
+
*/
|
|
23832
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.prototype.getInterfaceId = function() {
|
|
23833
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
23834
|
+
};
|
|
23835
|
+
|
|
23836
|
+
|
|
23837
|
+
/**
|
|
23838
|
+
* @param {number} value
|
|
23839
|
+
* @return {!proto.zaber.motion.protobufs.SetIoPortLabel} returns this
|
|
22319
23840
|
*/
|
|
22320
|
-
proto.zaber.motion.protobufs.
|
|
22321
|
-
return jspb.Message.setProto3IntField(this,
|
|
23841
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.prototype.setInterfaceId = function(value) {
|
|
23842
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
22322
23843
|
};
|
|
22323
23844
|
|
|
22324
23845
|
|
|
22325
23846
|
/**
|
|
22326
|
-
* optional int32
|
|
23847
|
+
* optional int32 device = 2;
|
|
22327
23848
|
* @return {number}
|
|
22328
23849
|
*/
|
|
22329
|
-
proto.zaber.motion.protobufs.
|
|
22330
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
23850
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.prototype.getDevice = function() {
|
|
23851
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
22331
23852
|
};
|
|
22332
23853
|
|
|
22333
23854
|
|
|
22334
23855
|
/**
|
|
22335
23856
|
* @param {number} value
|
|
22336
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
23857
|
+
* @return {!proto.zaber.motion.protobufs.SetIoPortLabel} returns this
|
|
22337
23858
|
*/
|
|
22338
|
-
proto.zaber.motion.protobufs.
|
|
22339
|
-
return jspb.Message.setProto3IntField(this,
|
|
23859
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.prototype.setDevice = function(value) {
|
|
23860
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
22340
23861
|
};
|
|
22341
23862
|
|
|
22342
23863
|
|
|
22343
23864
|
/**
|
|
22344
|
-
* optional int32
|
|
23865
|
+
* optional int32 port_type = 3;
|
|
22345
23866
|
* @return {number}
|
|
22346
23867
|
*/
|
|
22347
|
-
proto.zaber.motion.protobufs.
|
|
22348
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
23868
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.prototype.getPortType = function() {
|
|
23869
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
22349
23870
|
};
|
|
22350
23871
|
|
|
22351
23872
|
|
|
22352
23873
|
/**
|
|
22353
23874
|
* @param {number} value
|
|
22354
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
23875
|
+
* @return {!proto.zaber.motion.protobufs.SetIoPortLabel} returns this
|
|
22355
23876
|
*/
|
|
22356
|
-
proto.zaber.motion.protobufs.
|
|
22357
|
-
return jspb.Message.setProto3IntField(this,
|
|
23877
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.prototype.setPortType = function(value) {
|
|
23878
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
22358
23879
|
};
|
|
22359
23880
|
|
|
22360
23881
|
|
|
22361
23882
|
/**
|
|
22362
|
-
* optional
|
|
23883
|
+
* optional int32 channel_number = 4;
|
|
22363
23884
|
* @return {number}
|
|
22364
23885
|
*/
|
|
22365
|
-
proto.zaber.motion.protobufs.
|
|
22366
|
-
return /** @type {number} */ (jspb.Message.
|
|
23886
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.prototype.getChannelNumber = function() {
|
|
23887
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
22367
23888
|
};
|
|
22368
23889
|
|
|
22369
23890
|
|
|
22370
23891
|
/**
|
|
22371
23892
|
* @param {number} value
|
|
22372
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
23893
|
+
* @return {!proto.zaber.motion.protobufs.SetIoPortLabel} returns this
|
|
22373
23894
|
*/
|
|
22374
|
-
proto.zaber.motion.protobufs.
|
|
22375
|
-
return jspb.Message.
|
|
23895
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.prototype.setChannelNumber = function(value) {
|
|
23896
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
22376
23897
|
};
|
|
22377
23898
|
|
|
22378
23899
|
|
|
22379
23900
|
/**
|
|
22380
|
-
* optional string
|
|
23901
|
+
* optional string label = 5;
|
|
22381
23902
|
* @return {string}
|
|
22382
23903
|
*/
|
|
22383
|
-
proto.zaber.motion.protobufs.
|
|
22384
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
23904
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.prototype.getLabel = function() {
|
|
23905
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
22385
23906
|
};
|
|
22386
23907
|
|
|
22387
23908
|
|
|
22388
23909
|
/**
|
|
22389
23910
|
* @param {string} value
|
|
22390
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
23911
|
+
* @return {!proto.zaber.motion.protobufs.SetIoPortLabel} returns this
|
|
22391
23912
|
*/
|
|
22392
|
-
proto.zaber.motion.protobufs.
|
|
22393
|
-
return jspb.Message.setProto3StringField(this,
|
|
23913
|
+
proto.zaber.motion.protobufs.SetIoPortLabel.prototype.setLabel = function(value) {
|
|
23914
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
22394
23915
|
};
|
|
22395
23916
|
|
|
22396
23917
|
|
|
@@ -22410,8 +23931,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
22410
23931
|
* http://goto/soy-param-migration
|
|
22411
23932
|
* @return {!Object}
|
|
22412
23933
|
*/
|
|
22413
|
-
proto.zaber.motion.protobufs.
|
|
22414
|
-
return proto.zaber.motion.protobufs.
|
|
23934
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.prototype.toObject = function(opt_includeInstance) {
|
|
23935
|
+
return proto.zaber.motion.protobufs.GetIoPortLabel.toObject(opt_includeInstance, this);
|
|
22415
23936
|
};
|
|
22416
23937
|
|
|
22417
23938
|
|
|
@@ -22420,15 +23941,16 @@ proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.prototype.
|
|
|
22420
23941
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22421
23942
|
* the JSPB instance for transitional soy proto support:
|
|
22422
23943
|
* http://goto/soy-param-migration
|
|
22423
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
23944
|
+
* @param {!proto.zaber.motion.protobufs.GetIoPortLabel} msg The msg instance to transform.
|
|
22424
23945
|
* @return {!Object}
|
|
22425
23946
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22426
23947
|
*/
|
|
22427
|
-
proto.zaber.motion.protobufs.
|
|
23948
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.toObject = function(includeInstance, msg) {
|
|
22428
23949
|
var f, obj = {
|
|
22429
23950
|
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
22430
23951
|
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
22431
|
-
|
|
23952
|
+
portType: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
23953
|
+
channelNumber: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
22432
23954
|
};
|
|
22433
23955
|
|
|
22434
23956
|
if (includeInstance) {
|
|
@@ -22442,23 +23964,23 @@ proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.toObject =
|
|
|
22442
23964
|
/**
|
|
22443
23965
|
* Deserializes binary data (in protobuf wire format).
|
|
22444
23966
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22445
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
23967
|
+
* @return {!proto.zaber.motion.protobufs.GetIoPortLabel}
|
|
22446
23968
|
*/
|
|
22447
|
-
proto.zaber.motion.protobufs.
|
|
23969
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.deserializeBinary = function(bytes) {
|
|
22448
23970
|
var reader = new jspb.BinaryReader(bytes);
|
|
22449
|
-
var msg = new proto.zaber.motion.protobufs.
|
|
22450
|
-
return proto.zaber.motion.protobufs.
|
|
23971
|
+
var msg = new proto.zaber.motion.protobufs.GetIoPortLabel;
|
|
23972
|
+
return proto.zaber.motion.protobufs.GetIoPortLabel.deserializeBinaryFromReader(msg, reader);
|
|
22451
23973
|
};
|
|
22452
23974
|
|
|
22453
23975
|
|
|
22454
23976
|
/**
|
|
22455
23977
|
* Deserializes binary data (in protobuf wire format) from the
|
|
22456
23978
|
* given reader into the given message object.
|
|
22457
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
23979
|
+
* @param {!proto.zaber.motion.protobufs.GetIoPortLabel} msg The message object to deserialize into.
|
|
22458
23980
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22459
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
23981
|
+
* @return {!proto.zaber.motion.protobufs.GetIoPortLabel}
|
|
22460
23982
|
*/
|
|
22461
|
-
proto.zaber.motion.protobufs.
|
|
23983
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.deserializeBinaryFromReader = function(msg, reader) {
|
|
22462
23984
|
while (reader.nextField()) {
|
|
22463
23985
|
if (reader.isEndGroup()) {
|
|
22464
23986
|
break;
|
|
@@ -22474,6 +23996,10 @@ proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.deserializ
|
|
|
22474
23996
|
msg.setDevice(value);
|
|
22475
23997
|
break;
|
|
22476
23998
|
case 3:
|
|
23999
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
24000
|
+
msg.setPortType(value);
|
|
24001
|
+
break;
|
|
24002
|
+
case 4:
|
|
22477
24003
|
var value = /** @type {number} */ (reader.readInt32());
|
|
22478
24004
|
msg.setChannelNumber(value);
|
|
22479
24005
|
break;
|
|
@@ -22490,9 +24016,9 @@ proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.deserializ
|
|
|
22490
24016
|
* Serializes the message to binary data (in protobuf wire format).
|
|
22491
24017
|
* @return {!Uint8Array}
|
|
22492
24018
|
*/
|
|
22493
|
-
proto.zaber.motion.protobufs.
|
|
24019
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.prototype.serializeBinary = function() {
|
|
22494
24020
|
var writer = new jspb.BinaryWriter();
|
|
22495
|
-
proto.zaber.motion.protobufs.
|
|
24021
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.serializeBinaryToWriter(this, writer);
|
|
22496
24022
|
return writer.getResultBuffer();
|
|
22497
24023
|
};
|
|
22498
24024
|
|
|
@@ -22500,11 +24026,11 @@ proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.prototype.
|
|
|
22500
24026
|
/**
|
|
22501
24027
|
* Serializes the given message to binary data (in protobuf wire
|
|
22502
24028
|
* format), writing to the given BinaryWriter.
|
|
22503
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
24029
|
+
* @param {!proto.zaber.motion.protobufs.GetIoPortLabel} message
|
|
22504
24030
|
* @param {!jspb.BinaryWriter} writer
|
|
22505
24031
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22506
24032
|
*/
|
|
22507
|
-
proto.zaber.motion.protobufs.
|
|
24033
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.serializeBinaryToWriter = function(message, writer) {
|
|
22508
24034
|
var f = undefined;
|
|
22509
24035
|
f = message.getInterfaceId();
|
|
22510
24036
|
if (f !== 0) {
|
|
@@ -22520,13 +24046,20 @@ proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.serializeB
|
|
|
22520
24046
|
f
|
|
22521
24047
|
);
|
|
22522
24048
|
}
|
|
22523
|
-
f = message.
|
|
24049
|
+
f = message.getPortType();
|
|
22524
24050
|
if (f !== 0) {
|
|
22525
24051
|
writer.writeInt32(
|
|
22526
24052
|
3,
|
|
22527
24053
|
f
|
|
22528
24054
|
);
|
|
22529
24055
|
}
|
|
24056
|
+
f = message.getChannelNumber();
|
|
24057
|
+
if (f !== 0) {
|
|
24058
|
+
writer.writeInt32(
|
|
24059
|
+
4,
|
|
24060
|
+
f
|
|
24061
|
+
);
|
|
24062
|
+
}
|
|
22530
24063
|
};
|
|
22531
24064
|
|
|
22532
24065
|
|
|
@@ -22534,16 +24067,16 @@ proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.serializeB
|
|
|
22534
24067
|
* optional int32 interface_id = 1;
|
|
22535
24068
|
* @return {number}
|
|
22536
24069
|
*/
|
|
22537
|
-
proto.zaber.motion.protobufs.
|
|
24070
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.prototype.getInterfaceId = function() {
|
|
22538
24071
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
22539
24072
|
};
|
|
22540
24073
|
|
|
22541
24074
|
|
|
22542
24075
|
/**
|
|
22543
24076
|
* @param {number} value
|
|
22544
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
24077
|
+
* @return {!proto.zaber.motion.protobufs.GetIoPortLabel} returns this
|
|
22545
24078
|
*/
|
|
22546
|
-
proto.zaber.motion.protobufs.
|
|
24079
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.prototype.setInterfaceId = function(value) {
|
|
22547
24080
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
22548
24081
|
};
|
|
22549
24082
|
|
|
@@ -22552,38 +24085,56 @@ proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.prototype.
|
|
|
22552
24085
|
* optional int32 device = 2;
|
|
22553
24086
|
* @return {number}
|
|
22554
24087
|
*/
|
|
22555
|
-
proto.zaber.motion.protobufs.
|
|
24088
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.prototype.getDevice = function() {
|
|
22556
24089
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
22557
24090
|
};
|
|
22558
24091
|
|
|
22559
24092
|
|
|
22560
24093
|
/**
|
|
22561
24094
|
* @param {number} value
|
|
22562
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
24095
|
+
* @return {!proto.zaber.motion.protobufs.GetIoPortLabel} returns this
|
|
22563
24096
|
*/
|
|
22564
|
-
proto.zaber.motion.protobufs.
|
|
24097
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.prototype.setDevice = function(value) {
|
|
22565
24098
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
22566
24099
|
};
|
|
22567
24100
|
|
|
22568
24101
|
|
|
22569
24102
|
/**
|
|
22570
|
-
* optional int32
|
|
24103
|
+
* optional int32 port_type = 3;
|
|
22571
24104
|
* @return {number}
|
|
22572
24105
|
*/
|
|
22573
|
-
proto.zaber.motion.protobufs.
|
|
24106
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.prototype.getPortType = function() {
|
|
22574
24107
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
22575
24108
|
};
|
|
22576
24109
|
|
|
22577
24110
|
|
|
22578
24111
|
/**
|
|
22579
24112
|
* @param {number} value
|
|
22580
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
24113
|
+
* @return {!proto.zaber.motion.protobufs.GetIoPortLabel} returns this
|
|
22581
24114
|
*/
|
|
22582
|
-
proto.zaber.motion.protobufs.
|
|
24115
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.prototype.setPortType = function(value) {
|
|
22583
24116
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
22584
24117
|
};
|
|
22585
24118
|
|
|
22586
24119
|
|
|
24120
|
+
/**
|
|
24121
|
+
* optional int32 channel_number = 4;
|
|
24122
|
+
* @return {number}
|
|
24123
|
+
*/
|
|
24124
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.prototype.getChannelNumber = function() {
|
|
24125
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
24126
|
+
};
|
|
24127
|
+
|
|
24128
|
+
|
|
24129
|
+
/**
|
|
24130
|
+
* @param {number} value
|
|
24131
|
+
* @return {!proto.zaber.motion.protobufs.GetIoPortLabel} returns this
|
|
24132
|
+
*/
|
|
24133
|
+
proto.zaber.motion.protobufs.GetIoPortLabel.prototype.setChannelNumber = function(value) {
|
|
24134
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
24135
|
+
};
|
|
24136
|
+
|
|
24137
|
+
|
|
22587
24138
|
|
|
22588
24139
|
|
|
22589
24140
|
|
|
@@ -22600,8 +24151,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
22600
24151
|
* http://goto/soy-param-migration
|
|
22601
24152
|
* @return {!Object}
|
|
22602
24153
|
*/
|
|
22603
|
-
proto.zaber.motion.protobufs.
|
|
22604
|
-
return proto.zaber.motion.protobufs.
|
|
24154
|
+
proto.zaber.motion.protobufs.IoPortLabel.prototype.toObject = function(opt_includeInstance) {
|
|
24155
|
+
return proto.zaber.motion.protobufs.IoPortLabel.toObject(opt_includeInstance, this);
|
|
22605
24156
|
};
|
|
22606
24157
|
|
|
22607
24158
|
|
|
@@ -22610,16 +24161,15 @@ proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.prototype.toObject = f
|
|
|
22610
24161
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22611
24162
|
* the JSPB instance for transitional soy proto support:
|
|
22612
24163
|
* http://goto/soy-param-migration
|
|
22613
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
24164
|
+
* @param {!proto.zaber.motion.protobufs.IoPortLabel} msg The msg instance to transform.
|
|
22614
24165
|
* @return {!Object}
|
|
22615
24166
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22616
24167
|
*/
|
|
22617
|
-
proto.zaber.motion.protobufs.
|
|
24168
|
+
proto.zaber.motion.protobufs.IoPortLabel.toObject = function(includeInstance, msg) {
|
|
22618
24169
|
var f, obj = {
|
|
22619
|
-
|
|
22620
|
-
|
|
22621
|
-
|
|
22622
|
-
value: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0)
|
|
24170
|
+
portType: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
24171
|
+
channelNumber: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
24172
|
+
label: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
22623
24173
|
};
|
|
22624
24174
|
|
|
22625
24175
|
if (includeInstance) {
|
|
@@ -22633,23 +24183,23 @@ proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.toObject = function(in
|
|
|
22633
24183
|
/**
|
|
22634
24184
|
* Deserializes binary data (in protobuf wire format).
|
|
22635
24185
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22636
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
24186
|
+
* @return {!proto.zaber.motion.protobufs.IoPortLabel}
|
|
22637
24187
|
*/
|
|
22638
|
-
proto.zaber.motion.protobufs.
|
|
24188
|
+
proto.zaber.motion.protobufs.IoPortLabel.deserializeBinary = function(bytes) {
|
|
22639
24189
|
var reader = new jspb.BinaryReader(bytes);
|
|
22640
|
-
var msg = new proto.zaber.motion.protobufs.
|
|
22641
|
-
return proto.zaber.motion.protobufs.
|
|
24190
|
+
var msg = new proto.zaber.motion.protobufs.IoPortLabel;
|
|
24191
|
+
return proto.zaber.motion.protobufs.IoPortLabel.deserializeBinaryFromReader(msg, reader);
|
|
22642
24192
|
};
|
|
22643
24193
|
|
|
22644
24194
|
|
|
22645
24195
|
/**
|
|
22646
24196
|
* Deserializes binary data (in protobuf wire format) from the
|
|
22647
24197
|
* given reader into the given message object.
|
|
22648
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
24198
|
+
* @param {!proto.zaber.motion.protobufs.IoPortLabel} msg The message object to deserialize into.
|
|
22649
24199
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22650
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
24200
|
+
* @return {!proto.zaber.motion.protobufs.IoPortLabel}
|
|
22651
24201
|
*/
|
|
22652
|
-
proto.zaber.motion.protobufs.
|
|
24202
|
+
proto.zaber.motion.protobufs.IoPortLabel.deserializeBinaryFromReader = function(msg, reader) {
|
|
22653
24203
|
while (reader.nextField()) {
|
|
22654
24204
|
if (reader.isEndGroup()) {
|
|
22655
24205
|
break;
|
|
@@ -22658,19 +24208,15 @@ proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.deserializeBinaryFromR
|
|
|
22658
24208
|
switch (field) {
|
|
22659
24209
|
case 1:
|
|
22660
24210
|
var value = /** @type {number} */ (reader.readInt32());
|
|
22661
|
-
msg.
|
|
24211
|
+
msg.setPortType(value);
|
|
22662
24212
|
break;
|
|
22663
24213
|
case 2:
|
|
22664
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
22665
|
-
msg.setDevice(value);
|
|
22666
|
-
break;
|
|
22667
|
-
case 3:
|
|
22668
24214
|
var value = /** @type {number} */ (reader.readInt32());
|
|
22669
24215
|
msg.setChannelNumber(value);
|
|
22670
24216
|
break;
|
|
22671
|
-
case
|
|
22672
|
-
var value = /** @type {
|
|
22673
|
-
msg.
|
|
24217
|
+
case 3:
|
|
24218
|
+
var value = /** @type {string} */ (reader.readString());
|
|
24219
|
+
msg.setLabel(value);
|
|
22674
24220
|
break;
|
|
22675
24221
|
default:
|
|
22676
24222
|
reader.skipField();
|
|
@@ -22685,9 +24231,9 @@ proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.deserializeBinaryFromR
|
|
|
22685
24231
|
* Serializes the message to binary data (in protobuf wire format).
|
|
22686
24232
|
* @return {!Uint8Array}
|
|
22687
24233
|
*/
|
|
22688
|
-
proto.zaber.motion.protobufs.
|
|
24234
|
+
proto.zaber.motion.protobufs.IoPortLabel.prototype.serializeBinary = function() {
|
|
22689
24235
|
var writer = new jspb.BinaryWriter();
|
|
22690
|
-
proto.zaber.motion.protobufs.
|
|
24236
|
+
proto.zaber.motion.protobufs.IoPortLabel.serializeBinaryToWriter(this, writer);
|
|
22691
24237
|
return writer.getResultBuffer();
|
|
22692
24238
|
};
|
|
22693
24239
|
|
|
@@ -22695,112 +24241,247 @@ proto.zaber.motion.protobufs.DeviceSetAnalogOutputRequest.prototype.serializeBin
|
|
|
22695
24241
|
/**
|
|
22696
24242
|
* Serializes the given message to binary data (in protobuf wire
|
|
22697
24243
|
* format), writing to the given BinaryWriter.
|
|
22698
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
24244
|
+
* @param {!proto.zaber.motion.protobufs.IoPortLabel} message
|
|
22699
24245
|
* @param {!jspb.BinaryWriter} writer
|
|
22700
24246
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22701
24247
|
*/
|
|
22702
|
-
proto.zaber.motion.protobufs.
|
|
24248
|
+
proto.zaber.motion.protobufs.IoPortLabel.serializeBinaryToWriter = function(message, writer) {
|
|
22703
24249
|
var f = undefined;
|
|
22704
|
-
f = message.
|
|
24250
|
+
f = message.getPortType();
|
|
22705
24251
|
if (f !== 0) {
|
|
22706
24252
|
writer.writeInt32(
|
|
22707
24253
|
1,
|
|
22708
24254
|
f
|
|
22709
24255
|
);
|
|
22710
24256
|
}
|
|
22711
|
-
f = message.
|
|
24257
|
+
f = message.getChannelNumber();
|
|
22712
24258
|
if (f !== 0) {
|
|
22713
24259
|
writer.writeInt32(
|
|
22714
24260
|
2,
|
|
22715
24261
|
f
|
|
22716
24262
|
);
|
|
22717
24263
|
}
|
|
22718
|
-
f = message.
|
|
22719
|
-
if (f
|
|
22720
|
-
writer.
|
|
24264
|
+
f = message.getLabel();
|
|
24265
|
+
if (f.length > 0) {
|
|
24266
|
+
writer.writeString(
|
|
22721
24267
|
3,
|
|
22722
24268
|
f
|
|
22723
24269
|
);
|
|
22724
24270
|
}
|
|
22725
|
-
f = message.getValue();
|
|
22726
|
-
if (f !== 0.0) {
|
|
22727
|
-
writer.writeDouble(
|
|
22728
|
-
4,
|
|
22729
|
-
f
|
|
22730
|
-
);
|
|
22731
|
-
}
|
|
22732
24271
|
};
|
|
22733
24272
|
|
|
22734
24273
|
|
|
22735
24274
|
/**
|
|
22736
|
-
* optional int32
|
|
24275
|
+
* optional int32 port_type = 1;
|
|
22737
24276
|
* @return {number}
|
|
22738
24277
|
*/
|
|
22739
|
-
proto.zaber.motion.protobufs.
|
|
24278
|
+
proto.zaber.motion.protobufs.IoPortLabel.prototype.getPortType = function() {
|
|
22740
24279
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
22741
24280
|
};
|
|
22742
24281
|
|
|
22743
24282
|
|
|
22744
24283
|
/**
|
|
22745
24284
|
* @param {number} value
|
|
22746
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
24285
|
+
* @return {!proto.zaber.motion.protobufs.IoPortLabel} returns this
|
|
22747
24286
|
*/
|
|
22748
|
-
proto.zaber.motion.protobufs.
|
|
24287
|
+
proto.zaber.motion.protobufs.IoPortLabel.prototype.setPortType = function(value) {
|
|
22749
24288
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
22750
24289
|
};
|
|
22751
24290
|
|
|
22752
24291
|
|
|
22753
24292
|
/**
|
|
22754
|
-
* optional int32
|
|
24293
|
+
* optional int32 channel_number = 2;
|
|
22755
24294
|
* @return {number}
|
|
22756
24295
|
*/
|
|
22757
|
-
proto.zaber.motion.protobufs.
|
|
24296
|
+
proto.zaber.motion.protobufs.IoPortLabel.prototype.getChannelNumber = function() {
|
|
22758
24297
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
22759
24298
|
};
|
|
22760
24299
|
|
|
22761
24300
|
|
|
22762
24301
|
/**
|
|
22763
24302
|
* @param {number} value
|
|
22764
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
24303
|
+
* @return {!proto.zaber.motion.protobufs.IoPortLabel} returns this
|
|
22765
24304
|
*/
|
|
22766
|
-
proto.zaber.motion.protobufs.
|
|
24305
|
+
proto.zaber.motion.protobufs.IoPortLabel.prototype.setChannelNumber = function(value) {
|
|
22767
24306
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
22768
24307
|
};
|
|
22769
24308
|
|
|
22770
24309
|
|
|
22771
24310
|
/**
|
|
22772
|
-
* optional
|
|
22773
|
-
* @return {
|
|
24311
|
+
* optional string label = 3;
|
|
24312
|
+
* @return {string}
|
|
22774
24313
|
*/
|
|
22775
|
-
proto.zaber.motion.protobufs.
|
|
22776
|
-
return /** @type {
|
|
24314
|
+
proto.zaber.motion.protobufs.IoPortLabel.prototype.getLabel = function() {
|
|
24315
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
22777
24316
|
};
|
|
22778
24317
|
|
|
22779
24318
|
|
|
22780
24319
|
/**
|
|
22781
|
-
* @param {
|
|
22782
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
24320
|
+
* @param {string} value
|
|
24321
|
+
* @return {!proto.zaber.motion.protobufs.IoPortLabel} returns this
|
|
22783
24322
|
*/
|
|
22784
|
-
proto.zaber.motion.protobufs.
|
|
22785
|
-
return jspb.Message.
|
|
24323
|
+
proto.zaber.motion.protobufs.IoPortLabel.prototype.setLabel = function(value) {
|
|
24324
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
22786
24325
|
};
|
|
22787
24326
|
|
|
22788
24327
|
|
|
24328
|
+
|
|
22789
24329
|
/**
|
|
22790
|
-
*
|
|
22791
|
-
* @
|
|
24330
|
+
* List of repeated fields within this message type.
|
|
24331
|
+
* @private {!Array<number>}
|
|
24332
|
+
* @const
|
|
22792
24333
|
*/
|
|
22793
|
-
proto.zaber.motion.protobufs.
|
|
22794
|
-
|
|
24334
|
+
proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.repeatedFields_ = [1];
|
|
24335
|
+
|
|
24336
|
+
|
|
24337
|
+
|
|
24338
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
24339
|
+
/**
|
|
24340
|
+
* Creates an object representation of this proto.
|
|
24341
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
24342
|
+
* Optional fields that are not set will be set to undefined.
|
|
24343
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
24344
|
+
* For the list of reserved names please see:
|
|
24345
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
24346
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
24347
|
+
* JSPB instance for transitional soy proto support:
|
|
24348
|
+
* http://goto/soy-param-migration
|
|
24349
|
+
* @return {!Object}
|
|
24350
|
+
*/
|
|
24351
|
+
proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
24352
|
+
return proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.toObject(opt_includeInstance, this);
|
|
22795
24353
|
};
|
|
22796
24354
|
|
|
22797
24355
|
|
|
22798
24356
|
/**
|
|
22799
|
-
* @
|
|
22800
|
-
* @
|
|
24357
|
+
* Static version of the {@see toObject} method.
|
|
24358
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
24359
|
+
* the JSPB instance for transitional soy proto support:
|
|
24360
|
+
* http://goto/soy-param-migration
|
|
24361
|
+
* @param {!proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse} msg The msg instance to transform.
|
|
24362
|
+
* @return {!Object}
|
|
24363
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22801
24364
|
*/
|
|
22802
|
-
proto.zaber.motion.protobufs.
|
|
22803
|
-
|
|
24365
|
+
proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.toObject = function(includeInstance, msg) {
|
|
24366
|
+
var f, obj = {
|
|
24367
|
+
labelsList: jspb.Message.toObjectList(msg.getLabelsList(),
|
|
24368
|
+
proto.zaber.motion.protobufs.IoPortLabel.toObject, includeInstance)
|
|
24369
|
+
};
|
|
24370
|
+
|
|
24371
|
+
if (includeInstance) {
|
|
24372
|
+
obj.$jspbMessageInstance = msg;
|
|
24373
|
+
}
|
|
24374
|
+
return obj;
|
|
24375
|
+
};
|
|
24376
|
+
}
|
|
24377
|
+
|
|
24378
|
+
|
|
24379
|
+
/**
|
|
24380
|
+
* Deserializes binary data (in protobuf wire format).
|
|
24381
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
24382
|
+
* @return {!proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse}
|
|
24383
|
+
*/
|
|
24384
|
+
proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.deserializeBinary = function(bytes) {
|
|
24385
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
24386
|
+
var msg = new proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse;
|
|
24387
|
+
return proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.deserializeBinaryFromReader(msg, reader);
|
|
24388
|
+
};
|
|
24389
|
+
|
|
24390
|
+
|
|
24391
|
+
/**
|
|
24392
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
24393
|
+
* given reader into the given message object.
|
|
24394
|
+
* @param {!proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse} msg The message object to deserialize into.
|
|
24395
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
24396
|
+
* @return {!proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse}
|
|
24397
|
+
*/
|
|
24398
|
+
proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
24399
|
+
while (reader.nextField()) {
|
|
24400
|
+
if (reader.isEndGroup()) {
|
|
24401
|
+
break;
|
|
24402
|
+
}
|
|
24403
|
+
var field = reader.getFieldNumber();
|
|
24404
|
+
switch (field) {
|
|
24405
|
+
case 1:
|
|
24406
|
+
var value = new proto.zaber.motion.protobufs.IoPortLabel;
|
|
24407
|
+
reader.readMessage(value,proto.zaber.motion.protobufs.IoPortLabel.deserializeBinaryFromReader);
|
|
24408
|
+
msg.addLabels(value);
|
|
24409
|
+
break;
|
|
24410
|
+
default:
|
|
24411
|
+
reader.skipField();
|
|
24412
|
+
break;
|
|
24413
|
+
}
|
|
24414
|
+
}
|
|
24415
|
+
return msg;
|
|
24416
|
+
};
|
|
24417
|
+
|
|
24418
|
+
|
|
24419
|
+
/**
|
|
24420
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
24421
|
+
* @return {!Uint8Array}
|
|
24422
|
+
*/
|
|
24423
|
+
proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.prototype.serializeBinary = function() {
|
|
24424
|
+
var writer = new jspb.BinaryWriter();
|
|
24425
|
+
proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.serializeBinaryToWriter(this, writer);
|
|
24426
|
+
return writer.getResultBuffer();
|
|
24427
|
+
};
|
|
24428
|
+
|
|
24429
|
+
|
|
24430
|
+
/**
|
|
24431
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
24432
|
+
* format), writing to the given BinaryWriter.
|
|
24433
|
+
* @param {!proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse} message
|
|
24434
|
+
* @param {!jspb.BinaryWriter} writer
|
|
24435
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
24436
|
+
*/
|
|
24437
|
+
proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
24438
|
+
var f = undefined;
|
|
24439
|
+
f = message.getLabelsList();
|
|
24440
|
+
if (f.length > 0) {
|
|
24441
|
+
writer.writeRepeatedMessage(
|
|
24442
|
+
1,
|
|
24443
|
+
f,
|
|
24444
|
+
proto.zaber.motion.protobufs.IoPortLabel.serializeBinaryToWriter
|
|
24445
|
+
);
|
|
24446
|
+
}
|
|
24447
|
+
};
|
|
24448
|
+
|
|
24449
|
+
|
|
24450
|
+
/**
|
|
24451
|
+
* repeated IoPortLabel labels = 1;
|
|
24452
|
+
* @return {!Array<!proto.zaber.motion.protobufs.IoPortLabel>}
|
|
24453
|
+
*/
|
|
24454
|
+
proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.prototype.getLabelsList = function() {
|
|
24455
|
+
return /** @type{!Array<!proto.zaber.motion.protobufs.IoPortLabel>} */ (
|
|
24456
|
+
jspb.Message.getRepeatedWrapperField(this, proto.zaber.motion.protobufs.IoPortLabel, 1));
|
|
24457
|
+
};
|
|
24458
|
+
|
|
24459
|
+
|
|
24460
|
+
/**
|
|
24461
|
+
* @param {!Array<!proto.zaber.motion.protobufs.IoPortLabel>} value
|
|
24462
|
+
* @return {!proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse} returns this
|
|
24463
|
+
*/
|
|
24464
|
+
proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.prototype.setLabelsList = function(value) {
|
|
24465
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
24466
|
+
};
|
|
24467
|
+
|
|
24468
|
+
|
|
24469
|
+
/**
|
|
24470
|
+
* @param {!proto.zaber.motion.protobufs.IoPortLabel=} opt_value
|
|
24471
|
+
* @param {number=} opt_index
|
|
24472
|
+
* @return {!proto.zaber.motion.protobufs.IoPortLabel}
|
|
24473
|
+
*/
|
|
24474
|
+
proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.prototype.addLabels = function(opt_value, opt_index) {
|
|
24475
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.zaber.motion.protobufs.IoPortLabel, opt_index);
|
|
24476
|
+
};
|
|
24477
|
+
|
|
24478
|
+
|
|
24479
|
+
/**
|
|
24480
|
+
* Clears the list making it empty but non-null.
|
|
24481
|
+
* @return {!proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse} returns this
|
|
24482
|
+
*/
|
|
24483
|
+
proto.zaber.motion.protobufs.GetAllIoPortLabelsResponse.prototype.clearLabelsList = function() {
|
|
24484
|
+
return this.setLabelsList([]);
|
|
22804
24485
|
};
|
|
22805
24486
|
|
|
22806
24487
|
|