[Logo] Mango Community
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Differences between the Properties of diverse bacNetDevice Manufacturer  XML
Forum Index » BACnet4J general discussion
Author Message
el_dios

Initiate

Joined: 22/06/2012 14:50:03
Messages: 1
Offline

Hello,

You cant use the same code for different Manufactorers.

So I want to set up a Properties File from which you can get the correct and neccessary values to control a device.

so i have a map with

key: String (manufacturer)
value: Propertie

so i got maybe a file called: ManufacturerA.properties :

temperature_sensor= ???
open_window= ???


In another class i have some methods, for example: getTemperature(RemoteDevice d, String manufactorer)
so i send a ReadPropertyRequest in this method using the value of the entry of temperature_sensor, so that i can get the ObjectIdentifier from it

my question is: Do different manufacturers's devices only differ in ObjectIdentifier, or do they also differ in ObjectType or in a writePropertyRequest in

PropertyIdentifier propertyIdentifier,
UnsignedInteger propertyArrayIndex

( so i want to know what i have to write as value into the properties

 
Forum Index » BACnet4J general discussion
Go to:   
Powered by JForum 2.1.9 © JForum Team