using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Aitex.UI.Charting.Model { public class RecipeSyncPoint { public DateTime StepTime { get; set; } public string StepName { get; set; } public override string ToString() { return string.Format("{0} {1}", StepTime.ToString("yyyy/MM/dd HH:mm:ss"), StepName); } } public interface IDataSource : IDisposable { #if false /// /// Open data source object /// /// /// /// /// bool Open(DateTime timeBegin, DateTime timeEnd, string sourceName); /// /// Get all data names /// IEnumerable DataNames { get; set; } #endif /// /// 数据实体 /// Dictionary Datas { get; set; } /// /// Get name of this data source /// string Title { get; set; } /// /// Get chamber name /// string ChamberName { get; set; } /// /// Get wafer display /// string WaferDisplayIndex { get; set; } /// /// Get description of this data object /// string Description { get; set; } /// /// Get actual data begin time /// DateTime BeginTime { get; set; } /// /// Get actual data end time /// DateTime EndTime { get; set; } /// /// 时间位移 /// TimeSpan TimeMove { get; set; } /// /// 同步时间点 /// RecipeSyncPoint SyncPoint { get; set; } /// /// Get recipe related step information /// List RecipeSteps { get; set; } /// /// Get specific datas from the data source object /// /// /// /// /// /// bool GetData(string dataName, DateTime beginTime, DateTime endTime, out DataItem returnDataItem); /// /// Get specific datas from the data source object /// /// /// /// /// /// bool GetData(List dataNames, DateTime beginTime, DateTime endTime, out List returnDataItems); } #if false /// /// Data object definitions /// [Serializable] public class DataItem { /// /// data name /// public string DataName { get; set; } /// /// time stamp array /// public List TimeStamp { get; set; } /// /// raw data array /// public List RawData { get; set; } } #endif }