DealCloseStatus.cs 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. //----------------------------------------------------------------
  6. //Module Name: $safeprojectname$
  7. //Purpose:
  8. //CopyRight: Muchinfo
  9. //History:
  10. //----------------------------------------------------------------
  11. //DateTime 2016/11/3 19:24:49
  12. //Author
  13. //Description Create
  14. //----------------------------------------------------------------
  15. using Muchinfo.MTPClient.Data.Helper;
  16. namespace Muchinfo.MTPClient.Data.Enums
  17. {
  18. public enum DealCloseStatus
  19. {
  20. // 1、 待确认
  21. //2、 全部已确认
  22. //3、 (空)-》该-》自动确认
  23. //4、 全部成交
  24. //5、 协议处理中
  25. //6、 平仓失败
  26. //7、 系统撤销
  27. //8、 人工撤销
  28. //9、 买方已确认
  29. //10、 卖方已确认
  30. /// <summary>
  31. /// 待确认
  32. /// </summary>
  33. [ItemDisc("DealCloseStatus_UnComfirm")]
  34. UnComfirm=1,
  35. /// <summary>
  36. /// 全部已确认
  37. /// </summary>
  38. [ItemDisc("DealCloseStatus_AllComfirmed")]
  39. AllComfirmed =2,
  40. /// <summary>
  41. /// (空)->自动确认
  42. /// </summary>
  43. [ItemDisc("DealCloseStatus_AutoComfirmed")]
  44. AutoComfirmed = 3,
  45. /// <summary>
  46. /// 已成交
  47. /// </summary>
  48. [ItemDisc("DealCloseStatus_AllTraded")]
  49. AllTraded=4,
  50. /// <summary>
  51. /// 协议处理中
  52. /// </summary>
  53. [ItemDisc("DealCloseStatus_Dealing")]
  54. Dealing=5,
  55. /// <summary>
  56. /// 平仓失败
  57. /// </summary>
  58. [ItemDisc("DealCloseStatus_CloseFail")]
  59. CloseFail = 6,
  60. /// <summary>
  61. /// 系统撤销
  62. /// </summary>
  63. [ItemDisc("DealCloseStatus_SysCancel")]
  64. SysCancel = 7,
  65. /// <summary>
  66. /// 人工撤销
  67. /// </summary>
  68. [ItemDisc("DealCloseStatus_SelfCanel")]
  69. SelfCanel = 8,
  70. /// <summary>
  71. /// 买方已确认
  72. /// </summary>
  73. [ItemDisc("DealCloseStatus_BuyComfrimed")]
  74. BuyComfrimed = 9,
  75. /// <summary>
  76. /// 卖方已确认
  77. /// </summary>
  78. [ItemDisc("DealCloseStatus_SellComfrimed")]
  79. SellComfrimed = 10
  80. }
  81. /// <summary>
  82. ///
  83. /// </summary>
  84. public enum ComfrimStatus
  85. {
  86. /// <summary>
  87. /// 待确认
  88. /// </summary>
  89. UnComfrim=0,
  90. /// <summary>
  91. /// 确认
  92. /// </summary>
  93. Comfrim=1,
  94. /// <summary>
  95. /// 拒绝
  96. /// </summary>
  97. Refuse=2,
  98. }
  99. /// <summary>
  100. /// 是否要确认
  101. /// </summary>
  102. public enum NeedComfrim
  103. {
  104. /// <summary>
  105. ///不用确认(交割单是为需确认)
  106. /// </summary>
  107. No=0,
  108. /// <summary>
  109. /// 需确认(交割单是为不用确认)
  110. /// </summary>
  111. Yes=1,
  112. }
  113. }