Допилил добавление принтера, сделал опрос принтеров сколько что они напечатали

This commit is contained in:
Hukuta committed 2026-05-10 21:03:55 +09:00
1 parent b492435289
commit 4fbc39ca77
62 files changed
+5298 -105

No files matched your search

+4 -1
View File
@@ -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();
}
}
+9
View File
@@ -0,0 +1,9 @@
using CartriX.Shared.Models;
namespace CartriX.Api.Interfaces
{
public interface IReportService
{
public Task<List<LogPrinters>> GetReportToDatePerCountPrinted();
}
}
+10
View File
@@ -0,0 +1,10 @@
using CartriX.Shared.Models;
using System.Net;
namespace CartriX.Api.Interfaces
{
public interface ISnmpService
{
Task UpdateDataInDatabaseAsync();
}
}