(1) Diverter start/stop transition graph plotted, (2) Diverter ToTank / ToSink buttons, ver. 3.1.1616
This commit is contained in:
@@ -44,6 +44,9 @@ namespace TBF.Rig.Uni.Diverter
|
||||
|
||||
public bool State { get { return (cBoard.Route & mask) != 0; } }
|
||||
|
||||
public int AdcValueToSink { get { return divCfg.AdcValueToSink; } }
|
||||
public int AdcValueToTank { get { return divCfg.AdcValueToTank; } }
|
||||
|
||||
public int StartThreshold
|
||||
{
|
||||
get { return Math.Max(0, Math.Min(1023, Convert.ToInt32(divCfg.AdcValueToSink + (divCfg.AdcValueToTank - divCfg.AdcValueToSink) * (divCfg.StartThresholdPct / 100.0)))); }
|
||||
@@ -214,7 +217,7 @@ namespace TBF.Rig.Uni.Diverter
|
||||
}
|
||||
else if (args.Command == CfgChangeCmd.ReadDivTransition)
|
||||
{
|
||||
cBoard.ReadDiverterTransition(true, divCfg.DivNr1);
|
||||
cBoard.GetDiverterTransitionData(true, this, this.State);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user