public Annual(YEAR year, double target, double current = 0.0) { this.year = year; this.targetValue = target; this.currentValue = current; //historyRecordList = new List<Annual>(); }
internal YEAR GetDeepCopy() { YEAR y = new YEAR(); y.beginDate = this.beginDate; y.endDate = this.endDate; y.name = this.name; return(y); }
/// <summary> /// 设置年度 /// </summary> /// <param name="year"></param> internal void SetYear(int year) { YEAR y = new YEAR(); DateTime begin = new DateTime(year, 5, 1); DateTime end = new DateTime(year + 1, 4, 30); y.BeginDate = begin; y.EndDate = end; y.Name = year.ToString(); this.year = y; }
public Annual() { //historyRecordList = new List<Annual>(); year = new YEAR(); }