ivr流程编辑器

IVRSql.cs 1.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using HySoft.IVRFlowEditor.IVRControl;
  6. using HySoft.IVRFlowEditor.Model;
  7. namespace HySoft.IVRFlowEditor.IVRControlUtility
  8. {
  9. /// <summary>
  10. /// 数据库读写
  11. /// </summary>
  12. [IVRAttribute("CELL_SQL", Model.IVRSerializerType.节点,1)]
  13. public class IVRSql : IVRControlBase
  14. {
  15. public IVRSql(string name)
  16. {
  17. this.Name = name;
  18. CtlProperty = new CtlIVRSql(this);
  19. }
  20. /// <summary>
  21. /// :数据库连接字符串。
  22. /// </summary>
  23. [IVRAttribute("ConnStr", Model.IVRSerializerType.元素,2)]
  24. public string ConnStr
  25. { get; set; }
  26. /// <summary>
  27. /// :要执行的SQL语句。
  28. /// </summary>
  29. [IVRAttribute("SqlStr", Model.IVRSerializerType.元素,3)]
  30. public string SqlStr
  31. { get; set; }
  32. /// <summary>
  33. /// :SQL执行是否返回记录集,”yes”返回、”no”不返回。
  34. /// </summary>
  35. [IVRAttribute("IsSaved", Model.IVRSerializerType.元素,4)]
  36. public bool IsSaved
  37. { get; set; }
  38. /// <summary>
  39. /// :执行成功跳转节点编号。
  40. /// </summary>
  41. [IVRAttribute("SuccessPos", Model.IVRSerializerType.元素,5, IsPosPoint = true)]
  42. public IVRControlBase SuccessPos
  43. { get; set; }
  44. /// <summary>
  45. /// :执行失败跳转节点编号。
  46. /// </summary>
  47. [IVRAttribute("FailPos", Model.IVRSerializerType.元素,6, IsPosPoint = true)]
  48. public IVRControlBase FailPos
  49. { get; set; }
  50. }
  51. }