(1) Diverter start/stop transition graph plotted, (2) Diverter ToTank / ToSink buttons, ver. 3.1.1616
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user