Changeset 288 for PinConnection/UCommFrame.pas
- Timestamp:
- Oct 24, 2011, 9:01:08 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
PinConnection/UCommFrame.pas
r119 r288 19 19 TFrameState = (fsOutside, fsStart, fsInside, fsEnd); 20 20 21 { TCommFrame } 22 21 23 TCommFrame = class 22 24 private … … 32 34 PacketLoss: Real; 33 35 procedure RawDataReceive(Sender: TCommPin; Stream: TStream); 36 procedure RawSetStatus(Sender: TCommPin; Status: Integer); 34 37 procedure FrameDataReceive(Sender: TCommPin; Stream: TStream); 38 procedure FrameSetStatus(Sender: TCommPin; Status: Integer); 35 39 constructor Create; 36 40 destructor Destroy; override; … … 103 107 end; 104 108 109 procedure TCommFrame.FrameSetStatus(Sender: TCommPin; Status: Integer); 110 begin 111 RawDataPin.Status := Status; 112 end; 113 105 114 procedure TCommFrame.RawDataReceive(Sender: TCommPin; Stream: TStream); 106 115 var … … 148 157 end; 149 158 159 procedure TCommFrame.RawSetStatus(Sender: TCommPin; Status: Integer); 160 begin 161 FrameDataPin.Status := Status; 162 end; 163 150 164 function TCommFrame.GetStreamCRC8(Stream: TStream): Byte; 151 165 var
Note:
See TracChangeset
for help on using the changeset viewer.