diff --git a/Windup.SerialTalker/EventArgs/DataRxEventArgs.cs b/Windup.SerialTalker/EventArgs/DataRxEventArgs.cs index b364bb4..6e8ab82 100644 --- a/Windup.SerialTalker/EventArgs/DataRxEventArgs.cs +++ b/Windup.SerialTalker/EventArgs/DataRxEventArgs.cs @@ -7,11 +7,13 @@ namespace Windup.SerialTalker { public class DataRxEventArgs: EventArgs { - private byte _data; - public byte Data { get { return _data; } } - public DataRxEventArgs(byte data) - { - _data = data; - } + public DataRxEventArgs () + { + } + + public byte Data { + get; + set; + } } }