More MainWnd, MainSeq, DataEntry.S620 and OrderManagement changes, ver. 3.1.1810
This commit is contained in:
@@ -377,7 +377,7 @@ namespace TBF.Rig.Sequences
|
||||
|
||||
if (selection == Selection.RestoreBatch)
|
||||
{
|
||||
BatchRslts = CreateNewBatchResults(newBatchNr, StateMachine.Procedure, string.Empty);
|
||||
BatchRslts = CreateNewBatchResults(newBatchNr, StateMachine.Procedure, string.Empty, null);
|
||||
RestoreBatchResults(TBF.UiBridge.Bridge.BatchNr, ref BatchRslts); /// pass the original batch number of the batch to be restored
|
||||
}
|
||||
else if (selection == Selection.RestoreAndFixBatch)
|
||||
@@ -385,7 +385,7 @@ namespace TBF.Rig.Sequences
|
||||
///
|
||||
/// Restore and fix a batch - part 1 (fix "Previous workstep is missing" error)
|
||||
///
|
||||
BatchRslts = CreateNewBatchResults(newBatchNr, StateMachine.Procedure, string.Empty);
|
||||
BatchRslts = CreateNewBatchResults(newBatchNr, StateMachine.Procedure, string.Empty, null);
|
||||
RestoreBatchResults(TBF.UiBridge.Bridge.BatchNr, ref BatchRslts); /// pass the original batch number of the batch to be restored
|
||||
|
||||
for (int i = 0; i < BatchRslts.Batch.WaterMeters.Count; i++)
|
||||
@@ -426,7 +426,7 @@ namespace TBF.Rig.Sequences
|
||||
else if (selection != Selection.RestoreInterruptedSession)
|
||||
{
|
||||
/// This is a regular session => initialize BatchRslts
|
||||
BatchRslts = CreateNewBatchResults(newBatchNr, StateMachine.Procedure, Bridge.SelectedProcedure.Variant);
|
||||
BatchRslts = CreateNewBatchResults(newBatchNr, StateMachine.Procedure, Bridge.SelectedProcedure.Variant, Bridge.SelectedProcedure.Order);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user