2025-08-05 17:09:39 +08:00
|
|
|
|
using JiShe.ServicePro.Core;
|
|
|
|
|
|
using JiShe.ServicePro.Enums;
|
2025-08-04 17:29:47 +08:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
|
|
namespace JiShe.IoT.DeviceAggregation
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 设备命令
|
|
|
|
|
|
/// </summary>
|
2025-08-05 17:09:39 +08:00
|
|
|
|
public class DeviceCommandForApiInput:IdInput
|
|
|
|
|
|
{
|
2025-08-04 17:29:47 +08:00
|
|
|
|
/// <summary>
|
2025-12-09 17:19:34 +08:00
|
|
|
|
/// 设备在物联网平台中属性设置的参数键值对
|
2025-08-04 17:29:47 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Required(ErrorMessage = "命令内容不能为空")]
|
2025-12-09 17:19:34 +08:00
|
|
|
|
public Dictionary<string,object> CommandContent { get; set; }
|
2025-08-04 17:29:47 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|