From ae5ffb07d4d7a60c732180f856fcd6fd7783860e Mon Sep 17 00:00:00 2001 From: liuwf Date: Mon, 22 Apr 2024 11:41:44 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../viewModel/AssemblyPlan/AssemblyPlanViewModel.cs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Aucma.Scada.UI/viewModel/AssemblyPlan/AssemblyPlanViewModel.cs b/Aucma.Scada.UI/viewModel/AssemblyPlan/AssemblyPlanViewModel.cs index 003373e1..61813981 100644 --- a/Aucma.Scada.UI/viewModel/AssemblyPlan/AssemblyPlanViewModel.cs +++ b/Aucma.Scada.UI/viewModel/AssemblyPlan/AssemblyPlanViewModel.cs @@ -556,11 +556,10 @@ namespace Aucma.Scada.UI.viewModel.AssemblyPlan { await Task.Run(() => { - if (listTime == null) - { - listTime = _baseBomInfoServices.getWorkTime().Result; - if (listTime == null) return; - } + + listTime = _baseBomInfoServices.getWorkTime().Result; + if (listTime == null) return; + //获取小时产量 List hourAmount = assemblyPlanBusiness.GetHourAmount(); if (hourAmount != null)