MangoAutomation / BACnet4J

BACnet/IP stack written in Java. Forked from http://sourceforge.net/projects/bacnet4j/
GNU General Public License v3.0
183 stars 110 forks source link

Cannot find RemoteDevice' set methods #12

Open PingNote opened 7 years ago

PingNote commented 7 years ago

In the following files

RemoteDevice.setName(String)
RemoteDevice.setProtocolVersion(com.serotonin.bacnet4j.type.primitive.UnsignedInteger)
RemoteDevice.setProtocolRevision(com.serotonin.bacnet4j.type.primitive.UnsignedInteger)
RemoteDevice.setSegmentationSupported(com.serotonin.bacnet4j.type.enumerated.Segmentation)
RemoteDevice.setServicesSupported(com.serotonin.bacnet4j.type.constructed.ServicesSupported)

Are these methods obsolete or deprecated?

mlohbihler commented 7 years ago

Code in src_test is deprecated, and may not work. There has been no effort to update it along with the main source. The preference has been to create unit tests instead, and to use those as a source of knowledge for how to use the main code. There were however cases where src_test code has been moved to test when it had some particular value. If you feel there is something you need to know that is not addressed by any test code, please feel free to describe.