using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HySoft.IVRFlowEditor.IVRControl;
using HySoft.IVRFlowEditor.Model;
namespace HySoft.IVRFlowEditor.IVRControlUtility
{
///
/// 定时器节点
///
[IVRAttribute("CELL_TIMER", Model.IVRSerializerType.节点, 2)]
public class IVRTimer : IVRControlBase
{
public IVRTimer(string name)
{
this.Name = name;
CtlProperty = new CtlIVRTimer(this);
}
///
/// :定时间隔,单位为秒。
///
[IVRAttribute("TimerInterval", Model.IVRSerializerType.元素, 2)]
public int TimerInterval
{ get; set; }
///
/// :生效时间段开始时间,格式为HH:MM。
///
[IVRAttribute("BeginTime", Model.IVRSerializerType.元素, 3)]
public string BeginTime
{ get; set; }
///
/// :生效时间段结束时间,格式为HH:MM。
///
[IVRAttribute("EndTime", Model.IVRSerializerType.元素, 4)]
public string EndTime
{ get; set; }
///
/// :定时器到时跳转的节点编号。
///
[IVRAttribute("Next", Model.IVRSerializerType.元素,5, IsPosPoint = true)]
public IVRControlBase Next
{ get; set; }
}
}