bacure.coerce.type.constructed

*detailed-property-value*

dynamic

If true, conversions from bacnet4j will include the
property-array-index and the value's priority.

accumulator-status-map

Map of keywords and associated integer values.

c-access-rule

(c-access-rule value)

c-accumulator-record

(c-accumulator-record value)

c-action-command

(c-action-command {:keys [device-identifier object-identifier property-identifier property-array-index property-value priority post-delay quit-on-failure write-successful]})

c-action-list

(c-action-list coll)

c-daily-schedule

(c-daily-schedule value)

c-date-time

(c-date-time string)

c-device-object-property-reference

(c-device-object-property-reference [device-object-identifier object-property-reference])

c-device-object-reference

(c-device-object-reference [device-identifier object-identifier])

c-event-transition-bits

(c-event-transition-bits {:keys [to-fault to-normal to-offnormal], :or {to-fault false, to-normal false, to-offnormal false}})

c-limit-enable

(c-limit-enable {:keys [high-limit-enable low-limit-enable], :or {high-limit-enable false, low-limit-enable false}})

c-log-record

(c-log-record {:keys [timestamp type value status-flags], :or {type :real, value 0}})

c-object-property-reference

(c-object-property-reference [object-identifier property-reference])

c-object-types-supported

(c-object-types-supported smap)

c-property-reference

(c-property-reference property-reference)
Make a property reference. Argument can be of the forms:
[<property-identifer> <array-index>]
<property-identifier>

c-property-value

(c-property-value m)
Encode the property-value object. The value must already be a bacnet4j object.

Accept 2 forms. The simple form is the one usually returned when
converting the bacnet4j object into a clojure datastructure.

The complex:
- {:property-identifier ...,
   :property-array-index ...,
   :value ...,
   :priority ...}

Or simple:
- [property-identifier value]

c-property-value*

(c-property-value* m)

c-read-access-specification

(c-read-access-specification object-identifier property-references)
As property-references, will accept:
<property-identifier>
[<property-identifier> <property-identifier>]
[[<property-identifier> <array-index>] [<property-identifier> <array-index>]]

c-recipient

(c-recipient v)

c-services-supported

(c-services-supported smap)

c-setpoint-reference

(c-setpoint-reference object-property-reference)

c-simple-property-value

(c-simple-property-value vectors)

c-status-flags

(c-status-flags {:keys [in-alarm fault overridden out-of-service], :or {in-alarm false, fault false, overridden false, out-of-service false}})

c-time-value

(c-time-value value)

coerce-supported

(coerce-supported java-object smap)

location-specifier-map

Map of keywords and associated integer values.

object-types-supported

services-supported

List of services associated with their bit-string value. We need to
keep the ordering here, so no map.

simple-coerce-supported

(simple-coerce-supported java-object smap)

time-range-specifier-map

Map of keywords and associated integer values.

with-detailed-property-value

macro

(with-detailed-property-value & body)
Property-value(s), instead of being converted to
'[property-identifier value]'

Will get some additional values:
{:property-identifier ...,
 :property-array-index ...,
 :value ...,
 :priority ...}.