Add project files.
This commit is contained in:
22
Inspectron.Epson/DiscoveredPrinter.cs
Normal file
22
Inspectron.Epson/DiscoveredPrinter.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
namespace Inspectron.Epson;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a discovered Epson printer
|
||||
/// </summary>
|
||||
public class DiscoveredPrinter
|
||||
{
|
||||
public string ModelName { get; set; }
|
||||
public string IPAddress { get; set; }
|
||||
public string MACAddress { get; set; }
|
||||
public int Port { get; set; }
|
||||
public DateTime DiscoveredAt { get; set; }
|
||||
public byte[] RawResponse { get; set; }
|
||||
public string ServiceUrl { get; set; }
|
||||
public ushort Lifetime { get; set; }
|
||||
public string ServiceType { get; set; }
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return $"Model: {ModelName}, IP: {IPAddress}, MAC: {MACAddress}, Type: {ServiceType}";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user