diff --git a/domo_proto/src/commands/mod.rs b/domo_proto/src/commands/mod.rs index 145d886..07461e3 100644 --- a/domo_proto/src/commands/mod.rs +++ b/domo_proto/src/commands/mod.rs @@ -1,5 +1,6 @@ use crate::packet::packet_data::PacketData; pub mod node_management; +pub mod property_control; pub trait Command: Into + From {} diff --git a/domo_proto/src/commands/property_control.rs b/domo_proto/src/commands/property_control.rs new file mode 100644 index 0000000..b7e4c55 --- /dev/null +++ b/domo_proto/src/commands/property_control.rs @@ -0,0 +1,15 @@ +use crate::packet::data_types::DataType; + +pub enum PropertyControl { + Get { + property_name: String, + data: DataType + }, + Set { + property_name: String, + data: DataType + }, + Reset { + property_name: String, + } +} \ No newline at end of file