#define uint unsigned int
#define uchar unsigned char
#define ulong unsigned long
struct Pra{
uchar idata PraNo; //参数编号
uint idata PraDat; //参数数据
uchar idata PraPoint; //参数小数点位置
uint code PraMax; //参数最大值
uint code PraMin; //参数最小值
};
struct Pra PraTab[]= //定义参数表
{
{0x00,0x00,0x0,0,0}, //当前参数
{0x01,0x01,0x04,59999,0}, //参数1;
{0x02,0x02,0x05,5000,1}, //参数2;
{0x03,0x03,0x05,100,0}, //参数3;
{0x04,0x04,0x05,100,0}, //参数4;
{0x05,0x05,0x05,100,0}, //参数5;
{0x06,0x06,0x05,100,0}, //参数6;
{0x07,0x00,0x09,9999,0} //参数7;
};
uchar data PraSum=7; //参数总数