TradeParams.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Collections.ObjectModel;
  4. using System.Linq;
  5. using System.Text;
  6. using Muchinfo.MTPClient.Data.Model;
  7. //----------------------------------------------------------------
  8. //Module Name: $safeprojectname$
  9. //Purpose:
  10. //CopyRight: Muchinfo
  11. //History:
  12. //----------------------------------------------------------------
  13. //DateTime 2017/2/23 15:50:24
  14. //Author
  15. //Description Create
  16. //----------------------------------------------------------------
  17. namespace Muchinfo.MTPClient.Data
  18. {
  19. public class TradeParams
  20. {
  21. public TradeParams()
  22. {
  23. LockScreenTime = 10;
  24. IsCancelComfrim = true;
  25. IsOrderComfrim = false;
  26. IsSuccessComfrim = true;
  27. AllGoodsForAutoEntrust = new ObservableCollection<GoodsForAutoEntrustModel>();
  28. }
  29. /// <summary>
  30. /// 委托是否要确认
  31. /// </summary>
  32. public bool IsOrderComfrim { get; set; }
  33. /// <summary>
  34. /// 委托成功是否要关窗口
  35. /// </summary>
  36. public bool IsSuccessComfrim { get; set; }
  37. /// <summary>
  38. /// 撤单是否确认
  39. /// </summary>
  40. public bool IsCancelComfrim { get; set; }
  41. /// <summary>
  42. /// 锁屏时间
  43. /// </summary>
  44. public int LockScreenTime { get; set; }
  45. /// <summary>
  46. /// 商品的相关信息-用于自动止损止盈
  47. /// </summary>
  48. public ObservableCollection<GoodsForAutoEntrustModel> AllGoodsForAutoEntrust { get; set; }
  49. }
  50. }