Skip to content

Commit 767b2ad

Browse files
authored
这样修改后,JSON 反序列化就能正常工作,解决源生成模式下的兼容性问题。
1 parent 4e30e44 commit 767b2ad

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

FastGithub.FlowAnalyze/FlowStatistics.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,21 @@ public record FlowStatistics
88
/// <summary>
99
/// 获取总读上行
1010
/// </summary>
11-
public long TotalRead { get; init; }
11+
public long TotalRead { get; set; }
1212

1313
/// <summary>
1414
/// 获取总下行
1515
/// </summary>
16-
public long TotalWrite { get; init; }
16+
public long TotalWrite { get; set; }
1717

1818
/// <summary>
1919
/// 获取读取速率
2020
/// </summary>
21-
public double ReadRate { get; init; }
21+
public double ReadRate { get; set; }
2222

2323
/// <summary>
2424
/// 获取写入速率
2525
/// </summary>
26-
public double WriteRate { get; init; }
26+
public double WriteRate { get; set; }
2727
}
2828
}

0 commit comments

Comments
 (0)