Aspen Touch Solutions ATM-123R Series Specifikace Strana 132

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 374
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 131
3-48 Extension Property Packages
3-48
has returned a non-zero for NumberOfPreselectedComponents),
the container handles the implementation of the
IsComponentAllowed method, allowing the extension developer
to return E_NOTIMPL for the method.
If the property package cannot handle changes to the
component slate, the CanExchangeComponents flag can be set
in the ExtensionPPkgInit structure. If this flag has been set,
HYSYS only allows you to add or remove components from the
end of the list.
ExtensionPPkgInit structure
This structure is passed to an Extension Property Packages in its
Initialize method. The extension must fill in the structure
according to its capabilities.
typedef struct
{
long StructSize;
long Version;
long NumberOfPreselectedComponents;
enum DynamicPropertyMethod DynPropMethod;
VARIANT_BOOL IsActivityModelType;
VARIANT_BOOL CanExchangeComponents;
VARIANT_BOOL CanCalculateFugacity;
VARIANT_BOOL CanCalculateLLE;
VARIANT_BOOL CanHandleOilHypos;
VARIANT_BOOL UseGFlashInDynamics;
VARIANT_BOOL CanHandleInsideOutPHFlash;
} ExtensionPPkgInit;
Data Member Details
StructSize This data member contains the size of the
ExtensionPPkgInit structure.
Version This data member must be filled in with
extnCurrentVersion.
NumberOfPreselectedComponents If the property package has a fixed component
slate, this number should be a non-zero value.
DynPropMethod This must be set to the type of Dynamic Property
Method to be used with the property package. See
DynamicPropertyMethod_enum in the type
library.
Zobrazit stránku 131
1 2 ... 127 128 129 130 131 132 133 134 135 136 137 ... 373 374

Komentáře k této Příručce

Žádné komentáře