feat: 新增是否进行线索交流选项 (#13368)

* feat: 新增是否进行线索交流选项

* chore: Auto update by pre-commit hooks [skip changelog]

* docs: 文档添加参数

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Lemon-miaow
2025-08-02 20:32:33 +08:00
committed by GitHub
parent d339731987
commit 2aa63c77e6
14 changed files with 58 additions and 12 deletions

View File

@@ -273,6 +273,18 @@ public class InfrastSettingsUserControlModel : TaskViewModel
}
}
private bool _receptionClueExchange = Convert.ToBoolean(ConfigurationHelper.GetValue(ConfigurationKeys.InfrastReceptionClueExchange, bool.TrueString));
public bool ReceptionClueExchange
{
get => _receptionClueExchange;
set
{
SetAndNotify(ref _receptionClueExchange, value);
ConfigurationHelper.SetValue(ConfigurationKeys.InfrastReceptionClueExchange, value.ToString());
}
}
private bool _continueTraining = Convert.ToBoolean(ConfigurationHelper.GetValue(ConfigurationKeys.ContinueTraining, bool.FalseString));
/// <summary>
@@ -656,6 +668,7 @@ public class InfrastSettingsUserControlModel : TaskViewModel
DormTrustEnabled = DormTrustEnabled,
OriginiumShardAutoReplenishment = OriginiumShardAutoReplenishment,
ReceptionMessageBoard = ReceptionMessageBoardReceive,
ReceptionClueExchange = ReceptionClueExchange,
Filename = CustomInfrastFile,
PlanIndex = CustomInfrastPlanIndex,
}.Serialize();