Slice 4 - Launcher-Live-Ueberblick (LauncherWidgetsPanel, isoliertes UserControl, rechts angedockt, 30s-Refresh; minimaler Eingriff ins von Richard bearbeitete Launcher-Designer): - Modul-PnL/Winrate-Kacheln (je Modul + Gesamt: Heute/7T/30T, gruen/rot) via TradeAnalytics. - Supervisor-KI-Kurzfassung (letzter sup_report). - Warnungen & Fehler (heutige JSONL-Logs, Error/Warning). - Auffaellige Trades (24h, nach |PnL| sortiert). Regressionen aus VS-Re-Serialisierung behoben (VS liess hand-erstellte DataGridView-Spalten fallen -> col* null -> NRE beim Oeffnen): - DashboardView (dgvTrades): Spalten-Instanziierung + AutoGenerateColumns=false + Columns.AddRange + Spalten-Konfig wiederhergestellt. - JobsView (dgvJobs): dito (nur Button-Spalte hatte ueberlebt). - Smoke-UI dauerhaft um JobsView/TerminalView/SettingsView erweitert -> faengt diese Regressionsklasse kuenftig ab. Enthaelt ausserdem Richards zwischenzeitliche UI-Arbeit (Launcher-Icons cross_reference/emotion_batman/ file_start_workflow, Designer-Re-Serialisierungen, .ico-Sammlung, Modul-Form-.resx). Persoenliche Notizdatei bewusst NICHT committet. Build 0 Fehler, 396 Tests gruen, --smoke-ui alle 9 Views/Forms gruen. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
157 lines
6.4 KiB
C#
157 lines
6.4 KiB
C#
namespace PolyTraderSharp.Ui.Views
|
|
{
|
|
partial class JobsView
|
|
{
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Vom Komponenten-Designer generierter Code
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(JobsView));
|
|
dgvJobs = new DataGridView();
|
|
colJobName = new DataGridViewTextBoxColumn();
|
|
colStatus = new DataGridViewTextBoxColumn();
|
|
colLastRun = new DataGridViewTextBoxColumn();
|
|
colNextRun = new DataGridViewTextBoxColumn();
|
|
col_dgv_jobs_Enabled = new DataGridViewCheckBoxColumn();
|
|
col_dgv_jobs_Run = new DataGridViewButtonColumn();
|
|
colDescription = new DataGridViewTextBoxColumn();
|
|
toolStripJobs = new ToolStrip();
|
|
tsJobsRefresh = new ToolStripButton();
|
|
((System.ComponentModel.ISupportInitialize)dgvJobs).BeginInit();
|
|
toolStripJobs.SuspendLayout();
|
|
SuspendLayout();
|
|
//
|
|
// dgvJobs
|
|
//
|
|
dgvJobs.AllowUserToAddRows = false;
|
|
dgvJobs.AllowUserToDeleteRows = false;
|
|
dgvJobs.AutoGenerateColumns = false;
|
|
dgvJobs.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dgvJobs.Columns.AddRange(new DataGridViewColumn[] { colJobName, colStatus, colLastRun, colNextRun, col_dgv_jobs_Enabled, col_dgv_jobs_Run, colDescription });
|
|
dgvJobs.Dock = DockStyle.Fill;
|
|
dgvJobs.Location = new Point(0, 34);
|
|
dgvJobs.Margin = new Padding(4, 5, 4, 5);
|
|
dgvJobs.Name = "dgvJobs";
|
|
dgvJobs.RowHeadersVisible = false;
|
|
dgvJobs.RowHeadersWidth = 62;
|
|
dgvJobs.Size = new Size(1429, 799);
|
|
dgvJobs.TabIndex = 0;
|
|
//
|
|
// colJobName
|
|
//
|
|
colJobName.DataPropertyName = "JobName";
|
|
colJobName.HeaderText = "Job Name";
|
|
colJobName.Name = "colJobName";
|
|
colJobName.ReadOnly = true;
|
|
colJobName.Width = 150;
|
|
//
|
|
// colStatus
|
|
//
|
|
colStatus.DataPropertyName = "StatusText";
|
|
colStatus.HeaderText = "Status";
|
|
colStatus.Name = "colStatus";
|
|
colStatus.ReadOnly = true;
|
|
colStatus.Width = 150;
|
|
//
|
|
// colLastRun
|
|
//
|
|
colLastRun.DataPropertyName = "LastRun";
|
|
colLastRun.HeaderText = "Zuletzt ausgeführt";
|
|
colLastRun.Name = "colLastRun";
|
|
colLastRun.ReadOnly = true;
|
|
colLastRun.Width = 130;
|
|
//
|
|
// colNextRun
|
|
//
|
|
colNextRun.DataPropertyName = "NextRun";
|
|
colNextRun.HeaderText = "Nächster Lauf";
|
|
colNextRun.Name = "colNextRun";
|
|
colNextRun.ReadOnly = true;
|
|
colNextRun.Width = 130;
|
|
//
|
|
// col_dgv_jobs_Enabled
|
|
//
|
|
col_dgv_jobs_Enabled.DataPropertyName = "IsEnabled";
|
|
col_dgv_jobs_Enabled.HeaderText = "Aktiv";
|
|
col_dgv_jobs_Enabled.Name = "col_dgv_jobs_Enabled";
|
|
col_dgv_jobs_Enabled.Width = 60;
|
|
//
|
|
// col_dgv_jobs_Run
|
|
//
|
|
col_dgv_jobs_Run.HeaderText = "Aktion";
|
|
col_dgv_jobs_Run.MinimumWidth = 8;
|
|
col_dgv_jobs_Run.Name = "col_dgv_jobs_Run";
|
|
col_dgv_jobs_Run.Text = "Run Now";
|
|
col_dgv_jobs_Run.UseColumnTextForButtonValue = true;
|
|
col_dgv_jobs_Run.Width = 90;
|
|
//
|
|
// colDescription
|
|
//
|
|
colDescription.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|
colDescription.DataPropertyName = "Description";
|
|
colDescription.HeaderText = "Beschreibung";
|
|
colDescription.Name = "colDescription";
|
|
colDescription.ReadOnly = true;
|
|
//
|
|
// toolStripJobs
|
|
//
|
|
toolStripJobs.ImageScalingSize = new Size(24, 24);
|
|
toolStripJobs.Items.AddRange(new ToolStripItem[] { tsJobsRefresh });
|
|
toolStripJobs.Location = new Point(0, 0);
|
|
toolStripJobs.Name = "toolStripJobs";
|
|
toolStripJobs.Padding = new Padding(0, 0, 3, 0);
|
|
toolStripJobs.Size = new Size(1429, 34);
|
|
toolStripJobs.TabIndex = 1;
|
|
//
|
|
// tsJobsRefresh
|
|
//
|
|
tsJobsRefresh.DisplayStyle = ToolStripItemDisplayStyle.Text;
|
|
tsJobsRefresh.Name = "tsJobsRefresh";
|
|
tsJobsRefresh.Size = new Size(116, 29);
|
|
tsJobsRefresh.Text = "Aktualisieren";
|
|
tsJobsRefresh.ToolTipText = "Job-Liste neu zeichnen (Status/Zeiten aktualisieren).";
|
|
//
|
|
// JobsView
|
|
//
|
|
AutoScaleDimensions = new SizeF(10F, 25F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(1429, 833);
|
|
Controls.Add(dgvJobs);
|
|
Controls.Add(toolStripJobs);
|
|
Icon = (Icon)resources.GetObject("$this.Icon");
|
|
Margin = new Padding(4, 5, 4, 5);
|
|
Name = "JobsView";
|
|
Text = "Server Jobs";
|
|
((System.ComponentModel.ISupportInitialize)dgvJobs).EndInit();
|
|
toolStripJobs.ResumeLayout(false);
|
|
toolStripJobs.PerformLayout();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.DataGridView dgvJobs;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colJobName;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colStatus;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colLastRun;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colNextRun;
|
|
private System.Windows.Forms.DataGridViewCheckBoxColumn col_dgv_jobs_Enabled;
|
|
private System.Windows.Forms.DataGridViewButtonColumn col_dgv_jobs_Run;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn colDescription;
|
|
private System.Windows.Forms.ToolStrip toolStripJobs;
|
|
private System.Windows.Forms.ToolStripButton tsJobsRefresh;
|
|
}
|
|
}
|