Search in sources :

Example 1 with ProfileMultiplier

use of com.exalttech.trex.ui.views.models.ProfileMultiplier in project trex-stateless-gui by cisco-system-traffic-generator.

the class MainViewController method updateMultiplierValues.

/**
 * Update multiplier values
 *
 * @param assignedProf
 */
private void updateMultiplierValues(AssignedProfile assignedProf) {
    ProfileMultiplier multiplier = new ProfileMultiplier();
    multiplier.setDuration(multiplierView.getDuration());
    multiplier.setValue(multiplierView.getPPSValue());
    multiplier.setSelectedType(multiplierView.getType());
    multiplier.setType("pps");
    multiplier.setUnit("pps");
    assignedProf.setMultiplier(multiplier);
}
Also used : ProfileMultiplier(com.exalttech.trex.ui.views.models.ProfileMultiplier)

Aggregations

ProfileMultiplier (com.exalttech.trex.ui.views.models.ProfileMultiplier)1