예제 #1
0
 public static Boolean AppliesTo(KFlyCommandType type)
 {
     FieldInfo fi = type.GetType().GetField(type.ToString());
     if (fi != null)
     {
         return (fi.GetCustomAttributes(typeof(SelfAck), false).Length > 0);
     }
     return false;
 }
예제 #2
0
 public KFlyCommand(KFlyCommandType type)
 {
     Type = type;
 }
예제 #3
0
 public SetControllerData(KFlyCommandType setControllerType, ControllerData data)
     : base(setControllerType)
 {
     Data = data;
 }
예제 #4
0
 public SetControllerData(KFlyCommandType setControllerType)
     : base(setControllerType)
 {
     Data = new ControllerData();
 }
예제 #5
0
 public GetControllerData(KFlyCommandType getControllerType)
     : base(getControllerType)
 {
 }
예제 #6
0
 public NotImplemented(KFlyCommandType type)
     : base(type)
 {
 }