MainForm.Instance.AddToActionsList($"Day/Night mode test failed: Day luminance ({dayLuminance}%) is not greater than night luminance ({nightLuminance}%).",Level.ERROR);
awaitMobileAPI.SetDayModeAsync();// Set to Day mode
awaitTask.Delay(5000);
VLC.TakeSnapshot(MainForm.Instance.VidView,"Mobile_day_snapshot.png");// Take Day Image Snapshot
MainForm.Instance.DayImgPcbx.Image=System.Drawing.Image.FromFile(Path.Combine(LDS.MAVPath,"Mobile_day_snapshot.png"));// Display Day mode snapshot
awaitMobileAPI.SetNightModeAsync();// Set to Night mode
awaitTask.Delay(5000);
VLC.TakeSnapshot(MainForm.Instance.VidView,"Mobile_night_snapshot.png");// Take Night Image Snapshot
MainForm.Instance.NightImgPcbx.Image=System.Drawing.Image.FromFile(Path.Combine(LDS.MAVPath,"Mobile_night_snapshot.png"));// Display Night mode snapshot