Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to aas-core-codegen 39a2259a #4

Merged
merged 1 commit into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dev_scripts/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ authors = [

dependencies = [
"aas-core-meta@git+https://github.com/aas-core-works/aas-core-meta@f9cbdb3#egg=aas-core-meta",
"aas-core-codegen@git+https://github.com/aas-core-works/aas-core-codegen@dc2d21cd#egg=aas-core-codegen",
"aas-core-codegen@git+https://github.com/aas-core-works/aas-core-codegen@39a2259a#egg=aas-core-codegen",
]

[project.urls]
Expand Down
38 changes: 19 additions & 19 deletions v3/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ message Submodel {
/// <summary>
/// A submodel consists of zero or more submodel elements.
/// </summary>
repeated SubmodelElement submodel_elements = 13;
repeated SubmodelElement_choice submodel_elements = 13;
}

/// <summary>
Expand Down Expand Up @@ -1028,7 +1028,7 @@ message SubmodelElementList {
/// <remarks>
/// The list is ordered.
/// </remarks>
repeated SubmodelElement value = 14;
repeated SubmodelElement_choice value = 14;
}

/// <summary>
Expand Down Expand Up @@ -1135,7 +1135,7 @@ message SubmodelElementCollection {
/// <summary>
/// Submodel element contained in the collection.
/// </summary>
repeated SubmodelElement value = 10;
repeated SubmodelElement_choice value = 10;
}

/// <summary>
Expand Down Expand Up @@ -1992,7 +1992,7 @@ message AnnotatedRelationshipElement {
/// A data element that represents an annotation that holds for the relationship
/// between the two elements
/// </summary>
repeated DataElement annotations = 12;
repeated DataElement_choice annotations = 12;
}

/// <summary>
Expand Down Expand Up @@ -2112,7 +2112,7 @@ message Entity {
/// Describes statements applicable to the entity by a set of submodel elements,
/// typically with a qualified value.
/// </summary>
repeated SubmodelElement statements = 10;
repeated SubmodelElement_choice statements = 10;

/// <summary>
/// Describes whether the entity is a co-managed entity or a self-managed entity.
Expand Down Expand Up @@ -2590,7 +2590,7 @@ message OperationVariable {
/// <summary>
/// Describes an argument or result of an operation via a submodel element
/// </summary>
SubmodelElement value = 1;
SubmodelElement_choice value = 1;
}

/// <summary>
Expand Down Expand Up @@ -3284,7 +3284,7 @@ message EmbeddedDataSpecification {
/// <summary>
/// Actual content of the data specification
/// </summary>
DataSpecificationContent data_specification_content = 1;
DataSpecificationContent_choice data_specification_content = 1;

/// <summary>
/// Reference to the data specification
Expand Down Expand Up @@ -3738,7 +3738,7 @@ message DataSpecificationIec61360 {
optional LevelType level_type = 12;
}

message HasSemantics {
message HasSemantics_choice {
oneof value {
RelationshipElement relationship_element = 1;
AnnotatedRelationshipElement annotated_relationship_element = 2;
Expand All @@ -3761,7 +3761,7 @@ message HasSemantics {
}
}

message HasExtensions {
message HasExtensions_choice {
oneof value {
RelationshipElement relationship_element = 1;
AnnotatedRelationshipElement annotated_relationship_element = 2;
Expand All @@ -3783,7 +3783,7 @@ message HasExtensions {
}
}

message Referable {
message Referable_choice {
oneof value {
RelationshipElement relationship_element = 1;
AnnotatedRelationshipElement annotated_relationship_element = 2;
Expand All @@ -3805,21 +3805,21 @@ message Referable {
}
}

message Identifiable {
message Identifiable_choice {
oneof value {
AssetAdministrationShell asset_administration_shell = 1;
ConceptDescription concept_description = 2;
Submodel submodel = 3;
}
}

message HasKind {
message HasKind_choice {
oneof value {
Submodel submodel = 1;
}
}

message HasDataSpecification {
message HasDataSpecification_choice {
oneof value {
AdministrativeInformation administrative_information = 1;
RelationshipElement relationship_element = 2;
Expand All @@ -3842,7 +3842,7 @@ message HasDataSpecification {
}
}

message Qualifiable {
message Qualifiable_choice {
oneof value {
RelationshipElement relationship_element = 1;
AnnotatedRelationshipElement annotated_relationship_element = 2;
Expand All @@ -3862,7 +3862,7 @@ message Qualifiable {
}
}

message SubmodelElement {
message SubmodelElement_choice {
oneof value {
RelationshipElement relationship_element = 1;
AnnotatedRelationshipElement annotated_relationship_element = 2;
Expand All @@ -3888,7 +3888,7 @@ message RelationshipElement_choice {
}
}

message DataElement {
message DataElement_choice {
oneof value {
Blob blob = 1;
File file = 2;
Expand All @@ -3899,13 +3899,13 @@ message DataElement {
}
}

message EventElement {
message EventElement_choice {
oneof value {
BasicEventElement basic_event_element = 1;
}
}

message AbstractLangString {
message AbstractLangString_choice {
oneof value {
LangStringDefinitionTypeIec61360 lang_string_definition_type_iec_61360 = 1;
LangStringNameType lang_string_name_type = 2;
Expand All @@ -3915,7 +3915,7 @@ message AbstractLangString {
}
}

message DataSpecificationContent {
message DataSpecificationContent_choice {
oneof value {
DataSpecificationIec61360 data_specification_iec_61360 = 1;
}
Expand Down
Loading