MessengerTokens.cs 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715
  1. 
  2. //----------------------------------------------------------------
  3. //Module Name: MessengerTokens
  4. //Purpose:
  5. //CopyRight: Muchinfo
  6. //History:
  7. //----------------------------------------------------------------
  8. //DateTime Author Description
  9. //----------------------------------------------------------------
  10. //2014-03-21 deng.yinping Create
  11. //----------------------------------------------------------------
  12. namespace Muchinfo.MTPClient.Data.Enums
  13. {
  14. /// <summary>
  15. /// Enum MessengerTokens
  16. /// </summary>
  17. public enum MessengerTokens
  18. {
  19. #region 使用QuotationMessenger注册
  20. /// <summary>
  21. /// 实时行情消息-QuotationMessenger注册
  22. /// </summary>
  23. ReceiveRealTimeQuote,
  24. /// <summary>
  25. /// 实时行情更新图表数据
  26. /// </summary>
  27. ReceiveRealTikQuote,
  28. #endregion
  29. #region 图表
  30. /// <summary>
  31. /// 切换周期
  32. /// </summary>
  33. UpateChartCycleType,
  34. /// <summary>
  35. /// 资源改变时
  36. /// </summary>
  37. RegisterResourceChange,
  38. /// <summary>
  39. /// 布局改变
  40. /// </summary>
  41. UpdateLayoutChange,
  42. #endregion
  43. #region 基本
  44. /// <summary>
  45. /// 是否可用买卖按钮
  46. /// </summary>
  47. IsEnableBuyAndSellCommondBtn,
  48. /// <summary>
  49. /// 是否显示买入按钮
  50. /// </summary>
  51. IsShowBuyCommondBtn,
  52. /// <summary>
  53. /// 是否显示卖出按钮
  54. /// </summary>
  55. IsShowSellCommondBtn,
  56. /// <summary>
  57. /// 行情订阅
  58. /// </summary>
  59. QuoteSubscribe,
  60. /// <summary>
  61. /// 打开分析窗口
  62. /// </summary>
  63. OpenQuoteChartWindow,
  64. /// <summary>
  65. /// 打开行情窗口
  66. /// </summary>
  67. OpenQuoteWindow,
  68. /// <summary>
  69. /// 切换行情显示方式
  70. /// </summary>
  71. ChangeQuote,
  72. /// <summary>
  73. /// 切换商品资料
  74. /// </summary>
  75. ChangeGoodsInfo,
  76. /// <summary>
  77. /// 切换五档历史
  78. /// </summary>
  79. HistoryCommissions,
  80. /// <summary>
  81. /// 切换五档历史Tab
  82. /// </summary>
  83. HistoryCommissionsTab,
  84. /// <summary>
  85. /// P+X商品面板信息
  86. /// </summary>
  87. PAndXInfoTokens,
  88. /// <summary>
  89. /// 切换市场
  90. /// </summary>
  91. ChangeMarket,
  92. /// <summary>
  93. /// 主面板改变
  94. /// </summary>
  95. MainContentChange,
  96. /// <summary>
  97. /// 令牌校验,同步时间
  98. /// </summary>
  99. CheckTokenMsg,
  100. /// <summary>
  101. /// 弹出修改密码窗口
  102. /// </summary>
  103. ShowModifyPwd,
  104. #endregion
  105. AddContentPage,
  106. /// <summary>
  107. /// 银行签约
  108. /// </summary>
  109. BankSign,
  110. /// <summary>
  111. /// 银行解约
  112. /// </summary>
  113. BankCancelSign,
  114. /// <summary>
  115. /// 银行变更
  116. /// </summary>
  117. BankUpdate,
  118. /// <summary>
  119. /// 账户报表
  120. /// </summary>
  121. AccountReport,
  122. /// <summary>
  123. /// 交收申报
  124. /// </summary>
  125. DeliveryDeclare,
  126. /// <summary>
  127. /// 交收申报-带参数
  128. /// </summary>
  129. DeliveryDeclareParameter,
  130. /// <summary>
  131. /// 交收申报配对
  132. /// </summary>
  133. DeliveryMatchDeclare,
  134. /// <summary>
  135. /// 交割单详情
  136. /// </summary>
  137. DeliveryOrderDetail,
  138. /// <summary>
  139. /// 申报单详情
  140. /// </summary>
  141. DeliveryEntructOrderDetail,
  142. /// <summary>
  143. /// 持仓单详情
  144. /// </summary>
  145. HoldOrderDetail,
  146. /// <summary>
  147. /// 持仓汇总下的持仓单据列表
  148. /// </summary>
  149. HoldOrderLst,
  150. /// <summary>
  151. /// 委托单详情
  152. /// </summary>
  153. LimitOrderDetail,
  154. /// <summary>
  155. /// 预埋单详情
  156. /// </summary>
  157. PreLimitOrderDetail,
  158. /// <summary>
  159. /// 成交明细单详情
  160. /// </summary>
  161. TransactionOrderDetail,
  162. /// <summary>
  163. ///配号中签详情
  164. /// </summary>
  165. DistributeBallotDetail,
  166. /// <summary>
  167. /// 提货详情
  168. /// </summary>
  169. TakeGoodsMoreDetail,
  170. /// <summary>
  171. /// 确认货票
  172. /// </summary>
  173. ComfirmGoodsTickets,
  174. /// <summary>
  175. /// 提货申请
  176. /// </summary>
  177. TakeDeliveryGoodsApply,
  178. /// <summary>
  179. /// 仓单提货人信息
  180. /// </summary>
  181. WarehouseRecieveInfo,
  182. /// <summary>
  183. /// 单据通知
  184. /// </summary>
  185. OrderNotify,
  186. /// <summary>
  187. /// 按资金账户显示委托单
  188. /// </summary>
  189. ShowMOOrdersByCapitalAccount,
  190. /// <summary>
  191. /// 按资金账户显示持仓单
  192. /// </summary>
  193. ShowMOHolderByCapitalAccount,
  194. /// <summary>
  195. /// 按资金账户显示成交明细
  196. /// </summary>
  197. ShowMOTransactionByCapitalAccount,
  198. /// <summary>
  199. /// 按资金账户显示资金流水
  200. /// </summary>
  201. ShowTaAmountLogByCapitalAccount,
  202. /// <summary>
  203. /// 按资金账户显示持仓汇总
  204. /// </summary>
  205. ShowHoldSummaryByCapitalAccount,
  206. /// <summary>
  207. /// 按资金账户显示交割申报单
  208. /// </summary>
  209. ShowDeliveryDeclareByCapitalAccount,
  210. /// <summary>
  211. /// 按资金账户显示交割单
  212. /// </summary>
  213. ShowDeliveryByCapitalAccount,
  214. /// <summary>
  215. /// 按资金账户显示止盈止损
  216. /// </summary>
  217. ShowMOSPSLByCapitalAccount,
  218. /// <summary>
  219. /// 签约成功通知
  220. /// </summary>
  221. SignNotify,
  222. /// <summary>
  223. /// 显示下单命令消息
  224. /// </summary>
  225. OrderMessage,
  226. /// <summary>
  227. /// 平仓命令消息
  228. /// </summary>
  229. CloseOrderCmdMessage,
  230. /// <summary>
  231. /// 持仓单更新
  232. /// </summary>
  233. HolderUpdate,
  234. /// <summary>
  235. /// 持仓单更新
  236. /// </summary>
  237. HolderRefresh,
  238. /// <summary>
  239. /// 更新分笔数据
  240. /// </summary>
  241. UpdateTik,
  242. /// <summary>
  243. /// 查看分笔详情
  244. /// </summary>
  245. ShowTikDetail,
  246. /// <summary>
  247. /// 申报大厅
  248. /// </summary>
  249. ShowListingBoard,
  250. /// <summary>
  251. /// 更新浮动盈亏
  252. /// </summary>
  253. UpdateAccountFloatPL,
  254. /// <summary>
  255. /// 限价平仓命令消息
  256. /// </summary>
  257. CloseLimitCmdMessage,
  258. /// <summary>
  259. /// 下单消息
  260. /// </summary>
  261. OrderMessageToken,
  262. /// <summary>
  263. /// 挂牌申报消息
  264. /// </summary>
  265. OrderListingToken,
  266. /// <summary>
  267. /// 平仓按钮是否显示
  268. /// </summary>
  269. IsCloseEnable,
  270. /// <summary>
  271. /// 更新行情列表
  272. /// </summary>
  273. UpdateQuoteMarket,
  274. /// <summary>
  275. /// 会员角色
  276. /// </summary>
  277. MemberRolesToken,
  278. /// <summary>
  279. /// 更新行情底部菜单内容
  280. /// </summary>
  281. UpdateQuoteButtonMenu,
  282. /// <summary>
  283. /// 更新AccountManager页面的CurrentMarketType
  284. /// </summary>
  285. UpdateCurrentMarketType,
  286. /// <summary>
  287. /// 单据通知Token
  288. /// </summary>
  289. OrderNoticeToken,
  290. /// <summary>
  291. /// 提货通知
  292. /// </summary>
  293. OutStoreAuditToken,
  294. /// <summary>
  295. /// 通用通知
  296. /// </summary>
  297. CommonMessageToken,
  298. /// <summary>
  299. /// 会员风控通知
  300. /// </summary>
  301. RiskControlMemberToken,
  302. /// <summary>
  303. /// 投资者风控通知
  304. /// </summary>
  305. RiskControlInvestorToken,
  306. /// <summary>
  307. /// 交割商品到期提货通知
  308. /// </summary>
  309. GoodsCloseDateToken,
  310. /// <summary>
  311. /// 挂牌服务通知
  312. /// </summary>
  313. ListingNotice,
  314. /// <summary>
  315. /// 摘牌成交通知
  316. /// </summary>
  317. DelistingCompleteNotice,
  318. /// <summary>
  319. /// 更新预埋单委托单通知
  320. /// </summary>
  321. PreOrderNoticeToken,
  322. /// <summary>
  323. /// 更新预埋单
  324. /// </summary>
  325. PreOrderUpdate,
  326. /// <summary>
  327. /// 更新缓存商品信息
  328. /// </summary>
  329. UpdateCacheGoodsToken,
  330. /// <summary>
  331. /// 更新界面商品
  332. /// </summary>
  333. RefreshGoodsToken,
  334. /// <summary>
  335. /// 行情列表操作
  336. /// </summary>
  337. QuoteGoodsListToken,
  338. /// <summary>
  339. /// 托管单据更新通知
  340. /// </summary>
  341. DepositOrderToken,
  342. /// <summary>
  343. /// 账号信息改变通知
  344. /// </summary>
  345. AccountParamChangeToken,
  346. /// <summary>
  347. /// 资金通知Token
  348. /// </summary>
  349. MoneyNoticeToken,
  350. /// <summary>
  351. /// 客户离线通知Token
  352. /// </summary>
  353. UserOfflineNoticeToken,
  354. /// <summary>
  355. /// 客户离线通知 - 结算
  356. /// </summary>
  357. UserOfflineNoticesSttle,
  358. /// <summary>
  359. /// 连接链路
  360. /// </summary>
  361. ConnectCheckedToken,
  362. /// <summary>
  363. /// 市场开市通知
  364. /// </summary>
  365. Market_OpenToken,
  366. /// <summary>
  367. /// 会员交易员从风控取数据(当市场都不开市时)
  368. /// </summary>
  369. MemberTraderUpdate,
  370. /// <summary>
  371. /// 出入金申请
  372. /// </summary>
  373. FundsApply,
  374. /// <summary>
  375. /// 消息
  376. /// </summary>
  377. AnnouncementMessage,
  378. /// <summary>
  379. /// 公告详情
  380. /// </summary>
  381. AnnouncementDetail,
  382. /// <summary>
  383. /// 风控通知
  384. /// </summary>
  385. RiskMessage,
  386. /// <summary>
  387. /// 会员账号信息更新
  388. /// </summary>
  389. MemberAccountUpdate,
  390. /// <summary>
  391. /// 更新账号信息通知
  392. /// </summary>
  393. UpdateTradeAccount,
  394. /// <summary>
  395. /// 写单据成交日志
  396. /// </summary>
  397. WriteOrderCompleteLog,
  398. /// <summary>
  399. /// 功能操作
  400. /// </summary>
  401. AccountFunction,
  402. /// <summary>
  403. /// 撤单消息
  404. /// </summary>
  405. CancalOrder,
  406. /// <summary>
  407. /// 选择菜单消息
  408. /// </summary>
  409. MenuSelectChange,
  410. /// <summary>
  411. /// 重新登录
  412. /// </summary>
  413. RerunApplication,
  414. /// <summary>
  415. /// 更改布局
  416. /// </summary>
  417. ChangeLayout,
  418. ///// <summary>
  419. ///// 切换主题
  420. ///// </summary>
  421. //RegisterResourceChange,
  422. /// <summary>
  423. ///刷新账号
  424. /// </summary>
  425. UpdateAccountCommand,
  426. /// <summary>
  427. ///刷新货物宝合约
  428. /// </summary>
  429. RefrashContractsCommand,
  430. /// <summary>
  431. /// 刷新转出合约
  432. /// </summary>
  433. RefrashTransferOutContractsCommand,
  434. /// <summary>
  435. ///刷新货物宝产品
  436. /// </summary>
  437. RefrashFinancingCommand,
  438. /// <summary>
  439. /// 刷新发行商品
  440. /// </summary>
  441. RefrashSaleGoodsCommand,
  442. /// <summary>
  443. /// 发送撤单是否可用消息
  444. /// </summary>
  445. CancelOrderEnable,
  446. /// <summary>
  447. /// 显示图表消息
  448. /// </summary>
  449. ShowChartMsg,
  450. /// <summary>
  451. /// 风控通知
  452. /// </summary>
  453. RiskControl,
  454. /// <summary>
  455. /// 会员交易员下线通知
  456. /// </summary>
  457. MemberOffLine,
  458. /// <summary>
  459. /// 账号状态通知
  460. /// </summary>
  461. AccountStautsChange,
  462. /// <summary>
  463. /// 账号信息通知
  464. /// </summary>
  465. AccountInfoChange,
  466. /// <summary>
  467. /// 交易界面内容
  468. /// </summary>
  469. TradeAddContent,
  470. /// <summary>
  471. /// 创建连接
  472. /// </summary>
  473. TradeCreateConnect,
  474. /// <summary>
  475. /// 交易服务连接
  476. /// </summary>
  477. TradeServerConnectMsg,
  478. /// <summary>
  479. /// 行情服务状态改变
  480. /// </summary>
  481. TradeServerStateChange,
  482. /// <summary>
  483. /// 行情服务状态改变
  484. /// </summary>
  485. QuoteServerStateChange,
  486. /// <summary>
  487. /// 周期改变
  488. /// </summary>
  489. CycleChange,
  490. /// <summary>
  491. /// 设置下单焦点
  492. /// </summary>
  493. SetOrderFoucsToken,
  494. /// <summary>
  495. /// 设置确定焦点
  496. /// </summary>
  497. SetButtonFoucsToken,
  498. /// <summary>
  499. /// treeHeaderButton是否显示和Home界面的快捷下单StackPanel是否显示
  500. /// </summary>
  501. TreeHeaderButtonIsVisibility,
  502. /// <summary>
  503. /// 错误信息
  504. /// </summary>
  505. ErrorMessage,
  506. /// <summary>
  507. /// 选择商品
  508. /// </summary>
  509. SelectGoodsChange,
  510. /// <summary>
  511. /// 选择五档买卖商品
  512. /// </summary>
  513. SelectCommissionGoodsChange,
  514. /// <summary>
  515. /// 从图表界面切换商品
  516. /// </summary>
  517. ChartGoodsChange,
  518. /// <summary>
  519. /// 显示到查询窗口的消息
  520. /// </summary>
  521. ShowQueryContet,
  522. /// <summary>
  523. /// 更新自选
  524. /// </summary>
  525. UpdateMySelected,
  526. #region 乾圆
  527. /// <summary>
  528. /// 主界面是否解锁了
  529. /// </summary>
  530. MainPanelIsUnlock,
  531. /// <summary>
  532. /// 初始化鎖屏
  533. /// </summary>
  534. InitLockTimer,
  535. #endregion
  536. /// <summary>
  537. /// 刷新盘口
  538. /// </summary>
  539. RefreshPriceCard,
  540. /// <summary>
  541. /// 刷新盘口
  542. /// </summary>
  543. GoodsChartChange,
  544. #region TAS 2.0
  545. InitializeThemes,
  546. /// <summary>
  547. /// 快捷卖
  548. /// </summary>
  549. QuickSell,
  550. /// <summary>
  551. /// 快捷买
  552. /// </summary>
  553. QuickBuy,
  554. /// <summary>
  555. /// 大报价牌选择项改变
  556. /// </summary>
  557. QuoteBoardSelectItemChange,
  558. /// <summary>
  559. /// 主題变化时强制通知商品颜色改变
  560. /// </summary>
  561. NotifyQuoteGoodsColorChanged,
  562. /// <summary>
  563. /// 单据窗口刷新
  564. /// </summary>
  565. OrderRefresh,
  566. /// <summary>
  567. /// 选择商品组改变时
  568. /// </summary>
  569. SelectGoodsGroupChange,
  570. #endregion
  571. /// <summary>
  572. /// 操作变更通知
  573. /// </summary>
  574. OperateChange,
  575. /// <summary>
  576. /// 开休市计划通知
  577. /// </summary>
  578. MarketStatusChange,
  579. /// <summary>
  580. /// 激活主界面RadioButton
  581. /// </summary>
  582. ActiveMainRadio,
  583. /// <summary>
  584. /// 保存布局及行情列表抬头
  585. /// </summary>
  586. SaveLayout,
  587. /// <summary>
  588. /// 交割申报买卖方向改变
  589. /// </summary>
  590. DeliveryBuyOrSellChanged,
  591. /// <summary>
  592. /// 行情CheckToken成功
  593. /// </summary>
  594. QuoteCheckTokenSuccess,
  595. /// <summary>
  596. /// 设置是否展开交易按键
  597. /// </summary>
  598. SetHideExpandTradeToken,
  599. /// <summary>
  600. /// 行情列表选择改变
  601. /// </summary>
  602. SetCurrentGoods,
  603. /// <summary>
  604. /// 锁屏控制是否展开交易按键
  605. /// </summary>
  606. LockScreenSetHideExpandTradeToken,
  607. /// <summary>
  608. /// 更新交割单
  609. /// </summary>
  610. UpdateDeliveryHolderOrder,
  611. /// <summary>
  612. /// 打开止盈止损下单
  613. /// </summary>
  614. ShowSPSLToken,
  615. /// <summary>
  616. /// 单据变化后刷新下单界面的消息
  617. /// </summary>
  618. OrderChangeToRefeshTrade,
  619. /// <summary>
  620. /// 选择单据类中的商品
  621. /// </summary>
  622. SelectGoodsOrderChange,
  623. /// <summary>
  624. /// 下单界面加载到了商品信息
  625. /// </summary>
  626. TradeLoadGoods,
  627. /// <summary>
  628. /// 选择单据类中的商品
  629. /// </summary>
  630. SelectGoodsOrderChangeMarket,
  631. }
  632. }