This commit is contained in:
2026-03-20 21:16:58 +08:00
parent 286ff98b8e
commit 90c3d919df
248 changed files with 94554 additions and 0 deletions

39
user/Compute/GasAnalysis.h Executable file
View File

@@ -0,0 +1,39 @@
/********************************************************************************************************
** HY3106<30><36><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӳ<EFBFBD><D3B3><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);
u16 ComputeZeroVHH(void);
u32 GetVHHFactor(u16 flowIndex);
void GasAnasisCompute(void);
bool GasAnasisOneTime(void);
void ReadVHHCurveFromMemory(void);
u16 FindVHHInCalibCurve(u16 calibIndex);
//------------------------------------------------------------------------------
#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
//******************************************************************************