From 2c7229474ef3cdfdc0c8ff3a2e271b7edd7f29e7 Mon Sep 17 00:00:00 2001 From: fyf Date: Fri, 8 Jul 2022 15:39:01 +0800 Subject: [PATCH] 1 --- FryPot_DosingSystem/ViewModel/AgvViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FryPot_DosingSystem/ViewModel/AgvViewModel.cs b/FryPot_DosingSystem/ViewModel/AgvViewModel.cs index 1dcf5691..6013f8ac 100644 --- a/FryPot_DosingSystem/ViewModel/AgvViewModel.cs +++ b/FryPot_DosingSystem/ViewModel/AgvViewModel.cs @@ -834,7 +834,7 @@ namespace FryPot_DosingSystem.ViewModel try { count = int.Parse(_DishesNum); - if (count > 0 && count <= 8) + if (count >= 0 && count <= 8) { _DishesNum = count.ToString(); }