using System;

namespace QCRPG.Framework;

public class TrafficGenInfoBase : IDeepCopyable<TrafficGenInfoBase>
{
	public static int timeoutPeriod = 60;

	public static int timeoutPerPacket = 1;

	public ulong id;

	public TrafficEndType endType;

	public TrafficGenStatus status;

	public DateTime startTime;

	public DateTime stopTime;

	public bool stop;

	public virtual TrafficGenInfoBase DeepCopy()
	{
		TrafficGenInfoBase trafficGenInfoBase = new TrafficGenInfoBase();
		trafficGenInfoBase.id = id;
		trafficGenInfoBase.endType = endType;
		trafficGenInfoBase.status = status;
		trafficGenInfoBase.startTime = startTime;
		trafficGenInfoBase.stopTime = stopTime;
		trafficGenInfoBase.stop = stop;
		return trafficGenInfoBase;
	}
}
