1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  Method AddOperations ( 
 |    Units units 
 |  ) as owning Operations 
 |  { 
 |    Description: 'Add unit to routing step to create operations' 
 |    TextBody: 
 |    [* 
 |      // DWE2 Jan-29-2016 (created) 
 |      operations := construct( Operations ); 
 |      traverse( units, Elements, unit ) 
 |      { 
 |        operations.Add( Operation::Create( unit, this, false ) ); 
 |      } 
 |       
 |      return &operations; 
 |    *] 
 |  } 
 |  
  |