motion-master-client 0.0.302 → 0.0.304

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.
@@ -359,6 +359,7 @@ $root.motionmaster = (() => {
359
359
  * @property {motionmaster.MotionMasterMessage.Request.IStartCirculoEncoderConfiguration|null} [startCirculoEncoderConfiguration] Request startCirculoEncoderConfiguration
360
360
  * @property {motionmaster.MotionMasterMessage.Request.IStopCirculoEncoderNarrowAngleCalibrationProcedure|null} [stopCirculoEncoderNarrowAngleCalibrationProcedure] Request stopCirculoEncoderNarrowAngleCalibrationProcedure
361
361
  * @property {motionmaster.MotionMasterMessage.Request.IStartOsCommand|null} [startOsCommand] Request startOsCommand
362
+ * @property {motionmaster.MotionMasterMessage.Request.IExecuteForwardCall|null} [executeForwardCall] Request executeForwardCall
362
363
  */
363
364
 
364
365
  /**
@@ -760,17 +761,25 @@ $root.motionmaster = (() => {
760
761
  */
761
762
  Request.prototype.startOsCommand = null;
762
763
 
764
+ /**
765
+ * Request executeForwardCall.
766
+ * @member {motionmaster.MotionMasterMessage.Request.IExecuteForwardCall|null|undefined} executeForwardCall
767
+ * @memberof motionmaster.MotionMasterMessage.Request
768
+ * @instance
769
+ */
770
+ Request.prototype.executeForwardCall = null;
771
+
763
772
  // OneOf field names bound to virtual getters and setters
764
773
  let $oneOfFields;
765
774
 
766
775
  /**
767
776
  * Request type.
768
- * @member {"pingSystem"|"getSystemVersion"|"getDeviceInfo"|"getDeviceParameterInfo"|"getDeviceParameterValues"|"getMultiDeviceParameterValues"|"setDeviceParameterValues"|"setMultiDeviceParameterValues"|"getDeviceFileList"|"getDeviceFile"|"setDeviceFile"|"deleteDeviceFile"|"resetDeviceFault"|"stopDevice"|"startDeviceFirmwareInstallation"|"getDeviceLog"|"startCoggingTorqueRecording"|"getCoggingTorqueData"|"startOffsetDetection"|"startPlantIdentification"|"computeAutoTuningGains"|"setMotionControllerParameters"|"enableMotionController"|"disableMotionController"|"setSignalGeneratorParameters"|"startSignalGenerator"|"stopSignalGenerator"|"startMonitoringDeviceParameterValues"|"stopMonitoringDeviceParameterValues"|"getEthercatNetworkState"|"setEthercatNetworkState"|"startNarrowAngleCalibration"|"setSystemClientTimeout"|"startSystemIdentification"|"getCirculoEncoderMagnetDistance"|"startCirculoEncoderNarrowAngleCalibrationProcedure"|"getDeviceCia402State"|"setDeviceCia402State"|"getSystemLog"|"startDeviceSiiRestore"|"startOpenLoopFieldControl"|"computeFullAutoTuningGains"|"startFullAutoTuning"|"stopFullAutoTuning"|"startCirculoEncoderConfiguration"|"stopCirculoEncoderNarrowAngleCalibrationProcedure"|"startOsCommand"|undefined} type
777
+ * @member {"pingSystem"|"getSystemVersion"|"getDeviceInfo"|"getDeviceParameterInfo"|"getDeviceParameterValues"|"getMultiDeviceParameterValues"|"setDeviceParameterValues"|"setMultiDeviceParameterValues"|"getDeviceFileList"|"getDeviceFile"|"setDeviceFile"|"deleteDeviceFile"|"resetDeviceFault"|"stopDevice"|"startDeviceFirmwareInstallation"|"getDeviceLog"|"startCoggingTorqueRecording"|"getCoggingTorqueData"|"startOffsetDetection"|"startPlantIdentification"|"computeAutoTuningGains"|"setMotionControllerParameters"|"enableMotionController"|"disableMotionController"|"setSignalGeneratorParameters"|"startSignalGenerator"|"stopSignalGenerator"|"startMonitoringDeviceParameterValues"|"stopMonitoringDeviceParameterValues"|"getEthercatNetworkState"|"setEthercatNetworkState"|"startNarrowAngleCalibration"|"setSystemClientTimeout"|"startSystemIdentification"|"getCirculoEncoderMagnetDistance"|"startCirculoEncoderNarrowAngleCalibrationProcedure"|"getDeviceCia402State"|"setDeviceCia402State"|"getSystemLog"|"startDeviceSiiRestore"|"startOpenLoopFieldControl"|"computeFullAutoTuningGains"|"startFullAutoTuning"|"stopFullAutoTuning"|"startCirculoEncoderConfiguration"|"stopCirculoEncoderNarrowAngleCalibrationProcedure"|"startOsCommand"|"executeForwardCall"|undefined} type
769
778
  * @memberof motionmaster.MotionMasterMessage.Request
770
779
  * @instance
771
780
  */
772
781
  Object.defineProperty(Request.prototype, "type", {
773
- get: $util.oneOfGetter($oneOfFields = ["pingSystem", "getSystemVersion", "getDeviceInfo", "getDeviceParameterInfo", "getDeviceParameterValues", "getMultiDeviceParameterValues", "setDeviceParameterValues", "setMultiDeviceParameterValues", "getDeviceFileList", "getDeviceFile", "setDeviceFile", "deleteDeviceFile", "resetDeviceFault", "stopDevice", "startDeviceFirmwareInstallation", "getDeviceLog", "startCoggingTorqueRecording", "getCoggingTorqueData", "startOffsetDetection", "startPlantIdentification", "computeAutoTuningGains", "setMotionControllerParameters", "enableMotionController", "disableMotionController", "setSignalGeneratorParameters", "startSignalGenerator", "stopSignalGenerator", "startMonitoringDeviceParameterValues", "stopMonitoringDeviceParameterValues", "getEthercatNetworkState", "setEthercatNetworkState", "startNarrowAngleCalibration", "setSystemClientTimeout", "startSystemIdentification", "getCirculoEncoderMagnetDistance", "startCirculoEncoderNarrowAngleCalibrationProcedure", "getDeviceCia402State", "setDeviceCia402State", "getSystemLog", "startDeviceSiiRestore", "startOpenLoopFieldControl", "computeFullAutoTuningGains", "startFullAutoTuning", "stopFullAutoTuning", "startCirculoEncoderConfiguration", "stopCirculoEncoderNarrowAngleCalibrationProcedure", "startOsCommand"]),
782
+ get: $util.oneOfGetter($oneOfFields = ["pingSystem", "getSystemVersion", "getDeviceInfo", "getDeviceParameterInfo", "getDeviceParameterValues", "getMultiDeviceParameterValues", "setDeviceParameterValues", "setMultiDeviceParameterValues", "getDeviceFileList", "getDeviceFile", "setDeviceFile", "deleteDeviceFile", "resetDeviceFault", "stopDevice", "startDeviceFirmwareInstallation", "getDeviceLog", "startCoggingTorqueRecording", "getCoggingTorqueData", "startOffsetDetection", "startPlantIdentification", "computeAutoTuningGains", "setMotionControllerParameters", "enableMotionController", "disableMotionController", "setSignalGeneratorParameters", "startSignalGenerator", "stopSignalGenerator", "startMonitoringDeviceParameterValues", "stopMonitoringDeviceParameterValues", "getEthercatNetworkState", "setEthercatNetworkState", "startNarrowAngleCalibration", "setSystemClientTimeout", "startSystemIdentification", "getCirculoEncoderMagnetDistance", "startCirculoEncoderNarrowAngleCalibrationProcedure", "getDeviceCia402State", "setDeviceCia402State", "getSystemLog", "startDeviceSiiRestore", "startOpenLoopFieldControl", "computeFullAutoTuningGains", "startFullAutoTuning", "stopFullAutoTuning", "startCirculoEncoderConfiguration", "stopCirculoEncoderNarrowAngleCalibrationProcedure", "startOsCommand", "executeForwardCall"]),
774
783
  set: $util.oneOfSetter($oneOfFields)
775
784
  });
776
785
 
@@ -894,6 +903,8 @@ $root.motionmaster = (() => {
894
903
  $root.motionmaster.MotionMasterMessage.Request.StopCirculoEncoderNarrowAngleCalibrationProcedure.encode(message.stopCirculoEncoderNarrowAngleCalibrationProcedure, writer.uint32(/* id 146, wireType 2 =*/1170).fork()).ldelim();
895
904
  if (message.startOsCommand != null && Object.hasOwnProperty.call(message, "startOsCommand"))
896
905
  $root.motionmaster.MotionMasterMessage.Request.StartOsCommand.encode(message.startOsCommand, writer.uint32(/* id 147, wireType 2 =*/1178).fork()).ldelim();
906
+ if (message.executeForwardCall != null && Object.hasOwnProperty.call(message, "executeForwardCall"))
907
+ $root.motionmaster.MotionMasterMessage.Request.ExecuteForwardCall.encode(message.executeForwardCall, writer.uint32(/* id 148, wireType 2 =*/1186).fork()).ldelim();
897
908
  return writer;
898
909
  };
899
910
 
@@ -1120,6 +1131,10 @@ $root.motionmaster = (() => {
1120
1131
  message.startOsCommand = $root.motionmaster.MotionMasterMessage.Request.StartOsCommand.decode(reader, reader.uint32());
1121
1132
  break;
1122
1133
  }
1134
+ case 148: {
1135
+ message.executeForwardCall = $root.motionmaster.MotionMasterMessage.Request.ExecuteForwardCall.decode(reader, reader.uint32());
1136
+ break;
1137
+ }
1123
1138
  default:
1124
1139
  reader.skipType(tag & 7);
1125
1140
  break;
@@ -1627,6 +1642,16 @@ $root.motionmaster = (() => {
1627
1642
  return "startOsCommand." + error;
1628
1643
  }
1629
1644
  }
1645
+ if (message.executeForwardCall != null && message.hasOwnProperty("executeForwardCall")) {
1646
+ if (properties.type === 1)
1647
+ return "type: multiple values";
1648
+ properties.type = 1;
1649
+ {
1650
+ let error = $root.motionmaster.MotionMasterMessage.Request.ExecuteForwardCall.verify(message.executeForwardCall);
1651
+ if (error)
1652
+ return "executeForwardCall." + error;
1653
+ }
1654
+ }
1630
1655
  return null;
1631
1656
  };
1632
1657
 
@@ -1879,6 +1904,11 @@ $root.motionmaster = (() => {
1879
1904
  throw TypeError(".motionmaster.MotionMasterMessage.Request.startOsCommand: object expected");
1880
1905
  message.startOsCommand = $root.motionmaster.MotionMasterMessage.Request.StartOsCommand.fromObject(object.startOsCommand);
1881
1906
  }
1907
+ if (object.executeForwardCall != null) {
1908
+ if (typeof object.executeForwardCall !== "object")
1909
+ throw TypeError(".motionmaster.MotionMasterMessage.Request.executeForwardCall: object expected");
1910
+ message.executeForwardCall = $root.motionmaster.MotionMasterMessage.Request.ExecuteForwardCall.fromObject(object.executeForwardCall);
1911
+ }
1882
1912
  return message;
1883
1913
  };
1884
1914
 
@@ -2134,6 +2164,11 @@ $root.motionmaster = (() => {
2134
2164
  if (options.oneofs)
2135
2165
  object.type = "startOsCommand";
2136
2166
  }
2167
+ if (message.executeForwardCall != null && message.hasOwnProperty("executeForwardCall")) {
2168
+ object.executeForwardCall = $root.motionmaster.MotionMasterMessage.Request.ExecuteForwardCall.toObject(message.executeForwardCall, options);
2169
+ if (options.oneofs)
2170
+ object.type = "executeForwardCall";
2171
+ }
2137
2172
  return object;
2138
2173
  };
2139
2174
 
@@ -20439,6 +20474,218 @@ $root.motionmaster = (() => {
20439
20474
  return StartOsCommand;
20440
20475
  })();
20441
20476
 
20477
+ Request.ExecuteForwardCall = (function() {
20478
+
20479
+ /**
20480
+ * Properties of an ExecuteForwardCall.
20481
+ * @memberof motionmaster.MotionMasterMessage.Request
20482
+ * @interface IExecuteForwardCall
20483
+ * @property {Uint8Array|null} [message] ExecuteForwardCall message
20484
+ */
20485
+
20486
+ /**
20487
+ * Constructs a new ExecuteForwardCall.
20488
+ * @memberof motionmaster.MotionMasterMessage.Request
20489
+ * @classdesc Represents an ExecuteForwardCall.
20490
+ * @implements IExecuteForwardCall
20491
+ * @constructor
20492
+ * @param {motionmaster.MotionMasterMessage.Request.IExecuteForwardCall=} [properties] Properties to set
20493
+ */
20494
+ function ExecuteForwardCall(properties) {
20495
+ if (properties)
20496
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
20497
+ if (properties[keys[i]] != null)
20498
+ this[keys[i]] = properties[keys[i]];
20499
+ }
20500
+
20501
+ /**
20502
+ * ExecuteForwardCall message.
20503
+ * @member {Uint8Array} message
20504
+ * @memberof motionmaster.MotionMasterMessage.Request.ExecuteForwardCall
20505
+ * @instance
20506
+ */
20507
+ ExecuteForwardCall.prototype.message = $util.newBuffer([]);
20508
+
20509
+ /**
20510
+ * Creates a new ExecuteForwardCall instance using the specified properties.
20511
+ * @function create
20512
+ * @memberof motionmaster.MotionMasterMessage.Request.ExecuteForwardCall
20513
+ * @static
20514
+ * @param {motionmaster.MotionMasterMessage.Request.IExecuteForwardCall=} [properties] Properties to set
20515
+ * @returns {motionmaster.MotionMasterMessage.Request.ExecuteForwardCall} ExecuteForwardCall instance
20516
+ */
20517
+ ExecuteForwardCall.create = function create(properties) {
20518
+ return new ExecuteForwardCall(properties);
20519
+ };
20520
+
20521
+ /**
20522
+ * Encodes the specified ExecuteForwardCall message. Does not implicitly {@link motionmaster.MotionMasterMessage.Request.ExecuteForwardCall.verify|verify} messages.
20523
+ * @function encode
20524
+ * @memberof motionmaster.MotionMasterMessage.Request.ExecuteForwardCall
20525
+ * @static
20526
+ * @param {motionmaster.MotionMasterMessage.Request.IExecuteForwardCall} message ExecuteForwardCall message or plain object to encode
20527
+ * @param {$protobuf.Writer} [writer] Writer to encode to
20528
+ * @returns {$protobuf.Writer} Writer
20529
+ */
20530
+ ExecuteForwardCall.encode = function encode(message, writer) {
20531
+ if (!writer)
20532
+ writer = $Writer.create();
20533
+ if (message.message != null && Object.hasOwnProperty.call(message, "message"))
20534
+ writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.message);
20535
+ return writer;
20536
+ };
20537
+
20538
+ /**
20539
+ * Encodes the specified ExecuteForwardCall message, length delimited. Does not implicitly {@link motionmaster.MotionMasterMessage.Request.ExecuteForwardCall.verify|verify} messages.
20540
+ * @function encodeDelimited
20541
+ * @memberof motionmaster.MotionMasterMessage.Request.ExecuteForwardCall
20542
+ * @static
20543
+ * @param {motionmaster.MotionMasterMessage.Request.IExecuteForwardCall} message ExecuteForwardCall message or plain object to encode
20544
+ * @param {$protobuf.Writer} [writer] Writer to encode to
20545
+ * @returns {$protobuf.Writer} Writer
20546
+ */
20547
+ ExecuteForwardCall.encodeDelimited = function encodeDelimited(message, writer) {
20548
+ return this.encode(message, writer).ldelim();
20549
+ };
20550
+
20551
+ /**
20552
+ * Decodes an ExecuteForwardCall message from the specified reader or buffer.
20553
+ * @function decode
20554
+ * @memberof motionmaster.MotionMasterMessage.Request.ExecuteForwardCall
20555
+ * @static
20556
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
20557
+ * @param {number} [length] Message length if known beforehand
20558
+ * @returns {motionmaster.MotionMasterMessage.Request.ExecuteForwardCall} ExecuteForwardCall
20559
+ * @throws {Error} If the payload is not a reader or valid buffer
20560
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20561
+ */
20562
+ ExecuteForwardCall.decode = function decode(reader, length) {
20563
+ if (!(reader instanceof $Reader))
20564
+ reader = $Reader.create(reader);
20565
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.motionmaster.MotionMasterMessage.Request.ExecuteForwardCall();
20566
+ while (reader.pos < end) {
20567
+ let tag = reader.uint32();
20568
+ switch (tag >>> 3) {
20569
+ case 1: {
20570
+ message.message = reader.bytes();
20571
+ break;
20572
+ }
20573
+ default:
20574
+ reader.skipType(tag & 7);
20575
+ break;
20576
+ }
20577
+ }
20578
+ return message;
20579
+ };
20580
+
20581
+ /**
20582
+ * Decodes an ExecuteForwardCall message from the specified reader or buffer, length delimited.
20583
+ * @function decodeDelimited
20584
+ * @memberof motionmaster.MotionMasterMessage.Request.ExecuteForwardCall
20585
+ * @static
20586
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
20587
+ * @returns {motionmaster.MotionMasterMessage.Request.ExecuteForwardCall} ExecuteForwardCall
20588
+ * @throws {Error} If the payload is not a reader or valid buffer
20589
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20590
+ */
20591
+ ExecuteForwardCall.decodeDelimited = function decodeDelimited(reader) {
20592
+ if (!(reader instanceof $Reader))
20593
+ reader = new $Reader(reader);
20594
+ return this.decode(reader, reader.uint32());
20595
+ };
20596
+
20597
+ /**
20598
+ * Verifies an ExecuteForwardCall message.
20599
+ * @function verify
20600
+ * @memberof motionmaster.MotionMasterMessage.Request.ExecuteForwardCall
20601
+ * @static
20602
+ * @param {Object.<string,*>} message Plain object to verify
20603
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
20604
+ */
20605
+ ExecuteForwardCall.verify = function verify(message) {
20606
+ if (typeof message !== "object" || message === null)
20607
+ return "object expected";
20608
+ if (message.message != null && message.hasOwnProperty("message"))
20609
+ if (!(message.message && typeof message.message.length === "number" || $util.isString(message.message)))
20610
+ return "message: buffer expected";
20611
+ return null;
20612
+ };
20613
+
20614
+ /**
20615
+ * Creates an ExecuteForwardCall message from a plain object. Also converts values to their respective internal types.
20616
+ * @function fromObject
20617
+ * @memberof motionmaster.MotionMasterMessage.Request.ExecuteForwardCall
20618
+ * @static
20619
+ * @param {Object.<string,*>} object Plain object
20620
+ * @returns {motionmaster.MotionMasterMessage.Request.ExecuteForwardCall} ExecuteForwardCall
20621
+ */
20622
+ ExecuteForwardCall.fromObject = function fromObject(object) {
20623
+ if (object instanceof $root.motionmaster.MotionMasterMessage.Request.ExecuteForwardCall)
20624
+ return object;
20625
+ let message = new $root.motionmaster.MotionMasterMessage.Request.ExecuteForwardCall();
20626
+ if (object.message != null)
20627
+ if (typeof object.message === "string")
20628
+ $util.base64.decode(object.message, message.message = $util.newBuffer($util.base64.length(object.message)), 0);
20629
+ else if (object.message.length >= 0)
20630
+ message.message = object.message;
20631
+ return message;
20632
+ };
20633
+
20634
+ /**
20635
+ * Creates a plain object from an ExecuteForwardCall message. Also converts values to other types if specified.
20636
+ * @function toObject
20637
+ * @memberof motionmaster.MotionMasterMessage.Request.ExecuteForwardCall
20638
+ * @static
20639
+ * @param {motionmaster.MotionMasterMessage.Request.ExecuteForwardCall} message ExecuteForwardCall
20640
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
20641
+ * @returns {Object.<string,*>} Plain object
20642
+ */
20643
+ ExecuteForwardCall.toObject = function toObject(message, options) {
20644
+ if (!options)
20645
+ options = {};
20646
+ let object = {};
20647
+ if (options.defaults)
20648
+ if (options.bytes === String)
20649
+ object.message = "";
20650
+ else {
20651
+ object.message = [];
20652
+ if (options.bytes !== Array)
20653
+ object.message = $util.newBuffer(object.message);
20654
+ }
20655
+ if (message.message != null && message.hasOwnProperty("message"))
20656
+ object.message = options.bytes === String ? $util.base64.encode(message.message, 0, message.message.length) : options.bytes === Array ? Array.prototype.slice.call(message.message) : message.message;
20657
+ return object;
20658
+ };
20659
+
20660
+ /**
20661
+ * Converts this ExecuteForwardCall to JSON.
20662
+ * @function toJSON
20663
+ * @memberof motionmaster.MotionMasterMessage.Request.ExecuteForwardCall
20664
+ * @instance
20665
+ * @returns {Object.<string,*>} JSON object
20666
+ */
20667
+ ExecuteForwardCall.prototype.toJSON = function toJSON() {
20668
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
20669
+ };
20670
+
20671
+ /**
20672
+ * Gets the default type url for ExecuteForwardCall
20673
+ * @function getTypeUrl
20674
+ * @memberof motionmaster.MotionMasterMessage.Request.ExecuteForwardCall
20675
+ * @static
20676
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
20677
+ * @returns {string} The default type url
20678
+ */
20679
+ ExecuteForwardCall.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
20680
+ if (typeUrlPrefix === undefined) {
20681
+ typeUrlPrefix = "type.googleapis.com";
20682
+ }
20683
+ return typeUrlPrefix + "/motionmaster.MotionMasterMessage.Request.ExecuteForwardCall";
20684
+ };
20685
+
20686
+ return ExecuteForwardCall;
20687
+ })();
20688
+
20442
20689
  return Request;
20443
20690
  })();
20444
20691
 
@@ -20482,6 +20729,7 @@ $root.motionmaster = (() => {
20482
20729
  * @property {motionmaster.MotionMasterMessage.Status.IFullAutoTuning|null} [fullAutoTuning] Status fullAutoTuning
20483
20730
  * @property {motionmaster.MotionMasterMessage.Status.ICirculoEncoderConfiguration|null} [circuloEncoderConfiguration] Status circuloEncoderConfiguration
20484
20731
  * @property {motionmaster.MotionMasterMessage.Status.IOsCommand|null} [osCommand] Status osCommand
20732
+ * @property {motionmaster.MotionMasterMessage.Status.IForwardCall|null} [forwardCall] Status forwardCall
20485
20733
  */
20486
20734
 
20487
20735
  /**
@@ -20771,17 +21019,25 @@ $root.motionmaster = (() => {
20771
21019
  */
20772
21020
  Status.prototype.osCommand = null;
20773
21021
 
21022
+ /**
21023
+ * Status forwardCall.
21024
+ * @member {motionmaster.MotionMasterMessage.Status.IForwardCall|null|undefined} forwardCall
21025
+ * @memberof motionmaster.MotionMasterMessage.Status
21026
+ * @instance
21027
+ */
21028
+ Status.prototype.forwardCall = null;
21029
+
20774
21030
  // OneOf field names bound to virtual getters and setters
20775
21031
  let $oneOfFields;
20776
21032
 
20777
21033
  /**
20778
21034
  * Status type.
20779
- * @member {"systemPong"|"systemVersion"|"systemEvent"|"deviceInfo"|"deviceParameterInfo"|"deviceParameterValues"|"multiDeviceParameterValues"|"deviceFileList"|"deviceFile"|"deviceEvent"|"deviceFirmwareInstallation"|"deviceLog"|"deviceFaultReset"|"coggingTorqueRecording"|"coggingTorqueData"|"offsetDetection"|"plantIdentification"|"autoTuning"|"motionController"|"signalGenerator"|"monitoringParameterValues"|"deviceStop"|"ethercatNetworkState"|"narrowAngleCalibration"|"systemIdentification"|"circuloEncoderMagnetDistance"|"circuloEncoderNarrowAngleCalibrationProcedure"|"deviceCia402State"|"systemLog"|"deviceSiiRestore"|"openLoopFieldControl"|"fullAutoTuning"|"circuloEncoderConfiguration"|"osCommand"|undefined} type
21035
+ * @member {"systemPong"|"systemVersion"|"systemEvent"|"deviceInfo"|"deviceParameterInfo"|"deviceParameterValues"|"multiDeviceParameterValues"|"deviceFileList"|"deviceFile"|"deviceEvent"|"deviceFirmwareInstallation"|"deviceLog"|"deviceFaultReset"|"coggingTorqueRecording"|"coggingTorqueData"|"offsetDetection"|"plantIdentification"|"autoTuning"|"motionController"|"signalGenerator"|"monitoringParameterValues"|"deviceStop"|"ethercatNetworkState"|"narrowAngleCalibration"|"systemIdentification"|"circuloEncoderMagnetDistance"|"circuloEncoderNarrowAngleCalibrationProcedure"|"deviceCia402State"|"systemLog"|"deviceSiiRestore"|"openLoopFieldControl"|"fullAutoTuning"|"circuloEncoderConfiguration"|"osCommand"|"forwardCall"|undefined} type
20780
21036
  * @memberof motionmaster.MotionMasterMessage.Status
20781
21037
  * @instance
20782
21038
  */
20783
21039
  Object.defineProperty(Status.prototype, "type", {
20784
- get: $util.oneOfGetter($oneOfFields = ["systemPong", "systemVersion", "systemEvent", "deviceInfo", "deviceParameterInfo", "deviceParameterValues", "multiDeviceParameterValues", "deviceFileList", "deviceFile", "deviceEvent", "deviceFirmwareInstallation", "deviceLog", "deviceFaultReset", "coggingTorqueRecording", "coggingTorqueData", "offsetDetection", "plantIdentification", "autoTuning", "motionController", "signalGenerator", "monitoringParameterValues", "deviceStop", "ethercatNetworkState", "narrowAngleCalibration", "systemIdentification", "circuloEncoderMagnetDistance", "circuloEncoderNarrowAngleCalibrationProcedure", "deviceCia402State", "systemLog", "deviceSiiRestore", "openLoopFieldControl", "fullAutoTuning", "circuloEncoderConfiguration", "osCommand"]),
21040
+ get: $util.oneOfGetter($oneOfFields = ["systemPong", "systemVersion", "systemEvent", "deviceInfo", "deviceParameterInfo", "deviceParameterValues", "multiDeviceParameterValues", "deviceFileList", "deviceFile", "deviceEvent", "deviceFirmwareInstallation", "deviceLog", "deviceFaultReset", "coggingTorqueRecording", "coggingTorqueData", "offsetDetection", "plantIdentification", "autoTuning", "motionController", "signalGenerator", "monitoringParameterValues", "deviceStop", "ethercatNetworkState", "narrowAngleCalibration", "systemIdentification", "circuloEncoderMagnetDistance", "circuloEncoderNarrowAngleCalibrationProcedure", "deviceCia402State", "systemLog", "deviceSiiRestore", "openLoopFieldControl", "fullAutoTuning", "circuloEncoderConfiguration", "osCommand", "forwardCall"]),
20785
21041
  set: $util.oneOfSetter($oneOfFields)
20786
21042
  });
20787
21043
 
@@ -20877,6 +21133,8 @@ $root.motionmaster = (() => {
20877
21133
  $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderConfiguration.encode(message.circuloEncoderConfiguration, writer.uint32(/* id 133, wireType 2 =*/1066).fork()).ldelim();
20878
21134
  if (message.osCommand != null && Object.hasOwnProperty.call(message, "osCommand"))
20879
21135
  $root.motionmaster.MotionMasterMessage.Status.OsCommand.encode(message.osCommand, writer.uint32(/* id 134, wireType 2 =*/1074).fork()).ldelim();
21136
+ if (message.forwardCall != null && Object.hasOwnProperty.call(message, "forwardCall"))
21137
+ $root.motionmaster.MotionMasterMessage.Status.ForwardCall.encode(message.forwardCall, writer.uint32(/* id 135, wireType 2 =*/1082).fork()).ldelim();
20880
21138
  return writer;
20881
21139
  };
20882
21140
 
@@ -21047,6 +21305,10 @@ $root.motionmaster = (() => {
21047
21305
  message.osCommand = $root.motionmaster.MotionMasterMessage.Status.OsCommand.decode(reader, reader.uint32());
21048
21306
  break;
21049
21307
  }
21308
+ case 135: {
21309
+ message.forwardCall = $root.motionmaster.MotionMasterMessage.Status.ForwardCall.decode(reader, reader.uint32());
21310
+ break;
21311
+ }
21050
21312
  default:
21051
21313
  reader.skipType(tag & 7);
21052
21314
  break;
@@ -21421,6 +21683,16 @@ $root.motionmaster = (() => {
21421
21683
  return "osCommand." + error;
21422
21684
  }
21423
21685
  }
21686
+ if (message.forwardCall != null && message.hasOwnProperty("forwardCall")) {
21687
+ if (properties.type === 1)
21688
+ return "type: multiple values";
21689
+ properties.type = 1;
21690
+ {
21691
+ let error = $root.motionmaster.MotionMasterMessage.Status.ForwardCall.verify(message.forwardCall);
21692
+ if (error)
21693
+ return "forwardCall." + error;
21694
+ }
21695
+ }
21424
21696
  return null;
21425
21697
  };
21426
21698
 
@@ -21606,6 +21878,11 @@ $root.motionmaster = (() => {
21606
21878
  throw TypeError(".motionmaster.MotionMasterMessage.Status.osCommand: object expected");
21607
21879
  message.osCommand = $root.motionmaster.MotionMasterMessage.Status.OsCommand.fromObject(object.osCommand);
21608
21880
  }
21881
+ if (object.forwardCall != null) {
21882
+ if (typeof object.forwardCall !== "object")
21883
+ throw TypeError(".motionmaster.MotionMasterMessage.Status.forwardCall: object expected");
21884
+ message.forwardCall = $root.motionmaster.MotionMasterMessage.Status.ForwardCall.fromObject(object.forwardCall);
21885
+ }
21609
21886
  return message;
21610
21887
  };
21611
21888
 
@@ -21792,6 +22069,11 @@ $root.motionmaster = (() => {
21792
22069
  if (options.oneofs)
21793
22070
  object.type = "osCommand";
21794
22071
  }
22072
+ if (message.forwardCall != null && message.hasOwnProperty("forwardCall")) {
22073
+ object.forwardCall = $root.motionmaster.MotionMasterMessage.Status.ForwardCall.toObject(message.forwardCall, options);
22074
+ if (options.oneofs)
22075
+ object.type = "forwardCall";
22076
+ }
21795
22077
  return object;
21796
22078
  };
21797
22079
 
@@ -53344,6 +53626,821 @@ $root.motionmaster = (() => {
53344
53626
  return OsCommand;
53345
53627
  })();
53346
53628
 
53629
+ Status.ForwardCall = (function() {
53630
+
53631
+ /**
53632
+ * Properties of a ForwardCall.
53633
+ * @memberof motionmaster.MotionMasterMessage.Status
53634
+ * @interface IForwardCall
53635
+ * @property {Uint8Array|null} [response] ForwardCall response
53636
+ * @property {motionmaster.MotionMasterMessage.Status.ForwardCall.ISuccess|null} [success] ForwardCall success
53637
+ * @property {motionmaster.MotionMasterMessage.Status.ForwardCall.IError|null} [error] ForwardCall error
53638
+ */
53639
+
53640
+ /**
53641
+ * Constructs a new ForwardCall.
53642
+ * @memberof motionmaster.MotionMasterMessage.Status
53643
+ * @classdesc Represents a ForwardCall.
53644
+ * @implements IForwardCall
53645
+ * @constructor
53646
+ * @param {motionmaster.MotionMasterMessage.Status.IForwardCall=} [properties] Properties to set
53647
+ */
53648
+ function ForwardCall(properties) {
53649
+ if (properties)
53650
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
53651
+ if (properties[keys[i]] != null)
53652
+ this[keys[i]] = properties[keys[i]];
53653
+ }
53654
+
53655
+ /**
53656
+ * ForwardCall response.
53657
+ * @member {Uint8Array} response
53658
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall
53659
+ * @instance
53660
+ */
53661
+ ForwardCall.prototype.response = $util.newBuffer([]);
53662
+
53663
+ /**
53664
+ * ForwardCall success.
53665
+ * @member {motionmaster.MotionMasterMessage.Status.ForwardCall.ISuccess|null|undefined} success
53666
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall
53667
+ * @instance
53668
+ */
53669
+ ForwardCall.prototype.success = null;
53670
+
53671
+ /**
53672
+ * ForwardCall error.
53673
+ * @member {motionmaster.MotionMasterMessage.Status.ForwardCall.IError|null|undefined} error
53674
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall
53675
+ * @instance
53676
+ */
53677
+ ForwardCall.prototype.error = null;
53678
+
53679
+ // OneOf field names bound to virtual getters and setters
53680
+ let $oneOfFields;
53681
+
53682
+ /**
53683
+ * ForwardCall status.
53684
+ * @member {"success"|"error"|undefined} status
53685
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall
53686
+ * @instance
53687
+ */
53688
+ Object.defineProperty(ForwardCall.prototype, "status", {
53689
+ get: $util.oneOfGetter($oneOfFields = ["success", "error"]),
53690
+ set: $util.oneOfSetter($oneOfFields)
53691
+ });
53692
+
53693
+ /**
53694
+ * Creates a new ForwardCall instance using the specified properties.
53695
+ * @function create
53696
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall
53697
+ * @static
53698
+ * @param {motionmaster.MotionMasterMessage.Status.IForwardCall=} [properties] Properties to set
53699
+ * @returns {motionmaster.MotionMasterMessage.Status.ForwardCall} ForwardCall instance
53700
+ */
53701
+ ForwardCall.create = function create(properties) {
53702
+ return new ForwardCall(properties);
53703
+ };
53704
+
53705
+ /**
53706
+ * Encodes the specified ForwardCall message. Does not implicitly {@link motionmaster.MotionMasterMessage.Status.ForwardCall.verify|verify} messages.
53707
+ * @function encode
53708
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall
53709
+ * @static
53710
+ * @param {motionmaster.MotionMasterMessage.Status.IForwardCall} message ForwardCall message or plain object to encode
53711
+ * @param {$protobuf.Writer} [writer] Writer to encode to
53712
+ * @returns {$protobuf.Writer} Writer
53713
+ */
53714
+ ForwardCall.encode = function encode(message, writer) {
53715
+ if (!writer)
53716
+ writer = $Writer.create();
53717
+ if (message.response != null && Object.hasOwnProperty.call(message, "response"))
53718
+ writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.response);
53719
+ if (message.success != null && Object.hasOwnProperty.call(message, "success"))
53720
+ $root.motionmaster.MotionMasterMessage.Status.ForwardCall.Success.encode(message.success, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
53721
+ if (message.error != null && Object.hasOwnProperty.call(message, "error"))
53722
+ $root.motionmaster.MotionMasterMessage.Status.ForwardCall.Error.encode(message.error, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
53723
+ return writer;
53724
+ };
53725
+
53726
+ /**
53727
+ * Encodes the specified ForwardCall message, length delimited. Does not implicitly {@link motionmaster.MotionMasterMessage.Status.ForwardCall.verify|verify} messages.
53728
+ * @function encodeDelimited
53729
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall
53730
+ * @static
53731
+ * @param {motionmaster.MotionMasterMessage.Status.IForwardCall} message ForwardCall message or plain object to encode
53732
+ * @param {$protobuf.Writer} [writer] Writer to encode to
53733
+ * @returns {$protobuf.Writer} Writer
53734
+ */
53735
+ ForwardCall.encodeDelimited = function encodeDelimited(message, writer) {
53736
+ return this.encode(message, writer).ldelim();
53737
+ };
53738
+
53739
+ /**
53740
+ * Decodes a ForwardCall message from the specified reader or buffer.
53741
+ * @function decode
53742
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall
53743
+ * @static
53744
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
53745
+ * @param {number} [length] Message length if known beforehand
53746
+ * @returns {motionmaster.MotionMasterMessage.Status.ForwardCall} ForwardCall
53747
+ * @throws {Error} If the payload is not a reader or valid buffer
53748
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
53749
+ */
53750
+ ForwardCall.decode = function decode(reader, length) {
53751
+ if (!(reader instanceof $Reader))
53752
+ reader = $Reader.create(reader);
53753
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.motionmaster.MotionMasterMessage.Status.ForwardCall();
53754
+ while (reader.pos < end) {
53755
+ let tag = reader.uint32();
53756
+ switch (tag >>> 3) {
53757
+ case 1: {
53758
+ message.response = reader.bytes();
53759
+ break;
53760
+ }
53761
+ case 2: {
53762
+ message.success = $root.motionmaster.MotionMasterMessage.Status.ForwardCall.Success.decode(reader, reader.uint32());
53763
+ break;
53764
+ }
53765
+ case 3: {
53766
+ message.error = $root.motionmaster.MotionMasterMessage.Status.ForwardCall.Error.decode(reader, reader.uint32());
53767
+ break;
53768
+ }
53769
+ default:
53770
+ reader.skipType(tag & 7);
53771
+ break;
53772
+ }
53773
+ }
53774
+ return message;
53775
+ };
53776
+
53777
+ /**
53778
+ * Decodes a ForwardCall message from the specified reader or buffer, length delimited.
53779
+ * @function decodeDelimited
53780
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall
53781
+ * @static
53782
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
53783
+ * @returns {motionmaster.MotionMasterMessage.Status.ForwardCall} ForwardCall
53784
+ * @throws {Error} If the payload is not a reader or valid buffer
53785
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
53786
+ */
53787
+ ForwardCall.decodeDelimited = function decodeDelimited(reader) {
53788
+ if (!(reader instanceof $Reader))
53789
+ reader = new $Reader(reader);
53790
+ return this.decode(reader, reader.uint32());
53791
+ };
53792
+
53793
+ /**
53794
+ * Verifies a ForwardCall message.
53795
+ * @function verify
53796
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall
53797
+ * @static
53798
+ * @param {Object.<string,*>} message Plain object to verify
53799
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
53800
+ */
53801
+ ForwardCall.verify = function verify(message) {
53802
+ if (typeof message !== "object" || message === null)
53803
+ return "object expected";
53804
+ let properties = {};
53805
+ if (message.response != null && message.hasOwnProperty("response"))
53806
+ if (!(message.response && typeof message.response.length === "number" || $util.isString(message.response)))
53807
+ return "response: buffer expected";
53808
+ if (message.success != null && message.hasOwnProperty("success")) {
53809
+ properties.status = 1;
53810
+ {
53811
+ let error = $root.motionmaster.MotionMasterMessage.Status.ForwardCall.Success.verify(message.success);
53812
+ if (error)
53813
+ return "success." + error;
53814
+ }
53815
+ }
53816
+ if (message.error != null && message.hasOwnProperty("error")) {
53817
+ if (properties.status === 1)
53818
+ return "status: multiple values";
53819
+ properties.status = 1;
53820
+ {
53821
+ let error = $root.motionmaster.MotionMasterMessage.Status.ForwardCall.Error.verify(message.error);
53822
+ if (error)
53823
+ return "error." + error;
53824
+ }
53825
+ }
53826
+ return null;
53827
+ };
53828
+
53829
+ /**
53830
+ * Creates a ForwardCall message from a plain object. Also converts values to their respective internal types.
53831
+ * @function fromObject
53832
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall
53833
+ * @static
53834
+ * @param {Object.<string,*>} object Plain object
53835
+ * @returns {motionmaster.MotionMasterMessage.Status.ForwardCall} ForwardCall
53836
+ */
53837
+ ForwardCall.fromObject = function fromObject(object) {
53838
+ if (object instanceof $root.motionmaster.MotionMasterMessage.Status.ForwardCall)
53839
+ return object;
53840
+ let message = new $root.motionmaster.MotionMasterMessage.Status.ForwardCall();
53841
+ if (object.response != null)
53842
+ if (typeof object.response === "string")
53843
+ $util.base64.decode(object.response, message.response = $util.newBuffer($util.base64.length(object.response)), 0);
53844
+ else if (object.response.length >= 0)
53845
+ message.response = object.response;
53846
+ if (object.success != null) {
53847
+ if (typeof object.success !== "object")
53848
+ throw TypeError(".motionmaster.MotionMasterMessage.Status.ForwardCall.success: object expected");
53849
+ message.success = $root.motionmaster.MotionMasterMessage.Status.ForwardCall.Success.fromObject(object.success);
53850
+ }
53851
+ if (object.error != null) {
53852
+ if (typeof object.error !== "object")
53853
+ throw TypeError(".motionmaster.MotionMasterMessage.Status.ForwardCall.error: object expected");
53854
+ message.error = $root.motionmaster.MotionMasterMessage.Status.ForwardCall.Error.fromObject(object.error);
53855
+ }
53856
+ return message;
53857
+ };
53858
+
53859
+ /**
53860
+ * Creates a plain object from a ForwardCall message. Also converts values to other types if specified.
53861
+ * @function toObject
53862
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall
53863
+ * @static
53864
+ * @param {motionmaster.MotionMasterMessage.Status.ForwardCall} message ForwardCall
53865
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
53866
+ * @returns {Object.<string,*>} Plain object
53867
+ */
53868
+ ForwardCall.toObject = function toObject(message, options) {
53869
+ if (!options)
53870
+ options = {};
53871
+ let object = {};
53872
+ if (options.defaults)
53873
+ if (options.bytes === String)
53874
+ object.response = "";
53875
+ else {
53876
+ object.response = [];
53877
+ if (options.bytes !== Array)
53878
+ object.response = $util.newBuffer(object.response);
53879
+ }
53880
+ if (message.response != null && message.hasOwnProperty("response"))
53881
+ object.response = options.bytes === String ? $util.base64.encode(message.response, 0, message.response.length) : options.bytes === Array ? Array.prototype.slice.call(message.response) : message.response;
53882
+ if (message.success != null && message.hasOwnProperty("success")) {
53883
+ object.success = $root.motionmaster.MotionMasterMessage.Status.ForwardCall.Success.toObject(message.success, options);
53884
+ if (options.oneofs)
53885
+ object.status = "success";
53886
+ }
53887
+ if (message.error != null && message.hasOwnProperty("error")) {
53888
+ object.error = $root.motionmaster.MotionMasterMessage.Status.ForwardCall.Error.toObject(message.error, options);
53889
+ if (options.oneofs)
53890
+ object.status = "error";
53891
+ }
53892
+ return object;
53893
+ };
53894
+
53895
+ /**
53896
+ * Converts this ForwardCall to JSON.
53897
+ * @function toJSON
53898
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall
53899
+ * @instance
53900
+ * @returns {Object.<string,*>} JSON object
53901
+ */
53902
+ ForwardCall.prototype.toJSON = function toJSON() {
53903
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
53904
+ };
53905
+
53906
+ /**
53907
+ * Gets the default type url for ForwardCall
53908
+ * @function getTypeUrl
53909
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall
53910
+ * @static
53911
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
53912
+ * @returns {string} The default type url
53913
+ */
53914
+ ForwardCall.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
53915
+ if (typeUrlPrefix === undefined) {
53916
+ typeUrlPrefix = "type.googleapis.com";
53917
+ }
53918
+ return typeUrlPrefix + "/motionmaster.MotionMasterMessage.Status.ForwardCall";
53919
+ };
53920
+
53921
+ ForwardCall.Success = (function() {
53922
+
53923
+ /**
53924
+ * Properties of a Success.
53925
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall
53926
+ * @interface ISuccess
53927
+ * @property {motionmaster.MotionMasterMessage.Status.ForwardCall.Success.Code|null} [code] Success code
53928
+ * @property {string|null} [message] Success message
53929
+ */
53930
+
53931
+ /**
53932
+ * Constructs a new Success.
53933
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall
53934
+ * @classdesc Represents a Success.
53935
+ * @implements ISuccess
53936
+ * @constructor
53937
+ * @param {motionmaster.MotionMasterMessage.Status.ForwardCall.ISuccess=} [properties] Properties to set
53938
+ */
53939
+ function Success(properties) {
53940
+ if (properties)
53941
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
53942
+ if (properties[keys[i]] != null)
53943
+ this[keys[i]] = properties[keys[i]];
53944
+ }
53945
+
53946
+ /**
53947
+ * Success code.
53948
+ * @member {motionmaster.MotionMasterMessage.Status.ForwardCall.Success.Code} code
53949
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall.Success
53950
+ * @instance
53951
+ */
53952
+ Success.prototype.code = 0;
53953
+
53954
+ /**
53955
+ * Success message.
53956
+ * @member {string} message
53957
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall.Success
53958
+ * @instance
53959
+ */
53960
+ Success.prototype.message = "";
53961
+
53962
+ /**
53963
+ * Creates a new Success instance using the specified properties.
53964
+ * @function create
53965
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall.Success
53966
+ * @static
53967
+ * @param {motionmaster.MotionMasterMessage.Status.ForwardCall.ISuccess=} [properties] Properties to set
53968
+ * @returns {motionmaster.MotionMasterMessage.Status.ForwardCall.Success} Success instance
53969
+ */
53970
+ Success.create = function create(properties) {
53971
+ return new Success(properties);
53972
+ };
53973
+
53974
+ /**
53975
+ * Encodes the specified Success message. Does not implicitly {@link motionmaster.MotionMasterMessage.Status.ForwardCall.Success.verify|verify} messages.
53976
+ * @function encode
53977
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall.Success
53978
+ * @static
53979
+ * @param {motionmaster.MotionMasterMessage.Status.ForwardCall.ISuccess} message Success message or plain object to encode
53980
+ * @param {$protobuf.Writer} [writer] Writer to encode to
53981
+ * @returns {$protobuf.Writer} Writer
53982
+ */
53983
+ Success.encode = function encode(message, writer) {
53984
+ if (!writer)
53985
+ writer = $Writer.create();
53986
+ if (message.code != null && Object.hasOwnProperty.call(message, "code"))
53987
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.code);
53988
+ if (message.message != null && Object.hasOwnProperty.call(message, "message"))
53989
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.message);
53990
+ return writer;
53991
+ };
53992
+
53993
+ /**
53994
+ * Encodes the specified Success message, length delimited. Does not implicitly {@link motionmaster.MotionMasterMessage.Status.ForwardCall.Success.verify|verify} messages.
53995
+ * @function encodeDelimited
53996
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall.Success
53997
+ * @static
53998
+ * @param {motionmaster.MotionMasterMessage.Status.ForwardCall.ISuccess} message Success message or plain object to encode
53999
+ * @param {$protobuf.Writer} [writer] Writer to encode to
54000
+ * @returns {$protobuf.Writer} Writer
54001
+ */
54002
+ Success.encodeDelimited = function encodeDelimited(message, writer) {
54003
+ return this.encode(message, writer).ldelim();
54004
+ };
54005
+
54006
+ /**
54007
+ * Decodes a Success message from the specified reader or buffer.
54008
+ * @function decode
54009
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall.Success
54010
+ * @static
54011
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
54012
+ * @param {number} [length] Message length if known beforehand
54013
+ * @returns {motionmaster.MotionMasterMessage.Status.ForwardCall.Success} Success
54014
+ * @throws {Error} If the payload is not a reader or valid buffer
54015
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
54016
+ */
54017
+ Success.decode = function decode(reader, length) {
54018
+ if (!(reader instanceof $Reader))
54019
+ reader = $Reader.create(reader);
54020
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.motionmaster.MotionMasterMessage.Status.ForwardCall.Success();
54021
+ while (reader.pos < end) {
54022
+ let tag = reader.uint32();
54023
+ switch (tag >>> 3) {
54024
+ case 1: {
54025
+ message.code = reader.int32();
54026
+ break;
54027
+ }
54028
+ case 2: {
54029
+ message.message = reader.string();
54030
+ break;
54031
+ }
54032
+ default:
54033
+ reader.skipType(tag & 7);
54034
+ break;
54035
+ }
54036
+ }
54037
+ return message;
54038
+ };
54039
+
54040
+ /**
54041
+ * Decodes a Success message from the specified reader or buffer, length delimited.
54042
+ * @function decodeDelimited
54043
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall.Success
54044
+ * @static
54045
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
54046
+ * @returns {motionmaster.MotionMasterMessage.Status.ForwardCall.Success} Success
54047
+ * @throws {Error} If the payload is not a reader or valid buffer
54048
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
54049
+ */
54050
+ Success.decodeDelimited = function decodeDelimited(reader) {
54051
+ if (!(reader instanceof $Reader))
54052
+ reader = new $Reader(reader);
54053
+ return this.decode(reader, reader.uint32());
54054
+ };
54055
+
54056
+ /**
54057
+ * Verifies a Success message.
54058
+ * @function verify
54059
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall.Success
54060
+ * @static
54061
+ * @param {Object.<string,*>} message Plain object to verify
54062
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
54063
+ */
54064
+ Success.verify = function verify(message) {
54065
+ if (typeof message !== "object" || message === null)
54066
+ return "object expected";
54067
+ if (message.code != null && message.hasOwnProperty("code"))
54068
+ switch (message.code) {
54069
+ default:
54070
+ return "code: enum value expected";
54071
+ case 0:
54072
+ case 1:
54073
+ break;
54074
+ }
54075
+ if (message.message != null && message.hasOwnProperty("message"))
54076
+ if (!$util.isString(message.message))
54077
+ return "message: string expected";
54078
+ return null;
54079
+ };
54080
+
54081
+ /**
54082
+ * Creates a Success message from a plain object. Also converts values to their respective internal types.
54083
+ * @function fromObject
54084
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall.Success
54085
+ * @static
54086
+ * @param {Object.<string,*>} object Plain object
54087
+ * @returns {motionmaster.MotionMasterMessage.Status.ForwardCall.Success} Success
54088
+ */
54089
+ Success.fromObject = function fromObject(object) {
54090
+ if (object instanceof $root.motionmaster.MotionMasterMessage.Status.ForwardCall.Success)
54091
+ return object;
54092
+ let message = new $root.motionmaster.MotionMasterMessage.Status.ForwardCall.Success();
54093
+ switch (object.code) {
54094
+ default:
54095
+ if (typeof object.code === "number") {
54096
+ message.code = object.code;
54097
+ break;
54098
+ }
54099
+ break;
54100
+ case "UNSPECIFIED":
54101
+ case 0:
54102
+ message.code = 0;
54103
+ break;
54104
+ case "DONE":
54105
+ case 1:
54106
+ message.code = 1;
54107
+ break;
54108
+ }
54109
+ if (object.message != null)
54110
+ message.message = String(object.message);
54111
+ return message;
54112
+ };
54113
+
54114
+ /**
54115
+ * Creates a plain object from a Success message. Also converts values to other types if specified.
54116
+ * @function toObject
54117
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall.Success
54118
+ * @static
54119
+ * @param {motionmaster.MotionMasterMessage.Status.ForwardCall.Success} message Success
54120
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
54121
+ * @returns {Object.<string,*>} Plain object
54122
+ */
54123
+ Success.toObject = function toObject(message, options) {
54124
+ if (!options)
54125
+ options = {};
54126
+ let object = {};
54127
+ if (options.defaults) {
54128
+ object.code = options.enums === String ? "UNSPECIFIED" : 0;
54129
+ object.message = "";
54130
+ }
54131
+ if (message.code != null && message.hasOwnProperty("code"))
54132
+ object.code = options.enums === String ? $root.motionmaster.MotionMasterMessage.Status.ForwardCall.Success.Code[message.code] === undefined ? message.code : $root.motionmaster.MotionMasterMessage.Status.ForwardCall.Success.Code[message.code] : message.code;
54133
+ if (message.message != null && message.hasOwnProperty("message"))
54134
+ object.message = message.message;
54135
+ return object;
54136
+ };
54137
+
54138
+ /**
54139
+ * Converts this Success to JSON.
54140
+ * @function toJSON
54141
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall.Success
54142
+ * @instance
54143
+ * @returns {Object.<string,*>} JSON object
54144
+ */
54145
+ Success.prototype.toJSON = function toJSON() {
54146
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
54147
+ };
54148
+
54149
+ /**
54150
+ * Gets the default type url for Success
54151
+ * @function getTypeUrl
54152
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall.Success
54153
+ * @static
54154
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
54155
+ * @returns {string} The default type url
54156
+ */
54157
+ Success.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
54158
+ if (typeUrlPrefix === undefined) {
54159
+ typeUrlPrefix = "type.googleapis.com";
54160
+ }
54161
+ return typeUrlPrefix + "/motionmaster.MotionMasterMessage.Status.ForwardCall.Success";
54162
+ };
54163
+
54164
+ /**
54165
+ * Code enum.
54166
+ * @name motionmaster.MotionMasterMessage.Status.ForwardCall.Success.Code
54167
+ * @enum {number}
54168
+ * @property {number} UNSPECIFIED=0 UNSPECIFIED value
54169
+ * @property {number} DONE=1 DONE value
54170
+ */
54171
+ Success.Code = (function() {
54172
+ const valuesById = {}, values = Object.create(valuesById);
54173
+ values[valuesById[0] = "UNSPECIFIED"] = 0;
54174
+ values[valuesById[1] = "DONE"] = 1;
54175
+ return values;
54176
+ })();
54177
+
54178
+ return Success;
54179
+ })();
54180
+
54181
+ ForwardCall.Error = (function() {
54182
+
54183
+ /**
54184
+ * Properties of an Error.
54185
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall
54186
+ * @interface IError
54187
+ * @property {motionmaster.MotionMasterMessage.Status.ForwardCall.Error.Code|null} [code] Error code
54188
+ * @property {string|null} [message] Error message
54189
+ */
54190
+
54191
+ /**
54192
+ * Constructs a new Error.
54193
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall
54194
+ * @classdesc Represents an Error.
54195
+ * @implements IError
54196
+ * @constructor
54197
+ * @param {motionmaster.MotionMasterMessage.Status.ForwardCall.IError=} [properties] Properties to set
54198
+ */
54199
+ function Error(properties) {
54200
+ if (properties)
54201
+ for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
54202
+ if (properties[keys[i]] != null)
54203
+ this[keys[i]] = properties[keys[i]];
54204
+ }
54205
+
54206
+ /**
54207
+ * Error code.
54208
+ * @member {motionmaster.MotionMasterMessage.Status.ForwardCall.Error.Code} code
54209
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall.Error
54210
+ * @instance
54211
+ */
54212
+ Error.prototype.code = 0;
54213
+
54214
+ /**
54215
+ * Error message.
54216
+ * @member {string} message
54217
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall.Error
54218
+ * @instance
54219
+ */
54220
+ Error.prototype.message = "";
54221
+
54222
+ /**
54223
+ * Creates a new Error instance using the specified properties.
54224
+ * @function create
54225
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall.Error
54226
+ * @static
54227
+ * @param {motionmaster.MotionMasterMessage.Status.ForwardCall.IError=} [properties] Properties to set
54228
+ * @returns {motionmaster.MotionMasterMessage.Status.ForwardCall.Error} Error instance
54229
+ */
54230
+ Error.create = function create(properties) {
54231
+ return new Error(properties);
54232
+ };
54233
+
54234
+ /**
54235
+ * Encodes the specified Error message. Does not implicitly {@link motionmaster.MotionMasterMessage.Status.ForwardCall.Error.verify|verify} messages.
54236
+ * @function encode
54237
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall.Error
54238
+ * @static
54239
+ * @param {motionmaster.MotionMasterMessage.Status.ForwardCall.IError} message Error message or plain object to encode
54240
+ * @param {$protobuf.Writer} [writer] Writer to encode to
54241
+ * @returns {$protobuf.Writer} Writer
54242
+ */
54243
+ Error.encode = function encode(message, writer) {
54244
+ if (!writer)
54245
+ writer = $Writer.create();
54246
+ if (message.code != null && Object.hasOwnProperty.call(message, "code"))
54247
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.code);
54248
+ if (message.message != null && Object.hasOwnProperty.call(message, "message"))
54249
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.message);
54250
+ return writer;
54251
+ };
54252
+
54253
+ /**
54254
+ * Encodes the specified Error message, length delimited. Does not implicitly {@link motionmaster.MotionMasterMessage.Status.ForwardCall.Error.verify|verify} messages.
54255
+ * @function encodeDelimited
54256
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall.Error
54257
+ * @static
54258
+ * @param {motionmaster.MotionMasterMessage.Status.ForwardCall.IError} message Error message or plain object to encode
54259
+ * @param {$protobuf.Writer} [writer] Writer to encode to
54260
+ * @returns {$protobuf.Writer} Writer
54261
+ */
54262
+ Error.encodeDelimited = function encodeDelimited(message, writer) {
54263
+ return this.encode(message, writer).ldelim();
54264
+ };
54265
+
54266
+ /**
54267
+ * Decodes an Error message from the specified reader or buffer.
54268
+ * @function decode
54269
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall.Error
54270
+ * @static
54271
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
54272
+ * @param {number} [length] Message length if known beforehand
54273
+ * @returns {motionmaster.MotionMasterMessage.Status.ForwardCall.Error} Error
54274
+ * @throws {Error} If the payload is not a reader or valid buffer
54275
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
54276
+ */
54277
+ Error.decode = function decode(reader, length) {
54278
+ if (!(reader instanceof $Reader))
54279
+ reader = $Reader.create(reader);
54280
+ let end = length === undefined ? reader.len : reader.pos + length, message = new $root.motionmaster.MotionMasterMessage.Status.ForwardCall.Error();
54281
+ while (reader.pos < end) {
54282
+ let tag = reader.uint32();
54283
+ switch (tag >>> 3) {
54284
+ case 1: {
54285
+ message.code = reader.int32();
54286
+ break;
54287
+ }
54288
+ case 2: {
54289
+ message.message = reader.string();
54290
+ break;
54291
+ }
54292
+ default:
54293
+ reader.skipType(tag & 7);
54294
+ break;
54295
+ }
54296
+ }
54297
+ return message;
54298
+ };
54299
+
54300
+ /**
54301
+ * Decodes an Error message from the specified reader or buffer, length delimited.
54302
+ * @function decodeDelimited
54303
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall.Error
54304
+ * @static
54305
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
54306
+ * @returns {motionmaster.MotionMasterMessage.Status.ForwardCall.Error} Error
54307
+ * @throws {Error} If the payload is not a reader or valid buffer
54308
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
54309
+ */
54310
+ Error.decodeDelimited = function decodeDelimited(reader) {
54311
+ if (!(reader instanceof $Reader))
54312
+ reader = new $Reader(reader);
54313
+ return this.decode(reader, reader.uint32());
54314
+ };
54315
+
54316
+ /**
54317
+ * Verifies an Error message.
54318
+ * @function verify
54319
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall.Error
54320
+ * @static
54321
+ * @param {Object.<string,*>} message Plain object to verify
54322
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
54323
+ */
54324
+ Error.verify = function verify(message) {
54325
+ if (typeof message !== "object" || message === null)
54326
+ return "object expected";
54327
+ if (message.code != null && message.hasOwnProperty("code"))
54328
+ switch (message.code) {
54329
+ default:
54330
+ return "code: enum value expected";
54331
+ case 0:
54332
+ case 1:
54333
+ break;
54334
+ }
54335
+ if (message.message != null && message.hasOwnProperty("message"))
54336
+ if (!$util.isString(message.message))
54337
+ return "message: string expected";
54338
+ return null;
54339
+ };
54340
+
54341
+ /**
54342
+ * Creates an Error message from a plain object. Also converts values to their respective internal types.
54343
+ * @function fromObject
54344
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall.Error
54345
+ * @static
54346
+ * @param {Object.<string,*>} object Plain object
54347
+ * @returns {motionmaster.MotionMasterMessage.Status.ForwardCall.Error} Error
54348
+ */
54349
+ Error.fromObject = function fromObject(object) {
54350
+ if (object instanceof $root.motionmaster.MotionMasterMessage.Status.ForwardCall.Error)
54351
+ return object;
54352
+ let message = new $root.motionmaster.MotionMasterMessage.Status.ForwardCall.Error();
54353
+ switch (object.code) {
54354
+ default:
54355
+ if (typeof object.code === "number") {
54356
+ message.code = object.code;
54357
+ break;
54358
+ }
54359
+ break;
54360
+ case "UNSPECIFIED":
54361
+ case 0:
54362
+ message.code = 0;
54363
+ break;
54364
+ case "FAILED":
54365
+ case 1:
54366
+ message.code = 1;
54367
+ break;
54368
+ }
54369
+ if (object.message != null)
54370
+ message.message = String(object.message);
54371
+ return message;
54372
+ };
54373
+
54374
+ /**
54375
+ * Creates a plain object from an Error message. Also converts values to other types if specified.
54376
+ * @function toObject
54377
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall.Error
54378
+ * @static
54379
+ * @param {motionmaster.MotionMasterMessage.Status.ForwardCall.Error} message Error
54380
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
54381
+ * @returns {Object.<string,*>} Plain object
54382
+ */
54383
+ Error.toObject = function toObject(message, options) {
54384
+ if (!options)
54385
+ options = {};
54386
+ let object = {};
54387
+ if (options.defaults) {
54388
+ object.code = options.enums === String ? "UNSPECIFIED" : 0;
54389
+ object.message = "";
54390
+ }
54391
+ if (message.code != null && message.hasOwnProperty("code"))
54392
+ object.code = options.enums === String ? $root.motionmaster.MotionMasterMessage.Status.ForwardCall.Error.Code[message.code] === undefined ? message.code : $root.motionmaster.MotionMasterMessage.Status.ForwardCall.Error.Code[message.code] : message.code;
54393
+ if (message.message != null && message.hasOwnProperty("message"))
54394
+ object.message = message.message;
54395
+ return object;
54396
+ };
54397
+
54398
+ /**
54399
+ * Converts this Error to JSON.
54400
+ * @function toJSON
54401
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall.Error
54402
+ * @instance
54403
+ * @returns {Object.<string,*>} JSON object
54404
+ */
54405
+ Error.prototype.toJSON = function toJSON() {
54406
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
54407
+ };
54408
+
54409
+ /**
54410
+ * Gets the default type url for Error
54411
+ * @function getTypeUrl
54412
+ * @memberof motionmaster.MotionMasterMessage.Status.ForwardCall.Error
54413
+ * @static
54414
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
54415
+ * @returns {string} The default type url
54416
+ */
54417
+ Error.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
54418
+ if (typeUrlPrefix === undefined) {
54419
+ typeUrlPrefix = "type.googleapis.com";
54420
+ }
54421
+ return typeUrlPrefix + "/motionmaster.MotionMasterMessage.Status.ForwardCall.Error";
54422
+ };
54423
+
54424
+ /**
54425
+ * Code enum.
54426
+ * @name motionmaster.MotionMasterMessage.Status.ForwardCall.Error.Code
54427
+ * @enum {number}
54428
+ * @property {number} UNSPECIFIED=0 UNSPECIFIED value
54429
+ * @property {number} FAILED=1 FAILED value
54430
+ */
54431
+ Error.Code = (function() {
54432
+ const valuesById = {}, values = Object.create(valuesById);
54433
+ values[valuesById[0] = "UNSPECIFIED"] = 0;
54434
+ values[valuesById[1] = "FAILED"] = 1;
54435
+ return values;
54436
+ })();
54437
+
54438
+ return Error;
54439
+ })();
54440
+
54441
+ return ForwardCall;
54442
+ })();
54443
+
53347
54444
  return Status;
53348
54445
  })();
53349
54446