public int getLimGroupDayLim(LimitationGroup lg) { var x = dayLims.FirstOrDefault(item => item.g.Equals(lg) == true); if (x == null) { return(int.MaxValue); } return(x.cnt); }
public LimitationGroupPair(Tuple <LimitationGroup, int> x) { this.g = x.Item1; this.cnt = x.Item2; }
public LimitationGroupPair(LimitationGroup g, int cnt) { this.g = g; this.cnt = cnt; }