chenqinghong
2024-05-07 3ec06a830367465068963156dcc1d8e522571c13
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
Method ValidateInput (
  output String feedback_o
) as Boolean id:Method_ScenarioManager_DialogResourceManager_ValidateInput_600
{
  #keys: '[127238.1.250514709]'
  Body:
  [*
    // Validate each of the editors 
    return Dialog.ValidateInput( LabelOnlineScenario.Text(), ApplicationLibMacroPlanner.FormatStringToNumber( EditorMaxNrOfOnlineScenario.Text() ), feedback_o)
             and  Dialog.ValidateInput( LabelNumScenario.Text(), ApplicationLibMacroPlanner.FormatStringToNumber( EditorMaxNrScenarioAllowed.Text() ), feedback_o )
             and  Dialog.ValidateInput( LabelPISPIP.Text(), ApplicationLibMacroPlanner.FormatStringToNumber( EditorMaxNrOfPISPIP.Text() ), feedback_o)
             and  Dialog.ValidateInput( LabelOperations.Text(), ApplicationLibMacroPlanner.FormatStringToNumber( EditorMaxNrOfOperation.Text() ), feedback_o )
             and  Dialog.ValidateInput( LabelLanelegProduct.Text(), ApplicationLibMacroPlanner.FormatStringToNumber( EditorMaxLaneLegProductCombi.Text() ), feedback_o )
             and  Dialog.ValidateInput( LabelConcurrentOptimizer.Text(), ApplicationLibMacroPlanner.FormatStringToNumber( EditorMaxConcurrentOptimizerRun.Text() ), feedback_o )
             and  Dialog.ValidateInput( LabelThreadOptimizer.Text(), ApplicationLibMacroPlanner.FormatStringToNumber( EditorMaxThreadForOptimization.Text() ), feedback_o )
             and  Dialog.ValidateInputOnlineScenarioNr( feedback_o );
  *]
}