示例#1
0
        private static void StartServers()
        {
            deviceServer = new ProcessingServer();
            deviceServer.Login();
            deviceServer.Start();

            dataServer = new LocalStorageServer();
            dataServer.Start();
        }
        public Service1()
        {
            InitializeComponent();

            server = new ProcessingServer();
            server.Login();

            dataServer = new LocalStorageServer();
        }