Uni : MassPulsesCount is equal to TotalPulsesCount for all methods except Prolonged method, ver. 3.1.1631
This commit is contained in:
@@ -187,7 +187,7 @@ namespace TBF.Rig.ControlBoard.Uni
|
||||
|
||||
///----------------------------------------------------------------------------------------------
|
||||
public static Action StartTest(bool isFromUI, int flowMId, int divId, int divThreshold, bool isSyncMethod,
|
||||
bool isDivUsed, bool isStartStop, int totalPulsesCount, int massPulsesCount = -1)
|
||||
bool isDivUsed, bool isStartStop, int totalPulsesCount, int massPulsesCount = 0)
|
||||
{
|
||||
return new Action
|
||||
{
|
||||
@@ -201,7 +201,7 @@ namespace TBF.Rig.ControlBoard.Uni
|
||||
IsDivUsed = isDivUsed,
|
||||
IsStartStop = isStartStop,
|
||||
TotalPulsesCount = totalPulsesCount,
|
||||
MassPulsesCount = (massPulsesCount == -1) ? totalPulsesCount : massPulsesCount,
|
||||
MassPulsesCount = (massPulsesCount <= 0) ? totalPulsesCount : massPulsesCount,
|
||||
StartStop = Command.Start,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user