@idm-plugin/vessel 1.8.8 → 1.8.9
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.
|
@@ -170,6 +170,7 @@ export declare class SpeedHelper {
|
|
|
170
170
|
static speedLoseAt(props: VesselProperties, coordinate: any, eta: moment.Moment, source?: string, role?: number, useMeteo?: boolean, useRouteParam?: boolean, options?: {
|
|
171
171
|
requestId?: string;
|
|
172
172
|
meteo2?: boolean;
|
|
173
|
+
selfHosted?: boolean;
|
|
173
174
|
}): Promise<any>;
|
|
174
175
|
/**
|
|
175
176
|
* 基于步长计算失速样本
|
|
@@ -218,6 +219,7 @@ export declare class SpeedHelper {
|
|
|
218
219
|
}, source?: string, stepHrs?: number, useMeteo?: boolean, useRouteParam?: boolean, options?: {
|
|
219
220
|
requestId?: string;
|
|
220
221
|
meteo2?: boolean;
|
|
222
|
+
selfHosted?: boolean;
|
|
221
223
|
}): Promise<any>;
|
|
222
224
|
/**
|
|
223
225
|
* 分段失速分析(最多走hours 小时)
|
|
@@ -235,6 +237,7 @@ export declare class SpeedHelper {
|
|
|
235
237
|
static analyseInstantWithThreshed(from: any, etd: string | moment.Moment | number, threshed: moment.Moment, vessel: VesselAssemble, cp: CpProps, route: number[][][], waypoints: any[], source?: string, stepHrs?: number, useMeteo?: boolean, useRouteParam?: boolean, options?: {
|
|
236
238
|
requestId?: string;
|
|
237
239
|
meteo2?: boolean;
|
|
240
|
+
selfHosted?: boolean;
|
|
238
241
|
}): Promise<any>;
|
|
239
242
|
/**
|
|
240
243
|
* 在指定航线条件下,基于多CP,动态计算最优成本(租金+油费)方案
|
|
@@ -257,6 +260,7 @@ export declare class SpeedHelper {
|
|
|
257
260
|
}, options?: {
|
|
258
261
|
requestId?: string;
|
|
259
262
|
meteo2?: boolean;
|
|
263
|
+
selfHosted?: boolean;
|
|
260
264
|
}): Promise<any[]>;
|
|
261
265
|
/**
|
|
262
266
|
* 按步长多次减半,分别用7,4,2,1天步长及cpa,cpb交替计算各种组合下的成本
|
|
@@ -274,6 +278,7 @@ export declare class SpeedHelper {
|
|
|
274
278
|
}, step: number, options?: {
|
|
275
279
|
requestId?: string;
|
|
276
280
|
meteo2?: boolean;
|
|
281
|
+
selfHosted?: boolean;
|
|
277
282
|
level?: number;
|
|
278
283
|
counter?: number;
|
|
279
284
|
}): Promise<{
|
|
@@ -299,6 +304,7 @@ export declare class SpeedHelper {
|
|
|
299
304
|
}, step: number, options?: {
|
|
300
305
|
requestId?: string;
|
|
301
306
|
meteo2?: boolean;
|
|
307
|
+
selfHosted?: boolean;
|
|
302
308
|
level?: number;
|
|
303
309
|
counter?: number;
|
|
304
310
|
}): Promise<any[]>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@idm-plugin/vessel",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.8.
|
|
4
|
+
"version": "1.8.9",
|
|
5
5
|
"description": "idm plugin for vessel",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"keywords": [
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@idm-plugin/geo2": "^1.3.0",
|
|
31
31
|
"@idm-plugin/meteo": "^0.2.7",
|
|
32
|
-
"@idm-plugin/meteo2": "^0.2.
|
|
32
|
+
"@idm-plugin/meteo2": "^0.2.2",
|
|
33
33
|
"@log4js-node/log4js-api": "^1.0.2",
|
|
34
34
|
"got": "11",
|
|
35
35
|
"moment": "^2.30.1"
|