| | |
| | | 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 ); |
| | |
| | | if( not isnull( columnIndex )){ |
| | | // 当arrowedAvailableCapacity不为0,工作日 + 1 |
| | | arrowedAvailableCapacity := unitPeriodTime.TotalAvailableCapacity(); |
| | | zeroDuration := Duration::Construct( 0,0,0,0); |
| | | zeroDuration := Duration::Construct( 0,0,0,0 ); |
| | | |
| | | column := columns.Element( columnIndex.GetValueAsNumber() ); |
| | | |