sep

package
v0.0.0-...-fef5706 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2024 License: CC0-1.0 Imports: 1 Imported by: 0

Documentation

Overview

Sep is a libary of IEEE 2030.5-2018 modes for clients and servers

Index

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 struct {
	XMLName xml.Name `xml:"CustomerAccountListLink"`
	All     uint     `xml:"all,attr"`
	Href    string   `xml:"href,attr"`
}
type DERProgramListLink struct {
	XMLName xml.Name `xml:"DERProgramListLink"`
	All     uint     `xml:"all,attr"`
	Href    string   `xml:"href,attr"`
}
type DemandResponseProgramListLink struct {
	XMLName xml.Name `xml:"DemandResponseProgramListLink"`
	All     uint     `xml:"all,attr"`
	Href    string   `xml:"href,attr"`
}

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 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 struct {
	XMLName xml.Name `xml:"FileListLink"`
	All     uint     `xml:"all,attr"`
	Href    string   `xml:"href,attr"`
}

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 MessagingProgramListLink struct {
	XMLName xml.Name `xml:"MessagingProgramListLink"`
	All     uint     `xml:"all,attr"`
	Href    string   `xml:"href,attr"`
}
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 struct {
	XMLName xml.Name `xml:"PrepaymentListLink"`
	All     uint     `xml:"all,attr"`
	Href    string   `xml:"href,attr"`
}
type ResponseSetListLink struct {
	XMLName xml.Name `xml:"ResponseSetListLink"`
	All     uint     `xml:"all,attr"`
	Href    string   `xml:"href,attr"`
}
type SelfDeviceLink struct {
	XMLName xml.Name `xml:"SelfDeviceLink"`
	Href    string   `xml:"href,attr"`
}

A SelfDeviceLink is a Link to a SelfDevice instance

type TariffProfileListLink struct {
	XMLName xml.Name `xml:"TariffProfileListLink"`
	All     uint     `xml:"all,attr"`
	Href    string   `xml:"href,attr"`
}

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 TimeLink struct {
	XMLName xml.Name `xml:"TimeLink"`
	Href    string   `xml:"href,attr"`
}

type TimeOffsetType

type TimeOffsetType int32

type TimeType

type TimeType int64
type UsagePointListLink struct {
	XMLName xml.Name `xml:"UsagePointListLink"`
	All     uint     `xml:"all,attr"`
	Href    string   `xml:"href,attr"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL