72 lines
1.6 KiB
C#
72 lines
1.6 KiB
C#
using System;
|
|
|
|
namespace Xylem.ServiceFwUpdate.Ui.FwUpdateLoader.Const
|
|
{
|
|
/// <summary>
|
|
/// Firmware update process states
|
|
/// </summary>
|
|
[Serializable]
|
|
public enum ProcessState
|
|
{
|
|
/// <summary>
|
|
/// Unspecified state, used for startup to unlock first state entry.
|
|
/// </summary>
|
|
Unspecified,
|
|
|
|
/// <summary>
|
|
/// Idle waiting for user interaction or event.
|
|
/// </summary>
|
|
Idle,
|
|
|
|
/// <summary>
|
|
/// Initialize the entire program, dispose the Genesis and reset labels.
|
|
/// </summary>
|
|
Init,
|
|
|
|
/// <summary>
|
|
/// Connect to DB.
|
|
/// </summary>
|
|
ConnectDb,
|
|
|
|
/// <summary>
|
|
/// Download FW-Update Safes
|
|
/// </summary>
|
|
DownloadFwUpdateSafe,
|
|
|
|
/// <summary>
|
|
/// FW-UpdateSafe Loaded, prepared for FW-Update
|
|
/// </summary>
|
|
LoadFwUpdateSafe,
|
|
|
|
/// <summary>
|
|
/// User registration process
|
|
/// </summary>
|
|
UserRegistration,
|
|
|
|
/// <summary>
|
|
/// FW-Update
|
|
/// </summary>
|
|
FwUpdateProcess,
|
|
|
|
/// <summary>
|
|
/// Upload report files.
|
|
/// </summary>
|
|
UploadReportFiles,
|
|
|
|
/// <summary>
|
|
/// Check if PCB ID has been processed.
|
|
/// </summary>
|
|
CheckPcbIdProcessState,
|
|
|
|
/// <summary>
|
|
/// Stop entire update process
|
|
/// </summary>
|
|
Stop,
|
|
|
|
/// <summary>
|
|
/// Error execution state
|
|
/// </summary>
|
|
Error
|
|
}
|
|
}
|