4 midl_pragma warning(disable:2111)
10import "EwObjectBaseObjects.idl";
11import "EwClassificationObjects.idl";
30 uuid(DABCB1C7-AC49-4B1A-9460-F0AF4BF05B18),
34 helpstring(
"IEwManufacturerPartTerminalX Interface"),
35 pointer_default(unique)
187 uuid(3AA64D24-E0F0-43D4-AC82-B4D5E804ADAB),
191 helpstring(
"IEwManufacturerPartCircuitX Interface"),
192 pointer_default(unique)
391 uuid(8961A429-4144-4A41-8C8B-B2414EC74DDD),
395 helpstring(
"IEwManufacturerPartX Interface"),
396 pointer_default(unique)
1256 uuid(A35D4915-A636-405E-BEAD-FB0A5954DCCF),
1260 helpstring(
"IEwManufacturerPartManagerX Interface"),
1261 pointer_default(unique)
EwErrorCode
All errors codes for this API.
Definition: EnumDefinition.idl:24
EwManufacturerPartType
Manufacturer part type.
Definition: EwEnumeration.idl:667
Use this interface to manage an IEwClassificationX object.
Definition: EwClassificationObjects.idl:228
This interface is a generic interface for environment object methods.
Definition: EwObjectBaseObjects.idl:307
Use this interface to manage a circuit inside a manufacturer part.
Definition: EwManufacturerPartObjects.idl:195
EwErrorCode setGroup(BSTR strGroup)
Set a group of this circuit.
IEwManufacturerPartTerminalX getEwManufacturerPartTerminalAt(LONG index, EwErrorCode *errorCode)
Get terminal inside this circuit.
EwErrorCode setType(BSTR strType)
Set a type of this circuit.
LONG getSymbolCircuitNumber(EwErrorCode *errorCode)
Get the circuit number associated to this object inside the associated symbol.
LONG getEwManufacturerPartTerminalCount()
Count the number of terminals in this circuits.
BSTR getChannelGroup(EwErrorCode *errorCode)
Get a channel group of this circuit.
BSTR getGroup(EwErrorCode *errorCode)
Get a group of this circuit.
EwErrorCode setChannelGroup(BSTR strChannelGroup)
Set a channel group of this circuit.
BSTR getChannelAddress(EwErrorCode *errorCode)
Get a channel address of this circuit.
LONG getNumber()
Get number of this circuit.
EwErrorCode setSymbolName(BSTR strSymbolName)
Set a symbol name of this circuit.
EwErrorCode setSymbolNumber(LONG lSymbolNumber)
Set a symbol number of this circuit.
EwErrorCode deleteEwManufacturerPartTerminalAt(LONG index)
Delete a terminal from this circuit.
BSTR getType(EwErrorCode *errorCode)
Get a type of this circuit.
EwErrorCode setChannelAddress(BSTR strChannelAddress)
Set a channel address of this circuit.
BSTR getSymbolName(EwErrorCode *errorCode)
Get a symbol name of this circuit.
EwErrorCode setSymbolCircuitNumber(LONG lSyCircuitNo)
Set the circuit number associated to this object inside the associated symbol.
IEwManufacturerPartTerminalX addEwManufacturerPartTerminal(EwErrorCode *errorCode)
Create and add a terminal inside this circuit.
LONG getSymbolNumber(EwErrorCode *errorCode)
Get a symbol number of this circuit.
Use this interface to manage IEwManufacturerPartX objects.
Definition: EwManufacturerPartObjects.idl:1264
VARIANT getEwManufacturerPartArray(EwErrorCode *errorCode)
return the array of IEwManufacturerPartX of associated environment
IEwManufacturerPartX newEwManufacturerPart()
Create a IEwManufacturerPartX object from the associated environnement.
IEwManufacturerPartFiltersX newEwManufacturerPartFilters()
Create an IEwManufacturerPartFiltersX interface to filter on manufacturer parts (IEwManufacturerPartX...
IEwManufacturerPartX findByManufacturerAndReference(BSTR strManufacturer, BSTR strReference, EwErrorCode *errorCode)
return a Manufacturer part according to the manufacturer name and the reference
Use this interface to manage a terminal inside a manufacturer part.
Definition: EwManufacturerPartObjects.idl:38
EwErrorCode setText(BSTR strText)
Set a text of this terminal.
EwErrorCode setMnemonic(BSTR strMnemonic)
Set a mnemonic of this terminal.
BSTR getText(EwErrorCode *errorCode)
Get a text of this terminal.
LONG getMaxWireNumber(EwErrorCode *errorCode)
Get a max wire number of this terminal.
LONG getEwManufacturerPartCircuitNumber()
Get the circuit number where this terminal is present.
EwErrorCode setMaxWireGauge(BSTR strMaxWireGauge)
Set a max wire gauge of this terminal.
BSTR getMnemonic(EwErrorCode *errorCode)
Get a mnemonic of this terminal.
EwErrorCode setTerminationTypeCode(BSTR strTerminationTypeCode)
Set the termination type code of this terminal.
DOUBLE getMaxWireSection(EwErrorCode *errorCode)
Get a max wire section of this terminal.
BSTR getMaxWireGauge(EwErrorCode *errorCode)
Get a max wire gauge of this terminal.
BSTR getTerminationTypeCode(EwErrorCode *errorCode)
Get the termination type code of this terminal.
EwErrorCode setMaxWireSection(DOUBLE dMaxWireSection)
Set a max wire section of this terminal.
LONG getNumber()
Get the number of this terminal.
EwErrorCode setMaxWireNumber(LONG lMaxWireNumber)
Set a max wire number of this terminal.
Use this interface to manage a manufacturer part.
Definition: EwManufacturerPartObjects.idl:399
EwErrorCode setControlVoltage(BSTR strControlVoltage)
Set the control voltage of this manufacturer part.
EwErrorCode setArticleNumber(BSTR strArticleNumber)
Set the article number of this manufacturer part.
EwErrorCode setStockNumber(BSTR strStockNumber)
Set the stock number of this manufacturer part.
VARIANT_BOOL getExcludeFromBillOfMaterials(EwErrorCode *errorCode)
Check if current manufacturer part is to exclude from bill of materials.
BSTR get3DPartPath(EwErrorCode *errorCode)
Get the 3D part associated with this manufacturer part.
VARIANT getManufacturerPartArray(EwErrorCode *errorCode)
Return array of manufacturer parts from a Electrical Assembly.
IEwManufacturerPartX duplicate(EwErrorCode *errorCode)
Duplicate current manufacturer part.
EwErrorCode setReference(BSTR strReference)
Set the reference of this manufacturer part.
BSTR getReference(EwErrorCode *errorCode)
Get the reference of this manufacturer part.
BSTR get2DFootprintSymbolName(EwErrorCode *errorCode)
Get the 2D Footprint Symbol Name.
EwErrorCode setClassNodeID(LONG lNodeId)
BSTR getStockNumber(EwErrorCode *errorCode)
Get the stock number of this manufacturer part.
EwErrorCode set2DFootprintSymbolName(BSTR str2DFootprintSymbolName)
Set the 2D Footprint Symbol Name.
int getEwManufacturerPartCount(EwErrorCode *errorCode)
Return the number of manufacturer parts from the current Electrical Assembly.
BSTR getSchemeSymbolName(EwErrorCode *errorCode)
Get the scheme symbol name.
DOUBLE getWidth(EwErrorCode *ewErrorCode)
Get the width in millimeters of this manufacturer part.
BSTR getLineDiagramSymbolName(EwErrorCode *errorCode)
Get the line diagram symbol name.
BSTR get2DConnectionLabelSymbolName(EwErrorCode *errorCode)
Get the 2D Connection label Symbol Name.
BSTR getCommercialReference(BSTR lgCode, EwErrorCode *errorCode)
Get a commercial reference of this manufacturer part.
EwErrorCode setExternalID(BSTR strExternalID)
Set the external identifier of this manufacturer part.
BSTR getUseVoltage(EwErrorCode *ewErrorCode)
Get the UseVoltage of this manufacturer part.
EwErrorCode deleteEwManufacturerPartCircuitAt(LONG index)
Delete a circuit from this manufacturer part.
IEwClassificationX getClassification(EwErrorCode *errorCode)
Get the classification of the current manufacturer part.
EwManufacturerPartType getEwManufacturerPartType(EwErrorCode *errorCode)
Get the base type of this manufacturer part.
EwErrorCode deleteAllEwManufacturerPart()
Remove all manufacturer parts from the current Electrical Assembly.
EwErrorCode setCommercialReference(BSTR lgCode, BSTR strValue)
Set a commercial reference of this manufacturer part.
BSTR getSupplierName(EwErrorCode *errorCode)
Get the supplier name of this manufacturer part.
EwErrorCode setWidth(DOUBLE dWidth)
Set the width in millimeters of this manufacturer part.
LONG getClassID(EwErrorCode *errorCode)
Get the class ID of manufacturer part.
IEwManufacturerPartCircuitX addEwManufacturerPartCircuit(BSTR strCircuitCode, EwErrorCode *errorCode)
Create and add a circuit for this manufacturer part.
BSTR getRootMark(EwErrorCode *errorCode)
Get the root mark of this manufacturer part.
BSTR getUseFrequency(EwErrorCode *ewErrorCode)
Get the UseFrequency of this manufacturer part.
EwErrorCode setValue(LONG lValueId, BSTR strValue)
Set manufacturer value according to part classification.
IEwManufacturerPartCircuitX getEwManufacturerPartCircuitAt(LONG index, EwErrorCode *errorCode)
Get an object inside this manufacturer part.
EwErrorCode setClassID(LONG lID)
Set the class ID of this manufacturer part.
DOUBLE getWeight(EwErrorCode *errorCode)
Get the weight in grams of this manufacturer part.
EwErrorCode setHeight(DOUBLE dHeight)
Set the height in millimeters of this manufacturer part.
EwErrorCode setRootMark(BSTR strRootMark)
Set the root mark of this manufacturer part.
BSTR getValue(LONG lValueId, EwErrorCode *errorCode)
Get manufacturer value according to part classification.
EwErrorCode setWeight(DOUBLE dWeight)
Set the weight of this manufacturer part.
EwErrorCode setSerie(BSTR strSeries)
Set the series of this manufacturer part.
EwErrorCode setUseFrequency(BSTR strUseFrequency)
Set the use frequency of this manufacturer part.
BSTR getDescription(BSTR lgCode, EwErrorCode *errorCode)
Get a description of this manufacturer parts.
BSTR getControlVoltage(EwErrorCode *errorCode)
Get the ControlVoltage of this manufacturer part.
BSTR getUserData(LONG nUserDataNumber, EwErrorCode *errorCode)
Get user data of the object.
EwErrorCode setManufacturer(BSTR strManufacturer)
Set the manufacturer of this manufacturer part.
EwErrorCode setUserData(LONG nUserDataNumber, BSTR strValue)
Set user data of the object.
EwErrorCode set2DConnectionLabelSymbolName(BSTR str2DConnectionLabelSymbolName)
Set the 2D Connection label Symbol Name.
BSTR getSerie(EwErrorCode *errorCode)
Get the series of this manufacturer part.
EwErrorCode set3DPartPath(BSTR str3DPartPath)
Set the 3D part associated with this manufacturer part.
BSTR getArticleNumber(EwErrorCode *errorCode)
Get the article number of this manufacturer part.
BSTR getLibraryCode(EwErrorCode *errorCode)
Get the library code of this manufacturer part.
EwErrorCode addEwManufacturerPartAt(int iIndex, IEwManufacturerPartX *iManufacturerPartX)
Add a new manufacturer parts from the current Electrical Assembly at the specified position.
DOUBLE getDepth(EwErrorCode *errorCode)
Get the Depth in millimeters of this manufacturer part.
EwErrorCode setEwManufacturerPartType(EwManufacturerPartType eManufacturerPartType)
Set the base type of this manufacturer part.
BSTR getExternalID(EwErrorCode *errorCode)
Get external identifier of this manufacturer part.
EwErrorCode addEwManufacturerPart(IEwManufacturerPartX *iManufacturerPartX)
Add a new manufacturer parts from the current Electrical Assembly.
LONG getClassNodeID(EwErrorCode *errorCode)
BSTR getControlFrequency(EwErrorCode *ewErrorCode)
Get the ControlFrequency of this manufacturer part.
EwErrorCode setSupplierName(BSTR strSupplierName)
Set the supplier name of this manufacturer part.
EwErrorCode setDepth(DOUBLE dDepth)
Set the depth in millimeters of this manufacturer part.
LONG getEwManufacturerPartCircuitCount()
Count the number of circuit in this manufacturer part.
EwErrorCode setSchemeSymbolName(BSTR strSchemeSymbolName)
Set the scheme symbol name.
DOUBLE getHeight(EwErrorCode *errorCode)
Get the Height in millimeters of this manufacturer part.
IEwManufacturerPartX getEwManufacturerPartAt(int iIndex, EwErrorCode *errorCode)
Return the specified manufacturer parts from the current Electrical Assembly.
EwErrorCode setLineDiagramSymbolName(BSTR strLineDiagramSymbolName)
Set the line diagram symbol name.
BSTR getManufacturer(EwErrorCode *errorCode)
Get the manufacturer of this manufacturer part.
EwErrorCode setControlFrequency(BSTR strControlFrequency)
Set the control frequency of this manufacturer part.
EwErrorCode deleteEwManufacturerPartAt(int iIndex)
Remove a manufacturer parts specified by the index from the current Electrical Assembly.
EwErrorCode setLibraryCode(BSTR strLibraryCode)
Set the library code of this manufacturer part.
EwErrorCode setUseVoltage(BSTR strUseVoltage)
Set the use voltage of this manufacturer part.
EwErrorCode setExcludeFromBillOfMaterials(VARIANT_BOOL bIsExcludeFromBOM)
Set if current manufacturer part is to exclude from bill of materials.
EwErrorCode setDescription(BSTR lgCode, BSTR strValue)
Set a description of this manufacturer part.