23 lines
606 B
C#
23 lines
606 B
C#
using Newtonsoft.Json;
|
|
using SqlSugar;
|
|
|
|
namespace LY.App.Model
|
|
{
|
|
public class PositionDeviceDto
|
|
{
|
|
public PositionInfo position { get; set; }
|
|
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; }
|
|
}
|
|
}
|