Ejemplo n.º 1
0
 public Quality(ReplacementMethodFlags replacementMethod, bool isSet = false)
 {
     Flag       = replacementMethod;
     Name       = replacementMethod.ToString();
     Value      = (int)replacementMethod;
     this.IsSet = isSet;
 }
Ejemplo n.º 2
0
        public static bool IsQualitySet(TimeSeriesPoint tsp, ReplacementMethodFlags flag)
        {
            int rmq = (tsp.IntQuality >> 11) & 0b1111;

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