Analyzer Trigger Connection

This commit is contained in:
HojouFotytu 2024-01-31 00:45:34 +09:00
parent 853520d3b0
commit 7dcf8d38c8
2 changed files with 1 additions and 8 deletions

View File

@ -166,8 +166,6 @@ namespace Core.Main.DataObjects.PTMagicData
public class SingleMarketSetting
{
public string SettingName { get; set; }
public string TriggerLogic { get; set; } = "AND";
public string TriggerConnection { get; set; } = "AND";

View File

@ -36,12 +36,7 @@
@if (!Model.GlobalSetting.SettingName.StartsWith("Default", StringComparison.InvariantCultureIgnoreCase)) {
<div class="form-group row">
<label class="col-md-4 col-form-label">Trigger Connection <i class="fa fa-info-circle text-muted" data-toggle="tooltip" data-placement="top" title="Define if triggers will be connected by AND or OR"></i></label>
<div class="col-md-8">
<select name="MarketAnalyzer_GlobalSetting_@(Model.SettingName)|TriggerConnection" class="form-control">
<option selected="@(Model.GlobalSetting.TriggerConnection.Equals("AND", StringComparison.InvariantCultureIgnoreCase))">AND</option>
<option selected="@(Model.GlobalSetting.TriggerConnection.Equals("OR", StringComparison.InvariantCultureIgnoreCase))">OR</option>
</select>
</div>
<input type="text" name="MarketAnalyzer_GlobalSetting_@(Model.SettingName)|TriggerConnection" class="form-control" value="@Model.GlobalSetting.TriggerConnection" />
</div>
<hr />