public Quality(PreviousModifierFlags previousModifier, bool isSet = false)
 {
     Flag       = previousModifier;
     Name       = previousModifier.ToString();
     Value      = (int)previousModifier;
     this.IsSet = isSet;
 }
        public static bool IsQualitySet(TimeSeriesPoint tsp, PreviousModifierFlags flag)
        {
            int pmq = (tsp.IntQuality >> 8) & 0b111;

            return(pmq == (int)flag);
        }