Class tcustomrs232
Unit
Declaration
type tcustomrs232 = class(tpersistent)
Description
Hierarchy
- TObject
- tpersistent
- tcustomrs232
Overview
Fields
fvmin: char; |
|
fnoclosehandle: boolean; |
|
fonopen: proceventty; |
|
fonclose: proceventty; |
Methods
function canevent(const aevent: tmethod): boolean; |
|
function piperead(var buf; const acount: integer; out readcount: integer; const nonblocked: boolean): boolean; |
|
function pipewrite(const buffer; count: longint): longint; |
|
constructor create(const aowner: tmsecomponent; const aoncheckabort: checkeventty = nil); |
|
destructor destroy; override; |
|
function open: boolean; |
|
procedure close; |
|
function opened: boolean; |
|
procedure reset; |
|
procedure resetinput; |
|
procedure resetoutput; |
|
procedure setrts(active: boolean); |
|
procedure setdtr(active: boolean); |
|
function writestring(const dat: string; timeout: longword = 0; waitforeot: boolean = false): boolean; |
|
function readbuffer(anzahl: integer; out dat; timeout: longword = 0): integer; |
|
function readstring(anzahl: integer; out dat: string; timeout: longword = infinitemse): boolean; |
|
function readavailbuffer(const maxcount: integer; out dat): integer; |
|
function readavailstring(const maxcount: integer): string; |
|
function transmissiontime(const acount: integer): longword; |
|
function commpath(): filenamety; |
Properties
property active: boolean read opened write setactive; |
|
property openerror: int32 read fopenerror; |
|
property handle: ptruint read fhandle; |
|
property commnr: commnrty read Fcommnr write Setcommnr default cnr_1; |
|
property commname: filenamety read fcommname write setcommname; |
|
property baud: commbaudratety read Fbaud write Setbaud default cbr_9600; |
|
property databits: commdatabitsty read fdatabits write setdatabits default cdb_8; |
|
property stopbit: commstopbitty read Fstopbit write Setstopbit default csb_1; |
|
property parity: commparityty read Faparity write Setparity default cpa_none; |
|
property halfduplex: boolean read fhalfduplex write fhalfduplex default false; |
|
property oncheckabort: checkeventty read foncheckabort; |
|
property rtstimevor: integer read frtstimevor write frtstimevor; |
|
property rtstimenach: integer read frtstimenach write frtstimenach; |
|
property byteus: integer read fbyteus; |
Description
Fields
fvmin: char; |
|
fnoclosehandle: boolean; |
|
fonopen: proceventty; |
|
fonclose: proceventty; |
|
Methods
function canevent(const aevent: tmethod): boolean; |
|
function piperead(var buf; const acount: integer; out readcount: integer; const nonblocked: boolean): boolean; |
|
function pipewrite(const buffer; count: longint): longint; |
|
constructor create(const aowner: tmsecomponent; const aoncheckabort: checkeventty = nil); |
|
destructor destroy; override; |
|
function open: boolean; |
|
procedure close; |
|
function opened: boolean; |
|
procedure reset; |
|
procedure resetinput; |
|
procedure resetoutput; |
|
procedure setrts(active: boolean); |
|
procedure setdtr(active: boolean); |
|
function writestring(const dat: string; timeout: longword = 0; waitforeot: boolean = false): boolean; |
|
function readbuffer(anzahl: integer; out dat; timeout: longword = 0): integer; |
|
function readstring(anzahl: integer; out dat: string; timeout: longword = infinitemse): boolean; |
|
function readavailbuffer(const maxcount: integer; out dat): integer; |
|
function readavailstring(const maxcount: integer): string; |
|
function transmissiontime(const acount: integer): longword; |
|
function commpath(): filenamety; |
|
Properties
property active: boolean read opened write setactive; |
|
property openerror: int32 read fopenerror; |
|
property handle: ptruint read fhandle; |
|
property commnr: commnrty read Fcommnr write Setcommnr default cnr_1; |
|
property commname: filenamety read fcommname write setcommname; |
|
property baud: commbaudratety read Fbaud write Setbaud default cbr_9600; |
|
property databits: commdatabitsty read fdatabits write setdatabits default cdb_8; |
|
property stopbit: commstopbitty read Fstopbit write Setstopbit default csb_1; |
|
property parity: commparityty read Faparity write Setparity default cpa_none; |
|
property halfduplex: boolean read fhalfduplex write fhalfduplex default false; |
|
property oncheckabort: checkeventty read foncheckabort; |
|
property rtstimevor: integer read frtstimevor write frtstimevor; |
|
property rtstimenach: integer read frtstimenach write frtstimenach; |
|
property byteus: integer read fbyteus; |
|
Generated by PasDoc 0.16.0.