blob: a553f4a8c49240e20cafc0e46f366ae1897c0937 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2020 Robert Bosch GmbH
* Author: Constantin Ziesche (constantin.ziesche@bosch.com)
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*******************************************************************************/
using BaSyx.Models.Core.AssetAdministrationShell.Generics;
using BaSyx.Models.Core.Common;
using System.Runtime.Serialization;
namespace BaSyx.Models.Core.AssetAdministrationShell.Implementations
{
[DataContract]
public class Event : SubmodelElement, IEvent
{
public override ModelType ModelType => ModelType.Event;
public IElementContainer<ISubmodelElement> DataElements { get; set; }
public Event(string idShort) : base(idShort)
{
DataElements = new ElementContainer<ISubmodelElement>(this);
}
}
}