| 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
 | | Quintiq file version 2.0 |  | #parent: #root |  | StaticMethod MenuNew ( |  |   LibUTF_IterationRun run, |  |   MacroPlan macroplan, |  |   NamedValueTree nvt_unitavailability |  | ) |  | { |  |   TextBody: |  |   [* |  |     dto := DTO_UnitAvailability::ConstructNew( run, nvt_unitavailability ); |  |     unit := UI_Unit::FindSingle( run, macroplan, true, dto.UnitID() ); |  |     shiftpattern := UI_ShiftPattern::FindSingle( run, macroplan, true, dto.ShiftPatternName() ); |  |      |  |     UnitAvailability::Create( unit, |  |                               dto.Start(), |  |                               dto.TimeUnit(), |  |                               dto.Maintenance(), |  |                               dto.Efficiency(), |  |                               dto.Allocation(), |  |                               shiftpattern, |  |                               dto.MaximumLoadPercentage(), |  |                               dto.NrOfUnitsOpen(), |  |                               dto.MinimumLoadThreshold(), |  |                               false ); |  |   *] |  |   InterfaceProperties { Accessibility: 'Module' } |  | } | 
 |