Changeset 414 for PinConnection/UCommMark.pas
- Timestamp:
- Aug 17, 2012, 9:53:11 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
PinConnection/UCommMark.pas
r413 r414 14 14 TCommMark = class(TCommNode) 15 15 private 16 FActive: Boolean;17 16 FMarkIndex: Integer; 18 17 FFrameData: TListByte; … … 21 20 procedure FrameDataReceive(Sender: TCommPin; Stream: TListByte); 22 21 procedure FrameSetStatus(Sender: TCommPin; Status: Integer); 23 procedure SetActive(AValue: Boolean); 22 protected 23 procedure SetActive(const AValue: Boolean); override; 24 24 public 25 25 PinRaw: TCommPin; … … 29 29 constructor Create(AOwner: TComponent); override; 30 30 destructor Destroy; override; 31 property Active: Boolean read FActive write SetActive;32 31 end; 33 32 … … 75 74 end; 76 75 77 procedure TCommMark.SetActive( AValue: Boolean);76 procedure TCommMark.SetActive(const AValue: Boolean); 78 77 begin 79 78 if FActive = AValue then Exit; 80 79 FActive := AValue; 81 80 if FActive then Reset; 81 inherited; 82 82 end; 83 83
Note:
See TracChangeset
for help on using the changeset viewer.