First thanks for this well done Project. I will be glad if I an contribute
to this project.
I got a BACnetException when reading a PriorityArray.
The problem was that PriorityValue was not taking inconsideration of the
closing Tag. So I changed PriorityArray Class, see last two lines. Please
see comment. I'm still a newbie and perhaps this could be solved in a
better way. But now it works.
regards
Galea
package com.serotonin.bacnet4j.type.constructed;
import java.util.ArrayList;
import java.util.List;
import com.serotonin.bacnet4j.exception.BACnetException;
import com.serotonin.util.queue.ByteQueue;
public class PriorityArray extends SequenceOf<PriorityValue> {
public PriorityArray() {
super(new ArrayList<PriorityValue>());
}
public PriorityArray(List<PriorityValue> priorityValues) {
super(priorityValues);
}
public PriorityArray(ByteQueue queue) throws BACnetException {
super(queue, PriorityValue.class, 4); // GALEA we have to stop on
context 4
}
}
Nobody/Anonymous
None
None
Public
|
Date: 2009-11-22 02:20 This Tracker item was closed automatically by the system. It was |
|
Date: 2009-11-07 22:47 Can you please describe the BACnetError you were getting and why hardcoding |
| Field | Old Value | Date | By |
|---|---|---|---|
| close_date | 2009-11-07 22:47 | 2009-11-22 02:20 | sf-robot |
| allow_comments | 1 | 2009-11-22 02:20 | sf-robot |
| status_id | Pending | 2009-11-22 02:20 | sf-robot |
| close_date | - | 2009-11-07 22:47 | mlohbihler |
| status_id | Open | 2009-11-07 22:47 | mlohbihler |