?? cc_data_struct0615.h
字號:
/*************************************************************/
/*************************************************************/
struct ring_info_struct
{
int nRingId; //鈴聲ID int 4 鈴聲的標識ID
char szRingName[CC_RING_NAME_LEN]; //名稱 char 20+1
char szRingPath[CC_RING_PATH_LEN]; //鈴聲路徑 char 60+1
char szKeepCode[CC_KEEP_CODE_LEN]; //保留字段 char 10 保留
};
/*************************************************************/
/*************************************************************/
/**** Create by Eagegao in 2004-12-17 ****/
/**** this struct identified the infomation of a ****/
/**** schedule.if the infomation of the schedule ****/
/**** is added,it the cell of the struct that is ****/
/**** szKeepCode will be used as the added ****/
/**** infomation. ****/
/**** this struct won't be saved in the database ****/
/*************************************************************/
/*************************************************************/
struct schedule_info_struct
{
int nScheduleId; //日程ID int 4 日程的標識
int nSceDevId; //場景/設備ID int 4 場景或設備的標識ID
char cType; //類型 char 1 1-為設備時間點 2-為設備時間段 3-為場景
int nBeginTimerId; //起始定時器ID int 4 定時器->ID
char method; //操作方法 char 1 1:開操作(設備值起作用)2:關操作3:停用操作4:啟用操作
short nDevStatus; //設備值 Short 2 同設備->當前狀態
int nLastTimerId; //結束定時器ID int 4 定時器->ID
char szKeepCode[CC_KEEP_CODE_LEN]; //保留字段 char 10 保留
};
/*************************************************************/
/*************************************************************/
/**** Create by Eagegao in 2004-12-17 ****/
/**** this struct identified the infomation of a ****/
/**** room.if the infomation of the room is ****/
/**** added,it the cell of the struct that is ****/
/**** szKeepCode will be used as the added ****/
/**** infomation. ****/
/**** this struct won't be saved in the database ****/
/*************************************************************/
/*************************************************************/
struct room_info_struct
{
int nRoomId; //房間ID int 4 房間的標識ID
char szRoomName[CC_ROOM_NAME_LEN]; //房間名稱 char 20+1 用戶可自定義的名稱.,默認是根據房間類型來命名
int nRoomType; //房間類型ID int 4
char szRoomDescrip[CC_ROOM_DESCRIP_LEN]; //描述 char 60+1 對房間的詳細描述
char szKeepCode[CC_KEEP_CODE_LEN]; //保留字段 char 10 保留
};
/*************************************************************/
/*************************************************************/
/**** Create by Eagegao in 2004-12-17 ****/
/**** this struct identified the infomation of a ****/
/**** room_type.if the infomation of the room_type ****/
/**** is added,it the cell of the struct that is ****/
/**** szKeepCode will be used as the added ****/
/**** infomation. ****/
/**** this struct won't be saved in the database ****/
/*************************************************************/
/*************************************************************/
struct room_type_info_struct
{
int nRoomTypeId; //房間類型ID Int 4 房間類型的標識ID
char szTypeName[CC_ROOM_TYPE_NAME_LEN]; //類型名 Char 20+1 0:主臥 1:次臥 2:客廳 3:陽臺 4.廚房 5.書房 6.走廊 7.其他
char szKeepCode[CC_KEEP_CODE_LEN]; //保留字段 char 10 保留
};
/*************************************************************/
/*************************************************************/
/**** Create by Eagegao in 2004-12-17 ****/
/**** this struct identified the infomation of a ****/
/**** part_safty.if the infomation of ****/
/**** the part_safty is added,it the cell of the ****/
/**** struct that is szKeepCode will be used as ****/
/**** the added infomation. ****/
/**** this struct won't be saved in the database ****/
/*************************************************************/
/*************************************************************/
struct part_safty_info_struct
{
int nPartSaftyId; //ID Int 4 設防的索引ID
int nRoomId; //房間ID Int 4 見房間->房間ID
char cLookType; //類型 Byte 1 1-一次性2-每日3-每周4-每月5-每年
int nStartTime; //起始時間 UINT 4 根據類型決定類型―>時間定義1―>日期時間,time_t類型
//2―>一天內的累計分鐘,范圍0-24×60-1
//3―>一周內的累計分鐘,范圍0-7×24×60-1,周日為0,
//4―>一月內的累計分鐘,范圍0-31×24×60-1
//5―>一年內的累計分鐘,范圍0-365×24×60-1
int nEndTime; //結束時間 UINT 4 同上,但要晚于上面的時間
};
/*************************************************************/
/*************************************************************/
/**** Create by Eagegao in 2004-12-17 ****/
/**** this struct identified the infomation of a ****/
/**** card.if the infomation of the card ****/
/**** is added,it the cell of the struct that ****/
/**** is szKeepCode will be used as the added ****/
/**** infomation. ****/
/**** this struct won't be saved in the database ****/
/*************************************************************/
/*************************************************************/
struct card_info_struct
{
int nCardId; //卡ID int 4 卡的標識ID
char szCardNum[CC_CARD_NUM_LEN]; //卡號 char 15+1 卡的編號
char szMembName[CC_MEMB_NAME_LEN]; //成員名 char 20+1 使用此卡的成員名
int nTime; //登記時間 int 4 最近設置時間
char cType; //卡類型 char 1 0-永久有效 1-時間有效 2-無效
char szKeepCode[CC_KEEP_CODE_LEN]; //保留字段 char 10 保留
};
/*************************************************************/
/*************************************************************/
/**** Create by Eagegao in 2004-12-17 ****/
/**** this struct identified the infomation of a ****/
/**** card_invalide.if the infomation of ****/
/**** the card_invalide is added,it the cell of the ****/
/**** struct that is szKeepCode will be used as ****/
/**** the added infomation. ****/
/**** this struct won't be saved in the database ****/
/*************************************************************/
/*************************************************************/
struct card_invalide_info_struct
{
int nId; //ID int 4 標識ID
int nCardId; //卡ID int 4 用戶卡的ID
char cLoopType; //循環類型 char 1 1-一次性 2-每日 3-每周 4-每月 5-每年
int nBeginTime; /*起始時間 int 4 根據類型決定
類型―>時間定義
1―>日期時間,time_t類型
2―>一天內的累計分鐘,范圍0-24×60-1
3―>一周內的累計分鐘,范圍0-7×24×60-1,周日為0,
4―>一月內的累計分鐘,范圍0-31×24×60-1
5―>一年內的累計分鐘,范圍0-365×24×60-1*/
int nLastTime; //結束時間 int 4 同上
char szKeepCode[CC_KEEP_CODE_LEN]; //保留字段 char 10 保留
};
/*************************************************************/
/*************************************************************/
/**** Create by Eagegao in 2004-12-17 ****/
/**** this struct identified the infomation of a ****/
/**** door_bind.if the infomation of the door_bind****/
/**** is added,it the cell of the struct that ****/
/**** is szKeepCode will be used as the added ****/
/**** infomation. ****/
/**** this struct won't be saved in the database ****/
/*************************************************************/
/*************************************************************/
struct door_bind_info_struct
{
int nId; //ID int 4
int nDoorForbid; //門禁ID int 4 門禁設備ID
int nDoorMagID; //門磁ID int 4 門磁設備ID
char szKeepCode[CC_KEEP_CODE_LEN]; //保留字段 char 10 保留
};
/*************************************************************/
/*************************************************************/
/**** Create by Eagegao in 2004-12-17 ****/
/**** this struct identified the infomation of a ****/
/**** door.if the infomation of the door ****/
/**** is added,it the cell of the struct that ****/
/**** is szKeepCode will be used as the added ****/
/**** infomation. ****/
/**** this struct won't be saved in the database ****/
/*************************************************************/
/*************************************************************/
struct door_info_struct
{
int nDoorMagId; //ID int 4
char nDoorMagCode[CC_DOOR_MAGCODE_LEN]; //門磁碼
char szKeepCode[CC_KEEP_CODE_LEN]; //保留字段 char 10 保留
};
/*************************************************************/
/*************************************************************/
/**** Create by Eagegao in 2004-12-17 ****/
/**** this struct identified the infomation of a ****/
/**** outin.if the infomation of the outin ****/
/**** is added,it the cell of the struct that ****/
/**** is szKeepCode will be used as the added ****/
/**** infomation. ****/
/**** this struct won't be saved in the database ****/
/*************************************************************/
/*************************************************************/
struct outin_record_info_struct
{
int nRecordId; //記錄ID int 門的標識ID
int nCardId; //卡ID int 4
char szMembName[CC_MEMB_NAME_LEN]; //成員名 car 20+1 此卡的成員名,可保存歷史記錄
int nTime; //時間 int 4 進出時間
int nDeviceId; //設備ID int 4 門禁的ID
char szKeepCode[CC_KEEP_CODE_LEN]; //保留字段 char 10 保留
};
/*************************************************************/
/*************************************************************/
/**** Create by Eagegao in 2004-12-17 ****/
/**** this struct identified the infomation of a ****/
/**** voice.if the infomation of the voice ****/
/**** is added,it the cell of the struct that ****/
/**** is szKeepCode will be used as the added ****/
/**** infomation. ****/
/**** this struct won't be saved in the database ****/
/*************************************************************/
/*************************************************************/
struct voice_record_info_struct
{
int nVoiceId; //留言ID Int 4 留言的標識ID
char szVoiceTitle[CC_VOICE_TITLE_LEN]; //標題 Char 20 留言的標題
int nUserId; //留言用戶ID Int 4 用戶ID(用戶標號12前8位產生
char szUserName[CC_VOICE_USER_NAME_LEN]; //留言用戶 Char 20 留言用戶名稱,
char szVoiceContext[CC_VOICE_CONTEXT_LEN]; //留言內容 Char 60 留言文件名稱
char cReadFlag; //閱讀標志 Byte 1 0-未閱讀1-已閱讀
char szKeepCode[CC_KEEP_CODE_LEN]; //保留字段 char 10 保留
};
/*************************************************************/
/*************************************************************/
/**** Create by Eagegao in 2004-12-17 ****/
/**** this struct identified the infomation of a ****/
/**** memory_text.if the infomation of the memory_text ****/
/**** is added,it the cell of the struct that ****/
/**** is szKeepCode will be used as the added ****/
/**** infomation. ****/
/**** this struct won't be saved in the database ****/
/*************************************************************/
/*************************************************************/
struct memory_text_info_struct
{
int nMemoId; //備忘錄ID int 4
char szTitle[CC_TITLE_LEN]; //標題 char 20+1
char szTipContent[CC_TIPCONTENT_LEN]; //提示內容 char 100+1
int nRecordTime; //記錄時間 int Time_t 類型
char cNotifyType; /*通知類型 char 1 0:-中控提示,(即響鈴)
1:中控不提示
2:-有短信
3:-無短信
4:-有郵件
5:-無郵件
*/
char szSMPhone[CC_SM_PHONE_LEN]; //短信手機 char 80+1 多個手機號以','隔開,空表示沒有
char szMailNotify[CC_MAIL_NOTIFY_LEN]; //郵件通知 char 80+1 多個郵件地址以','隔開,空表示沒有
int nTimer; //定時器ID int 4 觸發的定時器
int nRingId; //鈴聲ID int 4 響鈴提示的鈴聲
char szKeepCode[CC_KEEP_CODE_LEN]; //保留字段 char 10 保留
};
/*************************************************************/
/*************************************************************/
/**** Create by Eagegao in 2004-12-17 ****/
/**** this struct identified the infomation of a ****/
/**** alarm_set.if the infomation of the alarm_set ****/
/**** is added,it the cell of the struct that ****/
/**** is szKeepCode will be used as the added ****/
/**** infomation. ****/
/**** this struct won't be saved in the database ****/
/*************************************************************/
/*************************************************************/
struct alarm_set_info_struct
{
int nId; /* 類型ID int 4 現在只能由系統定制,用戶不能增加、刪除
1-火警
2-有毒氣體
3-匪警
4-緊急報警(用戶通過中控發出的報警)*/
char cAlarmType; /* 發送報警類型char 1 0-無
1-手機短信報警
2-電話報警
3-郵件報警
4-手機和電話
5-手機和郵件
6-電話和郵件
7-所有*/
char szCellPhone[CC_PHONE_NUM_LEN]; // 手機號碼 char 80+1 接收短信的手機號碼
char szPhoneNum[CC_PHONE_NUM_LEN]; // 電話號碼 char 80+1 接收電話報警的電話號碼
char szEMail[CC_EMAIL_LEN]; // 郵箱 char 80+1 接收郵件報警的郵件地址
char szTipConten[CC_ALARM_TIP_LEN]; // 提示內容 char 80+1 用戶自定義的報警提示內容
int nAlarmId; // 報警錄音ID int 4 電話報警用
char szKeepCode[CC_KEEP_CODE_LEN]; // 保留字段 char 10 保留
};
/*************************************************************/
/*************************************************************/
/**** Create by Eagegao in 2004-12-17 ****/
/**** this struct identified the infomation of a ****/
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -