79 lines
1.5 KiB
C#
79 lines
1.5 KiB
C#
|
using System;
|
|||
|
using System.Linq;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Text;
|
|||
|
|
|||
|
namespace ITC81DB_0H
|
|||
|
{
|
|||
|
#region DataBackupYear
|
|||
|
public class DataBackupYear
|
|||
|
{
|
|||
|
#region Field
|
|||
|
private string m_Year;
|
|||
|
|
|||
|
public List<DataBackupMonth> Months;
|
|||
|
#endregion
|
|||
|
|
|||
|
#region Constructor
|
|||
|
public DataBackupYear(string year)
|
|||
|
{
|
|||
|
this.Initialize();
|
|||
|
|
|||
|
this.Year = year;
|
|||
|
}
|
|||
|
#endregion
|
|||
|
|
|||
|
#region Property
|
|||
|
public string Year
|
|||
|
{
|
|||
|
get { return this.m_Year; }
|
|||
|
private set { this.m_Year = value; }
|
|||
|
}
|
|||
|
#endregion
|
|||
|
|
|||
|
#region Method
|
|||
|
private void Initialize()
|
|||
|
{
|
|||
|
this.Year = "";
|
|||
|
this.Months = new List<DataBackupMonth>();
|
|||
|
}
|
|||
|
#endregion
|
|||
|
}
|
|||
|
#endregion
|
|||
|
#region DataBackupMonth
|
|||
|
public class DataBackupMonth
|
|||
|
{
|
|||
|
#region Field
|
|||
|
private string m_Month;
|
|||
|
|
|||
|
public List<string> Days;
|
|||
|
#endregion
|
|||
|
|
|||
|
#region Constructor
|
|||
|
public DataBackupMonth(string month)
|
|||
|
{
|
|||
|
this.Initialize();
|
|||
|
|
|||
|
this.Month = month;
|
|||
|
}
|
|||
|
#endregion
|
|||
|
|
|||
|
#region Property
|
|||
|
public string Month
|
|||
|
{
|
|||
|
get { return this.m_Month; }
|
|||
|
private set { this.m_Month = value; }
|
|||
|
}
|
|||
|
#endregion
|
|||
|
|
|||
|
#region Method
|
|||
|
private void Initialize()
|
|||
|
{
|
|||
|
this.Month = "";
|
|||
|
this.Days = new List<string>();
|
|||
|
}
|
|||
|
#endregion
|
|||
|
}
|
|||
|
#endregion
|
|||
|
}
|