Event.BalanceDone --> Event.ScaleDone, EmergencyStop is route bit #81, ver. 3.1.1608
This commit is contained in:
@@ -138,7 +138,7 @@ namespace TBF.Rig.ControlBoard.Uni
|
||||
public bool IsUIBlocked { get; set; }
|
||||
|
||||
/// Measured values valid during a test
|
||||
public double RefFrequency { get { return Data.ReferenceFreq[0]; } }
|
||||
public double RefFrequency { get { return Data.ReferenceFreq[0]; } }
|
||||
public double RefFrequency1 { get { return Data.ReferenceFreq[1]; } }
|
||||
public double RefFrequency2 { get { return Data.ReferenceFreq[2]; } }
|
||||
public double RefFrequency3 { get { return Data.ReferenceFreq[3]; } }
|
||||
@@ -355,6 +355,11 @@ namespace TBF.Rig.ControlBoard.Uni
|
||||
/// No connection to control board ... set indicator bit
|
||||
route += ((UInt128)1) << cbCfg.BitNr;
|
||||
}
|
||||
if ((State & (ulong)StatusP.EmgcyStopActive) != 0)
|
||||
{
|
||||
/// No connection to control board ... set indicator bit
|
||||
route += ((UInt128)1) << (cbCfg.BitNr + 1);
|
||||
}
|
||||
}
|
||||
log.DebugFormat("Route synced with RRoute and UI changes, new route = {0}", Utils.RouteToStr(route));
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ namespace TBF.Rig.ControlBoard.Uni
|
||||
public double MsrdValLimLo { get; set; }
|
||||
public double MsrdValLimHi { get; set; }
|
||||
|
||||
public int BitNr { get { return 64; } } /// Bit-position
|
||||
public int BitNr { get { return 80; } } /// Bit-position
|
||||
public bool Inverted { get { return false; } } /// When true the valve function is inverted: 0 = open, 1 = closed
|
||||
|
||||
[XmlIgnore]
|
||||
|
||||
Reference in New Issue
Block a user