📄 client.h
字号:
// Client.h: interface for the CClient class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_CLIENT_H__03144F98_8D82_452E_BA3F_D072CEDD006E__INCLUDED_)
#define AFX_CLIENT_H__03144F98_8D82_452E_BA3F_D072CEDD006E__INCLUDED_
#include "StdAfx.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CClient //客户信息
{
public:
CClient(double need, //需求
double server_time , //服务时间
double time_low, //时间窗开始时间
double time_uper, //时间窗结束时间
double time_new, //新的开始时间
UINT previous=0,
UINT next=0);
double GetServerTime();
void SetServerTime(double time);
double GetTime_new();
void SetNewTime(double index);
UINT GetPrevious();
UINT GetNext();
void SetPrevious(UINT index);
void SetNeed(UINT need);
double GetTime_uper();
double GetTime_low();
double GetNeed();
CClient();
CClient(const CClient &client);
SetClient(double need,UINT time_low,UINT time_uper,int previous,int next);
void SetNext(UINT next);
virtual ~CClient();
private:
double need; //需求
double server_time ; //服务时间
double time_low; //时间窗开始时间
double time_uper; //时间窗结束时间
double time_new; //新的开始时间
UINT previous;
UINT next;
};
#endif // !defined(AFX_CLIENT_H__03144F98_8D82_452E_BA3F_D072CEDD006E__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -