Commit Graph

36 Commits

Author SHA1 Message Date
a4c51b0af0 UI Components/Features
• Added BtnVlcPlay WHich toggles between Vlc.Play and VLC.Stop
2026-01-14 10:36:58 +00:00
d1d90f17fc Mobile API Refactoring
• Introduced new Mobile API.cs module
• Encapsulates firmware checks, day/night mode switching, and snapshot operations
• Methods: CheckFirmwareAsync(), SetDayModeAsync(), SetNightModeAsync()
• Improves code maintainability and separates API logic from test execution

UI Components
• DayImgPcbx PictureBox: Displays day snapshot
• NightImgPcbx PictureBox: Displays night snapshot
• DayImage Label: Shows day luminance percentage
• NightImage Label: Shows night luminance percentage

Features Implemented
• Luminance-based validation: Uses ImageProcessing.GetMeanLuminance() to quantitatively analyze day and night snapshots
• Validation logic: Day luminance must exceed night luminance to pass the test
• Real-time luminance display: Appends calculated luminance percentages (0-100%) to day and night image labels
• Enhanced error reporting: Logs detailed luminance values when test fails for debugging purposes

• Captures day mode snapshot → Analyzes luminance
• Captures night mode snapshot → Analyzes luminance
• Compares values and updates UI labels with percentages
• Result: "Day/Night Mode = Passed" (green) or "Day/Night Mode = Failed" (red) with error details
2026-01-13 15:31:50 +00:00
4a2e874b9d - 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
2026-01-12 16:30:04 +00:00
90b3f7caff • MobileTests.cs
- Pre test now checks firmware and adds the label dynamically to the panel

• AiQ_GUI.Designer.cs
  - Added CbBxCameraModel.SelectedIndexChanged to properly wire UI element.

• Microsoft/StatsExcel.cs
  - Improved workbook loading error handling to distinguish between corruption and file access issues.
2026-01-09 15:49:54 +00:00
693da58fcb • Camera/LED.cs
• Added null-checks so labels are created dynamically when lblVorI is null (uses MainForm.Instance.AddLabelToPanel).
• Camera/CameraModules.cs
• Added null-label handling to create dynamic module labels with the correct content (OK or the error message).
• AiQ_GUI.cs
• Increased dynamic label width in MakeNewLabel from 220 → 700 to avoid truncated messages.
• Succesfully ran through a pre-test with dynamic labels
2026-01-05 12:35:28 +00:00
36f9639baa Dynamic labels & Changed color to light green
- Filesystem size
- Flexi version
- Flexi Revision
- MAC
- Timestamp
- Temperature
- ZoomLock
- Serial and model Number
- Licenses
- CPU usage
2025-12-23 13:01:15 +00:00
872be2e105 Changes:
- Code refactored, DIagsPt1 and 2 moved into there own folder called DIagnostics
- Pre tests and final tests moved into a AiQ tests
- Mobile Pre Tests  added
- Mobile pre test - Added firmware check for the SRZ
2025-12-22 14:37:43 +00:00
7aba890514 Beginning of the Implementing multple cameras into the AiQ GUI
Features added:
- Onvif discoverable
- New Camera Type combo box
- Access has be changed to be more scalable and dynamic in preparation for more cameras
2025-12-19 16:14:13 +00:00
760987fa75 Merged colours 2025-12-02 13:08:08 +00:00
30bd2fe73c AddToAction List colours 2025-12-02 12:59:40 +00:00
4c624d7e29 V4.6 2025-12-02 11:02:24 +00:00
e29d104d47 V4.5 2025-11-26 14:39:07 +00:00
791cee91d2 V4.4 with modified god mode and 211 at end of soak test. 2025-11-11 14:17:31 +00:00
00b225a3db V4.4 merged 2025-11-11 13:58:29 +00:00
e94a1f1f5c Find cams timeout extended 2025-11-11 13:49:42 +00:00
a91c3b846f V4.4 Selenium fix 2025-11-11 13:18:02 +00:00
42a4778555 V4.3 release 2025-11-04 14:29:38 +00:00
3d71ab7e9b V4.3 changes and merge 2025-11-04 13:43:20 +00:00
78c440ab76 Updated other uses of Internal Config to GLOBAL--FlexiApplication 2025-11-04 13:16:07 +00:00
dd8e87258f V4.3 Changes - Bradley B 2025-11-04 12:56:16 +00:00
1c89cf2847 V4.2 with stats and vaxtor settings changes. Fixed merge problems 2025-10-29 16:17:59 +00:00
f95e958ffb V4.1 with excel stats changes 2025-10-28 16:13:05 +00:00
95fb5d6ab8 V4.1 with excel stats changes 2025-10-28 16:12:53 +00:00
c18514802c Merge branch 'master' of https://mavportal.com:3000/BradleyRelyea/AiQ_GUI 2025-10-28 12:35:55 +00:00
f78e44903b V4.1 changes BR 2025-10-28 12:35:28 +00:00
ed121fa3db GUI Version 4.1 CHanges are GB sticker and Updated API call from Internal Config to GLOBAL--FlexiApplication. 2025-10-27 11:14:20 +00:00
aa28a43347 V4.0 2025-10-21 15:46:28 +01:00
cfe8a57a9d Merged ready for V4 2025-10-21 14:28:45 +01:00
b59d023887 In FlexiAPI SetVaxtorMinMaxPlate() Has been added + Other small changes 2025-10-21 14:04:59 +01:00
01268ddda5 Changes to SSH including new password 2025-10-21 14:01:27 +01:00
a2f86625be Final Changes to Stats Excel - This has been tested via Fake Cam Test all scenearios and published and tested 2025-10-20 10:31:58 +01:00
e39a36183a V3.15 iterim BR changes 2025-10-17 14:26:33 +01:00
f4081515be This Commit contains all the changes for the new feature for S.L in regards to ExcelStats of the GUI 2025-10-17 12:06:36 +01:00
0c463ad929 V3.14 2025-09-16 10:42:51 +01:00
50bb9c9781 Add project files. 2025-09-02 15:32:24 +01:00
6a633eed7a Add .gitattributes and .gitignore. 2025-09-02 15:32:21 +01:00