Ignore:
Timestamp:
Aug 16, 2012, 12:59:53 PM (12 years ago)
Author:
chronos
Message:
  • Modified: Classes using TCommPin class now inherits from TCommNode which inherits from TComponent. All TCommNodes are now registred as components in PinConnection group on component palette.
  • Modified: TCommPin now have reference to parent TCommNode.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ISPProgrammer/UISPProgrammer.pas

    r406 r413  
    66
    77uses
    8   Classes, SysUtils, Registry, UIntelHexFile, UCommSerialPort,
    9   UCPUType, UJobProgressView;
     8  Classes, SysUtils, Registry, UIntelHexFile,
     9  UCPUType, UJobProgressView, UCommPin;
    1010
    1111type
     
    3131    HexFile: TIntelHexFile;
    3232    FileName: string;
    33     SerialPort: TCommSerialPort;
    3433    Capabilities: TISPProgCapabilities;
     34    ExtPin: TCommPin;
    3535    procedure Log(Text: string);
    3636    procedure LoadFromRegistry(Root: HKEY; Key: string); virtual;
     
    130130constructor TISPProgrammer.Create;
    131131begin
     132  ExtPin := TCommPin.Create;
    132133  HexFile := TIntelHexFile.Create;
    133134  HexFile.BytePerLine := 20;
    134   SerialPort := nil;
    135135end;
    136136
     
    138138begin
    139139  Active := False;
     140  ExtPin.Free;
    140141  HexFile.Free;
    141142  inherited Destroy;
Note: See TracChangeset for help on using the changeset viewer.