2025-01-24 18:26:20 +08:00
|
|
|
|
package manscdp
|
|
|
|
|
|
|
|
|
|
import "encoding/xml"
|
|
|
|
|
|
2025-01-25 15:53:25 +08:00
|
|
|
|
// MessageReq 定义了查询消息的请求结构体,使用XML格式进行序列化和反序列化
|
2025-01-24 18:26:20 +08:00
|
|
|
|
type MessageReq struct {
|
|
|
|
|
XMLName xml.Name `xml:"Query"`
|
|
|
|
|
CmdType string `xml:"CmdType"`
|
|
|
|
|
SN string `xml:"SN"`
|
|
|
|
|
DeviceID string `xml:"DeviceID"`
|
|
|
|
|
}
|