MQTTListener/models/mo.go

18 lines
268 B
Go
Raw Normal View History

2020-08-31 07:01:40 +02:00
package models
type Mo struct {
ID MoID `json:"id"`
MO MoMO `json:"mo"`
}
type MoID struct {
PTU4_MAC string
PTU4_SN string
}
type MoMO struct {
Action string `json:"action"`
Description string `json:"description"`
Number string `json:"number"`
}