Subversion Repositories Code-Repo

Rev

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

Rev 362 Rev 363
Line 6... Line 6...
6
    speeds << "9600" << "19200" << "38400" << "57600" << "115200" << "230400" << "250000";
6
    speeds << "9600" << "19200" << "38400" << "57600" << "115200" << "230400" << "250000";
7
    dataBits << "8 Bits" << "7 Bits" << "6 Bits" << "5 Bits";
7
    dataBits << "8 Bits" << "7 Bits" << "6 Bits" << "5 Bits";
8
    stopBits << "1 Bit" << "1.5 Bits" << "2 Bits";
8
    stopBits << "1 Bit" << "1.5 Bits" << "2 Bits";
9
    parity << "None" << "Even" << "Odd" << "Space" << "Mark";
9
    parity << "None" << "Even" << "Odd" << "Space" << "Mark";
10
    flowControl << "None" << "Hardware" << "Software";
10
    flowControl << "None" << "Hardware" << "Software";
-
 
11
 
-
 
12
    serialPort = NULL;
11
}
13
}
12
 
14
 
13
SerialHelper::~SerialHelper()
15
SerialHelper::~SerialHelper()
14
{
16
{
-
 
17
    if (serialPort != NULL && serialPort->isOpen())
15
    serialPort->close();
18
        serialPort->close();
16
    delete serialPort;
19
    delete serialPort;
17
}
20
}
18
 
21
 
19
void SerialHelper::QueryParameters()
22
void SerialHelper::QueryParameters()
20
{
23
{