Exemple #1
0
 internal Stack_phl(RoutinesLibrary.IO.SerialPort Port, int FrameWindowSizeInBytes)
 {
     m_SerialPort_Int = new RoutinesLibrary.IO.SerialPort(Port.GetSerialPort);
     m_SerialPort_Int.DataReceived += new RoutinesLibrary.IO.SerialPort.DataReceivedEventHandler(SerialPort_Int_DataReceived);
     m_FrameWindowSizeInBytes_USB   = FrameWindowSizeInBytes;
     m_TypeConnect = EnumConnect.USB;
 }
Exemple #2
0
 internal Stack_phl(RoutinesLibrary.Net.Protocols.TCP.TCP WinSock, int FrameWindowSizeInBytes)
 {
     m_WinSockClient_Int = WinSock;
     m_WinSockClient_Int.DataReceived        += new RoutinesLibrary.Net.Protocols.TCP.TCP.DataReceivedEventHandler(WinSockClient_Int_DataReceived);
     m_WinSockClient_Int.ClosedConnectionTCP += new RoutinesLibrary.Net.Protocols.TCP.TCP.ClosedConnectionTCPEventHandler(WinSockClient_Int_ClosedConnection);
     m_WinSockClient_Int.BufferSize           = FrameWindowSizeInBytes;
     m_TypeConnect = EnumConnect.TCP;
 }