Files
CHJ/user/Compute/GasAnalysis.h

40 lines
1.5 KiB
C
Raw Normal View History

2026-03-20 21:16:58 +08:00
/********************************************************************************************************
** HY3106<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͷ<EFBFBD>ļ<EFBFBD>
**
** Copyright (c) Siargo, Ltd. 2011
** All Rights Reserved.
**
********************************************************************************************************/
#ifndef __GasAnalysis_h__
#define __GasAnalysis_h__
#define RH_PARA_DEFAULT 32768
//******************************************************************************
extern u16 ATypeNode[CURVE_DATA_MAX], ATypeVal[CURVE_DATA_MAX], curveATypeNum;
//******************************************************************************
void GasAnalysisParameterInit(void);
2026-03-20 21:19:04 +08:00
unsigned int ComputeZeroVHH(void);
unsigned long int GetVHHFactor(unsigned int flowIndex);
2026-03-20 21:16:58 +08:00
void GasAnasisCompute(void);
bool GasAnasisOneTime(void);
void ReadVHHCurveFromMemory(void);
2026-03-20 21:19:04 +08:00
unsigned int FindVHHInCalibCurve(unsigned int calibIndex);
2026-03-20 21:16:58 +08:00
//------------------------------------------------------------------------------
#ifndef ENABLE_DENSITY_DETECT
#pragma message("[undefined] ENABLE_DENSITY_DETECT")
#elif(ENABLE_DENSITY_DETECT)
#ifndef DENSITY_FS
#define DENSITY_FS 1000
#define DENSITY_ZERO 0
#endif
void GasDensityCompute(void);
#endif
//******************************************************************************
#endif
//******************************************************************************