示例#1
0
 public EquipmentOverviewViewModel(IUltrasonic ultrasonic, ILidarDistance lidar, IWheel wheel, IEncoders encoders, ExampleLogicService exampleLogic, StudentLogicService studentLogic)
 {
     Ultrasonic   = ultrasonic;
     Lidar        = lidar;
     Wheel        = wheel;
     Encoders     = encoders;
     ExampleLogic = exampleLogic;
     StudentLogic = studentLogic;
 }
示例#2
0
 public ShellViewModel(INavigationService navigationServiceInstance, ILidarDistance lidar, IUltrasonic ultrasonic, IWheel wheel, IEncoders encoders, ExampleLogicService exampleLogic, StudentLogicService studentLogic)
 {
     _navigationService = navigationServiceInstance;
     Lidar              = lidar;
     Ultrasonic         = ultrasonic;
     Wheel              = wheel;
     Encoders           = encoders;
     ExampleLogic       = exampleLogic;
     StudentLogic       = studentLogic;
     ItemInvokedCommand = new DelegateCommand <WinUI.NavigationViewItemInvokedEventArgs>(OnItemInvoked);
 }
示例#3
0
        public RequestHandler(IWheel wheel, IUltrasonic ultrasonic, ILidarDistance lidar, IEncoders encoders, ExampleLogicService exampleLogicService, StudentLogicService studentLogicService)
        {
            _wheel               = wheel;
            _ultrasonic          = ultrasonic;
            _lidar               = lidar;
            _encoders            = encoders;
            _exampleLogic        = exampleLogicService;
            _studentLogicService = studentLogicService;

            _lastActiveLogic = LastActiveLogicType.None;
        }
示例#4
0
 public SocketServer(IWheel wheel, IUltrasonic ultrasonic, ILidarDistance lidar, IEncoders encoders, ExampleLogicService exampleLogicService, StudentLogicService studentLogicService)
 {
     _requestHandler = new RequestHandler(wheel, ultrasonic, lidar, encoders, exampleLogicService, studentLogicService);
     _wheel          = wheel;
     Error           = new Error();
     PortNumber      = "51915";
 }
示例#5
0
 public ExampleLogicViewModel(INavigationService navigationServiceInstance, ExampleLogicService exampleLogicService)
 {
     _navigationService   = navigationServiceInstance;
     _exampleLogicService = exampleLogicService;
     ExampleLogics        = exampleLogicService.ExampleLogics;
 }