示例#1
0
 /// <summary>
 /// 得到当前的分时线
 /// </summary>
 /// <returns></returns>
 public ITimeLineData GetTimeLineData()
 {
     if (currentTimeLineData == null || currentTimeLineData.Date != tradingDay)
     {
         currentTimeLineData = dataPackage.CreateTimeLineData_RealTime(tradingDay);
     }
     DataNavigate_ChangeTime.ChangeTime_TimeLineData(currentTimeLineData, time, GetTickData());
     return(currentTimeLineData);
 }
示例#2
0
 public ITimeLineData_Extend GetTimeLineData()
 {
     if (currentTimeLineData == null || currentTimeLineData.Date != tradingDay)
     {
         currentTimeLineData = dataPackage_Code.CreateTimeLineData_RealTime(tradingDay);
     }
     RealTimeDataPackageTimeChangeUtils.ChangeTime_TimeLineData(currentTimeLineData, time, GetTickData());
     return(currentTimeLineData);
 }