(1) Diverter start/stop transition graph plotted, (2) Diverter ToTank / ToSink buttons, ver. 3.1.1616

This commit is contained in:
Milan Hanajik
2021-03-28 08:38:30 +02:00
parent 0fc8bb4ea0
commit baf7f84343
14 changed files with 414 additions and 112 deletions
+6 -1
View File
@@ -94,7 +94,11 @@ namespace TBF.Rig.ControlBoard.Uni
static byte GetCommand(Action action)
{
if (action.StartStop == Command.Start && action.IsProlonged)
if (action.StartStop == Command.DelayStartOrStop)
{
return (byte)Command.None;
}
else if (action.StartStop == Command.Start && action.IsProlonged)
{
return (byte)(Command.Start | Command.ProlongedFlag);
}
@@ -140,6 +144,7 @@ namespace TBF.Rig.ControlBoard.Uni
GetSwitchCounterData = 9,
///
ProlongedFlag = 0x10, /// Not a command of its own, a valid command is (byte)(Command.Start | Command.ProlongedFlag)
DelayStartOrStop = 255, /// Prevents other start or stop command, results in Command.None when creating a message
}
public enum StartParam : byte