From a5d4d31310d9792243db3ca06080a5f8b83b542c Mon Sep 17 00:00:00 2001 From: lazhen <17772815105@139.com> Date: 星期三, 21 八月 2024 10:09:41 +0800 Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev-zlg --- _Main/BL/Type_LocalCell_ScheduleSummary/StaticMethod_Create.qbl | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_Main/BL/Type_LocalCell_ScheduleSummary/StaticMethod_Create.qbl b/_Main/BL/Type_LocalCell_ScheduleSummary/StaticMethod_Create.qbl index 480f365..bead82a 100644 --- a/_Main/BL/Type_LocalCell_ScheduleSummary/StaticMethod_Create.qbl +++ b/_Main/BL/Type_LocalCell_ScheduleSummary/StaticMethod_Create.qbl @@ -26,7 +26,7 @@ columnIndexTree.Root().AddChild( columnHandle,columns.Size() - 1 ); } - traverse( owner,Unit,unit,unit.HasCapacityTypeTime()){ + traverse( owner,Unit,unit,unit.HasCapacityTypeTime() and not unit.HasChild()){ // unit.AsEntity().DisplayNameForSelection() row := table.MP_Row( relnew,CustomName := unit.ID(),Index := table.GetRowIndexCache() ); throughput := sum( unit,Operation,operation,operation.Throughput() ) / unit.Operation( relsize ); @@ -41,7 +41,7 @@ if( not isnull( columnIndex )){ // 褰揳rrowedAvailableCapacity涓嶄负0锛屽伐浣滄棩 + 1 arrowedAvailableCapacity := unitPeriodTime.TotalAvailableCapacity(); - zeroDuration := Duration::Construct( 0,0,0,0); + zeroDuration := Duration::Construct( 0,0,0,0 ); column := columns.Element( columnIndex.GetValueAsNumber() ); -- Gitblit v1.9.3