feat: add property_control.rs
This commit is contained in:
parent
e4b508ae86
commit
3b6b5d7548
2 changed files with 16 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
use crate::packet::packet_data::PacketData;
|
||||
|
||||
pub mod node_management;
|
||||
pub mod property_control;
|
||||
|
||||
pub trait Command: Into<PacketData> + From<PacketData> {}
|
||||
|
|
15
domo_proto/src/commands/property_control.rs
Normal file
15
domo_proto/src/commands/property_control.rs
Normal file
|
@ -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,
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue