Services updated

This commit is contained in:
goodmice 2021-11-15 14:01:17 +05:00
parent 2663b1f6dd
commit 6ec3836abe
67 changed files with 498 additions and 401 deletions

View File

@ -70,6 +70,7 @@ export { FileService } from './services/FileService';
export { MeasureService } from './services/MeasureService'; export { MeasureService } from './services/MeasureService';
export { MessageService } from './services/MessageService'; export { MessageService } from './services/MessageService';
export { ReportService } from './services/ReportService'; export { ReportService } from './services/ReportService';
export { RequerstTrackerService } from './services/RequerstTrackerService';
export { TelemetryAnalyticsService } from './services/TelemetryAnalyticsService'; export { TelemetryAnalyticsService } from './services/TelemetryAnalyticsService';
export { TelemetryDataSaubService } from './services/TelemetryDataSaubService'; export { TelemetryDataSaubService } from './services/TelemetryDataSaubService';
export { TelemetryDataSpinService } from './services/TelemetryDataSpinService'; export { TelemetryDataSpinService } from './services/TelemetryDataSpinService';

View File

@ -3,10 +3,9 @@
/* eslint-disable */ /* eslint-disable */
export type TelemetryDataSaubDto = { export type TelemetryDataSaubDto = {
id?: number; idTelemetry?: number;
date?: string; date?: string;
mode?: number | null; mode?: number | null;
idTelemetry?: number;
user?: string | null; user?: string | null;
wellDepth?: number | null; wellDepth?: number | null;
bitDepth?: number | null; bitDepth?: number | null;

View File

@ -3,7 +3,6 @@
/* eslint-disable */ /* eslint-disable */
export type TelemetryDataSpinDto = { export type TelemetryDataSpinDto = {
id?: number;
idTelemetry?: number; idTelemetry?: number;
date?: string; date?: string;
topDriveSpeed?: number | null; topDriveSpeed?: number | null;

View 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;
}
}