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:
@@ -62,6 +62,7 @@ namespace AiQ_GUI
|
||||
// Be aware this does bypass Flexi's watchdog so settings like zoom, focus, SIG wont keep forever
|
||||
public static async Task<string> APIHTTPVISCA(string IPAddress, string VISCA, bool IR)
|
||||
{
|
||||
// http://localhost:8080/Infrared-camera-control?commandHex=8101044700000000FF
|
||||
string suffix = $"-camera-control?commandHex={VISCA}";
|
||||
|
||||
if (IR) // Add on which camera to control
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace AiQ_GUI
|
||||
{
|
||||
string requestUrl = $"http://{IPAddress}/{suffix}";
|
||||
|
||||
HttpClientHandler handler = new HttpClientHandler
|
||||
HttpClientHandler handler = new()
|
||||
{
|
||||
Credentials = new NetworkCredential("developer", DevPass),
|
||||
PreAuthenticate = true
|
||||
|
||||
Reference in New Issue
Block a user