public void Start(ILogger logger)
        {
            _liveTcpSocketManager            = new BlockedTcpSocketManager();
            _liveTcpSocketManager.ServerIp   = _settings.Get <string>(_names.tcpSocketIp);
            _liveTcpSocketManager.ServerPort = _settings.Get <int>(_names.tcpSocketLiveMapDataPort);

            _tcpSocketManager            = new BlockedTcpSocketManager();
            _tcpSocketManager.ServerIp   = _settings.Get <string>(_names.tcpSocketIp);
            _tcpSocketManager.ServerPort = _settings.Get <int>(_names.tcpSocketPort);


            tcpSocketIsEnabled = _settings.Get <bool>(_names.tcpSocketEnabled);
            if (tcpSocketIsEnabled)
            {
                _liveTcpSocketManager.AutoReconnect = true;
                _liveTcpSocketManager.Connect();

                _tcpSocketManager.AutoReconnect = true;
                _tcpSocketManager.Connect();
            }
            _settings.SettingUpdated += SettingUpdated;
            Started = true;
        }
        public TcpSocketDataGetter(ISettingsHandler settings)
        {
            _settings = settings;

            _liveTcpSocketManager = new BlockedTcpSocketManager();
            _liveTcpSocketManager.ServerIp = _settings.Get<string>(_names.tcpSocketIp);
            _liveTcpSocketManager.ServerPort = _settings.Get<int>(_names.tcpSocketLiveMapDataPort);

            _tcpSocketManager = new BlockedTcpSocketManager();
            _tcpSocketManager.ServerIp = _settings.Get<string>(_names.tcpSocketIp);
            _tcpSocketManager.ServerPort = _settings.Get<int>(_names.tcpSocketPort);


            tcpSocketIsEnabled = _settings.Get<bool>(_names.tcpSocketEnabled);
            if (tcpSocketIsEnabled)
            {
                _liveTcpSocketManager.AutoReconnect = true;
                _liveTcpSocketManager.Connect();

                _tcpSocketManager.AutoReconnect = true;
                _tcpSocketManager.Connect();
            }
            _settings.SettingUpdated += SettingUpdated;
        }