| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- 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()
- {
- }
- /// <summary>
- /// 继承类负责实例化对应的控件
- /// </summary>
- public Control CtlProperty
- {
- get;
- set;
- }
- /// <summary>
- /// xml流程文件中的POS属性所定义的属性,程序中无意义
- /// </summary>
- [IVRAttribute("Pos", Model.IVRSerializerType.元素,1)]
- public new string Pos
- {
- get
- {
- return base.ID;
- }
- set
- {
- base.ID = value;
- }
- }
- /// <summary>
- /// 节点名称
- /// </summary>
- [IVRAttribute("Name", Model.IVRSerializerType.元素, 0)]
- public new string Name
- {
- get
- {
- return base.Name;
- }
- set
- {
- base.Name = value;
- }
- }
- /// <summary>
- /// 节点的宽度
- /// </summary>
- [IVRAttribute("IVR_Width", Model.IVRSerializerType.元素, 80)]
- public new int IVR_Width
- {
- get
- {
- return base.Control.Width;
- }
- set
- {
- base.Control.Width = value;
- }
- }
- /// <summary>
- /// 节点的高度
- /// </summary>
- [IVRAttribute("IVR_Height", Model.IVRSerializerType.元素, 81)]
- public new int IVR_Height
- {
- get
- {
- return base.Control.Height;
- }
- set
- {
- base.Control.Height = value;
- }
- }
- /// <summary>
- /// IVR流程中X轴坐标
- /// </summary>
- [IVRAttribute("IVR_X", Model.IVRSerializerType.元素, 82)]
- public new int IVR_X
- {
- get
- {
- return base.CenterPoint.X;
- }
- set { }
- }
- /// <summary>
- /// IVR流程中Y轴坐标
- /// </summary>
- [IVRAttribute("IVR_Y", Model.IVRSerializerType.元素, 83)]
- public new int IVR_Y
- {
- get
- {
- return base.CenterPoint.Y;
- }
- set { }
- }
- /// <summary>
- /// IVR编辑器中节点的名称
- /// </summary>
- [IVRAttribute("IVR_Name", Model.IVRSerializerType.元素, 84)]
- public new string IVR_Name
- {
- get
- {
- return base.Name;
- }
- set { base.Name = value; }
- }
- /// <summary>
- /// 节点的描述
- /// </summary>
- [IVRAttribute("Note", Model.IVRSerializerType.元素, 99)]
- public new string Note
- {
- get
- {
- return base.Note;
- }
- set
- {
- base.Note = value;
- }
- }
- /// <summary>
- /// 流程节点(主要在跳转子流程节点中作为选择项使用)
- /// </summary>
- public List<IVRFlowInfo> IVRFlows
- { get; set; }
- }
-
- }
|