Skip to content

Commit 4e06e62

Browse files
committed
Removed incorrectly copy and pasted code
1 parent cbc2312 commit 4e06e62

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

BACnetServerExample/Program.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -644,12 +644,7 @@ public bool CallbackGetUnsignedInteger(UInt32 deviceInstance, UInt16 objectType,
644644
case CASBACnetStackAdapter.OBJECT_TYPE_DEVICE:
645645
if (deviceInstance == database.Device.instance && objectInstance == database.Device.instance)
646646
{
647-
if (propertyIdentifier == CASBACnetStackAdapter.PROPERTY_IDENTIFIER_OBJECT_NAME)
648-
{
649-
*value = database.Device.vendorIdentifiier;
650-
return true;
651-
}
652-
else if (propertyIdentifier == CASBACnetStackAdapter.PROPERTY_IDENTIFIER_PROTOCOLREVISION)
647+
if (propertyIdentifier == CASBACnetStackAdapter.PROPERTY_IDENTIFIER_PROTOCOLREVISION)
653648
{
654649
*value = database.Device.protocolRevision;
655650
return true;

0 commit comments

Comments
 (0)