示例#1
0
        static void Main(string[] args)
        {
            var service = new TcpSerialService();

            service.Start();
            Console.ReadLine();
        }
示例#2
0
        protected override void OnStart(string[] args)
        {
            var service = new TcpSerialService();

            service.Start();
        }