initial upload
This commit is contained in:
parent
a0aa9cc28e
commit
f857f43df4
553 changed files with 46169 additions and 13 deletions
30
src/Agent/Insight.Agent.Assets/Messages/Printer/Printer.cs
Normal file
30
src/Agent/Insight.Agent.Assets/Messages/Printer/Printer.cs
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
using MemoryPack;
|
||||
|
||||
namespace Insight.Agent.Messages
|
||||
{
|
||||
[MemoryPackUnion(140, typeof(Printer))]
|
||||
[MemoryPackUnion(141, typeof(PrinterList))]
|
||||
public partial interface IAgentMessage { }
|
||||
|
||||
[MemoryPackable]
|
||||
public partial class Printer : IAgentMessage
|
||||
{
|
||||
[MemoryPackOrder(0)]
|
||||
public string? Name { get; set; }
|
||||
|
||||
[MemoryPackOrder(1)]
|
||||
public string? Driver { get; set; }
|
||||
|
||||
[MemoryPackOrder(2)]
|
||||
public string? Port { get; set; }
|
||||
|
||||
[MemoryPackOrder(3)]
|
||||
public string? Location { get; set; }
|
||||
|
||||
[MemoryPackOrder(4)]
|
||||
public string? Comment { get; set; }
|
||||
}
|
||||
|
||||
[MemoryPackable(GenerateType.Collection)]
|
||||
public partial class PrinterList : List<Printer>, IAgentMessage { }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue