mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 20:40:55 +00:00
Допилил добавление принтера, сделал опрос принтеров сколько что они напечатали
This commit is contained in:
1 parent
b492435289
commit
4fbc39ca77
62 files changed
+5298
-105
No files matched your search
@@ -7,8 +7,11 @@ namespace CartriX.Api.Interfaces
|
||||
{
|
||||
public Task<List<Printer>> GetAll();
|
||||
public Task<Printer?> GetById(int id);
|
||||
public Task<Printer> AddAsync(CreatePrinterRequestDto requestDto);
|
||||
public Task<Printer> AddPrinterAsync(CreatePrinterRequestDto requestDto);
|
||||
public Task<QueryPrinterToAdd?> GetPrinterListParametersFromSNMPAsync(string ipAddressOrHostname);
|
||||
public Task<string> GetQueryPrintAllDataFromSnmpAsync(string ipAddress, string Oid);
|
||||
public Task<List<PrinterModel>> GetAllPrinterModel();
|
||||
public Task<List<PrintType>> GetAllPrintTypes();
|
||||
string ChangeLocationDataSNMP();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
using CartriX.Shared.Models;
|
||||
|
||||
namespace CartriX.Api.Interfaces
|
||||
{
|
||||
public interface IReportService
|
||||
{
|
||||
public Task<List<LogPrinters>> GetReportToDatePerCountPrinted();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
using CartriX.Shared.Models;
|
||||
using System.Net;
|
||||
|
||||
namespace CartriX.Api.Interfaces
|
||||
{
|
||||
public interface ISnmpService
|
||||
{
|
||||
Task UpdateDataInDatabaseAsync();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user