Changeset 413 for PinConnection/UPacketBurst.pas
- Timestamp:
- Aug 16, 2012, 12:59:53 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
PinConnection/UPacketBurst.pas
r407 r413 19 19 { TPacketBurst } 20 20 21 TPacketBurst = class 21 TPacketBurst = class(TCommNode) 22 22 private 23 23 FActive: Boolean; … … 36 36 PacketBurstPin: TCommPin; 37 37 destructor Destroy; override; 38 constructor Create ;38 constructor Create(AOwner: TComponent); override; 39 39 property Active: Boolean read FActive write SetActive; 40 40 end; … … 44 44 { TSerialPort } 45 45 46 constructor TPacketBurst.Create ;46 constructor TPacketBurst.Create(AOwner: TComponent); 47 47 begin 48 inherited; 48 49 PacketSinglePin := TCommPin.Create; 49 50 PacketSinglePin.OnReceive := PacketSingleReceive; 51 PacketSinglePin.Node := Self; 50 52 PacketBurstPin := TCommPin.Create; 51 53 PacketBurstPin.OnReceive := PacketBurstReceive; 54 PacketBurstPin.Node := Self; 52 55 SendThreadEvent := TSimpleEvent.Create; 53 56 SendPeriod := 1;
Note:
See TracChangeset
for help on using the changeset viewer.