namespace ZB.MOM.WW.LmxProxy.Client.Domain;

public static class QualityExtensions
{
	public static bool IsGood(this Quality q) => (byte)q >= 128;
	public static bool IsUncertain(this Quality q) => (byte)q is >= 64 and < 128;
	public static bool IsBad(this Quality q) => (byte)q < 64;
}
