public MainController()
        {
            _transfer = ServerTransferTotal.Load();

            foreach (var server in Global.GuiConfig.Configs)
            {
                if (_transfer.Servers.TryGetValue(server.Id, out var st))
                {
                    var log = new ServerSpeedLog(st.TotalUploadBytes, st.TotalDownloadBytes);
                    server.SpeedLog = log;
                }
            }
        }
        public ShadowsocksController()
        {
            _config   = Configuration.Load();
            _transfer = ServerTransferTotal.Load();

            foreach (Server server in _config.configs)
            {
                if (_transfer.servers.ContainsKey(server.server))
                {
                    ServerSpeedLog log = new ServerSpeedLog(((ServerTrans)_transfer.servers[server.server]).totalUploadBytes, ((ServerTrans)_transfer.servers[server.server]).totalDownloadBytes);
                    server.SetServerSpeedLog(log);
                }
            }
        }
        public ShadowsocksController()
        {
            _config   = Configuration.Load();
            _transfer = ServerTransferTotal.Load();

            foreach (var server in _config.configs)
            {
                if (_transfer.servers.TryGetValue(server.server, out var st))
                {
                    var log = new ServerSpeedLog(st.totalUploadBytes, st.totalDownloadBytes);
                    server.SetServerSpeedLog(log);
                }
            }

            StartReleasingMemory();
        }