Changeset 414 for PinConnection/UCommDelay.pas
- Timestamp:
- Aug 17, 2012, 9:53:11 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
PinConnection/UCommDelay.pas
r413 r414 35 35 TCommDelay = class(TCommNode) 36 36 private 37 FActive: Boolean;38 37 FDelay: TDateTime; 39 38 PacketQueue1: TListObject; // TListObject<TDelayedPacket> … … 43 42 procedure ReceiveData1(Sender: TCommPin; AStream: TListByte); 44 43 procedure ReceiveData2(Sender: TCommPin; AStream: TListByte); 45 procedure SetActive(AValue: Boolean); 44 protected 45 procedure SetActive(const AValue: Boolean); override; 46 46 public 47 47 Lock1: TCriticalSection; … … 52 52 destructor Destroy; override; 53 53 property Delay: TDateTime read FDelay write FDelay; 54 property Active: Boolean read FActive write SetActive;55 54 end; 56 55 … … 141 140 end; 142 141 143 procedure TCommDelay.SetActive( AValue: Boolean);142 procedure TCommDelay.SetActive(const AValue: Boolean); 144 143 begin 145 144 if FActive = AValue then Exit; … … 167 166 FreeAndNil(Thread2); 168 167 end; 168 inherited; 169 169 end; 170 170
Note:
See TracChangeset
for help on using the changeset viewer.