Changeset 413 for PinConnection/UCommFrame.pas
- Timestamp:
- Aug 16, 2012, 12:59:53 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
PinConnection/UCommFrame.pas
r411 r413 14 14 { TCommFrame } 15 15 16 TCommFrame = class 16 TCommFrame = class(TCommNode) 17 17 private 18 18 LastCharIsSpecialChar: Boolean; … … 35 35 ControlCodeSpecialChar: Byte; 36 36 function ComputeRawSize(DataStream: TListByte): Integer; 37 constructor Create ;37 constructor Create(AOwner: TComponent); override; 38 38 destructor Destroy; override; 39 39 property FrameErrorCount: Integer read FFrameErrorCount; … … 46 46 { TCommFrame } 47 47 48 constructor TCommFrame.Create; 49 begin 48 constructor TCommFrame.Create(AOwner: TComponent); 49 begin 50 inherited; 50 51 ReceiveBuffer := TBinarySerializer.Create; 51 52 ReceiveBuffer.List := TListByte.Create; … … 53 54 RawDataPin := TCommPin.Create; 54 55 RawDataPin.OnReceive := RawDataReceive; 56 RawDataPin.Node := Self; 55 57 FrameDataPin := TCommPin.Create; 56 58 FrameDataPin.OnReceive := FrameDataReceive; 59 FrameDataPin.Node := Self; 57 60 PacketLoss := 0; 58 61 SpecialChar := $fe;
Note:
See TracChangeset
for help on using the changeset viewer.