1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  StaticMethod MenuNew ( 
 |    LibUTF_IterationRun run, 
 |    MacroPlan macroplan, 
 |    NamedValueTree nvt_transportcapacity 
 |  ) 
 |  { 
 |    TextBody: 
 |    [* 
 |      dto := DTO_TransportCapacity::ConstructNew( run, nvt_transportcapacity ); 
 |      unit := UI_Unit::FindSingle( run, macroplan, true, dto.UnitID() ); 
 |       
 |      TransportCapacity::Create( unit, 
 |                                 dto.Start(), 
 |                                 dto.TimeUnit(), 
 |                                 dto.MinimumCapacity(), 
 |                                 dto.MaximumCapacity(), 
 |                                 dto.LotSize(), 
 |                                 false, 
 |                                 0.0, 
 |                                 0.0, 
 |                                 0.0, 
 |                                 '', 
 |                                 false  
 |                               ); 
 |    *] 
 |    InterfaceProperties { Accessibility: 'Module' } 
 |  } 
 |  
  |