using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using System.Threading.Tasks;
namespace GDNXFD.Data.Model
{
[DataContract]
[Table("WISDOM_CALC_CACHE")]
public class AdviceModel
{
[DataMember]
[Column("ID")]
public int Id { set; get; }
[DataMember]
[Column("WINDTURBINEID")]
public string WindturbineId { set; get; }
[DataMember]
[Column("STATIONID")]
public string StationId { set; get; }
[DataMember]
[Column("MODELID")]
public string ModelId { set; get; }
///
/// 建议操作
///
[DataMember]
[Column("ADVICEOPERATION")]
public OperateStyle AdviseOperation { set; get; }
///
/// 推荐来源 1=实时状态,2=报警,3=风功率预测,4=健康管理,5=性能等级评估
///
[DataMember]
[Column("ADVICETYPE")]
public CalculationOriginType AdviceType { set; get; }
///
/// 上一次更新时间
///
[DataMember]
[Column("LASTUPDATETIME")]
public DateTime LastUpdateTime { set; get; }
///
/// 建议执行时间
///
[DataMember]
[Column("ADVICEEXECUTETIME")]
public DateTime AdviceExecuteTime { set; get; }
///
/// 实际执行时间
///
[DataMember]
[Column("EXECUTETIME")]
public DateTime? ExecuteTime { set; get; }
///
/// 实际执行的动作
///
[DataMember]
[Column("EXECUTEOPERATION")]
public OperateStyle? ExecuteOperation { set; get; }
///
/// 操作员
///
[DataMember]
[Column("OPERATER")]
public string Operater { set; get; }
///
/// 计算结果当前状态,1=未执行,2=用户执行,3=用户取消,4=系统取消
///
[DataMember]
[Column("STATUS")]
public int Status { set; get; }
///
/// 备注
///
[DataMember]
[Column("NOTES")]
public string Notes { set; get; }
}
}