@yamcs/opi 1.2.7 → 1.2.8-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fonts/LiberationMono-Bold.woff2 +0 -0
- package/dist/fonts/LiberationMono-BoldItalic.woff2 +0 -0
- package/dist/fonts/LiberationMono-Italic.woff2 +0 -0
- package/dist/fonts/LiberationMono-Regular.woff2 +0 -0
- package/dist/fonts/LiberationSans-Bold.woff2 +0 -0
- package/dist/fonts/LiberationSans-BoldItalic.woff2 +0 -0
- package/dist/fonts/LiberationSans-Italic.woff2 +0 -0
- package/dist/fonts/LiberationSans-Regular.woff2 +0 -0
- package/dist/fonts/LiberationSerif-Bold.woff2 +0 -0
- package/dist/fonts/LiberationSerif-BoldItalic.woff2 +0 -0
- package/dist/fonts/LiberationSerif-Italic.woff2 +0 -0
- package/dist/fonts/LiberationSerif-Regular.woff2 +0 -0
- package/dist/opi.js +1 -1
- package/dist/opi.js.map +1 -1
- package/dist/types/CustomDataProvider.d.ts +15 -0
- package/dist/types/HistoricDataProvider.d.ts +15 -0
- package/dist/types/actions/RunCommandAction.d.ts +12 -0
- package/dist/types/actions/RunProcedureAction.d.ts +12 -0
- package/dist/types/pv/HistoricalDataProvider.d.ts +9 -0
- package/package.json +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Point } from "./positioning";
|
|
2
|
+
export interface CustomDataProviderFactory {
|
|
3
|
+
/**
|
|
4
|
+
* Get historical data for a parameter. This will be merged with the realtime data of a widget that supports it.
|
|
5
|
+
* This method is called very often. Any time management is to be handled outside of this library.
|
|
6
|
+
*/
|
|
7
|
+
createProvider(parameter: string): CustomDataProvider;
|
|
8
|
+
}
|
|
9
|
+
export interface CustomDataProvider {
|
|
10
|
+
/**
|
|
11
|
+
* Get samples for a parameter. This will be merged with the realtime data of a widget that supports it.
|
|
12
|
+
* This method is called very often. Any time management is to be handled outside of this library.
|
|
13
|
+
*/
|
|
14
|
+
getSamples(): Point[];
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Point } from "./positioning";
|
|
2
|
+
export interface HistoricDataProviderFactory {
|
|
3
|
+
/**
|
|
4
|
+
* Get historical data for a parameter. This will be merged with the realtime data of a widget that supports it.
|
|
5
|
+
* This method is called very often. Any time management is to be handled outside of this library.
|
|
6
|
+
*/
|
|
7
|
+
createProvider(parameter: string): HistoricDataProvider;
|
|
8
|
+
}
|
|
9
|
+
export interface HistoricDataProvider {
|
|
10
|
+
/**
|
|
11
|
+
* Get historical data for a parameter. This will be merged with the realtime data of a widget that supports it.
|
|
12
|
+
* This method is called very often. Any time management is to be handled outside of this library.
|
|
13
|
+
*/
|
|
14
|
+
getHistoricSamples(): Point[];
|
|
15
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Widget } from "../Widget";
|
|
2
|
+
import { Action } from "./Action";
|
|
3
|
+
export declare class RunCommandAction extends Action {
|
|
4
|
+
constructor();
|
|
5
|
+
execute(widget: Widget): void;
|
|
6
|
+
get command(): string;
|
|
7
|
+
get args(): {
|
|
8
|
+
[key: string]: string;
|
|
9
|
+
};
|
|
10
|
+
get confirmMessage(): string;
|
|
11
|
+
toString(): string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Widget } from "../Widget";
|
|
2
|
+
import { Action } from "./Action";
|
|
3
|
+
export declare class RunProcedureAction extends Action {
|
|
4
|
+
constructor();
|
|
5
|
+
execute(widget: Widget): void;
|
|
6
|
+
get procedure(): string;
|
|
7
|
+
get args(): {
|
|
8
|
+
[key: string]: string;
|
|
9
|
+
};
|
|
10
|
+
get confirmMessage(): string;
|
|
11
|
+
toString(): string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NullablePoint } from "../positioning";
|
|
2
|
+
export interface HistoricalDataProvider {
|
|
3
|
+
/**
|
|
4
|
+
* Get samples for a parameter. This will be merged with the realtime data of a widget that supports it.
|
|
5
|
+
* This method is called very often. Any time management is to be handled outside of this library.
|
|
6
|
+
*/
|
|
7
|
+
getSamples(): NullablePoint[];
|
|
8
|
+
disconnect(): void;
|
|
9
|
+
}
|