1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  StaticMethod SetLineLayingOrEmptyingStatus ( 
 |    MacroPlan macroPlan, 
 |    Date date, 
 |    String status, 
 |    String pl 
 |  ) 
 |  { 
 |    Description: '设置单元格铺线或者拉空状态' 
 |    TextBody: 
 |    [* 
 |      cells := selectset( macroPlan, NewAssemblyOnlinePlanRow.NewAssemblyOnlinePlanCell, tempNAOPCell,  
 |                          tempNAOPCell.NewAssemblyOnlinePlanRow().ProductionLine() = pl   and  
 |                          tempNAOPCell.NewAssemblyOnlinePlanColumn().StartDate()   = date and 
 |                          tempNAOPCell.NewAssemblyOnlinePlanRow().Type()           = "1" );  
 |       
 |      traverse ( cells, Elements, c ) { 
 |        c.LineLayingOrEmptying( status ); 
 |      } 
 |    *] 
 |  } 
 |  
  |