UniCB : Flow measurement start fixed, ver. 3.1.1608
This commit is contained in:
@@ -90,10 +90,7 @@ namespace TBF.Rig.ControlBoard.Uni
|
||||
|
||||
static byte GetCommand(Action action)
|
||||
{
|
||||
int command = 0;
|
||||
if (action.IsStart()) command |= (int)Command.Start;
|
||||
if (action.IsStop()) command |= (int)Command.Stop;
|
||||
return (byte)command;
|
||||
return (byte)action.StartStop;
|
||||
}
|
||||
|
||||
static byte GetStartParams(Action action)
|
||||
@@ -121,7 +118,7 @@ namespace TBF.Rig.ControlBoard.Uni
|
||||
|
||||
public enum Command : byte
|
||||
{
|
||||
RequestData = 0,
|
||||
None = 0, /// Request data only
|
||||
Start = 1,
|
||||
Stop = 2,
|
||||
GetDiverterTransitionData = 4,
|
||||
@@ -135,7 +132,7 @@ namespace TBF.Rig.ControlBoard.Uni
|
||||
EtalonMask = 0x07,
|
||||
DiverterStart = 0x08,
|
||||
SynchroMethod = 0x10,
|
||||
DirectGateStart = 0x20, /// ???
|
||||
DirectGateStart = 0x20, /// ???
|
||||
StartStopMethod = 0x40,
|
||||
CalibrationMode = 0x80,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user