| | |
| | | workingDay := workingDay + cell.WorkingDay(); |
| | | capacity := capacity + cell.Capacity(); |
| | | |
| | | // shiftPatternHanlde := shiftPatternCount.GetHandle( cell.ShiftPattern() ); |
| | | // shiftPatternCountValue := guard( shiftPatternCount.Root().Child( shiftPatternHanlde ),null( NamedValue )); |
| | | // if( isnull( shiftPatternCountValue )){ |
| | | // shiftPatternCount.Root().AddChild( shiftPatternHanlde,1 ); |
| | | // }else{ |
| | | // shiftPatternCountValue.SetValue( shiftPatternCountValue.GetValueAsNumber() + 1 ); |
| | | // } |
| | | |
| | | if( maxShiftPattern <> cell.ShiftPattern() ){ |
| | | if( maxShiftPatternCount = 0 ){ |
| | | maxShiftPattern := cell.ShiftPattern(); |