16 lines
243 B
Go
16 lines
243 B
Go
package commands
|
|
|
|
import (
|
|
"fmt"
|
|
"git.aiterp.net/lucifer3/server/device"
|
|
)
|
|
|
|
type SetState struct {
|
|
ID string
|
|
State device.State
|
|
}
|
|
|
|
func (c SetState) CommandDescription() string {
|
|
return fmt.Sprintf("SetState(%s, %s)", c.ID, c.State)
|
|
}
|