manningbusfleet

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

manningbusfleet [2013/11/29 08:20]
bruno
manningbusfleet [2017/07/21 03:08]
Line 1: Line 1:
-====== Manning Bus Fleet ====== 
  
- 
-The Manning Bus Fleet is an SDDL application that provides an online view of a bus fleet usage. That is able to show in realtime the seats usage of all bus that uses their client. Likewise any customer can check how crownd or empty are all the buses and pick the best suitlabe one. It's easy as access a web address and choose the bus. 
- 
-In order to use this project you must have the SDDL working with a gateway. The buses will work as mobile nodes. This application is a cutomized version of SDDL Controller set of tools.  
- 
- 
-===== Architecture ===== 
-This architecture is the same as the [[arff|ARRF]] plus a MySQL server. The DBMS is required in order to preserve internal functions. You just need to install both and run the sql script file and then put this code above. 
- 
- 
-=====  Usage ===== 
- 
-Once everthing is started as the ARRF you can open your brownser at http://localhost:8080/ARRF:  
- 
-{{ :telacompleta.png?direct |}} 
- 
-You can check it out in this video: 
- 
-{{ :01_starting_programs.swf?900x700 |}} 
- 
- 
-After that you can pick any bus and reach the details: 
-  * Line. 
-  * Manning. 
-  * Nearest address (That uses Google API solution). 
-  * Bus licence in order to make easer identify the correct bus. 
- 
- 
- 
-This is a demo: 
- 
-{{ :telaonibusescolhido.png?direct |}} 
- 
-This is a test video: 
- 
-{{ :02_rodando.swf?900x700 |}} 
- 
-Each bus is configurated to provide random seats availability. However you can use the Class MenuOnibus.java to simulate a driver control with easy controls: 
- 
- 
-<file java ClientTest.java> 
-(...) 
-switch (choice) { 
-        case 1: 
-          occuped = occuped + 5; 
-          try { 
-            command.setContentObject("#increment"); 
-            groupManager.sendGroupcastMessage(command, aGroup); 
-          } 
-          catch (IOException e) { 
-            e.printStackTrace(); 
-          } 
-          break; 
-        case 2: 
-          if (occuped > 0) { 
-            occuped = occuped - 5; 
-          } 
-          try { 
-            command.setContentObject("#decrement"); 
-            groupManager.sendGroupcastMessage(command, aGroup); 
-          } 
-          catch (IOException e) { 
-            e.printStackTrace(); 
-          } 
-          break; 
-        default: 
-          choice = 0; 
-          System.out.println("Saindo do programa ..."); 
-          break; 
-      } 
-(...) 
-</file>  
- 
-==== Disclamer ==== 
-This was done as the second contact with the SDDL middleware and the Pub/Sub paradigm. It's fully based on ARRF prototype. 
- 
-You can freely use this service and ask if you need some help: 
- 
-Bruno Olivieri - bruno@olivieri.com.br 
  • manningbusfleet.txt
  • Last modified: 2017/07/21 03:08
  • (external edit)