Changeset 575
- Timestamp:
- Jun 25, 2024, 11:56:51 AM (4 months ago)
- Location:
- PinConnection
- Files:
-
- 1 edited
- 1 copied
- 24 moved
Legend:
- Unmodified
- Added
- Removed
-
PinConnection/CommConcentrator.pas
r574 r575 2 2 // Data received on main pin is sent to all pins 3 3 4 unit UCommConcentrator; 5 6 {$mode Delphi}{$H+} 4 unit CommConcentrator; 7 5 8 6 interface 9 7 10 8 uses 11 Classes, SysUtils, Contnrs, UCommPin, SpecializedList;9 Classes, SysUtils, Contnrs, CommPin, SpecializedList; 12 10 13 11 type … … 41 39 property Main: TCommPin read FMain write FMain; 42 40 end; 41 43 42 44 43 implementation … … 125 124 FreeAndNil(FPins); 126 125 FreeAndNil(FMain); 127 inherited Destroy;126 inherited; 128 127 end; 129 128 -
PinConnection/CommConnector.pas
r574 r575 1 unit UCommConnector; 2 3 {$mode delphi} 1 unit CommConnector; 4 2 5 3 interface 6 4 7 5 uses 8 Classes, SysUtils, UCommPin, UCommSerialPort, UCommTCPClient, UCommThread, 9 UCommHub, UCommTCPServer, UCommTelnet, 10 UCommTelnetComPortOption; 6 Classes, SysUtils, CommPin, CommSerialPort, CommTCPClient, CommThread, 7 CommHub, CommTCPServer, CommTelnet, CommTelnetComPortOption; 11 8 12 9 type … … 49 46 property Active: Boolean read FActive write SetActive; 50 47 end; 48 51 49 52 50 implementation … … 149 147 end; 150 148 151 152 149 constructor TDeviceConnector.Create; 153 150 begin … … 191 188 end; 192 189 193 194 195 190 end. 196 191 -
PinConnection/CommDelay.pas
r574 r575 1 unit UCommDelay; 2 3 {$mode Delphi}{$H+} 1 unit CommDelay; 4 2 5 3 interface 6 4 7 5 uses 8 Classes, SysUtils, UCommPin, UThreading, SyncObjs, SpecializedList;6 Classes, SysUtils, CommPin, Threading, SyncObjs, SpecializedList; 9 7 10 8 type … … 52 50 property Delay: TDateTime read FDelay write FDelay; 53 51 end; 52 54 53 55 54 implementation … … 103 102 destructor TDelayedPacket.Destroy; 104 103 begin 105 Data.Free;106 inherited Destroy;104 FreeAndNil(Data); 105 inherited; 107 106 end; 108 107 … … 186 185 begin 187 186 Active := False; 188 Pin2.Free;189 Pin1.Free;190 PacketQueue1.Free;191 PacketQueue2.Free;192 Lock1.Free;193 Lock2.Free;194 inherited Destroy;187 FreeAndNil(Pin2); 188 FreeAndNil(Pin1); 189 FreeAndNil(PacketQueue1); 190 FreeAndNil(PacketQueue2); 191 FreeAndNil(Lock1); 192 FreeAndNil(Lock2); 193 inherited; 195 194 end; 196 195 -
PinConnection/CommFrame.pas
r574 r575 1 unit UCommFrame; 2 3 {$mode Delphi}{$H+} 1 unit CommFrame; 4 2 5 3 interface 6 4 7 5 uses 8 Classes, Dialogs, SysUtils, SpecializedList, UBinarySerializer,9 UCommPin;6 Classes, Dialogs, SysUtils, SpecializedList, BinarySerializer, 7 CommPin; 10 8 11 9 type … … 69 67 FreeAndNil(RawDataPin); 70 68 FreeAndNil(FrameDataPin); 71 ReceiveBuffer.Free;69 FreeAndNil(ReceiveBuffer); 72 70 inherited; 73 71 end; … … 200 198 end; 201 199 202 203 200 end. -
PinConnection/CommHub.pas
r574 r575 1 unit UCommHub; 2 3 {$mode delphi} 1 unit CommHub; 4 2 5 3 interface 6 4 7 5 uses 8 Classes, SysUtils, Contnrs, UCommPin, SpecializedList;6 Classes, SysUtils, Contnrs, CommPin, SpecializedList; 9 7 10 8 type -
PinConnection/CommMark.pas
r574 r575 1 unit UCommMark; 2 3 {$mode delphi}{$H+} 1 unit CommMark; 4 2 5 3 interface 6 4 7 5 uses 8 Classes, SysUtils, UCommPin, SpecializedList;6 Classes, SysUtils, CommPin, SpecializedList; 9 7 10 8 type … … 106 104 destructor TCommMark.Destroy; 107 105 begin 108 F FrameData.Free;109 Mark.Free;110 PinRaw.Free;111 PinFrame.Free;112 inherited Destroy;106 FreeAndNil(FFrameData); 107 FreeAndNil(Mark); 108 FreeAndNil(PinRaw); 109 FreeAndNil(PinFrame); 110 inherited; 113 111 end; 114 112 -
PinConnection/CommPin.pas
r574 r575 1 unit UCommPin; 2 3 {$mode Delphi}{$H+}{$M+} 1 unit CommPin; 4 2 5 3 interface … … 150 148 end; 151 149 152 153 150 end. -
PinConnection/CommSerialPort.pas
r574 r575 1 unit UCommSerialPort; 2 3 {$mode Delphi}{$H+} 1 unit CommSerialPort; 4 2 5 3 interface 6 4 7 5 uses 8 Classes, USerialPort, UCommPin, SysUtils, DateUtils, SpecializedList,6 Classes, SerialPort, CommPin, SysUtils, DateUtils, SpecializedList, 9 7 SyncObjs; 10 8 … … 30 28 31 29 implementation 32 33 30 34 31 { TCommSerialPort } -
PinConnection/CommSocket.pas
r574 r575 1 unit UCommSocket; 2 3 {$mode Delphi}{$H+} 1 unit CommSocket; 4 2 5 3 interface -
PinConnection/CommTCPClient.pas
r574 r575 1 unit UCommTCPClient; 2 3 {$mode Delphi}{$H+} 1 unit CommTCPClient; 4 2 5 3 interface 6 4 7 5 uses 8 Classes, SysUtils, blcksock, synsock, UCommPin, UCommon, UThreading,6 Classes, SysUtils, blcksock, synsock, CommPin, Common, Threading, 9 7 DateUtils, SpecializedList; 10 8 … … 116 114 begin 117 115 Active := False; 118 Socket.Free;119 Pin.Free;120 inherited Destroy;116 FreeAndNil(Socket); 117 FreeAndNil(Pin); 118 inherited; 121 119 end; 122 120 … … 159 157 destructor TCommSocketReceiveThread.Destroy; 160 158 begin 161 Stream.Free;159 FreeAndNil(Stream); 162 160 inherited; 163 161 end; -
PinConnection/CommTCPServer.pas
r574 r575 1 unit UCommTCPServer; 2 3 {$mode Delphi}{$H+} 1 unit CommTCPServer; 4 2 5 3 interface 6 4 7 5 uses 8 Classes, SysUtils, blcksock, synsock, UCommPin, UCommon, UThreading,6 Classes, SysUtils, blcksock, synsock, CommPin, Common, Threading, 9 7 DateUtils, SpecializedList; 10 8 … … 64 62 end; 65 63 64 66 65 implementation 67 66 … … 92 91 destructor TCommTCPServerSession.Destroy; 93 92 begin 94 Pin.Free;95 Socket.Free;96 inherited Destroy;93 FreeAndNil(Pin); 94 FreeAndNil(Socket); 95 inherited; 97 96 end; 98 97 … … 161 160 destructor TCommSocketReceiveThread.Destroy; 162 161 begin 163 Stream.Free;164 inherited Destroy;162 FreeAndNil(Stream); 163 inherited; 165 164 end; 166 165 … … 200 199 begin 201 200 Active := False; 202 Socket.Free;203 Sessions.Free;204 inherited Destroy;201 FreeAndNil(Socket); 202 FreeAndNil(Sessions); 203 inherited; 205 204 end; 206 205 -
PinConnection/CommTelnet.pas
r574 r575 1 unit UCommTelnet; 2 3 {$mode delphi}{$H+} 1 unit CommTelnet; 4 2 5 3 interface 6 4 7 5 uses 8 Classes, SysUtils, UCommPin, SpecializedList, DateUtils, Dialogs,9 UBinarySerializer;6 Classes, SysUtils, CommPin, SpecializedList, DateUtils, Dialogs, 7 BinarySerializer; 10 8 11 9 type … … 469 467 FreeAndNil(RawPin); 470 468 FreeAndNil(FResponses); 471 inherited Destroy;469 inherited; 472 470 end; 473 471 -
PinConnection/CommTelnetComPortOption.pas
r574 r575 1 unit UCommTelnetComPortOption; 2 3 {$mode delphi}{$H+} 1 unit CommTelnetComPortOption; 4 2 5 3 interface 6 4 7 5 uses 8 Classes, SysUtils, UCommTelnet, USerialPort, 9 SpecializedList, UBinarySerializer; 6 Classes, SysUtils, CommTelnet, SerialPort, SpecializedList, UBinarySerializer; 10 7 11 8 type … … 58 55 function TTelnetOptionComPort.GetDataBits: TDataBits; 59 56 begin 60 61 57 end; 62 58 63 59 function TTelnetOptionComPort.GetDTR: Boolean; 64 60 begin 65 66 61 end; 67 62 68 63 function TTelnetOptionComPort.GetFlowControl: TFlowControl; 69 64 begin 70 71 65 end; 72 66 73 67 function TTelnetOptionComPort.GetParity: TParity; 74 68 begin 75 76 69 end; 77 70 78 71 function TTelnetOptionComPort.GetRTS: Boolean; 79 72 begin 80 81 73 end; 82 74 83 75 function TTelnetOptionComPort.GetStopBits: TStopBits; 84 76 begin 85 86 77 end; 87 78 … … 144 135 procedure TTelnetOptionComPort.SetDataBits(AValue: TDataBits); 145 136 begin 146 147 137 end; 148 138 … … 189 179 procedure TTelnetOptionComPort.SetParity(AValue: TParity); 190 180 begin 191 192 181 end; 193 182 … … 213 202 procedure TTelnetOptionComPort.SetStopBits(AValue: TStopBits); 214 203 begin 215 216 204 end; 217 205 … … 223 211 destructor TTelnetOptionComPort.Destroy; 224 212 begin 225 inherited Destroy;213 inherited; 226 214 end; 227 215 -
PinConnection/CommThread.pas
r574 r575 1 unit UCommThread; 2 3 {$mode Delphi}{$H+} 1 unit CommThread; 4 2 5 3 interface 6 4 7 5 uses 8 Classes, SysUtils, blcksock, UCommPin, SyncObjs, UCommon,9 DateUtils, UThreading, SpecializedList, UBinarySerializer;6 Classes, SysUtils, blcksock, CommPin, SyncObjs, Common, 7 DateUtils, Threading, SpecializedList, BinarySerializer; 10 8 11 9 type … … 49 47 destructor Destroy; override; 50 48 end; 49 51 50 52 51 implementation … … 188 187 destructor TCommThreadReceiveThread.Destroy; 189 188 begin 190 Stream.Free;189 FreeAndNil(Stream); 191 190 inherited; 192 191 end; -
PinConnection/Languages/CommTCPClient.pot
r574 r575 2 2 msgstr "Content-Type: text/plain; charset=UTF-8" 3 3 4 #: ucommtcpclient.scantconnecttoserver 4 #: commtcpclient.scantconnecttoserver 5 msgctxt "commtcpclient.scantconnecttoserver" 5 6 msgid "Can't connect to remote server" 6 msgstr " Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8"7 msgstr "" 7 8 -
PinConnection/Languages/CommTelnet.pot
r574 r575 2 2 msgstr "Content-Type: text/plain; charset=UTF-8" 3 3 4 #: ucommtelnet.soptionnotfound 4 #: commtelnet.soptionnotfound 5 msgctxt "commtelnet.soptionnotfound" 5 6 msgid "Option not found" 6 7 msgstr "" 7 8 8 #: ucommtelnet.stimeout 9 #: commtelnet.stimeout 10 msgctxt "commtelnet.stimeout" 9 11 msgid "Telnet command timout" 10 12 msgstr "" 11 13 12 #: ucommtelnet.sunknownstate 14 #: commtelnet.sunknownstate 15 msgctxt "commtelnet.sunknownstate" 13 16 msgid "Unknown state" 14 17 msgstr "" 15 18 16 #: ucommtelnet.swrongresponse 19 #: commtelnet.swrongresponse 20 msgctxt "commtelnet.swrongresponse" 17 21 msgid "Wrong response" 18 22 msgstr "" 19 23 20 #: ucommtelnet.swrongresponsecode 24 #: commtelnet.swrongresponsecode 25 msgctxt "commtelnet.swrongresponsecode" 21 26 msgid "Wrong response code" 22 27 msgstr "" 23 28 24 #: ucommtelnet.swrongresponseoption 29 #: commtelnet.swrongresponseoption 30 msgctxt "commtelnet.swrongresponseoption" 25 31 msgid "Wrong response option" 26 32 msgstr "" -
PinConnection/Languages/SerialPort.cs.po
r574 r575 10 10 "Content-Transfer-Encoding: 8bit\n" 11 11 12 #: userialport.sassignmenterror 12 #: serialport.sassignmenterror 13 #, fuzzy 14 msgctxt "serialport.sassignmenterror" 13 15 msgid "Assignment error" 14 16 msgstr "Chyba přiřazení" 15 17 16 #: userialport.swrongdatabitsnumber 18 #: serialport.swrongdatabitsnumber 19 #, object-pascal-format, fuzzy 20 msgctxt "serialport.swrongdatabitsnumber" 17 21 msgid "Wrong data bits number %s" 18 22 msgstr "Nesprávné číslo datových bitů %s" -
PinConnection/Languages/SerialPort.pot
r574 r575 2 2 msgstr "Content-Type: text/plain; charset=UTF-8" 3 3 4 #: userialport.sassignmenterror 4 #: serialport.sassignmenterror 5 msgctxt "serialport.sassignmenterror" 5 6 msgid "Assignment error" 6 msgstr " Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8Content-Type: text/plain; charset=UTF-8"7 msgstr "" 7 8 8 #: userialport.swrongdatabitsnumber 9 #: serialport.swrongdatabitsnumber 10 #, object-pascal-format 11 msgctxt "serialport.swrongdatabitsnumber" 9 12 msgid "Wrong data bits number %s" 10 13 msgstr "" -
PinConnection/PacketBurst.pas
r574 r575 1 unit UPacketBurst; 2 3 {$mode Delphi}{$H+} 1 unit PacketBurst; 4 2 5 3 interface 6 4 7 5 uses 8 Classes, UCommPin, SyncObjs, UCommon, SysUtils, SpecializedList,9 DateUtils, UBinarySerializer;6 Classes, CommPin, SyncObjs, Common, SysUtils, SpecializedList, 7 DateUtils, BinarySerializer; 10 8 11 9 type … … 39 37 end; 40 38 39 41 40 implementation 42 41 … … 59 58 begin 60 59 Active := False; 61 SendThreadEvent.Free;62 PacketSinglePin.Free;63 PacketBurstPin.Free;60 FreeAndNil(SendThreadEvent); 61 FreeAndNil(PacketSinglePin); 62 FreeAndNil(PacketBurstPin); 64 63 inherited; 65 64 end; -
PinConnection/PinConnection.lpk
r440 r575 1 <?xml version="1.0" ?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <CONFIG> 3 <Package Version=" 4">3 <Package Version="5"> 4 4 <PathDelim Value="\"/> 5 5 <Name Value="PinConnection"/> 6 <Type Value="RunAndDesignTime"/> 6 7 <AddToProjectUsesSection Value="True"/> 7 8 <Author Value="Chronos"/> … … 12 13 <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/> 13 14 </SearchPaths> 14 <Other> 15 <CompilerMessages> 16 <UseMsgFile Value="True"/> 17 </CompilerMessages> 18 <CompilerPath Value="$(CompPath)"/> 19 </Other> 15 <Parsing> 16 <SyntaxOptions> 17 <SyntaxMode Value="Delphi"/> 18 <CStyleOperator Value="False"/> 19 <AllowLabel Value="False"/> 20 <CPPInline Value="False"/> 21 </SyntaxOptions> 22 </Parsing> 23 <Linking> 24 <Debugging> 25 <GenerateDebugInfo Value="False"/> 26 </Debugging> 27 </Linking> 20 28 </CompilerOptions> 21 29 <Description Value="System for class bidirectional communication interconnection."/> 22 30 <License Value="GNU/GPL"/> 23 <Version Minor=" 4"/>24 <Files Count="1 6">31 <Version Minor="5"/> 32 <Files Count="17"> 25 33 <Item1> 26 <Filename Value=" USerialPort.pas"/>27 <UnitName Value=" USerialPort"/>34 <Filename Value="SerialPort.pas"/> 35 <UnitName Value="SerialPort"/> 28 36 </Item1> 29 37 <Item2> 30 <Filename Value=" UPacketBurst.pas"/>31 <UnitName Value=" UPacketBurst"/>38 <Filename Value="PacketBurst.pas"/> 39 <UnitName Value="PacketBurst"/> 32 40 </Item2> 33 41 <Item3> 34 <Filename Value=" UCommFrame.pas"/>35 <UnitName Value=" UCommFrame"/>42 <Filename Value="CommFrame.pas"/> 43 <UnitName Value="CommFrame"/> 36 44 </Item3> 37 45 <Item4> 38 <Filename Value=" UCommHub.pas"/>39 <UnitName Value=" UCommHub"/>46 <Filename Value="CommHub.pas"/> 47 <UnitName Value="CommHub"/> 40 48 </Item4> 41 49 <Item5> 42 <Filename Value=" UCommPin.pas"/>43 <UnitName Value=" UCommPin"/>50 <Filename Value="CommPin.pas"/> 51 <UnitName Value="CommPin"/> 44 52 </Item5> 45 53 <Item6> 46 <Filename Value=" UCommSerialPort.pas"/>47 <UnitName Value=" UCommSerialPort"/>54 <Filename Value="CommSerialPort.pas"/> 55 <UnitName Value="CommSerialPort"/> 48 56 </Item6> 49 57 <Item7> 50 <Filename Value=" UCommThread.pas"/>51 <UnitName Value=" UCommThread"/>58 <Filename Value="CommThread.pas"/> 59 <UnitName Value="CommThread"/> 52 60 </Item7> 53 61 <Item8> 54 <Filename Value=" UCommConcentrator.pas"/>55 <UnitName Value=" UCommConcentrator"/>62 <Filename Value="CommConcentrator.pas"/> 63 <UnitName Value="CommConcentrator"/> 56 64 </Item8> 57 65 <Item9> 58 <Filename Value=" UCommDelay.pas"/>59 <UnitName Value=" UCommDelay"/>66 <Filename Value="CommDelay.pas"/> 67 <UnitName Value="CommDelay"/> 60 68 </Item9> 61 69 <Item10> 62 <Filename Value=" UCommTCPClient.pas"/>63 <UnitName Value=" UCommTCPClient"/>70 <Filename Value="CommTCPClient.pas"/> 71 <UnitName Value="CommTCPClient"/> 64 72 </Item10> 65 73 <Item11> 66 <Filename Value=" UCommTCPServer.pas"/>67 <UnitName Value=" UCommTCPServer"/>74 <Filename Value="CommTCPServer.pas"/> 75 <UnitName Value="CommTCPServer"/> 68 76 </Item11> 69 77 <Item12> 70 <Filename Value=" UCommTelnet.pas"/>71 <UnitName Value=" UCommTelnet"/>78 <Filename Value="CommTelnet.pas"/> 79 <UnitName Value="CommTelnet"/> 72 80 </Item12> 73 81 <Item13> 74 <Filename Value=" UCommTelnetComPortOption.pas"/>75 <UnitName Value=" UCommTelnetComPortOption"/>82 <Filename Value="CommTelnetComPortOption.pas"/> 83 <UnitName Value="CommTelnetComPortOption"/> 76 84 </Item13> 77 85 <Item14> 78 <Filename Value=" UCommMark.pas"/>79 <UnitName Value=" UCommMark"/>86 <Filename Value="CommMark.pas"/> 87 <UnitName Value="CommMark"/> 80 88 </Item14> 81 89 <Item15> 82 <Filename Value=" UPinConnection.pas"/>90 <Filename Value="PinConnection.pas"/> 83 91 <HasRegisterProc Value="True"/> 84 <UnitName Value=" UPinConnection"/>92 <UnitName Value="PinConnection"/> 85 93 </Item15> 86 94 <Item16> 87 <Filename Value=" UCommConnector.pas"/>88 <UnitName Value=" UCommConnector"/>95 <Filename Value="CommConnector.pas"/> 96 <UnitName Value="CommConnector"/> 89 97 </Item16> 98 <Item17> 99 <Filename Value="PinConnectionPackage.pas"/> 100 <Type Value="Main Unit"/> 101 <UnitName Value="PinConnection"/> 102 </Item17> 90 103 </Files> 104 <CompatibilityMode Value="True"/> 91 105 <i18n> 92 106 <EnableI18N Value="True"/> 93 107 <OutDir Value="Languages"/> 94 108 </i18n> 95 <Type Value="RunAndDesignTime"/>96 109 <RequiredPkgs Count="4"> 97 110 <Item1> -
PinConnection/PinConnection.pas
r574 r575 1 unit UPinConnection; 2 3 {$mode delphi}{$H+} 1 unit PinConnection; 4 2 5 3 interface … … 14 12 15 13 uses 16 UCommMark, UCommSerialPort, UCommTCPServer, UCommTCPClient, UCommFrame,17 UPacketBurst, UCommThread, UCommDelay, UCommHub, UCommConcentrator,18 UCommTelnet;14 CommMark, CommSerialPort, CommTCPServer, CommTCPClient, CommFrame, 15 PacketBurst, CommThread, CommDelay, CommHub, CommConcentrator, 16 CommTelnet; 19 17 20 18 procedure Register; -
PinConnection/PinConnectionPackage.pas
r574 r575 3 3 } 4 4 5 unit PinConnection ;5 unit PinConnectionPackage; 6 6 7 {$warn 5023 off : no warning about unused units} 7 8 interface 8 9 9 10 uses 10 USerialPort, UPacketBurst, UCommFrame, UCommHub, UCommPin, UCommSerialPort,11 UCommThread, UCommConcentrator, UCommDelay, UCommTCPClient, UCommTCPServer,12 UCommTelnet, UCommTelnetComPortOption, UCommMark, UPinConnection,13 UCommConnector,LazarusPackageIntf;11 SerialPort, PacketBurst, CommFrame, CommHub, CommPin, CommSerialPort, 12 CommThread, CommConcentrator, CommDelay, CommTCPClient, CommTCPServer, 13 CommTelnet, CommTelnetComPortOption, CommMark, PinConnection, CommConnector, 14 LazarusPackageIntf; 14 15 15 16 implementation … … 17 18 procedure Register; 18 19 begin 19 RegisterUnit(' UPinConnection', @UPinConnection.Register);20 RegisterUnit('PinConnection', @PinConnection.Register); 20 21 end; 21 22 -
PinConnection/Protocols/CommProtocol1.pas
r574 r575 1 unit UCommProtocol1; 2 3 {$mode delphi} 1 unit CommProtocol1; 4 2 5 3 interface 6 4 7 5 uses 8 Classes, SysUtils, UVarBlockSerializer, syncobjs, UCommPin, UThreading, 9 UDebugLog, UStreamHelper, StopWatch, SpecializedList, UCommon, 10 DateUtils; 6 Classes, SysUtils, VarBlockSerializer, syncobjs, CommPin, Threading, 7 DebugLog, StreamHelper, StopWatch, SpecializedList, Common, DateUtils; 11 8 12 9 type … … 134 131 SProtocolDecodeError = 'Data decode error'; 135 132 SProtocolNotActive = 'Device protocol not active'; 133 136 134 137 135 implementation … … 547 545 548 546 Lock.Free; 549 inherited Destroy;547 inherited; 550 548 end; 551 549 -
PinConnection/SerialPort.pas
r574 r575 1 unit USerialPort; 2 3 {$mode Delphi}{$H+} 1 unit SerialPort; 4 2 5 3 interface … … 7 5 uses 8 6 {$IFDEF Windows}Windows, {$ENDIF}Registry, 9 Classes, SysUtils, SynaSer, Dialogs, UCommon, UThreading, Syncobjs,7 Classes, SysUtils, SynaSer, Dialogs, Common, Threading, Syncobjs, 10 8 DateUtils, FileUtil, SpecializedList; 11 9 … … 92 90 INVALID_HANDLE_VALUE = DWORD(-1); 93 91 92 94 93 implementation 95 94
Note:
See TracChangeset
for help on using the changeset viewer.