CUST: - FwUpdateSw: - bugfix register restorer (initial read),

-FwUpdateBuilder: - bugfix UploadSafeToDb from message window
This commit is contained in:
Thomas Wiedebusch
2023-11-24 07:29:51 +01:00
parent 701c21daa0
commit 6336c27889
2 changed files with 25 additions and 4 deletions
@@ -2599,6 +2599,9 @@ namespace Xylem.ServiceFwUpdate.Ui.FwUpdateBuilder
/// <remarks date="2023-Nov-14" author="Thomas Wiedebusch">
/// - Modified message box to upload FW update Safe to DB.
/// </remarks>
/// <remarks date="2023-Nov-24" author="Thomas Wiedebusch">
/// - After message box state change.
/// </remarks>
private void BuildFwUpdateSafeTask()
{
_invokerProcessState = _processState;
@@ -2622,9 +2625,11 @@ namespace Xylem.ServiceFwUpdate.Ui.FwUpdateBuilder
$"{Resources.StrFwUpdateSafeBuiltSuccessfully}\n\n \"{_fwUpdateSafeName}\"\n\n" +
$"{Resources.StrRequestUploadFwUpdateSafeToDb}",
Resources.StrActionRequest, MessageBoxButtons.YesNo);
// The btnUploadSafeToDb_Click is going to change the state to UploadFwUpdateSafeToDb
if (messageBoxButtonReturn == DialogResult.Yes)
btnUploadSafeToDb_Click(this, null);
_processState = ProcessState.Idle;
else
_processState = ProcessState.Idle;
}
else
{