Fix backtest
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
using Managing.Domain.Users;
|
||||
using static Managing.Common.Enums;
|
||||
|
||||
namespace Managing.Domain.Bots;
|
||||
|
||||
public class BotBackup
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public BotType BotType { get; set; }
|
||||
public string Identifier { get; set; }
|
||||
public User User { get; set; }
|
||||
public string Data { get; set; }
|
||||
}
|
||||
@@ -8,12 +8,15 @@
|
||||
void Restart();
|
||||
string GetStatus();
|
||||
string GetName();
|
||||
|
||||
/// <summary>
|
||||
/// Gets the total runtime of the bot since it was started
|
||||
/// </summary>
|
||||
/// <returns>TimeSpan representing the runtime, or TimeSpan.Zero if the bot is not running</returns>
|
||||
TimeSpan GetRuntime();
|
||||
|
||||
string Identifier { get; set; }
|
||||
void SaveBackup();
|
||||
void LoadBackup(BotBackup backup);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user