laatzen/ServiceFwUpdate/Ui/ServiceFwUpdateBuilder/Const/ProcessState.cs

107 lines
2.7 KiB
C#

using System;
namespace Xylem.ServiceFwUpdate.Ui.FwUpdateBuilder.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>
/// After connected to DB check the license.
/// </summary>
ValidateSoftware,
/// <summary>
/// DB access is locked on invalid user license.
/// </summary>
DbAccessLocked,
/// <summary>
/// Build the FW-Update safe and store it to HDD
/// </summary>
BuildFwUpdateSafe,
/// <summary>
/// Upload update files
/// </summary>
UploadFwUpdateSafeToDb,
/// <summary>
/// Load all customers from DB
/// </summary>
GetCustomersFromDb,
/// <summary>
/// Load all Cordonel production orders off a specific customer from DB
/// </summary>
GetCordonelProductionOrdersFromDb,
/// <summary>
/// Load all Cordonel FW update safes from DB
/// </summary>
GetFwUpdateSafesFromDb,
/// <summary>
/// Load all Cordonel FW update report files from DB
/// </summary>
GetReportFilesFromDb,
/// <summary>
/// Load all Cordonel serial numbers off a specific order from DB
/// </summary>
GetCordonelSerialNumbersFromDb,
/// <summary>
/// Load all available FW packages from DB
/// </summary>
GetFwPackagesFromDb,
/// <summary>
/// Load all registered update operators from DB
/// </summary>
GetFwUpdateOperatorsFromDb,
/// <summary>
/// Checks the update capability and sets all controls.
/// </summary>
CheckUpdateCapability,
/// <summary>
/// Checks the update capability and sets all controls.
/// </summary>
UserRegistration,
/// <summary>
/// Stop entire update process
/// </summary>
Stop,
/// <summary>
/// Error execution state
/// </summary>
Error
}
}