Beispiel #1
0
        public async Task <CNCMessage> JogX(double X, double Feed)
        {
            CNCMessage tmp = null;

            await Task.Run(() =>


            {
                CNCMessage message = Protokoll.GetJogByXMessage(X, Feed);
                CNCMessage t       = new CNCMessage()
                {
                    Message = "ok"
                };
                Interface.SendMessage(message);
                tmp = Interface.WaitReceiveMessage(100, t, 1000);
            });


            return(tmp);
        }