|
From: Andreas W. <an...@us...> - 2006-01-20 13:13:57
|
Update of /cvsroot/magicmap/magicmapserver/src/net/sf/magicmap/server/calculation In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32273/src/net/sf/magicmap/server/calculation Modified Files: Tag: ServerCalculationBranch Calculation.java Log Message: weitere Anpassungen Index: Calculation.java =================================================================== RCS file: /cvsroot/magicmap/magicmapserver/src/net/sf/magicmap/server/calculation/Attic/Calculation.java,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -C2 -d -r1.1.2.2 -r1.1.2.3 *** Calculation.java 18 Jan 2006 14:52:57 -0000 1.1.2.2 --- Calculation.java 20 Jan 2006 13:13:47 -0000 1.1.2.3 *************** *** 40,45 **** nodeModel.removeNode(node); } else{ ! System.out ! .println("Position with location information deleted, but node with given name is not a location!"); } } else{ --- 40,44 ---- nodeModel.removeNode(node); } else{ ! System.out.println("Position with location information deleted, but node with given name is not a location!"); } } else{ *************** *** 201,215 **** ClientNode client = (ClientNode) nodeModel.findNode(clientdto.getName()); ! // Wenn eigener Client unfixiert kommt Positionsangaben ignorieren ! if (client == controller.getClient() && !position.isFixed()){ ! // Aber noch schnell unfixieren ! client.setFix(false); ! System.out.println("Eigener Client wird ignoriert"); ! return; ! } else{ ! if (client == controller.getClient() && position.isFixed()){ ! System.out.println("Eigener Client empfangen mit fixierter Position."); ! } ! } // Sonst beachten wir alle Positionen die wir bekommen --- 200,216 ---- ClientNode client = (ClientNode) nodeModel.findNode(clientdto.getName()); ! /* ! * // Wenn eigener Client unfixiert kommt Positionsangaben ignorieren ! * if (client == controller.getClient() && !position.isFixed()){ ! * // Aber noch schnell unfixieren ! * client.setFix(false); ! * System.out.println("Eigener Client wird ignoriert"); ! * return; ! * } else{ ! * if (client == controller.getClient() && position.isFixed()){ ! * System.out.println("Eigener Client empfangen mit fixierter Position."); ! * } ! * } ! */ // Sonst beachten wir alle Positionen die wir bekommen *************** *** 236,241 **** client.setId(position.getId().longValue()); ! // Signalstärken usw. verwaltet der scannende Client selbst ! if (client == controller.getClient()) return; // Signalcharakteristik auswerden und gesehene --- 237,244 ---- client.setId(position.getId().longValue()); ! // Signalstärken usw. verwaltet der scannende Client selbst, ! // aber da wir hier im Server sind, tut er es nicht. ! ! // if (client == controller.getClient()) return; // Signalcharakteristik auswerden und gesehene |