forked from ddrilling/asb_cloud_front
Сервисы обновлены
This commit is contained in:
parent
b6b7a0bc43
commit
92f95b5fe2
@ -20,7 +20,7 @@ export type DrillParamsDto = {
|
||||
topDriveSpeedMin?: number;
|
||||
topDriveSpeedAvg?: number;
|
||||
topDriveSpeedMax?: number;
|
||||
consumptionMin?: number;
|
||||
consumptionAvg?: number;
|
||||
consumptionMax?: number;
|
||||
flowMin?: number;
|
||||
flowAvg?: number;
|
||||
flowMax?: number;
|
||||
}
|
||||
|
@ -25,8 +25,8 @@ export class AdminTelemetryService {
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static async mergeTelemetries(
|
||||
requestBody?: Array<number>,
|
||||
): Promise<any> {
|
||||
requestBody?: Array<number>,
|
||||
): Promise<any> {
|
||||
const result = await __request({
|
||||
method: 'POST',
|
||||
path: `/merge`,
|
||||
|
@ -15,10 +15,10 @@ export class DrillParamsService {
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static async getDefaultDrillParams(
|
||||
idWell?: number,
|
||||
startDepth?: number,
|
||||
endDepth?: number,
|
||||
): Promise<DrillParamsDto> {
|
||||
idWell?: number,
|
||||
startDepth?: number,
|
||||
endDepth?: number,
|
||||
): Promise<DrillParamsDto> {
|
||||
const result = await __request({
|
||||
method: 'GET',
|
||||
path: `/drillParams/idWell/autoParams`,
|
||||
@ -39,9 +39,9 @@ endDepth?: number,
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static async saveDrillParams(
|
||||
idWell?: number,
|
||||
requestBody?: DrillParamsDto,
|
||||
): Promise<number> {
|
||||
idWell?: number,
|
||||
requestBody?: DrillParamsDto,
|
||||
): Promise<number> {
|
||||
const result = await __request({
|
||||
method: 'POST',
|
||||
path: `/drillParams/idWell`,
|
||||
|
@ -51,7 +51,7 @@ export class FileService {
|
||||
fileName?: string,
|
||||
begin?: string,
|
||||
end?: string,
|
||||
skip: number,
|
||||
skip: number = 0,
|
||||
take: number = 32,
|
||||
): Promise<FileInfoDtoPaginationContainer> {
|
||||
const result = await __request({
|
||||
|
@ -48,7 +48,7 @@ export class WellOperationService {
|
||||
end?: string,
|
||||
minDepth: number = -1.7976931348623157e+308,
|
||||
maxDepth: number = 1.7976931348623157e+308,
|
||||
skip: number,
|
||||
skip: number = 0,
|
||||
take: number = 32,
|
||||
): Promise<WellOperationDtoPaginationContainer> {
|
||||
const result = await __request({
|
||||
@ -154,10 +154,10 @@ export class WellOperationService {
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static async import(
|
||||
idWell: number,
|
||||
options: number,
|
||||
requestBody?: any,
|
||||
): Promise<any> {
|
||||
idWell: number,
|
||||
options: number,
|
||||
requestBody?: any,
|
||||
): Promise<any> {
|
||||
const result = await __request({
|
||||
method: 'POST',
|
||||
path: `/api/well/${idWell}/wellOperations/import/${options}`,
|
||||
@ -173,8 +173,8 @@ requestBody?: any,
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static async export(
|
||||
idWell: number,
|
||||
): Promise<string> {
|
||||
idWell: number,
|
||||
): Promise<string> {
|
||||
const result = await __request({
|
||||
method: 'GET',
|
||||
path: `/api/well/${idWell}/wellOperations/export`,
|
||||
@ -189,8 +189,8 @@ idWell: number,
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static async getTamplate(
|
||||
idWell: string,
|
||||
): Promise<string> {
|
||||
idWell: string,
|
||||
): Promise<string> {
|
||||
const result = await __request({
|
||||
method: 'GET',
|
||||
path: `/api/well/${idWell}/wellOperations/tamplate`,
|
||||
|
Loading…
Reference in New Issue
Block a user