コード例 #1
0
        public void RunMainCycle()
        {
            LogClass.Write("Opening COM port");
            TypedSerialPort = new StronglyTypedSerialPortConnector(
                inputMessageQueue, _outputMessageQueue);
            TypedSerialPort.SearchForPortAndConnect();

            sendThread.Start();
            Console.ReadLine();
        }
コード例 #2
0
ファイル: HonorSerialportDaemon.cs プロジェクト: Kreyl/nute
        public void RunMainCycle()
        {
            LogClass.Write("Opening COM port");
            TypedSerialPort = new StronglyTypedSerialPortConnector(
                inputMessageQueue, _outputMessageQueue);
            TypedSerialPort.SearchForPortAndConnect();

            sendThread.Start();
            Console.ReadLine();
        }
コード例 #3
0
ファイル: HonorSerialportDaemon.cs プロジェクト: Kreyl/nute
        public int RunMailCycle()
        {
            TypedSerialPort = new StronglyTypedSerialPortConnector(
                inputMessageQueue, outputMessageQueue);
            TypedSerialPort.SearchForPortAndConnect();

            sendThread.Start();
            Console.ReadLine();
            return 0;
        }
コード例 #4
0
ファイル: HonorSerialportDaemon.cs プロジェクト: Kreyl/nute
        public int RunMailCycle()
        {
            TypedSerialPort = new StronglyTypedSerialPortConnector(
                inputMessageQueue, outputMessageQueue);
            TypedSerialPort.SearchForPortAndConnect();

            sendThread.Start();
            Console.ReadLine();
            return(0);
        }