Beispiel #1
0
        /// <summary>
        /// This section is incomeplete as at 25th May 2017.
        /// The Original communication method with the AGV Center and VCS was incompatible.
        /// The VCS needs continous read write communication.
        /// </summary>
        private void InitializeServer()
        {
            //Start the server, load values into RxQueue, send Client Response.
            agvServerListner = Task.Run(() => AgvControlSystemServer.StartListning());

            //ProcessValues in the Rxqueue
            barcodeDecoderProcesor = Task.Run(() => bacrodeDecoder.ProcessBarcodes());

            //Start VCS Communication server
            vcsServer.SetupServer();

            //Send Commands to VCS and create task.
            vcs_tx_CommandProcess = Task.Run(() => vcsServer.SendVCSCommands());

            //Recieve Commands from VCS
            vcs_rx_CommandProcess = Task.Run(() => vcsServer.RecieveVCSCommands());

            //Dequeue Tasks
            agvTaskDequerProcess = Task.Run(() => agvTaskDequer.DequeueTasks());
        }