import {InstrumentState} from "../administrationSection/sensors/SensorsPageTypes";

export const mockData = {
    instruments: [{
        id: 1,
        state: InstrumentState.CREATED,
        guid: "qwertzuiop123456",
        gpsCoordinates: "N6546186W681681",
        altitude: 400,
        tilt: 45,
        direction: 30,
        monitoredAreas: [{
            id: 10,
            description: "south roof of my house",
        }],

    }
    ],
    availableMonitoredAreas: [
        {
            id: 11,
            description: "not yet assigned area"
        },
        {
            id: 12,
            description: "not yet assigned area",
        }],

    inverters: [
        {
            id: 1,
            manufacturer: "Inverter master",
            efficiency: 90,
            monitoredAreas: [{
                id: 12,
                instrumentId: 1,
                inverterId: undefined,
                description: "south roof of my house",
                pvAreas: [
                    {
                        id: 200,
                        area: 20,
                        altitude: 450,
                        tilt: 55,
                        direction: 180,
                        pvPanel: {
                            id: 1050,
                            code: "Si|50|One Solar",
                            efficiency: 50,
                            manufacturer: "One solar",
                            material: "Si"
                        }
                    }
                ],
            }]
        }
    ],

    cachedMonitoredAreas: [{
        id: -1,
        instrumentId: undefined,
        inverterId: undefined,
        description: "north roof of my house",
        pvAreas: [
            {
                id: 100,
                area: 10,
                altitude: 401,
                tilt: 35,
                direction: 50,
                pvPanel: {
                    id: 1000,
                    code: "Si|35|One Solar",
                    efficiency: 35,
                    manufacturer: "One solar",
                    material: "Si"
                }
            }
        ],
    }]
};


