Subversion Repositories Projects

Rev

Rev 449 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 449 Rev 451
Line 21... Line 21...
21
cConnection::cConnection()
21
cConnection::cConnection()
22
{
22
{
23
    i_Type = 0;
23
    i_Type = 0;
Line 24... Line 24...
24
 
24
 
25
    TTY = new ManageSerialPort();
25
    TTY = new ManageSerialPort();
Line 26... Line 26...
26
    o_Timer = new QTimer(this);
26
    //o_Timer = new QTimer(this);
Line 27... Line 27...
27
 
27
 
28
    connect(o_Timer,   SIGNAL(timeout()),       SLOT(slot_Timer()));
28
    //connect(o_Timer,   SIGNAL(timeout()),       SLOT(slot_Timer()));
29
 
29
 
30
    TTY->setBaudRate(BAUD57600);   //BaudRate
30
    TTY->setBaudRate(BAUD57600);   //BaudRate
Line 240... Line 240...
240
    return true;
240
    return true;
241
}
241
}
Line 242... Line 242...
242
 
242
 
243
void cConnection::stop_ReSend()
243
void cConnection::stop_ReSend()
244
{
244
{
245
    o_Timer->stop();
245
    //o_Timer->stop();
Line 246... Line 246...
246
}
246
}
247
 
247
 
248
void cConnection::slot_Timer()
248
void cConnection::slot_Timer()