Changeset 413 for PinConnection/UCommPin.pas
- Timestamp:
- Aug 16, 2012, 12:59:53 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
PinConnection/UCommPin.pas
r407 r413 10 10 type 11 11 TCommPin = class; 12 TCommNode = class; 12 13 13 14 TDataDiretion = (ddReceive, ddSend); … … 35 36 public 36 37 RemotePin: TCommPin; 38 Node: TCommNode; 37 39 constructor Create; 38 40 destructor Destroy; override; … … 52 54 end; 53 55 56 { TCommNode } 57 58 TCommNode = class(TComponent) 59 private 60 FActive: Boolean; 61 protected 62 procedure SetActive(AValue: Boolean); virtual; 63 public 64 property Active: Boolean read FActive write SetActive; 65 end; 66 54 67 55 68 implementation 69 70 { TCommNode } 71 72 procedure TCommNode.SetActive(AValue: Boolean); 73 begin 74 if FActive = AValue then Exit; 75 FActive := AValue; 76 end; 56 77 57 78 { TCommPin }
Note:
See TracChangeset
for help on using the changeset viewer.