timeclass.h
来自「高速公路收费系统车道软件. 功能: 1 检测公路过往车辆 2 收费过程控制和数」· C头文件 代码 · 共 35 行
H
35 行
// TimeClass.h: interface for the CTimeInfo class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_TIMECLASS_H__D3DC3964_A034_41F9_9105_29ACD24069CC__INCLUDED_)
#define AFX_TIMECLASS_H__D3DC3964_A034_41F9_9105_29ACD24069CC__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <afxmt.h> //互持量头文件
class CTimeInfo
{
public:
CTimeInfo();
void AdjustTime(unsigned char *ReceiveData);
ULONG GetUnixTime();
UINT GetSecond();
UINT GetMinute();
UINT GetHour();
UINT GetDayCount();
UINT GetDay();
UINT GetMonth();
UINT GetYear();
void SetTime();
private:
static UINT nNowHour,nNowMinute,nNowSecond;
static UINT nNowYear,nNowMonth,nNowDay,nNowDayCount;
static ULONG nUnixTime;
};
#endif // !defined(AFX_TIMECLASS_H__D3DC3964_A034_41F9_9105_29ACD24069CC__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?