NULL
This commit is contained in:
33
user/Compute/PipeFlowRate.h
Executable file
33
user/Compute/PipeFlowRate.h
Executable file
@@ -0,0 +1,33 @@
|
||||
/********************************************************************************************************
|
||||
** 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 __PipeFlowRate_h__
|
||||
#define __PipeFlowRate_h__
|
||||
|
||||
//******************************************************************************
|
||||
// for memory WIDTH
|
||||
#define CALIB_DIAMETER_WIDTH 3
|
||||
#define WORK_DIAMETER_WIDTH 3
|
||||
#define PIPE_BASE_WIDTH 6
|
||||
//******************************************************************************
|
||||
// for memory CRC
|
||||
#define CALIB_DIAMETER_CRC (CALIB_DIAMETER_WIDTH-1)
|
||||
#define WORK_DIAMETER_CRC (WORK_DIAMETER_WIDTH-1)
|
||||
//******************************************************************************
|
||||
// for memory address
|
||||
#define CALIB_DIAMETER PIPE_BASE
|
||||
#define WORK_DIAMETER (PIPE_BASE + CALIB_DIAMETER_WIDTH)
|
||||
//******************************************************************************
|
||||
#define CALIB_DIAMETER_DEFAULT 100
|
||||
#define WORK_DIAMETER_DEFAULT 100
|
||||
//******************************************************************************
|
||||
extern unsigned short calibDiameter, workDiameter;
|
||||
//******************************************************************************
|
||||
unsigned long int CorrectTubeFlowrate(unsigned long int correctFlowRate);
|
||||
void PipeFlowRateComputeInit(void);
|
||||
#endif
|
||||
Reference in New Issue
Block a user