event.h

来自「银行的简易存储系统」· C头文件 代码 · 共 29 行

H
29
字号
#pragma once
#include <iostream>
#include "d_time24.h"

using namespace std;

enum EventType {arrival,departure};

class Event
{
public:
	Event(void);
	Event(time24 t,EventType et,int cn,int tn,int wt,int st);
	time24 GetTime() const;
    EventType GetEventType() const;
	int GetCustomerID() const;
	int GetTellerID() const;
	int GetWaitTime() const;
	int GetServiceTime() const;
	~Event(void);
private:    
	time24 time;
	int customerID;
	int tellerID;
	int waittime;
	int servicetime;
	EventType etype;
};

⌨️ 快捷键说明

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