import { HttpClient } from '@angular/common/http';
import { Injectable } from '@angular/core';
import { BaseService } from '../../base/base-service';

@Injectable({
    providedIn: 'root'
})
export class TestingControlsService extends BaseService {
    constructor(
        public http: HttpClient
    ) {
        super('/v1/information/testing_control_no_room_status_get_paged',http)
     }

    getNoRoomStatus(query){
        return this.http.get(`${this.prefix}/v1/information/testing_control_no_room_status${query}`);
    }

    getNoRoomPage(query, testUid){
        return this.http.get(`${this.prefix}/v1/information/testing_control_no_room_status_get_paged/${query}?testing_information_uid=${testUid}`);
    }

    getPage(query){
        return this.http.get(`${this.prefix}/v1/information/testing_information_for_chk_status_get_paged/${query}`);
    }
}
