фывфывфыв

This commit is contained in:
Hukuta committed 2026-05-22 01:21:04 +09:00
1 parent 47fb655a96
commit e8529ee92a
46 files changed
+2514 -919

No files matched your search

+2 -1
View File
@@ -4,7 +4,7 @@ namespace CartriX.Shared
{
public class ApiRoutes
{
static string baseUrl = "http://192.168.0.26:5917/api";
static string baseUrl = "http://localhost:5197/api";
static public class Cartridge
{
public static string Add => $"{baseUrl}/{nameof(Cartridge)}/{nameof(Add)}";
@@ -33,6 +33,7 @@ namespace CartriX.Shared
public static string Item => $"{baseUrl}/{nameof(Printer)}/{nameof(Item)}";
public static string Models => $"{baseUrl}/{nameof(Printer)}/{nameof(Models)}";
public static string PrintTypes => $"{baseUrl}/{nameof(Printer)}/{nameof(PrintTypes)}";
public static string ConnectionTypes => $"{baseUrl}/{nameof(Printer)}/{nameof(ConnectionTypes)}";
}
public static class Snmp
{
+21 -9
View File
@@ -6,24 +6,36 @@ namespace CartriX.Shared.DTOs.Printer
{
public int id { get; set; }
public string name { get; set; } = null!;
public string ipAddress { get; set; } = null!;
public string ipAddressOrHostname { get; set; } = null!;
public string modelName { get; set; } = null!;
public int statusId { get; set; }
}
public class Add()
{
public string name { get; set; } = null!;
public string hostname { get; set; } = null!;
public string ipAddress { get; set; } = null!;
public string modelName { get; set; } = null!;
public string locationValue { get; set; } = null!;
public string typePrintId { get; set; } = null!;
public string oidForQueryCountPrintedAllTime { get; set; } = null!;
public string countPrintedAllTime { get; set; } = null!;
public List<string> cartridgeArticleNames { get; set; } = new();
public int connectionTypeId { get; set; }
public int countPrintedAllTime { get; set; }
public string? ipAddressOrHostname { get; set; }
public string locationName { get; set; } = string.Empty;
public string manufacturerName { get; set; } = string.Empty;
public string modelName { get; set; } = string.Empty;
public string name { get; set; } = string.Empty;
public string? oidForQueryCountPrintedAllTime { get; set; }
public int printTypeId { get; set; }
}
public class PrintType
{
public int id { get; set; }
public string name { get; set; } = null!;
}
public class ConnectionType
{
public int id { get; set; }
public string name { get; set; } = null!;
}
public class Item
{
public int id { get; set; }
}
}