Skip to content

Commit

Permalink
Removed incorrectly copy and pasted code
Browse files Browse the repository at this point in the history
  • Loading branch information
ssmethurst committed Sep 15, 2020
1 parent cbc2312 commit 4e06e62
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions BACnetServerExample/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -644,12 +644,7 @@ public bool CallbackGetUnsignedInteger(UInt32 deviceInstance, UInt16 objectType,
case CASBACnetStackAdapter.OBJECT_TYPE_DEVICE:
if (deviceInstance == database.Device.instance && objectInstance == database.Device.instance)
{
if (propertyIdentifier == CASBACnetStackAdapter.PROPERTY_IDENTIFIER_OBJECT_NAME)
{
*value = database.Device.vendorIdentifiier;
return true;
}
else if (propertyIdentifier == CASBACnetStackAdapter.PROPERTY_IDENTIFIER_PROTOCOLREVISION)
if (propertyIdentifier == CASBACnetStackAdapter.PROPERTY_IDENTIFIER_PROTOCOLREVISION)
{
*value = database.Device.protocolRevision;
return true;
Expand Down

0 comments on commit 4e06e62

Please sign in to comment.