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