OSDP.Net 5.2.1
A .NET library for implementing the Open Supervised Device Protocol (OSDP)
Loading...
Searching...
No Matches
ReturnReplyData.cs
2{
7 public class ReturnReplyData<T>
8 {
10 public bool Ack { get; internal set; }
11
13 public T ReplyData { get; internal set; }
14
16 public override string ToString()
17 {
18 if (Ack)
19 {
20 return "Ack";
21 }
22
23 return ReplyData?.ToString();
24 }
25 }
26}
T ReplyData
Contains expected reply data type if returned.
bool Ack
True if Ack reply is returned.