using NEIntelligentControl2.Models.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace NEIntelligentControl2.Models.Windturbine
{
///
/// 风机状态
///
public enum WindturbineState
{
///
/// 已经停机
///
Stoped = 0,
///
/// 上电
///
PowerOn = 1,
///
/// 待机
///
Standby = 2,
///
/// 启动
///
StartUp = 3,
///
/// 并网
///
GridConnected = 4,
///
/// 故障
///
Malfunction = 5,
///
/// 维护
///
Maintain = 6,
///
/// 离线
///
Offline = 7
}
///
/// 操作类型
///
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum OperateStyle
{
///
/// 未知操作
///
[StringValue("无")]
Nothing = 0,
///
/// 启动
///
[StringValue("启动")]
Start = 1,
///
/// 停机
///
[StringValue("停机")]
Stop = 2,
///
/// 限转速
///
[StringValue("限转速")]
LimitSpeed = 3,
///
/// 限功率
///
[StringValue("限功率")]
LimitPower = 4,
///
/// 复位
///
[StringValue("复位")]
Reset = 5,
///
/// 维护
///
[StringValue("维护")]
Maintain = 6,
///
/// 恢复满发
///
[StringValue("恢复满发")]
ResetMax = 7,
///
/// 取消维护
///
[StringValue("取消维护")]
UnMaintain = 8,
///
/// 挂牌
///
[StringValue("挂牌")]
Lock = 9,
///
/// 取消挂牌
///
[StringValue("取消挂牌")]
UnLock = 10,
///
/// 未知
///
[StringValue("未知")]
Unknow = 11
}
///
/// 挂牌类型
///
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum HungType
{
///
/// 正常(未挂牌)
///
[StringValue("未挂牌")]
UnLock = 0,
///
/// 场内受累检修
///
[StringValue("场内受累检修")]
StationCheckLock = 2,
///
/// 场内受累故障
///
[StringValue("场内受累故障")]
StationFaulLock = 3,
///
/// 场外受累电网
///
[StringValue("场外受累电网")]
StationPowerLineLock = 4,
///
/// 场外受累天气
///
[StringValue("场外受累天气")]
StationWeatherLock = 5,
///
/// 故障检修
///
[StringValue("故障检修")]
FaultLock = 7,
///
/// 检修
///
[StringValue("检修")]
CheckLock = 8,
///
/// 自定义挂牌
///
[StringValue("自定义挂牌")]
CustomerLock = 9,
///
/// 未知
///
[StringValue("未知")]
UnKnow = 10
}
///
/// 状态时间对应状态
///
public enum StateTimes
{
///
/// 停机 0
///
[StringValue("停机")]
Stop,
///
/// 上电 1
///
[StringValue("上电")]
OnPower,
///
/// 待机 2
///
[StringValue("待机")]
Standby,
///
/// 启动 3
///
[StringValue("启动")]
Start,
///
/// 并网 4
///
[StringValue("并网")]
Online,
///
/// 故障 5
///
[StringValue("故障")]
Fault,
///
/// 维护 6
///
[StringValue("维护")]
Maintain,
///
/// 离线 7
///
[StringValue("离线")]
Offline
}
}