Changeset 283
- Timestamp:
- Oct 10, 2011, 1:34:34 PM (13 years ago)
- Location:
- PinConnection
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
PinConnection/UCommProtocol.pas
r273 r283 111 111 end; 112 112 113 implementation114 115 113 resourcestring 116 114 SResponseError = 'Command %0:s response error %1:s'; … … 120 118 SProtocolDecodeError = 'Data decode error'; 121 119 SProtocolNotActive = 'Device protocol not active'; 120 121 implementation 122 122 123 123 124 procedure TCommProtocol.DataReceive(Sender: TCommPin; Stream: TStream); -
PinConnection/USerialPort.pas
r231 r283 109 109 110 110 procedure TSerialPort.SetName(const AValue: string); 111 begin 111 var 112 LastState: Boolean; 113 begin 114 if FName = AValue then Exit; 115 LastState := FActive; 116 Active := False; 112 117 FName := AValue; 118 Active := LastState; 113 119 end; 114 120
Note:
See TracChangeset
for help on using the changeset viewer.