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
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  Method UpdateDefaultTransportCapacities 
 |  { 
 |    Description: 'Update values of default transport capacities so that they match the new values of global params.' 
 |    TextBody: 
 |    [* 
 |      traverse( this, MacroPlan.Unit.TransportCapacity, tc, tc.IsDefault() ) 
 |      { 
 |        tc.Update( tc.Unit(), 
 |                   tc.Start(), 
 |                   tc.TimeUnit(), 
 |                   this.DefaultMinCapacityPerDayForUnit(), 
 |                   this.DefaultMaxCapacityPerDayForUnit(), 
 |                   tc.LotSize(), 
 |                   tc.HasSecondaryCapacity(), 
 |                   tc.SecondaryLotSize(), 
 |                   tc.SecondaryMaximumCapacity(), 
 |                   tc.SecondaryMinimumCapacity(), 
 |                   tc.SecondaryUnitOfMeasureName(), 
 |                   not tc.IsManuallyConfigured() ); 
 |      } 
 |    *] 
 |    InterfaceProperties { Accessibility: 'Module' } 
 |  } 
 |  
  |