package com.qiyou.mb.android.beans.basic;

 
import java.util.concurrent.ConcurrentHashMap;



public class TypeStatistics {

	public TypeStatistics() {
		// TODO Auto-generated constructor stub
	}
	public TypeStatistics(long mStart,long mEnd,int mType) {
		start =mStart;
		end =mEnd;
		type=mType;
	}
private ConcurrentHashMap<Integer,Statics_bean> sbs;
//private ArrayList<Statics_bean> asbs;
private long start=0;
private long end ;
private int type ;  
private StatTrack statTrack;
private ConcurrentHashMap<Integer,Integer> trackIds;

   public ConcurrentHashMap<Integer, Integer> getTrackIds() {
	   if(trackIds==null)trackIds=new ConcurrentHashMap<Integer, Integer>();
	return trackIds;
}
public void setTrackIds(ConcurrentHashMap<Integer, Integer> trackIds) {
	this.trackIds = trackIds;
}
public ConcurrentHashMap<Integer,Statics_bean> getSbs() {
		if (sbs==null) sbs =new ConcurrentHashMap<Integer,Statics_bean>();
	   return sbs;
	}
	public void setSbs(ConcurrentHashMap<Integer,Statics_bean> sbs) {
		this.sbs = sbs;
	}
	public long getStart() {
		return start;
	}
	public void setStart(long start) {
		this.start = this.start==0?start
				:start<this.start? start:this.start;
	}
	public long getEnd() {
		return end;
	}
	public void setEnd(long end) {
		this.end = end>this.end ?end:this.end ;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public StatTrack getStatTrack() {
		if(statTrack==null)statTrack =new StatTrack();
		return statTrack;
	}
	public void setStatTrack(StatTrack statTrack) {
		this.statTrack = statTrack;
	}
 
}
