#ifndef __TICKET_H_ #define __TICKET_H_ #include "includes.h" #define NO_SLEEP_TIME 0xffffff typedef enum{ TICKET_PT_DOMAIN, //0 TICKET_PT_NETWORK, //1 TICKET_PT_QUECOM, //2 TICKET_PT_QUEREC, //3 TICKET_PT_APPPLY, //4 TICKET_PT_APPREC, //5 TICKET_PT_AUTHLOGIN, //6 TICKET_PT_LOCATION, //7 TICKET_PT_MCUIAP, //8 TICKET_PT_LBSMOTION, //9 TICKET_PT_NEAR, //10 TICKET_PT_VOICEUPLOAD,//11 TICKET_PT_MAX }TICKET_ENUM; void ticketReset(void); //投票 void ticketVote(TICKET_ENUM vote); //撤票 void ticketDeVote(TICKET_ENUM vote); PT_THREAD (ptTicketTask(pt_timer_t *ptPool, struct pt *pt)); void WakeupNow(char *name); void ticketStatusShow(void); #endif