Skip to content

Commit

Permalink
Updated interface
Browse files Browse the repository at this point in the history
  • Loading branch information
sjalex committed Jun 1, 2009
1 parent 5b697e8 commit 9e65ea8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,7 @@ public byte FunctionCode

public ushort NumberOfPoints { get; set; }

public Func<byte[], int> RtuResponseBytesRemaining
{
get
{
return frameStart => frameStart[2] + 1;
}
}

public Func<byte[], int> RtuRequestBytesRemaining
public Func<byte[], int> RtuBytesRemaining
{
get
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,22 +75,14 @@ public byte FunctionCode

public byte ByteCount { get; set; }

public Func<byte[], int> RtuResponseBytesRemaining
public Func<byte[], int> RtuBytesRemaining
{
get
{
return frameStart => frameStart[2] + 1;
}
}

public Func<byte[], int> RtuRequestBytesRemaining
{
get
{
return frameStart => 1;
}
}

public void Initialize(byte[] frame)
{
if (frame == null)
Expand Down

0 comments on commit 9e65ea8

Please sign in to comment.