49 lines
2.1 KiB
Python
49 lines
2.1 KiB
Python
# /**********************************************************************
|
|
# * *
|
|
# * Copyright (c) 2021 Javier Braña <javier.branagutierrez@gmail.com> *
|
|
# * *
|
|
# * This program is free software; you can redistribute it and/or modify*
|
|
# * it under the terms of the GNU Lesser General Public License (LGPL) *
|
|
# * as published by the Free Software Foundation; either version 2 of *
|
|
# * the License, or (at your option) any later version. *
|
|
# * for detail see the LICENCE text file. *
|
|
# * *
|
|
# * This program is distributed in the hope that it will be useful, *
|
|
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
# * GNU Library General Public License for more details. *
|
|
# * *
|
|
# * You should have received a copy of the GNU Library General Public *
|
|
# * License along with this program; if not, write to the Free Software *
|
|
# * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307*
|
|
# * USA *
|
|
# * *
|
|
# ***********************************************************************
|
|
|
|
"""
|
|
PVPlantSite - Wrapper de compatibilidad.
|
|
|
|
Todo el código fuente se ha movido a PVPlant/core/ para mejor organización.
|
|
Este archivo mantiene imports legacy para que los módulos existentes sigan funcionando.
|
|
Para nuevo código, importar directamente desde PVPlant.core.
|
|
"""
|
|
|
|
from PVPlant.core.site import (
|
|
_PVPlantSite,
|
|
_ViewProviderSite,
|
|
makePVPlantSite,
|
|
get,
|
|
PartToWire,
|
|
projectWireOnMesh,
|
|
zone_list,
|
|
)
|
|
|
|
from PVPlant.core.solar_compass import (
|
|
makeSolarDiagram,
|
|
makeWindRose,
|
|
Compass,
|
|
)
|
|
|
|
from PVPlant.core.view_provider import (
|
|
ViewProviderSite,
|
|
) |