using System;

namespace CncModels.Dto.Machine
{
    /// <summary>
    /// 机床详情
    /// </summary>
    public class MachineDetailResponse
    {
        public int Id { get; set; }
        public string DeviceCode { get; set; }
        public string Name { get; set; }
        public int WorkshopId { get; set; }
        public string WorkshopName { get; set; }
        public int CollectAddressId { get; set; }
        public int BrandId { get; set; }
        public string BrandName { get; set; }
        public string IpAddress { get; set; }
        public bool IsEnabled { get; set; }
        public bool IsOnline { get; set; }
        /// <summary>最近Ping延迟(ms)</summary>
        public int? LastPingLatency { get; set; }
        public int? WorkerId { get; set; }
        public string WorkerName { get; set; }
        public string LastProgramName { get; set; }
        public DateTime? LastCollectTime { get; set; }
        // 其他扩展字段留作后续扩展
    }
}
