/***************************************************************************/ /***************************************************************************/ /***************************************************************************/ /******* *******/ /******* U N I V E R S A L *******/ /******* *******/ /******* F U E L Q U A N T I T Y M E A S U R I N G S Y S T E M *******/ /******* *******/ /***************************************************************************/ /***************************************************************************/ /***************************************************************************/ /* */ /* Program Name : Universal Fuel Quantity Measuring System (UFQGS) */ /* Source File Name : comp_dat.h */ /* CPC : N/A */ /* Engineer : Sridhar Rokkam */ /* Criticality Level : Level C */ /* Contents : computation constants. */ /* Description : This include file contains the constants used by */ /* fuel quantity computations. */ /* */ /* */ /* */ /* Contents of this document are propriety information, property of: */ /* PARKER HANNIFIN CORPORATION */ /* GULL ELECTRONIC SYSTEMS DIVISION */ /* SMITHTOWN, NEW YORK 11787 */ /* Any attempt to copy or use the contents of this document in any manner */ /* whatsoever without express written consent of the owner is prohibited. */ /***************************************************************************/ /***************************************************************************/ /***************************************************************************/ /***************************************************************************/ /* Revision History */ /***************************************************************************/ /* */ /* Date Rev Engineer Description */ /* ------ --- -------- ------------------------------------------------ */ /* */ /***************************************************************************/ typedef struct { uint DRY_CAP; // dry cap to resolution of 0.1 pf uint EFF_CAP; // effective cap to resolution of 0.1 pf uint VOLUME_SCALE_FACTOR; // for cap to volume conversion uchar TANK; // to which tank the probe belongs // if tank = 0xff the tank unit is a compensator uchar COMPENSATOR; // compensator to be used for this probe uint MAX_VOL // maximum volume to resolution of 0.1 Gal } TANK_DATA_STRUCT_T; code TANK_DATA_STRUCT_T TANK_DATA[NUMBER_OF_CHANNELS] = { //Dry Effect Volume Tank Comp Max Vol 1261, 2640, 1234, 0, 9, 20000, // probe 0 1, 1, 1, 1, 10, 20000, // probe 1 1, 2, 1, 2, 11, 20000, // probe 2 1, 3, 1, 3, 12, 20000, // probe 3 1, 4, 1, 4, 13, 20000, // probe 4 1, 5, 1, 5, 9, 20000, // probe 5 1, 5, 1, 5, 9, 20000, // probe 6 1, 5, 1, 5, 9, 20000, // probe 7 0, 0, 0, 0, 9, 20000, // comp 8 0, 0, 0, 0, 9, 20000, // comp 9 0, 0, 0, 0, 9, 20000, // comp 10 0, 0, 0, 0, 9, 20000, // comp 11 0, 0, 0, 0, 9, 20000, // comp 12 0, 0, 0, 0, 9, 20000, // comp 13 0, 0, 0, 0, 9, 20000, // probe 14 0, 0, 0, 0, 9, 20000, // probe 15 0, 0, 0, 0, 9, 20000, // probe 16 0, 0, 0, 0, 9, 20000, // probe 17 0, 0, 0, 0, 9, 20000, // probe 18 0, 0, 0, 0, 9, 20000, // probe 19 0, 0, 0, 0, 9, 20000 // probe 20 };