using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BankTV.Helpers.Update
{
    class UpdateState
    {
        public bool weatherInited  { get; set; }
        public bool currencyInited { get; set; }
        public bool weatherErrorOccurred { get; set; }
        public bool currencyErrorOccurred { get; set; }
        public DateTime? weatherUpdated { get; set; }
        public DateTime? stockUpdated { get; set; }
        public DateTime? appUpdated { get; set; }
        public DateTime? currencyUpdated { get; set; }

        public UpdateState()
        {
            weatherInited = false;
            currencyInited = false;
            weatherErrorOccurred = false;
            currencyErrorOccurred = false;
            weatherUpdated = null;
            stockUpdated = null;
            appUpdated = null;
            currencyUpdated = null;
        }

    }
}
