2026-10-04 00:04:20 +08:00
|
|
|
#pragma once
|
2026-09-28 15:28:50 +08:00
|
|
|
|
|
|
|
|
#include "EarThwormDef.h"
|
|
|
|
|
|
|
|
|
|
class AecDbHvacFitting;
|
|
|
|
|
class CHVACFittingToolkit
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
CHVACFittingToolkit(void);
|
|
|
|
|
~CHVACFittingToolkit(void);
|
|
|
|
|
|
2026-10-04 00:04:20 +08:00
|
|
|
//弯头替换
|
2026-09-28 15:28:50 +08:00
|
|
|
static void EblowReplace(CMapFitaram& mapFitParam,int nFitCode,int nFitSect,AcDbObjectId& idFit);
|
|
|
|
|
|
2026-10-04 00:04:20 +08:00
|
|
|
// 变径替换
|
2026-09-28 15:28:50 +08:00
|
|
|
static void ReducerReplace(CMapFitaram& mapFitParam,int nFitCode,int nFitSect,AcDbObjectId& idToEdit);
|
|
|
|
|
|
2026-10-04 00:04:20 +08:00
|
|
|
//三通替换
|
2026-09-28 15:28:50 +08:00
|
|
|
static void TeeReplace(CMapFitaram& mapFitParam, int nFitCode,int nFitSect,AcDbObjectId& idToEdit);
|
|
|
|
|
|
2026-10-04 00:04:20 +08:00
|
|
|
//四通替换
|
2026-09-28 15:28:50 +08:00
|
|
|
static void CrossReplace(CMapFitaram& mapFitParam,int nFitCode,int nFitSect,AcDbObjectId& idToEdit);
|
|
|
|
|
|
2026-10-04 00:04:20 +08:00
|
|
|
//乙子弯
|
2026-09-28 15:28:50 +08:00
|
|
|
static void OffsetReplace(CMapFitaram& mapFitParam,int nFitCode,int nFitSect,AcDbObjectId& idToEdit);
|
|
|
|
|
|
2026-10-04 00:04:20 +08:00
|
|
|
//更新三通接口关系
|
2026-09-28 15:28:50 +08:00
|
|
|
static void UpdateTeeInfAssoc(AecDbHvacFitting *pFit, AcArray<AecInterface> &arTInfLast, AcArray<AecInterface> &arTInfThis, AecHvac::HvacTeeType eTeeTypeLast, AecHvac::HvacTeeType eTeeTypeThis, BOOL bFloorDir);
|
|
|
|
|
};
|