1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- 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; }
- /// <summary>
- /// 建议操作
- /// </summary>
- [DataMember]
- [Column("ADVICEOPERATION")]
- public OperateStyle AdviseOperation { set; get; }
- /// <summary>
- /// 推荐来源 1=实时状态,2=报警,3=风功率预测,4=健康管理,5=性能等级评估
- /// </summary>
- [DataMember]
- [Column("ADVICETYPE")]
- public CalculationOriginType AdviceType { set; get; }
- /// <summary>
- /// 上一次更新时间
- /// </summary>
- [DataMember]
- [Column("LASTUPDATETIME")]
- public DateTime LastUpdateTime { set; get; }
- /// <summary>
- /// 建议执行时间
- /// </summary>
- [DataMember]
- [Column("ADVICEEXECUTETIME")]
- public DateTime AdviceExecuteTime { set; get; }
- /// <summary>
- /// 实际执行时间
- /// </summary>
- [DataMember]
- [Column("EXECUTETIME")]
- public DateTime? ExecuteTime { set; get; }
- /// <summary>
- /// 实际执行的动作
- /// </summary>
- [DataMember]
- [Column("EXECUTEOPERATION")]
- public OperateStyle? ExecuteOperation { set; get; }
- /// <summary>
- /// 操作员
- /// </summary>
- [DataMember]
- [Column("OPERATER")]
- public string Operater { set; get; }
- /// <summary>
- /// 计算结果当前状态,1=未执行,2=用户执行,3=用户取消,4=系统取消
- /// </summary>
- [DataMember]
- [Column("STATUS")]
- public int Status { set; get; }
- /// <summary>
- /// 备注
- /// </summary>
- [DataMember]
- [Column("NOTES")]
- public string Notes { set; get; }
- }
- }
|