using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NEIntelligentControl2.Models.Windturbine
{
///
/// 推荐风机
///
public class WindturbineSuggestion
{
///
/// 风机编号
///
public string WindturbineId { get; set; }
///
/// 推荐操作
///
public string OperateStyle { get; set; }
private OperateStyle operateStyle;
///
/// 推荐操作类型
///
public OperateStyle OperateType
{
get
{
if (operateStyle != Windturbine.OperateStyle.Nothing) return operateStyle;
try
{
Enum.TryParse(OperateStyle, out operateStyle);
}
catch { }
return operateStyle;
}
}
public string Reason { get; set; }
}
///
/// 启停推荐数据来源
///
public enum CalcSource
{
///
/// 为止
///
Unknow,
///
/// 实时状态计算
///
RealTimeStatus,
///
/// 报警
///
Alarm,
///
/// 风功率预测
///
PowerForecast,
///
/// 健康管理
///
HealthyManage,
}
}