| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- using MuchInfo.Chart.Data.EnumTypes;
- using MuchInfo.Chart.Data.Models;
- using System.Collections.Generic;
- using System.Windows.Media;
- namespace MuchInfo.Chart.Infrastructure.Data
- {
- /// <summary>
- /// Class ComparisonGoods
- /// </summary>
- public class ComparisonGoods : GoodsInfo
- {
- #region Constructors
- /// <summary>
- /// Initializes a new instance of the <see cref="ComparisonGoods" /> class.
- /// </summary>
- /// <param name="exchangeCode">交易所代码</param>
- /// <param name="goodsCode">商品代码</param>
- /// <param name="goodsType">商品类型</param>
- /// <param name="color">商品绘图颜色</param>
- /// <param name="preClose">昨日收盘价</param>
- /// <param name="openCloseTimes">结算计划</param>
- /// <param name="minUnit">行情小数位</param>
- public ComparisonGoods(int exchangeCode, string goodsCode, GoodsType goodsType, Color color, float preClose, List<OpenCloseTime> openCloseTimes,int minUnit)
- : base(exchangeCode, goodsCode, goodsType, preClose, openCloseTimes, minUnit)
- {
- this.Color = color;
- }
- #endregion Constructors
- #region Properties
- #region Public Properties
- /// <summary>
- /// 商品绘图颜色
- /// </summary>
- public Color Color
- {
- get;
- set;
- }
- #endregion Public Properties
- #endregion Properties
- }
- }
|