2024-05-20 14:56:49 +00:00
|
|
|
|
namespace langguanApi.Model
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 设备信息
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public class Device : BaseModel
|
|
|
|
|
|
{
|
|
|
|
|
|
public string deviceMN { get; set; }
|
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
public string Ip { get; set; }
|
|
|
|
|
|
public double lng { get; set; }
|
|
|
|
|
|
public double lat { get; set; }
|
|
|
|
|
|
public string desricption { get; set; }
|
|
|
|
|
|
public int state { get; set; }
|
2024-05-21 15:53:40 +00:00
|
|
|
|
public string NickName { get; set; }
|
2024-05-25 16:58:35 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 所属组织ID
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string OrgId { get; set; }
|
2024-05-27 15:42:08 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 设备类型,1 voc,2 cems,3,tsp,4 video
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int DeviceType { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
public class DeviceAddDto
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
public string deviceMN { get; set; }
|
|
|
|
|
|
public string Ip { get; set; }
|
|
|
|
|
|
public double lng { get; set; }
|
|
|
|
|
|
public double lat { get; set; }
|
|
|
|
|
|
public string NickName { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
public class DeviceUpdateDto
|
|
|
|
|
|
{
|
|
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
|
public string NickName { get; set; }
|
|
|
|
|
|
public string OrgId { get; set; }
|
|
|
|
|
|
public int DeviceType { get; set; }
|
2024-05-20 14:56:49 +00:00
|
|
|
|
}
|
|
|
|
|
|
}
|