using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using HySoft.IVRFlowEditor.Model;
using HySoft.FlowEditor;
namespace HySoft.IVRFlowEditor.IVRControlUtility
{
public class IVRControlBase : FlowNode
{
public IVRControlBase()
{
}
///
/// 继承类负责实例化对应的控件
///
public Control CtlProperty
{
get;
set;
}
///
/// xml流程文件中的POS属性所定义的属性,程序中无意义
///
[IVRAttribute("Pos", Model.IVRSerializerType.元素,1)]
public new string Pos
{
get
{
return base.ID;
}
set
{
base.ID = value;
}
}
///
/// 节点名称
///
[IVRAttribute("Name", Model.IVRSerializerType.元素, 0)]
public new string Name
{
get
{
return base.Name;
}
set
{
base.Name = value;
}
}
///
/// 节点的宽度
///
[IVRAttribute("IVR_Width", Model.IVRSerializerType.元素, 80)]
public new int IVR_Width
{
get
{
return base.Control.Width;
}
set
{
base.Control.Width = value;
}
}
///
/// 节点的高度
///
[IVRAttribute("IVR_Height", Model.IVRSerializerType.元素, 81)]
public new int IVR_Height
{
get
{
return base.Control.Height;
}
set
{
base.Control.Height = value;
}
}
///
/// IVR流程中X轴坐标
///
[IVRAttribute("IVR_X", Model.IVRSerializerType.元素, 82)]
public new int IVR_X
{
get
{
return base.CenterPoint.X;
}
set { }
}
///
/// IVR流程中Y轴坐标
///
[IVRAttribute("IVR_Y", Model.IVRSerializerType.元素, 83)]
public new int IVR_Y
{
get
{
return base.CenterPoint.Y;
}
set { }
}
///
/// IVR编辑器中节点的名称
///
[IVRAttribute("IVR_Name", Model.IVRSerializerType.元素, 84)]
public new string IVR_Name
{
get
{
return base.Name;
}
set { base.Name = value; }
}
///
/// 节点的描述
///
[IVRAttribute("Note", Model.IVRSerializerType.元素, 99)]
public new string Note
{
get
{
return base.Note;
}
set
{
base.Note = value;
}
}
///
/// 流程节点(主要在跳转子流程节点中作为选择项使用)
///
public List IVRFlows
{ get; set; }
}
}