| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.ComponentModel;
- namespace HySoft.IVRFlowEditor.Model
- {
- public enum NumberType
- {
- [Description("具体值")]
- 具体值 = 1,
- [Description("变量")]
- 变量 = 2
- }
- public enum IVRFlowType
- {
- [Description("普通流程")]
- normal = 1,
- [Description("子流程")]
- sub = 2,
- [Description("自动流程")]
- auto = 3,
- }
- public enum FinishKeyType
- {
- [Description("*")]
- 星号 = -2,
- [Description("#")]
- 井号 = -1,
- [Description("0")]
- 零 = 0,
- [Description("1")]
- 一 = 1,
- [Description("2")]
- 二 = 2,
- [Description("3")]
- 三 = 3,
- [Description("4")]
- 四 = 4,
- [Description("5")]
- 五 = 5,
- [Description("6")]
- 六 = 6,
- [Description("7")]
- 七 = 7,
- [Description("8")]
- 八 = 8,
- [Description("9")]
- 九 = 9,
- }
- /// <summary>
- /// 放音内容类型
- /// </summary>
- public enum ContentType
- {
- [Description("声音文件")]
- 声音文件 = 1,
- [Description("需TTS转换的字符串")]
- 需TTS转换的字符串 = 2,
- [Description("需TTS转换的文本文件")]
- 需TTS转换的文本文件 = 3
- }
- /// <summary>
- /// TTS数字播报方式
- /// </summary>
- public enum TTSNumModeType
- {
- [Description("自动识别")]
- 自动识别 = 0,
- [Description("按值播报")]
- 按值播报 = 1,
- [Description("按数字播报")]
- 按数字播报 = 2,
- [Description("自动识别如果不能识别将按数字播报")]
- 自动识别如果不能识别将按数字播报 = 3,
- }
- /// <summary>
- /// 放音类型
- /// </summary>
- public enum PlayType
- {
- [Description("放音收号")]
- 放音收号 = 1,
- [Description("仅放音")]
- 仅放音 = 2,
- [Description("仅收号")]
- 仅收号 = 3,
- }
- /// <summary>
- /// TTS引擎库
- /// </summary>
- public enum TTSEngineType
- {
- [Description("默认")]
- 默认 = 0,
- }
- /// <summary>
- /// :座席分配策略,
- /// </summary>
- public enum StrategyType
- {
- [Description("循环接听")]
- 循环接听 = 1,
- [Description("最大空闲接听")]
- 最大空闲接听 = 2,
- [Description("最少接听接听")]
- 最少接听接听 = 3
- }
- /// <summary>
- /// 比较方式
- /// </summary>
- public enum CompareType
- {
- [Description("等于")]
- 等于 = 1,
- [Description("大于")]
- 大于 = 2,
- [Description("大于等于")]
- 大于等于 = 3,
- [Description("小于")]
- 小于 = 4,
- [Description("小于等于")]
- 小于等于 = 5,
- [Description("介之间")]
- 介之间 = 6
- }
- /// <summary>
- /// 比较类型,1数值比较、3字符串比较。
- /// </summary>
- public enum VarType
- {
- [Description("数值比较")]
- 数值比较 = 1,
- [Description("字符串比较")]
- 字符串比较 = 3,
- }
- /// <summary>
- /// :运算类型,
- /// </summary>
- public enum CalcuType
- {
- [Description("加法")]
- 加法 = 1,
- [Description("减法")]
- 减法 = 2,
- [Description("乘法")]
- 乘法 = 3,
- [Description("除法")]
- 除法 = 4,
- }
- /// <summary>
- /// 结果类型,1整数、2浮点数。
- /// </summary>
- public enum ResultType
- {
- [Description("整数")]
- 整数 = 1,
- [Description("浮点数")]
- 浮点数 = 2,
- }
- /// <summary>
- /// :字符串操作方式,1去左右空格、2截取、3替换、4匹配、5合并。
- /// </summary>
- public enum OpType
- {
- [Description("去左右空格")]
- 去左右空格 = 1,
- [Description("截取")]
- 截取 = 2,
- [Description("替换")]
- 替换 = 3,
- [Description("匹配4")]
- 匹配 = 4,
- [Description("合并")]
- 合并 = 5,
- }
- public enum IVRSerializerType
- {
- 节点=1,
- 元素=2,
-
- }
- }
|