AddToAction List colours

This commit is contained in:
2025-12-02 12:59:40 +00:00
parent e29d104d47
commit 30bd2fe73c
18 changed files with 171 additions and 160 deletions

View File

@@ -107,12 +107,12 @@ namespace AiQ_GUI
}
else
{
return "Last serial number not found";
return $"Last serial number not found{Level.ERROR}";
}
}
catch (Exception ex)
{
return $"ERROR: {ex.Message}";
return $"ERROR: {ex.Message}{Level.ERROR}";
}
}
@@ -148,12 +148,12 @@ namespace AiQ_GUI
}
else
{
return "Serial number not found";
return $"Serial number not found{Level.ERROR}";
}
}
catch (Exception ex)
{
return $"ERROR: {ex.Message}";
return $"ERROR: {ex.Message}{Level.ERROR}";
}
}
@@ -196,7 +196,7 @@ namespace AiQ_GUI
}
catch (Exception ex)
{
return "Failed to update spreadsheet data, please check manually" + ex.Message;
return $"Failed to update spreadsheet data, please check manually{Level.ERROR}" + ex.Message;
}
}
@@ -225,7 +225,7 @@ namespace AiQ_GUI
}
catch (Exception ex)
{
return "Failed to update spreadsheet data, please check manually" + ex.Message;
return $"Failed to update spreadsheet data, please check manually{Level.WARNING}" + ex.Message;
}
}