using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Muchinfo.MTPClient.Data.Model.Analysis { /// /// 分笔数据实体 /// public class SubPenData :IDisposable { private int _decimalPlace; public SubPenData(int decimalPlace) { _decimalPlace = decimalPlace; } /// /// 时间 /// public DateTime Time { get; set; } /// /// 价格 /// public double Price { get; set; } /// /// 成交量 /// public double CompleteQte { get; set; } /// /// 买价 /// public double BidPrice { get; set; } /// /// 买量 /// public double BidVolume { get; set; } /// /// 卖价 /// public double AskPrice { get; set; } /// /// 卖量 /// public double AskVolume { get; set; } /// /// 增仓 /// public int AddStore { get; set; } /// /// 备注 /// public string Remark { get; set; } public string PriceDisplay { get { return Price.ToString("F" + _decimalPlace); } } /// /// 总量是否变化 /// public bool IsChangedByTotalVolume { get; set; } public void Dispose() { Remark = null; } } }