ComparisonGoods.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. using MuchInfo.Chart.Data.EnumTypes;
  2. using MuchInfo.Chart.Data.Models;
  3. using System.Collections.Generic;
  4. using System.Windows.Media;
  5. namespace MuchInfo.Chart.Infrastructure.Data
  6. {
  7. /// <summary>
  8. /// Class ComparisonGoods
  9. /// </summary>
  10. public class ComparisonGoods : GoodsInfo
  11. {
  12. #region Constructors
  13. /// <summary>
  14. /// Initializes a new instance of the <see cref="ComparisonGoods" /> class.
  15. /// </summary>
  16. /// <param name="exchangeCode">交易所代码</param>
  17. /// <param name="goodsCode">商品代码</param>
  18. /// <param name="goodsType">商品类型</param>
  19. /// <param name="color">商品绘图颜色</param>
  20. /// <param name="preClose">昨日收盘价</param>
  21. /// <param name="openCloseTimes">结算计划</param>
  22. /// <param name="minUnit">行情小数位</param>
  23. public ComparisonGoods(int exchangeCode, string goodsCode, GoodsType goodsType, Color color, float preClose, List<OpenCloseTime> openCloseTimes,int minUnit)
  24. : base(exchangeCode, goodsCode, goodsType, preClose, openCloseTimes, minUnit)
  25. {
  26. this.Color = color;
  27. }
  28. #endregion Constructors
  29. #region Properties
  30. #region Public Properties
  31. /// <summary>
  32. /// 商品绘图颜色
  33. /// </summary>
  34. public Color Color
  35. {
  36. get;
  37. set;
  38. }
  39. #endregion Public Properties
  40. #endregion Properties
  41. }
  42. }