2018-05-22 10:11:50 +02:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using Microsoft.AspNetCore.Http;
|
|
|
|
|
using Core.Main;
|
|
|
|
|
using Core.Main.DataObjects;
|
|
|
|
|
using Core.Main.DataObjects.PTMagicData;
|
|
|
|
|
using Core.MarketAnalyzer;
|
|
|
|
|
|
|
|
|
|
namespace Monitor.Pages {
|
|
|
|
|
public class BagListModel : _Internal.BasePageModelSecureAJAX {
|
|
|
|
|
public ProfitTrailerData PTData = null;
|
|
|
|
|
public string SortFieldId = "";
|
|
|
|
|
public string SortDirection = "";
|
|
|
|
|
|
|
|
|
|
public void OnGet() {
|
|
|
|
|
base.Init();
|
|
|
|
|
|
|
|
|
|
BindData();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void BindData() {
|
|
|
|
|
SortFieldId = GetStringParameter("s", "ProfitPercent");
|
|
|
|
|
SortDirection = GetStringParameter("d", "DESC");
|
|
|
|
|
|
2019-10-13 22:08:48 +02:00
|
|
|
|
PTData = this.PtDataObject;
|
2018-05-22 10:11:50 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|