📄 event.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -