fix databinding

This commit is contained in:
icylogic
2016-03-01 11:06:09 +08:00
parent e0e0f646b0
commit 7a3f946913
3 changed files with 58 additions and 49 deletions
@@ -14,12 +14,12 @@ namespace Shadowsocks.Model
public class StatisticsStrategyConfiguration
{
public static readonly string ID = "com.shadowsocks.strategy.statistics";
public bool StatisticsEnabled { get; } = true;
public bool ByHourOfDay { get; } = true;
public bool StatisticsEnabled { get; set; } = true;
public bool ByHourOfDay { get; set; } = true;
public bool Ping { get; set; }
public int ChoiceKeptMinutes { get; } = 10;
public int DataCollectionMinutes { get; } = 10;
public int RepeatTimesNum { get; } = 4;
public int ChoiceKeptMinutes { get; set; } = 10;
public int DataCollectionMinutes { get; set; } = 10;
public int RepeatTimesNum { get; set; } = 4;
private const string ConfigFile = "statistics-config.json";