Сделал страничку для добавления принтера, так же добавил несколько доп классов, а так же марщрут для получения информации на указанный OID по SNMP

This commit is contained in:
Hukuta committed 2026-05-31 22:49:06 +09:00
1 parent a21834508d
commit 6e0d61aa6e
22 files changed
+348 -23

No files matched your search

@@ -29,6 +29,16 @@ namespace CartriX.Api.Controllers.Cartridge
Model = printer.Model.ToItem(),
StatusId = printer.StatusId
};
public static Shared.Models.Printer.PrinterConnectionTypeItem ToItem(this Entities.PrinterConnetctionType type) => new()
{
Id = type.Id,
Name = type.Name
};
public static Shared.Models.Printer.PrinterPrintTypeItem ToItem(this Entities.PrinterPrintType type) => new()
{
Id = type.Id,
Name = type.Name
};
}
}