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

namespace BankTV.Consts
{
    public class GlobalConsts
    {
        public const string LOG_FILE_NAME = "log.txt";
        public const string LOG_FOLDER = "logs";

        public const string APP_CONFIG_FOLDER = "BankTV";
        public const string APP_CONFIG_FILE = "BankTVConfig.xml";        
        public const string APP_LOCAL_CONFIG_FILE = "BankTVLocalConfig.xml";

        public const string APP_CONFIG_FILE_PREFIX = "BankTVConfig";
        public const string APP_CONFIG_FILE_SUFFIX = ".xml";
        public const string APP_LOCAL_CONFIG_FILE_PREFIX = "BankTVLocalConfig";
        public const string APP_LOCAL_CONFIG_FILE_SUFFIX = ".xml";

        public const string BOTTOM_BAR_NEWS_FILE = "bottomBarNews.xml";

        public const string WEATHER_CITY_FILE = "weatherCity.xml";
        public const string WEATHER_FORECAST_FILE = "weatherForecast.xml";

        public const string WEATHER_SZCZECIN_FILE = "weatherSzczecin.xml";
        public const string WEATHER_GDANSK_FILE = "weatherGdansk.xml";
        public const string WEATHER_BIALYSTOK_FILE = "weatherBialystok.xml";
        public const string WEATHER_WROCLAW_FILE = "weatherWroclaw.xml";
        public const string WEATHER_POZNAN_FILE = "weatherPoznan.xml";
        public const string WEATHER_WARSZAWA_FILE = "weatherWarszawa.xml";
        public const string WEATHER_RZESZOW_FILE = "weatherRzeszow.xml";

        public const string CURRENCY_CONFIG_FILE = "currency.xml";

        public const string STOCK_CONFIG_FILE = "stock.xml";

        public const string WEATHER_SZCZECIN_CITY = "Szczecin";
        public const string WEATHER_GDANSK_CITY = "Gdańsk";
        public const string WEATHER_BIALYSTOK_CITY = "Białystok";
        public const string WEATHER_WROCLAW_CITY = "Wrocław";
        public const string WEATHER_POZNAN_CITY = "Poznań";
        public const string WEATHER_WARSZAWA_CITY = "Warszawa";
        public const string WEATHER_RZESZOW_CITY = "Rzeszów";

        public const string IMAGE_FILES_FOLDER = "images";
        public const string NEWS_FILES_FOLDER = "news";
        public const string VIDEOS_FILES_FOLDER = "videos";
        public const string LOGS_FILES_FOLDER = "logs";
        public const string WEATHER_FILES_FOLDER = "weather";
        public const string WEATHER_ÍCONS_FOLDER = "icons";
        public const string CURRENCY_FILES_FOLDER = "currency";
        public const string STOCK_FILES_FOLDER = "stock";
        public const string FLASH_FILES_FOLDER = "flash";
        public const string BOTTOM_BAR_NEWS_FILES_FOLDER = "bottom_bar_news";

        public const string PD_POGODA_ABBR = "PGD";
        public const string PD_WALUTY_ABBR = "WAL";

        public const string CURRENCY_DIRECTION_UP = "up";
        public const string CURRENCY_DIRECTION_DOWN = "down";
        public const string CURRENCY_DIRECTION_NOCHANGE = "nochange";

        public const string CITY = "Koronowo";
        public const int WEATHER_REFRESH_INTERVAL = 3;
        public const int WEATHER_ERROR_REFRESH_MINUTES_INTERVAL = 15;

        public const int MIN_STOCK_ELEMENTS_COUNT = 7;

        public static readonly string[] STOCK_ACCEPTABLE_NAMES = { "WIG20", "WIG30", "WIG", "MWIG40", "WIG50", "WIG250" };

        public const string STOCK_UPDATE_URL = "http://bossa.pl/pub/metastock/mstock/sesjaall/sesjaall.prn";
        public const int STOCK_REFRESH_INTERVAL = 24;

        public const int APP_REFRESH_INTERVAL_MINUTES = 30;
        public const int APP_REFRESH_INTERVAL_CURRENCIES = 15;

        public const string APP_REFRESH_INTERVAL_MINUTES_KEY = "AppRefreshMinutes";
        public const string APP_REFRESH_INTERVAL_CURRENCIES_KEY = "CurrencyRefreshMinutes";

        public const string TMP_EXTENSION = ".tmp";

        public const string WEATHER_API_KEY = "0293d97c7688556a23871dcb05fbca0b";

    }
}