mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 12:30:55 +00:00
18 lines
688 B
C#
18 lines
688 B
C#
using CartriX.Shared.DTOs.Printer;
|
|
using CartriX.Shared.Models;
|
|
|
|
namespace CartriX.Api.Interfaces
|
|
{
|
|
public interface IPrinterService
|
|
{
|
|
public Task<List<Printer>> GetAll();
|
|
public Task<Printer?> GetById(int id);
|
|
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();
|
|
}
|
|
}
|