初始化CRICS
This commit is contained in:
59
CommonEntity/GetHostIDByNumber.cs
Normal file
59
CommonEntity/GetHostIDByNumber.cs
Normal file
@@ -0,0 +1,59 @@
|
||||
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; }
|
||||
}
|
||||
/// <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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user