116 lines
3.0 KiB
C#
116 lines
3.0 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>
|
|
GetFwUpdateSafesInfosFromDb,
|
|
|
|
/// <summary>
|
|
/// Load all Cordonel FW update report files from DB
|
|
/// </summary>
|
|
GetReportsFromDb,
|
|
|
|
/// <summary>
|
|
/// Load selected Cordonel FW update report file from DB and display it
|
|
/// </summary>
|
|
GetAndDisplaySingleReportFromDb,
|
|
/// <summary>
|
|
/// Load all Cordonel serial numbers off a specific order from DB
|
|
/// </summary>
|
|
GetCordonelSerialNumbersFromDb,
|
|
|
|
/// <summary>
|
|
/// Load all available FW packages information from DB
|
|
/// </summary>
|
|
GetFwPackagesInfosFromDb,
|
|
|
|
/// <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>
|
|
/// Update data tables
|
|
/// </summary>
|
|
UpdateDataTables,
|
|
|
|
/// <summary>
|
|
/// Stop entire update process
|
|
/// </summary>
|
|
Stop,
|
|
|
|
/// <summary>
|
|
/// Error execution state
|
|
/// </summary>
|
|
Error
|
|
}
|
|
}
|