Analyzer Trigger Connection
This commit is contained in:
parent
853520d3b0
commit
7dcf8d38c8
|
@ -167,8 +167,6 @@ namespace Core.Main.DataObjects.PTMagicData
|
||||||
{
|
{
|
||||||
public string SettingName { get; set; }
|
public string SettingName { get; set; }
|
||||||
|
|
||||||
public string TriggerLogic { get; set; } = "AND";
|
|
||||||
|
|
||||||
public string TriggerConnection { get; set; } = "AND";
|
public string TriggerConnection { get; set; } = "AND";
|
||||||
|
|
||||||
[DefaultValue("AND")]
|
[DefaultValue("AND")]
|
||||||
|
|
|
@ -36,12 +36,7 @@
|
||||||
@if (!Model.GlobalSetting.SettingName.StartsWith("Default", StringComparison.InvariantCultureIgnoreCase)) {
|
@if (!Model.GlobalSetting.SettingName.StartsWith("Default", StringComparison.InvariantCultureIgnoreCase)) {
|
||||||
<div class="form-group row">
|
<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>
|
<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">
|
<input type="text" name="MarketAnalyzer_GlobalSetting_@(Model.SettingName)|TriggerConnection" class="form-control" value="@Model.GlobalSetting.TriggerConnection" />
|
||||||
<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>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
Loading…
Reference in New Issue