public MainContainerController(IView view, INotify notifyView, IStatusDetection statusView)
        {
            _view       = view;
            _notifyView = notifyView;
            _statusView = statusView;

            var hardwareDetection  = TestingCore.CommunicationFactory.Scope.Factory.MakeFTDICommunication();
            var detectionPresenter = TestingCore.PresenterFactory.Scope.Factory.MakeDevicePresenter(_statusView);

            _hardwareDetectionInteractor = TestingCore.InteractorFactory.Scope.Factory.MakeHardwareDetector(hardwareDetection, detectionPresenter);

            _view.Shown  += View_Shown;
            _view.Closed += View_Closed;
        }
Beispiel #2
0
 public DeviceDetectionPresenter(IStatusDetection view)
 {
     _view = view;
 }
Beispiel #3
0
 public IHardwareDetectionPresenter MakeDevicePresenter(IStatusDetection view)
 {
     return(new DeviceDetectionPresenter(view));
 }
Beispiel #4
0
 public IHardwareDetectionPresenter MakeMultimeterPresenter(IStatusDetection view)
 {
     return(new MultimeterDetectionPresenter(view));
 }
Beispiel #5
0
 public MultimeterDetectionPresenter(IStatusDetection view)
 {
     _view = view;
 }