using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NEIntelligentControl2.Models.Windturbine
{
///
/// 状态时间信息
///
public class StatusTimeInfo
{
///
/// 状态开始时间戳
///
public long Ts { get; set; }
///
/// 状态
///
public string Status { get; set; }
///
/// 风机名称
///
public string Code { get; set; }
///
/// 开始时间
///
public string StartTime { get; set; }
///
/// 结束时间
///
public string EndTime { get; set; }
private double duration;
///
/// 状态持续时间
///
public double Duration { get => duration; set => duration = Math.Round(value, 2); }
///
/// 状态名称
///
public string StatusName { get; set; }
}
}