Changeset 416 for PinConnection/UCommSerialPort.pas
- Timestamp:
- Aug 20, 2012, 2:45:39 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
PinConnection/UCommSerialPort.pas
r414 r416 20 20 protected 21 21 procedure SetActive(const AValue: Boolean); override; 22 procedure AssignTo(Dest: TPersistent); override; 22 23 public 23 24 SerialPort: TSerialPort; … … 43 44 inherited; 44 45 SerialPort.Active := AValue; 46 end; 47 48 procedure TCommSerialPort.AssignTo(Dest: TPersistent); 49 begin 50 if Dest is TCommSerialPort then begin 51 TCommSerialPort(Dest).SerialPort.Assign(SerialPort); 52 end else inherited; 45 53 end; 46 54
Note:
See TracChangeset
for help on using the changeset viewer.