motion-master-client 0.0.429 → 0.0.430
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/package.json +1 -1
- package/src/api.js +233 -206
- package/src/api.js.map +1 -1
- package/src/lib/motion-master-req-res-client.d.ts +30 -1
- package/src/lib/motion-master-req-res-client.js +39 -0
- package/src/lib/motion-master-req-res-client.js.map +1 -1
- package/src/lib/motion-master.proto.d.ts +179 -2
- package/src/lib/motion-master.proto.js +1998 -4
- package/src/lib/request-status-resolver.js +9 -0
- package/src/lib/request-status-resolver.js.map +1 -1
- package/src/lib/types.d.ts +4 -0
- package/src/lib/types.js.map +1 -1
|
@@ -80,6 +80,8 @@ export namespace motionmaster {
|
|
|
80
80
|
getSystemInformation?: (motionmaster.MotionMasterMessage.Request.IGetSystemInformation|null);
|
|
81
81
|
setPdoMode?: (motionmaster.MotionMasterMessage.Request.ISetPdoMode|null);
|
|
82
82
|
getDeviceSii?: (motionmaster.MotionMasterMessage.Request.IGetDeviceSii|null);
|
|
83
|
+
discoverEthernetDevices?: (motionmaster.MotionMasterMessage.Request.IDiscoverEthernetDevices|null);
|
|
84
|
+
stopEthernetDiscovery?: (motionmaster.MotionMasterMessage.Request.IStopEthernetDiscovery|null);
|
|
83
85
|
}
|
|
84
86
|
|
|
85
87
|
class Request implements IRequest {
|
|
@@ -136,7 +138,9 @@ export namespace motionmaster {
|
|
|
136
138
|
public getSystemInformation?: (motionmaster.MotionMasterMessage.Request.IGetSystemInformation|null);
|
|
137
139
|
public setPdoMode?: (motionmaster.MotionMasterMessage.Request.ISetPdoMode|null);
|
|
138
140
|
public getDeviceSii?: (motionmaster.MotionMasterMessage.Request.IGetDeviceSii|null);
|
|
139
|
-
public
|
|
141
|
+
public discoverEthernetDevices?: (motionmaster.MotionMasterMessage.Request.IDiscoverEthernetDevices|null);
|
|
142
|
+
public stopEthernetDiscovery?: (motionmaster.MotionMasterMessage.Request.IStopEthernetDiscovery|null);
|
|
143
|
+
public type?: ("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"|"getSystemInformation"|"setPdoMode"|"getDeviceSii"|"discoverEthernetDevices"|"stopEthernetDiscovery");
|
|
140
144
|
public static create(properties?: motionmaster.MotionMasterMessage.IRequest): motionmaster.MotionMasterMessage.Request;
|
|
141
145
|
public static encode(message: motionmaster.MotionMasterMessage.IRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
142
146
|
public static encodeDelimited(message: motionmaster.MotionMasterMessage.IRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
@@ -1920,6 +1924,46 @@ export namespace motionmaster {
|
|
|
1920
1924
|
public toJSON(): { [k: string]: any };
|
|
1921
1925
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1922
1926
|
}
|
|
1927
|
+
|
|
1928
|
+
interface IDiscoverEthernetDevices {
|
|
1929
|
+
mac?: (string|null);
|
|
1930
|
+
durationMs?: (number|null);
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1933
|
+
class DiscoverEthernetDevices implements IDiscoverEthernetDevices {
|
|
1934
|
+
constructor(properties?: motionmaster.MotionMasterMessage.Request.IDiscoverEthernetDevices);
|
|
1935
|
+
public mac: string;
|
|
1936
|
+
public durationMs: number;
|
|
1937
|
+
public static create(properties?: motionmaster.MotionMasterMessage.Request.IDiscoverEthernetDevices): motionmaster.MotionMasterMessage.Request.DiscoverEthernetDevices;
|
|
1938
|
+
public static encode(message: motionmaster.MotionMasterMessage.Request.IDiscoverEthernetDevices, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1939
|
+
public static encodeDelimited(message: motionmaster.MotionMasterMessage.Request.IDiscoverEthernetDevices, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1940
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): motionmaster.MotionMasterMessage.Request.DiscoverEthernetDevices;
|
|
1941
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): motionmaster.MotionMasterMessage.Request.DiscoverEthernetDevices;
|
|
1942
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1943
|
+
public static fromObject(object: { [k: string]: any }): motionmaster.MotionMasterMessage.Request.DiscoverEthernetDevices;
|
|
1944
|
+
public static toObject(message: motionmaster.MotionMasterMessage.Request.DiscoverEthernetDevices, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1945
|
+
public toJSON(): { [k: string]: any };
|
|
1946
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1947
|
+
}
|
|
1948
|
+
|
|
1949
|
+
interface IStopEthernetDiscovery {
|
|
1950
|
+
mac?: (string|null);
|
|
1951
|
+
}
|
|
1952
|
+
|
|
1953
|
+
class StopEthernetDiscovery implements IStopEthernetDiscovery {
|
|
1954
|
+
constructor(properties?: motionmaster.MotionMasterMessage.Request.IStopEthernetDiscovery);
|
|
1955
|
+
public mac: string;
|
|
1956
|
+
public static create(properties?: motionmaster.MotionMasterMessage.Request.IStopEthernetDiscovery): motionmaster.MotionMasterMessage.Request.StopEthernetDiscovery;
|
|
1957
|
+
public static encode(message: motionmaster.MotionMasterMessage.Request.IStopEthernetDiscovery, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1958
|
+
public static encodeDelimited(message: motionmaster.MotionMasterMessage.Request.IStopEthernetDiscovery, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1959
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): motionmaster.MotionMasterMessage.Request.StopEthernetDiscovery;
|
|
1960
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): motionmaster.MotionMasterMessage.Request.StopEthernetDiscovery;
|
|
1961
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1962
|
+
public static fromObject(object: { [k: string]: any }): motionmaster.MotionMasterMessage.Request.StopEthernetDiscovery;
|
|
1963
|
+
public static toObject(message: motionmaster.MotionMasterMessage.Request.StopEthernetDiscovery, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1964
|
+
public toJSON(): { [k: string]: any };
|
|
1965
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1966
|
+
}
|
|
1923
1967
|
}
|
|
1924
1968
|
|
|
1925
1969
|
interface IStatus {
|
|
@@ -1961,6 +2005,8 @@ export namespace motionmaster {
|
|
|
1961
2005
|
systemInformation?: (motionmaster.MotionMasterMessage.Status.ISystemInformation|null);
|
|
1962
2006
|
pdoMode?: (motionmaster.MotionMasterMessage.Status.IPdoMode|null);
|
|
1963
2007
|
deviceSii?: (motionmaster.MotionMasterMessage.Status.IDeviceSii|null);
|
|
2008
|
+
ethernetDiscovery?: (motionmaster.MotionMasterMessage.Status.IEthernetDiscovery|null);
|
|
2009
|
+
ethernetDiscoveryStop?: (motionmaster.MotionMasterMessage.Status.IEthernetDiscoveryStop|null);
|
|
1964
2010
|
}
|
|
1965
2011
|
|
|
1966
2012
|
class Status implements IStatus {
|
|
@@ -2003,7 +2049,9 @@ export namespace motionmaster {
|
|
|
2003
2049
|
public systemInformation?: (motionmaster.MotionMasterMessage.Status.ISystemInformation|null);
|
|
2004
2050
|
public pdoMode?: (motionmaster.MotionMasterMessage.Status.IPdoMode|null);
|
|
2005
2051
|
public deviceSii?: (motionmaster.MotionMasterMessage.Status.IDeviceSii|null);
|
|
2006
|
-
public
|
|
2052
|
+
public ethernetDiscovery?: (motionmaster.MotionMasterMessage.Status.IEthernetDiscovery|null);
|
|
2053
|
+
public ethernetDiscoveryStop?: (motionmaster.MotionMasterMessage.Status.IEthernetDiscoveryStop|null);
|
|
2054
|
+
public type?: ("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"|"systemInformation"|"pdoMode"|"deviceSii"|"ethernetDiscovery"|"ethernetDiscoveryStop");
|
|
2007
2055
|
public static create(properties?: motionmaster.MotionMasterMessage.IStatus): motionmaster.MotionMasterMessage.Status;
|
|
2008
2056
|
public static encode(message: motionmaster.MotionMasterMessage.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2009
2057
|
public static encodeDelimited(message: motionmaster.MotionMasterMessage.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
@@ -5568,6 +5616,135 @@ export namespace motionmaster {
|
|
|
5568
5616
|
}
|
|
5569
5617
|
}
|
|
5570
5618
|
}
|
|
5619
|
+
|
|
5620
|
+
interface IEthernetDiscovery {
|
|
5621
|
+
mac?: (string|null);
|
|
5622
|
+
durationMs?: (number|null);
|
|
5623
|
+
answerDelayMs?: (number|null);
|
|
5624
|
+
devices?: (motionmaster.MotionMasterMessage.Status.EthernetDiscovery.IDevice[]|null);
|
|
5625
|
+
warnings?: (string[]|null);
|
|
5626
|
+
error?: (motionmaster.MotionMasterMessage.Status.EthernetDiscovery.IError|null);
|
|
5627
|
+
stopped?: (boolean|null);
|
|
5628
|
+
}
|
|
5629
|
+
|
|
5630
|
+
class EthernetDiscovery implements IEthernetDiscovery {
|
|
5631
|
+
constructor(properties?: motionmaster.MotionMasterMessage.Status.IEthernetDiscovery);
|
|
5632
|
+
public mac: string;
|
|
5633
|
+
public durationMs: number;
|
|
5634
|
+
public answerDelayMs: number;
|
|
5635
|
+
public devices: motionmaster.MotionMasterMessage.Status.EthernetDiscovery.IDevice[];
|
|
5636
|
+
public warnings: string[];
|
|
5637
|
+
public error?: (motionmaster.MotionMasterMessage.Status.EthernetDiscovery.IError|null);
|
|
5638
|
+
public stopped: boolean;
|
|
5639
|
+
public static create(properties?: motionmaster.MotionMasterMessage.Status.IEthernetDiscovery): motionmaster.MotionMasterMessage.Status.EthernetDiscovery;
|
|
5640
|
+
public static encode(message: motionmaster.MotionMasterMessage.Status.IEthernetDiscovery, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5641
|
+
public static encodeDelimited(message: motionmaster.MotionMasterMessage.Status.IEthernetDiscovery, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5642
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): motionmaster.MotionMasterMessage.Status.EthernetDiscovery;
|
|
5643
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): motionmaster.MotionMasterMessage.Status.EthernetDiscovery;
|
|
5644
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5645
|
+
public static fromObject(object: { [k: string]: any }): motionmaster.MotionMasterMessage.Status.EthernetDiscovery;
|
|
5646
|
+
public static toObject(message: motionmaster.MotionMasterMessage.Status.EthernetDiscovery, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5647
|
+
public toJSON(): { [k: string]: any };
|
|
5648
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5649
|
+
}
|
|
5650
|
+
|
|
5651
|
+
namespace EthernetDiscovery {
|
|
5652
|
+
|
|
5653
|
+
interface IDevice {
|
|
5654
|
+
ipAddress?: (string|null);
|
|
5655
|
+
macAddress?: (string|null);
|
|
5656
|
+
name?: (string|null);
|
|
5657
|
+
firmware?: (string|null);
|
|
5658
|
+
vendorId?: (number|null);
|
|
5659
|
+
deviceId?: (number|null);
|
|
5660
|
+
productCode?: (number|null);
|
|
5661
|
+
serialNumber?: (number|null);
|
|
5662
|
+
sameSubnet?: (boolean|null);
|
|
5663
|
+
foundBy?: (string[]|null);
|
|
5664
|
+
}
|
|
5665
|
+
|
|
5666
|
+
class Device implements IDevice {
|
|
5667
|
+
constructor(properties?: motionmaster.MotionMasterMessage.Status.EthernetDiscovery.IDevice);
|
|
5668
|
+
public ipAddress?: (string|null);
|
|
5669
|
+
public macAddress?: (string|null);
|
|
5670
|
+
public name: string;
|
|
5671
|
+
public firmware?: (string|null);
|
|
5672
|
+
public vendorId?: (number|null);
|
|
5673
|
+
public deviceId?: (number|null);
|
|
5674
|
+
public productCode?: (number|null);
|
|
5675
|
+
public serialNumber?: (number|null);
|
|
5676
|
+
public sameSubnet?: (boolean|null);
|
|
5677
|
+
public foundBy: string[];
|
|
5678
|
+
public _ipAddress?: "ipAddress";
|
|
5679
|
+
public _macAddress?: "macAddress";
|
|
5680
|
+
public _firmware?: "firmware";
|
|
5681
|
+
public _vendorId?: "vendorId";
|
|
5682
|
+
public _deviceId?: "deviceId";
|
|
5683
|
+
public _productCode?: "productCode";
|
|
5684
|
+
public _serialNumber?: "serialNumber";
|
|
5685
|
+
public _sameSubnet?: "sameSubnet";
|
|
5686
|
+
public static create(properties?: motionmaster.MotionMasterMessage.Status.EthernetDiscovery.IDevice): motionmaster.MotionMasterMessage.Status.EthernetDiscovery.Device;
|
|
5687
|
+
public static encode(message: motionmaster.MotionMasterMessage.Status.EthernetDiscovery.IDevice, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5688
|
+
public static encodeDelimited(message: motionmaster.MotionMasterMessage.Status.EthernetDiscovery.IDevice, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5689
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): motionmaster.MotionMasterMessage.Status.EthernetDiscovery.Device;
|
|
5690
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): motionmaster.MotionMasterMessage.Status.EthernetDiscovery.Device;
|
|
5691
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5692
|
+
public static fromObject(object: { [k: string]: any }): motionmaster.MotionMasterMessage.Status.EthernetDiscovery.Device;
|
|
5693
|
+
public static toObject(message: motionmaster.MotionMasterMessage.Status.EthernetDiscovery.Device, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5694
|
+
public toJSON(): { [k: string]: any };
|
|
5695
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5696
|
+
}
|
|
5697
|
+
|
|
5698
|
+
interface IError {
|
|
5699
|
+
code?: (motionmaster.MotionMasterMessage.Status.EthernetDiscovery.Error.Code|null);
|
|
5700
|
+
message?: (string|null);
|
|
5701
|
+
}
|
|
5702
|
+
|
|
5703
|
+
class Error implements IError {
|
|
5704
|
+
constructor(properties?: motionmaster.MotionMasterMessage.Status.EthernetDiscovery.IError);
|
|
5705
|
+
public code: motionmaster.MotionMasterMessage.Status.EthernetDiscovery.Error.Code;
|
|
5706
|
+
public message: string;
|
|
5707
|
+
public static create(properties?: motionmaster.MotionMasterMessage.Status.EthernetDiscovery.IError): motionmaster.MotionMasterMessage.Status.EthernetDiscovery.Error;
|
|
5708
|
+
public static encode(message: motionmaster.MotionMasterMessage.Status.EthernetDiscovery.IError, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5709
|
+
public static encodeDelimited(message: motionmaster.MotionMasterMessage.Status.EthernetDiscovery.IError, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5710
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): motionmaster.MotionMasterMessage.Status.EthernetDiscovery.Error;
|
|
5711
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): motionmaster.MotionMasterMessage.Status.EthernetDiscovery.Error;
|
|
5712
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5713
|
+
public static fromObject(object: { [k: string]: any }): motionmaster.MotionMasterMessage.Status.EthernetDiscovery.Error;
|
|
5714
|
+
public static toObject(message: motionmaster.MotionMasterMessage.Status.EthernetDiscovery.Error, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5715
|
+
public toJSON(): { [k: string]: any };
|
|
5716
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5717
|
+
}
|
|
5718
|
+
|
|
5719
|
+
namespace Error {
|
|
5720
|
+
|
|
5721
|
+
enum Code {
|
|
5722
|
+
UNSPECIFIED = 0,
|
|
5723
|
+
FAILED = 1
|
|
5724
|
+
}
|
|
5725
|
+
}
|
|
5726
|
+
}
|
|
5727
|
+
|
|
5728
|
+
interface IEthernetDiscoveryStop {
|
|
5729
|
+
mac?: (string|null);
|
|
5730
|
+
stoppedDiscoveries?: (number|null);
|
|
5731
|
+
}
|
|
5732
|
+
|
|
5733
|
+
class EthernetDiscoveryStop implements IEthernetDiscoveryStop {
|
|
5734
|
+
constructor(properties?: motionmaster.MotionMasterMessage.Status.IEthernetDiscoveryStop);
|
|
5735
|
+
public mac: string;
|
|
5736
|
+
public stoppedDiscoveries: number;
|
|
5737
|
+
public static create(properties?: motionmaster.MotionMasterMessage.Status.IEthernetDiscoveryStop): motionmaster.MotionMasterMessage.Status.EthernetDiscoveryStop;
|
|
5738
|
+
public static encode(message: motionmaster.MotionMasterMessage.Status.IEthernetDiscoveryStop, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5739
|
+
public static encodeDelimited(message: motionmaster.MotionMasterMessage.Status.IEthernetDiscoveryStop, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5740
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): motionmaster.MotionMasterMessage.Status.EthernetDiscoveryStop;
|
|
5741
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): motionmaster.MotionMasterMessage.Status.EthernetDiscoveryStop;
|
|
5742
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5743
|
+
public static fromObject(object: { [k: string]: any }): motionmaster.MotionMasterMessage.Status.EthernetDiscoveryStop;
|
|
5744
|
+
public static toObject(message: motionmaster.MotionMasterMessage.Status.EthernetDiscoveryStop, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5745
|
+
public toJSON(): { [k: string]: any };
|
|
5746
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5747
|
+
}
|
|
5571
5748
|
}
|
|
5572
5749
|
}
|
|
5573
5750
|
}
|