Files
Web_CRICS_Server_VS2010_Prod/Domain/IoTRemoteControlEntity.cs
2025-12-11 09:17:16 +08:00

51 lines
1.2 KiB
C#
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Domain.IoTRemoteControlEntity
{
public class Request
{
/// <summary>
/// 客控厂商提供给每个酒店的账号ID
/// </summary>
public string userId { get; set; }
/// <summary>
/// 房间号
/// </summary>
public string roomNum { get; set; }
/// <summary>
/// 遥控器名称标示
/// </summary>
public string command { get; set; }
/// <summary>
/// 传递词条
/// </summary>
public string mode { get; set; }
/// <summary>
/// 时间戳,秒
/// </summary>
public long timestamp { get; set; }
/// <summary>
/// (userId+roomNum+ timestamp)的md5值
/// </summary>
public string sign { get; set; }
}
/// <summary>
/// 统⼀错误
/// </summary>
public class Error
{
/// <summary>
/// 0成功-1失败
/// </summary>
public int code { get; set; }
/// <summary>
/// 失败内容
/// </summary>
public string msg { get; set; }
}
}