message.h

来自「在ARM7和UC/OSII的平台上实现了GPS自动报站的功能,涉及GPS模块LE」· C头文件 代码 · 共 87 行

H
87
字号
/****************************************************************
**                                                              *
**  FILE         :  Message.H                                   *
**  COPYRIGHT    :  (c) 2001 .Xiamen Yaxon NetWork CO.LTD       *
**                                                              *
**                                                              *
**  By : CCH 2001.1.15                                          *
****************************************************************/

#ifndef	DEF_MESSAGE
#define	DEF_MESSAGE


/*
********************************************************************************
*                  DEFINE DISPLAYTASK MESSAGE
********************************************************************************
*/
#define MSG_DISPLAYTASK_START           0x00

#define MSG_DISPLAYTASK_KEY             MSG_DISPLAYTASK_START + 0x01
#define MSG_DISPLAYTASK_ID              MSG_DISPLAYTASK_START + 0x02
#define MSG_DISPLAYTASK_STS             MSG_DISPLAYTASK_START + 0x03
/*
********************************************************************************
*                  DEFINE ALMTASK MESSAGE
********************************************************************************
*/
#define MSG_ALMTASK_START               0x60

#define MSG_SENSOR_TRIGGERECCON         MSG_ALMTASK_START + 0x04
#define MSG_SENSOR_INTRECINT            MSG_ALMTASK_START + 0x05 
#define MSG_BUSSTATION_STATIONFD        MSG_ALMTASK_START + 0x06
#define MSG_BUSSTATION_STATIONARIVED    MSG_ALMTASK_START + 0x07
#define MSG_BUSSTATION_STATIONSTART     MSG_ALMTASK_START + 0x08
#define MSG_OBJECT_WANDAOFD             MSG_ALMTASK_START + 0x09
#define MSG_OBJECT_SHANGPOFD            MSG_ALMTASK_START + 0x0A
#define MSG_OBJECT_ADOBJ                MSG_ALMTASK_START + 0x0B
#define MSG_ELECDOG_FREEWAYEXIT         MSG_ALMTASK_START + 0x0C
#define MSG_OBJECT_XIAPOFD              MSG_ALMTASK_START + 0x0D
#define MSG_TIME_PROMPT                 MSG_ALMTASK_START + 0x0E
#define MSG_BUSSWORDS_RONGJI            MSG_ALMTASK_START + 0x0F
#define MSG_BUSSWORDS_RANGZUO           MSG_ALMTASK_START + 0x10
#define MSG_BUSSWORDS_BUSSTART          MSG_ALMTASK_START + 0x11
#define MSG_LAYOUT_SUCCESS              MSG_ALMTASK_START + 0x12
#define MSG_LAYOUT_NOSTA                MSG_ALMTASK_START + 0x13
#define MSG_LAYOUT_NOLINE               MSG_ALMTASK_START + 0x14
#define MSG_TIMESEC_CHANGE              MSG_ALMTASK_START + 0x15
#define MSG_VOLUME_STEPUP               MSG_ALMTASK_START + 0x16
#define MSG_VOLUME_STEPDOWN             MSG_ALMTASK_START + 0x17
#define MSG_ALARM_OVERSPEED             MSG_ALMTASK_START + 0x18 
/*
********************************************************************************
*                  DEFINE SYSTASK MESSAGE
********************************************************************************
*/
#define MSG_SYSTASK_START               0x80

#define MSG_AUDIO_TSK                   MSG_SYSTASK_START + 0x00
#define MSG_DEBUG_STATIONFD             MSG_SYSTASK_START + 0x01
#define MSG_DEBUG_STATIONARIVED         MSG_SYSTASK_START + 0x02
#define MSG_DEBUG_STATIONSTART          MSG_SYSTASK_START + 0x05
#define MSG_DEBUG_SECTIONVECLIM         MSG_SYSTASK_START + 0x06
#define MSG_DEBUG_RADARFOUND            MSG_SYSTASK_START + 0x07
#define MSG_DEBUG_LANEFOUND             MSG_SYSTASK_START + 0x08
#define MSG_DEBUG_ADOBJ                 MSG_SYSTASK_START + 0x09


#define MSG_DEBUG_SHANGPOFD             MSG_SYSTASK_START + 0x11
#define MSG_DEBUG_WANDAOFD              MSG_SYSTASK_START + 0x12
#define MSG_DEBUG_XIAPOFD               MSG_SYSTASK_START + 0x13

#define MSG_GPSDRV_NOAPPLY              MSG_SYSTASK_START + 0x15
#define MSG_DEBUG_NAMEPRINT             MSG_SYSTASK_START + 0x16
#define MSG_DEBUG_OPSTATUS              MSG_SYSTASK_START + 0x17

#define MSG_UARTSER_SIMUBEGIN           MSG_SYSTASK_START + 0x30
#define MSG_UARTSER_SIMUEND             MSG_SYSTASK_START + 0x31

#define MSG_DEBUG_KEYBOARD              MSG_SYSTASK_START + 0x35
#define MSG_DEBUG_OVERSPEED             MSG_SYSTASK_START + 0x36

#define MSG_TAX_CARSTATECHANGE			 MSG_SYSTASK_START + 0x38	//add by qzc



#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?