예제 #1
0
 private static bool GetValueFromFlags(Flags flags)
 {
     return((flags.value & ValueMask) == ValueMask);
 }
예제 #2
0
        private static CommandStatus GetStatusFromFlags(Flags flags)
        {
            var status = new CommandStatusClass();

            return(status.CommandStatusFromType((byte)(flags.value & StatusMask)));
        }
예제 #3
0
 public BinaryCommandEvent(Flags f)
 {
     flags = f;
 }