public async Task <CNCMessage> SendSoftReset() { CNCMessage tmp = null; await Task.Run(() => { CNCMessage message = Protokoll.GetSoftResetMessage(); Interface.SendMessage(message); tmp = Interface.ReceiveMessage(100); }); return(tmp); }
public async Task <CNCMessage> SendSoftReset() { CNCMessage tmp = null; await Task.Run(() => { CNCMessage message = Protokoll.GetSoftResetMessage(); Interface.SendMessage(message); tmp = Interface.ReceiveMessage(100); }); return(tmp); }