#[allow(unused)]
mod opcua {
pub(super) use crate as types;
}
#[opcua::types::ua_encodable]
#[derive(Debug, Clone, PartialEq, Default)]
pub struct Range {
pub low: f64,
pub high: f64,
}
impl opcua::types::MessageInfo for Range {
fn type_id(&self) -> opcua::types::ObjectId {
opcua::types::ObjectId::Range_Encoding_DefaultBinary
}
fn json_type_id(&self) -> opcua::types::ObjectId {
opcua::types::ObjectId::Range_Encoding_DefaultJson
}
fn xml_type_id(&self) -> opcua::types::ObjectId {
opcua::types::ObjectId::Range_Encoding_DefaultXml
}
fn data_type_id(&self) -> opcua::types::DataTypeId {
opcua::types::DataTypeId::Range
}
}