FixedStartMassCollection modified, ControlBoard.Elde repmoved, ver. 3.1.1624
This commit is contained in:
@@ -311,9 +311,9 @@ namespace TBF.Rig.Sequences
|
||||
/// Procedure selected at this point, a new batch was started
|
||||
///
|
||||
int newBatchNr = Program.LocalSettings.BatchNr;
|
||||
if (StateMachine.ControlBoard is ControlBoard.Legacy.CBoard)
|
||||
if (StateMachine.ControlBoard is ControlBoard.Uni.UniCB)
|
||||
{
|
||||
(StateMachine.ControlBoard as ControlBoard.Legacy.CBoard).ManualUIAllowed = !StateMachine.Procedure.ManualCtrlDisabled;
|
||||
(StateMachine.ControlBoard as ControlBoard.Uni.UniCB).IsUIBlocked = StateMachine.Procedure.ManualCtrlDisabled;
|
||||
}
|
||||
Bridge.Bench2UI(ButtonsEtc.StopBtnEn); /// A new cycle started : Enable STOP button
|
||||
log.FatalFormat("New measurement session started: batch = {0}, procedure = {1}", newBatchNr, StateMachine.Procedure.Name);
|
||||
@@ -641,9 +641,9 @@ namespace TBF.Rig.Sequences
|
||||
}
|
||||
if (selection == Selection.Break)
|
||||
{
|
||||
if (StateMachine.ControlBoard is ControlBoard.Legacy.CBoard)
|
||||
if (StateMachine.ControlBoard is ControlBoard.Uni.UniCB)
|
||||
{
|
||||
(StateMachine.ControlBoard as ControlBoard.Legacy.CBoard).ManualUIAllowed = true;
|
||||
(StateMachine.ControlBoard as ControlBoard.Uni.UniCB).IsUIBlocked = false;
|
||||
}
|
||||
Bridge.Bench2UI(ButtonsEtc.ShowBenchEmpty);
|
||||
Bridge.OnProcedureCompleted(this, new ProcedureCompletedEventArgs(StateMachine.Procedure));
|
||||
@@ -1271,9 +1271,9 @@ namespace TBF.Rig.Sequences
|
||||
ProcessData.BatchRslts.Batch.ProcedureName,
|
||||
Program.LocalSettings.BatchNr);
|
||||
|
||||
if (StateMachine.ControlBoard is ControlBoard.Legacy.CBoard)
|
||||
if (StateMachine.ControlBoard is ControlBoard.Uni.UniCB)
|
||||
{
|
||||
(StateMachine.ControlBoard as ControlBoard.Legacy.CBoard).ManualUIAllowed = true;
|
||||
(StateMachine.ControlBoard as ControlBoard.Uni.UniCB).IsUIBlocked = false;
|
||||
}
|
||||
Event evacRetv = DoEvacuation(purgeEnd);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user