/[projects]/smsdaemon/tester.cpp
ViewVC logotype

Diff of /smsdaemon/tester.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 519 by torben, Thu Dec 18 06:53:29 2008 UTC revision 520 by torben, Sat Dec 26 23:01:01 2009 UTC
# Line 1  Line 1 
1  /* using http://sourceforge.net/projects/libserial/  /* using http://sourceforge.net/projects/libserial/
2    
3   *   *
4   */   */
5    
# Line 55  int main() Line 56  int main()
56                  return 0;                  return 0;
57          */          */
58    
59            std::vector<TrainInfo>  info = GetTrainInfo( 10 );
60    
61            for (unsigned int i=0; i<info.size(); ++i)
62            {
63                    TrainInfo ti = info[i];
64    
65                    cout << ti.time << ":" <<  ti.update << ":" << ti.destination  << endl;
66            }
67    
68    /*
69          DebugTransceiver trans(true);          DebugTransceiver trans(true);
70          WeatherPlugin pl;          WeatherPlugin pl;
71    
# Line 76  int main() Line 86  int main()
86    
87    
88          return 0;          return 0;
89    */
90          /*          /*
91              SerialPort port("/dev/ttyS1" );              SerialPort port("/dev/ttyS1" );
92              port.Open( SerialPort::BAUD_9600,              port.Open( SerialPort::BAUD_9600,

Legend:
Removed from v.519  
changed lines
  Added in v.520

  ViewVC Help
Powered by ViewVC 1.1.20