using System;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace Top.Api.Response
{
///
/// WdkRexDeviceInfoGetResponse.
///
public class WdkRexDeviceInfoGetResponse : TopResponse
{
///
/// 设备详情
///
[XmlElement("data")]
public AiotTopOpenDeviceDtoDomain Data { get; set; }
///
/// 错误码
///
[XmlElement("msg_code")]
public string MsgCode { get; set; }
///
/// 错误信息
///
[XmlElement("msg_info")]
public string MsgInfo { get; set; }
///
/// 结果是否成功
///
[XmlElement("succeed")]
public bool Succeed { get; set; }
///
/// AiotOpenDeviceOrganizationDtoDomain Data Structure.
///
[Serializable]
public class AiotOpenDeviceOrganizationDtoDomain : TopObject
{
///
/// 1级组织架构code
///
[XmlElement("l1_code")]
public string L1Code { get; set; }
///
/// 1级组织架构名
///
[XmlElement("l1_name")]
public string L1Name { get; set; }
///
/// 2级组织架构code
///
[XmlElement("l2_code")]
public string L2Code { get; set; }
///
/// 3级组织架构名
///
[XmlElement("l2_name")]
public string L2Name { get; set; }
///
/// 3级组织架构code
///
[XmlElement("l3_code")]
public string L3Code { get; set; }
///
/// 4级组织架构名
///
[XmlElement("l3_name")]
public string L3Name { get; set; }
///
/// 4级组织架构code
///
[XmlElement("l4_code")]
public string L4Code { get; set; }
///
/// 5级组织架构名
///
[XmlElement("l4_name")]
public string L4Name { get; set; }
///
/// 5级组织架构code
///
[XmlElement("l5_code")]
public string L5Code { get; set; }
///
/// 5级组织架构名
///
[XmlElement("l5_name")]
public string L5Name { get; set; }
}
///
/// AiotOpenDeviceBaseDtoDomain Data Structure.
///
[Serializable]
public class AiotOpenDeviceBaseDtoDomain : TopObject
{
///
/// 品牌
///
[XmlElement("brand_code")]
public string BrandCode { get; set; }
///
/// 设备名
///
[XmlElement("device_name")]
public string DeviceName { get; set; }
///
/// 设备SN
///
[XmlElement("device_sn")]
public string DeviceSn { get; set; }
///
/// 设备类型
///
[XmlElement("device_type")]
public string DeviceType { get; set; }
///
/// 硬件型号
///
[XmlElement("hard_code")]
public string HardCode { get; set; }
///
/// 厂商
///
[XmlElement("manufacturer")]
public string Manufacturer { get; set; }
///
/// 平台类型
///
[XmlElement("platform")]
public long Platform { get; set; }
///
/// 状态
///
[XmlElement("status")]
public long Status { get; set; }
///
/// 设备业务标识
///
[XmlElement("utdid")]
public string Utdid { get; set; }
}
///
/// AiotTopOpenDeviceDtoDomain Data Structure.
///
[Serializable]
public class AiotTopOpenDeviceDtoDomain : TopObject
{
///
/// 基础信息
///
[XmlElement("base")]
public AiotOpenDeviceBaseDtoDomain Base { get; set; }
///
/// 业务自定义参数
///
[XmlElement("extend_str")]
public string ExtendStr { get; set; }
///
/// 组织架构
///
[XmlElement("organization")]
public AiotOpenDeviceOrganizationDtoDomain Organization { get; set; }
///
/// 租户号
///
[XmlElement("tenant_id")]
public long TenantId { get; set; }
///
/// 设备唯一标识
///
[XmlElement("uuid")]
public string Uuid { get; set; }
}
}
}