structures

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AxisPositon added in v1.0.2

type AxisPositon struct {
	X  string
	Y  string
	Z  string
	Q1 string
	Q2 string
	Q3 string
	Q4 string
}

type CameraStatusBody added in v1.0.2

type CameraStatusBody struct {
	Div CameraStatusDiv `xml:"div"`
}

type CameraStatusDiv added in v1.0.2

type CameraStatusDiv struct {
	Class string             `xml:"class,attr"`
	Link  CameraStatusLink   `xml:"a"`
	List  []CameraStatusList `xml:"ul>li"`
}

type CameraStatusHead added in v1.0.2

type CameraStatusHead struct {
	Title string `xml:"title"`
	Base  string `xml:"base,attr"`
}
type CameraStatusLink struct {
	Href string `xml:"href,attr"`
	Rel  string `xml:"rel,attr"`
}

type CameraStatusList added in v1.0.2

type CameraStatusList struct {
	Class string           `xml:"class,attr"`
	Title string           `xml:"title,attr"`
	Span  CameraStatusSpan `xml:"span"`
}

type CameraStatusRaw added in v1.0.2

type CameraStatusRaw struct {
	XMLName xml.Name         `xml:"html"`
	Head    CameraStatusHead `xml:"head"`
	Body    CameraStatusBody `xml:"body"`
}

type CameraStatusSpan added in v1.0.2

type CameraStatusSpan struct {
	Class string `xml:"class,attr"`
	Text  string `xml:",chardata"`
}

type Clock

type Clock struct {
	Year   string
	Month  string
	Day    string
	Hour   string
	Minute string
	Second string
}

type ControllerActions

type ControllerActions struct {
	Actions []string
}

type ControllerActionsBody

type ControllerActionsBody struct {
	Div ControllerActionsDiv `xml:"div"`
}

type ControllerActionsDiv

type ControllerActionsDiv struct {
	Select ControllerActionsSelect `xml:"form>select"`
}

type ControllerActionsHTML

type ControllerActionsHTML struct {
	XMLName xml.Name              `xml:"html"`
	Body    ControllerActionsBody `xml:"body"`
}

type ControllerActionsOption

type ControllerActionsOption struct {
	Value string `xml:"value,attr"`
}

type ControllerActionsSelect

type ControllerActionsSelect struct {
	Options []ControllerActionsOption `xml:"option"`
}

type ControllerResources

type ControllerResources struct {
	XMLName xml.Name                `xml:"html"`
	Head    ControllerResourcesHead `xml:"head"`
	Body    ControllerResourcesBody `xml:"body"`
}

type ControllerResourcesBase

type ControllerResourcesBase struct {
	Href string `xml:"href,attr"`
}

type ControllerResourcesBody

type ControllerResourcesBody struct {
	Div ControllerResourcesDiv `xml:"div"`
}

type ControllerResourcesDiv

type ControllerResourcesDiv struct {
	Class string                    `xml:"class,attr"`
	Links []ControllerResourcesLink `xml:"a"`
	Lists []ControllerResourcesLi   `xml:"ul>li"`
}

type ControllerResourcesHead

type ControllerResourcesHead struct {
	Title string                  `xml:"title"`
	Base  ControllerResourcesBase `xml:"base"`
}

type ControllerResourcesLi

type ControllerResourcesLi struct {
	Class string                    `xml:"class,attr"`
	Title string                    `xml:"title,attr"`
	Link  ControllerResourcesLink   `xml:"a"`
	Spans []ControllerResourcesSpan `xml:"span"`
}
type ControllerResourcesLink struct {
	Href string `xml:"href,attr"`
	Rel  string `xml:"rel,attr"`
}

type ControllerResourcesSpan

type ControllerResourcesSpan struct {
	Class string `xml:"class,attr"`
	Text  string `xml:",chardata"`
}

type ElogBody

type ElogBody struct {
	Div ElogDiv `xml:"div"`
}

type ElogDiv

type ElogDiv struct {
	Class string   `xml:"class,attr"`
	Link  ElogLink `xml:"a"`
	List  ElogList `xml:"ul>li"`
}

type ElogEndpoint

type ElogEndpoint struct {
	Href string `xml:"href,attr"`
	Rel  string `xml:",chardata"`
}

type ElogHead

type ElogHead struct {
	Title string `xml:"title"`
}
type ElogLink struct {
	Href string `xml:"href,attr"`
	Rel  string `xml:"rel,attr"`
}

type ElogList

type ElogList struct {
	Class    string       `xml:"class,attr"`
	Endpoint ElogEndpoint `xml:"a"`
	Span     ElogSpan     `xml:"span"`
}

type ElogMessageBody

type ElogMessageBody struct {
	Div ElogMessageDiv `xml:"div"`
}

type ElogMessageDiv

type ElogMessageDiv struct {
	Class string          `xml:"class,attr"`
	Link  ElogMessageLink `xml:"a"`
	List  ElogMessageList `xml:"ul>li"`
}

type ElogMessageHead

type ElogMessageHead struct {
	Title string `xml:"title"`
	Base  string `xml:"base,attr"`
}
type ElogMessageLink struct {
	Href string `xml:"href,attr"`
	Rel  string `xml:"rel,attr"`
}

type ElogMessageList

type ElogMessageList struct {
	Class string            `xml:"class,attr"`
	Title string            `xml:"title"`
	Span  []ElogMessageSpan `xml:"span"`
}

type ElogMessageSpan

type ElogMessageSpan struct {
	Class string `xml:"class,attr"`
	Text  string `xml:",chardata"`
}

type ElogMessagesXML

type ElogMessagesXML struct {
	XMLName xml.Name        `xml:"html"`
	Head    ElogMessageHead `xml:"head"`
	Body    ElogMessageBody `xml:"body"`
}

type ElogSpan

type ElogSpan struct {
	Class string `xml:"class,attr"`
	Text  string `xml:",chardata"`
}

type ElogXML

type ElogXML struct {
	XMLName xml.Name `xml:"html"`
	Head    ElogHead `xml:"head"`
	Body    ElogBody `xml:"body"`
}

type IOSignalBody

type IOSignalBody struct {
	Div   IOSignalDiv `xml:"div"`
	Class string      `xml:"class,attr"`
}

type IOSignalDiv

type IOSignalDiv struct {
	Poll []IOSignalLink `xml:"a"`
	List IOSignalList   `xml:"ul>li"`
}

type IOSignalHead

type IOSignalHead struct {
	Title string `xml:"title"`
}
type IOSignalLink struct {
	Href string `xml:"href,attr"`
	Rel  string `xml:",chardata"`
}

type IOSignalList

type IOSignalList struct {
	Href IOSignalMetaLink `xml:"a"`
	Span []IOSignalSpan   `xml:"span"`
}
type IOSignalMetaLink struct {
	Href string `xml:"href,attr"`
	Rel  string `xml:"rel,attr"`
}

type IOSignalSpan

type IOSignalSpan struct {
	Class string `xml:"class,attr"`
	Text  string `xml:",chardata"`
}

type IOSignalXML

type IOSignalXML struct {
	XMLName xml.Name     `xml:"html"`
	Head    IOSignalHead `xml:"head"`
	Body    IOSignalBody `xml:"body"`
}

type IOSignals

type IOSignals struct {
	SignalName  []string
	SignalType  []string
	SignalValue []int
}

type IOSignalsJson

type IOSignalsJson struct {
	Links    IOSignalsJsonLinks `json:"_links"`
	Embedded IOSignalsJsonState `json:"_embedded"`
}

type IOSignalsJsonBase

type IOSignalsJsonBase struct {
	Href string `json:"href"`
}
type IOSignalsJsonLinks struct {
	Base IOSignalsJsonBase `json:"base"`
}

type IOSignalsJsonMeta

type IOSignalsJsonMeta struct {
	Links           IOSignalsJsonMetaLinks `json:"_links"`
	TypeT           string                 `json:"_type"`
	Name            string                 `json:"name"`
	Type            string                 `json:"type"`
	Category        string                 `json:"category"`
	Value           int                    `json:"lvalue"`
	SimulationState string                 `json:"lstate"`
}
type IOSignalsJsonMetaLinks struct {
	Self IOSignalsJsonMetaLinksSelf `json:"self"`
}

type IOSignalsJsonMetaLinksSelf

type IOSignalsJsonMetaLinksSelf struct {
	Href string `json:"href"`
}

type IOSignalsJsonState

type IOSignalsJsonState struct {
	State []IOSignalsJsonMeta `json:"_state"`
}

type InstalledProducts

type InstalledProducts struct {
	Links InstalledProductsLinks   `json:"_links"`
	State []InstalledProductsState `json:"state"`
}

type InstalledProductsBase

type InstalledProductsBase struct {
	Href string `json:"href"`
}
type InstalledProductsLinks struct {
	Base InstalledProductsBase `json:"base"`
	Self InstalledProductsSelf `json:"self"`
}

type InstalledProductsSelf

type InstalledProductsSelf struct {
	Href string `json:"href"`
}

type InstalledProductsState

type InstalledProductsState struct {
	Type        string `json:"_type"`
	Title       string `json:"_title"`
	VersionName string `json:"version-name"`
}

type InstalledSystemProducts

type InstalledSystemProducts struct {
	Title   []string
	Version []string
}

type MechUnits

type MechUnits struct {
	Title             []string
	Mode              []string
	DriveModule       []string
	ActivationAllowed []string
}

type MechUnitsJson

type MechUnitsJson struct {
	Links    MechUnitsJsonLinks `json:"_links"`
	Embedded MechUnitsJsonState `json:"_embedded"`
}

type MechUnitsJsonBase

type MechUnitsJsonBase struct {
	Href string `json:"href"`
}
type MechUnitsJsonLinks struct {
	Base MechUnitsJsonBase `json:"base"`
}

type MechUnitsJsonMeta

type MechUnitsJsonMeta struct {
	Type              string                 `json:"_type"`
	Title             string                 `json:"_title"`
	Links             MechUnitsJsonMetaLinks `json:"_links"`
	Mode              string                 `json:"mode"`
	ActivationAllowed string                 `json:"activation-allowed"`
	DriveModule       string                 `json:"drive-module"`
}
type MechUnitsJsonMetaLinks struct {
	Self MechUnitsJsonMetaLinksSelf `json:"self"`
}

type MechUnitsJsonMetaLinksSelf

type MechUnitsJsonMetaLinksSelf struct {
	Href string `json:"href"`
}

type MechUnitsJsonState

type MechUnitsJsonState struct {
	State []MechUnitsJsonMeta `json:"_state"`
}

type MotionErrorState

type MotionErrorState struct {
	State []string
	Count []string
}

type MotionErrorStateJson

type MotionErrorStateJson struct {
	Links    MotionErrorStateJsonLinks `json:"_links"`
	Embedded MotionErrorStateJsonState `json:"_embedded"`
}

type MotionErrorStateJsonBase

type MotionErrorStateJsonBase struct {
	Href string `json:"href"`
}
type MotionErrorStateJsonLinks struct {
	Base MotionErrorStateJsonBase `json:"base"`
}

type MotionErrorStateJsonMeta

type MotionErrorStateJsonMeta struct {
	Type  string `json:"_type"`
	Title string `json:"_title"`
	State string `json:"err-state"`
	Count string `json:"err-count"`
}

type MotionErrorStateJsonState

type MotionErrorStateJsonState struct {
	State []MotionErrorStateJsonMeta `json:"_state"`
}

type OperationMode

type OperationMode struct {
	Links    OperationModeBase  `json:"_links"`
	Embedded OperationModeState `json:"_embedded"`
}

type OperationModeBase

type OperationModeBase struct {
	Href string `json:"href"`
}
type OperationModeLinks struct {
	Base OperationModeBase `json:"base"`
}

type OperationModeMeta

type OperationModeMeta struct {
	Type   string `json:"_type"`
	Title  string `json:"_title"`
	Opmode string `json:"opmode"`
}

type OperationModeState

type OperationModeState struct {
	State []OperationModeMeta `json:"_state"`
}

type PanelBody

type PanelBody struct {
	Div   PanelDiv `xml:"div"`
	Class string   `xml:"class,attr"`
}

type PanelDiv

type PanelDiv struct {
	Poll []PanelLink `xml:"a"`
	List PanelList   `xml:"ul>li"`
}

type PanelHead

type PanelHead struct {
	Title string `xml:"title"`
}
type PanelLink struct {
	Href string `xml:"href,attr"`
	Rel  string `xml:",chardata"`
}

type PanelLinkName

type PanelLinkName struct {
	Href string `xml:"href,attr"`
	Name string `xml:"name,attr"`
}

type PanelList

type PanelList struct {
	Href PanelMetaLink `xml:"a"`
	Span PanelSpan     `xml:"span"`
}
type PanelMetaLink struct {
	Href string `xml:"href,attr"`
	Rel  string `xml:"rel,attr"`
}

type PanelSpan

type PanelSpan struct {
	Class string `xml:"class,attr"`
	Text  string `xml:",chardata"`
}

type PanelXML

type PanelXML struct {
	XMLName xml.Name  `xml:"html"`
	Head    PanelHead `xml:"head"`
	Body    PanelBody `xml:"body"`
}

type RobotType

type RobotType struct {
	XMLName xml.Name      `xml:"html"`
	Head    RobotTypeHead `xml:"head"`
	Body    RobotTypeBody `xml:"body"`
}

type RobotTypeBody

type RobotTypeBody struct {
	XMLName xml.Name       `xml:"body"`
	State   RobotTypeState `xml:"div"`
}

type RobotTypeHead

type RobotTypeHead struct {
	XMLName xml.Name `xml:"head"`
	Title   string   `xml:"title"`
	Base    string   `xml:"base,attr"`
}

type RobotTypeRobot

type RobotTypeRobot struct {
	XMLName   xml.Name `xml:"li"`
	Title     string   `xml:"title,attr"`
	RobotType string   `xml:"span"`
}

type RobotTypeSelf

type RobotTypeSelf struct {
	XMLName xml.Name `xml:"a"`
	Rel     string   `xml:"rel,attr"`
}

type RobotTypeState

type RobotTypeState struct {
	XMLName xml.Name         `xml:"div"`
	Self    RobotTypeSelf    `xml:"a"`
	Robots  []RobotTypeRobot `xml:"ul>li"`
}
type StateListLinks struct {
	Links             StateListLinksSelf `json:"_links"`
	Type              string             `json:"_type"`
	Title             string             `json:"_title"`
	State             string             `json:"state"`
	EnergyState       string             `json:"energy-state"`
	ChangeCount       string             `json:"change-count"`
	TimeStamp         string             `json:"time-stamp"`
	ResetTime         string             `json:"reset-time"`
	IntervalLength    string             `json:"interval-length"`
	IntervalEnergy    string             `json:"interval-energy"`
	AccumulatedEnergy string             `json:"accumulated-energy"`
	MechUnits         []SystemEnergyAxes `json:"mechunits"`
}

type StateListLinksSelf

type StateListLinksSelf struct {
	Self StateListLinksSelfHref `json:"self"`
}

type StateListLinksSelfHref

type StateListLinksSelfHref struct {
	Href string `json:"href"`
}

type SystemAxisEnergy

type SystemAxisEnergy struct {
	Axis   string
	Energy string
}

type SystemEnergy

type SystemEnergy struct {
	Links    SystemEneryLinks     `json:"_links"`
	Embedded SystemEnergyEmbedded `json:"_embedded"`
}

type SystemEnergyAxes

type SystemEnergyAxes struct {
	Type  string             `json:"_type"`
	Title string             `json:"_title"`
	Axis  []SystemEnergyAxis `json:"axes"`
}

type SystemEnergyAxis

type SystemEnergyAxis struct {
	Type           string `json:"_type"`
	Title          string `json:"_title"`
	IntervalEnergy string `json:"interval-energy"`
}

type SystemEnergyEmbedded

type SystemEnergyEmbedded struct {
	State []StateListLinks `json:"_state"`
}

type SystemEnergyMetrics

type SystemEnergyMetrics struct {
	AccumulatedEnergy string
	AxisEnergy        []SystemAxisEnergy
}

type SystemEneryBase

type SystemEneryBase struct {
	Href string `json:"href"`
}
type SystemEneryLinks struct {
	Base SystemEneryBase `json:"base"`
}

type UserLi

type UserLi struct {
	Class string            `xml:"class,attr"`
	Title string            `xml:"title,attr"`
	Link  UserResourcesLink `xml:"a"`
	Span  UserResourcesSpan `xml:"span"`
}

type UserResources

type UserResources struct {
	XMLName xml.Name          `xml:"html"`
	Head    UserResourcesHead `xml:"head"`
	Body    UserResourcesBody `xml:"body"`
}

type UserResourcesBase

type UserResourcesBase struct {
	Href string `xml:"href,attr"`
}

type UserResourcesBody

type UserResourcesBody struct {
	Div UserResourcesDiv `xml:"div"`
}

type UserResourcesDiv

type UserResourcesDiv struct {
	Class string              `xml:"class,attr"`
	Links []UserResourcesLink `xml:"a"`
	Lists []UserLi            `xml:"ul>li"`
}

type UserResourcesHead

type UserResourcesHead struct {
	Title string            `xml:"title"`
	Base  UserResourcesBase `xml:"base"`
}
type UserResourcesLink struct {
	Href string `xml:"href,attr"`
	Rel  string `xml:"rel,attr"`
}

type UserResourcesSpan

type UserResourcesSpan struct {
	Class string `xml:"class,attr"`
	Text  string `xml:",chardata"`
}

Jump to

Keyboard shortcuts

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