29 lines
799 B
C#
29 lines
799 B
C#
using Newtonsoft.Json;
|
|
using SqlSugar;
|
|
|
|
namespace LY.App.Model
|
|
{
|
|
public class PositionDeviceDto : PositionInfo
|
|
{
|
|
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; }
|
|
public bool IsOnline { get; set; }
|
|
public string ip { get; set; }
|
|
/// <summary>
|
|
/// 图片icon
|
|
/// </summary>
|
|
public string icon { get; set; }
|
|
public string Img { get; set; }
|
|
public bool isMove { get; set; }
|
|
}
|
|
}
|