namespace IStation.Server
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public abstract class EpEtaBaseAnalyContext
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public EpEtaBaseAnalyContext(Yw.Model.EtaAnalyConfigure configure)
|
{
|
this.ObjectType = configure.ObjectType;
|
this.ObjectID = configure.ObjectID;
|
this.AnalyWay = configure.AnalyWay;
|
this.Frequency = configure.Frequency;
|
this.DataTime = DateTime.Now;
|
}
|
|
/// <summary>
|
/// 数据类型
|
/// </summary>
|
public string ObjectType { get; set; }
|
|
/// <summary>
|
/// 数据id
|
/// </summary>
|
public long ObjectID { get; set; }
|
|
/// <summary>
|
/// 分析方式
|
/// </summary>
|
public Yw.Eta.eAnalyWay AnalyWay { get; set; }
|
|
/// <summary>
|
/// 分析频率
|
/// </summary>
|
public int Frequency { get; set; }
|
|
/// <summary>
|
/// 数据时间
|
/// </summary>
|
public DateTime DataTime { get; set; }
|
|
}
|
}
|