Projekt

Obecné

Profil

« Předchozí | Další » 

Revize ce0940b5

Přidáno uživatelem Roman Kalivoda před více než 3 roky(ů)

Re #9034 fixing files corrupted by merge

Zobrazit rozdíly:

Server/ServerApp/WeatherPredictionParser/IJsonParser.cs
3 3
//
4 4

  
5 5
using ServerApp.Parser.OutputInfo;
6
using System;
6 7
using System.Collections.Generic;
7 8

  
8 9
namespace ServerApp.WeatherPredictionParser
......
10 11
    /// <summary>
11 12
    /// Abstract class that every Json parser should inherit from
12 13
    /// </summary>
13
    abstract class IJsonParser
14
    public abstract class IJsonParser
14 15
    {
15 16

  
16 17
        /// <summary> Current weather </summary>
17 18
        WeatherInfo current;
18
        public WeatherInfo Current { get => current; }
19
        public WeatherInfo Current { get => current; set => current = value; }
19 20

  
20 21
        /// <summary> Prediction for today, tommorrow and day after tommorrow </summary>
21 22
        List<WeatherInfo> predictions;
......
27 28
        /// </summary>
28 29
        abstract public void ParsePrediction();
29 30

  
31
        /// <summary>
32
        /// Get predictions from Predictions that are within specified time span
33
        /// </summary>
34
        /// <param name="from">DateTime from</param>
35
        /// <param name="to">DateTime to</param>
36
        /// <returns>List of predictions that fit specified criteria</returns>
37
        abstract public List<WeatherInfo> GetPredictionForTime(DateTime from, DateTime to);
38

  
30 39
    }
31 40

  
32 41
}

Také k dispozici: Unified diff