Phase 4.1: Basis-Infrastruktur in den Core (Logging, JobManager)
- TerminalLogger, JobManager, JobStatusRow nach Core verschoben (Namespaces PolyTraderSharp.Services/.Models beibehalten). - TerminalLogger: ungenutzte DB-Usings entfernt. - Toten Stub services/logging.cs (internal class Logging) gelöscht. - Build 0 Fehler. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1,30 +0,0 @@
|
||||
using System.ComponentModel;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace PolyTraderSharp.Models
|
||||
{
|
||||
public class JobStatusRow : INotifyPropertyChanged
|
||||
{
|
||||
private string _jobName = "";
|
||||
private string _description = "";
|
||||
private bool _isEnabled = true;
|
||||
private DateTime? _lastRun;
|
||||
private DateTime? _nextRun;
|
||||
private string _statusText = "Initializing...";
|
||||
|
||||
public string JobName { get => _jobName; set { _jobName = value; OnPropertyChanged(); } }
|
||||
public string Description { get => _description; set { _description = value; OnPropertyChanged(); } }
|
||||
public bool IsEnabled { get => _isEnabled; set { _isEnabled = value; OnPropertyChanged(); } }
|
||||
public DateTime? LastRun { get => _lastRun; set { _lastRun = value; OnPropertyChanged(); } }
|
||||
public DateTime? NextRun { get => _nextRun; set { _nextRun = value; OnPropertyChanged(); } }
|
||||
public string StatusText { get => _statusText; set { _statusText = value; OnPropertyChanged(); } }
|
||||
|
||||
public Func<Task>? ManualTriggerAction { get; set; }
|
||||
|
||||
public event PropertyChangedEventHandler? PropertyChanged;
|
||||
protected void OnPropertyChanged([CallerMemberName] string? name = null)
|
||||
{
|
||||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user