фывфывфыв

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

+11 -13
View File
@@ -5,7 +5,7 @@
private readonly Entities.Printer _printer = printer;
public int id => _printer.id;
public string name => _printer.name;
public string ipAddress => _printer.ipAddress;
public string? ipAddressOrHostname => _printer.ipAddressOrHostname;
public string modelName => _printer.model.name;
public int statusId => _printer.statusId;
}
@@ -14,27 +14,25 @@
private readonly Entities.Printer _printer = printer;
public string name => _printer.name;
}
public class GetToAdd()
public class GetToAdd
{
public string? name { get; set; }
public string? hostname { get; set; }
public string? model { get; set; }
public string? location { get; set; }
public string ipAddress { get; set; } = null!;
public string typePrintId { get; set; } = null!;
}
public class AddPrinter()
public class AddPrinter
{
public string name { get; set; } = null!;
public string hostname { get; set; } = null!;
public string ipAddress { get; set; } = null!;
public string? ipAddressOrHostname { get; set; }
public int countPrintedAllTime { get; set; }
public string? oidForQueryCountPrintedAllTime { get; set; }
public int printTypeId { get; set; }
public string manufacturerName { get; set; } = null!;
public string modelName { get; set; } = null!;
public string manufacturer { get; set; } = null!;
public List<string> cartridgeArticles { 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 int connectionTypeId { get; set; }
public List<string> cartridgeArticleNames { get; set; } = null!;
public string locationName { get; set; } = null!;
}
public class PrintTypes(Entities.PrintType printType)
{