refactoring
This commit is contained in:
13
upnp/statevariable/statevariable_Volume.go
Normal file
13
upnp/statevariable/statevariable_Volume.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package stateVariables
|
||||
|
||||
var Volume = func() *StateVariable {
|
||||
|
||||
vol := StateType_UI2.NewStateValue("Volume")
|
||||
|
||||
vol.SetRange(0, 100)
|
||||
vol.SetStep(1)
|
||||
|
||||
vol.SetSendingEvents()
|
||||
|
||||
return vol
|
||||
}()
|
||||
Reference in New Issue
Block a user