ajout cahier des charges et fichier temporaire mdr + removed unused imports
This commit is contained in:
parent
7649656e64
commit
483a5a8189
1
.~lock.Cahier_des_charges.odt#
Normal file
1
.~lock.Cahier_des_charges.odt#
Normal file
@ -0,0 +1 @@
|
||||
,p16003795,L-662722FORM-16.salsa.univ-amu.fr,14.10.2019 13:17,file:///amuhome/p16003795/.config/libreoffice/4;
|
BIN
Cahier_des_charges.odt
Normal file
BIN
Cahier_des_charges.odt
Normal file
Binary file not shown.
@ -58,7 +58,6 @@ public class EventQueue {
|
||||
appSort(downQueue, request.getIncomingCallFloor(), true);
|
||||
break;
|
||||
default:
|
||||
System.out.println("foiop");
|
||||
break;
|
||||
}
|
||||
break;
|
||||
@ -112,9 +111,9 @@ public class EventQueue {
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the next floor the elevator has to go to
|
||||
* Returns the next floor the elevator has to go to
|
||||
*
|
||||
* @return next floor if exists else -1
|
||||
* @return next floor if it exists else -1
|
||||
*/
|
||||
public int getNextInstruction() {
|
||||
//System.out.println("" + upQueue + '\n' + downQueue);
|
||||
|
@ -1,11 +1,14 @@
|
||||
package gui;
|
||||
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
||||
import java.awt.event.*;
|
||||
|
||||
import Requests.CallFromElevatorRequest;
|
||||
import Requests.CallFromFloorRequest;
|
||||
import javax.swing.Box;
|
||||
import javax.swing.BoxLayout;
|
||||
import javax.swing.JFrame;
|
||||
import javax.swing.SwingUtilities;
|
||||
import javax.swing.Timer;
|
||||
|
||||
import simulation.Elevator;
|
||||
import simulation.Simulation;
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
package gui;
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
||||
import java.awt.event.*;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user