Eplan Platform API
Eplan.EplApi.DataModel Namespace / DeviceListEntryPropertyList Class
Members Example

DeviceListEntryPropertyList Class
This class represents collection of properties of DeviceListEntry class. Please check also base classes for other properties which are available for DeviceListEntry objects: StorableObjectPropertyList
Inheritance Hierarchy

System.Object
   Eplan.EplApi.DataModel.UniversalPropertyList
      Eplan.EplApi.DataModel.StorableObjectPropertyList
         Eplan.EplApi.DataModel.DeviceListEntryPropertyList

Syntax
[DefaultMember("Property")]
public class DeviceListEntryPropertyList : StorableObjectPropertyList 
Remarks
It uses operator[] in order to access its elements (stored properties).

Property list is a container for property values and just like them can be online or offline. If property list is online it means that is associated with properties of some StorableObject or other property list. In this case if any property is added, changed or removed from property list the result is also visible in related objects. Whether property list is online or offline is being determine in time of it's creation and can not be changed.

Example
Example shows usage of online an offline property list:
//creation of online property list
FunctionPropertyList oPropertyListOnline1 = oFunction.Properties;
oPropertyListOnline1.FUNC_COMMENT = "Comment";
//now oFunction.Properties.FUNC_COMMENT is equal "Comment"

FunctionPropertyList oPropertyLineOnline2 = new FunctionPropertyList(oFunction);
oPropertyLineOnline2.FUNC_COMMENT = "Test";
//now oFunction.Properties.FUNC_COMMENT is equal "Test"

//creation of offline property list
FunctionPropertyList oPropertyLineOffline = new FunctionPropertyList();
oPropertyLineOffline.FUNC_COMMENT = "Test comment";
oFunction.Properties.FUNC_COMMENT = oPropertyLineOffline.FUNC_COMMENT;
oPropertyLineOffline.FUNC_COMMENT = "Offline comment";
//now oPropertyLineOffline.FUNC_COMMENT is equal "Test comment"

Public Constructors
 NameDescription
Public ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyNumber allowed # 23201.  
Public PropertyTotal number allowed # 23204.  
Public PropertyUsed unit quantity # 23205.  
Public PropertyDevice description # 23202.  
Public PropertyPart: Designation 1 # 23210.  
Public PropertyPart: Designation 2 # 23211.  
Public PropertyPart: Designation 3 # 23212.  
Public PropertyDiscontinued part # 23215.  
Public PropertyERP number # 23216.  
Public PropertyMacro # 23214.  
Public PropertyManufacturer # 23213.  
Public PropertyOrder number # 23207.  
Public PropertyPart number # 23200.  
Public PropertySystem part # 23208.  
Public PropertySpare # 23206.  
Public PropertyType number # 23203.  
Public PropertyVariant # 23209.  
Public PropertyReturns array of property ids. Returns array of AnyPropertyId objects. (Inherited from Eplan.EplApi.DataModel.UniversalPropertyList)
Public PropertyReturns array of PropertyValue objects. (Inherited from Eplan.EplApi.DataModel.UniversalPropertyList)
Public PropertyTrade # 20466.  
Public PropertySubtrade # 20467.  
Public PropertyStorableObject to which this property list is connected. (Inherited from Eplan.EplApi.DataModel.UniversalPropertyList)
Public PropertyOverloaded. Method used by operator[] in order to access indexed properties.  
Public PropertyOverloaded. Object identification # 2000. (Inherited from Eplan.EplApi.DataModel.StorableObjectPropertyList)
Top
Public Methods
 NameDescription
Public MethodOverloaded. Copies properties to other property list. (Inherited from Eplan.EplApi.DataModel.UniversalPropertyList)
Public MethodDestructor for deterministic finalization of DeviceListEntryPropertyList object. (Inherited from Eplan.EplApi.DataModel.UniversalPropertyList)
Public MethodOverloaded. Checks property existence for used obiect.  
Public MethodInternal method. (Inherited from Eplan.EplApi.DataModel.UniversalPropertyList)
Top
See Also