forked from ddrilling/asb_cloud_front
Services updated
This commit is contained in:
parent
2663b1f6dd
commit
6ec3836abe
@ -70,6 +70,7 @@ export { FileService } from './services/FileService';
|
||||
export { MeasureService } from './services/MeasureService';
|
||||
export { MessageService } from './services/MessageService';
|
||||
export { ReportService } from './services/ReportService';
|
||||
export { RequerstTrackerService } from './services/RequerstTrackerService';
|
||||
export { TelemetryAnalyticsService } from './services/TelemetryAnalyticsService';
|
||||
export { TelemetryDataSaubService } from './services/TelemetryDataSaubService';
|
||||
export { TelemetryDataSpinService } from './services/TelemetryDataSpinService';
|
||||
|
@ -3,10 +3,9 @@
|
||||
/* eslint-disable */
|
||||
|
||||
export type TelemetryDataSaubDto = {
|
||||
id?: number;
|
||||
idTelemetry?: number;
|
||||
date?: string;
|
||||
mode?: number | null;
|
||||
idTelemetry?: number;
|
||||
user?: string | null;
|
||||
wellDepth?: number | null;
|
||||
bitDepth?: number | null;
|
||||
|
@ -3,7 +3,6 @@
|
||||
/* eslint-disable */
|
||||
|
||||
export type TelemetryDataSpinDto = {
|
||||
id?: number;
|
||||
idTelemetry?: number;
|
||||
date?: string;
|
||||
topDriveSpeed?: number | null;
|
||||
|
98
src/services/api/services/RequerstTrackerService.ts
Normal file
98
src/services/api/services/RequerstTrackerService.ts
Normal file
@ -0,0 +1,98 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import { request as __request } from '../core/request';
|
||||
|
||||
export class RequerstTrackerService {
|
||||
|
||||
/**
|
||||
* @param take
|
||||
* @returns any Success
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static async getAll(
|
||||
take: number = 512,
|
||||
): Promise<any> {
|
||||
const result = await __request({
|
||||
method: 'GET',
|
||||
path: `/api/RequerstTracker`,
|
||||
query: {
|
||||
'take': take,
|
||||
},
|
||||
});
|
||||
return result.body;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param take
|
||||
* @returns any Success
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static async getFast(
|
||||
take: number = 512,
|
||||
): Promise<any> {
|
||||
const result = await __request({
|
||||
method: 'GET',
|
||||
path: `/api/RequerstTracker/fast`,
|
||||
query: {
|
||||
'take': take,
|
||||
},
|
||||
});
|
||||
return result.body;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param take
|
||||
* @returns any Success
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static async getSlow(
|
||||
take: number = 512,
|
||||
): Promise<any> {
|
||||
const result = await __request({
|
||||
method: 'GET',
|
||||
path: `/api/RequerstTracker/slow`,
|
||||
query: {
|
||||
'take': take,
|
||||
},
|
||||
});
|
||||
return result.body;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param take
|
||||
* @returns any Success
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static async getError(
|
||||
take: number = 512,
|
||||
): Promise<any> {
|
||||
const result = await __request({
|
||||
method: 'GET',
|
||||
path: `/api/RequerstTracker/error`,
|
||||
query: {
|
||||
'take': take,
|
||||
},
|
||||
});
|
||||
return result.body;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param take
|
||||
* @returns any Success
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static async getUsersStat(
|
||||
take: number = 512,
|
||||
): Promise<any> {
|
||||
const result = await __request({
|
||||
method: 'GET',
|
||||
path: `/api/RequerstTracker/users`,
|
||||
query: {
|
||||
'take': take,
|
||||
},
|
||||
});
|
||||
return result.body;
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user