From 6ec575c70fb5445a0dfad93dd15209342e028602 Mon Sep 17 00:00:00 2001 From: venizelou andreas Date: Tue, 20 Aug 2024 00:19:20 +0300 Subject: [PATCH] Issues, SNMP --- Protest/Workers/Issues.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Protest/Workers/Issues.cs b/Protest/Workers/Issues.cs index 46ff5edf..06c59bbf 100644 --- a/Protest/Workers/Issues.cs +++ b/Protest/Workers/Issues.cs @@ -197,7 +197,11 @@ public static void ScanDevice(KeyValuePair device) { } else if (Data.PRINTER_TYPES.Contains(typeAttribute?.value)) { - + if (CheckPrinterComponent(device.Value, out Issue[] printerIssues) && issue.HasValue) { + for (int i = 0; i < printerIssues.Length; i++) { + issues.Add(printerIssues[i]); + } + } } else if (Data.SWITCH_TYPES.Contains(typeAttribute?.value)) {