1 |
/* using http://sourceforge.net/projects/libserial/ |
/* using http://sourceforge.net/projects/libserial/ |
2 |
|
|
3 |
* |
* |
4 |
*/ |
*/ |
5 |
|
|
19 |
#include "plugins/StatusPlugin.h" |
#include "plugins/StatusPlugin.h" |
20 |
#include "plugins/WeatherPlugin.h" |
#include "plugins/WeatherPlugin.h" |
21 |
#include "SmsPdu.h" |
#include "SmsPdu.h" |
22 |
|
#include "Logger.h" |
23 |
|
|
24 |
using namespace std; |
using namespace std; |
25 |
using namespace Util; |
using namespace Util; |
57 |
return 0; |
return 0; |
58 |
*/ |
*/ |
59 |
|
|
60 |
|
Logger::logMessage( "Hello" ); |
61 |
|
/*std::vector<TrainInfo> info = GetTrainInfo( 10 ); |
62 |
|
|
63 |
|
for (unsigned int i=0; i<info.size(); ++i) |
64 |
|
{ |
65 |
|
TrainInfo ti = info[i]; |
66 |
|
|
67 |
|
cout << ti.time << ":" << ti.update << ":" << ti.destination << endl; |
68 |
|
}*/ |
69 |
|
|
70 |
|
/* |
71 |
DebugTransceiver trans(true); |
DebugTransceiver trans(true); |
72 |
WeatherPlugin pl; |
WeatherPlugin pl; |
73 |
|
|
88 |
|
|
89 |
|
|
90 |
return 0; |
return 0; |
91 |
|
*/ |
92 |
/* |
/* |
93 |
SerialPort port("/dev/ttyS1" ); |
SerialPort port("/dev/ttyS1" ); |
94 |
port.Open( SerialPort::BAUD_9600, |
port.Open( SerialPort::BAUD_9600, |