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>
29 lines
651 B
C#
29 lines
651 B
C#
using System;
|
|
using System.Text;
|
|
|
|
namespace TeslaConsole.RedPlanet;
|
|
|
|
[Serializable]
|
|
internal class RPCamera : RPParticipant
|
|
{
|
|
public RPCamera(string podHostAddress, HostType hostType)
|
|
: base(podHostAddress, hostType)
|
|
{
|
|
if (hostType != HostType.MissionReviewHostType)
|
|
{
|
|
throw new ArgumentOutOfRangeException("hostType");
|
|
}
|
|
}
|
|
|
|
protected sealed override void AppendParticipantSpecificData(int index, StringBuilder sb)
|
|
{
|
|
sb.Append("dropzone=one\n");
|
|
sb.Append("name=Camera\n");
|
|
sb.Append("loadzones=0\n");
|
|
sb.Append("vehicle=camera\n");
|
|
sb.Append("color=Black\n");
|
|
sb.Append("badge=None\n");
|
|
sb.Append("team=Camera\n");
|
|
}
|
|
}
|