Quintiq file version 2.0 #parent: #root Method PTF_TestUpdateResourceManagerParameter ( output Real duration_o, output String response_o, String pispipsize, String operationsize, String productcombosize ) as Boolean id:Method_LibPTF_pnlTestRunner_PTF_TestUpdateResourceManagerParameter { #keys: '[136682.0.314444079]' Body: [* // Serves as a template method for QSes to implement the method to be executed isSuccessful := false; preconditionOK := true; // Your precondition for executing the action if( preconditionOK ) { start := OS::PrecisionCounter(); // Call your method here // Use the following construct if you want to execute a server method // this.PTF_GetPTF(). // Call the following statement if the action is asynchronous // this.PTF_ExecutePreAsyncAction(); rm := ScenarioManager.ResourceManager_SM(); rm.MaxNrOfPISPIP( [Number]pispipsize ); rm.MaxLaneLegProductCombi( [Number]productcombosize ); rm.MaxNrOfOperation( [Number] operationsize ); duration_o := this.PTF_GetDurationInMilisecond( start ); response_o := 'Update sizing parameter'; isSuccessful := true; } else { response_o := 'Failed to update sizing parameter'; // Your precondition failed reason } return isSuccessful; *] }