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
This commit is contained in:
@@ -17,7 +17,7 @@ namespace AiQ_GUI
|
||||
}
|
||||
else
|
||||
{
|
||||
MainForm.Instance.AddToActionsList($"Could not find spreadsheet :( {Level.ERROR}");
|
||||
MainForm.Instance.AddToActionsList($"Could not find spreadsheet :( ", Level.ERROR);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace AiQ_GUI
|
||||
}
|
||||
else
|
||||
{
|
||||
MainForm.Instance.AddToActionsList($"Could not find spreadsheet :( {Level.ERROR}");
|
||||
MainForm.Instance.AddToActionsList($"Could not find spreadsheet :( ", Level.ERROR);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
@@ -40,7 +40,7 @@ namespace AiQ_GUI
|
||||
{
|
||||
if (!File.Exists(FilePath))
|
||||
{
|
||||
MainForm.Instance.AddToActionsList($"Could not find spreadsheet :( {Level.ERROR}");
|
||||
MainForm.Instance.AddToActionsList($"Could not find spreadsheet :( ", Level.ERROR);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@@ -62,7 +62,7 @@ namespace AiQ_GUI
|
||||
{
|
||||
if (!File.Exists(FilePath))
|
||||
{
|
||||
MainForm.Instance.AddToActionsList($"Could not find spreadsheet :( {Level.ERROR}");
|
||||
MainForm.Instance.AddToActionsList($"Could not find spreadsheet :( ", Level.ERROR);
|
||||
return "Spreadsheet not found";
|
||||
}
|
||||
|
||||
@@ -114,7 +114,7 @@ namespace AiQ_GUI
|
||||
{
|
||||
if (!File.Exists(filePath))
|
||||
{
|
||||
MainForm.Instance.AddToActionsList($"Could not find spreadsheet :) {Level.ERROR}");
|
||||
MainForm.Instance.AddToActionsList($"Could not find spreadsheet :) ", Level.ERROR);
|
||||
return "Spreadsheet not found";
|
||||
}
|
||||
|
||||
@@ -161,7 +161,7 @@ namespace AiQ_GUI
|
||||
{
|
||||
if (!File.Exists(FilePath))
|
||||
{
|
||||
MainForm.Instance.AddToActionsList($"Could not find spreadsheet :( {Level.ERROR}");
|
||||
MainForm.Instance.AddToActionsList($"Could not find spreadsheet :( ", Level.ERROR);
|
||||
return "Spreadsheet not found";
|
||||
}
|
||||
|
||||
@@ -213,7 +213,7 @@ namespace AiQ_GUI
|
||||
{
|
||||
if (!File.Exists(FilePath))
|
||||
{
|
||||
MainForm.Instance.AddToActionsList($"Could not find spreadsheet :( {Level.ERROR}");
|
||||
MainForm.Instance.AddToActionsList($"Could not find spreadsheet :( ", Level.ERROR);
|
||||
return $"Spreadsheet not found{ Level.ERROR}"
|
||||
;
|
||||
}
|
||||
@@ -251,7 +251,7 @@ namespace AiQ_GUI
|
||||
{
|
||||
if (!File.Exists(filePath))
|
||||
{
|
||||
MainForm.Instance.AddToActionsList($"Could not find RMA Control spreadsheet :({Level.ERROR}");
|
||||
MainForm.Instance.AddToActionsList($"Could not find RMA Control spreadsheet :(", Level.ERROR);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -293,7 +293,7 @@ namespace AiQ_GUI
|
||||
{
|
||||
if (!File.Exists(filePath))
|
||||
{
|
||||
MainForm.Instance.AddToActionsList($"Could not find spreadsheet :( {Level.ERROR}");
|
||||
MainForm.Instance.AddToActionsList($"Could not find spreadsheet :( ", Level.ERROR);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -329,7 +329,7 @@ namespace AiQ_GUI
|
||||
{
|
||||
if (!File.Exists(filePath))
|
||||
{
|
||||
MainForm.Instance.AddToActionsList($"Could not find spreadsheet :({Level.ERROR}");
|
||||
MainForm.Instance.AddToActionsList($"Could not find spreadsheet :(", Level.ERROR);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@@ -344,7 +344,7 @@ namespace AiQ_GUI
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MainForm.Instance.AddToActionsList($"Error checking next free row: {Level.ERROR}" + ex.Message);
|
||||
MainForm.Instance.AddToActionsList($"Error checking next free row:" + ex.Message, Level.ERROR);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user