1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| Quintiq file version 2.0
| #parent: #root
| StaticMethod Create (
| AlgorithmRun owner,
| Number name
| ) as ScalingType_Lib
| {
| Description: 'Static method to create a scaling type instance'
| TextBody:
| [*
| result := select( owner, ScalingType_Lib, st, st.Name() = name );
| if( isnull( result ) )
| {
| result := owner.ScalingType_Lib( relnew, Name := name, KeyAlgorithmRun := owner.Key() );
| }
|
| return result;
| *]
| InterfaceProperties { Accessibility: 'Module' }
| }
|
|