IotEquipmentStatus.cs 1.31 KB
using System.Text.Json.Serialization;

namespace DataAcquisition.ViewModels.IOT
{
    public class IotEquipmentStatus: IotBase
    {
        /// <summary>
        /// 设备状态
        /// </summary>
        /// <remarks>例:1,2,3,4,5,6 </remarks>
        [JsonPropertyName("equipment_status")]
        public int EquipmentStatus { get; set; }

        /// <summary>
        /// 设备状态描述
        /// </summary>
        /// <remarks>例:1=故障、2=手动、3=维修、4=空闲、5=运行、6=任务中断 </remarks>
        [JsonPropertyName("equipmentstatus_desc")]
        public string EquipmentstatusDesc { get; set; } = null!;

        /// <summary>
        /// 扩展列1
        /// </summary>
        [JsonPropertyName("extend_col1")]
        public string ExtendCol1 { get; set; } = null!;

        /// <summary>
        /// 扩展列2
        /// </summary>
        [JsonPropertyName("extend_col2")]
        public string ExtendCol2 { get; set; } = null!;

        /// <summary>
        /// 扩展列3
        /// </summary>
        [JsonPropertyName("extend_col3")]
        public string ExtendCol3 { get; set; } = null!;

        /// <summary>
        /// 扩展列4
        /// </summary>
        [JsonPropertyName("extend_col4")]
        public string ExtendCol4 { get; set; } = null!;
    }
}