using System; namespace Xylem.ServiceFwUpdate.Ui.FwUpdateLoader.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, /// /// Download FW-Update Safes /// DownloadFwUpdateSafe, /// /// FW-UpdateSafe Loaded, prepared for FW-Update /// LoadFwUpdateSafe, /// /// User registration process /// UserRegistration, /// /// FW-Update /// FwUpdateProcess, /// /// Upload report files. /// UploadReportFiles, /// /// Check if PCB ID has been processed. /// CheckPcbIdProcessState, /// /// Stop entire update process /// Stop, /// /// Error execution state /// Error } }