my_even.h
上传用户:shyuanyi
上传日期:2008-05-24
资源大小:69k
文件大小:3k
- /******************************************/
- #ifndef _EVENT_STATUS_DEF_
- #define _EVENT_STATUS_DEF_
- /*----------------------------------------*/
- #define IDEL_STATUS 0 //INIT_STATUS
- #define DJCON_NEXTKEY_STATUS 1
- #define CONSUME_STATUS 2
- #define PWDCONSUME_STATUS 3
- #define MY_TEST_STATUS 4
- #define QUERY_STATUS 5
- #define SETUP_STATUS 6
- #define BHCON_NEXTKEY_STATUS 7
- #define MY_MAX_STATUS 8
- /*----------------------------------------*/
- #endif
- /******************************************/
- /******************************************/
- #ifndef _MESSAGE_HEAD_
- #define _MESSAGE_HEAD_
- /*----------------------------------------*/
- #define MY_TEST_EVENT 0
- #define TIMER_COMED_EVENT 1
- #define KEY_PRESS_EVENT 2
- #define FIND_CARD_EVENT 3
- #define MY_UART_EVENT 4
- #define CARD_CONSUME_EVENT 5
- #define CHECK_CONNECTED_EVENT 6
- #define DETECTED_COMERING_EVENT 7
- #define OTHER_UNKNOW_ENVENT 0x3f
- /*---------------------------------------*/
- #endif
- /*****************************************/
- /***********************************************/
- #ifndef _MY_TIMER_HEAD_
- #define _MY_TIMER_HEAD_
- /*---------------------------------------------*/
- #define MY_Test_Tevent 0
- #define DIS_CLOCKEVENT_Tevent 1
- #define WAIT_PRESSKEY_Tevent 2
- #define WAIT_CARD_Tevent 3
- #define DISPLAY_DELAYEVENT_Tevent 4
- #define WAIT_EXIT_Tevent 5
- #define SETDEL_PASSWORD_Tevent 6
- #define NOTLOGIN_TONE_Tevent 7
- #define STOP_RING_Tevent 8
- #define OTHER_UNKNOW_Tevent 0x3f
- //==============================================
- #define MY_TEST_TIME 50*10
- #define DIS_CLOCKEVENT_TIME 50*1
- #define WAIT_PRESSKEY_TIME 50*8
- #define SET_PRESSKEY_TIME 50*30
- //#define WAIT_CARDCONSUME_TIME 15*1
- #define WAIT_CARDCONSUME_TIME 5*1
- #define DISPLAY_DELAYEVENT_TIME 50*1
- #define WAIT_EXIT_TIME 25*30
- #define WAIT_SeedCardInit_TIME 25*1
- #define WAIT_FIRSTKEY_TIME 25*15
- #define LED0_FLASH_TIME 25*3
- #define SEND_RING_TIME 25*3
- #define LOGINSTATUS_CHECK_TIME 25*25
- #define NOTLOGIN_TONE_TINE 25*3
- /*---------------------------------------------*/
- #endif
- /***********************************************/