constants

package
v1.0.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: MIT Imports: 1 Imported by: 1

Documentation

Overview

Package constants provides immutable values of the meta-model.

These are not necessarily constants in the sense of Go language, but variables that are expected not to be mutated by the clients.

Index

Constants

This section is empty.

Variables

View Source
var AASIdentifiables = map[aastypes.KeyTypes]struct{}{
	aastypes.KeyTypesAssetAdministrationShell: struct{}{},
	aastypes.KeyTypesConceptDescription:       struct{}{},
	aastypes.KeyTypesIdentifiable:             struct{}{},
	aastypes.KeyTypesSubmodel:                 struct{}{},
}

Enumeration of different key value types within a key.

Enumeration of different fragment key value types within a key.

Enumeration of referables. We need this to check that model references refer to a Referable. For example, the observed attribute of the Basic Event Element object must be a model reference to a Referable.

Enumeration of all submodel elements within an asset administration shell.

View Source
var DataTypeIEC61360ForDocument = map[aastypes.DataTypeIEC61360]struct{}{
	aastypes.DataTypeIEC61360File: struct{}{},
	aastypes.DataTypeIEC61360Blob: struct{}{},
	aastypes.DataTypeIEC61360HTML: struct{}{},
}

IEC 61360 data types for concept descriptions categorized with DOCUMENT.

IEC 61360 data types for concept descriptions categorized with PROPERTY or VALUE.

View Source
var DataTypeIEC61360ForReference = map[aastypes.DataTypeIEC61360]struct{}{
	aastypes.DataTypeIEC61360String: struct{}{},
	aastypes.DataTypeIEC61360IRI:    struct{}{},
	aastypes.DataTypeIEC61360IRDI:   struct{}{},
}

IEC 61360 data types for concept descriptions categorized with REFERENCE.

Enumeration of different key value types within a key.

View Source
var GenericFragmentKeys = map[aastypes.KeyTypes]struct{}{
	aastypes.KeyTypesFragmentReference: struct{}{},
}

Enumeration of all identifiable elements within an asset administration shell.

View Source
var GenericGloballyIdentifiables = map[aastypes.KeyTypes]struct{}{
	aastypes.KeyTypesGlobalReference: struct{}{},
}

Enumeration of different key value types within a key.

View Source
var GloballyIdentifiables = map[aastypes.KeyTypes]struct{}{
	aastypes.KeyTypesGlobalReference:          struct{}{},
	aastypes.KeyTypesAssetAdministrationShell: struct{}{},
	aastypes.KeyTypesConceptDescription:       struct{}{},
	aastypes.KeyTypesIdentifiable:             struct{}{},
	aastypes.KeyTypesSubmodel:                 struct{}{},
}

Enumeration of all referable elements within an asset administration shell

These data types imply that the unit is defined in the data specification.

View Source
var ValidCategoriesForDataElement = map[string]struct{}{
	"CONSTANT":  struct{}{},
	"PARAMETER": struct{}{},
	"VARIABLE":  struct{}{},
}

Categories for aastypes.IDataElement as defined in Constraint AASd-090

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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