35 lines
1.4 KiB
C
Executable File
35 lines
1.4 KiB
C
Executable File
/********************************************************************************************************
|
|
** HY3106常数与子程序定义头文件
|
|
**
|
|
** Copyright (c) Siargo, Ltd. 2011
|
|
** All Rights Reserved.
|
|
**
|
|
**-------------------------------------------------------------------------------------------------------
|
|
********************************************************************************************************/
|
|
#ifndef __Correct_h__
|
|
#define __Correct_h__
|
|
|
|
//******************************************************************************
|
|
extern u32 dcoefNode[];
|
|
extern u16 dcoef, dcoefVal[];
|
|
extern u16 GCFCoefB;
|
|
extern s32 GCFCoefA, GCFCoefC;
|
|
//extern u16 dcoefNum ;
|
|
|
|
//******************************************************************************
|
|
void StoreDevCoefNodeAndValue(u8 I);
|
|
bool ReadDevCoefNodeAndValue(u8 I);
|
|
void DefaultDevCoef(void);
|
|
void RetriveDevCoef(void);
|
|
void JudgeDevCoef(void);
|
|
u16 GetDevCoefFactor(u32 dcoefFlowRate);
|
|
u32 CorrectionExpression(u32 target, u16 factor, u16 base);
|
|
void FlowRateSecondaryCorrection(void);
|
|
//void ReadCorrectByCom(void);
|
|
//void WriteCorrectByCom(void);
|
|
|
|
void ReadCorrectNodeByCom(void);
|
|
void ReadCorrectValueByCom(void);
|
|
void GCFCorrection(void);
|
|
void ComputeGCFFactor(void);
|
|
#endif |