Ignore:
Timestamp:
Aug 17, 2012, 9:53:11 AM (12 years ago)
Author:
chronos
Message:
  • Fixed: Use parent TCommNode Active property instead custom in PinConnection package.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • PinConnection/UCommThread.pas

    r413 r414  
    3030  TCommThread = class(TCommNode)
    3131  private
    32     FActive: Boolean;
    3332    FOnReceiveData: TReceiveDataEvent;
    3433    FReceiveThread: TCommThreadReceiveThread;
     
    4241    procedure ExtReceiveData(Sender: TCommPin; Stream: TListByte);
    4342    procedure ExtSetStatus(Sender: TCommPin; AStatus: Integer);
    44     procedure SetActive(const AValue: Boolean);
     43  protected
     44    procedure SetActive(const AValue: Boolean); override;
    4545  public
    4646    Ext: TCommPin;
    4747    Pin: TCommPin;
    48     property Active: Boolean read FActive write SetActive;
    4948    constructor Create(AOwner: TComponent); override;
    5049    destructor Destroy; override;
     
    101100    FreeAndNil(FReceiveThread);
    102101  end;
     102  inherited;
    103103end;
    104104
Note: See TracChangeset for help on using the changeset viewer.