Skip to content

Commit

Permalink
code refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
gc87 committed Jun 11, 2015
1 parent 05b4266 commit 56ad6db
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions Windup.SerialTalker/EventArgs/DataRxEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}

0 comments on commit 56ad6db

Please sign in to comment.