初始化CRICS

This commit is contained in:
2025-12-11 09:17:16 +08:00
commit 83247ec0a2
2735 changed files with 787765 additions and 0 deletions

View 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; }
}
}