ab56a9bcf7
SVN-Revision: r240
31 lines
867 B
C#
31 lines
867 B
C#
using Lskj.PubTaskPlan.Control;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Lskj.PubTaskPlan.Model
|
|
{
|
|
public class DayControlModel
|
|
{
|
|
private DayControl MianFormDayControl;
|
|
public DayControlModel(DayControl dayControl, DataRow dataRow)
|
|
{
|
|
if (dayControl != null)
|
|
{
|
|
MianFormDayControl = dayControl;
|
|
D_Day = dataRow != null && dataRow.Table.Columns.Contains("D_Day") ? Convert.ToInt32(dataRow["D_Day"] + "") : 1;
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// 按天,执行间隔
|
|
/// </summary>
|
|
public int D_Day
|
|
{
|
|
get { return (int)MianFormDayControl.spin_interval.Value; }
|
|
set { MianFormDayControl.spin_interval.Value = value; }
|
|
}
|
|
}
|
|
}
|