motion-master-client 0.0.41 → 0.0.42
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
CHANGED
|
@@ -5,7 +5,7 @@ import { MotionMasterPubSubSocket } from "./motion-master-pub-sub-socket";
|
|
|
5
5
|
import { MotionMasterReqResClient } from "./motion-master-req-res-client";
|
|
6
6
|
import { MotionMasterReqResSocket } from "./motion-master-req-res-socket";
|
|
7
7
|
import { DeviceParameterIds, DeviceRef, ParameterValueType } from "./types";
|
|
8
|
-
import {
|
|
8
|
+
import { DeviceParameter } from "./device-parameter";
|
|
9
9
|
export declare function createMotionMasterClient(hostname: string): MotionMasterClient;
|
|
10
10
|
export declare class MotionMasterClient {
|
|
11
11
|
readonly reqResSocket: MotionMasterReqResSocket;
|
|
@@ -44,7 +44,7 @@ export declare class MotionMasterClient {
|
|
|
44
44
|
* when assembling device parameter, get parameter from device in ESI based on product code, see ESI service
|
|
45
45
|
* this should probably done for other get parameters functions, get ESI file from device or prepared, get data from it
|
|
46
46
|
*/
|
|
47
|
-
startMonitoringDeviceParameters(ids: DeviceParameterIds, monitoringInterval: number, config?: MonitoringConfig, requestTimeout?: number): Observable<
|
|
47
|
+
startMonitoringDeviceParameters(ids: DeviceParameterIds, monitoringInterval: number, config?: MonitoringConfig, requestTimeout?: number): Observable<DeviceParameter[]>;
|
|
48
48
|
startMonitoringValue<T extends ParameterValueType = number>(id: string | [DeviceRef, number, number], monitoringInterval: number, config?: MonitoringConfig, requestTimeout?: number): Observable<T>;
|
|
49
49
|
trackTargetReached(deviceRef: DeviceRef, monitoringInterval?: number): Observable<boolean>;
|
|
50
50
|
waitUntilTargetReached(deviceRef: DeviceRef, monitoringInterval?: number): Observable<true>;
|