public WeatherHistoryDomain(IWeatherStationsData weatherStationsData, IPointData pointData, IIpmaDataRequisitions ipmaDataRequisitions, IEvaporationRepository evaporationRepository, IWeatherStationRepository weatherStationRepository, IReadHourlyRepository readHourlyRepository)
 {
     _weatherStationsData      = weatherStationsData;
     _pointData                = pointData;
     _ipmaDataRequisitions     = ipmaDataRequisitions;
     _evaporationRepository    = evaporationRepository;
     _WeatherStationRepository = weatherStationRepository;
     _readHourlyRepository     = readHourlyRepository;
 }
        public void GlobalSetupGetUser()
        {
            _routeDataMock = new Mock <IRouteData>();
            _pointDataMock = new Mock <IPointData>();

            _routeBase = routesData(_routeCode);

            _routeData = _routeDataMock.Object;
            _pointData = _pointDataMock.Object;

            _routesController = new RoutesController(
                new GetRoutesByFromPointCodeQuery(_routeData),
                new SaveRouteCommand(_routeData),
                new UpdateRouteCommand(_routeData),
                new DeleteRouteCommand(_routeData));
        }
Пример #3
0
        public void GlobalSetupGetPoint()
        {
            _pointDataMock = new Mock <IPointData>();
            _routeDataMock = new Mock <IRouteData>();

            _pointBase = PointsData(_pointCode);

            _pointData = _pointDataMock.Object;
            _routeData = _routeDataMock.Object;

            _pointsController = new PointsController(
                new GetPointByCodeQuery(_pointData),
                new SavePointCommand(_pointData),
                new UpdatePointCommand(_pointData),
                new DeletePointCommand(_pointData, _routeData));
        }
 public UpdatePointCommand(IPointData pointData)
 {
     _pointdata = pointData;
 }
Пример #5
0
 public ImageHub(IPointData points)
 {
     this.points = points;
 }
 public SavePointCommand(IPointData pointData)
 {
     _pointdata = pointData;
 }
Пример #7
0
 public designerModel(IPointData points)
 {
     this.points = points;
 }
Пример #8
0
 public DeletePointCommand(IPointData pointData, IRouteData routeData)
 {
     _pointData = pointData;
     _routeData = routeData;
 }
Пример #9
0
 public GetPointByCodeQuery(IPointData pointData)
 {
     _pointData = pointData;
 }