| | |
| | | StaticMethod Dispatch ( |
| | | Date startDate, |
| | | Date endDate, |
| | | const OfflinePlanTable offlinePlan, |
| | | const NewOfflinePlanTable offlinePlan, |
| | | RecycleBin owner |
| | | ) |
| | | { |
| | |
| | | unitIndexTree.Root().AddChild( unitHandle,i ); |
| | | } |
| | | |
| | | traverse( offlinePlan,OfflinePlanRow,row ){ |
| | | traverse( offlinePlan,NewOfflinePlanRow,row ){ |
| | | productID := row.ProductID(); |
| | | productLine := row.ProductionLine(); |
| | | factory := constnull( Unit ); |
| | |
| | | factory := temp2; |
| | | } |
| | | } |
| | | traverse( row,OfflinePlanCell,cell ,startDate <= cell.OfflinePlanColumn().ColumnDate() and endDate > cell.OfflinePlanColumn().ColumnDate()){ |
| | | shiftDate := cell.OfflinePlanColumn().ColumnDate(); |
| | | shiftName := cell.Shift(); |
| | | traverse( row,NewOfflinePlanCell,cell ,startDate <= cell.NewOfflinePlanColumn().StartDate() and endDate >= cell.NewOfflinePlanColumn().EndDate()){ |
| | | shiftDate := cell.NewOfflinePlanColumn().StartDate(); |
| | | shiftName := cell.ShiftPatternName(); |
| | | shiftVolume := cell.Quantity(); |
| | | shiftDayTime := constnull( ShiftDayTime ); |
| | | { |