| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using HySoft.IVRFlowEditor.IVRControl;
- using HySoft.IVRFlowEditor.Model;
- namespace HySoft.IVRFlowEditor.IVRControlUtility
- {
- /// <summary>
- /// 字符串操作节点
- /// </summary>
- [IVRAttribute("CELL_STRINGOP", Model.IVRSerializerType.节点,1)]
- public class IVRStringop : IVRControlBase
- {
- public IVRStringop(string name)
- {
- this.Name = name;
- CtlProperty = new CtlIVRStringop(this);
- }
- /// <summary>
- /// :字符串操作方式,1去左右空格、2截取、3替换、4匹配、5合并。
- /// </summary>
- [IVRAttribute("OpType", Model.IVRSerializerType.元素,2)]
- public OpType OpType
- { get; set; }
- /// <summary>
- /// :待操作的字符串变量名。
- /// </summary>
- [IVRAttribute("OperateVar", Model.IVRSerializerType.元素,3)]
- public string OperateVar
- { get; set; }
- /// <summary>
- /// :存储操作结果的变量名。
- /// </summary>
- [IVRAttribute("ResultVar", Model.IVRSerializerType.元素,4)]
- public string ResultVar
- { get; set; }
- /// <summary>
- /// :存储被替换内容的变量名。
- /// </summary>
- [IVRAttribute("ReplaceVar", Model.IVRSerializerType.元素,5)]
- public string ReplaceVar
- { get; set; }
- /// <summary>
- /// :存储替换为内容的变量名。
- /// </summary>
- [IVRAttribute("RepAsVar", Model.IVRSerializerType.元素,6)]
- public string RepAsVar
- { get; set; }
- /// <summary>
- /// :存储匹配内容的变量名。
- /// </summary>
- [IVRAttribute("MatchVar", Model.IVRSerializerType.元素,7)]
- public string MatchVar
- { get; set; }
- /// <summary>
- /// :存储合并时追加字符串的变量名。
- /// </summary>
- [IVRAttribute("AppendVar", Model.IVRSerializerType.元素,8)]
- public string AppendVar
- { get; set; }
- /// <summary>
- /// :截取的开始位置。
- /// </summary>
- [IVRAttribute("InterceptIdx", Model.IVRSerializerType.元素,9)]
- public int InterceptIdx
- { get; set; }
- /// <summary>
- /// :截取长度。
- /// </summary>
- [IVRAttribute("InterceptLen", Model.IVRSerializerType.元素,10)]
- public int InterceptLen
- { get; set; }
- /// <summary>
- /// :操作结束后下一节点编号,对于进行字符匹配时该字段无效。
- /// </summary>
- [IVRAttribute("Next", Model.IVRSerializerType.元素,11, IsPosPoint = true)]
- public IVRControlBase Next
- { get; set; }
- /// <summary>
- /// :匹配为真时下一节点编号。
- /// </summary>
- [IVRAttribute("TruePos", Model.IVRSerializerType.元素,12, IsPosPoint = true)]
- public IVRControlBase TruePos
- { get; set; }
- /// <summary>
- /// :匹配为假时下一节点编号。
- /// </summary>
- [IVRAttribute("FalsePos", Model.IVRSerializerType.元素,13, IsPosPoint = true)]
- public IVRControlBase FalsePos
- { get; set; }
- }
- }
|