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/UPacketBurst.pas

    r413 r414  
    2121  TPacketBurst = class(TCommNode)
    2222  private
    23     FActive: Boolean;
    2423    SendThreadEvent: TEvent;
    2524    SendThread: TPacketBurstSendThread;
     
    2928    procedure PacketSingleReceive(Sender: TCommPin; Stream: TListByte);
    3029    procedure PacketBurstReceive(Sender: TCommPin; Stream: TListByte);
    31     procedure SetActive(const AValue: Boolean);
     30  protected
     31    procedure SetActive(const AValue: Boolean); override;
    3232  public
    3333    SendPeriod: Integer;
     
    3737    destructor Destroy; override;
    3838    constructor Create(AOwner: TComponent); override;
    39     property Active: Boolean read FActive write SetActive;
    4039  end;
    4140
     
    101100    FreeAndNil(SendThread);
    102101  end;
     102  inherited;
    103103end;
    104104
Note: See TracChangeset for help on using the changeset viewer.