完成待机基本功能
This commit is contained in:
@@ -5,25 +5,25 @@ type WaitType int
|
||||
const (
|
||||
WaitAudio WaitType = iota
|
||||
WaitVideo
|
||||
WaitWeb
|
||||
WaitTTS
|
||||
WaitRelay
|
||||
WaitWeb
|
||||
)
|
||||
|
||||
type TimeModel struct {
|
||||
Start int64
|
||||
End int64
|
||||
Start int64 `json:"start"`
|
||||
End int64 `json:"end"`
|
||||
}
|
||||
|
||||
type WaitItemModel struct {
|
||||
TimeModel
|
||||
Type WaitType
|
||||
Data string
|
||||
Interval int64
|
||||
Type WaitType `json:"type"`
|
||||
Data string `json:"data"`
|
||||
Interval int64 `json:"interval"`
|
||||
}
|
||||
|
||||
type WaitModel struct {
|
||||
JsonModel
|
||||
TimeModel
|
||||
Items []WaitItemModel
|
||||
Items []WaitItemModel `json:"items"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user