public async Task CarSlower(IDialogContext context, LuisResult result) { await IoTHelper.SendAsync("s-20"); await context.PostAsync($"Pressing the brake"); context.EndConversation("Conversation Ended"); }
public async Task CarStop(IDialogContext context, LuisResult result) { await IoTHelper.SendAsync("s0"); await context.PostAsync($"Car halted !!"); context.EndConversation("Conversation Ended"); }
public async Task CarFaster(IDialogContext context, LuisResult result) { await IoTHelper.SendAsync("s+20"); await context.PostAsync($"Vroooom, the car goes faster"); context.EndConversation("Conversation Ended"); }
public async Task CarStart(IDialogContext context, LuisResult result) { await IoTHelper.SendAsync("s50"); await context.PostAsync("3"); await context.PostAsync("2"); await context.PostAsync("1"); await context.PostAsync("GO !!!!!!"); context.EndConversation("Conversation Ended"); }