using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Domain;

namespace CommonEntity
{
    public class GetHostIDByNumber
    {
        public int ID { get; set; }
        public string HostNumber { get; set; }
        public string RoomNumber { get; set; }
        public string HotelCode { get; set; }
    }
    public class NewVersionHexData
    {
        public byte CmdType { get; set; }
        public string HotelCode { get; set; }
        public string HostNumber { get; set; }
        public string RoomNumber { get; set; }
        public string RemoteEndPoint { get; set; }
        public string HexData { get; set; }
        public DateTime CurrentTime { get; set; }

        public string MAC { get; set; }
        public string CurrentStatus { get; set; }
        public long UnixTime { get; set; }
        public byte[] LauncherVersion { get; set; }
        public byte[] RebootReason { get; set; }
    }
    /// <summary>
    /// 新版本的设备状态 
    /// </summary>
    public class NewVersionDeviceStatus
    {
        public string HotelCode { get; set; }
        public string HostNumber { get; set; }
        public string RoomNumber { get; set; }
        public string DeviceAddress { get; set; }

        /// <summary>
        /// 当前设备是 空调 灯光
        /// </summary>
        public DeviceType ModalType { get; set; }

        /// <summary>
        /// 调光亮度
        /// </summary>
        public int Brightness { get; set; }

        /// <summary>
        /// 开关状态
        /// </summary>
        public int Status { get; set; }


        /// <summary>
        /// 空调
        /// </summary>
        public AirConditionData AirConditionData { get; set; }
        public DateTime? UpdateTime { get; set; }
        public int Time { get; set; }
    }
}
