UIConstants.cs 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. using System;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Data;
  7. using System.Threading.Tasks;
  8. using System.Collections.ObjectModel;
  9. using System.Windows.Forms;
  10. namespace DataManager
  11. {
  12. public class UIConstants
  13. {
  14. public struct User
  15. {
  16. public int UserId;
  17. public string UserName;
  18. public int OrgId;
  19. };
  20. public static User user;
  21. public enum JobType
  22. {
  23. 联络 = 1,
  24. 采集 = 2
  25. };
  26. public static readonly Dictionary<int, string> ContactTaskType = new Dictionary<int, string>
  27. {
  28. { 1, "建立合作" },
  29. { 0, "未知"}
  30. };
  31. public static readonly Dictionary<int, string> CollectionTaskType = new Dictionary<int, string>
  32. {
  33. { 1, "邮件处理" },
  34. { 2, "文件解析"},
  35. { 3, "净值校验"},
  36. { 4, "资产校验"},
  37. { 5, "新基金"},
  38. { 6, "净值缺失"},
  39. { 7, "资产缺失"},
  40. { 8, "历史净值"},
  41. { 9, "历史资产"},
  42. { 0, "未知"}
  43. };
  44. public static readonly Dictionary<int, string> TaskPriority = new Dictionary<int, string>
  45. {
  46. { 0, "低" },
  47. { 1, "中" },
  48. { 2, "高" }
  49. };
  50. public static readonly Dictionary<int, string> ContactTaskStatus = new Dictionary<int, string>
  51. {
  52. { 0, "删除" },
  53. { 1, "成功" },
  54. { 2, "未发送" },
  55. { 3, "等待回复" },
  56. { 4, "等待协议" },
  57. { 5, "拒绝" }
  58. };
  59. public static readonly Dictionary<int, string> CollectionTaskStatus = new Dictionary<int, string>
  60. {
  61. { 0, "删除" },
  62. { 1, "解决" },
  63. { 2, "未处理" },
  64. { 3, "等待回复" },
  65. { 4, "忽略" }
  66. };
  67. public static readonly Dictionary<int, string> CompanyAssetSize = new Dictionary<int, string>
  68. {
  69. { 1, "0-5亿" },
  70. { 2, "5-10亿" },
  71. { 3, "10-20亿" },
  72. { 4, "20-50亿" },
  73. { 5, "50-100亿" },
  74. { 6, ">100亿" }
  75. };
  76. public static readonly Dictionary<int, string> CompanyOwnerType = new Dictionary<int, string>
  77. {
  78. { 1, "中外合作企业" },
  79. { 2, "中外合资企业" },
  80. { 3, "内资企业" },
  81. { 4, "境外机构" },
  82. { 5, "外商独资企业" },
  83. { 6, "政府机构" }
  84. };
  85. public static readonly Dictionary<int, string> CompanyRegisterStatus = new Dictionary<int, string>
  86. {
  87. { 0, "未备案" },
  88. { 1, "备案注销" },
  89. { 2, "备案存续" }
  90. };
  91. public static readonly Dictionary<int, string> CompanyType = new Dictionary<int, string>
  92. {
  93. { 0, "未知" },
  94. { 1, "私募证券投资" },
  95. { 2, "公募基金公司" },
  96. { 3, "银行" },
  97. { 4, "证券公司" },
  98. { 5, "信托公司" },
  99. { 6, "审计机构" },
  100. { 7, "法律顾问" },
  101. { 8, "投资顾问" },
  102. { 9, "行政管理人" },
  103. { 10, "上市公司" },
  104. { 11, "期货公司" },
  105. { 12, "基金子公司" },
  106. { 13, "工作室" },
  107. { 14, "私募股权投资" },
  108. { 15, "证券子公司" },
  109. { 16, "期货子公司" },
  110. { 17, "私募创业投资" },
  111. { 18, "私募其他投资" },
  112. { 19, "保险公司" },
  113. { 20, "保险子公司" },
  114. { 21, "私募资产配置类" },
  115. { 22, "证券公司私募子公司" },
  116. { 23, "独立第三方销售机构" },
  117. { 24, "支付结算机构" },
  118. { 25, "独立服务机构" },
  119. { 26, "地方自律组织" },
  120. { -1, "未知" }
  121. };
  122. public static readonly Dictionary<int, string> FundType = new Dictionary<int, string>
  123. {
  124. { 1, "信托计划" },
  125. { 2, "有限合伙" },
  126. { 3, "券商资管" },
  127. { 4, "公募专户" },
  128. { 5, "单账户" },
  129. { 6, "证券投资基金" },
  130. { 7, "海外基金" },
  131. { 8, "期货资管" },
  132. { 9, "保险资管" },
  133. { 10, "创业投资基金" },
  134. { 11, "股权投资基金" },
  135. { 12, "银行理财" },
  136. { 13, "类固收信托" },
  137. { 14, "私募资产配置基金" },
  138. { 15, "公募基金" },
  139. { 16, "公募投顾" },
  140. { -1, "其他投资基金" }
  141. };
  142. public static readonly Dictionary<int, string> ManagerType = new Dictionary<int, string>
  143. {
  144. { 1, "顾问管理" },
  145. { 2, "受托管理" },
  146. { 3, "自我管理" }
  147. };
  148. public static readonly Dictionary<int, string> Currency = new Dictionary<int, string>
  149. {
  150. { 1, "人民币" },
  151. { 2, "港币" },
  152. { 3, "美元" }
  153. };
  154. public static readonly Dictionary<int, string> RaiseType = new Dictionary<int, string>
  155. {
  156. { 1, "私募" },
  157. { 2, "公募" }
  158. };
  159. public static readonly Dictionary<int, string> FundStatus = new Dictionary<int, string>
  160. {
  161. { 1, "募集中" },
  162. { 2, "开放运行" },
  163. { 3, "封闭运行" },
  164. { 4, "提前清算" },
  165. { 5, "到期清算" },
  166. { 6, "发行失败" },
  167. { 7, "更换管理人" },
  168. { 8, "延期清算" },
  169. { -1, "其他" }
  170. };
  171. public static readonly Dictionary<int, string> HedgeFundStrategy = new Dictionary<int, string>
  172. {
  173. { 1, "股票策略" },
  174. { 2, "宏观策略" },
  175. { 3, "管理期货" },
  176. { 4, "事件驱动" },
  177. { 5, "相对价值" },
  178. { 6, "固定收益" },
  179. { 7, "组合基金" },
  180. { 8, "复合策略" },
  181. { -1, "其他" }
  182. };
  183. public static readonly Dictionary<int, string> HedgeFundSubStrategy = new Dictionary<int, string>
  184. {
  185. { -1, "其他策略" },
  186. { 1010, "主观多头" },
  187. { 1020, "股票多空" },
  188. { 1030, "量化多头" },
  189. { 2010, "宏观策略" },
  190. { 3010, "主观趋势" },
  191. { 3020, "主观套利" },
  192. { 3030, "量化趋势" },
  193. { 3040, "量化套利" },
  194. { 3050, "管理期货复合" },
  195. { 4010, "并购重组" },
  196. { 4020, "定向增发" },
  197. { 4030, "大宗交易" },
  198. { 4040, "事件驱动复合" },
  199. { 5010, "股票市场中性" },
  200. { 5020, "套利" },
  201. { 5030, "相对价值复合" },
  202. { 6010, "纯债策略" },
  203. { 6020, "强债策略" },
  204. { 6030, "固收复合" },
  205. { 7010, "MOM" },
  206. { 7020, "FOF" },
  207. { 8010, "主观多策略" },
  208. { 8020, "量化多策略" },
  209. };
  210. public static readonly Dictionary<int, string> MutualFundStrategy = new Dictionary<int, string>
  211. {
  212. { 101, "股票" },
  213. { 102, "混合" },
  214. { 103, "债券" },
  215. { 104, "货币" },
  216. { 105, "商品" },
  217. { -100, "其他" }
  218. };
  219. }
  220. }