Co-locate the two cockpit-pod projects into a single repository:
- Console/ : TeslaConsole, the net48 WinForms operator console (decompiled
reconstruction) plus its differential + catalog test suite.
- Launcher/ : TeslaLauncher, the net6 pod-side Service + Agent rewrite.
Adds a combined TeslaSuite.sln, root README documenting the shared wire
contract (and its current duplication, the main follow-up), and a root
.gitignore. Histories were not preserved per request; this is a fresh start
from the current working state of both projects.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
28 lines
488 B
C#
28 lines
488 B
C#
using System;
|
|
using System.ComponentModel;
|
|
|
|
namespace TeslaConsole;
|
|
|
|
internal class AsyncControlState
|
|
{
|
|
public AsyncOperation asyncOp;
|
|
|
|
public Exception ex;
|
|
|
|
public AsyncControlState(Exception ex, AsyncOperation asyncOp)
|
|
{
|
|
this.ex = ex;
|
|
this.asyncOp = asyncOp;
|
|
}
|
|
}
|
|
internal class AsyncControlState<T> : AsyncControlState
|
|
{
|
|
public T state = default(T);
|
|
|
|
public AsyncControlState(T state, Exception ex, AsyncOperation asyncOp)
|
|
: base(ex, asyncOp)
|
|
{
|
|
this.state = state;
|
|
}
|
|
}
|