Documentation ¶
Overview ¶
Sep is a libary of IEEE 2030.5-2018 modes for clients and servers
Index ¶
- Constants
- type CustomerAccountListLink
- type DERProgramListLink
- type DemandResponseProgramListLink
- type DeviceCapability
- type EndDeviceListLink
- type FileListLink
- type FunctionSetAssignmentsBase
- type MessagingProgramListLink
- type MirrorUsagePointListLink
- type PrepaymentListLink
- type ResponseSetListLink
- type SelfDeviceLink
- type TariffProfileListLink
- type Time
- type TimeLink
- type TimeOffsetType
- type TimeType
- type UsagePointListLink
Constants ¶
View Source
const ( // A generic XML header suitable for use with the output of Marshal. // This is not automatically added to any output of this package, // it is provided as a convenience. Header = `<?xml version="1.0" encoding="UTF-8"?>` + "\n" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomerAccountListLink ¶
type DERProgramListLink ¶
type DeviceCapability ¶
type DeviceCapability struct { XMLName xml.Name `xml:"DeviceCapability"` Href string `xml:"href,attr"` PollRate int `xml:"pollRate,attr"` FunctionSetAssignmentsBase EndDevices *EndDeviceListLink MirrorUsagePoints *MirrorUsagePointListLink SelfDevice *SelfDeviceLink }
A DeviceCapability is returned by the URI provided by DNS-SD, to allow clients to find the URIs to the resources in which they are interested.
type EndDeviceListLink ¶
type EndDeviceListLink struct { XMLName xml.Name `xml:"EndDeviceListLink"` All uint `xml:"all,attr"` Href string `xml:"href,attr"` }
A EndDeviceListLink is a Link to a List of EndDevice instances
type FileListLink ¶
type FunctionSetAssignmentsBase ¶
type FunctionSetAssignmentsBase struct { CustomerAccounts *CustomerAccountListLink DemandResponsePrograms *DemandResponseProgramListLink DERPrograms *DERProgramListLink Files *FileListLink MessagingPrograms *MessagingProgramListLink Prepayments *PrepaymentListLink ResponseSets *ResponseSetListLink TariffProfiles *TariffProfileListLink Time *TimeLink UsagePoints *UsagePointListLink }
type MirrorUsagePointListLink ¶
type MirrorUsagePointListLink struct { XMLName xml.Name `xml:"MirrorUsagePointListLink"` All uint `xml:"all,attr"` Href string `xml:"href,attr"` }
A MirrorUsagePointListLink is a Link to a List of MirrorUsagePoint instances
type PrepaymentListLink ¶
type ResponseSetListLink ¶
type SelfDeviceLink ¶
type SelfDeviceLink struct { XMLName xml.Name `xml:"SelfDeviceLink"` Href string `xml:"href,attr"` }
A SelfDeviceLink is a Link to a SelfDevice instance
type TariffProfileListLink ¶
type Time ¶
type Time struct { XMLName xml.Name `xml:"Time"` Href string `xml:"href,attr"` PollRate int `xml:"rollRate"` CurrentTime TimeType `xml:"currentTime"` DstEndTime TimeType `xml:"dstEndTime"` DstOffset TimeType `xml:"dstOffset"` DstStartTime TimeType `xml:"dstStartTime"` LocalTime TimeType `xml:"localTime,omitempty"` Quality uint8 `xml:"quality"` TzOffset TimeOffsetType `xml:"txOffset"` }
type TimeOffsetType ¶
type TimeOffsetType int32
Click to show internal directories.
Click to hide internal directories.