예제 #1
0
 public IMotionController[] GetMotionControllers()
 {
     if (_motionControllers == null)
     {
         _motionControllers =
             Enumerable.Range(0, 2)
             .Select(Card.Of)
             .Where(c => N.GT_Open(c) == 0)
             .Select(c => (IMotionController) new MotionController(c))
             .ToArray();
     }
     return(_motionControllers);
 }