Skip to content
Snippets Groups Projects
Commit 54a8289a authored by vicma's avatar vicma
Browse files

Muelle

parent 9606057f
Branches
No related tags found
No related merge requests found
......@@ -3,12 +3,41 @@
*/
package es.markse;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
import es.uva.inf.poo.maps.GPSCoordinate;
/**
* Implementacion de la clase muelle donde se alojaran los Contenedores (Clase)
* @author javcalv
* @author victorm
*/
public class Muelle {
private int plazasTotalesMuelle;
private int plazasVaciasMuelle;
private int plazasSemiLlenasMuelle;
private int plazasLlenasMuelle;
private int contenedoresMax;
private int identificador;
private boolean ocupado;
GPSCoordinate cord = new GPSCoordinate(0,0);
public Muelle() {
}
public Muelle (int plazasTotalesMuelle, int contenedoresMax) {
this.plazasTotalesMuelle = plazasTotalesMuelle;
this.contenedoresMax = contenedoresMax;
}
public int getplazasTotalesMuelle() {
return this.plazasTotalesMuelle;
}
}
/**
*
*/
package es.markse;
/**
* @author vicma
*
*/
public class UsaMuelle {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
Muelle m = new Muelle(339987, 555555);
int x = m.getplazasTotalesMuelle();
System.out.println(x);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment