Batch nr. is displayed in MainWnd

This commit is contained in:
Milan Hanajik
2022-08-30 14:58:26 +02:00
parent 92b2f55871
commit 207d4be3d6
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -49,6 +49,7 @@ namespace TBF.Rig.Sequences
/// State variables to be saved after each completed test
///
public static Results.BatchResults BatchRslts;
public static int BatchNr { get { return (BatchRslts != null && BatchRslts.Batch != null) ? BatchRslts.Batch.BatchNr : 0; } }
///
/// iPERL related state variables to be saved after each completed test
public static IList<TestMethods.iPerlCommunication.iPerlHead.IperlHead> IperlHeads;
+2 -1
View File
@@ -393,7 +393,8 @@ namespace TBF.UI
/// </summary>
void OnStateChanged(object sender, StateChangedEventArgs args)
{
activityStatusLabel.Text = args.StateChangedMsg;
activityStatusLabel.Text = string.Format("{0}: {1}, {2}",
TBF.Resources.Strings.Batch, TBF.Rig.Sequences.ProcessData.BatchNr, args.StateChangedMsg);
}
void OnTestProgress(object sender, UiBridge.TestProgressEventArgs args)