#ifndef __INDEX_H__#define __INDEX_H__
#include "globalvar.h"#include "interface.h"#include "app.h"
#define WORKPLAN "WPLAN.txt"
#define NEWS_LENGHT 200 //文件中定义每条信息长度#define BIANHAO_PAGE_LENGH 2 //定义编号页大小#define PIHAO_PAGE_LENGH 10 //定义批号页大小#define FLAG_SELECT 49 //标志位位置 //#define PIHAO_LENGH 25 //批号长度+订单号#define BIANHAO_LENGH 25 //编号长度#define MODEL_LENGH 30#define COLOUR_LENGH 30 //颜色长度#define STRUCTURE_LENGH 30 //结构长度
#define DUAN_LENGH 50 //编号中每个字段预留50#define SPACE 100 //索引编号时每个编号占据屏幕空间
extern void putending(char *str);extern int selected_pihao_index; extern int selected_offset;extern unsigned char pihao_selected_flag;
void index_pihao(void);void index_bianhao(void);
#endif
#include "globalvar.h"#include "interface.h"#include "app.h"
#define WORKPLAN "WPLAN.txt"
#define NEWS_LENGHT 200 //文件中定义每条信息长度#define BIANHAO_PAGE_LENGH 2 //定义编号页大小#define PIHAO_PAGE_LENGH 10 //定义批号页大小#define FLAG_SELECT 49 //标志位位置 //#define PIHAO_LENGH 25 //批号长度+订单号#define BIANHAO_LENGH 25 //编号长度#define MODEL_LENGH 30#define COLOUR_LENGH 30 //颜色长度#define STRUCTURE_LENGH 30 //结构长度
#define DUAN_LENGH 50 //编号中每个字段预留50#define SPACE 100 //索引编号时每个编号占据屏幕空间
extern void putending(char *str);extern int selected_pihao_index; extern int selected_offset;extern unsigned char pihao_selected_flag;
void index_pihao(void);void index_bianhao(void);
#endif