mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 04:20:55 +00:00
Сделал страничку для добавления принтера, так же добавил несколько доп классов, а так же марщрут для получения информации на указанный OID по SNMP
This commit is contained in:
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
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user