motion-master-client 0.0.429 → 0.0.431
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 +268 -206
- package/src/api.js.map +1 -1
- package/src/lib/device.d.ts +7 -0
- package/src/lib/device.js.map +1 -1
- package/src/lib/motion-master-req-res-client.d.ts +52 -1
- package/src/lib/motion-master-req-res-client.js +79 -2
- package/src/lib/motion-master-req-res-client.js.map +1 -1
- package/src/lib/motion-master.proto.d.ts +341 -2
- package/src/lib/motion-master.proto.js +15865 -12203
- package/src/lib/request-status-resolver.js +22 -0
- package/src/lib/request-status-resolver.js.map +1 -1
- package/src/lib/types.d.ts +8 -0
- package/src/lib/types.js.map +1 -1
|
@@ -80,6 +80,10 @@ 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);
|
|
85
|
+
startDeviceLocate?: (motionmaster.MotionMasterMessage.Request.IStartDeviceLocate|null);
|
|
86
|
+
stopDeviceLocate?: (motionmaster.MotionMasterMessage.Request.IStopDeviceLocate|null);
|
|
83
87
|
}
|
|
84
88
|
|
|
85
89
|
class Request implements IRequest {
|
|
@@ -136,7 +140,11 @@ export namespace motionmaster {
|
|
|
136
140
|
public getSystemInformation?: (motionmaster.MotionMasterMessage.Request.IGetSystemInformation|null);
|
|
137
141
|
public setPdoMode?: (motionmaster.MotionMasterMessage.Request.ISetPdoMode|null);
|
|
138
142
|
public getDeviceSii?: (motionmaster.MotionMasterMessage.Request.IGetDeviceSii|null);
|
|
139
|
-
public
|
|
143
|
+
public discoverEthernetDevices?: (motionmaster.MotionMasterMessage.Request.IDiscoverEthernetDevices|null);
|
|
144
|
+
public stopEthernetDiscovery?: (motionmaster.MotionMasterMessage.Request.IStopEthernetDiscovery|null);
|
|
145
|
+
public startDeviceLocate?: (motionmaster.MotionMasterMessage.Request.IStartDeviceLocate|null);
|
|
146
|
+
public stopDeviceLocate?: (motionmaster.MotionMasterMessage.Request.IStopDeviceLocate|null);
|
|
147
|
+
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"|"startDeviceLocate"|"stopDeviceLocate");
|
|
140
148
|
public static create(properties?: motionmaster.MotionMasterMessage.IRequest): motionmaster.MotionMasterMessage.Request;
|
|
141
149
|
public static encode(message: motionmaster.MotionMasterMessage.IRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
142
150
|
public static encodeDelimited(message: motionmaster.MotionMasterMessage.IRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
@@ -1920,6 +1928,86 @@ export namespace motionmaster {
|
|
|
1920
1928
|
public toJSON(): { [k: string]: any };
|
|
1921
1929
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1922
1930
|
}
|
|
1931
|
+
|
|
1932
|
+
interface IDiscoverEthernetDevices {
|
|
1933
|
+
mac?: (string|null);
|
|
1934
|
+
durationMs?: (number|null);
|
|
1935
|
+
}
|
|
1936
|
+
|
|
1937
|
+
class DiscoverEthernetDevices implements IDiscoverEthernetDevices {
|
|
1938
|
+
constructor(properties?: motionmaster.MotionMasterMessage.Request.IDiscoverEthernetDevices);
|
|
1939
|
+
public mac: string;
|
|
1940
|
+
public durationMs: number;
|
|
1941
|
+
public static create(properties?: motionmaster.MotionMasterMessage.Request.IDiscoverEthernetDevices): motionmaster.MotionMasterMessage.Request.DiscoverEthernetDevices;
|
|
1942
|
+
public static encode(message: motionmaster.MotionMasterMessage.Request.IDiscoverEthernetDevices, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1943
|
+
public static encodeDelimited(message: motionmaster.MotionMasterMessage.Request.IDiscoverEthernetDevices, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1944
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): motionmaster.MotionMasterMessage.Request.DiscoverEthernetDevices;
|
|
1945
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): motionmaster.MotionMasterMessage.Request.DiscoverEthernetDevices;
|
|
1946
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1947
|
+
public static fromObject(object: { [k: string]: any }): motionmaster.MotionMasterMessage.Request.DiscoverEthernetDevices;
|
|
1948
|
+
public static toObject(message: motionmaster.MotionMasterMessage.Request.DiscoverEthernetDevices, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1949
|
+
public toJSON(): { [k: string]: any };
|
|
1950
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1951
|
+
}
|
|
1952
|
+
|
|
1953
|
+
interface IStopEthernetDiscovery {
|
|
1954
|
+
mac?: (string|null);
|
|
1955
|
+
}
|
|
1956
|
+
|
|
1957
|
+
class StopEthernetDiscovery implements IStopEthernetDiscovery {
|
|
1958
|
+
constructor(properties?: motionmaster.MotionMasterMessage.Request.IStopEthernetDiscovery);
|
|
1959
|
+
public mac: string;
|
|
1960
|
+
public static create(properties?: motionmaster.MotionMasterMessage.Request.IStopEthernetDiscovery): motionmaster.MotionMasterMessage.Request.StopEthernetDiscovery;
|
|
1961
|
+
public static encode(message: motionmaster.MotionMasterMessage.Request.IStopEthernetDiscovery, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1962
|
+
public static encodeDelimited(message: motionmaster.MotionMasterMessage.Request.IStopEthernetDiscovery, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1963
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): motionmaster.MotionMasterMessage.Request.StopEthernetDiscovery;
|
|
1964
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): motionmaster.MotionMasterMessage.Request.StopEthernetDiscovery;
|
|
1965
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1966
|
+
public static fromObject(object: { [k: string]: any }): motionmaster.MotionMasterMessage.Request.StopEthernetDiscovery;
|
|
1967
|
+
public static toObject(message: motionmaster.MotionMasterMessage.Request.StopEthernetDiscovery, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1968
|
+
public toJSON(): { [k: string]: any };
|
|
1969
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1970
|
+
}
|
|
1971
|
+
|
|
1972
|
+
interface IStartDeviceLocate {
|
|
1973
|
+
deviceAddress?: (number|null);
|
|
1974
|
+
durationMs?: (number|null);
|
|
1975
|
+
}
|
|
1976
|
+
|
|
1977
|
+
class StartDeviceLocate implements IStartDeviceLocate {
|
|
1978
|
+
constructor(properties?: motionmaster.MotionMasterMessage.Request.IStartDeviceLocate);
|
|
1979
|
+
public deviceAddress: number;
|
|
1980
|
+
public durationMs: number;
|
|
1981
|
+
public static create(properties?: motionmaster.MotionMasterMessage.Request.IStartDeviceLocate): motionmaster.MotionMasterMessage.Request.StartDeviceLocate;
|
|
1982
|
+
public static encode(message: motionmaster.MotionMasterMessage.Request.IStartDeviceLocate, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1983
|
+
public static encodeDelimited(message: motionmaster.MotionMasterMessage.Request.IStartDeviceLocate, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1984
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): motionmaster.MotionMasterMessage.Request.StartDeviceLocate;
|
|
1985
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): motionmaster.MotionMasterMessage.Request.StartDeviceLocate;
|
|
1986
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1987
|
+
public static fromObject(object: { [k: string]: any }): motionmaster.MotionMasterMessage.Request.StartDeviceLocate;
|
|
1988
|
+
public static toObject(message: motionmaster.MotionMasterMessage.Request.StartDeviceLocate, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1989
|
+
public toJSON(): { [k: string]: any };
|
|
1990
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1991
|
+
}
|
|
1992
|
+
|
|
1993
|
+
interface IStopDeviceLocate {
|
|
1994
|
+
deviceAddress?: (number|null);
|
|
1995
|
+
}
|
|
1996
|
+
|
|
1997
|
+
class StopDeviceLocate implements IStopDeviceLocate {
|
|
1998
|
+
constructor(properties?: motionmaster.MotionMasterMessage.Request.IStopDeviceLocate);
|
|
1999
|
+
public deviceAddress: number;
|
|
2000
|
+
public static create(properties?: motionmaster.MotionMasterMessage.Request.IStopDeviceLocate): motionmaster.MotionMasterMessage.Request.StopDeviceLocate;
|
|
2001
|
+
public static encode(message: motionmaster.MotionMasterMessage.Request.IStopDeviceLocate, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2002
|
+
public static encodeDelimited(message: motionmaster.MotionMasterMessage.Request.IStopDeviceLocate, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2003
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): motionmaster.MotionMasterMessage.Request.StopDeviceLocate;
|
|
2004
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): motionmaster.MotionMasterMessage.Request.StopDeviceLocate;
|
|
2005
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2006
|
+
public static fromObject(object: { [k: string]: any }): motionmaster.MotionMasterMessage.Request.StopDeviceLocate;
|
|
2007
|
+
public static toObject(message: motionmaster.MotionMasterMessage.Request.StopDeviceLocate, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2008
|
+
public toJSON(): { [k: string]: any };
|
|
2009
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2010
|
+
}
|
|
1923
2011
|
}
|
|
1924
2012
|
|
|
1925
2013
|
interface IStatus {
|
|
@@ -1961,6 +2049,10 @@ export namespace motionmaster {
|
|
|
1961
2049
|
systemInformation?: (motionmaster.MotionMasterMessage.Status.ISystemInformation|null);
|
|
1962
2050
|
pdoMode?: (motionmaster.MotionMasterMessage.Status.IPdoMode|null);
|
|
1963
2051
|
deviceSii?: (motionmaster.MotionMasterMessage.Status.IDeviceSii|null);
|
|
2052
|
+
ethernetDiscovery?: (motionmaster.MotionMasterMessage.Status.IEthernetDiscovery|null);
|
|
2053
|
+
ethernetDiscoveryStop?: (motionmaster.MotionMasterMessage.Status.IEthernetDiscoveryStop|null);
|
|
2054
|
+
deviceLocate?: (motionmaster.MotionMasterMessage.Status.IDeviceLocate|null);
|
|
2055
|
+
deviceLocateStop?: (motionmaster.MotionMasterMessage.Status.IDeviceLocateStop|null);
|
|
1964
2056
|
}
|
|
1965
2057
|
|
|
1966
2058
|
class Status implements IStatus {
|
|
@@ -2003,7 +2095,11 @@ export namespace motionmaster {
|
|
|
2003
2095
|
public systemInformation?: (motionmaster.MotionMasterMessage.Status.ISystemInformation|null);
|
|
2004
2096
|
public pdoMode?: (motionmaster.MotionMasterMessage.Status.IPdoMode|null);
|
|
2005
2097
|
public deviceSii?: (motionmaster.MotionMasterMessage.Status.IDeviceSii|null);
|
|
2006
|
-
public
|
|
2098
|
+
public ethernetDiscovery?: (motionmaster.MotionMasterMessage.Status.IEthernetDiscovery|null);
|
|
2099
|
+
public ethernetDiscoveryStop?: (motionmaster.MotionMasterMessage.Status.IEthernetDiscoveryStop|null);
|
|
2100
|
+
public deviceLocate?: (motionmaster.MotionMasterMessage.Status.IDeviceLocate|null);
|
|
2101
|
+
public deviceLocateStop?: (motionmaster.MotionMasterMessage.Status.IDeviceLocateStop|null);
|
|
2102
|
+
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"|"deviceLocate"|"deviceLocateStop");
|
|
2007
2103
|
public static create(properties?: motionmaster.MotionMasterMessage.IStatus): motionmaster.MotionMasterMessage.Status;
|
|
2008
2104
|
public static encode(message: motionmaster.MotionMasterMessage.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2009
2105
|
public static encodeDelimited(message: motionmaster.MotionMasterMessage.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
@@ -2243,6 +2339,7 @@ export namespace motionmaster {
|
|
|
2243
2339
|
type?: (motionmaster.MotionMasterMessage.Status.DeviceInfo.Device.Type|null);
|
|
2244
2340
|
position?: (number|null);
|
|
2245
2341
|
alias?: (number|null);
|
|
2342
|
+
ipAddress?: (string|null);
|
|
2246
2343
|
}
|
|
2247
2344
|
|
|
2248
2345
|
class Device implements IDevice {
|
|
@@ -2251,6 +2348,7 @@ export namespace motionmaster {
|
|
|
2251
2348
|
public type: motionmaster.MotionMasterMessage.Status.DeviceInfo.Device.Type;
|
|
2252
2349
|
public position: number;
|
|
2253
2350
|
public alias: number;
|
|
2351
|
+
public ipAddress: string;
|
|
2254
2352
|
public static create(properties?: motionmaster.MotionMasterMessage.Status.DeviceInfo.IDevice): motionmaster.MotionMasterMessage.Status.DeviceInfo.Device;
|
|
2255
2353
|
public static encode(message: motionmaster.MotionMasterMessage.Status.DeviceInfo.IDevice, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2256
2354
|
public static encodeDelimited(message: motionmaster.MotionMasterMessage.Status.DeviceInfo.IDevice, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
@@ -5568,6 +5666,247 @@ export namespace motionmaster {
|
|
|
5568
5666
|
}
|
|
5569
5667
|
}
|
|
5570
5668
|
}
|
|
5669
|
+
|
|
5670
|
+
interface IEthernetDiscovery {
|
|
5671
|
+
mac?: (string|null);
|
|
5672
|
+
durationMs?: (number|null);
|
|
5673
|
+
answerDelayMs?: (number|null);
|
|
5674
|
+
devices?: (motionmaster.MotionMasterMessage.Status.EthernetDiscovery.IDevice[]|null);
|
|
5675
|
+
warnings?: (string[]|null);
|
|
5676
|
+
error?: (motionmaster.MotionMasterMessage.Status.EthernetDiscovery.IError|null);
|
|
5677
|
+
stopped?: (boolean|null);
|
|
5678
|
+
}
|
|
5679
|
+
|
|
5680
|
+
class EthernetDiscovery implements IEthernetDiscovery {
|
|
5681
|
+
constructor(properties?: motionmaster.MotionMasterMessage.Status.IEthernetDiscovery);
|
|
5682
|
+
public mac: string;
|
|
5683
|
+
public durationMs: number;
|
|
5684
|
+
public answerDelayMs: number;
|
|
5685
|
+
public devices: motionmaster.MotionMasterMessage.Status.EthernetDiscovery.IDevice[];
|
|
5686
|
+
public warnings: string[];
|
|
5687
|
+
public error?: (motionmaster.MotionMasterMessage.Status.EthernetDiscovery.IError|null);
|
|
5688
|
+
public stopped: boolean;
|
|
5689
|
+
public static create(properties?: motionmaster.MotionMasterMessage.Status.IEthernetDiscovery): motionmaster.MotionMasterMessage.Status.EthernetDiscovery;
|
|
5690
|
+
public static encode(message: motionmaster.MotionMasterMessage.Status.IEthernetDiscovery, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5691
|
+
public static encodeDelimited(message: motionmaster.MotionMasterMessage.Status.IEthernetDiscovery, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5692
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): motionmaster.MotionMasterMessage.Status.EthernetDiscovery;
|
|
5693
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): motionmaster.MotionMasterMessage.Status.EthernetDiscovery;
|
|
5694
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5695
|
+
public static fromObject(object: { [k: string]: any }): motionmaster.MotionMasterMessage.Status.EthernetDiscovery;
|
|
5696
|
+
public static toObject(message: motionmaster.MotionMasterMessage.Status.EthernetDiscovery, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5697
|
+
public toJSON(): { [k: string]: any };
|
|
5698
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5699
|
+
}
|
|
5700
|
+
|
|
5701
|
+
namespace EthernetDiscovery {
|
|
5702
|
+
|
|
5703
|
+
interface IDevice {
|
|
5704
|
+
ipAddress?: (string|null);
|
|
5705
|
+
macAddress?: (string|null);
|
|
5706
|
+
name?: (string|null);
|
|
5707
|
+
firmware?: (string|null);
|
|
5708
|
+
vendorId?: (number|null);
|
|
5709
|
+
deviceId?: (number|null);
|
|
5710
|
+
productCode?: (number|null);
|
|
5711
|
+
serialNumber?: (number|null);
|
|
5712
|
+
sameSubnet?: (boolean|null);
|
|
5713
|
+
foundBy?: (string[]|null);
|
|
5714
|
+
}
|
|
5715
|
+
|
|
5716
|
+
class Device implements IDevice {
|
|
5717
|
+
constructor(properties?: motionmaster.MotionMasterMessage.Status.EthernetDiscovery.IDevice);
|
|
5718
|
+
public ipAddress?: (string|null);
|
|
5719
|
+
public macAddress?: (string|null);
|
|
5720
|
+
public name: string;
|
|
5721
|
+
public firmware?: (string|null);
|
|
5722
|
+
public vendorId?: (number|null);
|
|
5723
|
+
public deviceId?: (number|null);
|
|
5724
|
+
public productCode?: (number|null);
|
|
5725
|
+
public serialNumber?: (number|null);
|
|
5726
|
+
public sameSubnet?: (boolean|null);
|
|
5727
|
+
public foundBy: string[];
|
|
5728
|
+
public _ipAddress?: "ipAddress";
|
|
5729
|
+
public _macAddress?: "macAddress";
|
|
5730
|
+
public _firmware?: "firmware";
|
|
5731
|
+
public _vendorId?: "vendorId";
|
|
5732
|
+
public _deviceId?: "deviceId";
|
|
5733
|
+
public _productCode?: "productCode";
|
|
5734
|
+
public _serialNumber?: "serialNumber";
|
|
5735
|
+
public _sameSubnet?: "sameSubnet";
|
|
5736
|
+
public static create(properties?: motionmaster.MotionMasterMessage.Status.EthernetDiscovery.IDevice): motionmaster.MotionMasterMessage.Status.EthernetDiscovery.Device;
|
|
5737
|
+
public static encode(message: motionmaster.MotionMasterMessage.Status.EthernetDiscovery.IDevice, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5738
|
+
public static encodeDelimited(message: motionmaster.MotionMasterMessage.Status.EthernetDiscovery.IDevice, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5739
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): motionmaster.MotionMasterMessage.Status.EthernetDiscovery.Device;
|
|
5740
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): motionmaster.MotionMasterMessage.Status.EthernetDiscovery.Device;
|
|
5741
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5742
|
+
public static fromObject(object: { [k: string]: any }): motionmaster.MotionMasterMessage.Status.EthernetDiscovery.Device;
|
|
5743
|
+
public static toObject(message: motionmaster.MotionMasterMessage.Status.EthernetDiscovery.Device, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5744
|
+
public toJSON(): { [k: string]: any };
|
|
5745
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5746
|
+
}
|
|
5747
|
+
|
|
5748
|
+
interface IError {
|
|
5749
|
+
code?: (motionmaster.MotionMasterMessage.Status.EthernetDiscovery.Error.Code|null);
|
|
5750
|
+
message?: (string|null);
|
|
5751
|
+
}
|
|
5752
|
+
|
|
5753
|
+
class Error implements IError {
|
|
5754
|
+
constructor(properties?: motionmaster.MotionMasterMessage.Status.EthernetDiscovery.IError);
|
|
5755
|
+
public code: motionmaster.MotionMasterMessage.Status.EthernetDiscovery.Error.Code;
|
|
5756
|
+
public message: string;
|
|
5757
|
+
public static create(properties?: motionmaster.MotionMasterMessage.Status.EthernetDiscovery.IError): motionmaster.MotionMasterMessage.Status.EthernetDiscovery.Error;
|
|
5758
|
+
public static encode(message: motionmaster.MotionMasterMessage.Status.EthernetDiscovery.IError, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5759
|
+
public static encodeDelimited(message: motionmaster.MotionMasterMessage.Status.EthernetDiscovery.IError, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5760
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): motionmaster.MotionMasterMessage.Status.EthernetDiscovery.Error;
|
|
5761
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): motionmaster.MotionMasterMessage.Status.EthernetDiscovery.Error;
|
|
5762
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5763
|
+
public static fromObject(object: { [k: string]: any }): motionmaster.MotionMasterMessage.Status.EthernetDiscovery.Error;
|
|
5764
|
+
public static toObject(message: motionmaster.MotionMasterMessage.Status.EthernetDiscovery.Error, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5765
|
+
public toJSON(): { [k: string]: any };
|
|
5766
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5767
|
+
}
|
|
5768
|
+
|
|
5769
|
+
namespace Error {
|
|
5770
|
+
|
|
5771
|
+
enum Code {
|
|
5772
|
+
UNSPECIFIED = 0,
|
|
5773
|
+
FAILED = 1
|
|
5774
|
+
}
|
|
5775
|
+
}
|
|
5776
|
+
}
|
|
5777
|
+
|
|
5778
|
+
interface IEthernetDiscoveryStop {
|
|
5779
|
+
mac?: (string|null);
|
|
5780
|
+
stoppedDiscoveries?: (number|null);
|
|
5781
|
+
}
|
|
5782
|
+
|
|
5783
|
+
class EthernetDiscoveryStop implements IEthernetDiscoveryStop {
|
|
5784
|
+
constructor(properties?: motionmaster.MotionMasterMessage.Status.IEthernetDiscoveryStop);
|
|
5785
|
+
public mac: string;
|
|
5786
|
+
public stoppedDiscoveries: number;
|
|
5787
|
+
public static create(properties?: motionmaster.MotionMasterMessage.Status.IEthernetDiscoveryStop): motionmaster.MotionMasterMessage.Status.EthernetDiscoveryStop;
|
|
5788
|
+
public static encode(message: motionmaster.MotionMasterMessage.Status.IEthernetDiscoveryStop, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5789
|
+
public static encodeDelimited(message: motionmaster.MotionMasterMessage.Status.IEthernetDiscoveryStop, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5790
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): motionmaster.MotionMasterMessage.Status.EthernetDiscoveryStop;
|
|
5791
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): motionmaster.MotionMasterMessage.Status.EthernetDiscoveryStop;
|
|
5792
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5793
|
+
public static fromObject(object: { [k: string]: any }): motionmaster.MotionMasterMessage.Status.EthernetDiscoveryStop;
|
|
5794
|
+
public static toObject(message: motionmaster.MotionMasterMessage.Status.EthernetDiscoveryStop, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5795
|
+
public toJSON(): { [k: string]: any };
|
|
5796
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5797
|
+
}
|
|
5798
|
+
|
|
5799
|
+
interface IDeviceLocate {
|
|
5800
|
+
deviceAddress?: (number|null);
|
|
5801
|
+
success?: (motionmaster.MotionMasterMessage.Status.DeviceLocate.ISuccess|null);
|
|
5802
|
+
error?: (motionmaster.MotionMasterMessage.Status.DeviceLocate.IError|null);
|
|
5803
|
+
}
|
|
5804
|
+
|
|
5805
|
+
class DeviceLocate implements IDeviceLocate {
|
|
5806
|
+
constructor(properties?: motionmaster.MotionMasterMessage.Status.IDeviceLocate);
|
|
5807
|
+
public deviceAddress: number;
|
|
5808
|
+
public success?: (motionmaster.MotionMasterMessage.Status.DeviceLocate.ISuccess|null);
|
|
5809
|
+
public error?: (motionmaster.MotionMasterMessage.Status.DeviceLocate.IError|null);
|
|
5810
|
+
public status?: ("success"|"error");
|
|
5811
|
+
public static create(properties?: motionmaster.MotionMasterMessage.Status.IDeviceLocate): motionmaster.MotionMasterMessage.Status.DeviceLocate;
|
|
5812
|
+
public static encode(message: motionmaster.MotionMasterMessage.Status.IDeviceLocate, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5813
|
+
public static encodeDelimited(message: motionmaster.MotionMasterMessage.Status.IDeviceLocate, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5814
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): motionmaster.MotionMasterMessage.Status.DeviceLocate;
|
|
5815
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): motionmaster.MotionMasterMessage.Status.DeviceLocate;
|
|
5816
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5817
|
+
public static fromObject(object: { [k: string]: any }): motionmaster.MotionMasterMessage.Status.DeviceLocate;
|
|
5818
|
+
public static toObject(message: motionmaster.MotionMasterMessage.Status.DeviceLocate, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5819
|
+
public toJSON(): { [k: string]: any };
|
|
5820
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5821
|
+
}
|
|
5822
|
+
|
|
5823
|
+
namespace DeviceLocate {
|
|
5824
|
+
|
|
5825
|
+
interface ISuccess {
|
|
5826
|
+
code?: (motionmaster.MotionMasterMessage.Status.DeviceLocate.Success.Code|null);
|
|
5827
|
+
message?: (string|null);
|
|
5828
|
+
}
|
|
5829
|
+
|
|
5830
|
+
class Success implements ISuccess {
|
|
5831
|
+
constructor(properties?: motionmaster.MotionMasterMessage.Status.DeviceLocate.ISuccess);
|
|
5832
|
+
public code: motionmaster.MotionMasterMessage.Status.DeviceLocate.Success.Code;
|
|
5833
|
+
public message: string;
|
|
5834
|
+
public static create(properties?: motionmaster.MotionMasterMessage.Status.DeviceLocate.ISuccess): motionmaster.MotionMasterMessage.Status.DeviceLocate.Success;
|
|
5835
|
+
public static encode(message: motionmaster.MotionMasterMessage.Status.DeviceLocate.ISuccess, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5836
|
+
public static encodeDelimited(message: motionmaster.MotionMasterMessage.Status.DeviceLocate.ISuccess, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5837
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): motionmaster.MotionMasterMessage.Status.DeviceLocate.Success;
|
|
5838
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): motionmaster.MotionMasterMessage.Status.DeviceLocate.Success;
|
|
5839
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5840
|
+
public static fromObject(object: { [k: string]: any }): motionmaster.MotionMasterMessage.Status.DeviceLocate.Success;
|
|
5841
|
+
public static toObject(message: motionmaster.MotionMasterMessage.Status.DeviceLocate.Success, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5842
|
+
public toJSON(): { [k: string]: any };
|
|
5843
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5844
|
+
}
|
|
5845
|
+
|
|
5846
|
+
namespace Success {
|
|
5847
|
+
|
|
5848
|
+
enum Code {
|
|
5849
|
+
UNSPECIFIED = 0,
|
|
5850
|
+
STARTED = 1,
|
|
5851
|
+
DONE = 2,
|
|
5852
|
+
STOPPED = 3
|
|
5853
|
+
}
|
|
5854
|
+
}
|
|
5855
|
+
|
|
5856
|
+
interface IError {
|
|
5857
|
+
code?: (motionmaster.MotionMasterMessage.Status.DeviceLocate.Error.Code|null);
|
|
5858
|
+
message?: (string|null);
|
|
5859
|
+
}
|
|
5860
|
+
|
|
5861
|
+
class Error implements IError {
|
|
5862
|
+
constructor(properties?: motionmaster.MotionMasterMessage.Status.DeviceLocate.IError);
|
|
5863
|
+
public code: motionmaster.MotionMasterMessage.Status.DeviceLocate.Error.Code;
|
|
5864
|
+
public message: string;
|
|
5865
|
+
public static create(properties?: motionmaster.MotionMasterMessage.Status.DeviceLocate.IError): motionmaster.MotionMasterMessage.Status.DeviceLocate.Error;
|
|
5866
|
+
public static encode(message: motionmaster.MotionMasterMessage.Status.DeviceLocate.IError, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5867
|
+
public static encodeDelimited(message: motionmaster.MotionMasterMessage.Status.DeviceLocate.IError, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5868
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): motionmaster.MotionMasterMessage.Status.DeviceLocate.Error;
|
|
5869
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): motionmaster.MotionMasterMessage.Status.DeviceLocate.Error;
|
|
5870
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5871
|
+
public static fromObject(object: { [k: string]: any }): motionmaster.MotionMasterMessage.Status.DeviceLocate.Error;
|
|
5872
|
+
public static toObject(message: motionmaster.MotionMasterMessage.Status.DeviceLocate.Error, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5873
|
+
public toJSON(): { [k: string]: any };
|
|
5874
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5875
|
+
}
|
|
5876
|
+
|
|
5877
|
+
namespace Error {
|
|
5878
|
+
|
|
5879
|
+
enum Code {
|
|
5880
|
+
UNSPECIFIED = 0,
|
|
5881
|
+
NOT_SUPPORTED = 1,
|
|
5882
|
+
INVALID_DURATION = 2,
|
|
5883
|
+
ALREADY_RUNNING = 3,
|
|
5884
|
+
START_FAILED = 4,
|
|
5885
|
+
STOP_FAILED = 5
|
|
5886
|
+
}
|
|
5887
|
+
}
|
|
5888
|
+
}
|
|
5889
|
+
|
|
5890
|
+
interface IDeviceLocateStop {
|
|
5891
|
+
deviceAddress?: (number|null);
|
|
5892
|
+
stopped?: (boolean|null);
|
|
5893
|
+
}
|
|
5894
|
+
|
|
5895
|
+
class DeviceLocateStop implements IDeviceLocateStop {
|
|
5896
|
+
constructor(properties?: motionmaster.MotionMasterMessage.Status.IDeviceLocateStop);
|
|
5897
|
+
public deviceAddress: number;
|
|
5898
|
+
public stopped: boolean;
|
|
5899
|
+
public static create(properties?: motionmaster.MotionMasterMessage.Status.IDeviceLocateStop): motionmaster.MotionMasterMessage.Status.DeviceLocateStop;
|
|
5900
|
+
public static encode(message: motionmaster.MotionMasterMessage.Status.IDeviceLocateStop, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5901
|
+
public static encodeDelimited(message: motionmaster.MotionMasterMessage.Status.IDeviceLocateStop, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5902
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): motionmaster.MotionMasterMessage.Status.DeviceLocateStop;
|
|
5903
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): motionmaster.MotionMasterMessage.Status.DeviceLocateStop;
|
|
5904
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5905
|
+
public static fromObject(object: { [k: string]: any }): motionmaster.MotionMasterMessage.Status.DeviceLocateStop;
|
|
5906
|
+
public static toObject(message: motionmaster.MotionMasterMessage.Status.DeviceLocateStop, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5907
|
+
public toJSON(): { [k: string]: any };
|
|
5908
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5909
|
+
}
|
|
5571
5910
|
}
|
|
5572
5911
|
}
|
|
5573
5912
|
}
|