Documentation ¶
Index ¶
- Variables
- type AccessLevel
- type AccessRestriction
- type AliasTable
- type ArrayDimensions
- type DataTypeDefinition
- type DataTypeField
- type DataTypePurpose
- type Duration
- type EventNotifier
- type Extension
- type ListOfExtensions
- type ListOfReferences
- type ListOfRolePermissions
- type Locale
- type LocalizedText
- type ModelTable
- type ModelTableEntry
- type NodeId
- type NodeIdAlias
- type NodeSetStatus
- type NodeSetStatusList
- type NodeToDelete
- type NodesToAdd
- type NodesToDelete
- type QualifiedName
- type Reference
- type ReferenceChange
- type ReferencesToChange
- type ReleaseStatus
- type RolePermission
- type StructureTranslationType
- type SymbolicName
- type TranslationType
- type UADataType
- type UAInstance
- type UAMethod
- type UAMethodArgument
- type UANode
- type UANodeSet
- type UANodeSetChanges
- type UANodeSetChangesStatus
- type UAObject
- type UAObjectType
- type UAReferenceType
- type UAType
- type UAVariable
- type UAVariableType
- type UAView
- type UriTable
- type Value
- type ValueRank
- type WriteMask
Constants ¶
This section is empty.
Variables ¶
View Source
var OpcUaNodeSet2 []byte
Functions ¶
This section is empty.
Types ¶
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 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 LocalizedText ¶
type LocalizedText struct { LocaleAttr string `xml:"Locale,attr,omitempty"` Value string `xml:",chardata"` }
LocalizedText ...
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 NodeIdAlias ¶
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 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 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 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 ¶
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 UAReferenceType ¶
type UAReferenceType struct { SymmetricAttr bool `xml:"Symmetric,attr,omitempty"` InverseName []*LocalizedText `xml:"InverseName"` *UAType }
UAReferenceType ...
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 ...
Click to show internal directories.
Click to hide internal directories.