- 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:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user