using DTS.Common.Enums.DASFactory;
using DTS.DASLib.Command.SLICE;
namespace DTS.DASLib.Service
{
///
/// While the unit is waiting for a flash erase to complete, an object of this type in the
/// corresponding can be updated to reflect the progress and
/// any errors for the current flash erase.
///
public class FlashEraseStatus
{
///
/// The last error that occurred during flash erase. This could be
/// DFConstantsAndEnums.CommandStatus .StatusNoError if everything is okay.
///
public DFConstantsAndEnums.CommandStatus LastError { get; set; }
///
/// How far along is the current flash erase?
///
public float PercentComplete { get; set; }
}
}