Exemple #1
0
 public Annual(YEAR year, double target, double current = 0.0)
 {
     this.year         = year;
     this.targetValue  = target;
     this.currentValue = current;
     //historyRecordList = new List<Annual>();
 }
Exemple #2
0
        internal YEAR GetDeepCopy()
        {
            YEAR y = new YEAR();

            y.beginDate = this.beginDate;
            y.endDate   = this.endDate;
            y.name      = this.name;

            return(y);
        }
Exemple #3
0
        /// <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;
        }
Exemple #4
0
 public Annual()
 {
     //historyRecordList = new List<Annual>();
     year = new YEAR();
 }