public Key(KeyElements type, KeyType idType, string value, bool local) { Type = type; IdType = idType; Value = value; Local = local; }
public SubmodelElementCollectionAttribute(string idShort, string semanticId, KeyElements semanticKeyElement, KeyType semanticKeyType, bool semanticIdLocal) { SubmodelElementCollection = new SubmodelElementCollection() { IdShort = idShort, SemanticId = new Reference(new Key(semanticKeyElement, semanticKeyType, semanticId, semanticIdLocal)) }; }
public GlobalKey(KeyElements type, KeyType idType, string value) : base(type, idType, value, false) { }
public PropertyAttribute(string idShort, DataObjectTypes propertyType, string semanticId, KeyElements semanticKeyElement, KeyType semanticKeyType, bool semanticIdLocal) { Property = new Property(new DataType(DataObjectType.Parse(propertyType))) { IdShort = idShort, SemanticId = new Reference(new Key(semanticKeyElement, semanticKeyType, semanticId, semanticIdLocal)) }; }
public ModelKey(KeyElements type, KeyType idType, string value) : base(type, idType, value, true) { }
/// <summary> /// Creates a new IRDI-Reference with a definied referred KeyElements-Type /// </summary> /// <param name="referredtype">KeyElements-Type</param> /// <param name="irdi">IRDI</param> public IRDI_Reference(KeyElements referredtype, string irdi) : base(new GlobalKey(referredtype, KeyType.IRDI, irdi)) { }