using System;
using System.Collections.Generic;
using System.Text;

namespace WCS.Model.ApiModel.SingleLight
{
    public class SingleLightControlRequest : RequestBase
    {
        /// <summary>
        /// 巷道灯颜色 如果不传 默认为-1  不发送对应指令
        /// </summary>
        public int WarningLightColor { get; set; } = -1;
        public int WarningLightMode { get; set; } = -1;
        /// <summary>
        /// 巷道灯蜂鸣器模式 如果不传 默认为-1  不发送对应指令
        /// </summary>
        public int WarningBuzzerMode { get; set; } = -1;

        /// <summary>
        /// 库位灯控制
        /// </summary>
        public List<StoreListItem> StoreList { get; set; }
    }

    public class StoreListItem
    {
        #region 
        /// <summary>
        /// 库位编码
        /// </summary>
        public string StoreCode { get; set; }
        /// <summary>
        /// 货架Id
        /// </summary>
        public int ShelfId { get; set; } = 0;
        /// <summary>
        /// 板子Id
        /// </summary>
        public int BoardId { get; set; } = 0;
        /// <summary>
        /// 亮灯模式
        /// </summary>
        public int LightMode { get; set; } = 0;

        /// <summary>
        /// 亮灯颜色
        /// </summary>
        public int LightColor { get; set; } = 0;
        #endregion
    }

}
