public void RunMainCycle() { LogClass.Write("Opening COM port"); TypedSerialPort = new StronglyTypedSerialPortConnector( inputMessageQueue, _outputMessageQueue); TypedSerialPort.SearchForPortAndConnect(); sendThread.Start(); Console.ReadLine(); }
public int RunMailCycle() { TypedSerialPort = new StronglyTypedSerialPortConnector( inputMessageQueue, outputMessageQueue); TypedSerialPort.SearchForPortAndConnect(); sendThread.Start(); Console.ReadLine(); return 0; }
public int RunMailCycle() { TypedSerialPort = new StronglyTypedSerialPortConnector( inputMessageQueue, outputMessageQueue); TypedSerialPort.SearchForPortAndConnect(); sendThread.Start(); Console.ReadLine(); return(0); }