Changeset 461 for PinConnection/UCommConnector.pas
- Timestamp:
- Nov 28, 2012, 8:18:44 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
PinConnection/UCommConnector.pas
r440 r461 27 27 procedure UpdateConnectionType(const ConnectionType: TConnectionType; 28 28 const ATelnetComControl: Boolean); 29 procedure CommTCPServerConnect(Sender: TCommTCPServer; Pin: TCommPin); 29 30 protected 30 31 procedure SetActive(const AValue: Boolean); … … 130 131 end; 131 132 ctNetworkServer: begin 132 //TCommPin(CommHub.Pins.First).Connect(CommTCPServer.Pin);133 CommTCPServer.OnConnect := CommTCPServerConnect; 133 134 CommTCPServer.Active := FActive; 134 135 end; … … 141 142 end; 142 143 end; 144 end; 145 146 procedure TDeviceConnector.CommTCPServerConnect(Sender: TCommTCPServer; Pin: TCommPin); 147 begin 148 TCommPin(CommHub.Pins.First).Connect(Pin); 143 149 end; 144 150
Note:
See TracChangeset
for help on using the changeset viewer.