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

📄 timeclass.h

📁 高速公路收费系统车道软件. 功能: 1 检测公路过往车辆 2 收费过程控制和数据采集 3 车辆信息和图片上传服务器.
💻 H
字号:
// 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -