| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- package devices
- import "server/dao"
- type SearchInfo struct {
- Page int `json:"page" form:"page"` // 页码
- PageSize int `json:"pageSize" form:"pageSize"` // 每页大小
- ProjectId uint `json:"projectId" form:"projectId"` //关键字1
- Sn string `json:"sn" form:"sn"` //关键字2
- }
- type ReqScreens struct {
- ID uint `json:"id"` //ID
- ScreensName string `json:"screensName"` //名称
- Sn string `json:"sn"` //设备sn
- ProjectId uint `json:"projectId"` //归属项目id
- IpAddress string `json:"ipAddress"` //ip地址
- Remark string `json:"remark"` //备注
- }
- type ProgramReq struct {
- DeviceSn string `json:"deviceSn"`
- Program dao.Program `json:"program"`
- }
- type SoundPeriodReq struct {
- DeviceSn string `json:"deviceSn"`
- SoundPeriod dao.SoundPeriod `json:"soundPeriod"`
- }
- type SetDisContent struct {
- Num string `json:"num"`
- Effect string `json:"effect"`
- Speed string `json:"speed"`
- Stay string `json:"stay"`
- Total string `json:"total"`
- Color string `json:"color"`
- Content string `json:"content"`
- }
- type DiscontentJSON struct {
- Setdiscontent0 SetDisContent `json:"setdiscontent0"`
- }
- type SetPeropdtime struct {
- Time string `json:"time"`
- Period0 dao.IntArray `json:"period0"`
- Period1 dao.IntArray `json:"period1"`
- Period2 dao.IntArray `json:"period2"`
- Period3 dao.IntArray `json:"period3"`
- Period4 dao.IntArray `json:"period4"`
- Period5 dao.IntArray `json:"period5"`
- Period6 dao.IntArray `json:"period6"`
- Period7 dao.IntArray `json:"period7"`
- }
- type PeriodtimeJSON struct {
- Setperiodtime0 SetPeropdtime `json:"setperiodtime0"`
- }
- type VoiceReq struct {
- DeviceSn string `json:"deviceSn"`
- Voice dao.Voice `json:"voice"`
- }
- type VoiceJSON struct {
- Audionumset0 SetVoice `json:"audionumset0"`
- }
- type SetVoice struct {
- Num0 string `json:"num0"`
- Num1 string `json:"num1"`
- Num2 string `json:"num2"`
- Num3 string `json:"num3"`
- Num4 string `json:"num4"`
- }
- type JSONForm struct {
- Sn string `json:"sn"`
- Json string `json:"json"`
- }
|