namespace MAX.Core;
///
/// 优先级(优先级越高越先执行)
///
public interface IPriority
{
///
/// 优先级(优先级越高越先执行)
///
int Priority { get; }
}
///
/// 优先级
///
///
///
public static class IntPriority
{
///
/// 最高优先级 (5000)
///
public const int Highest = 5000;
///
/// 非常高优先级 (4000)
///
public const int VeryHigh = 4000;
///
/// 较高优先级 (3000)
///
public const int Higher = 3000;
///
/// 高优先级 (2000)
///
public const int High = 2000;
///
/// 高于正常优先级 (1000)
///
public const int AboveNormal = 1000;
///
/// 正常优先级 (0)
///
public const int Normal = 0;
///
/// 低于正常优先级 (-1000)
///
public const int BelowNormal = -1000;
///
/// 低优先级 (-2000)
///
public const int Low = -2000;
///
/// 较低优先级 (-3000)
///
public const int Lower = -3000;
///
/// 非常低优先级 (-4000)
///
public const int VeryLow = -4000;
///
/// 最低优先级 (-5000)
///
public const int Lowest = -5000;
}