ClientStatus.cs 796 字节
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DeviceLibrary.lift
{
    /// <summary>
    /// AGV调度系统的状态信息
    /// </summary>
    public class ClientStatus
    {
        /// <summary>
        /// 电梯标识
        /// </summary>
        public string liftId { get; set; }
        /// <summary>
        /// 任务来源系统标识
        /// </summary>
        public string sourceClient { get; set; }
        /// <summary>
        /// 是否有空闲AGV可用
        /// </summary>
        public bool hasIdleAgv { get; set; }

        public override string ToString()
        {
            return $"liftId={liftId},sourceClient={sourceClient},hasIdleAgv={hasIdleAgv}";
        }
    }
}