| | |
| | | #parent: #root |
| | | StaticMethod DeductionOfReplacementLoss ( |
| | | MacroPlan macroPlan, |
| | | NewOfflinePlanTable nopt |
| | | NewOfflinePlanTable nopt, |
| | | Entitys entitys |
| | | ) |
| | | { |
| | | TextBody: |
| | |
| | | |
| | | traverse ( allProductionLines, Elements, pl |
| | | // , pl = "CC ZKG" |
| | | , exists( entitys, Elements.astype( Unit ), tempU, tempU.Name() = pl ) |
| | | ) |
| | | { |
| | | // 下线计划当前产线下的行 |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | NewOfflinePlanCell::DeductionOfReplacementLoss( MacroPlan, dhNewOfflinePlanTable.Data() ); |
| | | NewOfflinePlanCell::DeductionOfReplacementLoss( MacroPlan, dhNewOfflinePlanTable.Data(), |
| | | DataHolderCheckedEntities.Data() ); |
| | | |
| | | opt := maxselect( MacroPlan, NewOfflinePlanTable, tempNOPT, true, tempNOPT.SaveDateTime() ); |
| | | dhNewOfflinePlanTable.Data( opt ); |