Prolonged test support in Action, OutputMessage, etc., ver. 3.1.1634
This commit is contained in:
@@ -93,7 +93,14 @@ namespace TBF.Rig.ControlBoard.Uni
|
||||
|
||||
static byte GetCommand(Action action)
|
||||
{
|
||||
return (byte)action.StartStop;
|
||||
if (action.StartStop == Command.Start && action.IsProlonged)
|
||||
{
|
||||
return (byte)(Command.Start | Command.ProlongedFlag);
|
||||
}
|
||||
else
|
||||
{
|
||||
return (byte)action.StartStop;
|
||||
}
|
||||
}
|
||||
|
||||
static byte GetStartParams(Action action)
|
||||
@@ -130,6 +137,8 @@ namespace TBF.Rig.ControlBoard.Uni
|
||||
GetScopeAnalyzerData = 7,
|
||||
ResetScopeAnalyzer = 8,
|
||||
GetSwitchCounterData = 9,
|
||||
///
|
||||
ProlongedFlag = 0x10, /// Not a command of its own, a valid command is (byte)(Command.Start | Command.ProlongedFlag)
|
||||
}
|
||||
|
||||
public enum StartParam : byte
|
||||
|
||||
Reference in New Issue
Block a user