Changeset 247 for PinConnection/UCommProtocol.pas
- Timestamp:
- May 24, 2011, 12:36:12 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
PinConnection/UCommProtocol.pas
r231 r247 101 101 ResponseParameters: TVarBlockIndexed = nil; 102 102 RequestParameters: TVarBlockIndexed = nil; ARaiseError: boolean = True); 103 constructor Create; 103 constructor Create; virtual; 104 104 destructor Destroy; override; 105 procedure Assign(Source: TCommProtocol); virtual; 105 106 property OnAfterRequest: TAfterRequest read FOnAfterRequest write FOnAfterRequest; 106 107 property OnCommand: TAfterRequest read FOnCommand write FOnCommand; … … 360 361 end; 361 362 363 procedure TCommProtocol.Assign(Source: TCommProtocol); 364 begin 365 LastCommandResponseTime := Source.LastCommandResponseTime; 366 LastLatency := Source.LastLatency; 367 MaxSequenceNumber := Source.MaxSequenceNumber; 368 MaxSessionCount := Source.MaxSessionCount; 369 RemoteBufferSize := Source.RemoteBufferSize; 370 RemoteBufferUsed := Source.RemoteBufferUsed; 371 WrongSequenceCount := Source.WrongSequenceCount; 372 RetransmitTimeout := Source.RetransmitTimeout; 373 RetransmitRepeatCount := Source.RetransmitRepeatCount; 374 RetransmitTotalCount := Source.RetransmitTotalCount; 375 Pin.Connect(Source.Pin.RemotePin); 376 OnCommand := Source.OnCommand; 377 OnAfterRequest := Source.OnAfterRequest; 378 OnDebugLog := Source.OnDebugLog; 379 Active := Source.Active; 380 end; 381 362 382 { TDeviceProtocolSession } 363 383
Note:
See TracChangeset
for help on using the changeset viewer.