⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 state.h~

📁 cam ui application for linux
💻 H~
字号:
#ifndef __STATE_H__
#define __STETE_H__
#define BYTE				     char 
#define STATE_POWER_ON                0x00
#define STATE_STANDBY                 0x10
#define STATE_REC                     0x20
#define STATE_SET_VIOSD               0x30
#define STATE_CHG_VIOSD               0x31
#define STATE_SET_MD                  0x40
#define STATE_CHG_MD                  0x41
#define STATE_SET_FILE_FMT            0x50
#define STATE_CHG_FILE_FMT            0x51
#define STATE_SET_BITRATE             0x60
#define STATE_CHG_BITRATE             0x61
#define STATE_SET_FRAMERATE           0x70
#define STATE_CHG_FRAMERATE           0x71
#define STATE_SET_SCH_REC             0x80
#define STATE_CHG_SCH_REC             0x81
#define STATE_SET_SCH_REC_START       0x82#define STATE_SET_SCH_REC_TIME        0x83#define STATE_CHG_SCH_REC_TIME        0x84#define STATE_SET_SCH_REC_DAY         0x85#define STATE_CHG_SCH_REC_DAY         0x86#define STATE_SET_SCH_REC_HOUR        0x87#define STATE_CHG_SCH_REC_HOUR        0x88#define STATE_SET_SCH_REC_MIN         0x89#define STATE_CHG_SCH_REC_MIN         0x8A
#define STATE_SET_DATE                0x90
#define STATE_SET_YEAR								0x91
#define STATE_CHG_YEAR								0X92
#define STATE_SET_MONTH								0x93
#define STATE_CHG_MONTH								0x94
#define STATE_SET_DAY									0x95
#define STATE_CHG_DAY									0x96
#define STATE_SET_TIME                0xa0
#define STATE_SET_HOUR								0xa1
#define STATE_CHG_HOUR								0xa2
#define STATE_SET_MIN									0xa3
#define STATE_CHG_MIN									0xa4
#define STATE_SET_SEC									0xa5
#define STATE_CHG_SEC									0xa6
#define STATE_SET_FMT_SD              0xb0
#define STATE_FMT_SD                  0xb1
#define STATE_SET_UPG                 0xc0
#define STATE_UPG                     0xc1
#define STATE_SET_IMGDISP             0xc2
#define STATE_CHG_IMGDISP							0xc3
#define STATE_REBOOT                  0xf0
#define STATE_NO_CHANGE               0xff
#define FIVE_SECOND										5


//#define STATE_MANUAL_REC        0x02
//#define STATE_CHECK_UPGRADE     0x03
//#define STATE_UPGRADE           0x04
//#define STATE_CHECK_DATE        0x05
//#define STATE_CHECK_TIME        0x06
//#define STATE_REBOOT            0xfe
//#define STATE_NO_CHANGE         0xff
#define 	SCH_START								1
#define 	SCH_STOP								0
#define		M_DETEC_START						1
#define		M_DETEC_STOP						0
#define		REC_NU									0
#define		REC_MD									1
#define		REC_SCH									2
int STATE_FindNextState (int iProcessKey);
int STATE_ExitCurrentState (void);
int STATE_EnterNextState (void);
void schedule_rec(void);
void MD_Service(void);
void nv_sch_get(void);
extern int iStateNow, iStateNext;
void getDeviceFreeMb(char *wkDirPtr);
void *SigIntHanlder(int Signal);
static long ql201_get_motion_detection_info_vi(void);
#endif

⌨️ 快捷键说明

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