Skip to main content

bacnet_objects/binary/
mod.rs

1//! Binary Input (type 3), Binary Output (type 4), and Binary Value (type 5)
2//! objects per ASHRAE 135-2020 Clauses 12.6, 12.7, and 12.8.
3
4use alloc::borrow::Cow;
5use bacnet_types::enums::{
6    ErrorClass, ErrorCode, EventState, ObjectType, PropertyIdentifier, Reliability,
7};
8use bacnet_types::error::Error;
9use bacnet_types::primitives::{BACnetTimeStamp, ObjectIdentifier, PropertyValue, StatusFlags};
10
11use crate::common::{
12    self, read_common_properties, read_generic_event_properties, write_generic_event_properties,
13};
14use crate::event::{ChangeOfStateDetector, CommandFailureDetector, history::EventHistory};
15use crate::traits::BACnetObject;
16
17mod input;
18mod output;
19mod value;
20pub use input::*;
21pub use output::*;
22pub use value::*;
23
24#[cfg(test)]
25#[path = "tests/generic_event_properties.rs"]
26mod generic_event_properties_tests;