Files
DP44/DataPRO/IService/Classes/FlashEraseStatus.cs

26 lines
883 B
C#
Raw Normal View History

2026-04-17 14:55:32 -04:00
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; }
}
}