acces point maj

This commit is contained in:
iboyeau 2023-03-28 08:21:38 +02:00
parent b76c836ca4
commit 5c533d37cc

View File

@ -48,21 +48,21 @@ public class AccessPoint {
cell1.schedule();
cell2.schedule();
// traite les données et les enregistre dans un fichier
/*
try {
/* try {
analyseData(ticks);
} catch (IOException e) {
System.out.println("Can't export data");
}
*/
}*/
}
}
/*
/*
private void analyseData(int tick) throws IOException {
for(int i = 0; i < frame.length; i++) {
for(int j = 0; j < frame[i].length; j++) {
ResourceBlock ur = frame[i][j];
for(int i = 0; i < cell1.getFrame().length; i++) {
for(int j = 0; j < cell1.getFrame()[i].length; j++) {
ResourceBlock ur = cell1.getFrame()[i][j];
if(ur.getUser() != null) {
String data = (tick + ";" + i + ";" + j + ";" + this.users.indexOf(ur.getUser()) + ";" + ur.getBandwidth() + ";\n");
try{
@ -76,6 +76,5 @@ public class AccessPoint {
}
}
}
*/
*/
}