schema

package
v0.6.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OpcUaNodeSet2 []byte

Functions

This section is empty.

Types

type AccessLevel

type AccessLevel uint32

AccessLevel ...

type AccessRestriction

type AccessRestriction uint16

AccessRestriction ...

type AliasTable

type AliasTable struct {
	Alias []*NodeIdAlias `xml:"Alias"`
}

AliasTable ...

type ArrayDimensions

type ArrayDimensions string

ArrayDimensions ...

type DataTypeDefinition

type DataTypeDefinition struct {
	NameAttr         string           `xml:"Name,attr"`
	SymbolicNameAttr string           `xml:"SymbolicName,attr,omitempty"`
	IsUnionAttr      bool             `xml:"IsUnion,attr,omitempty"`
	IsOptionSetAttr  bool             `xml:"IsOptionSet,attr,omitempty"`
	BaseTypeAttr     string           `xml:"BaseType,attr,omitempty"`
	Field            []*DataTypeField `xml:"Field"`
}

DataTypeDefinition ...

type DataTypeField

type DataTypeField struct {
	NameAttr            string           `xml:"Name,attr"`
	SymbolicNameAttr    string           `xml:"SymbolicName,attr,omitempty"`
	DataTypeAttr        string           `xml:"DataType,attr,omitempty"`
	ValueRankAttr       int              `xml:"ValueRank,attr,omitempty"`
	ArrayDimensionsAttr string           `xml:"ArrayDimensions,attr,omitempty"`
	MaxStringLengthAttr uint32           `xml:"MaxStringLength,attr,omitempty"`
	ValueAttr           int              `xml:"Value,attr,omitempty"`
	IsOptionalAttr      bool             `xml:"IsOptional,attr,omitempty"`
	AllowSubTypesAttr   bool             `xml:"AllowSubTypes,attr,omitempty"`
	DisplayName         []*LocalizedText `xml:"DisplayName"`
	Description         []*LocalizedText `xml:"Description"`
}

DataTypeField ...

type DataTypePurpose

type DataTypePurpose string

DataTypePurpose ...

type Duration

type Duration float64

Duration ...

type EventNotifier

type EventNotifier uint8

EventNotifier ...

type Extension

type Extension struct {
}

Extension ...

type ListOfExtensions

type ListOfExtensions struct {
	Extension []*Extension `xml:"Extension"`
}

ListOfExtensions ...

type ListOfReferences

type ListOfReferences struct {
	Reference []*Reference `xml:"Reference"`
}

ListOfReferences ...

type ListOfRolePermissions

type ListOfRolePermissions struct {
	RolePermission []*RolePermission `xml:"RolePermission"`
}

ListOfRolePermissions ...

type Locale

type Locale string

Locale ...

type LocalizedText

type LocalizedText struct {
	LocaleAttr string `xml:"Locale,attr,omitempty"`
	Value      string `xml:",chardata"`
}

LocalizedText ...

type ModelTable

type ModelTable struct {
	Model []*ModelTableEntry `xml:"Model"`
}

ModelTable ...

type ModelTableEntry

type ModelTableEntry struct {
	ModelUriAttr           string                 `xml:"ModelUri,attr"`
	XmlSchemaUriAttr       string                 `xml:"XmlSchemaUri,attr,omitempty"`
	VersionAttr            string                 `xml:"Version,attr,omitempty"`
	PublicationDateAttr    string                 `xml:"PublicationDate,attr,omitempty"`
	AccessRestrictionsAttr uint16                 `xml:"AccessRestrictions,attr,omitempty"`
	RolePermissions        *ListOfRolePermissions `xml:"RolePermissions"`
	RequiredModel          []*ModelTableEntry     `xml:"RequiredModel"`
}

ModelTableEntry ...

type NodeId

type NodeId string

NodeId ...

type NodeIdAlias

type NodeIdAlias struct {
	AliasAttr string `xml:"Alias,attr"`
	Value     string `xml:",chardata"`
}

NodeIdAlias ...

type NodeSetStatus

type NodeSetStatus struct {
	CodeAttr uint32 `xml:"Code,attr,omitempty"`
	Value    string `xml:",chardata"`
}

NodeSetStatus ...

type NodeSetStatusList

type NodeSetStatusList struct {
	Status []*NodeSetStatus `xml:"Status"`
}

NodeSetStatusList ...

type NodeToDelete

type NodeToDelete struct {
	DeleteReverseReferencesAttr bool `xml:"DeleteReverseReferences,attr,omitempty"`
	*NodeId
}

NodeToDelete ...

type NodesToAdd

type NodesToAdd struct {
	UAObject        []*UAObject        `xml:"UAObject"`
	UAVariable      []*UAVariable      `xml:"UAVariable"`
	UAMethod        []*UAMethod        `xml:"UAMethod"`
	UAView          []*UAView          `xml:"UAView"`
	UAObjectType    []*UAObjectType    `xml:"UAObjectType"`
	UAVariableType  []*UAVariableType  `xml:"UAVariableType"`
	UADataType      []*UADataType      `xml:"UADataType"`
	UAReferenceType []*UAReferenceType `xml:"UAReferenceType"`
}

NodesToAdd ...

type NodesToDelete

type NodesToDelete struct {
	Node []*NodeToDelete `xml:"Node"`
}

NodesToDelete ...

type QualifiedName

type QualifiedName string

QualifiedName ...

type Reference

type Reference struct {
	ReferenceTypeAttr string `xml:"ReferenceType,attr"`
	IsForwardAttr     *bool  `xml:"IsForward,attr,omitempty"` // EDIT: this was changed from a bool to a *bool because the default value if this attribute isn't present is true
	Value             string `xml:",chardata"`
}

Reference ...

type ReferenceChange

type ReferenceChange struct {
	SourceAttr        string `xml:"Source,attr"`
	ReferenceTypeAttr string `xml:"ReferenceType,attr"`
	IsForwardAttr     *bool  `xml:"IsForward,attr,omitempty"` // EDIT: this was changed from a bool to a *bool because the default value if this attribute isn't present is true
	*NodeId
}

ReferenceChange ...

type ReferencesToChange

type ReferencesToChange struct {
	Reference []*ReferenceChange `xml:"Reference"`
}

ReferencesToChange ...

type ReleaseStatus

type ReleaseStatus string

ReleaseStatus ...

type RolePermission

type RolePermission struct {
	PermissionsAttr uint32 `xml:"Permissions,attr,omitempty"`
	Value           string `xml:",chardata"`
}

RolePermission ...

type StructureTranslationType

type StructureTranslationType struct {
	NameAttr string           `xml:"Name,attr"`
	Text     []*LocalizedText `xml:"Text"`
}

StructureTranslationType ...

type SymbolicName

type SymbolicName string

SymbolicName ...

type TranslationType

type TranslationType struct {
	Text  []*LocalizedText            `xml:"Text"`
	Field []*StructureTranslationType `xml:"Field"`
}

TranslationType ...

type UADataType

type UADataType struct {
	PurposeAttr string              `xml:"Purpose,attr,omitempty"`
	Definition  *DataTypeDefinition `xml:"Definition"`
	*UAType
}

UADataType ...

type UAInstance

type UAInstance struct {
	ParentNodeIdAttr string `xml:"ParentNodeId,attr,omitempty"`
	*UANode
}

UAInstance ...

type UAMethod

type UAMethod struct {
	ExecutableAttr          bool                `xml:"Executable,attr,omitempty"`
	UserExecutableAttr      bool                `xml:"UserExecutable,attr,omitempty"`
	MethodDeclarationIdAttr string              `xml:"MethodDeclarationId,attr,omitempty"`
	ArgumentDescription     []*UAMethodArgument `xml:"ArgumentDescription"`
	*UAInstance
}

UAMethod ...

type UAMethodArgument

type UAMethodArgument struct {
	Name        string           `xml:"Name"`
	Description []*LocalizedText `xml:"Description"`
}

UAMethodArgument ...

type UANode

type UANode struct {
	NodeIdAttr             string                 `xml:"NodeId,attr"`
	BrowseNameAttr         string                 `xml:"BrowseName,attr"`
	WriteMaskAttr          uint32                 `xml:"WriteMask,attr,omitempty"`
	UserWriteMaskAttr      uint32                 `xml:"UserWriteMask,attr,omitempty"`
	AccessRestrictionsAttr uint16                 `xml:"AccessRestrictions,attr,omitempty"`
	HasNoPermissionsAttr   bool                   `xml:"HasNoPermissions,attr,omitempty"`
	SymbolicNameAttr       string                 `xml:"SymbolicName,attr,omitempty"`
	ReleaseStatusAttr      string                 `xml:"ReleaseStatus,attr,omitempty"`
	DisplayName            []*LocalizedText       `xml:"DisplayName"`
	Description            []*LocalizedText       `xml:"Description"`
	Category               []string               `xml:"Category"`
	Documentation          string                 `xml:"Documentation"`
	References             *ListOfReferences      `xml:"References"`
	RolePermissions        *ListOfRolePermissions `xml:"RolePermissions"`
	Extensions             *ListOfExtensions      `xml:"Extensions"`
}

UANode ...

type UANodeSet

type UANodeSet struct {
	LastModifiedAttr string             `xml:"LastModified,attr,omitempty"`
	NamespaceUris    *UriTable          `xml:"NamespaceUris"`
	ServerUris       *UriTable          `xml:"ServerUris"`
	Models           *ModelTable        `xml:"Models"`
	Aliases          *AliasTable        `xml:"Aliases"`
	Extensions       *ListOfExtensions  `xml:"Extensions"`
	UAObject         []*UAObject        `xml:"UAObject"`
	UAVariable       []*UAVariable      `xml:"UAVariable"`
	UAMethod         []*UAMethod        `xml:"UAMethod"`
	UAView           []*UAView          `xml:"UAView"`
	UAObjectType     []*UAObjectType    `xml:"UAObjectType"`
	UAVariableType   []*UAVariableType  `xml:"UAVariableType"`
	UADataType       []*UADataType      `xml:"UADataType"`
	UAReferenceType  []*UAReferenceType `xml:"UAReferenceType"`
}

UANodeSet ...

type UANodeSetChanges

type UANodeSetChanges struct {
	LastModifiedAttr       string              `xml:"LastModified,attr,omitempty"`
	TransactionIdAttr      string              `xml:"TransactionId,attr"`
	AcceptAllOrNothingAttr bool                `xml:"AcceptAllOrNothing,attr,omitempty"`
	NamespaceUris          *UriTable           `xml:"NamespaceUris"`
	ServerUris             *UriTable           `xml:"ServerUris"`
	Aliases                *AliasTable         `xml:"Aliases"`
	Extensions             *ListOfExtensions   `xml:"Extensions"`
	NodesToAdd             *NodesToAdd         `xml:"NodesToAdd"`
	ReferencesToAdd        *ReferencesToChange `xml:"ReferencesToAdd"`
	NodesToDelete          *NodesToDelete      `xml:"NodesToDelete"`
	ReferencesToDelete     *ReferencesToChange `xml:"ReferencesToDelete"`
}

UANodeSetChanges ...

type UANodeSetChangesStatus

type UANodeSetChangesStatus struct {
	LastModifiedAttr   string             `xml:"LastModified,attr,omitempty"`
	TransactionIdAttr  string             `xml:"TransactionId,attr"`
	NodesToAdd         *NodeSetStatusList `xml:"NodesToAdd"`
	ReferencesToAdd    *NodeSetStatusList `xml:"ReferencesToAdd"`
	NodesToDelete      *NodeSetStatusList `xml:"NodesToDelete"`
	ReferencesToDelete *NodeSetStatusList `xml:"ReferencesToDelete"`
}

UANodeSetChangesStatus ...

type UAObject

type UAObject struct {
	EventNotifierAttr uint8 `xml:"EventNotifier,attr,omitempty"`
	*UAInstance
}

UAObject ...

type UAObjectType

type UAObjectType struct {
	*UAType
}

UAObjectType ...

type UAReferenceType

type UAReferenceType struct {
	SymmetricAttr bool             `xml:"Symmetric,attr,omitempty"`
	InverseName   []*LocalizedText `xml:"InverseName"`
	*UAType
}

UAReferenceType ...

type UAType

type UAType struct {
	IsAbstractAttr bool `xml:"IsAbstract,attr,omitempty"`
	*UANode
}

UAType ...

type UAVariable

type UAVariable struct {
	DataTypeAttr                string             `xml:"DataType,attr,omitempty"`
	ValueRankAttr               int                `xml:"ValueRank,attr,omitempty"`
	ArrayDimensionsAttr         string             `xml:"ArrayDimensions,attr,omitempty"`
	AccessLevelAttr             uint32             `xml:"AccessLevel,attr,omitempty"`
	UserAccessLevelAttr         uint32             `xml:"UserAccessLevel,attr,omitempty"`
	MinimumSamplingIntervalAttr float64            `xml:"MinimumSamplingInterval,attr,omitempty"`
	HistorizingAttr             bool               `xml:"Historizing,attr,omitempty"`
	Value                       *Value             `xml:"Value"`
	Translation                 []*TranslationType `xml:"Translation"`
	*UAInstance
}

UAVariable ...

type UAVariableType

type UAVariableType struct {
	DataTypeAttr        string `xml:"DataType,attr,omitempty"`
	ValueRankAttr       int    `xml:"ValueRank,attr,omitempty"`
	ArrayDimensionsAttr string `xml:"ArrayDimensions,attr,omitempty"`
	Value               *Value `xml:"Value"`
	*UAType
}

UAVariableType ...

type UAView

type UAView struct {
	ContainsNoLoopsAttr bool  `xml:"ContainsNoLoops,attr,omitempty"`
	EventNotifierAttr   uint8 `xml:"EventNotifier,attr,omitempty"`
	*UAInstance
}

UAView ...

type UriTable

type UriTable struct {
	Uri []string `xml:"Uri"`
}

UriTable ...

type Value

type Value struct {
}

Value ...

type ValueRank

type ValueRank int

ValueRank ...

type WriteMask

type WriteMask uint32

WriteMask ...

Jump to

Keyboard shortcuts

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