コード例 #1
0
 /// <summary>
 /// Overload constructor with parameters.
 /// </summary>
 public OverridingTargets(
     short cmvTarget        = 0,
     bool overrideTargetCMV = false,
     double maxCMVPercent   = 0,
     double minCMVPercent   = 0,
     short mdpTarget        = 0,
     bool overrideTargetMDP = false,
     double maxMDPPercent   = 0,
     double minMDPPercent   = 0,
     TargetPassCountRange overridingTargetPassCountRange = null,
     TemperatureSettings temperatureSettings             = null,
     MachineSpeedTarget machineSpeedTarget = null)
 {
     CmvTarget         = cmvTarget;
     OverrideTargetCMV = overrideTargetCMV;
     MaxCMVPercent     = maxCMVPercent;
     MinCMVPercent     = minCMVPercent;
     MdpTarget         = mdpTarget;
     OverrideTargetMDP = overrideTargetMDP;
     MaxMDPPercent     = maxMDPPercent;
     MinMDPPercent     = minMDPPercent;
     OverridingTargetPassCountRange = overridingTargetPassCountRange;
     TemperatureSettings            = temperatureSettings;
     MachineSpeedTarget             = machineSpeedTarget;
 }
コード例 #2
0
 /// <summary>
 /// Overload constructor with parameters.
 /// </summary>
 public SpeedSummaryRequest(
     Guid projectUid,
     FilterResult filter,
     MachineSpeedTarget machineSpeedTarget,
     LiftSettings liftSettings
     )
 {
     ProjectUid   = projectUid;
     Filter       = filter;
     Overrides    = new OverridingTargets(machineSpeedTarget: machineSpeedTarget);
     LiftSettings = liftSettings;
 }