Пример #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();
        }