- Replaced single TabPage CurrentTab with List<TabPage> CurrentTabs to support multiple tabs.

- Added new tab called Video

- Removed unused tabs on load (Soak, Mobile, Video, Images).

- Refactored InsertCamTab():

- Uses CurrentTabs to manage multiple tabs per camera type.

Mobile → inserts Video + Mobile tabs.
AiQ → inserts Images + Soak tabs.

-Cleans up previous tabs before inserting new ones.

-Updated BtnTest_Click():
Added 5-second delay before snapshot.
Takes snapshot after video starts playing.

- New file created VLC.cs
Streams the given IP into the Video tab and takes a snapshot
This commit is contained in:
2026-01-12 16:30:04 +00:00
parent 90b3f7caff
commit 4a2e874b9d
5 changed files with 200 additions and 18 deletions

View File

@@ -9,6 +9,7 @@ using System.Text.Json;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Diagnostics;
using System.Drawing;
public static class MobilePreTest
{
@@ -38,7 +39,7 @@ public static class MobilePreTest
JsonElement json = JsonSerializer.Deserialize<JsonElement>(body);
string version = json.GetProperty("version").GetString()?.Trim();
// Compare against expected SRZFirmware from UniversalData
if (string.IsNullOrEmpty(UniversalData.SRZFirmware))
{