31 lines
775 B
C#
31 lines
775 B
C#
|
|
using JiShe.ServicePro.Core;
|
|||
|
|
using JiShe.ServicePro.Enums;
|
|||
|
|
using System.ComponentModel.DataAnnotations;
|
|||
|
|
|
|||
|
|
namespace JiShe.IoT.DeviceAggregation
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 设备升级
|
|||
|
|
/// </summary>
|
|||
|
|
public class DeviceUpgradeForApiInput : IdInput
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 物联网平台类型,默认没有指定
|
|||
|
|
/// </summary>
|
|||
|
|
[Required]
|
|||
|
|
public IoTPlatformTypeEnum IoTPlatform { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 物联网平台中对应的产品Id
|
|||
|
|
/// </summary>
|
|||
|
|
[Required]
|
|||
|
|
public string IoTPlatformProductId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 固件版本信息
|
|||
|
|
/// </summary>
|
|||
|
|
[Required]
|
|||
|
|
public Guid NowFirmwareVersionDataId { get; set; }
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
}
|