using System; namespace Xylem.ServiceFwUpdate.Ui.FwUpdateBuilder.Const { /// /// Firmware update process states /// [Serializable] public enum ProcessState { /// /// Unspecified state, used for startup to unlock first state entry. /// Unspecified, /// /// Idle waiting for user interaction or event. /// Idle, /// /// Initialize the entire program, dispose the Genesis and reset labels. /// Init, /// /// Connect to DB. /// ConnectDb, /// /// After connected to DB check the license. /// ValidateSoftware, /// /// DB access is locked on invalid user license. /// DbAccessLocked, /// /// Build the FW-Update safe and store it to HDD /// BuildFwUpdateSafe, /// /// Upload update files /// UploadFwUpdateSafeToDb, /// /// Load all customers from DB /// GetCustomersFromDb, /// /// Load all Cordonel production orders off a specific customer from DB /// GetCordonelProductionOrdersFromDb, /// /// Load all Cordonel FW update safes from DB /// GetFwUpdateSafesInfosFromDb, /// /// Load all Cordonel FW update report files from DB /// GetReportsFromDb, /// /// Load selected Cordonel FW update report file from DB and display it /// GetAndDisplaySingleReportFromDb, /// /// Load all Cordonel serial numbers off a specific order from DB /// GetCordonelSerialNumbersFromDb, /// /// Load all available FW packages information from DB /// GetFwPackagesInfosFromDb, /// /// Load all registered update operators from DB /// GetFwUpdateOperatorsFromDb, /// /// Checks the update capability and sets all controls. /// CheckUpdateCapability, /// /// Checks the update capability and sets all controls. /// UserRegistration, /// /// Update data tables /// UpdateDataTables, /// /// Stop entire update process /// Stop, /// /// Error execution state /// Error } }