Changeset 413 for PinConnection/UCommThread.pas
- Timestamp:
- Aug 16, 2012, 12:59:53 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
PinConnection/UCommThread.pas
r407 r413 28 28 { TCommThread } 29 29 30 TCommThread = class 30 TCommThread = class(TCommNode) 31 31 private 32 32 FActive: Boolean; … … 47 47 Pin: TCommPin; 48 48 property Active: Boolean read FActive write SetActive; 49 constructor Create ;49 constructor Create(AOwner: TComponent); override; 50 50 destructor Destroy; override; 51 51 end; … … 103 103 end; 104 104 105 constructor TCommThread.Create ;105 constructor TCommThread.Create(AOwner: TComponent); 106 106 begin 107 inherited Create;107 inherited; 108 108 FInputBuffer := TBinarySerializer.Create; 109 109 FInputBuffer.List := TListByte.Create; … … 113 113 Ext.OnReceive := ExtReceiveData; 114 114 Ext.OnSetSatus := ExtSetStatus; 115 Ext.Node := Self; 115 116 Pin := TCommPin.Create; 116 117 Pin.OnReceive := PinReceiveData; 117 118 Pin.OnSetSatus := PinSetStatus; 119 Pin.Node := Self; 118 120 FDataAvailable := TSimpleEvent.Create; 119 121 FStatusEvent := TSimpleEvent.Create;
Note:
See TracChangeset
for help on using the changeset viewer.