public SetCycleDaysFormPresenter(IKernel kernel, IServiceFactory serviceFactory, ISetCycleDaysForm view) : base(kernel, serviceFactory, view) { _view.SetSensorsSchedule += () => SetSensorsSchedule(); _view.Save += () => Save(); _serviceFactory.CreateSetCycleDaysService().AmountOfDays = serviceFactory.CreateAddNewPlantService().NumberOfDaysInCycle; _serviceFactory.CreateSetCycleDaysService().PlantName = serviceFactory.CreateAddNewPlantService().PlantName; _view.AmountOfDays = serviceFactory.CreateAddNewPlantService().NumberOfDaysInCycle; }