32#include <templexports.h>
36#include <tserialport.h>
53 virtual void setActivationKey(
const QString &
key );
54 virtual QString activationKey()
const;
58 virtual int setPortNumber(
int pn );
59 int portNumber()
const;
60 void setPollInterval(
int pint );
67 void setDebugLevel(
int level );
71 virtual int isActivationKeyValid();
74 return m_sProductSuffix;
81 void setPortBaudRate(
int);
82 int portBaudRate()
const {
return m_iPBaudRate;}
84 void setPortFlowControl(FlowType);
85 FlowType portFlowControl()
const {
return m_PFlow;}
87 void setPortParity(ParityType);
88 ParityType portParity()
const {
return m_PParity;}
90 void setPortDataBits(DataBitsType);
91 DataBitsType portDataBits()
const {
return m_PDataBits;}
93 void setPortStopBits(StopBitsType);
94 StopBitsType portStopBits()
const {
return m_PStopBits;}
99 virtual int setConnectionType(
int ct );
104 virtual void processEvent(
int Code );
106 virtual QString errorText()
const {
return m_sError;}
109 void deviceEvent(
int Code );
116 void startIOTransaction();
117 void stopIOTransaction();
122 virtual int putch(
int b );
127 void setTimeout(
int timeout );
130 virtual void setErrorText(
const QString &
err){m_sError=
err;}
134 int vPortNumber, vDebugLevel, vTimeout, vPollInterval;
136 int m_eConnectionType;
143 ParityType m_PParity;
144 DataBitsType m_PDataBits;
145 StopBitsType m_PStopBits;
Command interpreter for TEBase classes.
Definition cmdparser.h:46
The TEConnect is base class to connect with trade equipment.
Definition teconnect.h:41
Definition teglobal.h:129
The TSerialPort class for work with serial ports from TEBase classes.
Definition tserialport.h:57