Skip to main content

bacnet_rs/object/
reliability.rs

1use crate::generate_custom_enum;
2
3generate_custom_enum!(
4    /// Reliability enumeration
5    Reliability {
6        NoFaultDetected = 0,
7        NoSensor = 1,
8        OverRange = 2,
9        UnderRange = 3,
10        OpenLoop = 4,
11        ShortedLoop = 5,
12        NoOutput = 6,
13        UnreliableOther = 7,
14        ProcessError = 8,
15        MultiStateFault = 9,
16        ConfigurationError = 10,
17    },
18    u32,
19    64..=65535
20);