PosChangedNtfModel.cs 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace Muchinfo.MTPClient.Data.Model
  6. {
  7. /// <summary>
  8. /// 头寸变化通知实体
  9. /// </summary>
  10. public class PosChangedNtfModel
  11. {
  12. private int _RetCode = int.MinValue;
  13. public int RetCode
  14. {
  15. get { return _RetCode; }
  16. set { _RetCode = value; }
  17. }
  18. private ulong _AccountID = uint.MaxValue;
  19. public ulong AccountID
  20. {
  21. get { return _AccountID; }
  22. set { _AccountID = value; }
  23. }
  24. private uint _GoodsID = uint.MaxValue;
  25. public uint GoodsID
  26. {
  27. get { return _GoodsID; }
  28. set { _GoodsID = value; }
  29. }
  30. private uint _BuyOrSell = uint.MaxValue;
  31. public uint BuyOrSell
  32. {
  33. get { return _BuyOrSell; }
  34. set { _BuyOrSell = value; }
  35. }
  36. private double _TradeAmount = int.MinValue;
  37. public double TradeAmount
  38. {
  39. get { return _TradeAmount; }
  40. set { _TradeAmount = value; }
  41. }
  42. private double _HolderAmount = int.MinValue;
  43. public double HolderAmount
  44. {
  45. get { return _HolderAmount; }
  46. set { _HolderAmount = value; }
  47. }
  48. private int _HoldQty = int.MinValue;
  49. public int HoldQty
  50. {
  51. get { return _HoldQty; }
  52. set { _HoldQty = value; }
  53. }
  54. private int _FreezeQty = int.MinValue;
  55. public int FreezeQty
  56. {
  57. get { return _FreezeQty; }
  58. set { _FreezeQty = value; }
  59. }
  60. private double _ReckonPL = int.MinValue;
  61. public double ReckonPL
  62. {
  63. get { return _ReckonPL; }
  64. set { _ReckonPL = value; }
  65. }
  66. private double _UsedMargin = int.MinValue;
  67. public double UsedMargin
  68. {
  69. get { return _UsedMargin; }
  70. set { _UsedMargin = value; }
  71. }
  72. }
  73. }