blob: b693343451e84b0cb627b2d598756725a161bad7 [file] [log] [blame]
Constantin Ziesche857c7ab2020-02-25 11:24:51 +01001/*******************************************************************************
2* Copyright (c) 2020 Robert Bosch GmbH
3* Author: Constantin Ziesche (constantin.ziesche@bosch.com)
4*
5* This program and the accompanying materials are made available under the
6* terms of the Eclipse Public License 2.0 which is available at
7* http://www.eclipse.org/legal/epl-2.0
8*
9* SPDX-License-Identifier: EPL-2.0
10*******************************************************************************/
11using BaSyx.Models.Core.AssetAdministrationShell.Generics;
12using BaSyx.Models.Core.AssetAdministrationShell.Generics.SubmodelElementTypes;
13using BaSyx.Models.Core.AssetAdministrationShell.References;
14using BaSyx.Models.Core.Common;
15using System.Runtime.Serialization;
16
17namespace BaSyx.Models.Core.AssetAdministrationShell.Implementations.SubmodelElementTypes
18{
19 [DataContract]
20 public class Entity : SubmodelElement, IEntity
21 {
22 public override ModelType ModelType => ModelType.Entity;
23
24 public IElementContainer<ISubmodelElement> Statements { get; set; }
25
26 public EntityType EntityType { get; set; }
27
28 public IReference<IAsset> Asset { get; set; }
29
30 public Entity() : base()
31 {
32 Statements = new ElementContainer<ISubmodelElement>();
33 }
34 }
35}