Skip to content

Commit 529923f

Browse files
authored
Merge pull request #6 from chipkin/readability
Updated readme, comments, and help/quit functionality
2 parents 1bc9071 + b0dcb4e commit 529923f

File tree

4 files changed

+194
-39
lines changed

4 files changed

+194
-39
lines changed

BACnetServerExample/BACnetServerExampleDatabase.cs

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
1-
using BACnetServerExample;
1+
/*
2+
* BACnet Server Example C#
3+
* ----------------------------------------------------------------------------
4+
* BACnetServerExampleDatabase.cs
5+
*
6+
* Sets up object names and properties in the database.
7+
*
8+
* Created by: Steven Smethurst
9+
* Created on: June 7, 2019
10+
* Last updated: June 17, 2020
11+
*/
12+
13+
using BACnetServerExample;
214
using CASBACnetStack;
315
using System;
416
using System.Collections.Generic;
@@ -166,8 +178,9 @@ public void Setup()
166178
this.Device.description = "This is the example description";
167179
this.Device.vendorIdentifiier = 389; // 389 is Chipkin's vendorIdentifiier
168180
this.Device.vendorName = "Chipkin Automation Systems";
169-
this.Device.modelName = "Windows-BACnetServerExampleCSharp";
181+
this.Device.modelName = "BACnetServerExampleCSharp";
170182

183+
// Setup objects with default values
171184
for (UInt32 offset = 0; offset < this.AnalogInput.Length; offset++)
172185
{
173186
this.AnalogInput[offset] = new ExampleDatabaseAnalog();

0 commit comments

Comments
 (0)