Changeset 413 for PinConnection/UCommDelay.pas
- Timestamp:
- Aug 16, 2012, 12:59:53 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
PinConnection/UCommDelay.pas
r407 r413 33 33 { TCommDelay } 34 34 35 TCommDelay = class 35 TCommDelay = class(TCommNode) 36 36 private 37 37 FActive: Boolean; … … 49 49 Pin1: TCommPin; 50 50 Pin2: TCommPin; 51 constructor Create ;51 constructor Create(AOwner: TComponent); override; 52 52 destructor Destroy; override; 53 53 property Delay: TDateTime read FDelay write FDelay; … … 169 169 end; 170 170 171 constructor TCommDelay.Create ;171 constructor TCommDelay.Create(AOwner: TComponent); 172 172 begin 173 inherited; 173 174 Lock1 := TCriticalSection.Create; 174 175 Lock2 := TCriticalSection.Create; … … 177 178 Pin1 := TCommPin.Create; 178 179 Pin1.OnReceive := ReceiveData1; 180 Pin1.Node := Self; 179 181 Pin2 := TCommPin.Create; 180 182 Pin2.OnReceive := ReceiveData2; 183 Pin2.Node := Self; 181 184 end; 182 185
Note:
See TracChangeset
for help on using the changeset viewer.