add: 提交
This commit is contained in:
77
crontask/pm/schema/pm-schema.go
Normal file
77
crontask/pm/schema/pm-schema.go
Normal file
@@ -0,0 +1,77 @@
|
||||
// Code generated by xgen. DO NOT EDIT.
|
||||
|
||||
package pmschema
|
||||
|
||||
import "encoding/xml"
|
||||
|
||||
// FileHeader ...
|
||||
type FileHeader struct {
|
||||
TimeStamp string `xml:"TimeStamp"`
|
||||
TimeZone string `xml:"TimeZone"`
|
||||
Period int `xml:"Period"`
|
||||
VendorName string `xml:"VendorName"`
|
||||
ElementType string `xml:"ElementType"`
|
||||
PmVersion string `xml:"PmVersion"`
|
||||
StartTime string `xml:"StartTime"`
|
||||
}
|
||||
|
||||
// N ...
|
||||
type N struct {
|
||||
IAttr int `xml:"i,attr"`
|
||||
Value string `xml:",chardata"`
|
||||
}
|
||||
|
||||
// PmName ...
|
||||
type PmName struct {
|
||||
N []N `xml:"N"`
|
||||
}
|
||||
|
||||
// V ...
|
||||
type V struct {
|
||||
IAttr int `xml:"i,attr"`
|
||||
Value string `xml:",chardata"`
|
||||
}
|
||||
|
||||
// NV ...
|
||||
type NV struct {
|
||||
XMLName xml.Name `xml:"-"`
|
||||
SN string `xml:"SN"`
|
||||
SV string `xml:"SV"`
|
||||
}
|
||||
|
||||
// CV ...
|
||||
type CV struct {
|
||||
IAttr int `xml:"i,attr"`
|
||||
// NV []NV `xml:"NV"`
|
||||
SN []string `xml:"SN"`
|
||||
SV []string `xml:"SV"`
|
||||
}
|
||||
|
||||
// Object ...
|
||||
type Object struct {
|
||||
RmUIDAttr string `xml:"rmUID,attr"`
|
||||
DnAttr string `xml:"Dn,attr"`
|
||||
UserLabelAttr string `xml:"UserLabel,attr"`
|
||||
V []V `xml:"V"`
|
||||
CV []CV `xml:"CV"`
|
||||
}
|
||||
|
||||
// PmData ...
|
||||
type PmData struct {
|
||||
Object Object `xml:"Object"`
|
||||
}
|
||||
|
||||
// Measurements ...
|
||||
type Measurements struct {
|
||||
ObjectType string `xml:"ObjectType"`
|
||||
PmName PmName `xml:"PmName"`
|
||||
PmData PmData `xml:"PmData"`
|
||||
}
|
||||
|
||||
// PmFile ...
|
||||
type PmFile struct {
|
||||
FileHeader FileHeader `xml:"FileHeader"`
|
||||
Measurements []Measurements `xml:"Measurements"`
|
||||
XsAttr string `xml:"xmlns:xs,attr"`
|
||||
XsiAttr string `xml:"xmlns:xsi,attr"`
|
||||
}
|
||||
Reference in New Issue
Block a user