2024 Interface
Changes 0
I

IPipeFittingAndAccessoryPressureDropServer

Description:
Interface class for external servers implementing pipe fitting and pipe accessory coefficient calculation.
Remarks:
A typical way to use the external server can be:
  • Implement a server class that derives from this interface
  • Create a new server object and register it with the service, see ExternalServiceRegistry.
  • Assign server to pipe fitting instance.
Name Return Type Description
M Calculate(PipeFittingAndAccessoryPressureDropData) bool Calculate the pipe fitting and pipe accessory coefficient.
M GetDataSchema() Schema Obtains the schema of the ESEntity.
M IsApplicable(PipeFittingAndAccessoryPressureDropData) bool Check if the server is applicable for the pipe fitting or pipe accessory.