ly/Model/PositionDeviceDto.cs

29 lines
799 B
C#
Raw Permalink Normal View History

2025-03-22 12:16:22 +00:00
using Newtonsoft.Json;
using SqlSugar;
namespace LY.App.Model
{
2025-04-04 11:25:14 +00:00
public class PositionDeviceDto : PositionInfo
2025-03-22 12:16:22 +00:00
{
public List<DeviceItem> Devices { get; set; }
}
public class DeviceItem
{
[JsonConverter(typeof(ValueToStringConverter))]
public long Id { get; set; }
public string Name { get; set; }
public string DeviceSN { get; set; }
public double Lat { get; set; }
public double Lon { get; set; }
public string Model { get; set; }
2025-03-24 02:59:34 +00:00
public bool IsOnline { get; set; }
2025-04-04 11:25:14 +00:00
public string ip { get; set; }
2025-03-27 16:34:20 +00:00
/// <summary>
/// 图片icon
/// </summary>
public string icon { get; set; }
public string Img { get; set; }
2025-04-12 15:17:49 +00:00
public bool isMove { get; set; }
2025-03-22 12:16:22 +00:00
}
}