| | |
| | | weekcolumn := table.GetColumnByUnit( Translations::MP_GlobalParameters_Week(), tpcell.TransferPlanColumn().ColumnDate() ); |
| | | quantity := [Real]tpcell.Value();//鍥涜垗浜斿叆 |
| | | |
| | | row.SetCellTransferValue( daycolumn, ( originiscc and destiisdl ), quantity ); |
| | | row.SetCellTransferValue( weekcolumn, ( originiscc and destiisdl ), quantity ); |
| | | if( not isnull( daycolumn ) ){ |
| | | row.SetCellTransferValue( daycolumn, ( originiscc and destiisdl ), quantity ); |
| | | } |
| | | if( not isnull( weekcolumn ) ){ |
| | | row.SetCellTransferValue( weekcolumn, ( originiscc and destiisdl ), quantity ); |
| | | } |
| | | } |
| | | } |
| | | } |
| | |
| | | routingstep := newrouting.LastStep(); |
| | | |
| | | newroutingstep := RoutingStep::Create( newrouting, thermaltrial, routingstep.Tool(), false ); |
| | | spname := ifexpr( unit.ID().EndsWith( '鎵归噺鐑瘯' ), unit.ID().ReplaceAll( '鎵归噺鐑瘯', '-' + thermaltrial ), unit.ID().ReplaceAll( '鐑瘯', '-' + thermaltrial ) ); |
| | | info( '------------------', routingstep.Tool(), ',', unit.ID(), ',', spname ); |
| | | spname := ifexpr( unit.ID().StartsWith( 'CC' ), 'CC-鐑瘯', 'DL-鐑瘯' ); |
| | | //info( '------------------', routingstep.Tool(), ',', unit.ID(), ',', spname ); |
| | | traverse( routingstep, Operation, operation ){ |
| | | id := Operation::GetConcatenatedID( newrouting.ID(), newroutingstep.Name(), unit.ID() ); |
| | | // info( '------------------', operation.Name(), routingstep.Name(), newroutingstep.Name() ); |