import { Observable } from 'rxjs';

export interface Plant {

    id: number;
    name: string;
    organizationId: string;
    country: string;
    city: string;
    address:string;
    installedCapacity_kW: number;
    latitud: number;
    longitud: number;
    //state: boolean;
}

export abstract class PlantData {
    abstract getPlants(): Observable<Plant[]>;
    abstract getPlant(id: number): Observable<Plant>;
}
