This Commit contains all the changes for the new feature for S.L in regards to ExcelStats of the GUI

This commit is contained in:
2025-10-17 12:06:36 +01:00
parent 0c463ad929
commit f4081515be
10 changed files with 511 additions and 93 deletions

View File

@@ -13,7 +13,7 @@ namespace AiQ_GUI
public class FakeCamera
{
public const string JSONLoc = "C:\\Users\\BradleyBorn\\OneDrive - MAV Systems Ltd\\Desktop\\AIQ_GUI_TEST\\FakeCameraGood\\";
public const string JSONLoc = "C:\\Users\\BradleyBorn\\OneDrive - MAV Systems Ltd\\Desktop\\AiQ_GUI\\AiQ_GUI\\FakeCamera\\";
public static bool Snapshot = false;
private HttpListener listener;
@@ -227,8 +227,8 @@ namespace AiQ_GUI
else if (path.Equals("/Infrared-camera-control") || path.Equals("/Colour-camera-control")) // Fixed
{
string viscaReply = "9041FF9051FF";
if (!RegexCache.VISCARegex().IsMatch(context.Request.QueryString["commandHex"]))
//MainForm.Instance.AddToActionsList($"VISCA Command Received: {context.Request.QueryString["commandHex"]}");
if (!RegexCache.VISCAAPIRegex().IsMatch(context.Request.QueryString["commandHex"]))
viscaReply = "9060FF";
await HTTPReplySetup(context, viscaReply, 200, "text/plain");